/* Velvet Growth — mobile first, sin dependencias */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --plum-900: #1d0a15;
  --plum-800: #2a0f1f;
  --plum-700: #3b1429;
  --wine: #7a1f3d;
  --wine-soft: #a34a66;
  --rose: #e6c9d0;
  --paper: #f8f3ee;
  --paper-2: #f0e7e0;
  --ink: #2a1820;
  --ink-soft: #64525a;
  --line: #e2d5cd;
  --green: #1f6f50;
  --green-dark: #185a41;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: 22px;
  --max: 1080px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 9.5vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 6.5vw, 2.6rem); }

p { text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--wine-soft); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible { outline-color: var(--rose); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

section { padding: 64px 0; }

.dark {
  background: var(--plum-800);
  color: #fbf4f1;
}

/* ───────── Botones ───────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 22px; height: 22px; flex: none; fill: currentColor; }

.btn-wa { background: var(--green); color: #fff; }
.btn-wa:hover { background: var(--green-dark); }

.btn-ghost { border: 1.5px solid rgba(230, 201, 208, .5); color: #fbf4f1; }
.btn-ghost:hover { border-color: var(--rose); background: rgba(230, 201, 208, .08); }

.btn-line { border: 1.5px solid var(--wine); color: var(--wine); }
.btn-line:hover { background: var(--wine); color: #fff; }

/* ───────── Portada ───────── */

.hero {
  position: relative;
  padding: 0 0 72px;
  background:
    radial-gradient(120% 70% at 85% 0%, rgba(163, 74, 102, .55) 0%, rgba(122, 31, 61, .25) 38%, transparent 70%),
    radial-gradient(90% 60% at 0% 100%, rgba(122, 31, 61, .45) 0%, transparent 65%),
    linear-gradient(180deg, var(--plum-800) 0%, var(--plum-900) 100%);
  overflow: hidden;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: #fbf4f1;
}
.brand span { color: var(--rose); font-style: normal; font-weight: 300; }

.topbar .mail {
  font-size: .9rem;
  color: var(--rose);
  text-decoration: none;
  display: none;
}

.hero-body { padding-top: 44px; }
.hero h1 { max-width: 15ch; }
.hero .lede {
  margin-top: 22px;
  max-width: 34rem;
  font-size: 1.12rem;
  color: var(--rose);
}
.cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 34px;
}

/* ───────── Bloques con vídeo ───────── */

.media { display: grid; gap: 34px; }
.media-text { order: -1; } /* en móvil, el título va antes del vídeo */
.media-text p { margin-top: 16px; font-size: 1.08rem; color: var(--ink-soft); }
.dark .media-text p { color: var(--rose); }
.media-text a.tel { color: var(--green); font-weight: 600; white-space: nowrap; }

.video-slot {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
  background: var(--plum-900);
  box-shadow: 0 0 0 7px var(--plum-700), 0 24px 50px -18px rgba(29, 10, 21, .55);
}
.dark .video-slot { box-shadow: 0 0 0 7px #4a1b34, 0 24px 50px -18px rgba(0, 0, 0, .6); }
.video-slot video { width: 100%; height: 100%; object-fit: cover; }

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  color: var(--rose);
  font-size: .95rem;
  background:
    radial-gradient(80% 50% at 50% 30%, rgba(163, 74, 102, .45), transparent 70%),
    var(--plum-900);
}
.video-placeholder .play {
  width: 62px; height: 62px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(230, 201, 208, .55);
}
.video-placeholder .play svg { width: 22px; height: 22px; fill: var(--rose); margin-left: 3px; }

/* ───────── Cómo funciona ───────── */

.steps { margin-top: 30px; counter-reset: paso; }
.steps li {
  counter-increment: paso;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  font-size: 1.08rem;
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(paso);
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 400;
  line-height: .95;
  color: var(--wine);
  min-width: 1.1ch;
}

/* ───────── Lo que hace y lo que no ───────── */

.alt { background: var(--paper-2); }

.checks { margin-top: 28px; display: grid; gap: 14px; }
.checks li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.checks .mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1;
}
.checks .yes .mark { background: rgba(31, 111, 80, .13); color: var(--green); }
.checks .no .mark { background: rgba(122, 31, 61, .11); color: var(--wine); }

/* ───────── Precio ───────── */

.price { text-align: center; }
.price-card {
  margin-top: 28px;
  padding: 38px 24px 34px;
  border-radius: 22px;
  background:
    radial-gradient(110% 80% at 100% 0%, rgba(163, 74, 102, .5), transparent 65%),
    var(--plum-800);
  color: #fbf4f1;
}
.price-main {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 17vw, 5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}
.price-main small { font-size: .32em; letter-spacing: 0; color: var(--rose); }
.price-meta {
  margin-top: 16px;
  font-weight: 600;
  color: var(--rose);
}
.price-card p.note { margin: 20px auto 0; max-width: 30rem; color: #f3e3e6; }
.price-card .btn { margin-top: 28px; width: 100%; max-width: 360px; }

/* ───────── Preguntas frecuentes ───────── */

.faq { margin-top: 26px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-weight: 600;
  font-size: 1.06rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 300;
  line-height: 1;
  color: var(--wine);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-soft); max-width: 40rem; }

/* ───────── Agencia / Quién / Contacto ───────── */

.agency p, .about p { margin-top: 16px; font-size: 1.08rem; max-width: 38rem; }
.agency p { color: var(--rose); }
.agency .btn { margin-top: 26px; width: 100%; }
.about p { color: var(--ink-soft); }

.contact { text-align: center; padding-bottom: 76px; }
.contact-links {
  margin-top: 26px;
  display: grid;
  gap: 12px;
  justify-items: stretch;
}
.contact-links .btn { width: 100%; }

/* ───────── Pie ───────── */

footer {
  background: var(--plum-900);
  color: var(--rose);
  padding: 34px 0 110px;
  font-size: .93rem;
  text-align: center;
}
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
footer a { text-decoration: none; padding: 8px 0; }
footer a:hover { text-decoration: underline; }
footer .copy { margin-top: 14px; opacity: .75; }

/* ───────── Barra fija de WhatsApp (móvil) ───────── */

.sticky {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 20;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(248, 243, 238, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .25s ease;
}
.sticky.show { transform: none; }
.sticky .btn { width: 100%; min-height: 50px; }

/* ───────── Páginas legales ───────── */

.legal-head { background: var(--plum-800); }
.legal { padding: 44px 0 72px; }
.legal .wrap { max-width: 720px; }
.legal h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 38px; letter-spacing: -0.005em; }
.legal p, .legal ul { margin-top: 14px; color: #44323a; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal li { margin-top: 6px; }
.legal a { color: var(--wine); }
.legal .updated { color: var(--ink-soft); font-size: .93rem; }
.legal-page footer { padding-bottom: 34px; }

.back { font-size: .95rem; color: var(--rose); text-decoration: none; padding: 8px 0; }

/* Texto solo para lectores de pantalla */
.sr {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ───────── Pantallas grandes ───────── */

@media (min-width: 720px) {
  :root { --gutter: 40px; }
  body { font-size: 18px; }
  section { padding: 96px 0; }

  .topbar .mail { display: inline; }
  .hero { padding-bottom: 110px; }
  .hero-body { padding-top: 76px; }
  .hero .lede { font-size: 1.25rem; }
  .cta-row { flex-direction: row; flex-wrap: wrap; }

  .media { grid-template-columns: 300px 1fr; gap: 72px; align-items: center; }
  .media-text { order: 0; }
  .media.flip { grid-template-columns: 1fr 300px; }
  .media.flip .video-slot { order: 2; }
  .video-slot { margin: 0; }

  .narrow { max-width: 800px; }
  .checks { grid-template-columns: 1fr 1fr; }
  .price-card { max-width: 620px; margin-left: auto; margin-right: auto; padding: 54px 40px 48px; }

  .agency .btn { width: auto; }
  .contact-links { grid-auto-flow: column; justify-content: center; }
  .contact-links .btn { width: auto; }

  .sticky { display: none; }
  footer { padding-bottom: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
