/* ─── BASE ─────────────────────────────────────────────────── */
body {
  font-family: var(--font-sans);
  background-color: var(--black);
  color: var(--warm-white);
  /* Textura grain sutil sobre el verde */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}

/* ─── ISOTIPO EN HERO ──────────────────────────────────────── */
.hero-isotipo {
  position: absolute;
  right: clamp(3rem, 10vw, 10rem);
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  width: clamp(160px, 22vw, 320px);
  height: auto;
  opacity: 0.12;
  pointer-events: none;
  filter: drop-shadow(0 0 50px rgba(198, 165, 106, 0.25));
  will-change: transform;
  z-index: 3;
}

/* ─── CTA INVERSIÓN ────────────────────────────────────────── */
#cta-inversion {
  background: var(--carbon-3);
  overflow: hidden;
}

.cta-inversion-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(198, 165, 106, 0.06) 0%, transparent 65%);
  z-index: 0;
}

.cta-inversion-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 80px,
    rgba(198, 165, 106, 0.02) 80px,
    rgba(198, 165, 106, 0.02) 81px
  );
}

.cta-inversion-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-iso {
  display: block;
  margin: 0 auto var(--space-xl);
  opacity: 0.6;
  filter: drop-shadow(0 0 20px rgba(198, 165, 106, 0.3));
}

.cta-headline {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: var(--space-lg);
}

.cta-subtext {
  font-size: clamp(0.875rem, 1.1vw, 0.975rem);
  color: rgba(231, 212, 181, 0.55);
  line-height: 1.75;
  margin-bottom: var(--space-xl);
}

.cta-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.projects-cta {
  margin-top: var(--space-xl);
  text-align: center;
}

/* Isotipo en loader */
.loader-iso {
  display: block;
  margin: 0 auto var(--space-md);
  animation: loaderFade 0.6s ease 0.1s both;
  filter: drop-shadow(0 0 20px rgba(198,165,106,0.4));
}

/* ─── LOADER ───────────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}

#loader.hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

.loader-inner {
  text-align: center;
}

.loader-logo {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  color: var(--warm-white);
  text-transform: uppercase;
  animation: loaderFade 0.7s ease 0.2s both;
}

.loader-line {
  position: relative;
  height: 1px;
  width: 160px;
  background: rgba(255, 255, 255, 0.1);
  margin: 14px auto 0;
  overflow: hidden;
}

.loader-line span {
  display: block;
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  animation: loaderBar 1.6s ease 0.5s both;
}

/* ─── CURSOR ───────────────────────────────────────────────── */
#cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: normal;
}

.cursor-dot {
  position: fixed;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.08s linear, opacity var(--t-fast);
  will-change: transform;
}

.cursor-ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(198, 165, 106, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, width 0.3s ease, height 0.3s ease, opacity var(--t-fast);
  will-change: transform;
}

.cursor-ring.hovering {
  width: 48px;
  height: 48px;
  border-color: rgba(198, 165, 106, 0.8);
}

body.no-cursor .cursor-dot,
body.no-cursor .cursor-ring {
  opacity: 0;
}

/* ─── SCROLL PROGRESS ──────────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  z-index: 9997;
  transition: width 0.1s linear;
}

/* ─── NAVIGATION ───────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--t-med), backdrop-filter var(--t-med), border-color var(--t-med);
  border-bottom: 1px solid transparent;
}

#nav.scrolled {
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: var(--border-sub);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: var(--space-lg);
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 108px; /* 3× original 36px */
  width: auto;
  object-fit: contain;
}

/* Nav más alto para alojar el logo grande */
#nav {
  height: auto;
  min-height: 110px;
}

.nav-inner {
  height: auto;
  min-height: 110px;
  padding-top: 6px;
  padding-bottom: 6px;
}

/* Logo footer 2× */
.footer-logo img {
  height: 80px; /* 2× aprox del original */
  width: auto;
  object-fit: contain;
  display: block;
}

/* Responsive: reducir en pantallas pequeñas */
@media (max-width: 768px) {
  .nav-logo-img {
    height: 62px; /* cómodo en móvil */
  }
  #nav, .nav-inner {
    min-height: 74px;
  }
}

.nav-logo-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-white);
  display: flex;
  align-items: center;
  gap: 0.3em;
}

.nav-logo-text em {
  font-style: normal;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(245, 241, 234, 0.7);
  transition: color var(--t-fast);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--t-med);
}

.nav-links a:hover {
  color: var(--warm-white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  flex-shrink: 0;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--warm-white);
  transition: transform var(--t-med), opacity var(--t-fast);
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 15, 8, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  padding: var(--space-2xl) clamp(1.5rem, 4vw, 5rem);
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xl);
  transform: translateX(100%);
  transition: transform var(--t-slow);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.mobile-links a {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 400;
  color: var(--warm-white);
  transition: color var(--t-fast);
}

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

.mobile-cta {
  margin-top: var(--space-md);
}

/* ─── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85em 1.8em;
  border-radius: var(--radius);
  transition: all var(--t-med);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--black);
  border: 1px solid transparent;
}

.btn--gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  opacity: 0;
  transition: opacity var(--t-med);
}

.btn--gold:hover::before {
  opacity: 1;
}

.btn--gold:hover {
  box-shadow: 0 0 30px rgba(198, 165, 106, 0.35);
  transform: translateY(-1px);
}

.btn--gold span,
.btn--gold svg {
  position: relative;
  z-index: 1;
}

.btn--ghost {
  background: transparent;
  color: var(--champagne);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  background: var(--smoke-2);
  border-color: rgba(198, 165, 106, 0.4);
  color: var(--warm-white);
}

.btn--lg {
  font-size: 0.82rem;
  padding: 1em 2.2em;
}

.btn--full {
  width: 100%;
}

/* ─── HERO ─────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--black);
  overflow: hidden;
}

/* Fondo cinético Ken Burns — reemplaza partículas Three.js */
.hero-kinetic-bg {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
  animation: kenBurns 28s ease-in-out infinite alternate;
  will-change: transform;
}

/* Overlay oscuro — textos legibles sobre la imagen */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(4,15,8,0.97) 0%, rgba(4,15,8,0.78) 30%, rgba(4,15,8,0.45) 60%, rgba(4,15,8,0.22) 100%),
    linear-gradient(to right, rgba(4,15,8,0.80) 0%, rgba(4,15,8,0.25) 55%, transparent 100%);
  z-index: 2;
}

/* Isotipo hero — eliminado */

/* Canvas Three.js — desactivado, reemplazado por Ken Burns */
#hero-canvas { display: none; }

.hero-content {
  position: relative;
  z-index: 4;
  width: 100%;
  padding-top: 28px; /* máximo 30px entre nav y eyebrow */
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm); /* reducido de --space-lg */
}

.hero-divider {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--border);
}

.hero-headline {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 6.2rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--warm-white);
  margin-bottom: var(--space-md);
  max-width: 700px;
}

.hero-headline em {
  font-family: var(--font-edit);
  font-style: italic;
  font-weight: 300;
  color: var(--champagne);
  display: block;
  letter-spacing: 0;
}

.hero-subhead {
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  font-weight: 300;
  color: rgba(231, 212, 181, 0.72);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: clamp(2rem, 4vw, 3rem);
  right: clamp(1.5rem, 4vw, 5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 4;
  color: rgba(245, 241, 234, 0.4);
  transition: color var(--t-fast);
}

.hero-scroll-indicator:hover { color: var(--gold); }

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: currentColor;
  animation: scrollPulse 2s ease-in-out infinite;
}

.hero-scroll-text {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}


/* ─── NOSOTROS ──────────────────────────────────────────────── */
#nosotros {
  background: var(--carbon);
}

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.nosotros-headline {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.nosotros-body {
  font-size: clamp(0.9rem, 1.1vw, 0.975rem);
  color: rgba(231, 212, 181, 0.6);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: var(--space-lg);
}

.nosotros-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--smoke);
  border: 1px solid var(--border-sub);
  border-radius: var(--radius-sm);
  transition: border-color var(--t-med), background var(--t-med);
}

.pillar:hover {
  border-color: var(--border);
  background: var(--smoke-2);
}

.pillar-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-muted);
  border-radius: var(--radius-sm);
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--warm-white);
  margin-bottom: 0.25rem;
}

.pillar-text {
  font-size: 0.78rem;
  color: rgba(231, 212, 181, 0.5);
  line-height: 1.5;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: var(--space-2xl);
  border: 1px solid var(--border-sub);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  border-right: 1px solid var(--border-sub);
  transition: background var(--t-med);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: var(--smoke);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(231, 212, 181, 0.45);
  line-height: 1.5;
}

/* ─── PROYECTOS ─────────────────────────────────────────────── */
#proyectos {
  background: var(--black);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.project-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-sub);
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
  cursor: pointer;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border);
  box-shadow: var(--shadow-gold), var(--shadow-deep);
}

.project-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.project-card--elohim .project-card-bg {
  background:
    radial-gradient(ellipse 140% 90% at 15% 110%, rgba(120, 70, 20, 0.6) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 85% 15%, rgba(198, 165, 106, 0.1) 0%, transparent 45%),
    linear-gradient(155deg, #0d0905 0%, #1a1008 45%, #0c0b07 100%);
}

.project-card--lux .project-card-bg {
  background:
    radial-gradient(ellipse 120% 80% at 20% 110%, rgba(25, 35, 75, 0.7) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 80% 10%, rgba(198, 165, 106, 0.08) 0%, transparent 45%),
    linear-gradient(145deg, #07090f 0%, #0d1020 50%, #07080f 100%);
}

.project-card--cascada .project-card-bg {
  background:
    radial-gradient(ellipse 120% 80% at 15% 110%, rgba(15, 45, 15, 0.8) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 80% 10%, rgba(198, 165, 106, 0.07) 0%, transparent 45%),
    linear-gradient(145deg, #050d05 0%, #0a160a 50%, #060d06 100%);
}

.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  z-index: 1;
  transition: opacity var(--t-med);
}

.project-card:hover::after {
  opacity: 0.7;
}

.project-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-lg);
  min-height: 520px;
}

.project-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: auto;
}

.project-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35em 0.9em;
  border-radius: 100px;
  border: 1px solid;
}

.project-badge--active {
  color: #7ede9a;
  border-color: rgba(126, 222, 154, 0.35);
  background: rgba(126, 222, 154, 0.08);
}

.project-badge--preview {
  color: var(--gold);
  border-color: var(--border);
  background: var(--gold-muted);
}

.project-badge--soon {
  color: rgba(245, 241, 234, 0.5);
  border-color: var(--border-sub);
  background: var(--smoke);
}

.project-location {
  display: flex;
  align-items: center;
  gap: 0.35em;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: rgba(245, 241, 234, 0.4);
}

.project-card-mid {
  padding-top: 8rem;
  padding-bottom: var(--space-lg);
}

.project-number {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--gold);
  opacity: 0.6;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.project-name {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  font-weight: 400;
  color: var(--warm-white);
  line-height: 1.15;
  margin-bottom: 0.3rem;
}

.project-type {
  font-family: var(--font-edit);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.project-desc {
  font-size: 0.82rem;
  color: rgba(231, 212, 181, 0.55);
  line-height: 1.65;
  font-weight: 300;
}

.project-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-sub);
}

.project-price {
  display: flex;
  flex-direction: column;
}

.project-price-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: rgba(231, 212, 181, 0.4);
  text-transform: uppercase;
}

.project-price-value {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold);
}

.project-cta {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--champagne);
  transition: color var(--t-fast), gap var(--t-fast);
}

.project-cta:hover {
  color: var(--gold);
  gap: 0.7em;
}

/* ─── ELOHIM RAYMI FEATURED ─────────────────────────────────── */
#elohim-raymi {
  background: var(--carbon);
  overflow: hidden;
}

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

.elohim-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.elohim-orb--1 {
  width: 600px;
  height: 600px;
  background: rgba(198, 165, 106, 0.06);
  top: -20%;
  right: -10%;
  animation: orbFloat 12s ease-in-out infinite;
}

.elohim-orb--2 {
  width: 400px;
  height: 400px;
  background: rgba(198, 165, 106, 0.04);
  bottom: -15%;
  left: 5%;
  animation: orbFloat 15s ease-in-out infinite reverse;
}

#elohim-raymi .section-inner {
  position: relative;
  z-index: 1;
}

.elohim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.elohim-image-frame {
  position: relative;
}

.elohim-image-placeholder {
  aspect-ratio: 4/5;
  background:
    radial-gradient(ellipse 80% 60% at 40% 30%, rgba(120, 80, 30, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 70% 80%, rgba(198, 165, 106, 0.12) 0%, transparent 50%),
    linear-gradient(150deg, #0e0905 0%, #1a1208 40%, #0c0b07 100%);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-sub);
  display: flex;
  align-items: flex-end;
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.elohim-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 3px,
      rgba(198, 165, 106, 0.015) 3px,
      rgba(198, 165, 106, 0.015) 4px
    );
}

.elohim-img-content {
  position: relative;
  z-index: 1;
}

.elohim-img-label {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-style: italic;
  color: var(--champagne);
  line-height: 1.1;
}

.elohim-img-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.5rem;
}

.elohim-price-badge {
  position: absolute;
  top: var(--space-lg);
  right: calc(-1 * var(--space-md));
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-gold);
}

.epb-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(231, 212, 181, 0.5);
  margin-bottom: 0.3rem;
}

.epb-price {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.epb-growth {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: #7ede9a;
  letter-spacing: 0.06em;
}

.price-track {
  margin-top: var(--space-lg);
}

.price-track-inner {
  display: flex;
  align-items: flex-end;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background: var(--smoke);
  border: 1px solid var(--border-sub);
  border-radius: var(--radius-sm);
}

.pt-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.pt-price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1;
}

.pt-step--past .pt-price { color: rgba(231, 212, 181, 0.4); }
.pt-step--current .pt-price { color: var(--gold); font-size: 1.6rem; }
.pt-step--future .pt-price { color: rgba(198, 165, 106, 0.5); }

.pt-bar {
  width: 100%;
  border-radius: 2px;
}

.pt-bar--past {
  height: 24px;
  background: rgba(231, 212, 181, 0.15);
}

.pt-bar--current {
  height: 40px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
}

.pt-bar--future {
  height: 32px;
  background: rgba(198, 165, 106, 0.2);
  border: 1px dashed rgba(198, 165, 106, 0.3);
}

.pt-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(231, 212, 181, 0.4);
  text-align: center;
}

.pt-arrow {
  font-size: 0.9rem;
  color: var(--gold);
  opacity: 0.5;
  padding-bottom: 1.2rem;
  flex-shrink: 0;
}

.elohim-headline {
  font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  margin-bottom: var(--space-lg);
}

.elohim-body {
  font-size: clamp(0.9rem, 1.1vw, 0.975rem);
  color: rgba(231, 212, 181, 0.6);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: var(--space-xl);
}

.elohim-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.elohim-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-sub);
}

.elohim-feature:last-child {
  border-bottom: none;
}

.ef-icon {
  color: var(--gold);
  font-size: 0.5rem;
  flex-shrink: 0;
  margin-top: 0.35rem;
}

.ef-content strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--warm-white);
  margin-bottom: 0.2rem;
}

.ef-content span {
  font-size: 0.8rem;
  color: rgba(231, 212, 181, 0.5);
  line-height: 1.55;
}

.elohim-actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.elohim-disclaimer {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gold);
  opacity: 0.7;
  letter-spacing: 0.05em;
}

/* ─── AMENITIES ─────────────────────────────────────────────── */
#amenities {
  background: var(--black);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.amenity-card {
  padding: var(--space-xl) var(--space-lg);
  background: var(--smoke);
  border: 1px solid var(--border-sub);
  border-radius: var(--radius-sm);
  transition: background var(--t-med), border-color var(--t-med), transform var(--t-med);
}

.amenity-card:hover {
  background: var(--smoke-2);
  border-color: var(--border);
  transform: translateY(-4px);
}

.amenity-icon {
  width: 60px;
  height: 60px;
  background: var(--gold-muted);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.amenity-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--warm-white);
  margin-bottom: 0.5rem;
}

.amenity-desc {
  font-size: 0.82rem;
  color: rgba(231, 212, 181, 0.5);
  line-height: 1.65;
  font-weight: 300;
}

/* ─── JURÍDICO ──────────────────────────────────────────────── */
#juridico {
  background: var(--carbon);
}

.juridico-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.juridico-body {
  font-size: clamp(0.9rem, 1.1vw, 0.975rem);
  color: rgba(231, 212, 181, 0.6);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: var(--space-xl);
}

.trust-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.trust-check {
  color: var(--gold);
  font-size: 0.5rem;
  flex-shrink: 0;
  margin-top: 0.35rem;
}

.trust-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--warm-white);
  margin-bottom: 0.2rem;
}

.trust-text span {
  font-size: 0.78rem;
  color: rgba(231, 212, 181, 0.45);
}

.juridico-card {
  background: var(--smoke);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-gold);
}

.jc-header {
  padding: var(--space-lg) var(--space-xl);
  background: var(--gold-muted);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.jc-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(198, 165, 106, 0.15);
  border: 1px solid var(--border);
  padding: 0.3em 0.8em;
  border-radius: 100px;
}

.jc-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--champagne);
}

.jc-body {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.jc-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-sub);
}

.jc-stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.jc-stat-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(231, 212, 181, 0.4);
}

.jc-stat-val {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--warm-white);
}

.jc-footer {
  padding: var(--space-lg) var(--space-xl);
  background: var(--smoke);
  border-top: 1px solid var(--border-sub);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.jc-seal-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ─── EQUIPO ────────────────────────────────────────────────── */
#equipo {
  background: var(--black);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.team-card {
  padding: var(--space-xl);
  background: var(--smoke);
  border: 1px solid var(--border-sub);
  border-radius: var(--radius-sm);
  transition: border-color var(--t-med), background var(--t-med), transform var(--t-med);
}

.team-card:hover {
  border-color: var(--border);
  background: var(--smoke-2);
  transform: translateY(-4px);
}

.team-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: var(--space-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.team-photo-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-muted);
}

.team-photo--jorge .team-photo-inner {
  background: radial-gradient(circle, rgba(198, 165, 106, 0.2) 0%, rgba(120, 70, 20, 0.3) 100%);
}

.team-photo--carlos .team-photo-inner {
  background: radial-gradient(circle, rgba(198, 165, 106, 0.15) 0%, rgba(25, 35, 75, 0.3) 100%);
}

.team-initial {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gold);
}

.team-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--warm-white);
  margin-bottom: 0.3rem;
}

.team-role {
  font-family: var(--font-edit);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.team-bio {
  font-size: 0.82rem;
  color: rgba(231, 212, 181, 0.5);
  line-height: 1.65;
  font-weight: 300;
}

/* ─── BENCHMARK ─────────────────────────────────────────────── */
#benchmark {
  background: var(--carbon);
  overflow: hidden;
}

.benchmark-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(198, 165, 106, 0.05) 0%, transparent 60%);
  z-index: 0;
}

#benchmark .section-inner {
  position: relative;
  z-index: 1;
}

.benchmark-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.benchmark-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.benchmark-visual {
  position: relative;
  height: 80px;
  display: flex;
  align-items: flex-end;
}

.bv-bar {
  width: 100%;
  height: var(--h, 70%);
  background: linear-gradient(180deg, var(--gold) 0%, rgba(198, 165, 106, 0.3) 100%);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}

.benchmark-item.visible .bv-bar {
  opacity: 1;
  transform: scaleY(1);
}

.bv-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-sub);
}

.benchmark-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.benchmark-number {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}

.benchmark-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--warm-white);
  line-height: 1.3;
}

.benchmark-desc {
  font-size: 0.78rem;
  color: rgba(231, 212, 181, 0.45);
  line-height: 1.6;
  font-weight: 300;
}

.benchmark-quote {
  border-left: 1px solid var(--gold);
  padding: var(--space-lg) var(--space-xl);
  background: var(--smoke);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.benchmark-quote blockquote p {
  font-family: var(--font-edit);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-style: italic;
  color: var(--champagne);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.benchmark-quote cite {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  font-style: normal;
}

/* ─── CONTACTO ──────────────────────────────────────────────── */
#contacto {
  background: var(--black);
  overflow: hidden;
}

.contacto-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(198, 165, 106, 0.04) 0%, transparent 55%);
  z-index: 0;
}

#contacto .section-inner {
  position: relative;
  z-index: 1;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.contacto-info .headline {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  margin-bottom: var(--space-lg);
}

.contacto-body {
  font-size: clamp(0.875rem, 1.1vw, 0.95rem);
  color: rgba(231, 212, 181, 0.55);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: var(--space-xl);
}

.contacto-channels {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.channel-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--smoke);
  border: 1px solid var(--border-sub);
  border-radius: var(--radius-sm);
  transition: border-color var(--t-fast), background var(--t-fast);
}

a.channel-item:hover {
  border-color: var(--border);
  background: var(--smoke-2);
}

.channel-icon {
  width: 40px;
  height: 40px;
  background: var(--gold-muted);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(231, 212, 181, 0.4);
  margin-bottom: 0.2rem;
}

.channel-val {
  display: block;
  font-size: 0.85rem;
  color: var(--warm-white);
}

/* ─── FORM ──────────────────────────────────────────────────── */
.contact-form {
  background: var(--smoke);
  border: 1px solid var(--border-sub);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}

.form-header {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-sub);
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--warm-white);
  margin-bottom: 0.4rem;
}

.form-subtitle {
  font-size: 0.8rem;
  color: rgba(231, 212, 181, 0.45);
  line-height: 1.55;
}

.form-group {
  margin-bottom: var(--space-md);
  position: relative;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(231, 212, 181, 0.5);
  margin-bottom: 0.5rem;
}

.form-optional {
  color: rgba(231, 212, 181, 0.3);
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-sans);
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-sub);
  border-radius: var(--radius-sm);
  padding: 0.75em 1em;
  color: var(--warm-white);
  font-size: 0.88rem;
  transition: border-color var(--t-fast), background var(--t-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(198, 165, 106, 0.04);
}

.form-input::placeholder {
  color: rgba(245, 241, 234, 0.2);
}

.form-input.error {
  border-color: rgba(255, 100, 100, 0.5);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C6A56A' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.5em;
}

.form-select option {
  background: var(--carbon);
  color: var(--warm-white);
}

.form-textarea {
  resize: vertical;
  min-height: 90px;
}

.form-error {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 100, 100, 0.85);
  margin-top: 0.3rem;
  min-height: 1rem;
}

.form-consent {
  margin-bottom: var(--space-lg);
}

.checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.checkbox-wrap input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkbox-custom {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 1px solid var(--border-sub);
  border-radius: var(--radius);
  background: var(--smoke);
  transition: border-color var(--t-fast), background var(--t-fast);
  position: relative;
  margin-top: 0.1rem;
}

.checkbox-wrap input:checked + .checkbox-custom {
  background: var(--gold);
  border-color: var(--gold);
}

.checkbox-wrap input:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: 1.5px solid var(--black);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.checkbox-label {
  font-size: 0.78rem;
  color: rgba(231, 212, 181, 0.45);
  line-height: 1.5;
}

.form-submit {
  position: relative;
  overflow: hidden;
}

.btn-loading {
  display: none;
}

.form-submit.loading .btn-text {
  opacity: 0;
}

.form-submit.loading .btn-loading {
  display: flex;
  position: absolute;
}

.form-privacy {
  margin-top: var(--space-md);
  font-size: 0.72rem;
  color: rgba(231, 212, 181, 0.3);
  text-align: center;
  line-height: 1.5;
}

/* ─── FOOTER ────────────────────────────────────────────────── */
#footer {
  background: var(--carbon);
  border-top: 1px solid var(--border-sub);
}

.footer-inner {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-xl);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--border-sub);
  margin-bottom: var(--space-xl);
}

.footer-logo-text {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm-white);
  display: inline-block;
  margin-bottom: var(--space-md);
}

.footer-logo-text em {
  font-style: normal;
  color: var(--gold);
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(231, 212, 181, 0.4);
  line-height: 1.65;
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 241, 234, 0.4);
  border: 1px solid var(--border-sub);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}

.social-link:hover {
  color: var(--gold);
  border-color: var(--border);
  background: var(--gold-muted);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.footer-nav-title {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-nav a {
  font-size: 0.82rem;
  color: rgba(231, 212, 181, 0.45);
  transition: color var(--t-fast);
}

.footer-nav a:hover {
  color: var(--champagne);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(231, 212, 181, 0.3);
  letter-spacing: 0.05em;
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal a {
  font-size: 0.72rem;
  color: rgba(231, 212, 181, 0.3);
  transition: color var(--t-fast);
}

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

/* ─── TOAST ─────────────────────────────────────────────────── */
#toast {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 9996;
  min-width: 280px;
  max-width: 380px;
  padding: var(--space-md) var(--space-lg);
  background: var(--carbon-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-deep);
  font-size: 0.85rem;
  color: var(--warm-white);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--t-med), transform var(--t-med);
  pointer-events: none;
}

#toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#toast.toast--success {
  border-color: rgba(126, 222, 154, 0.4);
}

#toast.toast--error {
  border-color: rgba(255, 100, 100, 0.4);
}

/* ══════════════════════════════════════════════════════════════
   LUX SANCTUM HOME SECTION
   ══════════════════════════════════════════════════════════════ */
#lux-sanctum-home {
  background: var(--carbon-2);
  overflow: hidden;
}

.lux-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.lux-home-headline {
  font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  margin-bottom: var(--space-lg);
}

.lux-home-img {
  aspect-ratio: 4/5;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,0.75) 100%),
    url('https://images.unsplash.com/photo-1571003123894-1f0594d2b5d9?auto=format&fit=crop&w=900&q=80')
    center / cover no-repeat;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-sub);
  display: flex;
  align-items: flex-end;
  padding: var(--space-xl);
  overflow: hidden;
}

/* ══════════════════════════════════════════════════════════════
   SEGURIDAD JURÍDICA — DOCUMENTOS
   ══════════════════════════════════════════════════════════════ */
#seguridad-docs {
  background: var(--carbon);
}

.seg-header {
  background: linear-gradient(135deg, #082a14 0%, #0d3a1c 50%, #082010 100%);
  border: 1px solid rgba(20, 100, 50, 0.4);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-2xl);
  text-align: center;
  margin-bottom: var(--space-xl);
}

.seg-header-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  letter-spacing: -0.01em;
  color: var(--warm-white);
  margin-bottom: 0.4rem;
}

.seg-header-sub {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.doc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

/* Simula papel oficial — el usuario reemplaza con <img> real */
.doc-paper {
  width: 100%;
  aspect-ratio: 3/4;
  background: #f8f7f2;
  border: 1px solid #d8d4c8;
  border-radius: 3px;
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform var(--t-med), box-shadow var(--t-med);
}

.doc-paper:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
}

.doc-header-bar {
  background: #0d3018;
  color: #fff;
  padding: 0.25rem 0.4rem;
  border-radius: 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.doc-sunarp {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.45rem;
  letter-spacing: 0.08em;
  color: #7ede9a;
}

.doc-reg {
  font-family: var(--font-mono);
  font-size: 0.38rem;
  color: rgba(255,255,255,0.6);
}

.doc-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  position: relative;
}

.doc-title-line {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.42rem;
  letter-spacing: 0.04em;
  color: #1a1a1a;
  text-align: center;
  padding: 0.2rem 0;
  border-bottom: 1px solid #ccc;
}

.doc-body-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.doc-body-lines span {
  display: block;
  height: 1.5px;
  background: #ddd;
  border-radius: 1px;
}

.doc-body-lines span:nth-child(odd)  { width: 100%; }
.doc-body-lines span:nth-child(even) { width: 75%; }

.doc-stamp {
  position: absolute;
  bottom: 0.3rem;
  right: 0.3rem;
  opacity: 0.6;
}

.doc-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: rgba(231, 212, 181, 0.55);
  text-align: center;
  line-height: 1.4;
}

.seg-footer {
  text-align: center;
  padding: var(--space-lg) var(--space-xl);
  background: linear-gradient(135deg, #082a14, #0d3a1c);
  border: 1px solid rgba(20, 100, 50, 0.3);
  border-radius: var(--radius-sm);
}

.seg-footer-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(0.9rem, 2vw, 1.35rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ══════════════════════════════════════════════════════════════
   CARRUSEL DE MEDIOS — INFINITO (CSS puro)
   ══════════════════════════════════════════════════════════════ */
#medios-logos {
  background: var(--carbon-2);
  overflow: hidden;
  border-top: 1px solid var(--border-sub);
  border-bottom: 1px solid var(--border-sub);
  padding: var(--space-xl) 0;
}

.medios-intro {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.medios-intro-text {
  font-size: 0.82rem;
  color: rgba(231, 212, 181, 0.4);
  font-style: italic;
  font-family: var(--font-edit);
  font-size: 1rem;
}

.medios-carousel {
  overflow: hidden;
  mask: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.medios-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: mediaScroll 28s linear infinite;
}

.medios-track:hover {
  animation-play-state: paused;
}

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

.medios-item {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(231, 212, 181, 0.3);
  white-space: nowrap;
  padding: 0 var(--space-lg);
  transition: color var(--t-fast);
}

.medios-item:hover {
  color: var(--gold);
}

.medios-sep {
  color: var(--gold);
  opacity: 0.35;
  font-size: 0.4rem;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   GRID DE PRENSA
   ══════════════════════════════════════════════════════════════ */
#prensa {
  background: var(--carbon-3);
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.press-card {
  background: var(--smoke);
  border: 1px solid var(--border-sub);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--t-med), transform var(--t-med), box-shadow var(--t-med);
}

.press-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.press-card-img-wrap {
  position: relative;
  overflow: hidden;
}

.press-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.press-card:hover .press-card-img {
  transform: scale(1.05);
}

.press-play {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-sm);
}

.press-card-body {
  padding: var(--space-md) var(--space-lg);
}

.press-outlet {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.press-date {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: rgba(231, 212, 181, 0.3);
  margin-bottom: var(--space-sm);
}

.press-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--warm-white);
  line-height: 1.4;
  margin-bottom: var(--space-md);
}

.press-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color var(--t-fast), letter-spacing var(--t-fast);
}

.press-link:hover {
  color: var(--gold-light);
  letter-spacing: 0.18em;
}

/* Responsive docs + press */
@media (max-width: 900px) {
  .docs-grid { grid-template-columns: repeat(3, 1fr); }
  .press-grid { grid-template-columns: 1fr 1fr; }
  .lux-home-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .docs-grid { grid-template-columns: repeat(2, 1fr); }
  .press-grid { grid-template-columns: 1fr; }
}
