:root {
  --purple-950: #2f0c2b;
  --purple-900: #611958;
  --purple-700: #772c6c;
  --purple-600: #8f3d82;
  --pink-500: #ba6aaa;
  --pink-400: #d190c4;
  --cream: #fdf8fb;
  --ink: #241522;
  --ink-soft: #5a4a57;
  --white: #ffffff;
  --border: rgba(97, 25, 88, 0.14);
  --shadow: 0 20px 50px rgba(47, 12, 43, 0.15);
  --radius: 18px;
  --font-head: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; color: var(--purple-950); }

a { text-decoration: none; color: inherit; }

.grad {
  background: linear-gradient(90deg, var(--pink-500), var(--purple-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-700);
  background: rgba(186, 106, 170, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(90deg, var(--purple-700), var(--pink-500));
  color: var(--white);
  box-shadow: 0 12px 24px rgba(119, 44, 108, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(119, 44, 108, 0.4); }
.btn-ghost {
  background: transparent;
  color: var(--purple-700);
  border: 1.5px solid var(--purple-700);
}
.btn-ghost:hover { background: rgba(119, 44, 108, 0.08); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253, 248, 251, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 20px;
}
.brand-logo { height: 40px; width: auto; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); transition: color 0.2s; }
.nav-links a:hover { color: var(--purple-700); }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-burger span { width: 24px; height: 2px; background: var(--purple-900); border-radius: 2px; }

/* HERO */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(47,12,43,0.55) 0%, rgba(47,12,43,0.35) 45%, rgba(47,12,43,0.75) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 110px;
  padding-bottom: 60px;
  max-width: 760px;
  color: var(--white);
}
.hero-logo { height: 54px; width: auto; margin-bottom: 22px; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3)); }
.hero .eyebrow {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pink-400);
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--pink-400), #f4c9e6);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.88); max-width: 600px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-cta .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.6); }
.hero-cta .btn-ghost:hover { background: rgba(255,255,255,0.12); }
.scroll-cue {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

/* SECTIONS */
.section { padding: 96px 0; }
.section-alt { background: linear-gradient(180deg, #fbf1f7, #fdf8fb); }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-featured {
  border: 2px solid var(--purple-700);
  background: linear-gradient(160deg, #fff, #fdf1f8);
}
.service-icon { font-size: 2.2rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.about-text h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 18px; }
.about-text p { color: var(--ink-soft); margin-bottom: 16px; }
.check-list { list-style: none; margin: 22px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { position: relative; padding-left: 28px; color: var(--ink); font-weight: 500; font-size: 0.96rem; }
.trust-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-bottom: 28px; }
.trust-stat { display: flex; flex-direction: column; }
.trust-stat strong { font-family: var(--font-head); font-size: 2.2rem; color: var(--purple-900); line-height: 1; }
.trust-stat span { font-size: 0.82rem; color: var(--ink-soft); margin-top: 4px; }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: -1px;
  width: 20px; height: 20px;
  background: var(--purple-700);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.7rem;
  display: flex; align-items: center; justify-content: center;
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-item {
  aspect-ratio: 1;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(119,44,108,0.08), rgba(186,106,170,0.14));
  border: 1.5px dashed var(--purple-600);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple-700);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  padding: 12px;
  position: relative;
}
.gallery-item::before {
  content: attr(data-cat);
  position: absolute;
  top: 10px; left: 10px;
  z-index: 1;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--white);
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--purple-900);
  font-weight: 700;
}
.gallery-item.has-photo {
  border: none;
  padding: 0;
  overflow: hidden;
}
.gallery-item.has-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-item.has-photo:hover img { transform: scale(1.06); }

/* PACKAGE TABS */
.pkg-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
}
.pkg-tab {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--ink-soft);
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pkg-tab:hover { border-color: var(--purple-600); color: var(--purple-700); }
.pkg-tab.active {
  background: linear-gradient(90deg, var(--purple-700), var(--pink-500));
  color: var(--white);
  border-color: transparent;
}
.pkg-panel { display: none; }
.pkg-panel.active { display: block; animation: fadeIn 0.35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* PLANS */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  max-width: 780px;
  margin: 0 auto;
}
.plans-grid-addons { grid-template-columns: repeat(3, 1fr); max-width: 1000px; }
.plan-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan-featured { border: 2px solid var(--purple-700); box-shadow: var(--shadow); }
.badge {
  position: absolute; top: -13px; left: 28px;
  background: linear-gradient(90deg, var(--purple-700), var(--pink-500));
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}
.plan-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.plan-desc { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 18px; min-height: 42px; }
.plan-price { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--purple-900); margin-bottom: 20px; }
.plan-price span { font-size: 1.1rem; font-weight: 600; vertical-align: top; margin-right: 2px; }
.plan-price small { display: block; font-family: var(--font-body); font-size: 0.78rem; font-weight: 500; color: var(--ink-soft); margin-top: 2px; }
.plan-card ul { list-style: none; margin-bottom: 26px; flex-grow: 1; }
.plan-card ul li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.plan-card ul li::before {
  content: "•";
  position: absolute; left: 4px; top: 0;
  color: var(--pink-500);
  font-weight: 700;
}
.plan-addon { text-align: center; padding: 28px 22px; }
.plan-addon .plan-price { font-size: 1.9rem; margin-bottom: 18px; }
.plan-note { text-align: center; color: var(--ink-soft); font-size: 0.85rem; margin-top: 22px; }

/* QUIZ / AGENDA */
.quiz-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}
.quiz-progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: rgba(119, 44, 108, 0.1);
}
.quiz-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--purple-700), var(--pink-500));
  transition: width 0.3s ease;
}
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fadeIn 0.3s ease; }
.quiz-step h3 { font-size: 1.25rem; margin-bottom: 20px; }
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-options button {
  text-align: left;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
}
.quiz-options button:hover { border-color: var(--purple-600); }
.quiz-options button.selected {
  border-color: var(--purple-700);
  background: rgba(186, 106, 170, 0.12);
  color: var(--purple-950);
  font-weight: 600;
}
.quiz-softstop { text-align: center; }
.quiz-softstop p { color: var(--ink-soft); margin-bottom: 22px; }
.quiz-softstop .hero-cta { justify-content: center; }
.quiz-fields { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.quiz-fields input {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
}
.quiz-fields input:focus { outline: none; border-color: var(--purple-700); }
.quiz-result { display: none; text-align: center; }
.quiz-result.active { display: block; animation: fadeIn 0.3s ease; }
.quiz-result h3 { font-size: 1.5rem; margin-bottom: 12px; }
.quiz-result p { color: var(--ink-soft); margin-bottom: 24px; }
.quiz-result .hero-cta { justify-content: center; }

/* PAGO */
.pago-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}
.pago-grid h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 16px; }
.pago-grid p { color: var(--ink-soft); margin-bottom: 26px; }
.qr-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.qr-img { border-radius: 10px; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--purple-950);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-list summary::after { content: "+"; font-size: 1.3rem; color: var(--purple-700); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { margin-top: 12px; color: var(--ink-soft); font-size: 0.94rem; }

/* FOOTER */
.footer {
  background: linear-gradient(160deg, var(--purple-950), var(--purple-900));
  color: var(--white);
  padding: 72px 0 40px;
  text-align: center;
}
.footer-logo { height: 46px; width: auto; margin: 0 auto 26px; }
.footer h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 26px; max-width: 520px; margin-left: auto; margin-right: auto; }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 34px; color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.footer-legal { margin-top: 34px; color: rgba(255,255,255,0.5); font-size: 0.8rem; }

/* MUSIC TOGGLE */
.music-toggle {
  position: fixed;
  bottom: 92px; right: 24px;
  z-index: 90;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--purple-700);
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.music-toggle:hover { transform: scale(1.08); }
.music-toggle.playing { background: linear-gradient(90deg, var(--purple-700), var(--pink-500)); color: var(--white); }

/* ABOUT VIDEO */
.about-video-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  background: var(--purple-950);
}
.about-video-frame video { width: 100%; height: 100%; object-fit: cover; display: none; }
.about-video-frame.has-video video { display: block; }
.about-video-frame.has-video .about-video-placeholder { display: none; }
.about-video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px;
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 24px;
  background: linear-gradient(160deg, var(--purple-950), var(--purple-900));
}
.about-video-placeholder span { font-size: 2.4rem; }
.about-video-placeholder p { font-size: 0.92rem; line-height: 1.5; }
.about-video-placeholder small { opacity: 0.7; font-family: monospace; }

/* COTIZADOR */
.plans-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 1080px; }
.cotizador-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}
.cotizador-options { display: flex; flex-direction: column; gap: 26px; }
.cot-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.cot-block h3 { font-size: 1.05rem; margin-bottom: 16px; }
.cot-stepper {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--cream);
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 600;
  color: var(--purple-950);
}
.cot-stepper-sm { padding: 6px 12px; }
.cot-step-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(90deg, var(--purple-700), var(--pink-500));
  color: var(--white);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.cot-note { margin-top: 10px; font-size: 0.82rem; color: var(--ink-soft); }
.cot-radio-list, .cot-checks { display: flex; flex-direction: column; gap: 10px; }
.cot-radio, .cot-check {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
}
.cot-radio:has(input:checked), .cot-check:has(input:checked) {
  border-color: var(--purple-700);
  background: rgba(186, 106, 170, 0.08);
}
.cot-radio input, .cot-check input { accent-color: var(--purple-700); }
.cot-radio span, .cot-check span { flex-grow: 1; color: var(--ink); }
.cot-radio strong, .cot-check strong { color: var(--purple-900); font-size: 0.85rem; white-space: nowrap; }
.cot-substep {
  display: none;
  margin-top: 14px;
  align-items: center;
  gap: 14px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.cot-substep.visible { display: flex; }

.cotizador-summary {
  background: linear-gradient(160deg, var(--purple-950), var(--purple-900));
  color: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: sticky;
  top: 100px;
}
.cotizador-summary h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 18px; }
.cot-summary-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; min-height: 24px; }
.cot-summary-list .cot-line {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}
.cot-summary-total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 16px;
  margin-bottom: 8px;
}
.cot-summary-total span { font-size: 0.85rem; color: rgba(255,255,255,0.75); }
.cot-summary-total strong { font-family: var(--font-head); font-size: 1.8rem; }
.cot-consult-note { font-size: 0.76rem; color: rgba(255,255,255,0.6); margin-bottom: 18px; display: none; }
.cot-consult-note.visible { display: block; }
.cotizador-summary .btn-primary { background: var(--white); color: var(--purple-900); box-shadow: none; }
.cotizador-summary .btn-primary:hover { background: var(--pink-400); }

/* FLOATING WHATSAPP */
.float-whatsapp {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
  width: 58px; height: 58px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}
.float-whatsapp:hover { transform: scale(1.08); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links a { padding: 16px 24px; border-bottom: 1px solid var(--border); }
  .nav-links.nav-links-open { display: flex; }
  .nav-burger { display: flex; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: 1fr; }
  .plans-grid-addons { grid-template-columns: 1fr; }
  .plans-grid-3 { grid-template-columns: 1fr; }
  .pago-grid { grid-template-columns: 1fr; }
  .qr-wrap { max-width: 320px; margin: 0 auto; }
  .cotizador-grid { grid-template-columns: 1fr; }
  .cotizador-summary { position: static; }
  .about-video-frame { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { padding-top: 100px; }
  .section { padding: 68px 0; }
}
