/* =========================================================
   MASTER HOUSE PRO · Hoja de estilos principal
   Paleta: noche profunda + oro viejo + ciruela
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #0a0810;
  --bg-soft: #0f0b17;
  --surface: #15101f;
  --surface-2: #1b1427;
  --surface-3: #221931;

  --gold: #d9b878;
  --gold-soft: #ecd7a6;
  --gold-deep: #a9863f;
  --plum: #6f4f9e;

  --cream: #f4ece0;
  --text: #e9e2ee;
  --muted: #a99fb6;
  --muted-2: #7f768c;

  --line: rgba(230, 205, 151, 0.14);
  --line-soft: rgba(244, 236, 224, 0.08);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.75);
  --shadow-gold: 0 18px 50px -20px rgba(217, 184, 120, 0.35);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --header-h: 84px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.005em;
  color: var(--cream);
  margin: 0;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

em {
  font-style: italic;
  color: var(--gold-soft);
  font-weight: 500;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-soft); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--cream); }

img { max-width: 100%; display: block; }

ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(217, 184, 120, 0.28); color: var(--cream); }

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

.container {
  width: 100%;
  max-width: var(--container);
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--gold);
  color: #14101a;
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- 3. Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease),
              background 0.3s var(--ease), color 0.25s var(--ease), border-color 0.3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(135deg, #f0dcb0 0%, var(--gold) 45%, #bf9450 100%);
  color: #17111f;
  box-shadow: 0 10px 28px -12px rgba(217, 184, 120, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-gold:hover {
  color: #17111f;
  box-shadow: 0 16px 38px -12px rgba(217, 184, 120, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-outline {
  border-color: rgba(217, 184, 120, 0.5);
  color: var(--gold-soft);
  background: rgba(217, 184, 120, 0.04);
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(217, 184, 120, 0.12);
  color: var(--cream);
}

.btn-ghost {
  border-color: var(--line-soft);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  border-color: rgba(217, 184, 120, 0.35);
  background: rgba(255, 255, 255, 0.05);
  color: var(--cream);
}

.btn-lg { padding: 1.05rem 2rem; font-size: 0.95rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}
.link-arrow span { transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: var(--gold-soft); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- 4. Cabecera ---------- */
#header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
              border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
#header.scrolled {
  background: rgba(10, 8, 16, 0.82);
  backdrop-filter: blur(18px) saturate(130%);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 12px 40px -24px rgba(0, 0, 0, 0.9);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream);
  margin-right: auto;
}
.brand:hover { color: var(--cream); }

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: var(--gold);
}
.brand-mark svg { width: 100%; height: 100%; display: block; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand-text small {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 999px;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 40%; }
.nav-links a.active { color: var(--gold-soft); }

.nav-cta { padding: 0.7rem 1.25rem; font-size: 0.82rem; }
.nav-cta svg { width: 16px; height: 16px; }
.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.6px;
  margin: 4px auto;
  background: var(--gold-soft);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3.5rem) 0 6rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(ellipse 60% 50% at 78% 28%, rgba(111, 79, 158, 0.28), transparent 70%),
    radial-gradient(ellipse 55% 55% at 12% 78%, rgba(217, 184, 120, 0.12), transparent 70%),
    radial-gradient(ellipse 90% 70% at 50% 0%, #171021 0%, var(--bg) 65%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(244, 236, 224, 0.16) 0.6px, transparent 0.6px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 78%);
  opacity: 0.5;
}

.hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 62%;
  z-index: -3;
  background: url("../img/hero-ritual.jpg") center 30% / cover no-repeat;
  opacity: 0.78;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.5) 30%, #000 62%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.5) 30%, #000 62%);
  pointer-events: none;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 8, 16, 0.25), rgba(10, 8, 16, 0.03) 40%, rgba(10, 8, 16, 0.94) 88%, #0a0810 100%),
    linear-gradient(90deg, rgba(10, 8, 16, 0.4), transparent 45%);
}

.hero-stars {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 22%, rgba(255, 249, 235, 0.85), transparent 50%),
    radial-gradient(1.2px 1.2px at 28% 62%, rgba(255, 249, 235, 0.55), transparent 50%),
    radial-gradient(1.8px 1.8px at 44% 14%, rgba(255, 249, 235, 0.7), transparent 50%),
    radial-gradient(1.1px 1.1px at 62% 74%, rgba(255, 249, 235, 0.6), transparent 50%),
    radial-gradient(1.5px 1.5px at 79% 18%, rgba(255, 249, 235, 0.8), transparent 50%),
    radial-gradient(1.2px 1.2px at 91% 56%, rgba(255, 249, 235, 0.5), transparent 50%),
    radial-gradient(1.3px 1.3px at 7% 84%, rgba(255, 249, 235, 0.45), transparent 50%),
    radial-gradient(1.1px 1.1px at 54% 42%, rgba(255, 249, 235, 0.4), transparent 50%);
  animation: twinkle 9s ease-in-out infinite alternate;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
}
.hero-kicker .line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-deep));
}
.hero-kicker .line:last-child {
  background: linear-gradient(90deg, var(--gold-deep), transparent);
}

.hero h1 {
  margin-bottom: 1.6rem;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.hero h1 em { display: inline-block; }

.hero-sub {
  max-width: 560px;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--muted);
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.4rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  font-size: 0.8rem;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}
.hero-badges li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-badges span { color: var(--gold); font-size: 0.7rem; }

.hero-sigil {
  position: absolute;
  top: 50%;
  right: clamp(-8rem, -4vw, 0rem);
  width: clamp(320px, 40vw, 560px);
  transform: translateY(-50%);
  z-index: 1;
  opacity: 0.6;
  pointer-events: none;
  filter: drop-shadow(0 0 60px rgba(217, 184, 120, 0.16));
  animation: float 12s ease-in-out infinite;
}
.hero-sigil svg { width: 100%; height: auto; }
@keyframes float {
  0%, 100% { transform: translateY(-50%) rotate(0deg); }
  50% { transform: translateY(calc(-50% - 18px)) rotate(2deg); }
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.9rem;
  transform: translateX(-50%);
  width: 26px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  z-index: 3;
}
.hero-scroll span {
  width: 3px;
  height: 8px;
  border-radius: 99px;
  background: var(--gold);
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(-2px); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- 6. Cifras ---------- */
.stats {
  border-block: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(21, 16, 31, 0.7), rgba(10, 8, 16, 0.4));
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 2.2rem 1.5rem;
  text-align: center;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26%;
  height: 48%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line), transparent);
}
.stat .num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 600;
  color: var(--gold-soft);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.stat .label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- 7. Estructura de secciones ---------- */
.section {
  position: relative;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}
.section + .section { padding-top: clamp(3rem, 6vw, 5rem); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 3.8rem);
}
.section-head .lead { margin-top: 1.1rem; }

.kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold-deep);
  flex: 0 0 auto;
}

.lead {
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ---------- 8. Servicios ---------- */
.services { background: var(--bg); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.9rem 1.7rem 1.6rem;
  background: linear-gradient(165deg, rgba(27, 20, 39, 0.9), rgba(16, 12, 24, 0.9));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(217, 184, 120, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 184, 120, 0.32);
  box-shadow: var(--shadow);
}
.card:hover::before { opacity: 1; }

.card h3 { font-size: 1.4rem; }
.card p { color: var(--muted); font-size: 0.93rem; line-height: 1.7; margin: 0; }

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--gold);
  background: rgba(217, 184, 120, 0.07);
  border: 1px solid var(--line);
  transition: background 0.35s var(--ease), transform 0.4s var(--ease);
}
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon { background: rgba(217, 184, 120, 0.13); transform: scale(1.04); }

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.4rem;
}
.card-tags li {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  border: 1px solid var(--line-soft);
  border-radius: 99px;
  padding: 0.22rem 0.6rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--gold-soft);
  margin-top: 0.4rem;
}
.card-link span { transition: transform 0.25s var(--ease); }
.card-link:hover span { transform: translateX(4px); }

.card-featured {
  background:
    radial-gradient(ellipse 100% 80% at 0% 0%, rgba(111, 79, 158, 0.28), transparent 65%),
    linear-gradient(165deg, rgba(38, 27, 55, 0.95), rgba(18, 13, 27, 0.95));
  border-color: rgba(217, 184, 120, 0.3);
  box-shadow: 0 20px 50px -30px rgba(217, 184, 120, 0.4);
}
.card-featured .card-icon {
  background: linear-gradient(140deg, rgba(240, 220, 176, 0.9), rgba(191, 148, 80, 0.9));
  color: #17111f;
  border-color: transparent;
}
.card-featured .badge-flag {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #17111f;
  background: linear-gradient(120deg, #f0dcb0, var(--gold));
  padding: 0.35rem 0.9rem;
  border-bottom-left-radius: 10px;
}

.services-note {
  margin-top: 2.2rem;
  text-align: center;
  font-size: 0.93rem;
  color: var(--muted-2);
}
.services-note a { border-bottom: 1px solid rgba(217, 184, 120, 0.4); }

/* ---------- 9. Método ---------- */
.method {
  background:
    radial-gradient(ellipse 60% 60% at 85% 20%, rgba(111, 79, 158, 0.12), transparent 70%),
    var(--bg-soft);
  border-block: 1px solid var(--line-soft);
}

.method-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.method-copy { position: sticky; top: calc(var(--header-h) + 2rem); }
.method-copy .lead { margin: 1.2rem 0 1.8rem; }

.steps {
  display: grid;
  gap: 0.25rem;
}
.step {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 1.25rem;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.step:first-child { padding-top: 0.4rem; }
.step:last-child { border-bottom: 0; }
.step-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(217, 184, 120, 0.55);
  padding-top: 0.15rem;
}
.step h3 { font-size: 1.28rem; margin-bottom: 0.35rem; }
.step p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* ---------- 10. Magia avanzada ---------- */
.advanced {
  background: var(--bg);
  overflow: hidden;
}
.advanced-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}

.advanced-panel {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(10, 8, 16, 0.1) 0%, rgba(10, 8, 16, 0.4) 52%, rgba(10, 8, 16, 0.95) 100%),
    radial-gradient(ellipse 70% 70% at 50% 30%, rgba(111, 79, 158, 0.18), transparent 70%),
    url("../img/medium.jpg") center 18% / cover no-repeat;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.advanced-panel::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(217, 184, 120, 0.12);
  border-radius: 18px;
  pointer-events: none;
}
.panel-glow {
  position: absolute;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 184, 120, 0.22), transparent 65%);
  filter: blur(20px);
}
.panel-sigil {
  position: relative;
  width: 58%;
  height: auto;
  opacity: 0.42;
  animation: spin 90s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.panel-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(0deg, rgba(10, 8, 16, 0.9), transparent);
  border-top: 1px solid rgba(217, 184, 120, 0.1);
}
.panel-caption span {
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.panel-caption strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--gold-soft);
}

.advanced-copy .lead { margin: 1.15rem 0 1.9rem; }

.check-list { display: grid; gap: 0.85rem; margin-bottom: 2.1rem; }
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 0.94rem;
  color: var(--muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 14px;
  height: 8px;
  border-left: 1.6px solid var(--gold);
  border-bottom: 1.6px solid var(--gold);
  transform: rotate(-45deg);
  border-radius: 1px;
}

.advanced-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
}

.disclaimer-inline {
  margin-top: 1.6rem;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--muted-2);
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-soft);
}

/* ---------- 10.5 Galería ---------- */
.gallery {
  background:
    radial-gradient(ellipse 45% 40% at 85% 10%, rgba(111, 79, 158, 0.12), transparent 70%),
    var(--bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.shot {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--surface);
}
.shot-wide {
  grid-column: span 2;
  aspect-ratio: auto;
}
.shot.landscape { aspect-ratio: 16 / 10; }
.method-photo { grid-column: 2; margin-top: 2.8rem; }
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) brightness(0.88);
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 6, 13, 0.88));
  pointer-events: none;
}
.shot:hover img {
  transform: scale(1.05);
  filter: saturate(0.95) contrast(1.08) brightness(0.95);
}
.shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.2rem 1.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.gallery-note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.76rem;
  color: var(--muted-2);
}

/* ---------- 11. Testimonios ---------- */
.testimonials {
  background:
    radial-gradient(ellipse 50% 50% at 10% 10%, rgba(217, 184, 120, 0.07), transparent 70%),
    var(--bg-soft);
  border-block: 1px solid var(--line-soft);
}
.testimonials .section-head { text-align: center; margin-inline: auto; }
.testimonials .kicker { justify-content: center; }

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.quote {
  position: relative;
  margin: 0;
  padding: 2.4rem 1.8rem 1.7rem;
  background: rgba(21, 16, 31, 0.72);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.quote:hover { transform: translateY(-4px); border-color: rgba(217, 184, 120, 0.25); }
.quote::before {
  content: "\201C";
  position: absolute;
  top: 0.5rem;
  left: 1.3rem;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: rgba(217, 184, 120, 0.16);
}
.stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
}
.quote blockquote {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: 1.16rem;
  line-height: 1.6;
  color: var(--cream);
  font-style: italic;
}
.quote figcaption { display: flex; flex-direction: column; border-top: 1px solid var(--line-soft); padding-top: 1rem; }
.quote figcaption strong { font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; color: var(--cream); }
.quote figcaption span { font-size: 0.73rem; letter-spacing: 0.08em; color: var(--muted-2); }

/* ---------- 12. FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.faq-copy { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-copy .lead { margin: 1.1rem 0 1.8rem; }

.faq-list { display: grid; gap: 0.6rem; }
.faq-item {
  background: rgba(21, 16, 31, 0.65);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  overflow: hidden;
}
.faq-item[open] {
  border-color: rgba(217, 184, 120, 0.28);
  background: rgba(27, 20, 39, 0.8);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cream);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-soft); }

.faq-icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 0.35s var(--ease), border-color 0.3s var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease);
}
.faq-icon::before { width: 9px; height: 1.4px; }
.faq-icon::after { width: 1.4px; height: 9px; }
.faq-item[open] .faq-icon { transform: rotate(90deg); border-color: rgba(217, 184, 120, 0.45); }
.faq-item[open] .faq-icon::after { opacity: 0; }

.faq-body {
  padding: 0 1.4rem 1.3rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ---------- 13. Contacto ---------- */
.contact {
  background:
    radial-gradient(ellipse 55% 45% at 15% 10%, rgba(111, 79, 158, 0.18), transparent 70%),
    var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}
.contact-copy .lead { margin: 1.2rem 0 2rem; }

.contact-list { display: grid; gap: 1.1rem; margin-bottom: 1.8rem; }
.contact-list li { display: flex; gap: 0.95rem; align-items: flex-start; }
.contact-ico {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(217, 184, 120, 0.07);
  border: 1px solid var(--line);
  color: var(--gold);
}
.contact-ico svg { width: 18px; height: 18px; }
.contact-list small {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.1rem;
}
.contact-list a,
.contact-list li > div > span { font-size: 0.94rem; color: var(--cream); }
.contact-list a:hover { color: var(--gold-soft); }

.privacy-note {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--muted-2);
  line-height: 1.6;
  border-top: 1px solid var(--line-soft);
  padding-top: 1.3rem;
}
.privacy-note svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--gold); margin-top: 2px; }

.contact-form-wrap { position: relative; }
.contact-form {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(165deg, rgba(27, 20, 39, 0.95), rgba(15, 11, 23, 0.98));
  box-shadow: var(--shadow);
}
.contact-form::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(217, 184, 120, 0.4), transparent 45%, rgba(111, 79, 158, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-soft);
}
.form-head h3 { font-size: 1.45rem; }
.form-time {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(217, 184, 120, 0.3);
  background: rgba(217, 184, 120, 0.06);
  padding: 0.28rem 0.65rem;
  border-radius: 99px;
  white-space: nowrap;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.field label,
.field legend {
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0;
}
.field label span[aria-hidden] { color: var(--gold); }
.field .opt { text-transform: none; letter-spacing: 0; color: var(--muted-2); font-weight: 400; }
.field fieldset,
fieldset.field { border: 0; padding: 0; margin-inline: 0; }

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--cream);
  background: rgba(10, 8, 16, 0.6);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 0.78rem 0.9rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
textarea { resize: vertical; min-height: 104px; line-height: 1.6; }
input::placeholder,
textarea::placeholder { color: #6b6377; }

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(217, 184, 120, 0.6);
  background: rgba(10, 8, 16, 0.85);
  box-shadow: 0 0 0 3px rgba(217, 184, 120, 0.12);
}

.select-wrap { position: relative; }
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.6rem;
  cursor: pointer;
}
.select-wrap select option { background: #15101f; color: var(--cream); }
.select-arrow {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--gold);
  pointer-events: none;
}

.radio-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.radio {
  position: relative;
  cursor: pointer;
  font-size: 0.83rem;
  color: var(--muted);
}
.radio input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.radio span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line-soft);
  border-radius: 99px;
  transition: all 0.25s var(--ease);
}
.radio input:checked + span {
  border-color: rgba(217, 184, 120, 0.6);
  background: rgba(217, 184, 120, 0.12);
  color: var(--gold-soft);
}
.radio input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted-2);
  margin: 0.4rem 0 1.3rem;
  cursor: pointer;
}
.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 2px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(10, 8, 16, 0.7);
  cursor: pointer;
  position: relative;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.check input:checked {
  background: linear-gradient(135deg, #f0dcb0, var(--gold));
  border-color: var(--gold);
}
.check input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1.5px;
  width: 4px;
  height: 8px;
  border-right: 1.8px solid #17111f;
  border-bottom: 1.8px solid #17111f;
  transform: rotate(42deg);
}
.check input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.form-note {
  margin-top: 0.85rem;
  font-size: 0.74rem;
  line-height: 1.55;
  color: var(--muted-2);
  text-align: center;
  transition: color 0.25s var(--ease);
}
.form-note.error { color: #e39a8c; }

/* ---------- 14. CTA final ---------- */
.cta-final {
  position: relative;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--bg-soft), #120c1c);
}
.cta-glow {
  position: absolute;
  inset: auto 50% -60% auto;
  transform: translateX(50%);
  width: 900px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 184, 120, 0.16), transparent 62%);
  pointer-events: none;
}
.cta-inner { position: relative; text-align: center; max-width: 720px; margin-inline: auto; }
.cta-inner .kicker { justify-content: center; }
.cta-inner h2 { margin-bottom: 1rem; }
.cta-inner > p { color: var(--muted); max-width: 520px; margin: 0 auto 2rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }

/* ---------- 15. Pie ---------- */
.site-footer {
  background: #08060d;
  border-top: 1px solid var(--line-soft);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; color: var(--muted-2); max-width: 290px; line-height: 1.7; }

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.footer-col ul { display: grid; gap: 0.55rem; }
.footer-col a,
.footer-col li span { font-size: 0.86rem; color: var(--muted); }
.footer-col a:hover { color: var(--gold-soft); }
.footer-contact li { line-height: 1.5; }
.footer-btn { margin-top: 1.3rem; padding: 0.65rem 1.2rem; font-size: 0.8rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding: 1.6rem 1.15rem 2rem;
  border-top: 1px solid var(--line-soft);
}
.footer-bottom p { font-size: 0.75rem; color: var(--muted-2); margin: 0; }
.footer-bottom .legal { max-width: 620px; line-height: 1.6; }

/* ---------- 16. Flotantes ---------- */
.float-wa {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #17111f;
  background: linear-gradient(140deg, #f0dcb0, var(--gold) 55%, #bf9450);
  box-shadow: 0 14px 34px -10px rgba(217, 184, 120, 0.6);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.float-wa svg { width: 27px; height: 27px; }
.float-wa:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 20px 42px -12px rgba(217, 184, 120, 0.75); }
.float-wa::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(217, 184, 120, 0.55);
  animation: pulse 2.8s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  80%, 100% { transform: scale(1.6); opacity: 0; }
}

.to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 5.4rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(21, 16, 31, 0.85);
  backdrop-filter: blur(10px);
  color: var(--gold-soft);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.to-top svg { width: 18px; height: 18px; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { border-color: rgba(217, 184, 120, 0.5); background: rgba(27, 20, 39, 0.95); }

.mobile-bar { display: none; }

/* ---------- 17. Modal de bienvenida ---------- */
.intro-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}
.intro-modal[hidden] { display: none; }
.intro-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 4, 10, 0.8);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.intro-card {
  position: relative;
  width: min(520px, 100%);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(217, 184, 120, 0.28);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(111, 79, 158, 0.3), transparent 70%),
    linear-gradient(170deg, #1b1427, #0c0912);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9);
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.intro-modal.open .intro-backdrop { opacity: 1; }
.intro-modal.open .intro-card { opacity: 1; transform: translateY(0) scale(1); }
.intro-modal.closing .intro-backdrop { opacity: 0; }
.intro-modal.closing .intro-card { opacity: 0; transform: translateY(12px) scale(0.98); }

.intro-close {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}
.intro-close:hover { color: var(--cream); background: rgba(255, 255, 255, 0.06); }

.intro-sigil {
  position: relative;
  display: block;
  width: clamp(110px, 26vw, 140px);
  height: clamp(110px, 26vw, 140px);
  margin: 0 auto 0.7rem;
  color: var(--gold);
}
.intro-sigil svg { width: 100%; height: 100%; overflow: visible; }

/* --- Animación esotérica: círculo mágico que se dibuja --- */
.intro-sigil .ring,
.intro-sigil .intro-moon {
  transform-box: view-box;
  transform-origin: 70px 70px;
  will-change: transform, opacity;
}
.intro-glow {
  transform-box: fill-box;
  transform-origin: center;
  animation: introPulse 3.6s ease-in-out 1.2s infinite both;
}
.ring-a { animation: spinCW 30s linear 0.4s infinite both, fadeRing 0.9s ease 0.25s both; }
.ring-b { animation: fadeRing 0.9s ease 0.35s both; }
.ring-arc { animation: spinCW 8s linear 0.4s infinite both, fadeRing 0.9s ease 0.35s both; transform-box: view-box; transform-origin: 70px 70px; }
.ring-c { animation: spinCCW 46s linear 0.4s infinite both, fadeRing 0.9s ease 0.45s both; }
.intro-star {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  filter: drop-shadow(0 0 6px rgba(233, 207, 156, 0.55));
  animation: drawStar 1.5s var(--ease) 0.55s both;
}
.intro-moon { animation: moonRise 1s var(--ease) 1.35s both; }
@keyframes spinCW { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes spinCCW { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
@keyframes introPulse { 0%, 100% { opacity: 0.75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.07); } }
@keyframes fadeRing { from { opacity: 0; } to { opacity: 1; } }
@keyframes drawStar { to { stroke-dashoffset: 0; } }
@keyframes moonRise {
  from { opacity: 0; transform: rotate(-40deg) scale(0.72); }
  to { opacity: 1; transform: rotate(0deg) scale(1); }
}

/* --- Chispas flotando alrededor del símbolo --- */
.mote {
  position: absolute;
  bottom: 12%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle, #f2dfb4 0%, rgba(217, 184, 120, 0.35) 70%, transparent 100%);
  box-shadow: 0 0 8px rgba(217, 184, 120, 0.8);
  opacity: 0;
  animation: rise 5.5s linear infinite;
}
.mote.m1 { left: 4%; animation-delay: 0.8s; }
.mote.m2 { left: 50%; margin-left: -2px; animation-delay: 2.4s; width: 7px; height: 7px; }
.mote.m3 { left: 88%; animation-delay: 4s; width: 4px; height: 4px; }
@keyframes rise {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  12% { opacity: 0.9; }
  80% { opacity: 0.5; }
  100% { transform: translateY(-105px) scale(1.15); opacity: 0; }
}

/* --- Aurora dorada en el borde de la tarjeta --- */
.intro-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(242, 223, 180, 0.55);
  box-shadow: 0 0 22px rgba(217, 184, 120, 0.35), inset 0 0 26px rgba(217, 184, 120, 0.12);
  opacity: 0;
  pointer-events: none;
  animation: aura 4.2s ease-in-out 1.4s infinite both;
}
@keyframes aura {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.9; }
}

/* --- Entrada escalonada del contenido (animaciones autónomas) --- */
.intro-card .kicker,
.intro-card h2,
.intro-card > p,
.intro-actions,
.intro-foot { animation: introUp 0.65s var(--ease) both; }
.intro-card .kicker { animation-delay: 1.15s; }
.intro-card h2 { animation-delay: 1.3s; }
.intro-card > p { animation-delay: 1.45s; }
.intro-actions { animation-delay: 1.62s; }
.intro-foot { animation-delay: 1.78s; }
@keyframes introUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Título con destello vivo */
.intro-modal.open .intro-card h2 {
  animation: introUp 0.65s var(--ease) 1.3s both, titleShimmer 3.2s ease-in-out 2.4s infinite;
}
@keyframes titleShimmer {
  0%, 100% { text-shadow: 0 0 0 rgba(242, 223, 180, 0); }
  50% { text-shadow: 0 0 18px rgba(242, 223, 180, 0.35); }
}

/* Red de seguridad: nada queda invisible si el sistema congela animaciones */
.intro-modal.intro-done .intro-card .kicker,
.intro-modal.intro-done .intro-card h2,
.intro-modal.intro-done .intro-card > p,
.intro-modal.intro-done .intro-card .intro-actions,
.intro-modal.intro-done .intro-card .intro-foot {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
.intro-card .kicker { justify-content: center; margin-bottom: 0.8rem; }
.intro-card h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin-bottom: 0.9rem; }
.intro-card > p { color: var(--muted); font-size: 0.92rem; max-width: 380px; margin-inline: auto; }
.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin: 1.6rem 0 1.1rem;
}
.intro-actions .btn { flex: 1 1 auto; min-width: 150px; }
.intro-foot {
  font-size: 0.68rem !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2) !important;
}

/* ---------- 18. Animaciones de aparición ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }

.d1 { transition-delay: 0.09s; }
.d2 { transition-delay: 0.18s; }
.d3 { transition-delay: 0.27s; }
.d4 { transition-delay: 0.36s; }

/* Con JS desactivado, todo visible */
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 19. Responsive ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav-cta { display: none; }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
    padding: 5rem 2rem 3rem;
    background:
      radial-gradient(ellipse 80% 60% at 50% 20%, rgba(111, 79, 158, 0.25), transparent 70%),
      rgba(8, 6, 13, 0.98);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links a {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--cream);
    padding: 0.45rem 1rem;
  }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--gold-soft); }
  .nav-cta-mobile { display: block; margin-top: 1.5rem; }
  .nav-cta-mobile a { font-family: var(--font-body); font-size: 0.9rem; color: #17111f; }

  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-contact ul { display: flex; flex-wrap: wrap; gap: 0.4rem 1.8rem; }
  .footer-btn { margin-top: 1rem; }
}

@media (max-width: 900px) {
  :root { --header-h: 74px; }

  .hero { padding-bottom: 7rem; min-height: auto; padding-top: calc(var(--header-h) + 3rem); }
  .hero-sigil {
    top: 26%;
    right: -22%;
    width: 78vw;
    opacity: 0.2;
  }
  .hero-photo {
    width: 100%;
    opacity: 0.35;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.45) 58%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.45) 58%, transparent 100%);
  }
  .hero-content { max-width: 100%; }
  .hero-badges { font-size: 0.76rem; gap: 0.5rem 1.2rem; }
  .hero-scroll { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(3),
  .stat:nth-child(4) { border-top: 1px solid var(--line-soft); }

  .method-grid,
  .advanced-grid,
  .faq-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .method-copy, .faq-copy { position: static; }
  .method-photo { grid-column: auto; }
  .advanced-panel { min-height: 340px; order: 2; }
  .advanced-copy { order: 1; }
  .advanced-panel .panel-sigil { width: 60%; }

  .quote-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .shot-wide { aspect-ratio: 16 / 10; }
  .testimonials .section-head { text-align: left; }
  .testimonials .kicker { justify-content: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 0.97rem; }

  h1 { font-size: clamp(2.15rem, 9vw, 2.9rem); }
  h2 { font-size: clamp(1.8rem, 7.5vw, 2.4rem); }

  .brand-text strong { font-size: 1.05rem; }
  .brand-text small { font-size: 0.56rem; letter-spacing: 0.18em; }

  .hero-actions .btn { width: 100%; }
  .hero-kicker { font-size: 0.64rem; letter-spacing: 0.2em; }
  .hero-kicker .line { width: 26px; }

  .cards-grid { grid-template-columns: 1fr; }
  .card { padding: 1.6rem 1.4rem 1.4rem; }

  .stat { padding: 1.6rem 1rem; }
  .stat .label { font-size: 0.66rem; }

  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-head { flex-direction: column; align-items: flex-start; gap: 0.6rem; }

  .gallery-grid { gap: 0.7rem; }
  .shot { border-radius: 12px; }
  .shot figcaption { padding: 0.85rem 0.9rem; font-size: 0.58rem; letter-spacing: 0.14em; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }

  .mobile-bar {
    display: flex;
    gap: 0.6rem;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 95;
    padding: 0.7rem 0.9rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(9, 7, 14, 0.92);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-soft);
  }
  .mobile-bar .btn { flex: 1; padding: 0.8rem 0.6rem; font-size: 0.8rem; }

  .float-wa { bottom: 5.4rem; right: 1rem; width: 50px; height: 50px; }
  .float-wa svg { width: 24px; height: 24px; }
  .to-top { display: none; }

  body { padding-bottom: 68px; }
}

/* ---------- 20. Accesibilidad / movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  #header, .float-wa, .to-top, .mobile-bar, .hero-sigil, .intro-modal { display: none !important; }
  body { background: #fff; color: #111; }
  .reveal { opacity: 1; transform: none; }
}
