/* ── Variables ──────────────────────────────────────────────────────────── */
:root {
  --negro:   #161513;   /* texto principal / fondo oscuro puntual (footer) */
  --petro:   #0F3D3E;
  --petro2:  #0a2829;
  --beige:   #E8DFD6;   /* texto claro sobre fondos oscuros */
  --crema:   #F6F2EC;   /* fondo claro alterno de secciones */
  --blanco:  #FFFFFF;   /* fondo principal */
  --oliva:   #4B5A46;
  --dorado:  #C6A96B;   /* acento — botones, bordes, fondos */
  --dorado2: #E8C98A;
  --dorado-deep: #9C7D45; /* acento legible sobre blanco (texto pequeño) */
  --gris:    #8A8780;
  --tinta:   rgba(22,21,19,0.62); /* texto secundario sobre fondo claro */

  /* Curvas de animación — más "punch" que las nativas del navegador */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ── Reset & Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--blanco); color: var(--negro); overflow-x: hidden; }

/* ── Scrollbar ──────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--crema); }
::-webkit-scrollbar-thumb { background: var(--dorado); }

/* ── Nav ────────────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 26px 60px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
nav.scrolled {
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px);
  padding: 16px 60px;
  box-shadow: 0 1px 0 rgba(22,21,19,0.06);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 600;
  color: var(--negro); letter-spacing: 0.15em;
  text-decoration: none;
}
.nav-logo span { color: var(--dorado-deep); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(22,21,19,0.65); text-decoration: none;
  transition: color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0;
  height: 1px; background: var(--dorado-deep);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover { color: var(--dorado-deep); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-cta {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--dorado-deep); border: 1px solid var(--dorado);
  padding: 8px 22px; text-decoration: none;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.15s var(--ease-out);
  border-radius: 2px;
}
.nav-cta:hover { background: var(--dorado); color: var(--negro); border-color: var(--dorado); }
.nav-cta:active { transform: scale(0.97); }

/* ── Hamburger ──────────────────────────────────────────────────────────── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 4px; z-index: 201;
}
.hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--negro);
  transition: transform 0.35s var(--ease-in-out), background 0.35s ease, opacity 0.35s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.hamburger.open span { background: var(--beige); }

/* ── Mobile Menu ────────────────────────────────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,9,8,0.97);
  backdrop-filter: blur(18px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-nav-links {
  list-style: none;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
}
.mobile-nav-links a {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 300;
  color: var(--beige); text-decoration: none;
  letter-spacing: 0.03em;
  opacity: 0; transform: translateY(24px);
  transition: color 0.2s ease, opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.mobile-menu.open .mobile-nav-links a { opacity: 1; transform: translateY(0); }
.mobile-nav-links li:nth-child(1) a { transition-delay: 0.08s; }
.mobile-nav-links li:nth-child(2) a { transition-delay: 0.14s; }
.mobile-nav-links li:nth-child(3) a { transition-delay: 0.20s; }
.mobile-nav-links li:nth-child(4) a { transition-delay: 0.26s; }
.mobile-nav-links li:nth-child(5) a { transition-delay: 0.32s; }
.mobile-nav-links a:hover { color: var(--dorado); }
.mobile-cta {
  color: var(--dorado) !important;
  border: 1px solid rgba(198,169,107,0.4);
  padding: 10px 32px;
  font-size: 1.4rem !important;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 140px 60px 80px;
  background: var(--blanco);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('/static/hero.jpg') center/cover no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(165deg, rgba(255,255,255,0.50) 0%, rgba(251,248,243,0.58) 55%, rgba(246,242,236,0.65) 100%);
  pointer-events: none;
}

/* Soft floating accent blobs — light theme */
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none;
}
.hero-orb-1 {
  width: 60vw; height: 55vh;
  background: rgba(198,169,107,0.14);
  top: 10%; right: 0%;
  animation: orbFloat1 14s ease-in-out infinite;
}
.hero-orb-2 {
  width: 40vw; height: 40vh;
  background: rgba(75,90,70,0.08);
  bottom: 0%; left: -5%;
  animation: orbFloat2 18s ease-in-out infinite;
}
.hero-orb-3 {
  width: 26vw; height: 26vh;
  background: rgba(198,169,107,0.10);
  top: 4%; left: 30%;
  animation: orbFloat3 22s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-4%, 8%) scale(1.05); }
  66% { transform: translate(6%, -5%) scale(0.95); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10%, -10%); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-8%, 6%) scale(1.15); }
}

/* Hero video (for when video is available) */
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.16; z-index: 0;
}

/* Hero decorative lines */
.hero-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--dorado), transparent);
  height: 1px; opacity: 0.3;
  animation: lineReveal 1.8s ease forwards; transform: scaleX(0);
}
.hero-line-1 { width: 300px; top: 22%; left: 5%; animation-delay: 0.8s; }
.hero-line-2 { width: 180px; bottom: 14%; right: 8%; animation-delay: 1.1s; }
@keyframes lineReveal { to { transform: scaleX(1); } }

/* Hero split layout: text left, photo right */
.hero-split-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  width: 100%;
  max-width: 1280px;
  gap: 56px;
}

/* Hero content */
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-content-left { text-align: center; max-width: 560px; }

/* Hero eyebrow */
.hero-eyebrow {
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--negro); margin-bottom: 28px;
  display: flex; align-items: center; gap: 16px;
  opacity: 0;
  animation: heroFadeUp 0.7s var(--ease-out) 0.3s forwards;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--dorado); opacity: 0.8; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero title word-by-word stagger */
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.9rem, 6vw, 4.8rem);
  font-weight: 300; line-height: 1.08;
  color: var(--negro); margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.hero-title em { font-style: italic; color: var(--dorado-deep); font-weight: 300; }
.hw {
  display: inline-block;
  opacity: 0; transform: translateY(20px);
  animation: heroWordReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes heroWordReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* Subtitle + actions: revealed by JS after words */
.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 300; font-style: italic;
  color: var(--negro); margin-bottom: 40px; letter-spacing: 0.02em;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.hero-subtitle.hero-visible { opacity: 1; transform: translateY(0); }
.hero-actions {
  display: flex; gap: 16px; justify-content: flex-start; flex-wrap: wrap;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.7s var(--ease-out) 0.15s, transform 0.7s var(--ease-out) 0.15s;
}
.hero-actions.hero-visible { opacity: 1; transform: translateY(0); }

/* Hero photo column (totem real, lado derecho) */
.hero-photo-col {
  position: relative; z-index: 2;
  display: none; justify-content: center;
}
.hero-photo-wrap {
  position: relative;
  width: 100%; max-width: 460px;
}
.hero-photo-frame {
  position: relative;
  animation: totemFloat 7s ease-in-out infinite;
}
.hero-photo-frame img {
  display: block; width: 100%; height: auto;
  object-fit: contain; aspect-ratio: 3 / 4;
  filter: drop-shadow(0 4px 10px rgba(22,21,19,0.16)) drop-shadow(0 22px 34px rgba(22,21,19,0.16));
}
@keyframes totemFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

/* Buttons */
.btn-primary {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  background: var(--negro); color: var(--blanco);
  padding: 16px 36px; text-decoration: none;
  transition: background 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), transform 0.15s var(--ease-out);
  display: inline-block;
  border-radius: 2px;
}
.btn-primary:hover { background: var(--dorado-deep); box-shadow: 0 12px 36px rgba(156,125,69,0.2); }
.btn-primary:active { transform: scale(0.97); }
.btn-secondary {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  border: 1.5px solid rgba(22,21,19,0.12); color: var(--negro);
  padding: 16px 36px; text-decoration: none;
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out), background 0.2s var(--ease-out), transform 0.15s var(--ease-out);
  display: inline-block;
  border-radius: 2px;
  background: transparent;
}
.btn-secondary:hover { border-color: var(--dorado-deep); color: var(--dorado-deep); background: rgba(156, 125, 69, 0.04); }
.btn-secondary:active { transform: scale(0.97); }

/* ── Sections ───────────────────────────────────────────────────────────── */
section { padding: 130px 72px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--dorado-deep);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 14px;
}
.section-label::after { content: ''; flex: 1; max-width: 60px; height: 1px; background: var(--dorado); opacity: 0.4; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 300; line-height: 1.12;
  color: var(--negro); margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--dorado-deep); }
.section-body { font-size: 0.95rem; font-weight: 400; line-height: 1.85; color: var(--tinta); max-width: 540px; }

/* ── Cómo funciona ──────────────────────────────────────────────────────── */
#como { background: var(--crema); position: relative; overflow: hidden; }
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0; margin-top: 60px; position: relative;
}
.step {
  padding: 0 32px 0 0; position: relative;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.step.visible { opacity: 1; transform: translateY(0); }
.step:last-child { padding-right: 0; }
.feature-icon {
  color: var(--dorado-deep); margin-bottom: 16px; display: inline-block;
  transition: transform 0.35s var(--ease-out);
}
.feature-icon svg { width: 36px; height: 36px; }
@media (hover: hover) and (pointer: fine) {
  .step:hover .feature-icon { transform: translateY(-4px) scale(1.05); }
}
.step-num {
  font-family: 'Playfair Display', serif; font-size: 3.8rem;
  font-weight: 300; color: rgba(198,169,107,0.25);
  line-height: 1; margin-bottom: 8px; position: relative;
  display: inline-block;
}
.step-num::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 28px; height: 2px; background: var(--dorado); }
.step-title { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 600; color: var(--negro); margin: 20px 0 10px; letter-spacing: 0.02em; }
.step-desc { font-size: 0.9rem; font-weight: 400; line-height: 1.75; color: var(--tinta); }

/* ── Servicios ──────────────────────────────────────────────────────────── */
#servicios { background: var(--blanco); }
.planes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 60px; background: rgba(22,21,19,0.08); border: 1px solid rgba(22,21,19,0.08); }
.plan {
  background: var(--blanco); padding: 48px 36px; position: relative; cursor: default;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, background 0.4s ease;
}
.plan.visible { opacity: 1; transform: translateY(0); }
.plan:hover { background: var(--crema); }
.plan.featured { background: #FBF6EC; }
.plan.featured:hover { background: #F8EFDC; }
.plan-badge { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--negro); background: var(--dorado); padding: 4px 12px; display: inline-block; margin-bottom: 24px; }
.plan-name { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 300; color: var(--negro); margin-bottom: 12px; letter-spacing: 0.03em; }
.plan-desc { font-size: 0.9rem; font-weight: 400; color: var(--tinta); margin-bottom: 32px; line-height: 1.6; }
.plan-divider { height: 1px; background: rgba(198,169,107,0.3); margin-bottom: 28px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.plan-features li { font-size: 0.9rem; font-weight: 400; color: rgba(22,21,19,0.75); display: flex; gap: 12px; align-items: flex-start; }
.plan-features li::before { content: '—'; color: var(--dorado-deep); flex-shrink: 0; margin-top: 1px; }
.plan-cta { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; color: var(--dorado-deep); border: 1px solid rgba(198,169,107,0.5); padding: 12px 24px; text-decoration: none; display: inline-block; transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.15s var(--ease-out); }
.plan-cta:hover { background: var(--dorado); color: var(--negro); border-color: var(--dorado); }
.plan-cta:active { transform: scale(0.97); }
.plan.featured .plan-cta { background: var(--dorado); color: var(--negro); border-color: var(--dorado); }
.plan.featured .plan-cta:hover { background: var(--dorado2); border-color: var(--dorado2); }

/* ── Servicios — sección creativa ───────────────────────────────────────── */

.srv-price-hero {
  text-align: center;
  margin: 52px 0 0;
  padding: 24px 0 8px;
}
.srv-price-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(22,21,19,0.45);
  margin-bottom: 8px;
}
.srv-price-amount {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 300;
  color: var(--negro);
  line-height: 1;
  letter-spacing: -0.01em;
}
/* "¿Qué incluye?" — título centrado simétrico */
.srv-includes-title { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 32px; }
.srv-includes-line { flex: 1; max-width: 60px; height: 1px; background: var(--dorado); opacity: 0.25; display: block; }
.srv-includes-text { font-size: 0.75rem; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; color: var(--dorado); white-space: nowrap; }

/* Divisor decorativo */
.srv-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 48px auto;
  max-width: 360px;
}
.srv-divider-spaced { margin: 52px auto; }
.srv-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198,169,107,0.5), transparent);
}
.srv-divider-gem {
  font-size: 0.5rem;
  color: var(--dorado-deep);
  opacity: 0.8;
  letter-spacing: 0;
}
.srv-cta-row { display: flex; justify-content: center; margin-top: 52px; }

/* Pills centradas */
.srv-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  max-width: 820px;
  margin: 0 auto;
}
.srv-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid rgba(22,21,19,0.1);
  background: var(--crema);
  border-radius: 2px;
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .srv-pill:hover {
    border-color: rgba(198,169,107,0.5);
    background: #FBF6EC;
    transform: translateY(-2px);
  }
}
.srv-pill span {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(22,21,19,0.78);
  white-space: nowrap;
}
.srv-check { width: 14px; height: 14px; stroke: var(--dorado-deep); stroke-width: 2.4; fill: none; }

/* Formatos — tarjetas con ícono + texto */
.srv-formats {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 4vw, 40px);
  flex-wrap: wrap;
}
.srv-format-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 24px;
  border: 1px solid rgba(22,21,19,0.08);
  min-width: 110px;
  cursor: default;
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.srv-format-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(198,169,107,0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.25s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .srv-format-card:hover {
    border-color: rgba(198,169,107,0.5);
    transform: translateY(-4px);
    background: var(--crema);
  }
  .srv-format-card:hover::before { opacity: 1; }
  .srv-format-card:hover .srv-format-icon svg { transform: scale(1.15); }
  .srv-format-card:hover .srv-format-label { color: var(--dorado-deep); }
}
.srv-format-icon {
  color: var(--dorado-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.srv-format-icon svg {
  width: 34px;
  height: 34px;
  stroke: var(--dorado-deep);
  transition: transform 0.25s var(--ease-out);
}
.srv-format-label {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(22,21,19,0.55);
  text-transform: uppercase;
  transition: color 0.25s var(--ease-out);
}

@media (max-width: 900px) {
  .srv-features { grid-template-columns: 1fr; gap: 12px; max-width: 380px; }
  .srv-format-card { padding: 20px 16px; min-width: 80px; }
}

/* -- Dossier Layout -- */
.dossier-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 60px;
  background: rgba(22,21,19,0.08);
  border: 1px solid rgba(22,21,19,0.08);
}
.dossier-col {
  padding: 64px;
  background: var(--blanco);
}
.price-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--negro);
  font-weight: 300;
}
.price-row .dotted-line {
  flex-grow: 1;
  border-bottom: 2px dotted rgba(198,169,107,0.4);
  margin: 0 16px;
  position: relative;
  top: -4px;
}
.dossier-nota {
  font-size: 0.75rem;
  color: rgba(22,21,19,0.45);
  text-align: right;
  font-style: italic;
  font-weight: 400;
}
.dossier-comunas {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(22,21,19,0.7);
  line-height: 1.8;
  font-weight: 400;
}
.dossier-comunas .recargo {
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--dorado-deep);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.dossier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}
.dossier-features li {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(22,21,19,0.85);
  line-height: 1.5;
}


/* ── Galería — carrusel infinito ───────────────────────────────────────── */
#galeria { background: var(--crema); color: var(--negro); overflow: hidden; }
#galeria .section-title { color: var(--negro); }
#galeria .section-title em { color: var(--oliva); }
#galeria .section-label { color: var(--oliva); }
#galeria .section-label::after { background: var(--oliva); }
#galeria .section-body { color: rgba(10,10,10,0.55); }

.gallery-viewport {
  margin-top: 60px;
  overflow: hidden;
  width: 100%;
  /* Difumina los bordes para que las fotos no se corten en seco */
  mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}
.gallery-track {
  display: flex;
  gap: 6px;
  width: max-content;
  animation: galleryScroll 38s linear infinite;
}
@media (hover: hover) and (pointer: fine) {
  .gallery-viewport:hover .gallery-track,
  .gallery-viewport:has(.gallery-item:focus-visible) .gallery-track {
    animation-play-state: paused;
  }
}
@keyframes galleryScroll {
  to { transform: translateX(-50%); }
}

.gallery-item {
  background: rgba(15,61,62,0.06); position: relative; overflow: hidden; cursor: pointer;
  flex: 0 0 auto;
  width: 320px; height: 400px;
  transition: transform 0.2s var(--ease-out);
}
.gallery-item:active { transform: scale(0.98); }
.gallery-item img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 0.5s var(--ease-out);
}
/* Lightbox hover overlay */
.gallery-hover-overlay {
  position: absolute; inset: 0; background: rgba(10,10,10,0.45);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s var(--ease-out);
}
.gallery-zoom-icon {
  color: var(--dorado); font-size: 1.6rem;
  border: 1px solid rgba(198,169,107,0.6);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transform: scale(0.7);
  transition: transform 0.2s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover img { transform: scale(1.06); }
  .gallery-item:hover .gallery-hover-overlay { opacity: 1; }
  .gallery-item:hover .gallery-zoom-icon { transform: scale(1); }
}
.gallery-item:focus-visible .gallery-hover-overlay { opacity: 1; }
.gallery-item:focus-visible .gallery-zoom-icon { transform: scale(1); }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
#faq { background: var(--blanco); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 60px; background: rgba(22,21,19,0.08); border: 1px solid rgba(22,21,19,0.08); }
.faq-item { background: var(--blanco); padding: 0; border: none; opacity: 0; transform: translateY(12px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.faq-item.visible { opacity: 1; transform: translateY(0); }
.faq-question { width: 100%; text-align: left; padding: 28px 32px; background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: background 0.2s var(--ease-out); }
.faq-question:hover { background: var(--crema); }
.faq-question:active { transform: scale(0.995); }
.faq-q-text { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 500; color: var(--negro); text-align: left; line-height: 1.3; }
.faq-icon { width: 24px; height: 24px; flex-shrink: 0; border: 1px solid rgba(198,169,107,0.5); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--dorado-deep); font-size: 1rem; line-height: 1; transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.25s var(--ease-in-out); }
.faq-item.open .faq-icon { background: var(--dorado); color: var(--negro); border-color: var(--dorado); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease-in-out), padding 0.25s var(--ease-out); padding: 0 32px; }
.faq-item.open .faq-answer { max-height: 200px; padding: 0 32px 28px; }
.faq-answer p { font-size: 0.84rem; font-weight: 400; line-height: 1.8; color: rgba(22,21,19,0.6); border-top: 1px solid rgba(198,169,107,0.18); padding-top: 16px; }

/* ── Contacto ───────────────────────────────────────────────────────────── */
#contacto { background: var(--crema); position: relative; overflow: hidden; }
#contacto::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(198,169,107,0.1) 0%, transparent 70%); pointer-events: none; }
.contacto-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contacto-items { display: flex; flex-direction: column; gap: 28px; margin-top: 44px; }
.contacto-item { display: flex; gap: 20px; align-items: flex-start; }
.contacto-item-icon { width: 40px; height: 40px; flex-shrink: 0; border: 1px solid rgba(198,169,107,0.4); display: flex; align-items: center; justify-content: center; color: var(--dorado-deep); background: var(--blanco); }
.contacto-item-icon svg { width: 18px; height: 18px; }
.contacto-item-label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dorado-deep); margin-bottom: 4px; }
.contacto-item-val { font-size: 0.88rem; font-weight: 400; color: rgba(22,21,19,0.78); }
.contacto-item-link {
  text-decoration: none;
  border-radius: 2px;
  margin: -8px;
  padding: 8px;
  transition: background 0.2s var(--ease-out);
}
.contacto-item-link .contacto-item-icon { transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out); }
.contacto-item-link .contacto-item-val { transition: color 0.2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .contacto-item-link:hover { background: rgba(198,169,107,0.06); }
  .contacto-item-link:hover .contacto-item-icon { border-color: var(--dorado); color: var(--negro); background: var(--dorado); }
  .contacto-item-link:hover .contacto-item-val { color: var(--dorado-deep); }
}
.contacto-item-link:active { transform: scale(0.99); }

/* ── Form ───────────────────────────────────────────────────────────────── */
.contacto-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(22,21,19,0.55); }
.form-input, .form-select, .form-textarea {
  background: var(--blanco); border: 1px solid rgba(22,21,19,0.14);
  color: var(--negro); padding: 13px 16px;
  font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 400;
  outline: none; transition: border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1); width: 100%; appearance: none;
  border-radius: 2px;
}
.form-input::placeholder { color: rgba(22,21,19,0.32); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--dorado); background: var(--blanco); box-shadow: 0 0 0 3px rgba(198,169,107,0.1); }
.form-select option { background: var(--blanco); color: var(--negro); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-feedback { display: none; font-size: 0.82rem; font-weight: 400; padding: 12px 16px; }
.form-feedback.is-visible { display: block; }
.form-feedback.success { background: rgba(75,90,70,0.1); border: 1px solid rgba(75,90,70,0.3); color: #3f5a3a; }
.form-feedback.error { background: rgba(180,60,60,0.08); border: 1px solid rgba(180,60,60,0.25); color: #a13b3b; }
.hp-field { display: none; }
.form-submit { font-family: 'DM Sans', sans-serif; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; background: var(--negro); color: var(--blanco); border: none; cursor: pointer; padding: 16px 36px; transition: background 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), transform 0.15s var(--ease-out); align-self: flex-start; margin-top: 8px; border-radius: 2px; }
.form-submit:hover { background: var(--dorado-deep); box-shadow: 0 8px 24px rgba(156,125,69,0.2); }
.form-submit:active { transform: scale(0.97); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.whatsapp-btn { display: inline-flex; align-items: center; gap: 10px; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--negro); border: 1px solid rgba(22,21,19,0.16); padding: 14px 24px; text-decoration: none; transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out), background 0.2s var(--ease-out), transform 0.15s var(--ease-out); margin-top: 8px; align-self: flex-start; border-radius: 2px; }
.whatsapp-btn:hover { border-color: #25D366; color: #1f9e54; background: rgba(37,211,102,0.04); }
.whatsapp-btn:active { transform: scale(0.97); }
.whatsapp-btn svg { width: 16px; height: 16px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
footer { background: var(--negro); border-top: 1px solid rgba(198,169,107,0.18); padding: 48px 60px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 600; color: var(--blanco); letter-spacing: 0.12em; }
.footer-logo span { color: var(--dorado); }
.footer-tagline { font-size: 0.65rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(232,223,214,0.35); margin-top: 4px; }
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a { font-size: 0.7rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(232,223,214,0.45); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--dorado); }
.footer-copy { font-size: 0.68rem; font-weight: 400; color: rgba(232,223,214,0.3); letter-spacing: 0.08em; }

/* ── Floating WhatsApp ──────────────────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 32px; right: 28px; z-index: 150;
  width: 52px; height: 52px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  text-decoration: none;
  opacity: 0; transform: scale(0.9);
  animation: waButtonIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 2s forwards;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.wa-float svg { width: 26px; height: 26px; color: white; }
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover { transform: scale(1.12); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
}
.wa-float:active { transform: scale(0.95); }
@keyframes waButtonIn { to { opacity: 1; transform: scale(1); } }

/* ── Lightbox ───────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(10,10,10,0.95); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center; gap: 20px;
  flex-direction: column;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-content { display: flex; align-items: center; justify-content: center; max-width: 90vw; max-height: 72vh; }
.lightbox-content img { max-width: 100%; max-height: 72vh; object-fit: contain; border: 1px solid rgba(198,169,107,0.2); }
.lightbox-placeholder {
  width: 560px; max-width: 88vw; height: 380px; max-height: 56vh;
  background: linear-gradient(135deg, var(--petro2), var(--negro));
  border: 1px solid rgba(198,169,107,0.2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
}
.lightbox-placeholder .gallery-icon { width: 72px; height: 72px; font-size: 2rem; opacity: 0.4; }
.lightbox-placeholder span { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(232,223,214,0.35); }
.lightbox-close {
  position: fixed; top: 24px; right: 28px;
  background: none; border: 1px solid rgba(198,169,107,0.3);
  color: var(--beige); font-size: 1rem;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.15s var(--ease-out);
}
.lightbox-close:hover { background: var(--dorado); color: var(--negro); border-color: var(--dorado); }
.lightbox-close:active { transform: scale(0.92); }
.lightbox-prev, .lightbox-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: none; border: 1px solid rgba(198,169,107,0.2);
  color: var(--beige); font-size: 2.2rem;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.15s var(--ease-out); line-height: 1;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(198,169,107,0.1); border-color: var(--dorado); color: var(--dorado); }
.lightbox-prev:active, .lightbox-next:active { transform: translateY(-50%) scale(0.9); }

/* ── Scroll reveal ──────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero-split-grid { grid-template-columns: 1fr; gap: 64px; text-align: center; }
  .hero-content-left { max-width: 100%; text-align: center; margin: 0 auto; }
  .hero-eyebrow { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-photo-col { order: -1; }
  .hero-photo-wrap { max-width: 320px; }
}
@media (max-width: 900px) {
  nav { padding: 18px 28px; }
  nav.scrolled { padding: 12px 28px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  #hero { padding: 120px 24px 64px; }
  section { padding: 80px 28px; }
  .planes-grid { grid-template-columns: 1fr; }
  .dossier-layout { grid-template-columns: 1fr; }
  .dossier-col { padding: 40px 32px; }
  .price-row { font-size: 1.25rem; }
  .gallery-item { width: 260px; height: 320px; }
  .faq-grid { grid-template-columns: 1fr; }
  .contacto-inner { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  footer { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
@media (max-width: 640px) {
  nav { padding: 16px 16px; }
  nav.scrolled { padding: 10px 16px; }
  .nav-logo { font-size: 1rem; }
  .nav-cta { padding: 6px 16px; font-size: 0.65rem; }
  #hero { padding: 100px 16px 50px; }
  .hero-eyebrow { font-size: 0.6rem; margin-bottom: 20px; }
  .hero-title { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 16px; }
  .hero-subtitle { font-size: clamp(0.9rem, 1.5vw, 1.1rem); margin-bottom: 28px; }
  .btn-primary, .btn-secondary { font-size: 0.65rem; padding: 13px 28px; }
  .hero-actions { gap: 12px; }
  section { padding: 60px 16px; }
  .section-label { font-size: 0.6rem; margin-bottom: 12px; }
  .section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
  .section-body { font-size: 0.9rem; }
  .steps-grid { grid-template-columns: 1fr; gap: 28px; }
  .step { padding: 0; }
  .step-title { font-size: 1.1rem; }
  .step-desc { font-size: 0.85rem; }
  .srv-pills { gap: 8px 10px; }
  .srv-pill { padding: 8px 14px; font-size: 0.8rem; }
  .srv-price-amount { font-size: clamp(2rem, 6vw, 3.5rem); }
  .srv-formats { gap: 10px; flex-wrap: wrap; }
  .srv-format-card { padding: 20px 16px; min-width: 90px; }
  .gallery-viewport { mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%); }
  .gallery-item { width: 220px; height: 270px; }
  .faq-question { padding: 20px 20px; }
  .faq-q-text { font-size: 0.95rem; }
  .faq-icon { width: 20px; height: 20px; font-size: 0.9rem; }
  .faq-item.open .faq-answer { max-height: 250px; padding: 0 20px 20px; }
  .contacto-inner { gap: 32px; }
  .contacto-items { gap: 20px; margin-top: 28px; }
  .form-label { font-size: 0.6rem; }
  .form-input, .form-select, .form-textarea { padding: 11px 12px; font-size: 0.8rem; }
  .form-textarea { min-height: 90px; }
  .form-submit { padding: 13px 28px; font-size: 0.65rem; }
  .whatsapp-btn { padding: 12px 20px; font-size: 0.65rem; }
  footer { padding: 32px 16px; }
  .footer-logo { font-size: 1rem; }
  .footer-links { gap: 16px; }
  .footer-links a { font-size: 0.65rem; }
  .footer-copy { font-size: 0.6rem; }
}

/* ── Reduced Motion ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-orb-1, .hero-orb-2, .hero-orb-3,
  .hero-photo-frame,
  .hw,
  .hero-line {
    animation: none !important;
  }
  .hero-eyebrow { animation: fade 0.3s ease forwards; }
  .hw { opacity: 1; transform: none; animation: none; }
  .hero-subtitle, .hero-actions,
  .reveal, .step, .plan, .faq-item, .mobile-nav-links a {
    transform: none !important;
    transition: opacity 0.3s ease !important;
  }
  .btn-primary:hover, .btn-secondary:hover, .nav-cta:hover,
  .btn-primary:active, .btn-secondary:active, .nav-cta:active,
  .form-submit:active, .whatsapp-btn:active, .plan-cta:active,
  .srv-pill:hover, .srv-format-card:hover, .step:hover .feature-icon,
  .gallery-item:active, .lightbox-close:active,
  .wa-float:hover, .wa-float:active {
    transform: none !important;
  }
  /* Carrusel de galería: sin auto-scroll, navegación manual con swipe/scroll */
  .gallery-track {
    animation: none !important;
    width: auto !important;
  }
  .gallery-viewport {
    overflow-x: auto !important;
    scroll-snap-type: x proximity;
  }
  .gallery-track > .gallery-item[aria-hidden="true"] { display: none; }
  .gallery-item { scroll-snap-align: start; }
  .lightbox-prev:active, .lightbox-next:active { transform: translateY(-50%) !important; }
  .wa-float { animation: fade 0.3s ease 0.5s forwards; }
}
@keyframes fade { to { opacity: 1; } }
