/* ====================================================
   ESTUDIO 26 — Lujo minimalista (negro / oro / marfil)
   Stylesheet compartido por todas las páginas
   ==================================================== */

:root {
  --black: #0a0a0a;
  --black-soft: #131313;
  --black-card: #1a1a1a;
  --ivory: #f5f1ea;
  --ivory-dim: #d8d2c5;
  --gold: #c9a961;
  --gold-bright: #e0c074;
  --gold-deep: #8c7340;
  --gold-glow: rgba(201, 169, 97, 0.35);
  --line: rgba(245, 241, 234, 0.12);
  --line-strong: rgba(245, 241, 234, 0.22);

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --display: 'Cinzel', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 64px);

  --ease-luxe: cubic-bezier(0.25, 1, 0.32, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--gold); color: var(--black); }

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--ivory);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.is-loading { overflow: hidden; height: 100vh; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ============ LOADER v3 (100% CSS-driven, NUNCA se bloquea) ============ */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: radial-gradient(ellipse at center, #131313 0%, #0a0a0a 70%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 40px;
  overflow: hidden;
  /* 🔒 CSS finaliza el loader sí o sí a los 3s, sin depender de JS */
  animation: loaderEnd 0.8s var(--ease-luxe) 2.6s forwards;
}
#loader.gone {
  opacity: 0; pointer-events: none; visibility: hidden;
}
@keyframes loaderEnd {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* Brillo dorado pulsante de fondo */
#loader::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  width: 600px; height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201,169,97,0.16), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  animation: loaderPulse 3.5s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.95); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* Stage central — anillo + tipografía superpuesta */
.loader-stage {
  position: relative;
  width: 280px; height: 280px;
  max-width: 60vw; max-height: 60vw;
  z-index: 2;
}
.loader-circle {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
  display: block;
}
.circle-track {
  fill: none;
  stroke: rgba(201, 169, 97, 0.15);
  stroke-width: 1.5;
}
.circle-fill {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 817;       /* 2 * PI * 130 */
  stroke-dashoffset: 817;
  filter: drop-shadow(0 0 10px rgba(201, 169, 97, 0.55));
  /* CSS rellena el anillo en 2.4s — sin depender de JS */
  animation: ringFillCss 2.4s cubic-bezier(0.25, 1, 0.32, 1) forwards;
}
@keyframes ringFillCss {
  to { stroke-dashoffset: 0; }
}
.loader-brand {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  pointer-events: none;
}
.brand-line {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ivory);
  margin-bottom: 6px;
  padding-left: 0.5em;
  opacity: 0;
  animation:
    brandIn 1s var(--ease-luxe) 0.2s forwards,
    letterOpen 1.6s var(--ease-luxe) 0.4s forwards;
}
@keyframes letterOpen { to { letter-spacing: 0.5em; } }
.brand-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 84px;
  font-weight: 300;
  line-height: 1;
  opacity: 0;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 35%, #fff5d4 50%, var(--gold-bright) 65%, var(--gold) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(201, 169, 97, 0.4));
  animation:
    brandIn 1s var(--ease-luxe) 0.5s forwards,
    numShine 2.6s var(--ease-luxe) 1.2s infinite,
    numBreathe 3.4s ease-in-out 0.8s infinite;
}
@keyframes numShine {
  0%   { background-position: 220% 0; }
  60%  { background-position: -220% 0; }
  100% { background-position: -220% 0; }
}
@keyframes numBreathe {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 22px rgba(201,169,97,0.4)); }
  50%      { transform: scale(1.045); filter: drop-shadow(0 0 36px rgba(224,192,116,0.7)); }
}
.brand-divider {
  width: 36px; height: 1px;
  background: var(--gold);
  margin: 12px 0;
  transform: scaleX(0);
  animation: divIn 0.8s var(--ease-luxe) 0.8s forwards;
  transform-origin: center;
}
@keyframes brandIn { to { opacity: 1; } }
@keyframes divIn { to { transform: scaleX(1); } }

.loader-words {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ivory-dim);
  letter-spacing: 0.18em;
  z-index: 2;
  opacity: 0;
  filter: blur(8px);
  animation:
    brandIn 1s var(--ease-luxe) 1s forwards,
    wordsBlurIn 1.4s var(--ease-luxe) 1s forwards;
  text-align: center;
  padding: 0 var(--gutter);
}
@keyframes wordsBlurIn { to { filter: blur(0); } }

/* Anillos decorativos extra del loader (rotación inversa) */
.loader-stage::before {
  content: '';
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  border: 1px dashed rgba(201, 169, 97, 0.15);
  animation: stageRotate 18s linear infinite;
  pointer-events: none;
}
.loader-stage::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border-top: 1px solid rgba(224, 192, 116, 0.55);
  border-right: 1px solid transparent;
  border-bottom: 1px solid transparent;
  border-left: 1px solid transparent;
  filter: blur(0.4px);
  animation: stageRotate 5.2s linear reverse infinite;
  pointer-events: none;
}
@keyframes stageRotate { to { transform: rotate(360deg); } }
.loader-percent {
  position: absolute;
  bottom: 50px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.45em;
  color: var(--gold);
  font-weight: 500;
  z-index: 2;
  opacity: 0;
  animation: brandIn 0.8s var(--ease-luxe) 0.6s forwards;
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: padding 0.4s var(--ease-soft);
}
/* El backdrop va en un pseudo para NO crear containing-block — así .nav-links
   con position: fixed sigue anclándose al viewport en móvil. */
.nav::before {
  content: '';
  position: absolute; inset: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease-soft), border-color 0.4s;
  z-index: -1;
  pointer-events: none;
}
.nav.scrolled::before, .nav.solid::before {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--line);
}
.nav.scrolled, .nav.solid { padding: 14px var(--gutter); }
.nav-logo {
  font-family: var(--display);
  font-size: 24px; font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--ivory);
  display: flex; align-items: center; gap: 14px;
  white-space: nowrap;
}
.nav-logo .num { color: var(--gold); font-weight: 600; font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1; }
.nav-logo .logo-text { display: inline-flex; align-items: baseline; gap: 6px; }
.nav-logo:hover .num { transform: translateY(-2px); transition: transform 0.4s var(--ease-luxe); }
.nav-links {
  display: flex; gap: 36px;
  list-style: none; align-items: center;
}
.nav-links a {
  font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  font-weight: 400;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.4s var(--ease-luxe);
}
.nav-links a:hover, .nav-links a.active { color: var(--ivory); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 10px 22px;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s;
}
.nav-cta:hover { background: var(--gold); color: var(--black); }
.nav-toggle {
  display: none;
  width: 32px; height: 22px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  z-index: 110;
}
.nav-toggle span {
  display: block; width: 100%; height: 1.5px;
  background: var(--ivory);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.5s var(--ease-luxe), opacity 0.3s, background 0.3s, width 0.4s var(--ease-luxe);
}
.nav-toggle span:nth-child(2) { width: 70%; align-self: flex-end; }
.nav-toggle:hover span { background: var(--gold); }
.nav-toggle:hover span:nth-child(2) { width: 100%; }
.nav.open .nav-toggle span { background: var(--gold); width: 100%; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* Backdrop tras el menú abierto */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-luxe);
  z-index: 99;
}
body.nav-open .nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}
body.nav-open { overflow: hidden; }

/* ============ BUTTONS ============ */
.btn-primary, .btn-ghost {
  padding: 18px 40px;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.4s var(--ease-luxe);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.btn-primary {
  background: var(--gold);
  color: var(--black);
  border: 1px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--gold-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-arrow {
  width: 14px; height: 1px;
  background: currentColor;
  position: relative;
  transition: transform 0.4s var(--ease-luxe);
}
.btn-arrow::after {
  content: ''; position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn-primary:hover .btn-arrow,
.btn-ghost:hover .btn-arrow { transform: translateX(6px); }

/* ============ HERO HOME ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--black);
}
#hero-canvas { position: absolute; inset: 0; z-index: 1; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(10,10,10,0.5) 60%, var(--black) 100%);
  z-index: 2; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--black));
  z-index: 2; pointer-events: none;
}
.hero-content {
  position: relative; z-index: 3;
  text-align: center;
  padding: 0 var(--gutter);
  max-width: 1100px;
}
/* Animaciones del hero — 100% CSS (no dependen de JS) */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: var(--display);
  font-size: clamp(14px, 1.4vw, 18px);
  color: var(--ivory);
  letter-spacing: 0.5em;
  margin-bottom: 12px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 1s var(--ease-luxe) 3.0s forwards;
}
.hero-eyebrow .eyebrow-name {
  font-weight: 500;
  padding-left: 0.5em;
  background: linear-gradient(90deg, var(--ivory) 0%, var(--gold-bright) 50%, var(--ivory) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineSweep 3.4s var(--ease-luxe) 4.4s infinite;
}
.hero-eyebrow .eyebrow-name .em {
  font-style: italic;
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
}
.hero-eyebrow .eyebrow-line {
  width: 56px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  animation: eyebrowLineIn 1.2s var(--ease-luxe) 3.4s forwards;
}
@keyframes eyebrowLineIn { to { transform: scaleX(1); } }
@keyframes shineSweep {
  0%   { background-position: 200% 0; }
  60%  { background-position: -200% 0; }
  100% { background-position: -200% 0; }
}
.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(13px, 1.2vw, 16px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 1s var(--ease-luxe) 3.25s forwards;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 9vw, 124px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ivory);
  margin-bottom: 36px;
}
.hero h1 .em { font-style: italic; color: var(--gold); font-weight: 400; }
.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: top; }
.hero h1 .word > span {
  display: inline-block;
  transform: translateY(110%);
  animation: wordRiseIn 1.4s var(--ease-luxe) forwards;
}
.hero h1 .word:nth-of-type(1) > span { animation-delay: 3.4s; }
.hero h1 .word:nth-of-type(2) > span { animation-delay: 3.55s; }
.hero h1 .word:nth-of-type(3) > span { animation-delay: 3.7s; }
.hero h1 .word:nth-of-type(4) > span { animation-delay: 3.85s; }
.hero h1 .word:nth-of-type(5) > span { animation-delay: 4.0s; }
.hero p {
  max-width: 580px;
  margin: 0 auto 48px;
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--ivory-dim);
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 1s var(--ease-luxe) 4.4s forwards;
}
.hero-cta-group {
  display: flex; gap: 20px;
  justify-content: center; flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 1s var(--ease-luxe) 4.7s forwards;
}
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes wordRiseIn {
  to { transform: translateY(0); }
}
.scroll-indicator {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  font-size: 10px; letter-spacing: 0.3em;
  color: var(--ivory-dim);
  text-transform: uppercase;
  display: flex; flex-direction: column;
  align-items: center; gap: 14px;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease-luxe) 5s forwards;
}
.scroll-indicator::after {
  content: '';
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollDown 2.4s ease-in-out infinite;
}
@keyframes scrollDown {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

/* ============ PAGE HEADER (interior pages) ============ */
.page-header {
  position: relative;
  padding: 200px var(--gutter) 100px;
  text-align: center;
  background: linear-gradient(180deg, var(--black) 0%, var(--black-soft) 100%);
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 30%; left: 50%;
  width: 700px; height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--gold-glow), transparent 60%);
  opacity: 0.3;
  pointer-events: none;
  filter: blur(60px);
}
.page-header-eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
  letter-spacing: 0.3em;
  margin-bottom: 24px;
  text-transform: uppercase;
  position: relative; z-index: 2;
}
.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  position: relative; z-index: 2;
}
.page-header h1 .em { font-style: italic; color: var(--gold); font-weight: 400; }
.page-header p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 17px;
  color: var(--ivory-dim);
  position: relative; z-index: 2;
}
.breadcrumb {
  position: relative; z-index: 2;
  margin-top: 30px;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); margin: 0 12px; }

/* ============ SECTION GLOBAL ============ */
section { position: relative; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section-pad { padding: clamp(80px, 12vw, 160px) 0; }
.section-pad-sm { padding: clamp(60px, 8vw, 100px) 0; }

.section-header {
  text-align: center;
  margin-bottom: 80px;
}
.section-eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: '';
  width: 30px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.section-title .em { font-style: italic; color: var(--gold); font-weight: 400; }
.section-lead {
  font-size: 17px;
  color: var(--ivory-dim);
  max-width: 620px;
  margin: 0 auto;
}

/* ============ SERVICES GRID ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  perspective: 1500px;
}
.service-card {
  position: relative;
  background: linear-gradient(165deg, rgba(26,26,26,0.9), rgba(15,15,15,0.95));
  border: 1px solid var(--line);
  padding: 48px 32px 40px;
  transition: transform 0.6s var(--ease-luxe), border-color 0.4s;
  transform-style: preserve-3d;
  overflow: hidden;
  will-change: transform;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(201,169,97,0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.service-card:hover { border-color: var(--gold); }
.service-card:hover::before { opacity: 1; }
.service-num {
  font-family: var(--display);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.3em;
  margin-bottom: 28px;
  opacity: 0.7;
}
.service-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
  color: var(--gold);
  transition: transform 0.6s var(--ease-luxe);
}
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.1); }
.service-icon svg { width: 100%; height: 100%; }
.service-name {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--ivory);
}
.service-desc {
  font-size: 14px;
  color: var(--ivory-dim);
  line-height: 1.7;
  margin-bottom: 24px;
}
.service-link {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: gap 0.4s var(--ease-luxe);
}
.service-link:hover { gap: 16px; }

/* ============ FEATURE / SPLIT BLOCKS ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.flip { direction: rtl; }
.split.flip > * { direction: ltr; }
.split-img {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
}
.split-img.gold {
  background:
    linear-gradient(135deg, rgba(10,10,10,0.45), rgba(140,115,64,0.45)),
    url('../img/salon-2.jpg') center/cover no-repeat;
}
.split-img.dark {
  background:
    linear-gradient(135deg, rgba(10,10,10,0.55), rgba(26,20,16,0.65)),
    url('../img/salon-1.jpg') center/cover no-repeat;
}
.split-img.gold .label-big,
.split-img.dark .label-big { color: rgba(245,241,234,0.18); }
.split-img::after {
  content: '';
  position: absolute; inset: 16px;
  border: 1px solid var(--line);
  pointer-events: none;
}
.split-img .label-big {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(80px, 14vw, 200px);
  color: rgba(245,241,234,0.08);
  font-weight: 300;
  letter-spacing: -0.05em;
  pointer-events: none;
}
.split-content .split-eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.split-content h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 24px;
}
.split-content h2 .em { font-style: italic; color: var(--gold); font-weight: 400; }
.split-content p {
  color: var(--ivory-dim);
  font-size: 16px;
  margin-bottom: 18px;
}
.split-content .meta-list {
  list-style: none;
  margin: 28px 0;
  padding: 0;
}
.split-content .meta-list li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.split-content .meta-list li:last-child { border-bottom: 1px solid var(--line); }
.split-content .meta-list .k { color: var(--ivory-dim); letter-spacing: 0.1em; text-transform: uppercase; font-size: 11px; }
.split-content .meta-list .v { color: var(--ivory); font-family: var(--serif); font-style: italic; font-size: 17px; }

/* ============ TEAM ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.team-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: border-color 0.4s, transform 0.6s var(--ease-luxe);
}
.team-card:hover { border-color: var(--gold); transform: translateY(-6px); }
.team-card-img {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
}
.team-card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.9), transparent 50%);
}
.team-card-info {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  z-index: 2;
}
.team-card-name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ivory);
  margin-bottom: 4px;
}
.team-card-role {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* ============ GALLERY ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--black-card);
  cursor: pointer;
}
.gallery-item.span-7 { grid-column: span 7; aspect-ratio: 16/11; }
.gallery-item.span-5 { grid-column: span 5; aspect-ratio: 16/15; }
.gallery-item.span-4 { grid-column: span 4; aspect-ratio: 4/5; }
.gallery-item.span-6 { grid-column: span 6; aspect-ratio: 16/11; }
.gallery-item.span-12 { grid-column: span 12; aspect-ratio: 16/8; }
.gallery-thumb {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.4s var(--ease-luxe);
}
.gallery-item:hover .gallery-thumb { transform: scale(1.06); }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.1) 50%, transparent 100%);
  pointer-events: none;
}
.gallery-tag {
  position: absolute;
  bottom: 24px; left: 24px;
  z-index: 2;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ivory);
  font-size: 18px;
}
.gallery-tag span {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* ============ MARCAS ============ */
.brands-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 50px;
}
.brand {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: 0.3em;
  color: var(--ivory-dim);
  opacity: 0.6;
  transition: opacity 0.4s, color 0.4s, transform 0.4s var(--ease-luxe);
}
.brand:hover { opacity: 1; color: var(--gold); transform: translateY(-3px); }
.brand-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  max-width: 180px;
  opacity: 0.5;
  filter: grayscale(0.3) brightness(0.95);
  transition: opacity 0.5s, filter 0.5s, transform 0.5s var(--ease-luxe);
}
.brand-img img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}
.brand-img:hover {
  opacity: 1;
  filter: grayscale(0) brightness(1.1);
  transform: translateY(-4px) scale(1.05);
}

/* ============ TESTIMONIOS ============ */
.reviews-rating { text-align: center; margin-bottom: 80px; }
.stars-row { display: flex; justify-content: center; gap: 6px; margin-bottom: 14px; }
.stars-row svg { width: 22px; height: 22px; fill: var(--gold); }
.rating-num {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 300;
  color: var(--ivory);
  line-height: 1;
  margin-bottom: 8px;
}
.rating-num span { color: var(--gold); }
.rating-meta {
  font-size: 12px;
  color: var(--ivory-dim);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial {
  background: var(--black-card);
  border: 1px solid var(--line);
  padding: 40px 32px;
  position: relative;
  transition: border-color 0.4s, transform 0.5s var(--ease-luxe);
}
.testimonial:hover { border-color: var(--gold); transform: translateY(-4px); }
.testimonial::before {
  content: '"';
  position: absolute; top: 0; right: 24px;
  font-family: var(--serif);
  font-size: 90px; color: var(--gold);
  opacity: 0.3; line-height: 1;
}
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 20px; }
.testimonial-stars svg { width: 14px; height: 14px; fill: var(--gold); }
.testimonial-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ivory);
  margin-bottom: 28px;
  font-weight: 300;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold-bright));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-size: 16px; color: var(--black); font-weight: 600;
}
.author-name { font-size: 14px; color: var(--ivory); font-weight: 500; margin-bottom: 2px; }
.author-source { font-size: 11px; color: var(--ivory-dim); letter-spacing: 0.15em; text-transform: uppercase; }

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info-block { margin-bottom: 36px; }
.contact-info-block .label {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.contact-info-block .value {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--ivory);
  font-weight: 300;
  line-height: 1.4;
}
.contact-info-block .value a:hover { color: var(--gold); }

/* ============ CONTACT CARDS (rediseño) ============ */
.contact-cards {
  display: grid;
  gap: 14px;
}
.contact-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  background: linear-gradient(135deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid var(--line);
  border-radius: 16px;
  transition:
    transform 0.5s var(--ease-luxe),
    border-color 0.4s,
    background 0.4s,
    box-shadow 0.6s var(--ease-luxe);
  overflow: hidden;
  isolation: isolate;
}
.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(201,169,97,0.08), rgba(201,169,97,0.02));
  box-shadow: 0 18px 40px -18px rgba(201,169,97,0.4);
}
.contact-card.static { cursor: default; }
.contact-card.static:hover {
  transform: none;
  border-color: var(--line);
  background: linear-gradient(135deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  box-shadow: none;
}

/* Brillo dorado que cruza al hover */
.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201,169,97,0.10), transparent);
  transition: left 0.8s var(--ease-luxe);
  pointer-events: none;
  z-index: 0;
}
.contact-card:hover::before { left: 100%; }
.contact-card.static::before { display: none; }

.contact-card-icon {
  position: relative;
  z-index: 1;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(201,169,97,0.08);
  border: 1px solid rgba(201,169,97,0.22);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.4s, transform 0.5s var(--ease-luxe), border-color 0.4s;
}
.contact-card:hover:not(.static) .contact-card-icon {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.06) rotate(-4deg);
}
.contact-card-icon svg {
  width: 20px; height: 20px;
  color: var(--gold);
  transition: color 0.4s;
}
.contact-card:hover:not(.static) .contact-card-icon svg { color: var(--black); }

.contact-card-meta {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}
.contact-card-label {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 500;
}
.contact-card-value {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 22px);
  color: var(--ivory);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.01em;
  word-break: break-word;
}
.contact-card-sub {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ivory-dim);
  margin-top: 4px;
}
.contact-card-cta {
  position: relative;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  flex-shrink: 0;
  font-family: var(--display);
  font-weight: 500;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s, transform 0.4s var(--ease-luxe);
}
.contact-card:hover:not(.static) .contact-card-cta {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 600px) {
  .contact-card { padding: 16px 18px; gap: 14px; }
  .contact-card-icon { width: 42px; height: 42px; }
  .contact-card-icon svg { width: 17px; height: 17px; }
  .contact-card-cta { display: none; }
}
.form { display: grid; gap: 24px; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 16px 0;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ivory);
  transition: border-color 0.3s;
}
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23c9a961' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
}
.field select option { background: var(--black-card); color: var(--ivory); }
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field label {
  position: absolute;
  top: 16px; left: 0;
  font-size: 13px;
  color: var(--ivory-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
  transition: all 0.3s var(--ease-luxe);
}
.field input:focus ~ label,
.field input:not(:placeholder-shown) ~ label,
.field select:focus ~ label,
.field select:valid ~ label,
.field textarea:focus ~ label,
.field textarea:not(:placeholder-shown) ~ label {
  top: -8px; font-size: 10px; color: var(--gold);
}
.form .btn-primary { justify-self: start; margin-top: 12px; }

.map-block {
  margin-top: 80px;
  height: 360px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.map-block iframe { width: 100%; height: 100%; border: 0; filter: invert(0.9) hue-rotate(180deg) grayscale(0.4); }

/* ============ CTA BLOCK (interior pages) ============ */
.cta-block {
  text-align: center;
  padding: clamp(70px, 10vw, 130px) var(--gutter);
  background: linear-gradient(180deg, var(--black) 0%, var(--black-soft) 100%);
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 800px; height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--gold-glow), transparent 60%);
  opacity: 0.2;
  filter: blur(60px);
  pointer-events: none;
}
.cta-block h2 {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 20px;
}
.cta-block h2 .em { font-style: italic; color: var(--gold); font-weight: 400; }
.cta-block p {
  position: relative;
  color: var(--ivory-dim);
  margin-bottom: 36px;
  font-size: 17px;
}
.cta-buttons {
  position: relative;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ HOME-SPECIFIC PREVIEW BLOCKS ============ */
.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.preview-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--black-card);
  border: 1px solid var(--line);
  display: flex; align-items: flex-end;
  padding: 40px;
  transition: border-color 0.4s;
}
.preview-card:hover { border-color: var(--gold); }
.preview-card::before {
  content: '';
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background: var(--bg);
  transition: transform 1.4s var(--ease-luxe);
}
.preview-card:hover::before { transform: scale(1.04); }
.preview-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.4) 50%, transparent 100%);
}
.preview-card-content { position: relative; z-index: 2; max-width: 380px; }
.preview-card .eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.preview-card h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--ivory);
}
.preview-card p {
  color: var(--ivory-dim);
  font-size: 14px;
  margin-bottom: 18px;
}
.preview-card .arrow-link {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: gap 0.4s var(--ease-luxe);
}
.preview-card:hover .arrow-link { gap: 16px; }

/* ============ WHATSAPP FLOAT ============ */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(37,211,102,0.4);
  transition: transform 0.4s var(--ease-luxe);
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; fill: white; }
.wa-float::before {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: wa-pulse 2s infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ============ FOOTER ============ */
footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  padding: 80px var(--gutter) 30px;
}
.footer-grid {
  max-width: var(--container);
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: var(--ivory-dim);
  font-size: 14px;
  transition: color 0.3s;
}
.footer-col ul a:hover { color: var(--gold); }
.footer-col p { color: var(--ivory-dim); font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-logo {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.3em;
  color: var(--ivory);
  margin-bottom: 14px;
  display: inline-block;
}
.footer-logo span { color: var(--gold); }
.footer-logo img {
  height: 80px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
  filter: brightness(1.15) contrast(1.1);
}
.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  margin-bottom: 18px;
  font-size: 14px;
}
.footer-social {
  display: flex; gap: 14px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.footer-social svg { width: 14px; height: 14px; }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--ivory-dim);
  letter-spacing: 0.05em;
}
.footer-bottom span { color: var(--gold); }

/* ============ REVEAL HELPERS ============ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-luxe), transform 1s var(--ease-luxe); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Variantes con dirección y stagger por nth-child */
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 1s var(--ease-luxe), transform 1s var(--ease-luxe); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 1s var(--ease-luxe), transform 1s var(--ease-luxe); }
.reveal-zoom { opacity: 0; transform: scale(0.94); transition: opacity 1s var(--ease-luxe), transform 1s var(--ease-luxe); }
.reveal-left.in, .reveal-right.in, .reveal-zoom.in { opacity: 1; transform: none; }

.reveal-stagger > * { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease-luxe), transform 0.9s var(--ease-luxe); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.45s; opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.55s; opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(n+7) { transition-delay: 0.65s; opacity: 1; transform: none; }

/* ============ ANIMACIONES PÁGINAS INTERNAS ============ */
/* Page-header: entrada en cascada al cargar */
.page-header > * { animation: phFadeUp 1.1s var(--ease-luxe) both; }
.page-header .page-header-eyebrow { animation-delay: 0.15s; }
.page-header h1 { animation-delay: 0.30s; }
.page-header p { animation-delay: 0.55s; }
.page-header .breadcrumb { animation-delay: 0.75s; }
@keyframes phFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
/* Línea decorativa que cruza el page-header */
.page-header::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 32px;
  width: 1px; height: 0;
  background: linear-gradient(to bottom, transparent, var(--gold));
  transform: translateX(-50%);
  animation: phLineGrow 1.2s var(--ease-luxe) 1s forwards;
}
@keyframes phLineGrow { to { height: 60px; } }
/* Glow del page-header con respiración */
.page-header::before {
  animation: phGlow 6s ease-in-out infinite;
}
@keyframes phGlow {
  0%, 100% { opacity: 0.25; transform: translateX(-50%) scale(0.95); }
  50%      { opacity: 0.45; transform: translateX(-50%) scale(1.05); }
}

/* Service-card: entrada con stagger automático */
.services-grid .service-card {
  opacity: 0;
  transform: translateY(40px);
  animation: cardRiseIn 1s var(--ease-luxe) forwards;
}
.services-grid .service-card:nth-child(1) { animation-delay: 0.20s; }
.services-grid .service-card:nth-child(2) { animation-delay: 0.35s; }
.services-grid .service-card:nth-child(3) { animation-delay: 0.50s; }
.services-grid .service-card:nth-child(4) { animation-delay: 0.65s; }
.services-grid .service-card:nth-child(5) { animation-delay: 0.80s; }
.services-grid .service-card:nth-child(6) { animation-delay: 0.95s; }
@keyframes cardRiseIn { to { opacity: 1; transform: none; } }

/* Glow lateral en service-card al hacer hover */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(201,169,97,0.10), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.service-card:hover::after { opacity: 1; }

/* Preview-card: zoom-glow al hover */
.preview-card { transition: transform 0.6s var(--ease-luxe), border-color 0.4s, box-shadow 0.6s; }
.preview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(201,169,97,0.25);
}
/* Underline animada en arrow-link */
.preview-card .arrow-link { position: relative; }
.preview-card .arrow-link::after {
  content: '';
  position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.5s var(--ease-luxe);
}
.preview-card:hover .arrow-link::after { width: 100%; }

/* Botones primary/ghost con sweep dorado */
.btn-primary, .btn-ghost {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary::before, .btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,247,218,0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-luxe);
  z-index: -1;
}
.btn-primary:hover::before, .btn-ghost:hover::before { transform: translateX(120%); }
.btn-arrow {
  display: inline-block;
  transition: transform 0.4s var(--ease-luxe);
}
.btn-primary:hover .btn-arrow,
.btn-ghost:hover .btn-arrow,
.service-link:hover .btn-arrow { transform: translateX(6px); }

/* Gallery: zoom + brillo dorado en hover */
.gallery-item {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  animation: galleryIn 1s var(--ease-luxe) forwards;
}
.gallery-item:nth-child(1) { animation-delay: 0.10s; }
.gallery-item:nth-child(2) { animation-delay: 0.20s; }
.gallery-item:nth-child(3) { animation-delay: 0.30s; }
.gallery-item:nth-child(4) { animation-delay: 0.40s; }
.gallery-item:nth-child(5) { animation-delay: 0.50s; }
.gallery-item:nth-child(6) { animation-delay: 0.60s; }
.gallery-item:nth-child(n+7) { animation-delay: 0.70s; }
@keyframes galleryIn { to { opacity: 1; transform: none; } }
.gallery-thumb { transition: transform 0.8s var(--ease-luxe), filter 0.5s; }
.gallery-item:hover .gallery-thumb { filter: brightness(1.08) saturate(1.05); }

/* Brand-card / cards en color/alisados: float sutil */
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.brand-card, .stat-card, .price-card {
  animation: floatSoft 6s ease-in-out infinite;
}
.brand-card:nth-child(2n) { animation-delay: -1.5s; }
.brand-card:nth-child(3n) { animation-delay: -3s; }

/* Nav links: underline dorada animada */
.nav-links a { position: relative; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-luxe), left 0.4s var(--ease-luxe);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; left: 0; }

/* Section-title: subrayado dorado animado al ser visible */
.section-header.in .section-title::after {
  content: '';
  display: block;
  width: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 26px auto 0;
  animation: titleLine 1.2s var(--ease-luxe) 0.4s forwards;
}
@keyframes titleLine { to { width: 200px; } }

/* Footer entrada con fade desde abajo */
footer .footer-grid > * {
  opacity: 0;
  transform: translateY(20px);
  animation: phFadeUp 1s var(--ease-luxe) forwards;
}
footer .footer-grid > *:nth-child(1) { animation-delay: 0.10s; }
footer .footer-grid > *:nth-child(2) { animation-delay: 0.20s; }
footer .footer-grid > *:nth-child(3) { animation-delay: 0.30s; }
footer .footer-grid > *:nth-child(4) { animation-delay: 0.40s; }

/* ============ ACCESIBILIDAD: REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 340px);
    background: linear-gradient(135deg, #0d0d0d 0%, #181410 100%);
    flex-direction: column;
    padding: 110px 44px 60px;
    transform: translateX(100%);
    transition:
      transform 0.7s var(--ease-luxe),
      box-shadow 0.7s var(--ease-luxe);
    border-left: 1px solid var(--line);
    align-items: flex-start;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 105;
  }
  .nav.open .nav-links {
    transform: translateX(0);
    box-shadow: -30px 0 80px -10px rgba(0,0,0,0.7);
  }
  /* Glow dorado decorativo dentro del panel */
  .nav-links::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(201,169,97,0.18), transparent 65%);
    filter: blur(40px);
    pointer-events: none;
  }
  /* Línea decorativa vertical */
  .nav-links::after {
    content: '';
    position: absolute;
    left: 44px; top: 100px;
    width: 1px; height: 0;
    background: linear-gradient(to bottom, var(--gold), transparent);
    transition: height 0.8s var(--ease-luxe) 0.2s;
  }
  .nav.open .nav-links::after { height: calc(100% - 200px); }

  .nav-links li {
    width: 100%;
    list-style: none;
    border-bottom: 1px solid rgba(245,241,234,0.06);
    padding: 18px 0;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s var(--ease-luxe), transform 0.7s var(--ease-luxe);
  }
  .nav-links li:last-child { border-bottom: none; }
  .nav.open .nav-links li { opacity: 1; transform: translateX(0); }
  .nav.open .nav-links li:nth-child(1) { transition-delay: 0.20s; }
  .nav.open .nav-links li:nth-child(2) { transition-delay: 0.28s; }
  .nav.open .nav-links li:nth-child(3) { transition-delay: 0.36s; }
  .nav.open .nav-links li:nth-child(4) { transition-delay: 0.44s; }
  .nav.open .nav-links li:nth-child(5) { transition-delay: 0.52s; }
  .nav.open .nav-links li:nth-child(6) { transition-delay: 0.60s; }
  .nav.open .nav-links li:nth-child(7) { transition-delay: 0.68s; }
  .nav-links a {
    font-size: 14px;
    letter-spacing: 0.28em;
    padding-left: 18px;
    display: block;
    transition: color 0.3s, padding-left 0.4s var(--ease-luxe);
  }
  .nav-links a:hover, .nav-links a.active { padding-left: 26px; color: var(--gold); }
  .nav-links a::after { display: none; }

  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  /* CTA Reservar visible dentro del menú móvil abierto */
  .nav.open .nav-cta {
    display: inline-flex;
    position: fixed;
    right: 44px;
    bottom: 40px;
    z-index: 106;
    animation: ctaFadeIn 0.6s var(--ease-luxe) 0.8s both;
  }
  @keyframes ctaFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.flip { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .preview-grid { grid-template-columns: 1fr; }
  .gallery-item.span-7,
  .gallery-item.span-5 { grid-column: span 12; }
  .gallery-item.span-4 { grid-column: span 6; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-header { padding: 160px var(--gutter) 80px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 56px; }
  .gallery-item.span-4,
  .gallery-item.span-6 { grid-column: span 12; }
  .nav { padding: 16px var(--gutter); }
  .nav-logo { font-size: 18px; letter-spacing: 0.18em; gap: 8px; }
  .nav-logo .num { font-size: 22px; }
  .wa-float { width: 54px; height: 54px; bottom: 20px; right: 20px; }
}
@media (max-width: 380px) {
  .nav-logo { font-size: 16px; letter-spacing: 0.12em; }
  .nav-logo .num { font-size: 19px; }
}
