:root {
  --text: #0f172a;
  --text-soft: #475569;
  --text-light: #f8fafc;
  --surface: #ffffff;
  --border: rgba(148, 163, 184, 0.18);
  --border-light: rgba(255,255,255,0.12);
  --accent: #111827;
  --success: #16a34a;
  --danger: #dc2626;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-md: 0 20px 50px rgba(15, 23, 42, 0.14);
  --shadow-lg: 0 30px 90px rgba(2, 8, 23, 0.38);
  --container: 1220px;
  font-family: 'Manrope', system-ui, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,0.04), transparent 20%),
    radial-gradient(circle at 90% 20%, rgba(255,255,255,0.03), transparent 22%),
    linear-gradient(180deg, #eef2f7 0%, #f8fafc 100%);
  color: var(--text);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 999;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 10px;
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
}

.hidden-field { display: none !important; }

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.topbar__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #0f172a;
  white-space: nowrap;
  position: relative;
}

.logo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 56%;
  height: 2px;
  background: linear-gradient(90deg, #0f172a, transparent);
  opacity: 0.8;
}

.footer .logo,
.mobile-drawer__header .logo {
  color: #ffffff;
}
.footer .logo::after,
.mobile-drawer__header .logo::after {
  background: linear-gradient(90deg, rgba(255,255,255,0.95), transparent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  font-weight: 700;
  color: #334155;
  transition: color .2s ease, transform .2s ease;
}
.nav a:hover {
  color: #0f172a;
  transform: translateY(-1px);
}

.cta-small {
  padding: 11px 15px;
  border-radius: 999px;
  background: #111827;
  border: 1px solid #111827;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
}

.lang-switch select {
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid #dbe2ea;
  background: #fff;
  color: #0f172a;
  font-weight: 700;
  outline: none;
}

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #dbe2ea;
  background: #fff;
  padding: 10px;
  cursor: pointer;
}
.mobile-menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #0f172a;
  border-radius: 999px;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(86vw, 360px);
  height: 100vh;
  z-index: 130;
  background: rgba(11, 18, 32, 0.98);
  color: #fff;
  padding: 20px;
  transition: right .28s ease;
  box-shadow: -16px 0 40px rgba(2, 8, 23, 0.28);
}
.mobile-drawer.is-open { right: 0; }

.mobile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.mobile-drawer__close {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 26px;
  cursor: pointer;
}

.mobile-drawer__nav {
  display: grid;
  gap: 14px;
}

.mobile-drawer__nav a {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.mobile-drawer__cta {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  color: #0f172a !important;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 125;
  background: rgba(2, 8, 23, 0.42);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 48px 0 72px;
  overflow: hidden;
  isolation: isolate;
}
.hero--small { min-height: 55vh; }

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(8, 17, 31, 0.92) 0%, rgba(15, 23, 42, 0.84) 42%, rgba(15, 23, 42, 0.58) 72%, rgba(15, 23, 42, 0.34) 100%),
    url('./hero-latina.jpg') center/cover no-repeat;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 85%);
}

.hero__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 330px);
  gap: 24px;
  align-items: center;
}

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.07));
  border: 1px solid var(--border-light);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
}

.hero__content,
.hero__panel,
.form-wrap {
  border-radius: var(--radius-lg);
}

.hero__content {
  padding: clamp(24px, 4vw, 40px);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}
.hero__panel {
  padding: 18px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 800;
  color: #cbd5e1;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 16px;
}

.hero-title__brand {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(42px, 7vw, 84px);
  line-height: .92;
  letter-spacing: -0.06em;
  font-weight: 700;
  color: #ffffff;
  text-shadow:
    0 6px 30px rgba(255,255,255,0.08),
    0 18px 60px rgba(15,23,42,0.35);
  word-break: break-word;
}

.hero-title__motto {
  display: block;
  max-width: 22ch;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.28;
  font-weight: 700;
  color: rgba(255,255,255,0.86);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lead {
  margin: 0;
  max-width: 58ch;
  color: rgba(248,250,252,0.92);
  font-size: clamp(16px, 2.1vw, 19px);
  line-height: 1.7;
  text-wrap: balance;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 14px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.hero__trust span,
.chip {
  padding: 11px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #f8fafc;
  font-weight: 700;
  max-width: 100%;
}

.hero__chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero__metric {
  padding: 22px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  margin-bottom: 14px;
}
.hero__metric:last-child { margin-bottom: 0; }
.hero__metric strong {
  display: block;
  font-size: 30px;
  line-height: 1;
  margin-bottom: 6px;
}
.hero__metric span {
  color: rgba(226,232,240,0.95);
  line-height: 1.5;
  font-weight: 600;
}

.qr-box {
  margin-top: 16px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  text-align: center;
}
.qr-box__title {
  margin: 0 0 12px;
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.4;
}
.qr-box__image {
  width: 180px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 12px;
  border-radius: 14px;
  background: #ffffff;
  padding: 10px;
  box-shadow: 0 16px 34px rgba(15,23,42,0.24);
}
.qr-box__note {
  margin: 0;
  color: rgba(226,232,240,0.88);
  font-size: 14px;
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
  border: none;
  max-width: 100%;
}
.btn--primary {
  background: #111827;
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.24);
}
.btn--ghost {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.16);
}
.btn--whatsapp {
  background: #166534;
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(22, 101, 52, 0.26);
}
.btn--full { width: 100%; }

.section {
  padding: clamp(64px, 9vw, 96px) 0;
}
.section--alt {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}
.section--focus {
  background: linear-gradient(180deg, #0b1220 0%, #111827 100%);
  color: var(--text-light);
}

.section__header {
  max-width: 760px;
  margin-bottom: 34px;
}
.section__header h2 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #0f172a;
  text-wrap: balance;
}
.section__header--light h2 {
  color: rgba(255,255,255,0.96);
}
.section__hint {
  margin-top: 12px;
  color: #64748b;
  line-height: 1.7;
  max-width: 66ch;
  text-wrap: balance;
}
.section__header--light .section__hint {
  color: rgba(255,255,255,0.82);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service,
.step,
.zones,
.faq details {
  background: #ffffff;
  border: 1px solid rgba(148,163,184,0.14);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.service {
  border-radius: 22px;
  padding: 22px;
}
.service__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.service__title {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  color: #0f172a;
}
.service p {
  color: #475569;
  line-height: 1.7;
  margin: 12px 0 16px;
  text-wrap: balance;
}
.tag {
  padding: 7px 10px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
}
.cta-link {
  font-weight: 800;
  color: #0f172a;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.step {
  border-radius: 24px;
  padding: 24px;
}
.step__number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #111827;
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}
.step h3 {
  margin: 0 0 8px;
  font-size: 22px;
}
.step p {
  margin: 0;
  color: #475569;
  line-height: 1.7;
  text-wrap: balance;
}

.zones {
  border-radius: 24px;
  padding: 26px;
  line-height: 1.8;
  font-size: 18px;
}
.muted {
  color: #64748b;
  text-wrap: balance;
}

.form-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 38px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field--full {
  grid-column: 1 / -1;
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #f8fafc;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(12,20,36,0.82);
  color: #f8fafc;
  outline: none;
  max-width: 100%;
}

select option {
  color: #0f172a;
  background: #ffffff;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(226,232,240,0.64);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(255,255,255,0.28);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.08);
}

.invalid {
  border-color: rgba(248,113,113,0.8) !important;
  box-shadow: 0 0 0 4px rgba(248,113,113,0.12) !important;
}

.slot-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.slot-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkbox {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.checkbox input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
}

.form-success {
  color: #86efac;
  font-weight: 800;
  margin-top: 14px;
}
.form-error {
  color: #fecaca;
  font-weight: 800;
  margin-top: 14px;
}

.faq {
  display: grid;
  gap: 12px;
}
.faq details {
  border-radius: 20px;
  padding: 16px 18px;
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
  color: #0f172a;
}
.faq p {
  color: #475569;
  line-height: 1.72;
  margin: 10px 0 0;
  text-wrap: balance;
}

.footer {
  background: linear-gradient(180deg, #0b1220 0%, #111827 100%);
  color: #f8fafc;
  padding: 34px 0 54px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.footer__brand {
  max-width: 560px;
}
.footer__brand p {
  color: #cbd5e1;
  line-height: 1.7;
  text-wrap: balance;
}
.footer__links {
  display: grid;
  gap: 10px;
}
.footer__links a {
  font-weight: 700;
  color: #f8fafc;
}

.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: none;
  z-index: 90;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 140;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(8,17,31,0.96);
  color: #f8fafc;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}
.cookie-banner.hidden { display: none; }

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-dismiss,
.cookie-accept {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
  border: none;
  cursor: pointer;
}
.cookie-dismiss {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.cookie-accept {
  background: #ffffff;
  color: #0f172a;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero__wrap {
    grid-template-columns: 1fr;
  }
  .hero__panel {
    max-width: 620px;
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps,
  .slot-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .mobile-menu-toggle { display: inline-block; }

  .hero {
    min-height: auto;
    padding: 34px 0 56px;
  }

  .hero__panel {
    max-width: 100%;
  }

  .hero-title__brand {
    font-size: clamp(38px, 10vw, 66px);
  }

  .hero-title__motto {
    max-width: none;
    font-size: clamp(18px, 4vw, 24px);
  }

  .service-grid,
  .steps,
  .form-grid,
  .slot-row {
    grid-template-columns: 1fr;
  }

  .field--full {
    grid-column: auto;
  }

  .mobile-cta {
    display: block;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 20px));
  }

  .topbar__inner {
    min-height: 70px;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__trust {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__trust span,
  .chip {
    width: 100%;
    text-align: center;
  }

  .slot-duo {
    grid-template-columns: 1fr;
  }

  .qr-box__image {
    width: 160px;
  }

  .hero__content,
  .hero__panel,
  .service,
  .step,
  .zones,
  .form-wrap,
  .faq details {
    border-radius: 20px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .section {
    padding: 52px 0;
  }

  .section__header h2 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .footer {
    padding-bottom: 100px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 78px;
  }

  .cookie-dismiss,
  .cookie-accept {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .logo {
    font-size: 16px;
  }

  .lang-switch select {
    min-height: 38px;
    padding: 6px 10px;
  }

  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
  }

  .hero-title__brand {
    font-size: 34px;
  }

  .hero-title__motto {
    font-size: 17px;
  }

  .lead,
  .section__hint,
  .service p,
  .step p,
  .faq p,
  .footer__brand p {
    font-size: 15px;
  }

  input,
  select,
  textarea {
    min-height: 48px;
    padding: 12px;
  }

  .btn {
    min-height: 50px;
    padding: 13px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}