/* =============================================
   EUROVENTANAS QUERÉTARO — Ventanas de Aluminio
   Rediseño premium · cálido · residencial
   ============================================= */

:root {
  /* Marino */
  --navy:        #16233F;
  --navy-dark:   #0E1729;
  --navy-soft:   #21345B;

  /* Acento dorado (tweakable) */
  --gold:        #C0892B;
  --gold-bright: #D9A436;
  --gold-soft:   #E7C684;
  --gold-pale:   #F6ECD7;

  /* Cálidos: terracota + madera (tweakable warmth) */
  --clay:        #A85C36;
  --clay-soft:   #C98C66;
  --clay-pale:   #F3E4D8;
  --wood:        #C9A878;

  /* Neutros cálidos */
  --paper:       #FCFAF5;
  --cream:       #F4EDE1;
  --cream-2:     #EEE5D5;
  --ink:         #211D17;
  --text:        #423B31;
  --muted:       #786E5E;
  --line:        #E5DDCD;

  /* WhatsApp */
  --wa:          #1FB457;
  --wa-dark:     #128C4E;

  /* Tipografía */
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;

  /* Forma */
  --r:    14px;
  --r-sm: 9px;
  --r-lg: 22px;
  --sh:    0 6px 24px rgba(40,30,12,.09);
  --sh-lg: 0 18px 50px rgba(30,22,10,.16);
  --sh-gold: 0 10px 30px rgba(192,137,43,.22);
  --max:    1200px;
  --narrow: 760px;

  /* Animación (tweakable) */
  --rv-dist: 26px;
  --rv-dur:  .8s;
  --ease:    cubic-bezier(.22,.61,.36,1);

  /* Checkmark para listas (mask) */
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M6.2 11.4 2.8 8l1.1-1.1 2.3 2.3 5.6-5.6L13 4.7z'/%3E%3C/svg%3E");
}

/* Modo cálido (terracota) desactivado → acentos cálidos vuelven a dorado */
:root[data-warm="off"] {
  --clay:      var(--gold);
  --clay-soft: var(--gold-soft);
  --clay-pale: var(--gold-pale);
}

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body  { font-family: var(--font-body); color: var(--ink); background: var(--paper);
        line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
        overflow-x: hidden; }
img   { max-width: 100%; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button{ cursor: pointer; border: none; background: none; font-family: inherit; }
::selection { background: var(--gold-soft); color: var(--navy-dark); }

/* ── Layout ────────────────────────────────── */
.container        { width: 100%; max-width: var(--max);    margin: 0 auto; padding: 0 24px; }
.container--narrow{ width: 100%; max-width: var(--narrow); margin: 0 auto; padding: 0 24px; }
.section          { padding: clamp(64px, 9vw, 112px) 0; }
#beneficios {
  background:
    linear-gradient(rgba(249,248,245,0.80) 0%, rgba(249,248,245,0.80) 100%),
    url('img/ventana escuadra.jpg') center center / cover no-repeat;
}
.bg-warm          { background: var(--cream); }
.bg-dark          { background: var(--navy); }
.text-center      { text-align: center; }
.mt-lg            { margin-top: 48px; }

/* ── Eyebrow / títulos ─────────────────────── */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); display: inline-flex;
  align-items: center; gap: 10px; margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; width: 26px; height: 1.5px; background: var(--gold); display: inline-block;
}
.eyebrow--light { color: var(--gold-soft); }
.eyebrow--light::before { background: var(--gold-soft); }
.eyebrow--gold  { color: var(--gold-bright); }
.eyebrow--gold::before { background: var(--gold-bright); }

.h2 {
  font-family: var(--font-display);
  font-size: clamp(29px, 4.4vw, 47px); font-weight: 500;
  line-height: 1.12; letter-spacing: -.01em; color: var(--ink); margin-bottom: 18px;
  text-wrap: balance;
}
.h2 em { font-style: italic; color: var(--clay); font-weight: 500; }
.h2--light { color: #fff; }
.h2--light em { color: var(--gold-soft); }

.lead {
  font-size: clamp(16px, 1.7vw, 18.5px); color: var(--text); line-height: 1.7;
  max-width: 600px; margin-bottom: 44px;
}
.lead--light { color: rgba(255,255,255,.74); }
.lead--center{ margin-left: auto; margin-right: auto; text-align: center; }

/* ── Botones ───────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--r-sm);
  font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: .005em;
  line-height: 1; min-height: 50px;
  white-space: nowrap; cursor: pointer; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s ease;
  will-change: transform;
}
.btn svg { flex-shrink: 0; transition: transform .25s var(--ease); }
.btn--lg  { padding: 19px 38px; font-size: 16.5px; min-height: 60px; }
.btn--sm  { padding: 11px 20px; font-size: 14px; min-height: 42px; }

.btn--wa  { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(31,180,87,.26); }
.btn--wa:hover { background: var(--wa-dark); transform: translateY(-3px);
                  box-shadow: 0 14px 34px rgba(31,180,87,.36); }
.btn--wa:hover svg { transform: scale(1.08) rotate(-4deg); }
.btn--wa:active { transform: translateY(-1px); }

.btn--gold{ background: var(--gold); color: #fff; box-shadow: var(--sh-gold); }
.btn--gold:hover { background: var(--gold-bright); transform: translateY(-3px);
                    box-shadow: 0 16px 38px rgba(192,137,43,.34); }

.btn--navy{ background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-dark); transform: translateY(-3px);
                    box-shadow: var(--sh-lg); }

.btn--outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn--outline:hover { border-color: #fff; background: rgba(255,255,255,.1); transform: translateY(-3px); }

/* Brillo que cruza el CTA principal al hover */
.btn--wa::after, .btn--gold::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg); transition: left .55s var(--ease); pointer-events: none;
}
.btn--wa:hover::after, .btn--gold:hover::after { left: 130%; }

/* ── WhatsApp flotante ─────────────────────── */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  display: flex; align-items: center; gap: 11px;
  background: var(--wa); color: #fff;
  padding: 14px 22px 14px 16px;
  border-radius: 50px; font-size: 14.5px; font-weight: 600;
  box-shadow: 0 8px 26px rgba(31,180,87,.42);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), opacity .4s ease, background .25s;
  opacity: 0; transform: translateY(16px) scale(.92); pointer-events: none;
}
.wa-float.is-ready { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: var(--wa-dark); transform: translateY(-2px) scale(1.04);
                   box-shadow: 0 12px 34px rgba(31,180,87,.5); }
.wa-float svg   { flex-shrink: 0; position: relative; z-index: 1; }
/* halo discreto */
.wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(31,180,87,.42);
}
@media (prefers-reduced-motion: no-preference) {
  .wa-float.is-ready::before { animation: waPulse 3.4s ease-out infinite; }
}
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(31,180,87,.40); }
  70%  { box-shadow: 0 0 0 16px rgba(31,180,87,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,180,87,0); }
}
@media (max-width: 520px) {
  .wa-float span { display: none; }
  .wa-float { padding: 0; width: 58px; height: 58px; justify-content: center;
              bottom: calc(18px + env(safe-area-inset-bottom)); right: 18px; }
}

/* ── Nav ───────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  transition: background .4s ease, box-shadow .4s ease, padding .3s ease;
}
.nav::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(8,12,22,.5), transparent);
  opacity: 1; transition: opacity .4s ease;
}
.nav.is-scrolled { background: rgba(14,23,41,.92); -webkit-backdrop-filter: blur(10px);
                    backdrop-filter: blur(10px); box-shadow: 0 2px 26px rgba(0,0,0,.28); }
.nav.is-scrolled::before { opacity: 0; }
.nav__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; padding: 0 24px; max-width: var(--max); margin: 0 auto;
  transition: height .3s ease;
}
.nav.is-scrolled .nav__inner { height: 64px; }
.nav__logo     { display: flex; align-items: center; }
.nav__logo-img { height: 50px; width: auto; display: block; transition: height .3s ease; }
.nav.is-scrolled .nav__logo-img { height: 42px; }
.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__phone {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.88); font-size: 14px; font-weight: 500;
  transition: color .2s;
}
.nav__phone svg { color: var(--gold-soft); }
.nav__phone:hover { color: #fff; }
@media (max-width: 600px) { .nav__phone { display: none; } }
@media (max-width: 520px) { .nav__logo-img { height: 40px; } }

/* ── Hero ──────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 168px 0 110px; min-height: 100svh;
  display: flex; align-items: center;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('img/IMG_0893.jpg') center 38% / cover no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  :root:not([data-anim="off"]) .hero__bg { animation: heroDrift 26s ease-in-out infinite alternate; }
}
@keyframes heroDrift { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(105deg, rgba(10,16,30,.9) 0%, rgba(10,16,30,.74) 48%, rgba(10,16,30,.34) 100%),
    linear-gradient(to top, rgba(10,16,30,.55), transparent 38%);
}
.hero__inner { position: relative; z-index: 2; max-width: 860px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 24px;
  padding: 8px 16px 8px 14px; border: 1px solid rgba(231,198,132,.3);
  border-radius: 40px; background: rgba(231,198,132,.07);
}
.hero__eyebrow b { color: #fff; font-weight: 600; }
.hero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(38px, 6vw, 70px); color: #fff; line-height: 1.06;
  letter-spacing: -.015em; margin-bottom: 24px; max-width: 16ch; text-wrap: balance;
}
.hero__title em { font-style: italic; color: var(--gold-soft); }
.hero__sub {
  font-size: clamp(16px, 2vw, 19.5px); color: rgba(255,255,255,.82);
  max-width: 540px; line-height: 1.7; margin-bottom: 38px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero__note {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; color: rgba(255,255,255,.6); letter-spacing: .01em;
}
.hero__note::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--wa);
  box-shadow: 0 0 0 4px rgba(31,180,87,.25);
}

/* ── Trust bar ─────────────────────────────── */
.trust { background: var(--navy-dark); padding: 0; }
.trust__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: var(--max); margin: 0 auto;
}
.trust__item {
  display: flex; align-items: center; gap: 13px; justify-content: center;
  padding: 22px 20px; text-align: left; position: relative;
}
.trust__item:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 24%; bottom: 24%;
  width: 1px; background: rgba(255,255,255,.1);
}
.trust__num  { font-family: var(--font-display); font-size: 32px; font-weight: 500;
               color: var(--gold-soft); line-height: 1; }
.trust__ico  {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(231,198,132,.14); color: var(--gold-soft);
}
.trust__label{ font-size: 13px; font-weight: 500; color: rgba(255,255,255,.82); line-height: 1.32; }
@media (max-width: 720px) {
  .trust__inner { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(2)::after { display: none; }
  .trust__item { border-bottom: 1px solid rgba(255,255,255,.08); padding: 18px 16px; }
  .trust__item:nth-child(odd)::after { display: none; }
}

/* ── Problema ──────────────────────────────── */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 36px 0; }
@media (max-width: 640px) { .quotes { grid-template-columns: 1fr; } }
.quote  {
  background: var(--paper); border: 1px solid var(--line);
  border-left: 3px solid var(--clay);
  padding: 20px 22px; border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 16px; color: var(--text); font-style: italic;
  font-family: var(--font-display); line-height: 1.5;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.quote:hover { transform: translateX(4px); box-shadow: var(--sh); border-left-color: var(--gold); }
.problema__body { font-size: 18px; color: var(--text); line-height: 1.75; margin-bottom: 34px; max-width: 60ch; }
.problema__body strong { color: var(--ink); font-weight: 700; }

/* ── Beneficios ────────────────────────────── */
.benefits {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px; margin-top: 50px;
}
.bcard {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 32px 30px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.bcard:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.bcard__icon {
  width: 54px; height: 54px; background: var(--navy); border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-soft); margin-bottom: 22px;
  transition: background .35s, color .35s, transform .35s var(--ease);
}
.bcard:hover .bcard__icon { background: var(--gold); color: #fff; transform: rotate(-5deg) scale(1.05); }
.bcard__title { font-family: var(--font-display); font-size: 21px; font-weight: 500; margin-bottom: 10px; color: var(--ink); }
.bcard__body  { font-size: 14.5px; color: var(--muted); line-height: 1.65; }

/* ── Tipos de apertura ─────────────────────── */
.tipos {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px; margin-top: 50px;
}
.tcard {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 0 0 24px; text-align: center; overflow: hidden;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .3s;
}
.tcard:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: var(--sh); }

/* ── Área de imagen principal ── */
.tcard__media {
  position: relative; overflow: hidden;
  height: 200px; margin-bottom: 20px;
  background: #e8e4dc;
}
/* Foto real como fondo principal */
.tcard__photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .5s var(--ease);
}
.tcard:hover .tcard__photo { transform: scale(1.04); }
/* Gradiente sutil en la parte inferior */
.tcard__photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.45) 0%, transparent 55%);
}
/* Nombre del tipo en la esquina inferior izq */
.tcard__photo-label {
  position: absolute; bottom: 10px; left: 14px;
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.85);
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
  z-index: 2;
}

/* ── Pip animado (esquina superior derecha) ── */
.tcard__pip {
  position: absolute; top: 10px; right: 10px;
  width: 64px; height: 64px;
  border-radius: 8px; overflow: hidden;
  border: 2px solid rgba(255,255,255,.9);
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
  z-index: 2;
  transition: transform .3s ease, box-shadow .3s ease;
}
.tcard:hover .tcard__pip { transform: scale(1.08); box-shadow: 0 4px 16px rgba(0,0,0,.45); }
.tcard__pip video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
/* Badge "cómo abre" encima del pip */
.tcard__pip-label {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,.55); color: #fff;
  font-size: 8px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 2px 6px; border-radius: 4px;
  z-index: 3; pointer-events: none;
}

.tcard__title { font-family: var(--font-display); font-size: 17px; font-weight: 500; margin-bottom: 8px; padding: 0 18px; }
.tcard__body  { font-size: 13px; color: var(--muted); line-height: 1.6; padding: 0 18px; }

/* ── Líneas ────────────────────────────────── */
.linea-group { margin-bottom: 52px; }
.linea-header {
  display: flex; align-items: flex-start; gap: 18px; flex-wrap: wrap;
  padding: 24px 28px; border-radius: var(--r); margin-bottom: 22px;
}
.linea-header--nac  { background: var(--cream-2); }
.linea-header--euro { background: #E9EDF7; }
.linea-header--esp  { background: var(--gold-pale); }
.linea-badge {
  display: inline-block; padding: 7px 16px; border-radius: 40px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; white-space: nowrap; flex-shrink: 0;
}
.linea-badge--nac  { background: #BBB1A0; color: #2c2620; }
.linea-badge--euro { background: var(--navy); color: #fff; }
.linea-badge--esp  { background: var(--gold); color: #fff; }
.linea-header__desc { font-size: 14.5px; color: var(--text); line-height: 1.65; flex: 1; min-width: 220px; }
.linea-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.lcard {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.lcard:hover { box-shadow: var(--sh); transform: translateY(-4px); }
.lcard--em   { border-color: var(--navy); border-width: 1.5px; }
.lcard--gold { border-color: var(--gold); border-width: 1.5px; background: linear-gradient(var(--paper), var(--gold-pale)); }
.lcard__top  { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.lcard__name { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); }
.lcard__tier {
  font-size: 10.5px; font-weight: 600; color: var(--muted);
  letter-spacing: .06em; text-transform: uppercase;
  background: var(--cream); padding: 5px 10px; border-radius: 5px; white-space: nowrap;
}
.lcard__desc { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.lcard__features { display: flex; flex-direction: column; gap: 8px; }
.lcard__features li {
  font-size: 13px; color: var(--text); font-weight: 500;
  padding-left: 22px; position: relative;
}
.lcard__features li::before {
  content: ''; position: absolute; left: 0; top: 6px; width: 13px; height: 13px;
  background: var(--gold); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat;
}
.lineas-cta {
  background: var(--navy); color: #fff; border-radius: var(--r-lg);
  padding: 48px 32px; text-align: center; margin-top: 8px;
  position: relative; overflow: hidden;
}
.lineas-cta::before {
  content: ''; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(231,198,132,.16), transparent 70%);
}
.lineas-cta p { font-family: var(--font-display); font-size: 22px; color: #fff; margin-bottom: 22px; position: relative; }

/* ── Líneas: foto perfil europeo ───────────── */
.linea-photo {
  margin: 0 0 30px; border-radius: var(--r-lg); overflow: hidden; position: relative;
  aspect-ratio: 16 / 7; box-shadow: var(--sh-lg);
}
.linea-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s var(--ease); }
.linea-photo:hover img { transform: scale(1.05); }
.linea-photo figcaption {
  position: absolute; left: 26px; bottom: 22px; right: 26px;
  color: #fff; z-index: 1;
}
.linea-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,16,30,.74), transparent 55%);
}
.linea-photo figcaption b { font-family: var(--font-display); font-size: 19px; font-weight: 500; display: block; }
.linea-photo figcaption span { font-size: 11px; text-transform: uppercase; letter-spacing: .16em; opacity: .8; }

/* ── Comparativa ───────────────────────────── */
.table-wrap { overflow-x: auto; margin: 36px 0 28px; border-radius: var(--r); -webkit-overflow-scrolling: touch; }
.ctable { width: 100%; border-collapse: collapse; min-width: 480px; }
.ctable th, .ctable td {
  padding: 16px 20px; text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.09);
  font-size: 14.5px; color: rgba(255,255,255,.8);
}
.ctable th {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: rgba(255,255,255,.46); padding-bottom: 12px;
}
.ctable th.em { color: var(--gold-soft) !important; }
.ctable td.em { color: #fff !important; font-weight: 500; }
.ctable tbody tr { transition: background .25s; }
.ctable tr:hover td { background: rgba(231,198,132,.06); }
.ctable td:first-child { color: rgba(255,255,255,.56); font-weight: 500; }
.ck { color: var(--gold-soft); font-weight: 700; margin-right: 5px; }
.comp-recs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
@media (max-width: 640px) { .comp-recs { grid-template-columns: 1fr; } }
.comp-rec { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
            border-radius: var(--r); padding: 26px; transition: background .3s, transform .3s var(--ease); }
.comp-rec:hover { background: rgba(255,255,255,.08); transform: translateY(-3px); }
.comp-rec h4 { font-family: var(--font-display); font-size: 17px; font-weight: 500; color: var(--gold-soft); margin-bottom: 14px; }
.comp-rec li { font-size: 14px; color: rgba(255,255,255,.74); padding-left: 18px; position: relative; margin-bottom: 9px; }
.comp-rec li::before { content: '—'; position: absolute; left: 0; color: var(--clay-soft); }

/* ── Proceso ───────────────────────────────── */
.proceso-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-top: 50px; }
@media (max-width: 900px) { .proceso-grid { grid-template-columns: 1fr; gap: 36px; } }
.pasos { display: flex; flex-direction: column; }
.paso  { display: flex; gap: 24px; padding-bottom: 32px; position: relative; }
.paso:last-child { padding-bottom: 0; }
.paso:not(:last-child)::after {
  content: ''; position: absolute; left: 25px; top: 56px; bottom: 0;
  width: 2px; background: linear-gradient(var(--gold), var(--line));
}
.paso__num {
  width: 52px; height: 52px; min-width: 52px;
  background: var(--navy); color: var(--gold-soft);
  font-family: var(--font-display); font-size: 18px; font-weight: 500; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1; transition: transform .35s var(--ease), background .35s;
}
.paso:hover .paso__num { background: var(--gold); color: #fff; transform: scale(1.08); }
.paso__body  { padding-top: 8px; }
.paso__title { font-family: var(--font-display); font-size: 19px; font-weight: 500; margin-bottom: 7px; }
.paso__desc  { font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.proceso-aside { position: sticky; top: 96px; }
.proceso-photo {
  border-radius: var(--r-lg); overflow: hidden; position: relative;
  aspect-ratio: 4 / 5; box-shadow: var(--sh-lg);
}
.proceso-photo img { width: 100%; height: 100%; object-fit: cover; }
.proceso-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,16,30,.78), transparent 50%);
}
.proceso-photo figcaption {
  position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 1; color: #fff;
}
.proceso-photo figcaption b { font-family: var(--font-display); font-size: 20px; font-weight: 500; display: block; margin-bottom: 4px; }
.proceso-photo figcaption span { font-size: 11px; text-transform: uppercase; letter-spacing: .16em; opacity: .82; }
@media (max-width: 900px) { .proceso-aside { position: static; } .proceso-photo { aspect-ratio: 16/10; } }

/* ── Galería de proyectos ──────────────────── */
.gallery-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; margin-bottom: 44px;
}
.gallery-em   { font-style: italic; font-weight: 500; color: var(--clay); }
.gallery-sub  { font-size: 15px; color: var(--muted); max-width: 32ch; line-height: 1.7; }

.gallery-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.gfig {
  position: relative; overflow: hidden; margin: 0;
  border-radius: var(--r); min-height: 0; cursor: default;
}
.gfig--feature { grid-row: 1 / 3; }
.gfig img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.gfig:hover img { transform: scale(1.06); }
.gfig::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,12,22,.72) 0%, rgba(8,12,22,.05) 52%, transparent 100%);
  opacity: .55; transition: opacity .45s ease;
}
.gfig:hover::after { opacity: 1; }
.gfig figcaption {
  position: absolute; left: 22px; bottom: 20px; right: 22px;
  display: flex; flex-direction: column; gap: 5px; color: #fff; z-index: 1;
  transform: translateY(6px); transition: transform .45s var(--ease);
}
.gfig:hover figcaption { transform: none; }
.gfig__num { font-family: var(--font-display); font-size: 19px; font-style: italic; font-weight: 500; line-height: 1.2; }
.gfig--feature .gfig__num { font-size: 24px; }
.gfig__loc { font-size: 10px; text-transform: uppercase; letter-spacing: .2em; opacity: .82; }
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: 1fr; aspect-ratio: auto; }
  .gfig { aspect-ratio: 16/11; }
  .gfig--feature { grid-row: auto; aspect-ratio: 16/10; }
}
/* Franja de fotos reales */
.gallery-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 6px; margin-top: 6px;
}
@media (max-width: 640px) { .gallery-strip { grid-template-columns: repeat(3, 1fr); } }
.gstrip {
  height: 160px; background-size: cover; background-position: center;
  position: relative; overflow: hidden; border-radius: 4px;
}
.gstrip::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(12,18,32,.72); transition: background .3s ease;
}
.gstrip:hover::before { background: rgba(12,18,32,.52); }
.gstrip span {
  position: absolute; bottom: 12px; left: 14px; right: 14px;
  font-size: 10px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
  line-height: 1.4; z-index: 1; transition: color .3s ease;
}
.gstrip:hover span { color: rgba(255,255,255,.85); }

.gallery-cta { text-align: center; margin-top: 40px; }

/* ── Arquitectos ───────────────────────────── */
.arq-box {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch;
  background: var(--navy); border-radius: var(--r-lg); overflow: hidden;
  max-width: 1040px; margin: 0 auto; box-shadow: var(--sh-lg);
}
.arq-content { padding: 52px 52px; }
.arq-photo { position: relative; min-height: 320px; }
.arq-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.arq-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, var(--navy) 0%, rgba(22,35,63,.2) 60%, transparent); }
.arq-box .h2    { color: #fff; }
.arq-box__desc  { font-size: 15.5px; color: rgba(255,255,255,.74); line-height: 1.75; margin-bottom: 22px; }
.arq-box__list  { display: flex; flex-direction: column; gap: 12px; margin-bottom: 34px; }
.arq-box__list li {
  font-size: 14.5px; color: rgba(255,255,255,.86); padding-left: 26px; position: relative; line-height: 1.5;
}
.arq-box__list li::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 14px; height: 14px;
  background: var(--gold-soft); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat;
}
@media (max-width: 820px) {
  .arq-box { grid-template-columns: 1fr; }
  .arq-photo { min-height: 240px; order: -1; }
  .arq-photo::after { background: linear-gradient(to bottom, transparent 40%, var(--navy)); }
  .arq-content { padding: 38px 28px; }
}

/* ── Programa de aliados ── */
.aliados-box {
  max-width: 1040px; margin: 32px auto 0;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh);
}
.aliados-header {
  background: linear-gradient(135deg, var(--navy) 0%, #243e6e 100%);
  padding: 40px 48px 36px;
  text-align: center;
}
.aliados-badge {
  display: inline-block;
  background: var(--gold); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: .15em;
  text-transform: uppercase; padding: 4px 14px; border-radius: 20px;
  margin-bottom: 16px;
}
.aliados-title {
  font-family: var(--font-display); font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 500; color: #fff; margin-bottom: 12px;
}
.aliados-desc {
  font-size: 15px; color: rgba(255,255,255,.7); line-height: 1.7;
  max-width: 560px; margin: 0 auto;
}
.aliados-cards {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.acard {
  padding: 28px 26px;
  border-right: 1px solid var(--line);
  transition: background .25s;
}
.acard:last-child { border-right: none; }
.acard:hover { background: rgba(199,141,43,.06); }
.acard__icon {
  display: block; font-size: 22px; color: var(--gold);
  margin-bottom: 12px;
}
.acard__title {
  font-family: var(--font-display); font-size: 15px; font-weight: 500;
  color: var(--ink); margin-bottom: 8px; line-height: 1.3;
}
.acard__body {
  font-size: 13px; color: var(--muted); line-height: 1.65;
}
.aliados-cta {
  text-align: center; padding: 28px 24px;
  border-top: 1px solid var(--line);
  background: rgba(249,148,29,.04);
}
.btn--outline-dark {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--navy); color: var(--navy);
  background: transparent; padding: 12px 32px;
  border-radius: var(--r); font-weight: 700; font-size: 14px;
  letter-spacing: .04em; text-decoration: none;
  transition: background .25s, color .25s, border-color .25s;
}
.btn--outline-dark:hover { background: var(--navy); color: #fff; }
@media (max-width: 820px) {
  .aliados-header { padding: 32px 24px 28px; }
  .aliados-cards  { grid-template-columns: repeat(2, 1fr); }
  .acard:nth-child(2) { border-right: none; }
  .acard:nth-child(3) { border-top: 1px solid var(--line); }
  .acard:nth-child(4) { border-top: 1px solid var(--line); border-right: none; }
}
@media (max-width: 480px) {
  .aliados-cards { grid-template-columns: 1fr; }
  .acard { border-right: none; border-top: 1px solid var(--line); }
  .acard:first-child { border-top: none; }
}

/* ── Ubicación ─────────────────────────────── */
.ubicacion-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--line);
  margin-top: 50px;
  min-height: 420px;
}
.ubicacion-map {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.ubicacion-map img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.ubicacion-info {
  background: var(--navy);
  padding: 40px 32px;
  display: flex; flex-direction: column; gap: 28px;
}
.uinfo-block {
  display: flex; align-items: flex-start; gap: 14px;
}
.uinfo-icon {
  font-size: 20px; line-height: 1; flex-shrink: 0;
  margin-top: 2px;
}
.uinfo-label {
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 4px;
}
.uinfo-value {
  font-size: 14px; color: rgba(255,255,255,.82); line-height: 1.6;
}
.ubicacion-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; width: 100%;
}
.uinfo-social {
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 4px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.uinfo-soc {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.5); text-decoration: none;
  font-size: 13px; transition: color .2s;
}
.uinfo-soc svg { flex-shrink: 0; }
.uinfo-soc:hover { color: var(--gold); }
@media (max-width: 860px) {
  .ubicacion-wrap {
    grid-template-columns: 1fr;
  }
  .ubicacion-map { min-height: 300px; }
  .ubicacion-info { padding: 32px 24px; }
}

/* ── FAQ ───────────────────────────────────── */
.faq-list    { margin-top: 44px; }
.faq-item    { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; padding: 24px 0;
  font-family: var(--font-display); font-size: 18px; font-weight: 500; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color .25s;
}
.faq-q:hover { color: var(--clay); }
.faq-q__ico {
  flex-shrink: 0; width: 26px; height: 26px; position: relative;
  border-radius: 50%; border: 1.5px solid var(--gold); transition: background .3s, transform .35s var(--ease);
}
.faq-q__ico::before, .faq-q__ico::after {
  content: ''; position: absolute; top: 50%; left: 50%; background: var(--gold);
  transform: translate(-50%, -50%); transition: opacity .3s, background .3s;
}
.faq-q__ico::before { width: 11px; height: 1.5px; }
.faq-q__ico::after  { width: 1.5px; height: 11px; }
.faq-q[aria-expanded="true"] { color: var(--clay); }
.faq-q[aria-expanded="true"] .faq-q__ico { background: var(--gold); transform: rotate(180deg); }
.faq-q[aria-expanded="true"] .faq-q__ico::before { background: #fff; }
.faq-q[aria-expanded="true"] .faq-q__ico::after  { opacity: 0; }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease);
}
.faq-a__inner { overflow: hidden; }
.faq-a__inner p {
  padding: 0 0 24px; font-size: 15px; color: var(--text); line-height: 1.8; max-width: 64ch;
  opacity: 0; transition: opacity .3s ease;
}
.faq-a.open { grid-template-rows: 1fr; }
.faq-a.open .faq-a__inner p { opacity: 1; transition-delay: .12s; }

/* ── CTA final ─────────────────────────────── */
.cta-section { padding: clamp(80px, 11vw, 128px) 0; position: relative; overflow: hidden; }
.cta-section::before {
  content: ''; position: absolute; left: 50%; top: -120px; transform: translateX(-50%);
  width: 600px; height: 360px; background: radial-gradient(ellipse, rgba(231,198,132,.14), transparent 70%);
}
.cta-section__body { font-size: 18px; color: rgba(255,255,255,.72); margin-bottom: 40px; line-height: 1.7; }
.cta-section__btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ── Footer ────────────────────────────────── */
.footer { background: var(--navy-dark); padding: 48px 0 40px; border-top: 1px solid rgba(255,255,255,.07); }
.footer__inner {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 28px; flex-wrap: wrap; max-width: var(--max); margin: 0 auto; padding: 0 24px;
}
.footer__logo     { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: #fff; letter-spacing: .04em; display: block; }
.footer__tagline  { font-size: 11px; color: var(--gold-soft); display: block; margin-top: 5px; letter-spacing: .12em; text-transform: uppercase; }
.footer__info     { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.9; }
.footer__info a   { color: rgba(255,255,255,.72); transition: color .2s; }
.footer__info a:hover { color: var(--gold-soft); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  max-width: 1040px; margin: 28px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer__social { display: flex; gap: 6px; }
.fsoc {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  color: rgba(255,255,255,.45);
  border: 1px solid rgba(255,255,255,.12);
  transition: color .2s, border-color .2s, background .2s;
  text-decoration: none;
}
.fsoc:hover { color: #fff; border-color: var(--gold); background: rgba(199,141,43,.15); }
.footer__copy {
  font-size: 12px; color: rgba(255,255,255,.3); line-height: 1.5;
}

/* ── Reveal on scroll ──────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  :root:not([data-anim="off"]) .reveal {
    opacity: 0; transform: translateY(var(--rv-dist));
    transition: opacity var(--rv-dur) var(--ease), transform var(--rv-dur) var(--ease);
    transition-delay: var(--d, 0ms);
  }
  :root:not([data-anim="off"]) .reveal.in { opacity: 1; transform: none; }
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 130px 0 80px; min-height: auto; }
  .proceso-grid { gap: 32px; }
}
@media (max-width: 480px) {
  .hero__eyebrow { font-size: 11px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .cta-section__btns { flex-direction: column; align-items: center; }
  .cta-section__btns .btn { width: 100%; max-width: 380px; }
  .quote { font-size: 15px; }
}
