:root {
  color-scheme: light;
  --color-canvas: #d2d2d2;
  --color-ink: #090a09;
  --color-ink-soft: #5f605d;
  --color-paper: #f8f8f6;
  --color-paper-warm: #e1d8d4;
  --color-white: #ffffff;
  --color-line: rgba(9, 10, 9, 0.1);
  --color-mist: #91a6a7;
  --color-mist-soft: #b4bdbe;
  --color-blush: #d7c8c4;
  --color-blush-deep: #c5b3ad;
  --color-blue-smoke: #6f8ca2;
  --color-green: #355f59;
  --color-focus: #0b5bd3;
  --font-body: "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;
  --shadow-button: 0 10px 24px rgba(9, 10, 9, 0.16);
  --radius-large: 1rem;
  --content-width: 90rem;
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--color-paper);
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 4px;
}

::selection {
  background: #d9e8f8;
  color: var(--color-ink);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.68rem 1rem;
  border-radius: 999px;
  background: var(--color-ink);
  color: var(--color-white);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-170%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  background: var(--color-paper);
}

.site-header {
  position: absolute;
  top: 1rem;
  right: 1rem;
  left: 1rem;
  z-index: 10;
  display: flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.34rem 0.46rem 0.34rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(216, 225, 222, 0.66) 0%, rgba(241, 233, 229, 0.61) 48%, rgba(239, 226, 228, 0.64) 100%);
  box-shadow: 0 7px 20px rgba(54, 50, 48, 0.06);
  backdrop-filter: blur(20px) saturate(0.82);
}

.brand {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  gap: 0.62rem;
  text-decoration: none;
}

.brand__mark {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
}

.brand__name {
  display: inline-flex;
  align-items: baseline;
  gap: 0.24rem;
  font-size: 0.9rem;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.brand__name strong {
  font-weight: 780;
}

.brand__name span {
  color: var(--color-ink-soft);
  font-weight: 430;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.08rem;
  padding: 0.16rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.language-switcher button {
  min-width: 2.25rem;
  min-height: 2.75rem;
  padding: 0.45rem 0.6rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--color-ink-soft);
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  line-height: 1;
  transition: background-color 240ms ease, color 240ms ease, transform 280ms var(--ease-soft);
}

.language-switcher button:hover {
  color: var(--color-ink);
}

.language-switcher button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 12px rgba(37, 34, 32, 0.08);
  color: var(--color-ink);
}

.language-switcher button:active {
  transform: translateY(1px);
}

.header-contact,
.button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--color-ink);
  color: var(--color-white);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.055em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 240ms ease, box-shadow 320ms ease, transform 320ms var(--ease-soft);
}

.header-contact {
  min-height: 2.75rem;
  padding: 0.7rem 1.05rem;
}

.button {
  min-height: 3.05rem;
  padding: 0.9rem 1.35rem;
  box-shadow: var(--shadow-button);
  font-size: 0.72rem;
}

.header-contact:hover,
.button:hover {
  background: #2a2d29;
  transform: translateY(-1px);
}

.button:hover {
  box-shadow: 0 16px 32px rgba(17, 19, 16, 0.23);
}

.hero {
  position: relative;
  display: flex;
  min-height: clamp(40rem, 100svh, 52rem);
  align-items: stretch;
  overflow: hidden;
  border-radius: 0;
  background: var(--color-blush);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 12% 14%, rgba(141, 177, 176, 0.5) 0%, rgba(141, 177, 176, 0.18) 28%, transparent 52%),
    linear-gradient(90deg, rgba(34, 58, 57, 0.78) 0%, rgba(51, 72, 69, 0.78) 29%, rgba(84, 89, 83, 0.7) 53%, rgba(195, 164, 162, 0.1) 74%, rgba(213, 187, 190, 0.18) 100%);
  content: "";
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(52%, 43rem);
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(7.5rem, 13vh, 10rem) clamp(2rem, 4.4vw, 4.5rem) clamp(3.4rem, 6vw, 4.8rem);
}

.hero__media {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 48%;
  filter: saturate(0.72) contrast(0.92) brightness(1.03);
}

.eyebrow {
  margin: 0 0 1.15rem;
  color: #526f6b;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero h1,
.principles h2,
.error-page h1 {
  margin: 0;
  color: var(--color-ink);
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(3.4rem, 5.55vw, 5.35rem);
  font-weight: 500;
  line-height: 0.91;
  letter-spacing: -0.058em;
  text-transform: uppercase;
  text-shadow: 0 1px 18px rgba(15, 25, 24, 0.14);
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  color: inherit;
  font-style: normal;
  font-weight: 500;
}

.hero h1,
.hero .eyebrow {
  color: var(--color-white);
}

.hero__lede {
  max-width: 29rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.88rem, 1.05vw, 1rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.15rem;
  margin-top: 1.55rem;
}

.contact-note {
  display: flex;
  min-height: 3.05rem;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 9px 22px rgba(51, 46, 44, 0.09);
  color: var(--color-ink);
  font-size: 0.72rem;
  line-height: 1.24;
  text-decoration: none;
  backdrop-filter: blur(14px);
  transition: background-color 240ms ease, box-shadow 320ms ease, transform 320ms var(--ease-soft);
}

.contact-note strong,
.contact-note span {
  display: block;
}

.contact-note strong {
  margin-bottom: 0.12rem;
  color: var(--color-ink);
  font-size: 0.56rem;
  font-weight: 780;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.contact-note span {
  color: #4f514f;
  text-decoration-color: rgba(17, 19, 16, 0.35);
  overflow-wrap: anywhere;
}

.contact-note:hover {
  background: var(--color-white);
  transform: translateY(-1px);
}

.hero__location {
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 8px 20px rgba(49, 45, 43, 0.08);
  color: #444a44;
  font-size: 0.7rem;
  backdrop-filter: blur(14px);
}

.hero__location strong {
  color: var(--color-green);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.principles {
  display: block;
  padding: clamp(4.25rem, 8vw, 7.25rem) clamp(2rem, 4.4vw, 4.5rem);
  background: var(--color-white);
}

.principles__intro {
  align-self: start;
  max-width: 42rem;
}

.principles h2 {
  max-width: 31rem;
  font-size: clamp(2.35rem, 3.55vw, 3.65rem);
  font-weight: 540;
  line-height: 0.99;
}

.principles__intro > p:last-child {
  max-width: 33rem;
  margin: 1.35rem 0 0;
  color: var(--color-ink-soft);
  line-height: 1.65;
}

.principles__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: clamp(2.5rem, 5vw, 4.25rem) 0 0;
  padding: 0;
  list-style: none;
}

.principles__list li {
  display: flex;
  min-height: clamp(17rem, 25vw, 20rem);
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 0.8rem;
  background: linear-gradient(165deg, #f8f8f6 0%, #e4eae8 58%, #cad8d7 100%);
  box-shadow: 0 14px 30px rgba(58, 62, 59, 0.07);
  transition: transform 420ms var(--ease-soft), box-shadow 420ms ease;
}

.principles__list li:nth-child(2) {
  background: linear-gradient(165deg, #faf8f6 0%, #eee5e1 58%, #dcc8c4 100%);
}

.principles__list li:nth-child(3) {
  background: linear-gradient(165deg, #f8f8f7 0%, #e6eaed 58%, #cfdae1 100%);
}

.principles__list li > span {
  color: var(--color-green);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.principles__list strong {
  display: block;
  color: var(--color-ink);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.principles__list p {
  margin: 0.45rem 0 0;
  color: var(--color-ink-soft);
  font-size: 0.8rem;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem clamp(2rem, 4.4vw, 4.5rem) 2rem;
  border-top: 1px solid var(--color-line);
  background: var(--color-white);
  color: var(--color-ink-soft);
  font-size: 0.74rem;
}

.footer__meta {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
}

.footer__meta span + span {
  position: relative;
}

.footer__meta span + span::before {
  position: absolute;
  top: 50%;
  left: -0.55rem;
  width: 0.18rem;
  height: 0.18rem;
  border-radius: 50%;
  background: var(--color-green);
  content: "";
  transform: translateY(-50%);
}

.footer__notice {
  max-width: 42rem;
  margin: 0;
  text-align: right;
}

.error-page .site-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.error-page .site-header {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  margin: 1rem;
  background: var(--color-white);
}

.error-page main {
  display: grid;
  flex: 1;
  padding: clamp(2rem, 6vw, 5rem);
  place-items: center;
}

.error-page__content {
  width: min(100%, 48rem);
  padding: clamp(2.5rem, 7vw, 5rem);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-large);
  background: var(--color-white);
  text-align: center;
}

.error-page__mark {
  width: 5rem;
  margin: 0 auto 1.75rem;
}

.error-page h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 560;
  line-height: 0.94;
}

.error-page__text {
  max-width: 35rem;
  margin: 1.4rem auto 2rem;
  color: var(--color-ink-soft);
  font-size: 1.05rem;
}

@media (max-width: 68rem) {
  .hero h1 {
    font-size: clamp(3.25rem, 6.8vw, 5.35rem);
  }

  .principles__intro {
    max-width: 45rem;
  }
}

@media (max-width: 46rem) {
  :root {
    --radius-large: 1.15rem;
  }

  .site-header {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    min-height: 3.75rem;
    margin: 0.65rem;
    padding-left: 0.65rem;
    background: var(--color-white);
  }

  .header-contact {
    display: none;
  }

  .brand__name {
    font-size: 0.94rem;
  }

  .language-switcher button {
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding-inline: 0.5rem;
  }

  .hero {
    min-height: 0;
    flex-direction: column;
    overflow: visible;
    border-radius: 0;
    background: linear-gradient(135deg, #5f7978 0%, #746f6b 54%, #876c69 100%);
  }

  .hero::after {
    display: none;
  }

  .hero__content {
    width: 100%;
    padding: clamp(2.5rem, 10vw, 4rem) 1.35rem 2.6rem;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13.5vw, 4.35rem);
    line-height: 0.89;
  }

  html[lang="es-US"] .hero h1,
  html[lang="pt-BR"] .hero h1 {
    font-size: clamp(2.45rem, 11.8vw, 4rem);
    letter-spacing: -0.052em;
  }

  .hero__lede {
    margin-top: 1.35rem;
    font-size: 0.97rem;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 1.5rem;
  }

  .button {
    width: 100%;
  }

  .hero__media {
    position: relative;
    height: clamp(19rem, 74vw, 24rem);
    overflow: hidden;
    border-radius: 0 0 var(--radius-large) var(--radius-large);
  }

  .hero__media img {
    object-position: 68% center;
  }

  .hero__location {
    right: 0.85rem;
    bottom: 0.85rem;
    max-width: calc(100% - 1.7rem);
    flex-wrap: wrap;
  }

  .principles {
    gap: 2.5rem;
    padding: 4.25rem 1.35rem;
  }

  .principles h2 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  .principles__list {
    grid-template-columns: 1fr;
  }

  .principles__list li {
    min-height: 10.5rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1.5rem 1.35rem 2rem;
  }

  .footer__notice {
    text-align: left;
  }

  .error-page .site-header {
    margin: 0.65rem;
  }

  .error-page main {
    padding: 1.25rem;
  }

  .error-page__content {
    padding: 2.5rem 1.25rem;
  }
}

@media (max-width: 23rem) {
  .brand__mark {
    width: 1.85rem;
    height: 1.85rem;
  }

  .brand__name {
    display: block;
    font-size: 0.86rem;
    line-height: 1;
  }

  .brand__name span {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.68rem;
  }

  .language-switcher button {
    min-width: 2.6rem;
    padding-inline: 0.4rem;
  }

  .hero__content,
  .principles,
  .site-footer {
    padding-inline: 1rem;
  }
}

@supports not (backdrop-filter: blur(1px)) {
  .site-header {
    background: rgba(235, 231, 227, 0.96);
  }

  .contact-note,
  .hero__location {
    background: rgba(255, 255, 255, 0.96);
  }
}

/* One gentle entrance; the page stays readable without JavaScript. */
@keyframes atendo-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes atendo-header-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes atendo-photo-settle {
  from { transform: scale(1.025); }
  to { transform: scale(1); }
}

@media (prefers-reduced-motion: no-preference) {
  .site-header {
    animation: atendo-header-in 700ms var(--ease-soft) both;
  }

  .hero .eyebrow,
  .hero h1 > *,
  .hero__lede,
  .hero__actions,
  .hero__location {
    animation: atendo-rise 800ms var(--ease-soft) backwards;
  }

  .hero .eyebrow { animation-delay: 80ms; }
  .hero h1 > :nth-child(1) { animation-delay: 140ms; }
  .hero h1 > :nth-child(2) { animation-delay: 220ms; }
  .hero h1 > :nth-child(3) { animation-delay: 300ms; }
  .hero__lede { animation-delay: 360ms; }
  .hero__actions { animation-delay: 420ms; }
  .hero__location { animation-delay: 480ms; }

  .hero__media img {
    animation: atendo-photo-settle 1600ms var(--ease-soft) backwards;
  }

  .site-header:focus-within,
  .hero__actions:focus-within {
    animation: none;
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .principles__list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(58, 62, 59, 0.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .site-header,
  .hero__location,
  .principles__list li,
  .error-page__content {
    border: 1px solid CanvasText;
  }

  .hero::after {
    background: Canvas;
  }
}
