/* TenAdvisor — Real Estate Advisory · South Tenerife */
:root {
  --navy: #042C53;
  --navy-2: #134B86;
  --navy-3: #185FA5;
  --gold: #C9A961;
  --gold-2: #B58E3F;
  --gold-soft: #E8D9B5;
  --cream: #FAF7F2;
  --ink: #0F172A;
  --slate-1: #1E293B;
  --slate-2: #475569;
  --slate-3: #64748B;
  --slate-4: #CBD5E1;
  --slate-5: #E2E8F0;
  --slate-6: #F1F5F9;
  --bg: #ffffff;
  --green: #10B981;
  --green-soft: #DCFCE7;
  --red: #EF4444;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06);
  --shadow-md: 0 4px 12px rgba(15,23,42,.08);
  --shadow-lg: 0 12px 40px rgba(15,23,42,.12);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --container: 1200px;
  --font-sans: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; padding: 8px 12px; background: var(--navy); color: #fff; z-index: 9999; border-radius: 6px; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FBFAF7;
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.header.scrolled {
  background: rgba(251,250,247,.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--slate-5);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
  gap: 32px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  letter-spacing: -.4px;
  text-decoration: none;
}
.header-logo-img {
  height: 84px;
  width: auto;
  display: block;
  transition: transform .25s;
  mix-blend-mode: multiply;
}
.header-logo:hover .header-logo-img { transform: scale(1.03); }
@media (max-width: 640px) { .header-logo-img { height: 64px; } }
.footer-logo-img {
  height: 108px;
  mix-blend-mode: normal;
  filter: none;
  background: #FBFAF7;
  padding: 10px 16px;
  border-radius: 10px;
}
.header-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-left: auto;
  margin-right: 24px;
}
.header-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-2);
  transition: color .2s;
}
.header-link:hover { color: var(--navy); }
.header-right { display: flex; align-items: center; gap: 16px; }

/* Lang selector */
.lang-selector { position: relative; }
.lang-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-2);
  border: 1px solid var(--slate-5);
  border-radius: 8px;
  background: #fff;
  transition: border-color .2s;
}
.lang-trigger:hover { border-color: var(--slate-4); }
.lang-flag { font-size: 16px; line-height: 1; }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--slate-5);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  list-style: none;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.lang-selector.open .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--slate-1);
  cursor: pointer;
}
.lang-option:hover { background: var(--slate-6); }
.lang-option.active { background: var(--cream); color: var(--navy); font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 14px rgba(4,44,83,.25);
}
.btn-primary:hover { background: var(--navy-2); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(4,44,83,.35); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 4px 14px rgba(201,169,97,.35); }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: var(--slate-6); color: var(--slate-1); }
.btn-ghost:hover { background: var(--slate-5); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }

/* Mobile toggle */
.mobile-toggle { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); transition: transform .25s, opacity .25s; }
.mobile-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 108px 0 0 0;
  background: #fff;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateX(100%);
  transition: transform .3s;
  z-index: 99;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-link { font-size: 18px; font-weight: 500; color: var(--slate-1); padding: 8px 0; border-bottom: 1px solid var(--slate-5); }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 32px 0 40px;
  background: #FBFAF7;
  overflow: hidden;
  min-height: calc(100vh - 108px);
  display: flex;
  align-items: center;
}
.hero > .container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,169,97,.10), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -300px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(4,44,83,.06), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-2);
  background: var(--gold-soft);
  border-radius: 999px;
  letter-spacing: .3px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold-2);
  border-radius: 50%;
}
.hero-title {
  font-size: clamp(36px, 4.8vw, 56px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--navy);
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero-title .accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  display: inline-block;
  position: relative;
}
.hero-title .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 8px;
  background: var(--gold-soft);
  z-index: -1;
  border-radius: 4px;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.5;
  color: var(--slate-2);
  max-width: 540px;
  margin-bottom: 24px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: var(--slate-2);
  font-weight: 500;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--gold); }

/* Hero visual */
.hero-visual {
  position: relative;
  max-width: 560px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--slate-5);
}
.hero-card-main { z-index: 2; }
.hero-card-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--slate-6);
  border-bottom: 1px solid var(--slate-5);
}
.hero-card-bar-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--slate-4); }
.hero-card-bar-dot:nth-child(1) { background: #ff5f57; }
.hero-card-bar-dot:nth-child(2) { background: #ffbd2e; }
.hero-card-bar-dot:nth-child(3) { background: #28c840; }
.hero-card-body { padding: 22px 22px 26px; }
.hero-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-3);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 4px;
}
.hero-card-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 18px;
}
.hero-progress {
  height: 6px;
  background: var(--slate-6);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}
.hero-progress-fill {
  height: 100%;
  width: 65%;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  border-radius: 3px;
  animation: progressIn 1.4s ease-out;
}
@keyframes progressIn { from { width: 0; } }
.hero-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--slate-3);
  margin-bottom: 18px;
}
.hero-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--slate-6);
  font-size: 14px;
  color: var(--slate-1);
}
.hero-step:first-of-type { border-top: none; }
.hero-step-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--green-soft);
  color: var(--green);
}
.hero-step-icon.active { background: var(--gold-soft); color: var(--gold-2); }
.hero-step-icon.pending { background: var(--slate-6); border: 1px dashed var(--slate-4); color: transparent; }
.hero-step-time { margin-left: auto; font-size: 12px; color: var(--slate-3); }

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  -webkit-mask-image:
    linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image:
    linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  mix-blend-mode: multiply;
}

.hero-floating {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--gold);
  box-shadow: var(--shadow-md);
  z-index: 4;
  animation: float 4s ease-in-out infinite;
}
.hero-float-1 { top: -16px; right: 16px; animation-delay: 0s; }
.hero-float-2 { top: 30%; right: -20px; animation-delay: 1s; color: var(--navy); }
.hero-float-3 { top: 50%; left: -20px; animation-delay: 2s; color: var(--green); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Stats strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--slate-5);
  position: relative;
  z-index: 2;
}
.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat-num em { color: var(--gold); font-style: italic; }
.hero-stat-label { font-size: 14px; color: var(--slate-3); font-weight: 500; }

/* ===== SECTION shared ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark .section-eyebrow { color: var(--gold); }
.section-dark .section-title { color: #fff; }
.section-dark .section-lead { color: rgba(255,255,255,.75); }

.section-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
  text-align: center;
}
.section-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 46px);
  color: var(--navy);
  text-align: center;
  letter-spacing: -.5px;
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-lead {
  text-align: center;
  font-size: 18px;
  color: var(--slate-2);
  max-width: 640px;
  margin: 0 auto 56px;
  line-height: 1.55;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  display: block;
  background: #fff;
  border: 1px solid var(--slate-5);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--cream);
  display: grid;
  place-items: center;
  color: var(--gold-2);
  margin-bottom: 22px;
}
.service-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -.3px;
}
.service-desc { font-size: 15px; color: var(--slate-2); line-height: 1.6; margin-bottom: 18px; }
.service-list { list-style: none; padding: 0; }
.service-list li {
  font-size: 14px;
  color: var(--slate-2);
  padding: 6px 0 6px 22px;
  position: relative;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 12px;
  height: 2px;
  background: var(--gold);
}

/* ===== ABOUT (15 years) ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-content .section-eyebrow,
.about-content .section-title,
.about-content .section-lead { text-align: left; margin-left: 0; }
.about-features {
  list-style: none;
  display: grid;
  gap: 18px;
  margin-top: 32px;
}
.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.about-feature-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--cream);
  display: grid;
  place-items: center;
  color: var(--gold-2);
}
.about-feature-title { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.about-feature-desc { font-size: 15px; color: var(--slate-2); line-height: 1.55; }

.about-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: var(--navy);
  overflow: hidden;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.about-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  display: block;
}
.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(4,44,83,.65) 100%);
  pointer-events: none;
}
.about-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  background: rgba(4,44,83,.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.about-badge-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 64px;
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -2px;
}
.about-badge-text { display: flex; flex-direction: column; }
.about-badge-label {
  font-size: 14px;
  opacity: .95;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.2;
}
.about-badge-sub { font-size: 12px; opacity: .7; margin-top: 4px; }
@media (max-width: 640px) {
  .about-badge { left: 16px; bottom: 16px; padding: 12px 16px; gap: 12px; }
  .about-badge-num { font-size: 48px; }
  .about-badge-label { font-size: 12px; }
  .about-badge-sub { font-size: 11px; }
}

/* ===== STEPS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.step { text-align: center; padding: 0 12px; position: relative; }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  color: var(--gold);
  background: #fff;
  border: 2px solid var(--gold);
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}
.step-title { font-family: var(--font-serif); font-size: 22px; color: var(--navy); margin-bottom: 10px; font-weight: 500; }
.step-desc { font-size: 15px; color: var(--slate-2); line-height: 1.6; }

/* ===== PARTNER (GestiSure) ===== */
.partner {
  background: #fff;
  border: 1px solid var(--slate-5);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.partner-logo {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 32px;
  color: var(--navy);
  letter-spacing: -.5px;
}
.partner-logo strong { color: var(--gold); font-weight: 400; }
.partner-content {
  border-left: 1px solid var(--slate-5);
  padding-left: 48px;
}
.partner-eyebrow { font-size: 12px; color: var(--gold-2); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.partner-text { font-size: 16px; color: var(--slate-1); line-height: 1.6; }
.partner-text strong { color: var(--navy); }

/* ===== CONTACT / CTA ===== */
.cta-section {
  background: var(--navy);
  color: #fff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,169,97,.15), transparent 70%);
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.cta-eyebrow { color: var(--gold); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 16px; display: block; }
.cta-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -.5px;
}
.cta-title em { color: var(--gold); }
.cta-lead { font-size: 17px; line-height: 1.6; opacity: .82; margin-bottom: 32px; }
.cta-info { display: grid; gap: 20px; }
.cta-info-row { display: flex; gap: 14px; align-items: center; font-size: 15px; }
.cta-info-row svg { color: var(--gold); flex-shrink: 0; }
.cta-info-row a { transition: color .2s; }
.cta-info-row a:hover { color: var(--gold); }

.cta-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--slate-1); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid var(--slate-4);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(4,44,83,.1);
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit { width: 100%; margin-top: 8px; }
.form-message {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
}
.form-message.success { background: var(--green-soft); color: #166534; display: block; }
.form-message.error { background: #fee2e2; color: #991b1b; display: block; }
.form-note { font-size: 12px; color: var(--slate-3); margin-top: 12px; line-height: 1.5; }

/* Quiz */
.quiz-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 22px;
}
.quiz-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--gold-2);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  font-weight: 500;
  display: grid;
  place-items: center;
  margin-top: 2px;
  border: 1px solid var(--gold-soft);
}
.quiz-body { margin-bottom: 0; }
.quiz-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.quiz-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  background: #fff;
  border: 1.5px solid var(--slate-5);
  border-radius: 999px;
  font-size: 14px;
  color: var(--slate-1);
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.quiz-option input { position: absolute; opacity: 0; pointer-events: none; }
.quiz-option:hover { border-color: var(--gold); }
.quiz-option:has(input:checked) { background: var(--navy); color: #fff; border-color: var(--navy); }

.rgpd-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 18px 0 14px;
  font-size: 13px;
  color: var(--slate-2);
  line-height: 1.5;
  cursor: pointer;
}
.rgpd-consent input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--navy);
  cursor: pointer;
}
.rgpd-consent a { color: var(--navy); text-decoration: underline; font-weight: 500; }
.rgpd-consent a:hover { color: var(--gold-2); }

.footer-credit { font-size: 13px; opacity: .7; }
.footer-credit a { color: var(--gold); text-decoration: none; }
.footer-credit a:hover { text-decoration: underline; }

/* Legal pages */
.legal-page { padding: 64px 0 96px; min-height: calc(100vh - 200px); background: #FBFAF7; }
.legal-page .container { max-width: 780px; }
.legal-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 48px);
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -.5px;
  line-height: 1.15;
}
.legal-meta { font-size: 13px; color: var(--slate-3); margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--slate-5); }
.legal-page h2 {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin: 36px 0 14px;
  letter-spacing: -.2px;
}
.legal-page h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--slate-1);
  margin: 24px 0 10px;
}
.legal-page p, .legal-page li { font-size: 15px; line-height: 1.65; color: var(--slate-1); margin-bottom: 12px; }
.legal-page ul { padding-left: 22px; margin-bottom: 16px; }
.legal-page ul li { margin-bottom: 6px; }
.legal-page a { color: var(--navy); text-decoration: underline; transition: color .2s; }
.legal-page a:hover { color: var(--gold-2); }
.legal-page code {
  background: var(--cream);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
  color: var(--navy);
}
.legal-page strong { color: var(--navy); font-weight: 600; }
.legal-page em { font-style: italic; color: var(--slate-2); }

/* ===== FOOTER ===== */
.footer {
  background: #0A1F3A;
  color: rgba(255,255,255,.7);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .header-logo { color: #fff; }
.footer-brand .header-logo span { color: var(--gold); }
.footer-tagline { font-size: 14px; line-height: 1.6; margin-top: 14px; max-width: 320px; opacity: .65; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  opacity: .6;
}
.footer-bottom a { transition: color .2s; }
.footer-bottom a:hover { color: var(--gold); opacity: 1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .hero { min-height: 0; padding: 48px 0 64px; align-items: flex-start; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: 40px; padding-top: 28px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .partner { grid-template-columns: 1fr; gap: 24px; padding: 32px; text-align: center; }
  .partner-content { border-left: none; border-top: 1px solid var(--slate-5); padding-left: 0; padding-top: 24px; }
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .header-nav { display: none; }
  .mobile-toggle { display: flex; }
  .header-cta { display: none; }
  .hero { padding: 56px 0 72px; }
  .hero-title { letter-spacing: -1px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-stat-num { font-size: 36px; }
  .section { padding: 72px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .partner { padding: 28px 20px; }
}

/* Reveal anim */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: translateY(0); }
