:root {
  --yellow: #FEBD59;
  --coral: #F67088;
  --lilac: #E2A9F0;
  --charcoal: #30303A;
  --slate: #555866;
  --warm-white: #FFFDF9;
  --pale-lilac: #F8F0FA;
  --white: #FFFFFF;
  --coral-text: #C73F5B; /* coral oscurecido para texto: contraste AA */
  --radius: 20px;
  --shadow: 0 10px 30px rgba(48, 48, 58, 0.08);
  --font-head: "DM Sans", system-ui, sans-serif;
  --font-body: "Lato", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 7vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.section { padding: 72px 0; position: relative; overflow: hidden; }
.section--lilac { background: var(--pale-lilac); }
.eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--coral-text); margin-bottom: .8em;
}
.lead { font-size: 1.15rem; color: var(--slate); max-width: 62ch; }
.section-head { max-width: 680px; margin-bottom: 40px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--primary { background: var(--yellow); color: var(--charcoal); }
.btn--outline { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn--whatsapp { background: var(--white); border-color: var(--charcoal); color: var(--charcoal); }
.btn--block { width: 100%; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 249, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(48, 48, 58, .08);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.brand__name span { color: var(--coral-text); }
.brand__sub { font-size: .72rem; color: var(--slate); letter-spacing: .08em; text-transform: uppercase; }
.nav { display: none; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-family: var(--font-head); font-weight: 500; }
.nav a:not(.btn):hover { color: var(--coral-text); }
.nav .btn { min-height: 42px; padding: 8px 20px; }
.header__right { display: flex; align-items: center; gap: 10px; }
.header__cta { min-height: 42px; padding: 8px 16px; font-size: .92rem; white-space: nowrap; }
@media (max-width: 479px) { .brand__sub { display: none; } }
.menu-toggle {
  width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--charcoal);
  background: transparent; cursor: pointer; display: grid; place-items: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--charcoal); position: relative; transition: transform .2s;
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }
.nav.is-open {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  position: absolute; top: 100%; left: 0; right: 0; padding: 12px 16px 20px;
  background: var(--warm-white); border-bottom: 1px solid rgba(48, 48, 58, .1); box-shadow: var(--shadow);
}
.nav.is-open a:not(.btn) { padding: 12px 4px; width: 100%; font-size: 1.1rem; }
.nav .btn--nav { display: none; }

/* Hero */
.hero { padding: 48px 0 72px; position: relative; overflow: hidden; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--coral-text); }
.hero__sub { font-size: 1.15rem; color: var(--slate); max-width: 52ch; }
.hero__note { font-size: .98rem; color: var(--slate); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__art { position: relative; max-width: 420px; margin-inline: auto; width: 100%; }
.blob-bg { position: absolute; z-index: 0; }

/* Marcador de foto */
.photo {
  position: relative; z-index: 1; aspect-ratio: 4 / 5; width: 100%;
  border-radius: 46% 54% 42% 58% / 38% 44% 56% 62%;
  background: linear-gradient(145deg, var(--pale-lilac), #f3dcf8 60%, #ffe6bd);
  display: grid; place-items: center; text-align: center; padding: 24px;
  color: var(--slate); font-family: var(--font-head); font-size: .95rem; overflow: hidden;
}
.photo svg { width: 64px; margin: 0 auto 10px; opacity: .55; }
.photo--soft { aspect-ratio: 1 / 1; border-radius: 38% 62% 55% 45% / 52% 40% 60% 48%; }

/* Tarjetas de servicios */
.cards { display: grid; gap: 20px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow); border-top: 6px solid var(--yellow); display: flex; flex-direction: column;
}
.card:nth-child(2) { border-top-color: var(--lilac); }
.card:nth-child(3) { border-top-color: var(--coral); }
.card__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--pale-lilac); display: grid; place-items: center; margin-bottom: 18px; }
.card__icon svg { width: 28px; height: 28px; }
.card__tag { font-size: .85rem; color: var(--slate); font-weight: 700; margin-bottom: .8em; }
.card p { color: var(--slate); }
.card a.more { margin-top: auto; font-family: var(--font-head); font-weight: 700; text-decoration: none; color: var(--charcoal); border-bottom: 2px solid var(--yellow); align-self: flex-start; }

/* Sobre mí */
.about__grid { display: grid; gap: 40px; align-items: center; }
.about__text p { color: var(--slate); }
.about__text p:first-of-type { font-size: 1.25rem; color: var(--charcoal); font-family: var(--font-head); font-weight: 500; }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 44px; }
.cred { background: var(--white); border-radius: 16px; padding: 20px 14px; text-align: center; box-shadow: var(--shadow); }
.cred strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--coral-text); line-height: 1.1; margin-bottom: 6px; }
.cred span { font-size: .9rem; color: var(--slate); line-height: 1.3; display: block; }

/* Pilares */
.pillars { display: grid; gap: 20px; grid-template-columns: 1fr; }
.pillar { padding: 8px 0 8px 20px; border-left: 4px solid var(--yellow); }
.pillar:nth-child(2) { border-color: var(--coral); }
.pillar:nth-child(3) { border-color: var(--lilac); }
.pillar p { color: var(--slate); margin: 0; }
.pillar .kicker { font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }

/* Bloques de servicio */
.split { display: grid; gap: 36px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.ticks li { padding-left: 32px; position: relative; color: var(--slate); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--yellow);
  box-shadow: inset 0 0 0 5px var(--yellow), inset 0 0 0 20px var(--yellow);
}
.ticks li::after {
  content: ""; position: absolute; left: 6px; top: .62em; width: 5px; height: 9px; border: solid var(--charcoal);
  border-width: 0 2px 2px 0; transform: rotate(40deg);
}
.panel { background: var(--white); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.panel h3 { margin-bottom: .4em; }
.panel p:last-child { margin-bottom: 0; }
.note { background: var(--pale-lilac); border-radius: 14px; padding: 14px 18px; font-size: .98rem; color: var(--slate); }
.quote { font-family: var(--font-head); font-size: clamp(1.3rem, 3.5vw, 1.8rem); font-weight: 700; line-height: 1.25; margin: 0 0 20px; }
.quote span { color: var(--coral-text); }
.exam { margin-top: 28px; padding: 22px 24px; border-radius: var(--radius); background: var(--white); border: 1.5px dashed rgba(48,48,58,.25); }
.exam h3 { margin-bottom: .3em; }
.exam p { margin: 0; color: var(--slate); }

/* Modalidades */
.modes { display: grid; gap: 20px; }
.mode { background: var(--white); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); }
.mode .badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--pale-lilac); font-family: var(--font-head); font-size: .8rem; font-weight: 700; margin-bottom: 14px; }
.mode p { color: var(--slate); }
.facts { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 28px; }
.fact { padding: 14px 18px; border-radius: 14px; background: var(--white); border-left: 4px solid var(--yellow); font-size: .98rem; color: var(--slate); }
.fact strong { color: var(--charcoal); font-family: var(--font-head); }

/* Pasos */
.steps { display: grid; gap: 28px; }
.step__num { font-family: var(--font-head); font-weight: 700; font-size: 3rem; color: var(--lilac); line-height: 1; margin-bottom: 8px; }
.step p { color: var(--slate); }

/* Testimonios */
.testi { display: grid; gap: 20px; }
.testi__card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 2px dashed rgba(48,48,58,.2); box-shadow: none; }
.testi__card p { color: var(--slate); font-style: italic; }
.testi__card footer { font-family: var(--font-head); font-weight: 700; font-size: .92rem; }
.testi__ph { display: inline-block; background: var(--yellow); padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-family: var(--font-head); font-weight: 700; margin-bottom: 12px; }

/* FAQ */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid rgba(48,48,58,.15); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--coral-text); transition: transform .2s; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--slate); padding-bottom: 20px; margin: 0; max-width: 62ch; }

/* Contacto */
.contact { background: var(--pale-lilac); }
.contact__grid { display: grid; gap: 40px; align-items: start; }
.contact__alt { display: grid; gap: 12px; margin-top: 24px; max-width: 360px; }
.price-note { margin-top: 24px; font-size: .98rem; color: var(--slate); max-width: 46ch; }
form.form { background: var(--white); padding: 28px 22px; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-family: var(--font-head); font-weight: 700; font-size: .95rem; padding: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field input[type=text], .field input[type=email], .field input[type=number], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid rgba(48,48,58,.3); font: inherit; background: var(--warm-white); color: var(--charcoal);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--lilac); border-color: var(--charcoal); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { font-weight: 400; font-family: var(--font-body); cursor: pointer; }
.choices input { position: absolute; opacity: 0; }
.choices span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid rgba(48,48,58,.3); font-size: .98rem; min-height: 44px; display: inline-flex; align-items: center; }
.choices input:checked + span { background: var(--yellow); border-color: var(--charcoal); font-weight: 700; }
.choices input:focus-visible + span { outline: 3px solid var(--charcoal); outline-offset: 2px; }
.form__status { font-size: .95rem; min-height: 1.4em; margin: 0; }
.hp { position: absolute; left: -9999px; }
[hidden] { display: none !important; }

/* Footer */
.footer { background: var(--charcoal); color: #ECEAF0; padding: 56px 0 28px; }
.footer a { color: #fff; }
.footer__grid { display: grid; gap: 32px; }
.footer .brand__name { font-size: 1.3rem; color: #fff; }
.footer .brand__name span { color: var(--yellow); }
.footer p { margin: 0 0 .4em; color: #CFCDD6; }
.footer h4 { font-family: var(--font-head); margin: 0 0 12px; color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: .88rem; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; color: #CFCDD6; }

/* WhatsApp flotante (móvil) */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.25);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Reveal suave */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* Tablet / escritorio */
@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .testi { grid-template-columns: repeat(3, 1fr); }
  .modes { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .creds { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .section { padding: 96px 0; }
  .hero { padding: 72px 0 96px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; }
  .about__grid { grid-template-columns: .8fr 1.2fr; }
  .split { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .split--reverse > :first-child { order: 2; }
  .contact__grid { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .pillars { grid-template-columns: repeat(4, 1fr); }
  .nav { display: flex; }
  .menu-toggle, .header__cta { display: none; }
  .nav .btn--nav { display: inline-flex; }
  .wa-float { display: none; }
}
