/* ================================================================
   THOR LÁSER · Serenare · Dra. Ericka Parra
   Landing page styles
   ----------------------------------------------------------------
   Paleta:
   · Brand Serenare:
       Azul Serenidad        #9AACCC
       Rosa Cuarzo           #F8D2D3
   · Acento autoridad médica (de la Dra. Ericka):
       Morado profundo       #6B4F8C
       Morado suave          #9C7BB5
   · Neutros:
       Blanco hueso          #FAFAFA
       Lavanda muy suave     #EDE7F6
       Texto principal       #2D2D2D
       Gris secundario       #777777
   ================================================================ */

:root {
  /* Colores Serenare */
  --c-azul:       #9AACCC;
  --c-azul-deep: #7E92B8;
  --c-azul-soft: #C7D1E2;
  --c-rosa:       #F8D2D3;
  --c-rosa-deep:  #E8B6B8;

  /* Acento autoridad médica (Dra. Ericka) */
  --c-morado:       #6B4F8C;
  --c-morado-soft:  #9C7BB5;
  --c-lavanda:      #EDE7F6;

  /* Neutros */
  --c-bg:           #FAFAFA;
  --c-bg-alt:       #F2F2F0;
  --c-text:         #2D2D2D;
  --c-text-soft:    #555;
  --c-text-mute:    #777777;
  --c-line:         #E5E2EC;
  --c-white:        #FFFFFF;

  /* Tipografía */
  --f-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --f-sans:    "Montserrat", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius:    18px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 12px rgba(45,45,45,.06);
  --shadow:    0 12px 36px rgba(45,45,45,.08);
  --shadow-lg: 0 24px 60px rgba(45,45,45,.12);

  --t: .25s ease;
}

/* ----------- RESET ligero ----------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { color: var(--c-morado); text-decoration: none; }
a:hover { color: var(--c-morado-soft); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--c-text);
  margin: 0 0 .4em 0;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.2; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.3; }
p  { margin: 0 0 1em; color: var(--c-text-soft); }
em { font-style: italic; color: var(--c-morado); }
strong { color: var(--c-text); font-weight: 600; }

ul { padding-left: 1.1rem; }
ul, ol { margin: 0 0 1em; }

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

.eyebrow {
  display: inline-block;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-morado);
  background: var(--c-lavanda);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.lead {
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--c-text-soft);
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 28px;
  background: rgba(250,250,250,.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.topbar__brand { display: flex; align-items: center; }
.topbar__logo  { height: 42px; width: auto; }
.topbar__nav   { display: flex; gap: 26px; justify-content: center; }
.topbar__nav a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--c-text);
  position: relative;
}
.topbar__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--c-morado);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.topbar__nav a:hover::after { transform: scaleX(1); }
.topbar__cta { white-space: nowrap; }

@media (max-width: 860px) {
  .topbar { grid-template-columns: auto auto; }
  .topbar__nav { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-align: center;
  transition: transform var(--t), background var(--t), box-shadow var(--t), color var(--t);
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--c-morado);
  color: var(--c-white);
  box-shadow: 0 8px 22px rgba(107,79,140,.25);
}
.btn--primary:hover { background: #5a4279; color: #fff; box-shadow: 0 12px 28px rgba(107,79,140,.32); }
.btn--ghost {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-azul-deep);
}
.btn--ghost:hover { background: var(--c-azul-soft); color: var(--c-text); }
.btn--sm  { padding: 10px 16px; font-size: .9rem; }
.btn--lg  { padding: 16px 26px; font-size: 1.05rem; }
.btn--xl  { padding: 20px 32px; font-size: 1.1rem; }
.btn--block { width: 100%; }

/* ============================================================
   SECTION BASE
   ============================================================ */
.section {
  padding: clamp(64px, 9vw, 110px) 0;
  position: relative;
}
.section--soft   { background: var(--c-bg-alt); }
.section--accent { background: linear-gradient(180deg, var(--c-lavanda) 0%, #FAFAFA 100%); }
.section--form   { background: linear-gradient(160deg, var(--c-azul) 0%, var(--c-azul-deep) 100%); color: var(--c-white); }
.section--form * { color: inherit; }
.section--form .eyebrow {
  background: rgba(255,255,255,.18);
  color: #fff;
}

.section__head { margin-bottom: 48px; max-width: 880px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__lead { font-size: 1.1rem; color: var(--c-text-soft); }
.section__after { margin-top: 32px; font-size: 1.05rem; max-width: 800px; }

.cta-row { margin-top: 28px; }

.legal-note {
  font-size: .82rem;
  color: var(--c-text-mute);
  margin-top: 28px;
  font-style: italic;
}

.placeholder {
  display: inline-block;
  background: #FFF4D6;
  color: #8A6300;
  padding: 1px 8px;
  border-radius: 4px;
  font-size: .85em;
  margin-left: 6px;
}

.callout {
  border-left: 4px solid var(--c-morado);
  background: var(--c-lavanda);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-top: 24px;
  font-size: .98rem;
}
.callout strong { color: var(--c-morado); }

/* ============================================================
   GRID LAYOUTS
   ============================================================ */
.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.grid-2--reverse > div:first-child { order: 2; }
@media (max-width: 880px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2--reverse > div:first-child { order: 0; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 90px) 0 clamp(60px, 8vw, 110px);
  background: linear-gradient(180deg, #fff 0%, var(--c-lavanda) 70%, #FAFAFA 100%);
  overflow: hidden;
}
.hero__bg::before, .hero__bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  pointer-events: none;
}
.hero__bg::before {
  width: 380px; height: 380px;
  background: var(--c-rosa);
  top: -80px; right: -80px;
}
.hero__bg::after {
  width: 460px; height: 460px;
  background: var(--c-azul-soft);
  bottom: -120px; left: -120px;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
}
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
}
.display { font-family: var(--f-display); }
.hero__copy .lead { margin-top: 6px; max-width: 580px; }
.hero__ctas {
  display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 24px;
}
.hero__trust {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 22px;
  font-size: .92rem; color: var(--c-text-soft);
}
.hero__trust .dot {
  display: inline-block; width: 8px; height: 8px;
  background: var(--c-morado); border-radius: 50%; margin-right: 8px;
  vertical-align: middle;
}
.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--c-azul-soft);
  aspect-ratio: 4/5;
}
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__media-caption {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(255,255,255,.92);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: .88rem;
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   PAIN GRID
   ============================================================ */
.pain-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.pain-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.pain-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--c-azul-soft); }
.pain-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--c-lavanda);
  color: var(--c-morado);
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.pain-card h3 { margin-bottom: 8px; }
.pain-card p  { margin: 0; font-size: .96rem; }

/* ============================================================
   FEATURE LIST
   ============================================================ */
.feature-list {
  display: grid;
  gap: 18px;
}
.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 22px;
}
.feature__num {
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--c-morado);
  background: var(--c-lavanda);
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
}
.feature h3 { margin: 4px 0 4px; }
.feature p  { margin: 0; font-size: .95rem; }

/* ============================================================
   BENEFITS
   ============================================================ */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.benefit {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 26px;
  border-top: 4px solid var(--c-azul);
  box-shadow: var(--shadow-sm);
}
.benefit:nth-child(2) { border-top-color: var(--c-rosa-deep); }
.benefit:nth-child(3) { border-top-color: var(--c-morado-soft); }
.benefit:nth-child(4) { border-top-color: var(--c-azul-deep); }
.benefit:nth-child(5) { border-top-color: var(--c-morado); }
.benefit:nth-child(6) { border-top-color: var(--c-rosa); }
.benefit h3 { margin-bottom: 8px; color: var(--c-text); }
.benefit p  { margin: 0; }

/* ============================================================
   EVIDENCE
   ============================================================ */
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.evidence {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 28px;
}
.evidence h3 {
  font-family: var(--f-display);
  color: var(--c-morado);
  margin-bottom: 12px;
}
.evidence-list {
  margin-top: 12px;
  font-size: .92rem;
  color: var(--c-text-soft);
}
.evidence-list li { margin-bottom: 6px; }

/* ============================================================
   DRA. ERICKA
   ============================================================ */
.dra-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background: var(--c-azul-soft);
}
.dra-photo img { width: 100%; height: 100%; object-fit: cover; }
.dra-photo__badge {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(255,255,255,.95);
  color: var(--c-morado);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .85rem;
  box-shadow: var(--shadow-sm);
}
.dra-bio__role {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--c-morado);
  font-size: 1.05rem;
  margin-top: -8px;
  margin-bottom: 18px;
}
.creds {
  list-style: none; padding: 0;
  display: grid; gap: 8px;
  font-size: .96rem;
  color: var(--c-text-soft);
  margin: 18px 0 24px;
}
.creds li { padding-left: 22px; position: relative; }
.creds li::before {
  content: ""; position: absolute; left: 0; top: .6em;
  width: 12px; height: 2px; background: var(--c-morado);
}

/* ============================================================
   TESTIMONIOS / GALERÍA
   ============================================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 36px;
}
.testimonial {
  margin: 0;
  background: var(--c-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.testimonial video { width: 100%; aspect-ratio: 9/16; object-fit: cover; background: #111; }
.testimonial figcaption {
  padding: 14px 18px;
  font-size: .9rem;
  color: var(--c-text-soft);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform var(--t);
}
.gallery img:hover { transform: scale(1.02); }

/* ============================================================
   STEPS
   ============================================================ */
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.step {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  border: 1px solid var(--c-line);
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: var(--c-morado); color: #fff;
  border-radius: 50%;
  font-family: var(--f-display);
  font-weight: 700;
  margin-bottom: 12px;
}
.step h3 { margin-bottom: 6px; }
.step p  { margin: 0; font-size: .95rem; }

/* ============================================================
   FORMULARIO
   ============================================================ */
.section--form .form-side h2,
.section--form .form-side p,
.section--form .form-side ul,
.section--form .form-side .eyebrow {
  color: #fff;
}
.form-side .lead, .form-side p { color: rgba(255,255,255,.92); }
.form-promise {
  list-style: none; padding: 0;
  margin: 22px 0;
  font-size: .98rem;
  color: rgba(255,255,255,.92);
}
.form-promise li { padding: 6px 0; }

.whatsapp-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 500;
  margin-top: 8px;
  transition: background var(--t);
}
.whatsapp-pill:hover { background: rgba(255,255,255,.28); color: #fff; }
.whatsapp-pill__icon {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff;
  border-radius: 50%;
  font-size: 1rem;
}

.lead-form {
  background: var(--c-white);
  color: var(--c-text);
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 16px;
}
.lead-form * { color: var(--c-text); }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field label {
  font-size: .88rem; font-weight: 600;
  color: var(--c-text);
}
.field input,
.field textarea {
  font-family: var(--f-sans);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-bg);
  color: var(--c-text);
  transition: border-color var(--t), box-shadow var(--t);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-morado);
  box-shadow: 0 0 0 3px rgba(107,79,140,.18);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 100px; font-family: var(--f-sans); }
.consent {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .85rem;
  color: var(--c-text-soft);
  line-height: 1.4;
}
.consent input { margin-top: 4px; }
.form-note {
  font-size: .8rem;
  color: var(--c-text-mute);
  margin: 4px 0 0;
}
.hp { display: none !important; }

.form-success, .form-error {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  margin: 6px 0 0;
}
.form-success { background: #E8F5EE; color: #1F6B45; border: 1px solid #BFE4CD; }
.form-error   { background: #FDECEC; color: #92302D; border: 1px solid #F5C6C6; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}
.faq details {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: border-color var(--t), box-shadow var(--t);
}
.faq details[open] {
  border-color: var(--c-morado-soft);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--f-sans);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--c-morado);
  transition: transform var(--t);
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin: 12px 0 0;
  color: var(--c-text-soft);
  font-size: .98rem;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  background:
    radial-gradient(120% 120% at 80% 0%, rgba(248,210,211,.6) 0%, transparent 60%),
    linear-gradient(160deg, var(--c-morado) 0%, #4D3868 100%);
  color: #fff;
  text-align: center;
  padding: clamp(80px, 10vw, 130px) 0;
}
.cta-final__inner { max-width: 780px; margin: 0 auto; }
.cta-final h2 { color: #fff; }
.cta-final p {
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  margin: 14px 0 28px;
}
.cta-final .btn--primary {
  background: #fff;
  color: var(--c-morado);
}
.cta-final .btn--primary:hover { background: var(--c-rosa); color: var(--c-morado); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #2A2532;
  color: rgba(255,255,255,.78);
  padding: 64px 0 24px;
  font-size: .9rem;
}
.footer * { color: inherit; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 880px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
}
.footer h4 {
  color: #fff;
  font-family: var(--f-sans);
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.footer ul { list-style: none; padding: 0; }
.footer li { padding: 4px 0; }
.footer a { color: rgba(255,255,255,.85); }
.footer a:hover { color: var(--c-rosa); }
.footer__logo { height: 44px; margin-bottom: 12px; }
.footer__tagline {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--c-rosa);
  margin: 0 0 6px;
}
.footer__small { font-size: .82rem; line-height: 1.5; color: rgba(255,255,255,.65); }
.footer__bottom {
  text-align: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}

/* ============================================================
   WHATSAPP FAB
   ============================================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 60px; height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(37,211,102,.45);
  z-index: 60;
  transition: transform var(--t);
}
.whatsapp-fab:hover { transform: scale(1.06); color:#fff; }
.whatsapp-fab svg { width: 32px; height: 32px; fill: #fff; }

/* ============================================================
   ANIMACIÓN DE ENTRADA SUAVE (sin librerías)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .topbar, .whatsapp-fab, .cta-final, .section--form { display: none; }
}
