/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #080604;
  --bg-2:      #110e08;
  --bg-3:      #1a140d;
  --bg-card:   #1e1810;
  --cream:     #f0e8d5;
  --cream-2:   #d4c9b0;
  --cream-3:   #8a7d6a;
  --gold:      #c9a22e;
  --gold-2:    #a8831a;
  --gold-glow: rgba(201,162,46,0.25);
  --line:      rgba(240,232,213,0.10);
  --sans:      'Inter', system-ui, sans-serif;
  --serif:     'Playfair Display', Georgia, serif;
  --mono:      'JetBrains Mono', 'Courier New', monospace;
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius:    16px;
  --gutter:    clamp(1rem, 5vw, 2rem);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.07; letter-spacing: -0.02em; font-family: var(--serif); font-weight: 700; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--cream); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 500;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(201,162,46,.3);
  padding: .3rem .7rem; border-radius: 100px;
  background: rgba(201,162,46,.06);
}
.tag::before { content: '◆'; font-size: .5rem; }

/* =============================================================
   4. Typography scale
   ============================================================= */
.display-xl {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.display-lg {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.display-md {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
}
.kicker {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8rem;
}
.lead {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: var(--cream-2);
  line-height: 1.7;
  max-width: 58ch;
}

em, .em-gold { color: var(--gold); font-style: italic; }

/* =============================================================
   5. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-size: .9rem; font-weight: 600;
  padding: .85rem 2rem; border-radius: 100px;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .2s;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--bg);
  box-shadow: 0 4px 24px rgba(201,162,46,.3);
}
.btn-gold:hover {
  background: #d4ac33;
  box-shadow: 0 8px 36px rgba(201,162,46,.45);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: rgba(201,162,46,.4);
  color: var(--gold);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  font-size: 1rem;
  padding: 1rem 2.5rem;
  box-shadow: 0 4px 28px rgba(37,211,102,.35);
  gap: .7rem;
}
.btn-whatsapp:hover {
  background: #1ebe5b;
  box-shadow: 0 8px 40px rgba(37,211,102,.5);
}
.btn-whatsapp svg { width: 22px; height: 22px; flex-shrink: 0; }

/* =============================================================
   6. Navigation
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease-soft), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8,6,4,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 1.1rem;
}
.nav-logo {
  display: flex; align-items: center; gap: .7rem;
}
.nav-logo img {
  height: 38px; width: auto;
  filter: brightness(1.1);
}
.nav-logo-text {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.1;
}
.nav-logo-text span {
  display: block;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}
.nav-links {
  display: none;
  list-style: none;
  gap: 2rem;
}
.nav-links a {
  font-size: .87rem;
  font-weight: 500;
  color: var(--cream-2);
  position: relative;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: -4px; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { font-size: .83rem; padding: .65rem 1.4rem; }

.nav-hamburger {
  display: flex; flex-direction: column; gap: 5px;
  padding: .5rem; cursor: pointer;
  margin-left: .75rem;
}

@media (max-width: 520px) {
  .nav-inner { gap: .5rem; }
  .nav-cta { font-size: .72rem; padding: .5rem .85rem; white-space: nowrap; }
  .nav-logo img { height: 32px; }
  .nav-logo-text { font-size: .88rem; }
  .nav-logo-text span { font-size: .5rem; }
}
.nav-hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--cream); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(8,6,4,.97); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease-soft);
}
.nav-mobile.is-open { opacity: 1; pointer-events: auto; }
.nav-mobile a {
  font-family: var(--serif); font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700; color: var(--cream);
  transition: color .2s;
}
.nav-mobile a:hover { color: var(--gold); }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-hamburger { display: none; }
}

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  transform: scale(1.05);
  transition: transform 8s var(--ease-soft);
}
.hero.is-ready .hero-bg img { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to right, rgba(8,6,4,.92) 40%, rgba(8,6,4,.5) 100%),
    linear-gradient(to top, rgba(8,6,4,.8) 0%, transparent 50%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 400px;
}
.hero-content {
  position: relative; z-index: 3;
  padding-block: 9rem 5rem;
}
.hero-meta {
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: 1.4rem;
}
.hero-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--gold-glow); }
  50% { box-shadow: 0 0 0 6px transparent; }
}
.hero-meta span { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-3); }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7.5vw, 6.2rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 14ch;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--cream-2);
  line-height: 1.65;
  max-width: 44ch;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--cream-3); font-family: var(--mono); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
.hero-scroll svg { width: 18px; height: 18px; }
@keyframes scrollBounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(5px); } }

/* =============================================================
   8. About / Stats
   ============================================================= */
.section-about {
  padding-block: 6rem;
  border-bottom: 1px solid var(--line);
}
.about-grid {
  display: grid;
  gap: 4rem;
}
.about-text { max-width: 52ch; }
.about-text h2 { margin-bottom: 1.2rem; }
.about-text p { color: var(--cream-2); margin-bottom: 1.2rem; }
.about-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
}
.about-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-soft);
}
.about-img:hover img { transform: scale(1.04); }
.about-img-badge {
  position: absolute; bottom: 1.2rem; left: 1.2rem;
  background: rgba(8,6,4,.85); backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  padding: .7rem 1rem; border-radius: 12px;
  font-family: var(--mono); font-size: .7rem; color: var(--gold);
  letter-spacing: .06em;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 4rem;
}
.stat-item {
  background: var(--bg-2);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: background .25s;
}
.stat-item:hover { background: var(--bg-3); }
.stat-value {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-label {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream-3);
}

@media (min-width: 960px) {
  .about-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}

/* =============================================================
   9. How it works
   ============================================================= */
.section-steps {
  padding-block: 6rem;
  border-bottom: 1px solid var(--line);
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--cream-2); max-width: 50ch; margin-inline: auto; }

.steps-grid {
  display: grid;
  gap: 2rem;
  position: relative;
}
.step-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s var(--ease-out);
}
.step-card:hover {
  border-color: rgba(201,162,46,.35);
  transform: translateY(-4px);
}
.step-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.step-card:hover::before { opacity: 1; }
.step-num {
  font-family: var(--mono);
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.step-card h3 {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 700;
  margin-bottom: .8rem; color: var(--cream);
}
.step-card p { font-size: .92rem; color: var(--cream-3); line-height: 1.65; }
.step-icon {
  width: 44px; height: 44px;
  background: rgba(201,162,46,.1);
  border: 1px solid rgba(201,162,46,.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--gold);
}
.step-icon svg { width: 22px; height: 22px; }

@media (min-width: 720px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---- 5-step graphic variant ---- */
.steps-grid-5 {
  grid-template-columns: 1fr;
  align-items: stretch;
  margin-top: 2.5rem;
  row-gap: 3rem;
}
.steps-grid-5 .step-card {
  overflow: visible;
  margin-top: 1.4rem;
  padding-top: 2.6rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.step-badge {
  position: absolute;
  top: -1.4rem; left: 1.6rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--step-color, var(--gold));
  border: 4px solid var(--bg);
  color: #fff;
  font-family: var(--mono); font-weight: 700; font-size: 1.05rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.4);
  z-index: 2;
}
.steps-grid-5 .step-icon { color: var(--step-color, var(--gold)); background: color-mix(in srgb, var(--step-color, var(--gold)) 14%, transparent); border-color: color-mix(in srgb, var(--step-color, var(--gold)) 30%, transparent); }
.step-arrow {
  display: none;
  align-items: center; justify-content: center;
  color: var(--gold);
}
.step-arrow svg { width: 32px; height: 32px; }
.step-card-final {
  background: linear-gradient(160deg, rgba(201,162,46,.12), var(--bg-2) 60%);
  border-color: rgba(201,162,46,.4);
}
.step-card-final h3 { color: var(--gold); }
.steps-cta { text-align: center; margin-top: 3rem; }

@media (min-width: 1100px) {
  .steps-grid-5 {
    grid-template-columns: 1fr 56px 1fr 56px 1fr 56px 1fr 56px 1fr;
    align-items: stretch;
    column-gap: 0;
    row-gap: 0;
  }
  .step-arrow { display: flex; height: 100%; }
}

/* =============================================================
   10. Cases of success
   ============================================================= */
.section-cases {
  padding-block: 6rem;
  border-bottom: 1px solid var(--line);
}

/* ---- "Casos Reales" kicker pill ---- */
.kicker-pill {
  display: inline-flex; align-items: center;
  font-family: var(--mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .06em;
  color: var(--gold);
  background: rgba(201,162,46,.1);
  border: 1px solid rgba(201,162,46,.3);
  padding: .4rem 1rem; border-radius: 100px;
  margin-bottom: 1.2rem;
}

/* ---- Carousel shell ---- */
.cases-carousel {
  position: relative;
  max-width: 1040px;
  margin-inline: auto;
  min-width: 0;
}
.cases-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
}
.cases-track {
  display: flex;
  min-width: 0;
}
.case-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  transition: transform .5s var(--ease-out);
}
.case-slide-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.case-slide-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.9) brightness(.85);
}
.case-slide-badge {
  position: absolute; top: 1rem; left: 1rem;
  font-family: var(--mono); font-size: .72rem; font-weight: 700;
  color: #0d0c0a;
  background: var(--gold);
  padding: .4rem .8rem; border-radius: 100px;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.case-slide-info { padding: 2rem; display: flex; flex-direction: column; min-width: 0; }
.case-slide-info h3 {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 700;
  color: var(--cream); margin-bottom: .5rem;
}
.case-slide-meta {
  display: flex; align-items: center; gap: .4rem;
  font-size: .85rem; color: var(--cream-3);
  margin-bottom: 1.4rem;
}
.case-price-row {
  display: flex; gap: 1.5rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}
.case-price-col { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.case-price-label {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--cream-3);
}
.case-price-de { font-size: 1.4rem; font-weight: 700; color: var(--gold); }
.case-price-es { font-size: 1.1rem; color: var(--cream-3); text-decoration: line-through; }
.case-savings-box {
  background: rgba(201,162,46,.08);
  border: 1px solid rgba(201,162,46,.25);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.2rem;
}
.case-savings-line {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-weight: 700; font-size: .92rem;
  color: var(--gold);
  margin-bottom: .7rem;
}
.case-quote {
  font-size: .92rem; color: var(--cream-2);
  line-height: 1.6; font-style: italic;
  margin-bottom: .5rem;
}
.case-quote::before { content: '"'; color: var(--gold); }
.case-quote::after { content: '"'; color: var(--gold); }
.case-person { font-size: .85rem; font-weight: 600; color: var(--cream); }
.case-ig-link-inline {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; color: var(--cream-3);
  text-decoration: none;
  transition: color .2s;
  margin-top: auto;
}
.case-ig-link-inline:hover { color: var(--gold); }

/* ---- Carousel arrows (overlaid, take no layout width) ---- */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(8,6,4,.85);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.carousel-arrow-prev { left: .6rem; }
.carousel-arrow-next { right: .6rem; }
.carousel-arrow svg { width: 18px; height: 18px; }
.carousel-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0d0c0a;
  transform: translateY(-50%) scale(1.06);
}

/* ---- Dots ---- */
.carousel-dots {
  display: flex; align-items: center; justify-content: center;
  gap: .6rem;
  margin-top: 1.8rem;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, width .2s;
}
.carousel-dot.is-active {
  background: var(--gold);
  width: 22px;
  border-radius: 100px;
}

.cases-disclaimer {
  font-size: .78rem; color: var(--cream-3);
  max-width: 50ch; margin: 1rem auto 0;
}

@media (min-width: 720px) {
  .case-slide { grid-template-columns: 1fr 1fr; }
  .case-slide-img { aspect-ratio: auto; height: 100%; }
}
@media (min-width: 900px) {
  .carousel-arrow { width: 52px; height: 52px; }
  .carousel-arrow svg { width: 24px; height: 24px; }
  .carousel-arrow-prev { left: -26px; }
  .carousel-arrow-next { right: -26px; }
}

/* =============================================================
   10b. Germany stats section
   ============================================================= */
.section-germany {
  padding-block: 6rem;
  border-bottom: 1px solid var(--line);
}
.germany-highlight {
  color: var(--gold);
  text-shadow: 0 0 24px rgba(201, 162, 46, .55), 0 0 60px rgba(201, 162, 46, .35);
}
.germany-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 1040px;
  margin: 0 auto 2.5rem;
}
.germany-stat-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  overflow: hidden;
  text-align: center;
}
.germany-stat-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin: 0 auto 1.4rem;
}
.germany-stat-icon svg { width: 26px; height: 26px; }
.germany-stat-icon-dark { background: var(--bg); color: var(--gold); border: 1px solid var(--line); }
.germany-stat-icon-gold { background: var(--gold); color: #0d0c0a; }
.germany-stat-icon-cream { background: var(--cream); color: #0d0c0a; }
.germany-stat-value {
  font-family: var(--sans);
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: .4rem;
}
.germany-stat-label {
  font-size: .92rem;
  color: var(--cream-3);
  max-width: 28ch;
  margin: 0 auto;
}
.germany-quote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 1.6rem 2rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(201, 162, 46, .08), transparent, rgba(201, 162, 46, .08));
}
.germany-quote p {
  font-size: 1.02rem;
  color: var(--cream-2);
  line-height: 1.6;
}
@media (min-width: 720px) {
  .germany-stats { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================================
   11. Form section
   ============================================================= */
.section-form {
  padding-block: 6rem;
  border-bottom: 1px solid var(--line);
}
.form-wrapper {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 3.5rem);
  max-width: 880px;
  margin-inline: auto;
  position: relative;
  overflow: hidden;
}
.form-wrapper::before {
  content: '';
  position: absolute; top: -120px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,162,46,.12), transparent 70%);
  pointer-events: none;
}
.form-header { margin-bottom: 2.5rem; }
.form-header h2 { margin-bottom: .8rem; }
.form-header p { color: var(--cream-2); }

.form-row { display: grid; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-size: .82rem; font-weight: 500; color: var(--cream-2);
  letter-spacing: .02em;
}
.form-group label span { color: var(--gold); }
.form-control {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .82rem 1rem;
  color: var(--cream);
  font-family: var(--sans); font-size: .9rem;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.form-control::placeholder { color: var(--cream-3); }
.form-control:focus {
  outline: none;
  border-color: rgba(201,162,46,.5);
  box-shadow: 0 0 0 3px rgba(201,162,46,.1);
}
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a7d6a' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
select.form-control option { background: var(--bg-3); color: var(--cream); }
textarea.form-control { resize: vertical; min-height: 120px; }

.form-submit-row {
  margin-top: 2rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  gap: 1rem;
}
.form-submit-note {
  font-size: .78rem; color: var(--cream-3);
  max-width: 48ch;
}
.btn-submit {
  position: relative; overflow: hidden;
  min-width: 220px;
}
.btn-submit .btn-text { transition: opacity .2s; }
.btn-submit.is-sending .btn-text { opacity: 0; }
.btn-submit-loader {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s;
}
.btn-submit.is-sending .btn-submit-loader { opacity: 1; }
.btn-submit-loader span {
  width: 18px; height: 18px;
  border: 2px solid rgba(8,6,4,.3);
  border-top-color: var(--bg);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 720px) {
  .form-row-2 { grid-template-columns: 1fr 1fr; }
  .form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
}

/* =============================================================
   12. Why us / Trust
   ============================================================= */
.section-trust {
  padding-block: 6rem;
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.trust-item {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.8rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s, transform .3s var(--ease-out);
}
.trust-item:hover {
  border-color: rgba(201,162,46,.3);
  transform: translateY(-3px);
}
.trust-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(201,162,46,.1);
  border: 1px solid rgba(201,162,46,.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.trust-icon svg { width: 22px; height: 22px; }
.trust-body h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin-bottom: .4rem; }
.trust-body p { font-size: .87rem; color: var(--cream-3); line-height: 1.6; }

@media (min-width: 720px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }

/* =============================================================
   13. Footer
   ============================================================= */
.footer {
  padding-block: 4rem 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid; gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: .6rem; }
.footer-brand p { font-size: .87rem; color: var(--cream-3); max-width: 30ch; line-height: 1.6; }
.footer-links h4 {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; margin: 0; padding: 0; }
.footer-links a {
  font-size: .87rem; color: var(--cream-3); transition: color .2s;
  display: inline-flex; align-items: center; gap: .55rem;
}
.footer-links a svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--gold); opacity: .85; }
.footer-links a:hover { color: var(--gold); }
.footer-links a:hover svg { opacity: 1; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: .78rem; color: var(--cream-3); }
.footer-social a {
  font-size: .78rem; color: var(--cream-3);
  display: flex; align-items: center; gap: .4rem;
  transition: color .2s;
}
.footer-social a:hover { color: var(--gold); }

@media (max-width: 719px) {
  .footer-top { text-align: center; justify-items: center; }
  .footer-brand img { margin-inline: auto; }
  .footer-brand p { margin-inline: auto; }
  .footer-brand .btn-whatsapp { font-size: .76rem; padding: .55rem 1rem; }
  .footer-links { width: 100%; }
  .footer-links ul { align-items: center; }
  .footer-bottom { flex-direction: column; justify-content: center; text-align: center; }
}

@media (min-width: 720px) {
  .footer-top { grid-template-columns: 2fr 1fr 1fr; }
}

/* =============================================================
   14. Formulario standalone page
   ============================================================= */
.nav-inner-focus { justify-content: center; }

.page-form-hero {
  padding-top: 6.5rem;
  padding-bottom: 1.6rem;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201,162,46,.12), transparent 60%),
    var(--bg);
}
.page-form-hero h1 {
  margin-bottom: .6rem;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}
.page-form-hero p {
  color: var(--cream-2);
  max-width: 48ch;
  margin-inline: auto;
  font-size: .92rem;
}
.page-form-body { padding-block: 1.6rem 4rem; }

/* =============================================================
   15. Gracias page
   ============================================================= */
.page-thanks {
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 2rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 20%, rgba(201,162,46,.1), transparent 60%),
    var(--bg);
}
.thanks-icon {
  width: 72px; height: 72px;
  background: rgba(92,218,139,.1);
  border: 2px solid rgba(92,218,139,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-inline: auto;
  margin-bottom: 2rem;
  color: #5cda8b;
}
.thanks-icon svg { width: 36px; height: 36px; }
.page-thanks h1 { margin-bottom: 1rem; }
.page-thanks p { color: var(--cream-2); max-width: 44ch; margin-inline: auto; margin-bottom: 2.5rem; }
.thanks-divider {
  width: 60px; height: 1px; background: var(--line);
  margin: 2rem auto;
}
.thanks-cta-label {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cream-3); margin-bottom: 1.2rem;
}

/* =============================================================
   16. Reveal animations
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal[data-split] { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* =============================================================
   17. View transitions (multi-page)
   ============================================================= */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: .5s;
  animation-timing-function: var(--ease-out);
}
::view-transition-old(root) { animation-name: vtFadeOut; }
::view-transition-new(root) { animation-name: vtFadeIn; }
@keyframes vtFadeOut { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vtFadeIn { from { opacity: 0; transform: translateY(10px); } }

/* =============================================================
   18. Responsive overrides
   ============================================================= */
@media (min-width: 960px) {
  .hero-content { padding-block: 10rem 6rem; }
}
