/* ============================================================
   GRUPO BESKAR — Beskar Elite v2
   Refined: bolder logo, mobile-first, Ken Burns, premium motion
============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Surface */
  --background: #131315;
  --surface: #131315;
  --surface-low: #1b1b1d;
  --surface-mid: #1f1f21;
  --surface-high: #2a2a2b;
  --surface-bright: #39393b;

  /* Brand */
  --navy: #0a1628;
  --navy-mid: #1b2e4a;
  --navy-soft: #354765;
  /* Paleta oficial Grupo Beskar — gold cálido (sin rosa) */
  --gold: #C9A96E;
  --gold-bright: #E8D5A8;
  --gold-deep: #B89456;
  --gold-glow: rgba(201, 169, 110, 0.20);
  --gold-line: rgba(201, 169, 110, 0.34);
  --gold-soft: rgba(201, 169, 110, 0.10);
  --steel: #8A99B5;
  --bone: #F5F3EE;

  /* Text */
  --on-surface: #e4e2e3;
  --on-surface-variant: #c5c6cd;
  --on-surface-mute: rgba(228, 226, 227, 0.55);
  --outline: #8f9097;
  --outline-variant: #45474c;

  /* Glass */
  --glass-bg: rgba(27, 46, 74, 0.78);
  --glass-border: rgba(201, 169, 110, 0.12);
  --glass-border-hover: rgba(201, 169, 110, 0.42);
  --glass-blur: 22px;

  /* Type scale (fluid) */
  --fs-hero: clamp(34px, 7vw, 64px);
  --fs-display: clamp(28px, 4.8vw, 48px);
  --fs-h2: clamp(24px, 3.2vw, 32px);
  --fs-h3: clamp(19px, 2.1vw, 24px);
  --fs-body-lg: clamp(16px, 1.4vw, 18px);
  --fs-body: 16px;
  --fs-label: 12px;
  --fs-nav: 14px;

  /* Spacing */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 40px;
  --s-6: 48px;
  --s-7: 64px;
  --s-8: 80px;
  --s-9: 96px;
  --s-10: 120px;

  /* Layout */
  --wrap-max: 1280px;
  --pad-x: clamp(16px, 4vw, 32px);
  --section-pad: clamp(56px, 9vw, 120px);
  --nav-h: 72px;

  /* Radii */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-full: 999px;

  /* Easings */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-elastic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z */
  --z-nav: 50;
  --z-fab: 60;
  --z-drawer: 70;
  --z-modal: 80;

  /* Shadow */
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 0 0 1px var(--gold-line), 0 14px 40px var(--gold-glow);
  --shadow-lift: 0 18px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--glass-border-hover);
}

/* ---------- 2. RESET + BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  background: var(--background);
  color: var(--on-surface);
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
  max-width: 100vw;
}

html { overflow-x: hidden; max-width: 100vw; }

html.is-locked,
body.is-locked {
  overflow: hidden !important;
  height: 100%;
  touch-action: none;
}
body.is-locked { padding-right: var(--sbw, 0px); }

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease-smooth);
}

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

input, textarea, select {
  font: inherit;
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- 3. TYPOGRAPHY ---------- */
.eyebrow {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.display {
  font-family: 'Lexend', serif;
  font-weight: 200;
  font-size: var(--fs-display);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--on-surface);
}

.display--hero {
  font-size: var(--fs-hero);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 200;
}

.gold-italic {
  color: var(--gold);
  font-style: italic;
  font-weight: 300;
}

.headline {
  font-family: 'Lexend', serif;
  font-weight: 200;
  font-size: var(--fs-h2);
  line-height: 1.3;
  color: var(--on-surface);
}

.gold { color: var(--gold); }
.muted { color: var(--on-surface-variant); }

/* ---------- 4. LAYOUT PRIMITIVES ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: var(--section-pad); }
.section--low { background: var(--surface-low); }
.section--navy { background: var(--navy); }
.section--soft { background: rgba(53, 71, 101, 0.16); }

.sec-head {
  margin-bottom: var(--s-7);
  max-width: 720px;
}

.sec-head .eyebrow { margin-bottom: var(--s-2); display: block; }
.sec-head--center { text-align: center; margin-inline: auto; }

.grid { display: grid; gap: var(--s-4); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 980px) {
  .g-3 { grid-template-columns: 1fr; gap: var(--s-3); }
}

@media (max-width: 640px) {
  .g-2 { grid-template-columns: 1fr; }
}

/* ---------- 5. NAV ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  transition: background 0.45s var(--ease-smooth),
              backdrop-filter 0.45s var(--ease-smooth),
              padding 0.3s var(--ease-smooth),
              border-color 0.4s;
  background: transparent;
  border-bottom: 1px solid transparent;
  padding-block: 16px;
}

.nav--solid {
  background: rgba(11, 14, 22, 0.86);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom-color: rgba(201, 169, 110, 0.10);
  padding-block: 10px;
}

.nav__inner {
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

/* Brand lockup — imagen logo final con fondo transparente */
.nav__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.3s, transform 0.4s var(--ease-spring);
  flex-shrink: 0;
}

.nav__logo:hover { opacity: 0.88; transform: scale(1.02); }

.nav__logo-img {
  height: clamp(40px, 4.8vw, 56px);
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.30));
}

@media (max-width: 480px) {
  .nav__logo-img { height: 38px; }
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--s-5);
}

.nav__links a {
  font-size: var(--fs-nav);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(228, 226, 227, 0.78);
  position: relative;
  padding-block: 6px;
  transition: color 0.3s;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-elastic);
}

.nav__links a:hover { color: var(--gold); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__links a.is-active { color: var(--gold); }
.nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav__cta-li .btn-outline {
  font-size: var(--fs-label);
  padding: 11px 22px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--navy);
  background: var(--gold);
  font-weight: 700;
  font-family: 'Manrope', sans-serif;
  border-radius: var(--r-sm);
  transition: background 0.3s, color 0.3s, transform 0.25s var(--ease-spring);
}

.nav__cta-li .btn-outline:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-2px);
}

/* Hamburger — bigger tap area */
.nav__toggle {
  display: none;
  width: 48px;
  height: 48px;
  position: relative;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  align-items: center;
  border-radius: var(--r-sm);
  transition: background 0.3s;
}

.nav__toggle:hover,
.nav__toggle:focus-visible { background: rgba(201, 169, 110, 0.08); }

.nav__toggle span {
  width: 26px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-spring), opacity 0.2s, width 0.4s var(--ease-spring);
  transform-origin: center;
}

.nav.is-open .nav__toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav.is-open .nav__toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav.is-open .nav__toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile drawer — portal pattern: drawer is moved to body via JS
   so position: fixed works relative to the viewport (iOS Safari fix). */
@media (max-width: 900px) {
  .nav__toggle { display: flex; }

  .nav__cta-li { display: none; }

  /* In-nav state (closed, ready to animate) */
  .nav__links {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #0a1628;
    background-image:
      radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201, 169, 110,0.10), transparent 70%),
      linear-gradient(165deg, #0a1628 0%, #131315 100%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--s-3);
    padding: calc(var(--nav-h) + var(--s-3)) var(--s-4) var(--s-6);
    transform: translateX(100%);
    transition: transform 0.55s var(--ease-elastic), visibility 0s linear 0.55s;
    visibility: hidden;
    z-index: var(--z-drawer);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Portal state: drawer is now child of <body>, no ancestor with backdrop-filter */
  .nav__links--portal {
    z-index: var(--z-drawer);
  }

  /* Open state — works whether portaled or not */
  .nav.is-open .nav__links,
  .nav__links.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.6s var(--ease-elastic), visibility 0s linear;
  }

  .nav__links li {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.4s, transform 0.5s var(--ease-elastic);
  }

  .nav.is-open .nav__links li:nth-child(1),
  .nav__links.is-open li:nth-child(1) { transition-delay: 0.20s; opacity:1; transform: translateX(0); }
  .nav.is-open .nav__links li:nth-child(2),
  .nav__links.is-open li:nth-child(2) { transition-delay: 0.26s; opacity:1; transform: translateX(0); }
  .nav.is-open .nav__links li:nth-child(3),
  .nav__links.is-open li:nth-child(3) { transition-delay: 0.32s; opacity:1; transform: translateX(0); }
  .nav.is-open .nav__links li:nth-child(4),
  .nav__links.is-open li:nth-child(4) { transition-delay: 0.38s; opacity:1; transform: translateX(0); }
  .nav.is-open .nav__links li:nth-child(5),
  .nav__links.is-open li:nth-child(5) { transition-delay: 0.44s; opacity:1; transform: translateX(0); }

  .nav__links a {
    font-size: 20px;
    letter-spacing: 0.20em;
    padding: 12px 24px;
    color: var(--on-surface);
  }
  .nav__links a.is-active::after { bottom: 2px; }

  .nav__cta-li {
    display: block;
    margin-top: var(--s-3);
  }
  .nav.is-open .nav__cta-li { display: block; }
  .nav.is-open .nav__cta-li .btn-outline {
    padding: 14px 32px;
    font-size: 13px;
  }

  /* Toggle stays above drawer */
  .nav__toggle { z-index: calc(var(--z-drawer) + 1); position: relative; }
  .nav.is-open .nav__toggle span { background: var(--gold); }
}

/* ---------- 6. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 30px;
  min-height: 50px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  transition: transform 0.3s var(--ease-spring),
              background 0.3s,
              color 0.3s,
              border-color 0.3s,
              box-shadow 0.4s;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.7s var(--ease-smooth);
  pointer-events: none;
}

.btn:hover::before { transform: translateX(110%); }

.btn--gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  border-color: var(--gold);
}

.btn--gold:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(201, 169, 110, 0.30);
}

.btn--gold:active { transform: translateY(0) scale(0.98); }

.btn--line {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn--line:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--navy);
  color: var(--gold);
  border-color: rgba(201, 169, 110, 0.25);
}

.btn--dark:hover {
  background: #0e1d36;
  border-color: var(--gold);
}

.arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease-spring);
}

.btn:hover .arrow { transform: translateX(8px); }

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
  padding-top: calc(var(--nav-h) + var(--s-2));
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.40;
  filter: contrast(1.06) saturate(0.92);
  will-change: transform;
  animation: ken-burns 30s ease-in-out infinite alternate;
  transform-origin: center 30%;
}

@keyframes ken-burns {
  0%   { transform: scale(1.04) translateY(0)    translateX(0); }
  50%  { transform: scale(1.10) translateY(-1.5%) translateX(0.8%); }
  100% { transform: scale(1.06) translateY(-3%) translateX(-0.8%); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 25% 25%, rgba(201, 169, 110,0.14), transparent 60%),
    radial-gradient(ellipse 60% 70% at 80% 80%, rgba(27,46,74,0.4), transparent 60%),
    linear-gradient(180deg, rgba(10,22,40,0.55) 0%, rgba(10,22,40,0.80) 50%, var(--background) 100%);
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
}

.hero--short {
  min-height: 64vh;
  min-height: 64svh;
}

.hero--short .hero__media img { opacity: 0.32; filter: grayscale(0.35) contrast(1.05); }

.hero__eyebrow { margin-bottom: var(--s-3); display: inline-block; }

.hero__sub {
  margin-top: var(--s-3);
  max-width: 640px;
  margin-inline: auto;
  color: var(--on-surface-variant);
  font-size: var(--fs-body-lg);
  line-height: 1.65;
}

.hero__cta {
  margin-top: var(--s-5);
  display: flex;
  gap: var(--s-2);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .hero__cta { flex-direction: column; align-items: stretch; width: min(360px, 100%); margin-inline: auto; }
  .hero__cta .btn { width: 100%; }
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.7;
  font-size: 10px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}

.hero__scroll-line {
  width: 1px;
  height: 44px;
  background: rgba(201, 169, 110, 0.20);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  animation: scroll-pulse 2.6s var(--ease-smooth) infinite;
}

@keyframes scroll-pulse {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* Hide scroll indicator on small viewport (mobile portrait) */
@media (max-height: 720px), (max-width: 600px) {
  .hero__scroll { display: none; }
  .hero { min-height: 88vh; min-height: 88svh; }
  .hero--short { min-height: 56vh; min-height: 56svh; }
}

@media (max-width: 480px) {
  .hero { padding-top: calc(var(--nav-h) + var(--s-4)); }
  .hero__inner { padding-block: var(--s-5); }
}

/* ---------- 8. MARQUEE ---------- */
.marquee {
  background: var(--surface);
  border-block: 1px solid rgba(201, 169, 110, 0.06);
  padding-block: var(--s-5);
  overflow: hidden;
  position: relative;
}

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before { left: 0;  background: linear-gradient(to right, var(--surface), transparent); }
.marquee::after  { right: 0; background: linear-gradient(to left,  var(--surface), transparent); }

.marquee__track {
  display: flex;
  gap: var(--s-7);
  width: max-content;
  animation: marquee 42s linear infinite;
  white-space: nowrap;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__group {
  display: flex;
  gap: var(--s-7);
  align-items: center;
  font-family: 'Lexend', sans-serif;
  font-weight: 200;
  font-size: clamp(20px, 2.6vw, 32px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(228, 226, 227, 0.20);
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}

.marquee__dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- 9. GLASS CARDS ---------- */
.card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  padding: var(--s-5);
  transition: transform 0.5s var(--ease-elastic),
              border-color 0.4s,
              box-shadow 0.45s;
  border-radius: var(--r-md);
  isolation: isolate;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(201, 169, 110,0.10), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: -1;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-lift);
}

.card:hover::before { opacity: 1; }

.card__icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  color: var(--gold);
  margin-bottom: var(--s-3);
  border-radius: var(--r-sm);
  transition: transform 0.5s var(--ease-spring), background 0.3s;
}

.card:hover .card__icon { transform: rotate(-6deg) scale(1.08); background: rgba(201, 169, 110,0.16); }

.card__icon svg { width: 24px; height: 24px; }

.card h3 {
  font-family: 'Lexend', sans-serif;
  font-weight: 200;
  font-size: var(--fs-h3);
  margin-bottom: var(--s-2);
  line-height: 1.3;
}

.card p { color: var(--on-surface-variant); }

/* ---------- 10. UNIT BENTO (3 unidades) ---------- */
.units {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}

@media (max-width: 1100px) { .units { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .units { grid-template-columns: 1fr; } }

.unit {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--navy);
  border-radius: var(--r-md);
  border: 1px solid rgba(201, 169, 110, 0.08);
  transition: border-color 0.4s, transform 0.5s var(--ease-elastic);
  isolation: isolate;
}

.unit:hover { border-color: var(--gold-line); transform: translateY(-6px); }

.unit__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.unit__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: transform 1.4s var(--ease-smooth), opacity 0.6s;
  animation: drift 32s ease-in-out infinite alternate;
  will-change: transform;
}

.unit:hover .unit__media img {
  transform: scale(1.10);
  opacity: 0.72;
  animation-play-state: paused;
}

@keyframes drift {
  0%   { transform: scale(1.05) translateX(0)    translateY(0); }
  100% { transform: scale(1.10) translateX(-2%)  translateY(-1.5%); }
}

.unit__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 100%, rgba(201, 169, 110,0.10), transparent 50%),
    linear-gradient(to top, var(--navy) 0%, rgba(10,22,40,0.5) 50%, rgba(10,22,40,0.20) 100%);
}

.unit__content {
  position: relative;
  z-index: 1;
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 420px;
}

@media (max-width: 640px) {
  .unit { min-height: 380px; }
  .unit__content { padding: var(--s-4); min-height: 380px; }
}

.unit__name {
  font-family: 'Lexend', sans-serif;
  font-weight: 200;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.1;
  color: var(--on-surface);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
}

.unit__name::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(201, 169, 110, 0.32);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease-elastic);
}

.unit:hover .unit__name::after { transform: scaleX(1); }

.unit__sub {
  font-size: var(--fs-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: var(--s-2);
}

.unit__desc {
  margin-top: var(--s-3);
  color: var(--on-surface-variant);
  font-size: var(--fs-body-lg);
  max-width: 460px;
}

.unit__link {
  margin-top: var(--s-4);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: var(--fs-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  transition: gap 0.35s var(--ease-spring);
}

.unit:hover .unit__link { gap: 22px; }

/* ---------- 11. ACCORDION ---------- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.acc-item {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  padding: var(--s-3) var(--s-4);
  cursor: pointer;
  transition: border-color 0.4s var(--ease-smooth), background 0.4s, transform 0.35s var(--ease-elastic);
  border-radius: var(--r-md);
}

.acc-item:hover {
  border-color: var(--gold-line);
  transform: translateX(4px);
}

.acc-item__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
}

.acc-item__title {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: clamp(17px, 1.9vw, 21px);
  color: var(--on-surface);
  line-height: 1.3;
}

.acc-item__title h3 { font-family: inherit; font-weight: inherit; font-size: inherit; }

.acc-item__icon {
  width: 32px;
  height: 32px;
  color: var(--gold);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.acc-item__icon svg { width: 22px; height: 22px; }

.acc-item__chevron {
  width: 32px;
  height: 32px;
  color: var(--on-surface-variant);
  flex-shrink: 0;
  transition: transform 0.5s var(--ease-elastic), color 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.acc-item__chevron svg {
  width: 18px; height: 18px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.acc-item__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s var(--ease-elastic);
}

.acc-item__panel-inner {
  padding-top: var(--s-3);
  color: var(--on-surface-variant);
}

.acc-item__panel-inner ul {
  list-style: none;
  margin-top: var(--s-2);
  display: grid;
  gap: 6px;
}

.acc-item__panel-inner li {
  padding-left: 18px;
  position: relative;
  color: rgba(201, 169, 110, 0.85);
  font-size: var(--fs-body);
}

.acc-item__panel-inner li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

.acc-item.is-open {
  border-color: var(--gold-line);
  background: rgba(27, 46, 74, 0.92);
  transform: translateX(0);
}

.acc-item.is-open .acc-item__chevron {
  transform: rotate(180deg);
  color: var(--gold);
}

/* ---------- 12. SERVICES BLOCK ---------- */
.services-block {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: var(--s-6);
  align-items: start;
}

.services-block__intro { position: sticky; top: 110px; }

.services-block__intro h2 {
  font-family: 'Lexend', sans-serif;
  font-weight: 200;
  font-size: var(--fs-display);
  color: var(--gold);
  margin-bottom: var(--s-3);
  line-height: 1.1;
}

.services-block__intro p {
  color: var(--on-surface-variant);
  font-size: var(--fs-body-lg);
}

.services-block__rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin-top: var(--s-4);
}

@media (max-width: 1024px) {
  .services-block { grid-template-columns: 1fr; gap: var(--s-5); }
  .services-block__intro { position: static; }
}

.svc-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-2);
}

@media (max-width: 880px) { .svc-grid-2 { grid-template-columns: 1fr; } }

/* ---------- 13. SECTOR TILES ---------- */
.sectors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-2);
}

@media (max-width: 1024px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .sectors { grid-template-columns: 1fr; } }

.sector {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--navy);
  border: 1px solid rgba(201, 169, 110, 0.10);
  transition: border-color 0.4s, transform 0.45s var(--ease-elastic);
}

.sector:hover { border-color: var(--gold-line); transform: translateY(-6px); }

.sector__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sector__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0.3), rgba(10,22,40,0.85) 70%, var(--navy));
}

.sector__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition: transform 1.4s var(--ease-smooth);
  animation: drift 28s ease-in-out infinite alternate;
}

.sector:hover .sector__media img { transform: scale(1.10); animation-play-state: paused; }

.sector__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--s-3);
}

.sector__label {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: clamp(19px, 2vw, 24px);
  color: var(--on-surface);
}

.sector__sub {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
}

/* ---------- 14. TEAM MONOGRAMS ---------- */
.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}

@media (max-width: 880px) { .team { grid-template-columns: 1fr; } }

.tcard {
  position: relative;
  background: var(--surface-low);
  border: 1px solid rgba(201, 169, 110, 0.12);
  padding: var(--s-6) var(--s-5);
  transition: border-color 0.4s, transform 0.5s var(--ease-elastic), box-shadow 0.45s;
  border-radius: var(--r-md);
  overflow: hidden;
}

.tcard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(201, 169, 110,0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.tcard:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-gold);
}

.tcard:hover::before { opacity: 1; }

.tcard__monogram {
  width: 180px;
  height: 180px;
  margin: 0 auto var(--s-4);
  border-radius: 50%;
  border: 2px solid var(--gold);
  background:
    radial-gradient(circle at 50% 50%, var(--gold-soft), transparent 70%),
    var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: 68px;
  color: var(--gold);
  letter-spacing: -0.04em;
  position: relative;
  transition: transform 0.7s var(--ease-elastic);
  overflow: hidden;
}

/* Real photo variant — circular, igualando al monograma de Greyci */
.tcard__photo {
  width: 180px;
  height: 180px;
  margin: 0 auto var(--s-4);
  border-radius: 50%;
  border: 2px solid var(--gold);
  overflow: hidden;
  position: relative;
  background: var(--navy);
  box-shadow: 0 0 0 1px rgba(201, 169, 110, 0.15) inset, 0 12px 28px -12px rgba(0, 0, 0, 0.55);
  transition: transform 0.7s var(--ease-elastic), box-shadow 0.5s var(--ease-smooth);
}

.tcard__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  filter: grayscale(0.55) contrast(1.06) brightness(1.04) sepia(0.08);
  transition: filter 0.7s var(--ease-smooth), transform 0.9s var(--ease-elastic);
  display: block;
}

/* Halo dorado expandido — sutil aro exterior */
.tcard__photo::after {
  content: '';
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(201, 169, 110, 0.30);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.7s var(--ease-elastic), opacity 0.4s, border-color 0.5s;
  opacity: 0.85;
}

.tcard:hover .tcard__photo {
  transform: scale(1.04);
  box-shadow: 0 0 0 1px rgba(201, 169, 110, 0.25) inset, 0 18px 36px -14px rgba(0, 0, 0, 0.6);
}
.tcard:hover .tcard__photo img {
  filter: grayscale(0.18) contrast(1.08) brightness(1.06) sepia(0.04);
  transform: scale(1.05);
}
.tcard:hover .tcard__photo::after {
  transform: scale(1.08);
  border-color: rgba(201, 169, 110, 0.55);
  opacity: 1;
}

@media (max-width: 640px) {
  .tcard__photo { width: 160px; height: 160px; }
}

.tcard__monogram::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(201, 169, 110, 0.20);
  border-radius: 50%;
  transition: transform 0.7s var(--ease-elastic), opacity 0.4s;
}

.tcard:hover .tcard__monogram { transform: scale(1.04) rotate(2deg); }
.tcard:hover .tcard__monogram::after { transform: scale(1.08); opacity: 0.65; }

.tcard__name {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: var(--fs-h2);
  text-align: center;
  color: var(--on-surface);
  transition: color 0.3s;
}

.tcard:hover .tcard__name { color: var(--gold); }

.tcard__role {
  font-size: var(--fs-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-top: var(--s-1);
}

.tcard__bio {
  margin-top: var(--s-3);
  color: var(--on-surface-variant);
  text-align: center;
  max-width: 420px;
  margin-inline: auto;
  line-height: 1.7;
}

.tcard__pending {
  margin-top: var(--s-3);
  text-align: center;
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-surface-mute);
  border-top: 1px dashed rgba(201, 169, 110, 0.18);
  padding-top: var(--s-3);
}

/* ---------- 15. SPLIT HISTORIA ---------- */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  position: relative;
  align-items: start;
}

.split-2::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  transform: translateX(-50%);
}

@media (max-width: 1024px) {
  .split-2 { grid-template-columns: 1fr; gap: var(--s-5); }
  .split-2::before { display: none; }
}

.split-2 .col-l { padding-right: var(--s-3); }
.split-2 .col-r { padding-left: var(--s-3); display: flex; align-items: center; }

@media (max-width: 1024px) {
  .split-2 .col-l, .split-2 .col-r { padding: 0; }
}

.split-2 h2 {
  font-family: 'Lexend', sans-serif;
  font-weight: 200;
  font-size: var(--fs-display);
  color: var(--on-surface);
  margin-bottom: var(--s-3);
  line-height: 1.15;
}

.split-2 p {
  color: var(--on-surface-variant);
  margin-bottom: var(--s-3);
  font-size: var(--fs-body-lg);
}

.quote-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  padding: var(--s-5);
  border-radius: var(--r-md);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.quote-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  right: 20px;
  font-family: 'Lexend', sans-serif;
  font-weight: 200;
  font-size: 120px;
  color: var(--gold);
  opacity: 0.10;
  line-height: 1;
}

.quote-card p {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: var(--on-surface);
  line-height: 1.65;
  position: relative;
}

.quote-card__sign {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-3);
}

.quote-card__sign .rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
}

.quote-card__sign span {
  font-size: var(--fs-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- 16. MISSION EDITORIAL ---------- */
.mission {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-pad);
  background: rgba(53, 71, 101, 0.16);
}

.mission::before,
.mission::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.mission::before {
  right: -120px;
  bottom: -120px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(201, 169, 110, 0.10);
}

.mission::after {
  right: -60px;
  bottom: -60px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(201, 169, 110, 0.06);
}

.mission__inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
  padding-inline: var(--pad-x);
}

.mission__quote,
.mission__close {
  color: var(--gold);
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
  font-family: 'Lexend', sans-serif;
  font-weight: 200;
  opacity: 0.40;
  margin-bottom: var(--s-3);
  display: inline-block;
}

.mission__close { transform: rotate(180deg); margin-top: var(--s-3); }

.mission__text {
  font-family: 'Lexend', sans-serif;
  font-weight: 200;
  font-size: var(--fs-display);
  color: var(--on-surface);
  line-height: 1.3;
}

.mission__text .gold-italic {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}

.mission__sign {
  margin-top: var(--s-5);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  justify-content: center;
}

.mission__rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
}

.mission__sign span {
  font-size: var(--fs-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.mission--editorial {
  background: var(--surface-low);
  position: relative;
}

.mission--editorial .mission__inner {
  position: relative;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 4vw, 60px);
}

.mission--editorial .mission__text {
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.45;
  letter-spacing: -0.005em;
  position: relative;
  z-index: 1;
  font-weight: 300;
  max-width: 760px;
  margin-inline: auto;
}

/* Big decorative quotes — top-left (open) and bottom-right (close) */
.mission--editorial .mission__quote,
.mission--editorial .mission__close {
  position: absolute;
  font-family: 'Lexend', sans-serif;
  font-weight: 200;
  font-size: clamp(140px, 22vw, 280px);
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.18;
  margin: 0;
  display: block;
  pointer-events: none;
  user-select: none;
}

.mission--editorial .mission__quote {
  top: 0;
  left: 0;
  transform: none;
}

/* Close mark = same glyph but mirrored both horizontally and vertically
   so it reads as a closing pair to the open above-left. */
.mission--editorial .mission__close {
  bottom: -30px;
  right: 0;
  transform: scale(-1, -1);
  margin: 0;
}

@media (max-width: 640px) {
  .mission--editorial .mission__quote { top: 8px; left: 8px; }
  .mission--editorial .mission__close { bottom: -10px; right: 8px; }
}

/* ---------- 17. CTA STRIP ---------- */
.strip {
  background: linear-gradient(95deg, var(--gold) 0%, var(--gold-bright) 50%, var(--gold) 100%);
  background-size: 200% 100%;
  animation: strip-shimmer 12s ease-in-out infinite;
  color: var(--navy);
  padding-block: var(--s-5);
  position: relative;
  overflow: hidden;
}

@keyframes strip-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
}

.strip h2 {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: var(--fs-h2);
  color: var(--navy);
  letter-spacing: -0.01em;
}

.strip .btn--dark {
  background: var(--navy);
  color: var(--gold);
  border-color: transparent;
}

.strip .btn--dark:hover {
  background: #0e1d36;
  border-color: rgba(201, 169, 110, 0.3);
}

/* ---------- 18. CONTACTO ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--s-6);
  align-items: start;
}

/* Critical: prevent grid items from forcing horizontal overflow */
.contact-grid > * { min-width: 0; }

@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; gap: var(--s-4); } }

.channels {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  padding: var(--s-5);
  border-radius: var(--r-md);
  max-width: 100%;
}

@media (max-width: 640px) {
  .channels { padding: var(--s-4) var(--s-3); }
  .channels h2 { font-size: clamp(22px, 6vw, 28px); margin-bottom: var(--s-3); }
  .channel { padding-block: var(--s-2); gap: var(--s-2); }
  .channel__icon { width: 42px; height: 42px; }
  .channel__value { font-size: 15px; word-break: break-word; }
  .channel__label { font-size: 11px; letter-spacing: 0.18em; }
}

.channels h2 {
  font-family: 'Lexend', sans-serif;
  font-weight: 200;
  font-size: var(--fs-h2);
  color: var(--gold);
  margin-bottom: var(--s-5);
}

.channel {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding-block: var(--s-3);
  border-top: 1px solid rgba(201, 169, 110, 0.10);
  transition: padding 0.3s var(--ease-smooth);
}

.channel:first-of-type { border-top: 0; padding-top: 0; }

a.channel:hover { padding-left: 6px; }

.channel__icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold-line);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s, color 0.3s, transform 0.4s var(--ease-spring);
  border-radius: var(--r-sm);
}

.channel__icon svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.5; fill: none; }

a.channel:hover .channel__icon {
  background: var(--gold);
  color: var(--navy);
  transform: rotate(-6deg) scale(1.06);
}

.channel__label {
  font-size: var(--fs-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  margin-bottom: 4px;
}

.channel__value {
  font-size: var(--fs-body-lg);
  color: var(--on-surface);
  transition: color 0.3s;
}

a.channel__value:hover { color: var(--gold); }

.channels__note {
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid rgba(201, 169, 110, 0.10);
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-label);
  color: var(--on-surface-variant);
}

.channels__note .gold-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s var(--ease-smooth) infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 var(--gold-glow); }
  50%      { transform: scale(1.4); opacity: 0.6; box-shadow: 0 0 0 6px transparent; }
}

/* ---------- 19. FORMULARIO ---------- */
.form { display: grid; gap: var(--s-4); }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}

@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 10px; position: relative; }

.field label {
  font-size: var(--fs-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  font-weight: 500;
  transition: color 0.3s;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.field__hint {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: none;
  color: var(--on-surface-mute);
  font-weight: 400;
  font-style: italic;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: rgba(53, 71, 101, 0.22);
  border: 0;
  border-bottom: 1px solid rgba(228, 226, 227, 0.18);
  color: var(--on-surface);
  padding: 14px 8px;
  font-size: var(--fs-body);
  transition: border-color 0.3s, background 0.3s, padding-left 0.3s;
  font-family: inherit;
}

@media (max-width: 640px) {
  .form { gap: var(--s-3); }
  .form__row { gap: var(--s-3); }
  .field textarea { min-height: 130px; }
  .field input::placeholder,
  .field textarea::placeholder { font-size: 13px; }
  .form__submit { width: 100%; justify-content: center; padding: 16px 24px; }
  .form__actions { gap: var(--s-2); }
  .form__consent { font-size: 11px; }
}

.field textarea { resize: vertical; min-height: 160px; line-height: 1.6; }

.field input::placeholder,
.field textarea::placeholder { color: rgba(228, 226, 227, 0.28); }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(53, 71, 101, 0.36);
  padding-left: 12px;
}

.field:focus-within label { color: var(--gold); }

.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-label);
  color: var(--on-surface-variant);
  line-height: 1.5;
  cursor: pointer;
}

.form__consent input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--gold-line);
  background: transparent;
  margin-top: 1px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  border-radius: 3px;
  transition: border-color 0.3s, background 0.3s;
}

.form__consent input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}

.form__consent input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg);
}

.form__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
  padding-top: var(--s-2);
}

.form__submit { padding: 17px 38px; position: relative; overflow: hidden; }

.form__submit .spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(10, 22, 40, 0.3);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.form.is-loading .form__submit .spinner { display: inline-block; }
.form.is-loading .form__submit .label { opacity: 0.5; }
.form.is-loading .form__submit { pointer-events: none; }

.form__status {
  margin-top: var(--s-3);
  padding: var(--s-3);
  border-radius: var(--r-sm);
  font-size: var(--fs-body);
  display: none;
}

.form__status.is-success {
  display: block;
  background: rgba(201, 169, 110, 0.12);
  border: 1px solid var(--gold-line);
  color: var(--gold);
}

.form__status.is-error {
  display: block;
  background: rgba(255, 100, 100, 0.10);
  border: 1px solid rgba(255, 100, 100, 0.4);
  color: #ffb4ab;
}

/* ---------- 20. FOOTER ---------- */
.footer {
  background: var(--surface);
  border-top: 1px solid rgba(201, 169, 110, 0.10);
  padding-block: var(--s-8) var(--s-5);
  color: var(--on-surface-variant);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: var(--s-4);
  margin-bottom: var(--s-7);
}

@media (max-width: 1180px) {
  .footer__top { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--s-3); }
  .footer__brand { grid-column: 1 / -1; }
}

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

.footer__col h4 .footer__col-sub {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--on-surface-mute);
  margin-top: 4px;
  text-transform: uppercase;
}

.footer__logo {
  font-family: 'Lexend', sans-serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: var(--s-2);
}

.footer__tagline {
  max-width: 380px;
  margin-bottom: var(--s-3);
  font-size: 14px;
  line-height: 1.6;
}

.footer__contact { display: grid; gap: 10px; }

.footer__contact .frow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.footer__contact .frow svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
a.frow:hover { color: var(--gold); }

/* Social icons row */
.footer__social {
  display: flex;
  gap: 10px;
  margin-top: var(--s-3);
  flex-wrap: wrap;
}

.footer__social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 169, 110, 0.30);
  border-radius: 50%;
  color: var(--gold);
  transition: background 0.3s var(--ease-smooth),
              color 0.3s,
              border-color 0.3s,
              transform 0.35s var(--ease-spring);
  position: relative;
}

.footer__social a:hover,
.footer__social a:focus-visible {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-2px) rotate(-4deg);
}

.footer__social a[href="#"] {
  opacity: 0.55;
  cursor: not-allowed;
}

.footer__social a[href="#"]::after {
  content: 'Próximamente';
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--gold-line);
  border-radius: var(--r-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.footer__social a[href="#"]:hover::after { opacity: 1; }

.footer__social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer__col h4 {
  font-family: 'Lexend', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-3);
}

.footer__list { list-style: none; display: grid; gap: 10px; }
.footer__list a { font-size: 14px; color: var(--on-surface-variant); }
.footer__list a:hover { color: var(--gold); }

.footer__bottom {
  border-top: 1px solid rgba(201, 169, 110, 0.10);
  padding-top: var(--s-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-2);
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.footer__copy { color: var(--on-surface-mute); margin: 0; }
.footer__legal { display: flex; gap: var(--s-3); flex-shrink: 0; }
.footer__legal a { color: var(--on-surface-mute); }
.footer__legal a:hover { color: var(--gold); }

.footer__legal-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.footer__legal-info strong {
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.footer__address {
  margin: 0;
  font-size: 11px;
  color: var(--on-surface-mute);
  letter-spacing: 0.06em;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: var(--s-2); }
  .footer__legal-info { width: 100%; }
}

/* ---------- 21. WHATSAPP FAB ---------- */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-fab);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.42), 0 0 0 4px rgba(37, 211, 102, 0.14);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.wa-fab:hover {
  transform: scale(1.10) rotate(-8deg);
  box-shadow: 0 18px 44px rgba(37, 211, 102, 0.55), 0 0 0 8px rgba(37, 211, 102, 0.18);
}

.wa-fab:active { transform: scale(0.96); }

.wa-fab svg { width: 30px; height: 30px; }

.wa-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.55);
  z-index: -1;
  animation: wa-pulse 3.4s ease-out infinite;
}

@keyframes wa-pulse {
  0%   { transform: scale(1);    opacity: 0.35; }
  70%  { transform: scale(1.28); opacity: 0;    }
  100% { transform: scale(1.28); opacity: 0;    }
}

.wa-fab {
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.28), 0 0 0 2px rgba(37, 211, 102, 0.10);
}

.wa-fab:hover {
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.40), 0 0 0 4px rgba(37, 211, 102, 0.14);
}

.wa-fab__tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--navy);
  color: var(--gold);
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--gold-line);
  border-radius: var(--r-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.4s var(--ease-spring);
}

.wa-fab:hover .wa-fab__tip { opacity: 1; transform: translateY(-50%) translateX(0); }

@media (max-width: 600px) {
  .wa-fab { width: 54px; height: 54px; bottom: 20px; right: 20px; }
  .wa-fab svg { width: 26px; height: 26px; }
  .wa-fab__tip { display: none; }
}

/* ---------- 22. REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-smooth), transform 1s var(--ease-elastic);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 23. UTILITIES ---------- */
.center-text { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* ---------- 24. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .marquee__track,
  .hero__media img,
  .unit__media img,
  .sector__media img,
  .wa-fab::before,
  .strip { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 26. EDITORIAL MASSIVE TYPE ---------- */
.editorial {
  position: relative;
  padding-block: var(--section-pad);
  overflow: hidden;
  background: var(--background);
}

.editorial__eyebrow {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(22px, 3.2vw, 36px);
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--s-3);
  display: inline-block;
  letter-spacing: -0.01em;
}

/* Smooth transitions between consecutive editorial sections */
.editorial + .editorial {
  position: relative;
}

/* Fade gradient between hero and editorial */
.hero + .editorial {
  position: relative;
}

.hero + .editorial::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: clamp(60px, 8vw, 120px);
  background: linear-gradient(to bottom, var(--background), transparent);
  pointer-events: none;
  z-index: 2;
}

/* ===== CURTAIN REVEAL (safe version) ===== */
/* No clip-path destruction — only fade + slide.
   Visible by default (so JS failure / SSR / refresh never breaks page).
   JS adds .is-pending only AFTER ensuring IO works. */
.curtain {
  position: relative;
  opacity: 1;
  transform: none;
}

.curtain.is-pending {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.9s var(--ease-smooth), transform 1s var(--ease-elastic);
}

.curtain--right.is-pending { transform: translateX(60px); }
.curtain--left.is-pending { transform: translateX(-60px); }

.curtain.is-pending.is-shown {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .curtain, .curtain.is-pending, .curtain.is-pending.is-shown {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.editorial__title {
  font-family: 'Lexend', sans-serif;
  font-weight: 200;
  font-size: clamp(28px, 5.2vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--on-surface);
  max-width: 1000px;
}

.editorial__title .em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}

.editorial__cta {
  margin-top: var(--s-5);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.35s, color 0.35s, transform 0.35s var(--ease-spring);
}

.editorial__cta:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.editorial__cta svg {
  width: 14px; height: 14px;
  transition: transform 0.35s var(--ease-spring);
}

.editorial__cta:hover svg { transform: translate(4px, -4px); }

/* Decorative rings */
.editorial::before,
.editorial::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(201, 169, 110, 0.10);
  border-radius: 50%;
  pointer-events: none;
}

.editorial::before {
  right: -10%; top: 20%;
  width: clamp(280px, 40vw, 540px);
  height: clamp(280px, 40vw, 540px);
}

.editorial::after {
  right: -2%; top: 30%;
  width: clamp(180px, 28vw, 360px);
  height: clamp(180px, 28vw, 360px);
  border-color: rgba(201, 169, 110, 0.06);
}

/* Alignment variants */
.editorial--right {
  text-align: right;
}
.editorial--right .editorial__title,
.editorial--right .editorial__eyebrow { margin-left: auto; }
.editorial--right .editorial__cta { margin-left: auto; }
.editorial--right::before { left: -10%; right: auto; }
.editorial--right::after { left: -2%; right: auto; }

.editorial--center {
  text-align: center;
}
.editorial--center .editorial__title,
.editorial--center .editorial__eyebrow { margin-inline: auto; }
.editorial--center .editorial__cta { margin-inline: auto; display: inline-flex; }
.editorial--center::before { left: 50%; right: auto; transform: translateX(-50%); top: -8%; }
.editorial--center::after { left: 50%; right: auto; transform: translateX(-50%); top: 5%; }

@media (max-width: 880px) {
  /* Mobile: everything left-aligned for readability */
  .editorial--right { text-align: left; }
  .editorial--right .editorial__title,
  .editorial--right .editorial__eyebrow,
  .editorial--right .editorial__cta { margin-left: 0; margin-right: auto; }
  .editorial--center { text-align: left; }
  .editorial--center .editorial__title,
  .editorial--center .editorial__eyebrow,
  .editorial--center .editorial__cta { margin-inline: 0; }
  .editorial--center .editorial__cta { display: inline-flex; }
}

/* Diagonal section transitions */
.diagonal-top {
  position: relative;
}

.diagonal-top::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: clamp(40px, 6vw, 80px);
  background: var(--background);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
  z-index: 1;
}

.diagonal-bottom {
  position: relative;
}

.diagonal-bottom::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: clamp(40px, 6vw, 80px);
  background: var(--background);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 1;
}

/* ---------- 27. TESTIMONIOS ---------- */
.testimonials {
  position: relative;
  padding-block: var(--section-pad);
  background: var(--surface-low);
  overflow: hidden;
}

.testimonials__head {
  text-align: left;
  margin-bottom: var(--s-7);
  max-width: 920px;
}

.testimonials__title {
  font-family: 'Lexend', sans-serif;
  font-weight: 200;
  font-style: italic;
  font-size: clamp(32px, 5.4vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--gold);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}

@media (max-width: 900px) {
  .testimonials__grid { grid-template-columns: 1fr; }
}

.tquote {
  position: relative;
  padding: clamp(28px, 3.4vw, 40px);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  transition: border-color 0.4s, transform 0.45s var(--ease-elastic), box-shadow 0.4s;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.tquote::before {
  content: '\201C';
  display: block;
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: clamp(56px, 6vw, 78px);
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.55;
  margin-bottom: -8px;
}

.tquote:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.tquote__text {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: var(--on-surface);
  line-height: 1.65;
  margin: 0;
}

.tquote__author {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding-top: var(--s-3);
  border-top: 1px solid rgba(201, 169, 110, 0.10);
}

.tquote__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  background:
    radial-gradient(circle at 50% 50%, var(--gold-soft), transparent 70%),
    var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lexend', sans-serif;
  font-weight: 400;
  font-size: 17px;
  color: var(--gold);
  letter-spacing: 0.02em;
  flex-shrink: 0;
  text-transform: uppercase;
}

.tquote__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.tquote__name {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-surface);
  line-height: 1.2;
}

.tquote__role {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: var(--on-surface-variant);
  line-height: 1.3;
}

.tquote__role .gold { color: var(--gold); }

/* ---------- 28. ACCORDION FULL CLICK ---------- */
.acc-item__head {
  width: 100%;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Make sure entire item registers click */
.acc-item { user-select: none; }

/* ---------- 29. HERO FADE TO NEXT SECTION ---------- */
.hero + .marquee::before { content: none; } /* if needed */

.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 24vh;
  background: linear-gradient(to bottom, transparent 0%, var(--background) 100%);
  pointer-events: none;
  z-index: 1;
}

/* When the next section is surface (marquee), align background */
.hero { background: var(--background); }

/* ---------- 31. SERVICES GRID (foto + título → modal) ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}

@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--navy);
  border: 1px solid rgba(201, 169, 110, 0.10);
  cursor: pointer;
  transition: border-color 0.4s, transform 0.5s var(--ease-elastic);
  text-align: left;
  width: 100%;
  padding: 0;
  font: inherit;
  color: inherit;
  display: block;
  isolation: isolate;
}

.svc-card:hover,
.svc-card:focus-visible {
  border-color: var(--gold-line);
  transform: translateY(-6px);
}

.svc-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.svc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: transform 1.2s var(--ease-smooth), opacity 0.5s;
}

.svc-card:hover .svc-card__media img,
.svc-card:focus-visible .svc-card__media img {
  transform: scale(1.08);
  opacity: 0.75;
}

.svc-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 100%, rgba(201, 169, 110,0.18), transparent 50%),
    linear-gradient(180deg, rgba(10,22,40,0.2) 0%, rgba(10,22,40,0.95) 100%);
}

.svc-card__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 2.4vw, 32px);
  gap: 8px;
}

.svc-card__num {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.svc-card__title {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: clamp(20px, 2vw, 24px);
  color: var(--on-surface);
  line-height: 1.2;
  margin: 0;
}

.svc-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--s-2);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  transition: gap 0.3s var(--ease-spring);
}

.svc-card:hover .svc-card__cta,
.svc-card:focus-visible .svc-card__cta { gap: 16px; }

/* ---------- 32. MODAL ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  background: rgba(10, 22, 40, 0.78);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  opacity: 0;
  transition: opacity 0.35s var(--ease-smooth);
}

.modal.is-open {
  display: flex;
  opacity: 1;
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  max-height: 90dvh;
  background: linear-gradient(165deg, var(--navy) 0%, var(--surface-low) 100%);
  border: 1px solid var(--gold-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.92) translateY(20px);
  opacity: 0;
  transition: transform 0.55s var(--ease-spring), opacity 0.4s var(--ease-smooth);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(201, 169, 110, 0.12);
}

.modal.is-open .modal__dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal__media {
  position: relative;
  aspect-ratio: 21/9;
  overflow: hidden;
  background: var(--navy);
  flex-shrink: 0;
}

.modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.modal__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0.2), rgba(10,22,40,0.9));
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10, 22, 40, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 169, 110, 0.18);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s var(--ease-spring);
}

.modal__close:hover {
  background: var(--gold);
  color: var(--navy);
  transform: rotate(90deg);
}

.modal__close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; fill: none; }

.modal__body {
  padding: clamp(24px, 3vw, 40px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.modal__eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.modal__title {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--on-surface);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.modal__desc {
  color: var(--on-surface-variant);
  font-size: var(--fs-body-lg);
  line-height: 1.65;
  margin-top: var(--s-2);
}

.modal__list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: var(--s-3);
  padding: var(--s-3);
  background: rgba(53, 71, 101, 0.20);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.modal__list li {
  padding-left: 22px;
  position: relative;
  color: var(--on-surface);
  font-size: var(--fs-body);
}

.modal__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 1px;
  background: var(--gold);
}

.modal__actions {
  margin-top: var(--s-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

/* ---------- 33. UNIT PORTALS (hub /servicios.html) ---------- */
.unit-portals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}

@media (max-width: 1100px) { .unit-portals { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .unit-portals { grid-template-columns: 1fr; } }

.unit-portal {
  position: relative;
  min-height: 480px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110,0.10);
  background: var(--navy);
  transition: border-color 0.4s, transform 0.5s var(--ease-elastic);
  display: block;
  text-decoration: none;
  isolation: isolate;
}

.unit-portal:hover {
  border-color: var(--gold-line);
  transform: translateY(-6px);
}

.unit-portal__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.unit-portal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: transform 1.2s var(--ease-smooth);
}

.unit-portal:hover .unit-portal__media img { transform: scale(1.08); }

.unit-portal__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0.25), rgba(10,22,40,0.95));
}

.unit-portal__content {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 480px;
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--s-2);
}

.unit-portal__num {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.unit-portal__name {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--on-surface);
  line-height: 1.05;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
  letter-spacing: -0.02em;
  margin: 0;
}

.unit-portal__sub {
  font-family: 'Lexend', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--gold);
  margin-top: 4px;
}

.unit-portal__desc {
  color: var(--on-surface-variant);
  font-size: var(--fs-body);
  max-width: 440px;
  margin-top: var(--s-2);
  line-height: 1.6;
}

.unit-portal__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--s-3);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  transition: gap 0.3s var(--ease-spring);
}

.unit-portal:hover .unit-portal__cta { gap: 20px; }

/* ---------- 33b. NOSOTROS v2 — split, pillars, quote-band ---------- */

/* Split 50/50 con imagen */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

@media (max-width: 880px) {
  .about-split { grid-template-columns: 1fr; gap: var(--s-4); }
  .about-split--reverse .about-split__media { order: -1; }
}

.about-split--reverse .about-split__content { order: 2; }
.about-split--reverse .about-split__media { order: 1; }

@media (max-width: 880px) {
  .about-split--reverse .about-split__content { order: 2; }
  .about-split--reverse .about-split__media { order: 1; }
}

.about-split__content h2 {
  font-size: clamp(28px, 4.4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.about-split__media {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110,0.10);
  aspect-ratio: 4/3;
  background: var(--navy);
}

.about-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 1s var(--ease-smooth);
}

.about-split__media:hover img { transform: scale(1.04); }

.about-split__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(10,22,40,0.4));
  pointer-events: none;
}

/* Pilares (cards minimalistas con número grande) */
.pillar {
  padding: var(--s-5) var(--s-4);
  background: var(--surface-low);
  border: 1px solid rgba(201, 169, 110,0.10);
  border-radius: var(--r-md);
  transition: border-color 0.4s, transform 0.45s var(--ease-elastic);
  position: relative;
  overflow: hidden;
}

.pillar:hover { border-color: var(--gold-line); transform: translateY(-6px); }

.pillar__num {
  font-family: 'Lexend', sans-serif;
  font-weight: 200;
  font-size: clamp(48px, 6vw, 84px);
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--s-3);
  opacity: 0.6;
  letter-spacing: -0.04em;
}

.pillar:hover .pillar__num { opacity: 1; }

.pillar h3 {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--on-surface);
  margin-bottom: var(--s-2);
}

.pillar p {
  color: var(--on-surface-variant);
  line-height: 1.65;
}

/* Quote band — cita pequeña centrada con comilla decorativa */
.quote-band {
  padding-block: clamp(56px, 8vw, 100px);
  background: var(--background);
  border-block: 1px solid rgba(201, 169, 110,0.08);
}

.quote-band__inner {
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.quote-band__mark {
  font-family: 'Lexend', sans-serif;
  font-weight: 200;
  font-size: clamp(56px, 8vw, 96px);
  line-height: 0.5;
  color: var(--gold);
  opacity: 0.35;
  display: block;
  margin-bottom: var(--s-2);
}

.quote-band__text {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.5;
  color: var(--on-surface);
  letter-spacing: -0.005em;
  margin-bottom: var(--s-3);
}

.quote-band__sign {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  position: relative;
  padding-top: var(--s-2);
}

.quote-band__sign::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 1px;
  background: var(--gold);
}

/* ---------- 34. PRINT ---------- */
@media print {
  .nav, .wa-fab, .marquee, .strip, .modal { display: none; }
  body { background: #fff; color: #000; }
}
