/* ============================================================
   Centrik Beauty — Landing Page
   Sistema visual: vivo sobre blanco
   Display: Fraunces · UI/cuerpo: Archivo · Labels: Space Mono
   ============================================================ */

:root {
  /* Color */
  --white: #FFFFFF;
  --blush: #FFF5FA;          /* fondo alterno de sección */
  --ink: #17121A;            /* texto principal */
  --ink-mute: #5A4F57;       /* texto secundario (AA sobre blanco) */
  --ink-faint: #7A6F77;
  --line: #EFE7EC;
  --line-soft: #F1EAEE;

  --fuchsia: #D10F6E;        /* principal (5.2:1 con texto blanco) */
  --fuchsia-deep: #B00C5D;   /* texto sobre tinte rosa / hover */
  --fuchsia-link: #D10F6E;
  --fuchsia-tint: #FFE4F1;
  --violet: #7B2FF7;
  --violet-deep: #5B1FC9;
  --violet-tint: #F3EBFF;
  --coral: #C93F14;          /* 5.0:1 con texto blanco */
  --mint: #00795F;           /* 5.4:1 con texto blanco */
  --mint-tint: #DDFBF2;
  --sun: #FFD34D;
  --sun-tint: #FFF1C9;

  /* Compat con legal.css */
  --paper: var(--white);
  --on-light: var(--ink);
  --on-light-mute: var(--ink-mute);
  --on-dark: var(--ink);
  --line-light: var(--line);

  /* Tipografía */
  --display: 'Fraunces', Georgia, serif;
  --sans: 'Archivo', system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 22px;
  --radius-lg: 32px;

  --shadow-card: 0 10px 30px rgba(120, 20, 80, .06);
  --shadow-float: 0 24px 50px rgba(60, 10, 50, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--fuchsia-link); }
a:hover { color: var(--fuchsia-deep); }
h1, h2, h3, h4, p { margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 100px 0; }
.bg-blush { background: var(--blush); }
.center { text-align: center; }

.eyebrow {
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--fuchsia-link);
}
.h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -.015em;
  margin-top: 14px;
}
.lead { font-size: 18px; line-height: 1.6; color: var(--ink-mute); margin-top: 18px; }
.sec-head { max-width: 720px; margin: 0 auto 56px; }
em.hl { color: var(--fuchsia); font-style: italic; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn-primary { background: var(--fuchsia); color: #fff; }
.btn-primary:hover { background: var(--fuchsia-deep); color: #fff; }
.btn-glow { box-shadow: 0 12px 28px rgba(229, 21, 122, .35); }
.btn-soft { background: var(--violet-tint); color: var(--violet-deep); }
.btn-soft:hover { color: var(--violet-deep); background: #E8DBFF; }
.btn-tint { background: var(--fuchsia-tint); color: var(--fuchsia-deep); }
.btn-tint:hover { color: var(--fuchsia-deep); background: #FFD3E8; }
.btn-white { background: #fff; color: var(--fuchsia-deep); }
.btn-white:hover { color: var(--fuchsia-deep); }
.btn-sun { background: var(--sun); color: #3D2A00; }
.btn-sun:hover { color: #3D2A00; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { color: #fff; background: #2B2230; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--violet); outline-offset: 2px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled { border-bottom-color: var(--line-soft); box-shadow: 0 6px 20px rgba(60, 10, 50, .05); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 12px; background: var(--fuchsia); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-style: italic; font-weight: 600; font-size: 22px;
}
.brand-name { font-family: var(--display); font-weight: 600; font-size: 22px; white-space: nowrap; }
.lbl-short { display: none; }
.brand-name em { color: var(--fuchsia); }
.nav-links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a, .nav-cta .login { color: var(--ink); text-decoration: none; }
.nav-links a:hover, .nav-cta .login:hover { color: var(--fuchsia); }
.nav-cta { display: flex; align-items: center; gap: 18px; font-size: 15px; font-weight: 500; }

/* ---------- Imágenes con respaldo ---------- */
.ph {
  position: relative; overflow: hidden; margin: 0;
  background: var(--tint, var(--fuchsia-tint)); border-radius: var(--radius);
}
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph.empty img { display: none; }
.ph.empty::after {
  content: attr(data-label);
  position: absolute; left: 16px; top: 16px; right: 16px; width: fit-content;
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
  background: rgba(255, 255, 255, .9); color: var(--ink); padding: 6px 10px; border-radius: 8px;
}

/* ---------- Hero ---------- */
.hero { padding: 64px 0 96px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--fuchsia-tint); color: var(--fuchsia-deep);
  font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fuchsia); }
.hero h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(46px, 6vw, 82px); line-height: .98; letter-spacing: -.025em; margin-top: 0;
}
.hero .lead strong { color: var(--ink); font-weight: 700; }
.hero .lead { font-size: 19px; margin-top: 24px; max-width: 520px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; font-size: 14px; font-weight: 500; color: var(--ink-mute); }
.hero-meta b { color: var(--mint); }

.hero-visual { position: relative; padding: 0 0 40px 40px; }
.hero-visual .ph { height: 560px; border-radius: var(--radius-lg); }
.float-agenda {
  position: absolute; right: -16px; top: 36px; width: 260px;
  background: #fff; border-radius: 20px; padding: 16px; box-shadow: var(--shadow-float);
}
.float-agenda .fa-h { display: flex; justify-content: space-between; align-items: center; }
.float-agenda .fa-h b { font-family: var(--display); font-weight: 600; font-size: 17px; }
.float-agenda .fa-h span { font-family: var(--mono); font-size: 10px; color: var(--ink-faint); }
.appts { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; font-size: 12px; }
.appt { border-radius: 10px; padding: 9px 10px; }
.appt.a1 { background: var(--fuchsia); color: #fff; }
.appt.a2 { background: var(--violet); color: #fff; }
.appt.a3 { background: var(--sun-tint); color: #5C4300; }
.float-ok {
  position: absolute; left: 0; bottom: 0; max-width: 280px;
  background: var(--ink); color: #fff; border-radius: 18px; padding: 14px 18px;
  box-shadow: 0 20px 40px rgba(23, 18, 26, .3); display: flex; gap: 12px; align-items: center;
  font-size: 13px; line-height: 1.35;
}
.float-ok .chk { width: 38px; height: 38px; border-radius: 50%; background: #00C9A0; display: flex; align-items: center; justify-content: center; flex: none; }
.float-ok span.sub { color: rgba(255, 255, 255, .72); }

/* ---------- Giros ---------- */
.giros { padding: 0 0 96px; }
.giros .h2 { font-size: clamp(28px, 3.2vw, 40px); }
.giros-head { margin-bottom: 28px; }
.giros-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.giro { display: flex; flex-direction: column; gap: 10px; font-weight: 700; font-size: 16px; }
.giro .ph { height: 220px; border-radius: 20px; }

/* ---------- Problema ---------- */
.prob .ph { height: 520px; border-radius: var(--radius-lg); }
.pains { display: flex; flex-direction: column; gap: 16px; margin-top: 30px; }
.pain { display: flex; gap: 16px; align-items: flex-start; }
.pain .x {
  flex: none; width: 36px; height: 36px; border-radius: 50%; color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.pain h3 { font-size: 18px; }
.pain p { margin-top: 4px; color: var(--ink-mute); line-height: 1.5; }

/* ---------- Funciones ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-card);
}
.feat .ico { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; }
.feat h3 { font-family: var(--display); font-weight: 600; font-size: 21px; margin: 18px 0 8px; }
.feat p { color: var(--ink-mute); line-height: 1.55; }

.c-fuchsia { background: var(--fuchsia); }
.c-violet { background: var(--violet); }
.c-coral { background: var(--coral); }
.c-mint { background: var(--mint); }

/* ---------- Cómo funciona ---------- */
.como { background: var(--violet-deep); color: #fff; }
.como .eyebrow { color: var(--sun); }
.como .h2 { max-width: 680px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 52px; }
.step { background: rgba(255, 255, 255, .10); border-radius: 24px; padding: 26px; }
.step .n {
  width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 600; font-size: 24px;
}
.step h3 { font-family: var(--display); font-weight: 600; font-size: 24px; margin: 18px 0 8px; }
.step p { color: rgba(255, 255, 255, .82); line-height: 1.6; }

/* ---------- App móvil ---------- */
.app-visual { position: relative; }
.app-visual .ph { height: 560px; border-radius: var(--radius-lg); }
.phone {
  position: absolute; right: 24px; bottom: -24px; width: 220px;
  background: var(--ink); border-radius: 34px; padding: 9px; box-shadow: 0 30px 60px rgba(23, 18, 26, .35);
}
.phone .screen { background: #fff; border-radius: 26px; padding: 18px 14px; display: flex; flex-direction: column; gap: 9px; }
.phone .t { font-family: var(--display); font-weight: 600; font-size: 18px; }
.phone .svc { border: 2px solid var(--fuchsia); border-radius: 12px; padding: 9px; font-size: 12px; display: flex; justify-content: space-between; }
.phone .slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; font-size: 11px; text-align: center; }
.phone .slots span { background: #F5F0F3; border-radius: 8px; padding: 7px 0; }
.phone .slots span.on { background: var(--fuchsia); color: #fff; font-weight: 700; }
.phone .go { background: var(--violet); color: #fff; border-radius: 999px; text-align: center; padding: 11px 0; font-weight: 700; font-size: 12px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.badge { border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 600; }
.b-f { background: var(--fuchsia-tint); color: var(--fuchsia-deep); }
.b-v { background: var(--violet-tint); color: var(--violet-deep); }
.b-m { background: var(--mint-tint); color: #00715C; }
.b-s { background: var(--sun-tint); color: #7A5800; }

/* ---------- Precios ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 14px; position: relative; }
.plan .plan-name { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.plan .price { font-family: var(--display); font-weight: 600; font-size: 46px; }
.plan .price small { font-family: var(--sans); font-weight: 400; font-size: 16px; color: var(--ink-faint); }
.plan .sub { font-size: 14px; color: var(--ink-mute); }
.plan ul { list-style: none; padding: 0; margin: 0; font-size: 15px; line-height: 1.9; }
.plan ul li::before { content: '✓ '; font-weight: 700; }
.plan .btn { margin-top: auto; white-space: nowrap; padding: 0 18px; }
.plan-featured { background: var(--fuchsia); color: #fff; border-color: var(--fuchsia); box-shadow: 0 24px 50px rgba(229, 21, 122, .35); }
.plan-featured .price small, .plan-featured .sub { color: rgba(255, 255, 255, .85); }
.plan-badge {
  position: absolute; top: -13px; left: 26px; background: var(--sun); color: #3D2A00;
  font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px;
}
.plan-enterprise { background: var(--violet-deep); color: #fff; border-color: var(--violet-deep); }
.plan-enterprise .plan-name { color: var(--sun); }
.plan-enterprise .price small, .plan-enterprise .sub { color: rgba(255, 255, 255, .85); }
.pricing-note { text-align: center; margin-top: 28px; color: var(--ink-mute); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: none; border: 0; padding: 22px 0; cursor: pointer; text-align: left; color: var(--ink);
  font-family: var(--display); font-weight: 600; font-size: 21px;
}
.faq-q .ic { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--fuchsia-tint); position: relative; transition: transform .2s; }
.faq-q .ic::before, .faq-q .ic::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--fuchsia-deep); transform: translate(-50%, -50%); }
.faq-q .ic::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .2s; }
.faq-item.open .faq-q .ic::after { opacity: 0; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s cubic-bezier(.16, 1, .3, 1); }
.faq-a > div { overflow: hidden; min-height: 0; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
@media (prefers-reduced-motion: reduce) { .faq-a { transition: none; } }
.faq-a p { padding: 0 0 22px; color: var(--ink-mute); line-height: 1.6; }

/* ---------- CTA final ---------- */
.cta { padding: 0 0 100px; }
.cta-box {
  background: var(--fuchsia); color: #fff; border-radius: 36px; overflow: hidden;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.cta-body { padding: clamp(32px, 5vw, 60px); }
.cta-body .h2 { margin: 0; }
.cta-body > p { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .9); margin-top: 18px; }
.cta-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.f-row { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.f-row.full, .cta-form .full { grid-column: 1 / -1; }
.f-row input, .f-row select {
  min-height: 48px; border-radius: 12px; border: 0; background: #fff; color: var(--ink);
  padding: 0 14px; font: inherit; font-weight: 400; font-size: 15px;
}
.form-error { grid-column: 1 / -1; display: none; background: #fff; color: var(--fuchsia-deep); border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 600; }
.fine { grid-column: 1 / -1; font-size: 13px; color: rgba(255, 255, 255, .88); }
.fine a, .cta-mail a { color: #fff; font-weight: 700; }
.cta-mail { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, .9); }
.cta-ok { display: none; background: #fff; color: var(--ink); border-radius: 20px; padding: 28px; margin-top: 26px; }
.cta-ok.show { display: block; }
.cta-ok .ring { width: 48px; height: 48px; border-radius: 50%; background: var(--mint); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.cta-ok h3 { font-family: var(--display); font-weight: 600; font-size: 24px; }
.cta-ok p { margin-top: 8px; color: var(--ink-mute); line-height: 1.55; }
.cta-box .ph { min-height: 420px; border-radius: 0; --tint: #FF7AB6; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line-soft); padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.foot .blurb { margin-top: 14px; color: var(--ink-mute); line-height: 1.6; max-width: 340px; font-size: 15px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot-col h3 { margin: 0 0 4px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.foot-col a { color: var(--ink-mute); text-decoration: none; }
.foot-col a:hover { color: var(--fuchsia); }
.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--ink-mute);
}
.foot-social { display: flex; gap: 10px; }
.foot-social a {
  width: 44px; height: 44px; border-radius: 50%; background: var(--fuchsia-tint); color: var(--fuchsia-deep);
  display: flex; align-items: center; justify-content: center;
}
.foot-social a:hover { background: var(--fuchsia); color: #fff; }
.foot-social svg { width: 20px; height: 20px; }

.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}
.whatsapp-float:hover { color: #fff; transform: scale(1.05); }

/* ---------- Reveal ---------- */
/* Contenido siempre visible: la animación solo desliza el transform */
.anim .reveal { transform: translateY(18px); transition: transform .6s ease; }
.anim .reveal.in { transform: none; }
@media (prefers-reduced-motion: reduce) { .anim .reveal { transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .giros-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual .ph, .prob .ph, .app-visual .ph { height: 440px; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .nav-cta .login { display: none; }
  .nav-cta .btn { min-height: 44px; padding: 0 16px; font-size: 14px; white-space: nowrap; }
  .lbl-long { display: none; }
  .lbl-short { display: inline; }
  .brand-name { font-size: 19px; }
  .hero { padding: 36px 0 64px; }
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { padding: 0 0 36px 0; }
  .float-agenda { right: 10px; top: 14px; width: 210px; }
  .float-ok { left: 10px; }
  .phone { right: 12px; width: 190px; }
  .cta-form { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .giros-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .giro .ph { height: 160px; }
}

/* Etiqueta del placeholder del hero: al centro, libre de las tarjetas flotantes */
.hero-visual .ph.empty::after { top: 50%; transform: translateY(-50%); }
