:root {
  --bg: #fbf9f6;
  --surface: #ffffff;
  --surface-alt: #f3efe8;
  --surface-warm: #ebe4da;
  --ink: #2c3338;
  --text: #3d454c;
  --muted: #6b757d;
  --line: #e4ddd3;
  --line-strong: #cfc5b8;
  --blue: #5b8ba8;
  --blue-strong: #4a748c;
  --blue-soft: #e8f0f5;
  --accent: #c67b4e;
  --accent-strong: #a8643d;
  --accent-soft: #f8ebe3;
  --sage: #7a9b8a;
  --sage-soft: #e8f0eb;
  --whatsapp: #2d9f6f;
  --whatsapp-strong: #248a5f;
  --panel: #ffffff;
  --shadow: 0 20px 50px rgba(44, 51, 56, 0.08);
  --shadow-small: 0 8px 24px rgba(44, 51, 56, 0.07);
  --shadow-card: 0 10px 30px rgba(44, 51, 56, 0.06);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --container: 1120px;
  --bottom-cta-height: 78px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1e22;
    --surface: #242a30;
    --surface-alt: #1f2429;
    --surface-warm: #2a3138;
    --ink: #f0ebe4;
    --text: #d8d2ca;
    --muted: #a8b0b6;
    --line: #3a4249;
    --line-strong: #4d5760;
    --blue: #8eb5cc;
    --blue-strong: #a8c9db;
    --blue-soft: #2a3540;
    --accent: #e0a07a;
    --accent-strong: #efb896;
    --accent-soft: #3a2e28;
    --sage: #9bc4ad;
    --sage-soft: #2a3530;
    --whatsapp: #4bc48f;
    --whatsapp-strong: #6dd4a5;
    --panel: #242a30;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    --shadow-small: 0 8px 20px rgba(0, 0, 0, 0.22);
    --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.2);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
}

body.has-mobile-cta {
  padding-bottom: var(--bottom-cta-height);
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--surface);
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 28px, var(--container));
  margin-inline: auto;
}

.topbar {
  background: var(--surface-alt);
  color: var(--text);
  font-size: 0.88rem;
  border-bottom: 1px solid var(--line);
}

.topbar__inner,
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar__inner {
  min-height: 44px;
}

.topbar a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
}

.topbar a:hover {
  color: var(--blue);
}

.topbar__contacts {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  min-height: 68px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}

.brand strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.brand span {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.nav.is-open {
  display: flex;
}

.nav a {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover {
  background: var(--surface-alt);
  color: var(--blue);
}

.language-switcher {
  display: flex;
  gap: 0.15rem;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
}

.language-switcher a {
  min-width: 2.2rem;
  padding: 0.4rem 0.55rem;
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.language-switcher a[aria-current="page"] {
  background: var(--blue-soft);
  color: var(--blue-strong);
}

.hero {
  padding: 1.5rem 0 2rem;
}

.hero__shell {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-alt) 100%);
  box-shadow: var(--shadow);
}

.hero__content {
  display: flex;
  flex-direction: column;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.75rem;
  width: fit-content;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--ink);
}

h1 {
  max-width: 16ch;
  font-size: clamp(2rem, 9vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 6vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
}

.lead {
  max-width: 52ch;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-row {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.cta-helper-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.2rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 200ms var(--ease),
    box-shadow 200ms var(--ease),
    background 200ms var(--ease),
    border-color 200ms var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-small);
}

.btn:focus-visible,
.language-switcher a:focus-visible,
.nav a:focus-visible,
.nav-toggle:focus-visible,
summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blue) 50%, transparent);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(198, 123, 78, 0.25);
}

.btn--primary:hover {
  background: var(--accent-strong);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 20px rgba(45, 159, 111, 0.22);
}

.btn--whatsapp:hover {
  background: var(--whatsapp-strong);
}

.btn--soft,
.btn--light {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}

.btn--soft:hover,
.btn--light:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.hero__note {
  display: flex;
  gap: 0.6rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero__note::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--sage);
}

.flow-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.flow-step {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.flow-step::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--whatsapp);
}

.flow-arrow {
  color: var(--sage);
  font-size: 0.75rem;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.trust-pills li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
}

.trust-pills li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}

.hero-visual {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.hero-visual__main img {
  width: 100%;
  height: clamp(220px, 50vw, 340px);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.hero-visual__stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.hero-visual__stack img {
  width: 100%;
  height: 88px;
  object-fit: cover;
  border-radius: 10px;
}

.section {
  padding: 2.5rem 0;
}

.section--alt {
  background: color-mix(in srgb, var(--surface-alt) 65%, var(--bg));
}

.section__head {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.section__head p {
  max-width: 52ch;
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1rem;
}

.card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition:
    border-color 200ms var(--ease),
    box-shadow 200ms var(--ease),
    transform 200ms var(--ease);
}

.service-card:hover {
  border-color: color-mix(in srgb, var(--blue) 35%, var(--line));
  transform: translateY(-3px);
  box-shadow: var(--shadow-small);
}

.icon {
  width: 40px;
  height: 40px;
  padding: 0.5rem;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  flex: 0 0 auto;
}

.card__title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.65rem;
}

.card p,
.card ul {
  margin: 0;
  color: var(--muted);
}

.card ul {
  padding-left: 1.1rem;
}

.task-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.task-chips li {
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  min-height: 100%;
  padding-left: 3.5rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.15rem;
  top: 1.15rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-strong);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
}

.highlight {
  border-left: 4px solid var(--accent);
  background: color-mix(in srgb, var(--accent-soft) 50%, var(--surface));
}

.photo-guide {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.photo-guide h3 {
  margin-bottom: 0.85rem;
}

.photo-guide__grid {
  display: grid;
  gap: 0.75rem;
}

.photo-guide__item {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-alt);
}

.photo-guide__item strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--ink);
  font-size: 0.92rem;
}

.photo-guide__item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.split {
  display: grid;
  gap: 1.25rem;
}

.check-list {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  flex: 0 0 auto;
  color: var(--sage);
  font-weight: 700;
}

.photo-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.about-photo {
  max-width: 200px;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .about-photo {
    margin-inline: 0;
  }
}

.about-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.area-tags span {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.faq {
  display: grid;
  gap: 0.5rem;
}

details {
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

summary {
  cursor: pointer;
  padding: 1rem 0;
  color: var(--ink);
  font-weight: 600;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.final-cta {
  padding: clamp(2.5rem, 7vw, 4rem) 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-strong) 100%);
  color: #fff;
}

.final-cta__inner {
  text-align: center;
}

.final-cta h2 {
  max-width: 20ch;
  margin-inline: auto;
  color: #fff;
}

.final-cta .eyebrow {
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.final-cta .lead {
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.88);
}

.final-cta .cta-row {
  justify-content: center;
}

.final-cta .btn--light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.footer {
  padding: 2.5rem 0 calc(2.5rem + env(safe-area-inset-bottom));
  background: var(--surface-warm);
  color: var(--text);
  border-top: 1px solid var(--line);
}

.footer__grid {
  display: grid;
  gap: 1.5rem;
}

.footer strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}

.footer a {
  color: var(--blue-strong);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer a:hover {
  color: var(--accent);
}

.footer p {
  margin: 0.35rem 0;
  color: var(--muted);
}

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: 0 -8px 24px rgba(44, 51, 56, 0.1);
  backdrop-filter: blur(12px);
}

.gate {
  width: min(100% - 32px, 640px);
  min-height: calc(100vh - 48px);
  margin: 24px auto;
  display: grid;
  align-content: center;
  gap: 1.25rem;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.gate h1 {
  max-width: none;
  margin-inline: auto;
}

.gate__lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.language-cards {
  display: grid;
  gap: 0.65rem;
}

.language-cards a {
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-alt);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}

.language-cards a:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.muted {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 400ms var(--ease),
    transform 400ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 641px) {
  body.has-mobile-cta {
    padding-bottom: 0;
  }

  .mobile-cta {
    display: none;
  }

  .cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .cta-helper-wrap {
    width: auto;
    min-width: 200px;
  }

  .photo-guide__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .container {
    width: min(100% - 48px, var(--container));
  }

  .site-header {
    position: sticky;
  }

  .site-header__inner {
    position: relative;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 1.25rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav a {
    padding: 0;
    font-size: 0.9rem;
  }

  .nav a:hover {
    background: transparent;
  }

  .hero {
    padding: 2rem 0 2.5rem;
  }

  .hero__shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    align-items: center;
    gap: 2rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
  }

  .hero-visual__main img {
    height: 320px;
  }

  .hero-visual__stack img {
    height: 100px;
  }

  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  #about .split {
    grid-template-columns: auto 1fr;
  }

  .section {
    padding: 3.25rem 0;
  }

  .section__head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 2rem;
  }

  .final-cta .cta-row {
    flex-wrap: nowrap;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
