/* ═══════════════════════════════════════════════════════════════════
   SOLVERS ENDURANCE — STYLESHEET OFICIAL
   Sistema visual basado en Manual de Marca v1.0 — 2026
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* PRIMARIOS */
  --se-black:    #0A0C12;
  --se-navy:     #0D1628;
  --se-steel:    #1A3A6B;
  --se-chrome:   #3A6EA8;
  /* ACENTO */
  --se-gold:     #C69830;
  --se-gold-lt:  #DDB84A;
  /* NEUTROS */
  --se-white:    #F4F6FA;
  --se-silver:   #9DB0C8;
  --se-mist:     #D0DAE8;
  --se-smoke:    #6A7D96;
  /* SISTEMA */
  --se-bg-dark:    #080B14;
  --se-bg-mid:     #101828;
  --se-bg-surf:    #162030;
  --se-border:     #1E3050;
  --se-line:       #253A58;
  /* CLAROS */
  --se-light-bg:   #F4F6FA;
  --se-light-surf: #ECF0F7;
  --se-light-line: #D5DEEA;
  --se-light-text: #1A2540;
  --se-light-mute: #5A6B8A;

  /* TYPOGRAPHY */
  --ff-display: 'Bebas Neue', 'Helvetica Neue', Arial, sans-serif;
  --ff-body:    'Inter', system-ui, -apple-system, sans-serif;
  --ff-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* SPACING */
  --section-py: clamp(56px, 8vw, 110px);
  --container:  1200px;
  --gutter:     clamp(18px, 3.2vw, 36px);

  /* TIMING */
  --ease-out:    cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* ═══════════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--se-mist);
  background: var(--se-bg-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Transiciones sutiles entre secciones claras y oscuras ── */
/* Líneas de oro en los bordes superior/inferior de cada sección clara,
   creando una sensación de "marco editorial" cuando se transita de oscuro→claro */
.productos,
.testimonios,
.pdp-trust,
.pdp-related {
  box-shadow:
    inset 0 1px 0 rgba(198,152,48,.35),
    inset 0 -1px 0 rgba(198,152,48,.18);
}
.proceso,
.quote-section {
  box-shadow: inset 0 1px 0 rgba(198,152,48,.35);
}

/* ── Brand backdrop: logo flotante FIJO detrás de todo ── */
.brand-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.brand-bg__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0.13;
  filter: brightness(1.45) contrast(1.1) saturate(0.45);
  mix-blend-mode: lighten;
}
@media (prefers-reduced-motion: reduce) {
  .brand-bg { display: none; }
}
/* Stack contexts: secciones claras lo tapan, oscuras lo dejan ver */
main, section, header, footer, nav { position: relative; z-index: 1; }

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

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

ul, ol { list-style: none; }

::selection { background: var(--se-gold); color: var(--se-black); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--se-bg-dark); }
::-webkit-scrollbar-thumb { background: var(--se-border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--se-chrome); }


/* ═══════════════════════════════════════════════════════════════════
   SHARED COMPONENTS
   ═══════════════════════════════════════════════════════════════════ */
.eyebrow-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--se-gold);
  border-radius: 50%;
  margin-right: 10px;
  box-shadow: 0 0 0 4px rgba(198,152,48,.15);
  animation: pulse-dot 2s ease-in-out infinite;
}
.eyebrow-dot--dark { background: var(--se-gold); box-shadow: 0 0 0 4px rgba(198,152,48,.18); }

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(198,152,48,.15); }
  50%      { box-shadow: 0 0 0 8px rgba(198,152,48,.05); }
}

.dot-pulse {
  display: inline-block;
  width: 8px; height: 8px;
  background: #22ff8a;
  border-radius: 50%;
  margin-left: 8px;
  box-shadow: 0 0 0 0 rgba(34, 255, 138, .6);
  animation: pulse-live 1.8s ease-in-out infinite;
}
@keyframes pulse-live {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,255,138,.6); }
  50%      { box-shadow: 0 0 0 10px rgba(34,255,138,0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 0;
  position: relative;
  transition: all .3s var(--ease-out);
  cursor: pointer;
  border: 1px solid transparent;
  overflow: hidden;
}

.btn--primary {
  background: var(--se-gold);
  color: var(--se-black);
  border-color: var(--se-gold);
}
.btn--primary:hover {
  background: var(--se-gold-lt);
  border-color: var(--se-gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(198,152,48,.5);
}

.btn--ghost {
  background: transparent;
  color: var(--se-white);
  border-color: var(--se-line);
}
.btn--ghost:hover {
  background: rgba(58,110,168,.1);
  border-color: var(--se-chrome);
  color: var(--se-white);
}


/* ═══════════════════════════════════════════════════════════════════
   DARK SECTIONS — transparent on top of the global brand backdrop
   ═══════════════════════════════════════════════════════════════════ */
.section--dark { position: relative; isolation: isolate; overflow: hidden; }
.section--dark > .container,
.section--dark > .pdp-grid,
.section--dark > .pdp-related__grid { position: relative; z-index: 2; }

/* Hide per-section ambient videos — replaced by the global .brand-bg */
.ambient-iso { display: none !important; }

/* Vignette overlay so content stays legible over the floating isotipo */
.section--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse 95% 80% at 50% 50%, transparent 42%, rgba(8,11,20,.5) 85%, var(--se-bg-dark) 100%),
    linear-gradient(to bottom, rgba(8,11,20,.2) 0%, transparent 22%, transparent 70%, rgba(8,11,20,.5) 100%);
}


/* ═══════════════════════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════════════════════ */
.section-header {
  margin-bottom: clamp(36px, 5vw, 64px);
  max-width: 680px;
}
.section-header__eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--se-chrome);
  margin-bottom: 18px;
}
.section-header__eyebrow--dark { color: var(--se-light-text); }

.section-header__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--se-white);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-header__title--dark { color: var(--se-light-text); }
.section-header__title--gold { color: var(--se-gold-lt); display: block; }

.section-header__subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: var(--se-silver);
  max-width: 560px;
}

.section-header--light .section-header__subtitle { color: var(--se-light-mute); }


/* ═══════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(8,11,20, 0);
  backdrop-filter: blur(0px);
  transition: all .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8,11,20, 0.85);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--se-border);
  padding: 12px 0;
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  color: var(--se-white);
  transition: opacity .3s;
  text-decoration: none;
}
.nav__logo:hover { opacity: 0.85; }
.nav__logo-img {
  height: 80px;
  width: auto;
  display: block;
  transition: height .3s var(--ease-out), opacity .35s var(--ease-out);
  opacity: 0;
}
.nav__logo-img.is-keyed { opacity: 1; }
.nav.is-scrolled .nav__logo-img { height: 64px; }
@media (max-width: 640px) {
  .nav__logo-img { height: 64px; }
  .nav.is-scrolled .nav__logo-img { height: 52px; }
}

.nav__menu {
  display: flex;
  gap: 36px;
  margin-left: auto;
  margin-right: 24px;
}
.nav__menu a {
  font-size: 13px;
  font-weight: 500;
  color: var(--se-silver);
  letter-spacing: 0.02em;
  transition: color .2s;
  position: relative;
  padding: 6px 0;
}
.nav__menu a:hover { color: var(--se-white); }
.nav__menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--se-gold);
  transition: width .3s var(--ease-out);
}
.nav__menu a:hover::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  color: var(--se-white);
  border: 1px solid var(--se-border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all .3s var(--ease-out);
}
.nav__cta:hover {
  background: var(--se-gold);
  color: var(--se-black);
  border-color: var(--se-gold);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 110;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--se-white);
  transition: transform .3s var(--ease-out), opacity .25s var(--ease-out);
  transform-origin: center;
}
.nav__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__burger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menú mobile colapsable */
@media (max-width: 1024px) {
  .nav__menu {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(78vw, 320px);
    background: rgba(8,11,20,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--se-border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 100px 36px 40px;
    margin: 0;
    transform: translateX(100%);
    transition: transform .45s var(--ease-out);
    z-index: 105;
    display: flex !important;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__menu a {
    font-family: var(--ff-display);
    font-size: 28px;
    color: var(--se-white);
    letter-spacing: 0.02em;
    padding: 6px 0;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   1. HERO
   ═══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: var(--se-bg-dark);
  overflow: hidden;
  isolation: isolate;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,48,80,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,48,80,.14) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 80%);
  z-index: 0;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform, filter;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  /* Sin blur para que el isotipo se vea nítido en cualquier hosting */
  filter: contrast(1.02) saturate(0.85) brightness(0.55);
  transform: scale(1.04);
}
.hero__video-vignette {
  position: absolute;
  inset: 0;
  background:
    /* Capa base oscura uniforme sobre el video */
    linear-gradient(rgba(8,11,20,.35), rgba(8,11,20,.35)),
    /* Vignette radial cerrando los bordes */
    radial-gradient(ellipse 75% 60% at center, transparent 30%, rgba(8,11,20,.8) 80%, var(--se-bg-dark) 100%),
    /* Sombra para legibilidad sobre el video del lado izquierdo (donde está el texto) */
    linear-gradient(to right, rgba(8,11,20,.55) 0%, transparent 50%, transparent 70%, rgba(8,11,20,.25) 100%),
    /* Refuerzo abajo para el CTA */
    linear-gradient(to bottom, transparent 0%, transparent 55%, rgba(8,11,20,.85) 100%);
  pointer-events: none;
  z-index: 2;
}
.hero__video-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  opacity: 0.5;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 3;
}

.hero__content {
  position: relative;
  z-index: 5;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
  will-change: transform, opacity;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--se-chrome);
  margin-bottom: 32px;
  padding: 9px 16px 9px 14px;
  background: rgba(8,11,20,.55);
  border: 1px solid var(--se-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
}
.hero__eyebrow::before {
  content: '';
  position: absolute;
  left: -1px;
  top: -1px;
  bottom: -1px;
  width: 2px;
  background: var(--se-gold);
}

.hero__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(42px, 6.8vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--se-white);
  max-width: 820px;
  text-shadow: 0 2px 24px rgba(0,0,0,.5);
}
.hero__title-line {
  display: block;
  overflow: hidden;
}
.hero__title-line--accent {
  color: var(--se-gold-lt);
  font-style: italic;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.78em;
  letter-spacing: -0.025em;
  text-transform: none;
  padding-left: 0.05em;
  line-height: 1;
  margin: 0.05em 0;
}

.hero__subtitle {
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.6;
  color: var(--se-mist);
  max-width: 500px;
  margin-bottom: 32px;
  font-weight: 300;
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
.hero__subtitle strong {
  color: var(--se-white);
  font-weight: 600;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 5;
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.35em;
  color: var(--se-silver);
}
.hero__scroll-line {
  width: 1px;
  height: 54px;
  background: linear-gradient(to bottom, rgba(157,176,200,.4), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -24px; left: 0;
  width: 100%; height: 24px;
  background: linear-gradient(to bottom, transparent, var(--se-gold-lt));
  animation: scroll-down 2.6s cubic-bezier(.16,1,.3,1) infinite;
}
@keyframes scroll-down {
  0%   { top: -24px; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 78px; opacity: 0; }
}

.hero__corner-spec {
  position: absolute;
  z-index: 5;
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--se-smoke);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 10px;
  background: rgba(8,11,20,.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(30,48,80,.4);
}
.hero__corner-spec--tl {
  top: 100px;
  right: var(--gutter);
  text-align: right;
}
.hero__corner-spec--br {
  bottom: 120px;
  right: var(--gutter);
  text-align: right;
}
.hero__corner-spec .spec-label { color: var(--se-chrome); }
.hero__corner-spec .spec-value { color: var(--se-silver); font-weight: 500; }


/* ═══════════════════════════════════════════════════════════════════
   2. TRUST BAR (CLARO)
   ═══════════════════════════════════════════════════════════════════ */
.trust {
  background: var(--se-light-bg);
  padding: clamp(50px, 6vw, 90px) 0;
  position: relative;
  border-bottom: 1px solid var(--se-light-line);
}
.trust::before, .trust::after {
  content: '';
  position: absolute;
  height: 4px;
  left: 0; right: 0;
  background: linear-gradient(90deg, transparent, var(--se-gold), transparent);
}
.trust::before { top: 0; }
.trust::after { bottom: -1px; opacity: 0.4; }

.trust__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
}

.trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.trust__num {
  font-family: var(--ff-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  line-height: 1;
  color: var(--se-light-text);
  letter-spacing: -0.02em;
}
.trust__num--range { letter-spacing: -0.04em; }
.trust__plus {
  position: absolute;
  top: -8px;
  right: -16px;
  font-family: var(--ff-display);
  font-size: 32px;
  color: var(--se-gold);
}
.trust__item {
  flex-direction: column;
}
.trust__item:has(.trust__plus--lead) {
  flex-direction: row;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
}
.trust__plus--lead {
  position: static;
  font-size: clamp(36px, 5vw, 56px);
  color: var(--se-gold);
  line-height: 1;
  margin-right: 2px;
}
.trust__item:has(.trust__plus--lead) .trust__label {
  flex-basis: 100%;
}
.trust__label {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--se-light-mute);
  margin-top: 12px;
  line-height: 1.5;
}

.trust__divider {
  width: 1px;
  height: 60px;
  background: var(--se-light-line);
}


/* ═══════════════════════════════════════════════════════════════════
   3. PRODUCTOS — APPLE-LIKE MINIMAL · LIGHT THEME
   ═══════════════════════════════════════════════════════════════════ */
.productos {
  padding: var(--section-py) 0;
  background: var(--se-light-bg);
  color: var(--se-light-text);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

/* Centered section header variant */
.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 720px;
}
.section-header--center .section-header__subtitle {
  margin-left: auto;
  margin-right: auto;
  color: var(--se-light-mute);
}

/* ── Height picker — prominent ────────────────────── */
.productos__height-picker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: clamp(28px, 4vw, 56px) auto clamp(48px, 6vw, 80px);
}
.productos__height-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--se-light-mute);
  text-transform: uppercase;
}

/* iOS-style segmented control with sliding indicator */
.productos__toggle {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  background: var(--se-light-surf);
  border: 1px solid var(--se-light-line);
  padding: 5px;
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(26,37,64,.04);
}
.productos__toggle-btn {
  position: relative;
  z-index: 2;
  padding: 12px 28px;
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--se-light-mute);
  background: none;
  border: none;
  cursor: pointer;
  transition: color .35s var(--ease-out), font-weight 0s;
  border-radius: 999px;
  white-space: nowrap;
}
.productos__toggle-btn:hover { color: var(--se-light-text); }
.productos__toggle-btn.is-active {
  color: var(--se-light-text);
  font-weight: 600;
}
.productos__toggle-indicator {
  position: absolute;
  z-index: 1;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  background: #FFFFFF;
  border-radius: 999px;
  box-shadow:
    0 1px 3px rgba(26,37,64,.10),
    0 0 0 1px rgba(26,37,64,.04);
  transition: transform .5s cubic-bezier(.65,0,.35,1);
  pointer-events: none;
}
.productos__toggle:has(.is-active[data-floors="2"]) .productos__toggle-indicator {
  transform: translateX(100%);
}

/* ── Group divider ──────────────────────────────── */
.productos__group {
  position: relative;
  z-index: 2;
}
.productos__group + .productos__group {
  margin-top: clamp(72px, 10vw, 120px);
  padding-top: clamp(64px, 8vw, 100px);
  border-top: 1px solid var(--se-light-line);
}

/* ── Grid ───────────────────────────────────────── */
.productos__grid--residencial {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 4.5vw, 64px) clamp(24px, 3vw, 40px);
  align-items: start;
}

/* ── Product card — minimal light ─────────────────── */
.product-card {
  background: transparent;
  border: none;
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.product-card.is-clickable { cursor: pointer; }
.product-card.is-clickable:focus-visible {
  outline: 2px solid var(--se-gold);
  outline-offset: 6px;
}

.product-card__image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--se-light-surf) 100%);
  margin-bottom: 22px;
  border: 1px solid var(--se-light-line);
  transition: border-color .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.product-card:hover .product-card__image-wrap {
  border-color: var(--se-light-text);
  box-shadow: 0 24px 48px -28px rgba(26,37,64,.22);
}

.product-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .7s var(--ease-out), transform 1.4s var(--ease-out);
}
.product-card__image.is-active { opacity: 1; }
.product-card:hover .product-card__image.is-active { transform: scale(1.04); }

/* Corner number — light theme */
.product-card__corner {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--se-light-mute);
  padding: 4px 8px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(213,222,234,.7);
}

/* Featured mark — replaces chunky badge */
.product-card__featured-mark {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--se-light-text);
  padding: 4px 10px 4px 18px;
  background: rgba(255,255,255,.88);
  border: 1px solid var(--se-light-line);
  border-radius: 0;
  text-transform: uppercase;
}
.product-card__featured-mark::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--se-gold);
  border-radius: 50%;
}

.product-card__body {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__byline {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--se-light-mute);
  letter-spacing: 0.22em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.product-card__title {
  font-family: var(--ff-display);
  font-size: clamp(26px, 2.4vw, 34px);
  color: var(--se-light-text);
  letter-spacing: 0.005em;
  margin-bottom: 6px;
  font-weight: 400;
  line-height: 1;
}

.product-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--se-light-mute);
  margin-bottom: 18px;
  flex: 1;
  max-width: 28ch;
}
.product-card__desc--lg {
  font-size: 15px;
  line-height: 1.6;
  max-width: 48ch;
  margin-bottom: 22px;
}

/* Price row — light editorial */
.product-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--se-light-line);
  position: relative;
}
.product-card__price-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--se-light-mute);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.product-card__price {
  font-family: var(--ff-display);
  font-size: clamp(26px, 2.4vw, 34px);
  color: var(--se-light-text);
  letter-spacing: 0.005em;
  line-height: 1;
  margin-left: auto;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
}
.product-card__price-mxn {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--se-light-mute);
  letter-spacing: 0.18em;
}
.product-card__price-row.is-swapping .product-card__price {
  opacity: 0;
  transform: translateY(-6px);
}
.product-card__price--quote {
  font-size: clamp(22px, 2vw, 28px);
  color: var(--se-steel);
  margin-left: 0;
  letter-spacing: 0.005em;
  font-weight: 400;
}
.product-card__price-row--quote {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  border-top: none;
  padding-top: 0;
}

/* Link — light minimal */
.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 8px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--se-light-line);
  color: var(--se-light-text);
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out), gap .3s var(--ease-out);
  align-self: flex-start;
}
.product-card__link span { display: inline-block; }
.product-card__link svg { transition: transform .35s var(--ease-out); }
.product-card__link:hover {
  color: var(--se-steel);
  border-bottom-color: var(--se-steel);
  gap: 14px;
}
.product-card__link:hover svg { transform: translateX(2px); }

/* Featured card */
.product-card--featured .product-card__image-wrap {
  border-color: rgba(198,152,48,.4);
}
.product-card--featured:hover .product-card__image-wrap {
  border-color: var(--se-gold);
}

/* Wide card (Comercial) ─────────────────────────── */
.product-card--wide {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
  background: #FFFFFF;
  border: 1px solid var(--se-light-line);
  align-items: stretch;
  overflow: hidden;
  transition: border-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.product-card--wide:hover {
  border-color: var(--se-light-text);
  box-shadow: 0 32px 64px -32px rgba(26,37,64,.18);
}

/* Comercial — bloque de specs + cotización */
.product-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin: 18px 0 22px;
  padding: 18px 0;
  border-top: 1px solid var(--se-light-line);
  border-bottom: 1px solid var(--se-light-line);
  list-style: none;
}
.product-card__specs li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.product-card__specs li svg {
  width: 22px; height: 22px;
  color: var(--se-steel);
  flex-shrink: 0;
  margin-top: 1px;
}
.product-card__specs-k {
  display: block;
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--se-light-mute);
  margin-bottom: 2px;
}
.product-card__specs-v {
  display: block;
  font-size: 13px;
  color: var(--se-light-text);
  font-weight: 500;
  line-height: 1.3;
}
.product-card__quote-block {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.product-card__quote-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--se-gold);
  background: rgba(198,152,48,.08);
  border: 1px solid rgba(198,152,48,.35);
  border-radius: 999px;
}
.product-card__quote-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--se-gold);
  border-radius: 50%;
}
@media (max-width: 640px) {
  .product-card__specs { grid-template-columns: 1fr; }
}
.product-card--wide .product-card__image-wrap {
  margin-bottom: 0;
  aspect-ratio: auto;
  min-height: 100%;
  border: none;
  border-right: 1px solid var(--se-light-line);
}
/* SOLO en home (sección .productos), aspect-ratio 3:4 vertical para Comercial */
.productos .product-card--wide .product-card__image-wrap {
  aspect-ratio: 3 / 4;
  min-height: 0;
}
.productos .product-card--wide .product-card__image {
  object-fit: cover;
  object-position: center;
}
.product-card--wide .product-card__body {
  padding: clamp(36px, 4.5vw, 64px);
  justify-content: center;
}
.product-card--wide .product-card__title {
  font-size: clamp(40px, 3.6vw, 56px);
  margin-bottom: 16px;
}

/* Note under residential grid */
.productos__note {
  margin-top: clamp(32px, 3.5vw, 48px);
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: var(--se-light-mute);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.productos__note strong { color: var(--se-light-text); font-weight: 600; }


/* ═══════════════════════════════════════════════════════════════════
   4. PROCESO (CLARO)
   ═══════════════════════════════════════════════════════════════════ */
.proceso {
  background: var(--se-light-bg);
  padding: var(--section-py) 0;
  position: relative;
  color: var(--se-light-text);
}
.proceso::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(26,37,64,.06) 1px, transparent 0);
  background-size: 22px 22px;
  pointer-events: none;
}

.proceso__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  position: relative;
}
.proceso__steps::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--se-gold), var(--se-gold), transparent);
  z-index: 0;
}

.proceso__step {
  position: relative;
  background: var(--se-light-bg);
  padding: 30px 20px;
  text-align: center;
  z-index: 1;
}

.proceso__step-num {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--se-gold);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.proceso__step-icon {
  width: 60px; height: 60px;
  margin: 0 auto 20px;
  background: var(--se-light-bg);
  border: 1.5px solid var(--se-light-text);
  display: grid;
  place-items: center;
  color: var(--se-light-text);
  position: relative;
  z-index: 2;
  transition: all .4s var(--ease-out);
}
.proceso__step:hover .proceso__step-icon {
  background: var(--se-gold);
  border-color: var(--se-gold);
  color: var(--se-black);
  transform: rotate(10deg) scale(1.05);
}
.proceso__step-icon svg {
  width: 28px; height: 28px;
}

.proceso__step-title {
  font-family: var(--ff-display);
  font-size: 22px;
  color: var(--se-light-text);
  margin-bottom: 8px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.proceso__step-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--se-light-mute);
}


/* ═══════════════════════════════════════════════════════════════════
   5. NOSOTROS
   ═══════════════════════════════════════════════════════════════════ */
.nosotros {
  padding: var(--section-py) 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.nosotros__hex-bg { display: none; }

.nosotros__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  justify-items: stretch;
}
.nosotros__content { display: flex; flex-direction: column; justify-content: center; }
.nosotros__visual  { display: flex; align-items: center; }

.nosotros__title {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--se-white);
  margin-bottom: 22px;
  font-weight: 400;
}
.nosotros__title--strike {
  position: relative;
  color: var(--se-silver);
  display: inline-block;
}
.nosotros__title--strike::after {
  content: '';
  position: absolute;
  left: -4%;
  right: -4%;
  top: 52%;
  height: 4px;
  background: var(--se-gold);
  transform: skewY(-2deg);
}

.nosotros__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--se-mist);
  margin-bottom: 18px;
  max-width: 500px;
}
.nosotros__text strong {
  color: var(--se-white);
  font-weight: 600;
}

.nosotros__diferenciadores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.dif {
  padding: 22px 18px;
  background: var(--se-bg-surf);
  border: 1px solid var(--se-border);
  border-left: 2px solid var(--se-gold);
  transition: all .3s var(--ease-out);
}
.dif:hover {
  background: var(--se-bg-mid);
  border-left-color: var(--se-gold-lt);
  transform: translateX(4px);
}
.dif__icon {
  width: 36px; height: 36px;
  color: var(--se-gold-lt);
  margin-bottom: 14px;
}
.dif__icon svg { width: 100%; height: 100%; }
.dif__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--se-white);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.dif__desc {
  font-size: 12px;
  color: var(--se-silver);
  line-height: 1.5;
}

.nosotros__visual {
  position: relative;
}
.nosotros__image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.nosotros__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.9) contrast(1.08);
}
.nosotros__image-frame {
  position: absolute;
  inset: -10px;
  border: 1px solid var(--se-chrome);
  pointer-events: none;
}
.nosotros__image-frame::before, .nosotros__image-frame::after {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  border: 2px solid var(--se-gold);
}
.nosotros__image-frame::before { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.nosotros__image-frame::after { bottom: -2px; right: -2px; border-left: none; border-top: none; }

.nosotros__image-tag {
  position: absolute;
  top: 20px; left: 20px;
  display: flex;
  align-items: center;
  background: rgba(8,11,20,.85);
  backdrop-filter: blur(10px);
  padding: 8px 14px;
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--se-white);
  border: 1px solid var(--se-border);
}


/* ═══════════════════════════════════════════════════════════════════
   6. QUOTE SECTION (CLARO EXTRA)
   ═══════════════════════════════════════════════════════════════════ */
.quote-section {
  background: var(--se-light-bg);
  padding: clamp(90px, 12vw, 140px) 0;
  position: relative;
  text-align: center;
  color: var(--se-light-text);
  overflow: hidden;
}
.quote-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(58,110,168,.04), transparent 60%),
    radial-gradient(circle at 50% 100%, rgba(198,152,48,.05), transparent 60%);
}

.quote-section__inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.quote-section__mark {
  width: 60px; height: 60px;
  margin: 0 auto 36px;
  color: var(--se-gold);
  display: grid;
  place-items: center;
}
.quote-section__mark svg { width: 100%; height: 100%; }

.quote-section__quote {
  font-family: var(--ff-display);
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 400;
  color: var(--se-light-text);
  letter-spacing: -0.005em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.quote-section__quote--accent {
  color: var(--se-gold);
  font-style: italic;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  text-transform: none;
  font-size: 1em;
}

.quote-section__caption {
  font-size: 16px;
  line-height: 1.7;
  color: var(--se-light-mute);
  max-width: 540px;
  margin: 0 auto;
}


/* ═══════════════════════════════════════════════════════════════════
   7. GALERÍA
   ═══════════════════════════════════════════════════════════════════ */
.galeria {
  padding: var(--section-py) 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.galeria__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
  grid-auto-flow: dense;
}

.galeria__item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--se-border);
  transition: all .4s var(--ease-out);
  cursor: pointer;
}
.galeria__item--tall { grid-row: span 2; }
.galeria__item--wide { grid-column: span 2; }

.galeria__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out), filter .5s;
  filter: brightness(0.85);
}
.galeria__item:hover img {
  transform: scale(1.08);
  filter: brightness(1);
}
.galeria__item:hover {
  border-color: var(--se-chrome);
}

.galeria__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 18px 20px;
  background: linear-gradient(to top, rgba(8,11,20,.95), transparent);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  transform: translateY(20%);
  opacity: 0;
  transition: all .4s var(--ease-out);
}
.galeria__item:hover .galeria__caption {
  transform: translateY(0);
  opacity: 1;
}
.galeria__caption-type {
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--se-gold-lt);
}
.galeria__caption-zone {
  font-size: 12px;
  color: var(--se-mist);
  font-weight: 400;
}


/* ═══════════════════════════════════════════════════════════════════
   8. TESTIMONIOS — Marquee infinito banda transportadora (Facebook)
   ═══════════════════════════════════════════════════════════════════ */
.testimonios {
  background: var(--se-light-bg);
  padding: var(--section-py) 0 calc(var(--section-py) * 0.85);
  color: var(--se-light-text);
  border-top: 1px solid var(--se-light-line);
  border-bottom: 1px solid var(--se-light-line);
  overflow: hidden;
}

/* Marquee viewport with edge fades */
.reviews-marquee {
  position: relative;
  margin-top: clamp(36px, 5vw, 64px);
  overflow: hidden;
  --mask: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: var(--mask);
          mask-image: var(--mask);
}
.reviews-marquee__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: reviews-marquee 70s linear infinite;
  will-change: transform;
}
.reviews-marquee:hover .reviews-marquee__track {
  animation-play-state: paused;
}
@keyframes reviews-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-marquee__track { animation: none; }
}

/* Individual review card — like Facebook reviews */
.review-card {
  flex: 0 0 auto;
  width: clamp(280px, 28vw, 340px);
  padding: 22px 24px;
  background: #FFFFFF;
  border: 1px solid var(--se-light-line);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(26,37,64,.04);
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease-out);
  cursor: pointer;
  min-height: 220px;
}
.review-card:hover {
  transform: translateY(-3px);
  border-color: #1877F2;
  box-shadow: 0 16px 32px -20px rgba(24,119,242,.35), 0 2px 4px rgba(26,37,64,.06);
}

.review-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.review-card__stars {
  color: #F5B544;
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 1;
}
.review-card__brand {
  width: 22px; height: 22px;
  flex-shrink: 0;
}

.review-card__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--se-light-text);
  margin: 0;
  font-weight: 400;
  flex: 1;
}

.review-card__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--se-light-line);
}
.review-card__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FDE8E4 0%, #F8C7BD 100%);
  color: #C2493C;
  display: grid;
  place-items: center;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}
.review-card__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--se-light-text);
  line-height: 1.2;
}
.review-card__meta {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--se-light-mute);
  margin-top: 2px;
}


/* ═══════════════════════════════════════════════════════════════════
   9. CONTACTO
   ═══════════════════════════════════════════════════════════════════ */
.contacto {
  background: transparent;
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}
.contacto__hex-bg { display: none; }

.contacto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contacto__title {
  font-family: var(--ff-display);
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--se-white);
  margin: 20px 0 22px;
  font-weight: 400;
}
.contacto__title--accent {
  color: var(--se-gold-lt);
  font-style: italic;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  text-transform: none;
  font-size: 0.85em;
}

.contacto__text {
  font-size: 17px;
  line-height: 1.55;
  color: var(--se-mist);
  margin-bottom: 36px;
  max-width: 420px;
}

.contacto__direct {
  margin-top: 40px;
}
.contacto__wa {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: var(--se-bg-mid);
  border: 1px solid var(--se-border);
  transition: all .3s var(--ease-out);
  text-decoration: none;
  color: inherit;
}
.contacto__wa:hover {
  border-color: #22c55e;
  background: var(--se-bg-surf);
  transform: translateX(4px);
}
.contacto__wa-icon {
  width: 44px; height: 44px;
  background: #22c55e;
  color: white;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contacto__email { margin-top: 12px; }
.contacto__email-icon {
  background: var(--se-steel);
}
.contacto__email:hover {
  border-color: var(--se-chrome);
}
.contacto__wa-icon svg { width: 22px; height: 22px; }
.contacto__wa-label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--se-smoke);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contacto__wa-text {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--se-white);
}
.contacto__wa > svg { color: var(--se-chrome); margin-left: auto; }

.contacto__form-wrap {
  background: var(--se-bg-mid);
  border: 1px solid var(--se-border);
  padding: 28px;
  position: relative;
}
.contacto__form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--se-border);
}
.contacto__form-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--se-gold-lt);
}
.contacto__form-num {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--se-smoke);
  letter-spacing: 0.12em;
}
.contacto__form-iframe {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  min-height: 645px;
  padding: 4px;
}
.contacto__form-iframe iframe {
  display: block;
  width: 100%;
  border: none;
  border-radius: 4px;
}
@media (max-width: 640px) {
  .contacto__form-iframe { min-height: 580px; padding: 0; }
}


/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.footer {
  background: rgba(8,11,20,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 80px 0 30px;
  border-top: 1px solid var(--se-border);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--se-gold), transparent);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer__brand {
  max-width: 320px;
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}
.footer__logo-img {
  height: 96px;
  width: auto;
  display: block;
  opacity: 0;
  transition: opacity .35s var(--ease-out);
}
.footer__logo-img.is-keyed { opacity: 1; }
@media (max-width: 640px) {
  .footer__logo-img { height: 72px; }
}
.footer__tagline {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--se-smoke);
  text-transform: uppercase;
}

.footer__nav-title {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--se-gold-lt);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer__nav ul li {
  margin-bottom: 10px;
}
.footer__nav ul a {
  font-size: 13px;
  color: var(--se-silver);
  transition: color .2s;
}
.footer__nav ul a:hover { color: var(--se-white); }
.footer__nav ul li:not(:has(a)) {
  font-size: 13px;
  color: var(--se-smoke);
}

.footer__bottom {
  border-top: 1px solid var(--se-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--se-smoke);
  text-transform: uppercase;
}


/* ═══════════════════════════════════════════════════════════════════
   LIGHTBOX — abrir imágenes en vista completa
   ═══════════════════════════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5,7,12,.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 56px);
  cursor: zoom-out;
  opacity: 0;
  transition: opacity .35s var(--ease-out);
}
.lightbox.is-open {
  display: flex;
  opacity: 1;
}
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: default;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.7);
  border: 1px solid rgba(255,255,255,.08);
  transform: scale(0.96);
  transition: transform .4s var(--ease-out);
}
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__close {
  position: absolute;
  top: clamp(16px, 2.5vw, 32px);
  right: clamp(16px, 2.5vw, 32px);
  width: 44px; height: 44px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--se-white);
  cursor: pointer;
  font-size: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: all .25s var(--ease-out);
}
.lightbox__close:hover {
  background: rgba(255,255,255,.18);
  border-color: var(--se-gold);
  color: var(--se-gold);
  transform: rotate(90deg);
}
.lightbox__caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--se-silver);
  text-transform: uppercase;
}

/* Cursor zoom-in para imágenes clickeables */
.is-zoomable { cursor: zoom-in; }


/* ═══════════════════════════════════════════════════════════════════
   FLOATING WHATSAPP
   ═══════════════════════════════════════════════════════════════════ */
.fab-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #22c55e;
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 90;
  box-shadow: 0 10px 30px rgba(34,197,94,.4);
  transition: all .3s var(--ease-out);
  animation: pulse-wa 2.5s ease-in-out infinite;
}
.fab-wa svg { width: 28px; height: 28px; }
.fab-wa:hover {
  transform: scale(1.1) rotate(-8deg);
  box-shadow: 0 14px 36px rgba(34,197,94,.55);
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 10px 30px rgba(34,197,94,.4); }
  50%      { box-shadow: 0 10px 40px rgba(34,197,94,.7); }
}


/* ═══════════════════════════════════════════════════════════════════
   ANIMATIONS — REVEAL ON SCROLL
   ═══════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav__menu { display: none; }
  .nav__burger { display: flex; }

  .productos__grid--residencial { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .productos__group-head { align-items: flex-start; }

  .product-card--wide { grid-template-columns: 1fr; }
  .product-card--wide .product-card__image-wrap {
    aspect-ratio: 16 / 11;
    border-right: none;
    border-bottom: 1px solid var(--se-border);
    min-height: 0;
  }

  .pdp-related__grid { grid-template-columns: 1fr; }

  .proceso__steps { grid-template-columns: 1fr 1fr; gap: 20px; }
  .proceso__steps::before { display: none; }

  .nosotros__grid { grid-template-columns: 1fr; }
  .nosotros__visual { order: -1; max-width: 480px; margin: 0 auto; }

  .galeria__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .galeria__item--tall { grid-row: span 1; }
  .galeria__item--wide { grid-column: span 1; }

  .testimonios__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 16px; }

  .contacto__grid { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__brand { grid-column: span 2; }

  .trust__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .trust__divider { display: none; }
}

@media (max-width: 640px) {
  :root { --section-py: 70px; }

  .nav__logo-text { font-size: 16px; }
  .nav__cta { padding: 8px 14px; font-size: 11px; }

  .hero { padding: 100px 0 60px; min-height: 90vh; }
  .hero__title { font-size: clamp(40px, 12vw, 64px); }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; justify-content: center; }
  .hero__corner-spec { display: none; }
  .hero__scroll-hint { display: none; }

  .productos__grid--residencial { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .productos__group-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .productos__group-label { font-size: 22px; }
  .product-card__image-wrap { aspect-ratio: 4/5; }
  .product-card__title { font-size: 32px; }
  .product-card--wide .product-card__body { padding: 32px 24px; }
  .product-card__bullets li { font-size: 10px; }
  .product-card__bullets li strong { font-size: 12px; }

  .proceso__steps { grid-template-columns: 1fr; }

  .nosotros__diferenciadores { grid-template-columns: 1fr; gap: 12px; }

  .galeria__grid { grid-template-columns: 1fr; grid-auto-rows: 280px; gap: 12px; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
  .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }

  .fab-wa { width: 50px; height: 50px; bottom: 16px; right: 16px; }
  .fab-wa svg { width: 24px; height: 24px; }

  .contacto__title { font-size: clamp(40px, 11vw, 56px); }
}

@media (max-width: 420px) {
  .trust__grid { grid-template-columns: 1fr; gap: 26px; }
}
