/* ==========================================================
   Agendaste — Landing (agendaste.com.ar)
   Referencia: docs/landing-boceto.dc.html
   ========================================================== */

:root {
  --cream: #F8F7F4;
  --ink: #1A1A17;
  --primary: #9A3412;
  --primary-dark: #7C2D12;
  --border: #E5E4DF;
  --radius: 0.875rem;

  --white: #FFFFFF;
  --text-soft: #4A4943;
  --text-muted: #5E5D57;
  --line-strong: #D6D4CC;
  --primary-tint: #FBF1EC;
  --primary-tint-border: #E8C9BA;
  --accent-light: #F0A27F;
  --dark-soft: #C9C7BF;
  --dark-card: #262622;
  --dark-line: #3A3A35;

  --font-display: Anton, Impact, 'Arial Narrow Bold', sans-serif;
  --font-sans: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); }
a:hover { color: var(--primary-dark); }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--accent-light); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 20;
  background: var(--ink); color: var(--cream); padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--cream); }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ── Tipografía común ─────────────────────── */
.eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--primary);
}
.on-dark .eyebrow { color: var(--accent-light); }

.h2 {
  margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 52px; line-height: 1; text-transform: uppercase;
}
.h2--sm { font-size: 44px; }

.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.section-head--center { max-width: none; align-items: center; text-align: center; }

.lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-soft); }
.on-dark .lead { color: var(--dark-soft); }

/* ── Botones ──────────────────────────────── */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 17px; line-height: 1.3;
  padding: 16px 26px; border-radius: var(--radius); text-align: center; border: 1px solid transparent;
}
.btn--primary { background: var(--primary); color: var(--white); }
.btn--primary:hover { background: var(--primary-dark); color: var(--white); }
.btn--outline { background: var(--white); color: var(--ink); border-color: var(--line-strong); padding: 16px 24px; }
.btn--outline:hover { color: var(--ink); border-color: var(--ink); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: var(--white); color: var(--ink); }
.btn--ghost-light { color: var(--white); border-color: #F3C9B5; padding: 16px 24px; }
.btn--ghost-light:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.btn--block { display: block; width: 100%; padding: 16px; }

/* ── Header ───────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(248,247,244,0.94); border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.site-header__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--ink); color: var(--cream);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 20px;
}
.brand__word { font-family: var(--font-mono); font-weight: 700; font-size: 14px; letter-spacing: 3px; }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.nav__link { text-decoration: none; color: var(--ink); }
.nav__link:hover { color: var(--primary); }
.nav__cta { text-decoration: none; background: var(--primary); color: var(--white); padding: 12px 18px; border-radius: var(--radius); font-weight: 600; }
.nav__cta:hover { background: var(--primary-dark); color: var(--white); }

/* ── Hero ─────────────────────────────────── */
.hero {
  display: flex; flex-wrap: wrap; align-items: center; gap: 56px;
  padding-top: 72px; padding-bottom: 88px;
}
.hero__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__badge {
  align-self: flex-start; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 2px;
  color: var(--primary); border: 1px solid var(--primary-tint-border); background: var(--primary-tint);
  padding: 8px 12px; border-radius: 999px;
}
.hero__title {
  margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 76px; line-height: 0.98;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.hero__title span { color: var(--primary); }
.hero__text { margin: 0; font-size: 19px; line-height: 1.6; color: var(--text-soft); max-width: 540px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; color: var(--text-muted);
}

.hero__visual { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; position: relative; min-height: 600px; }
.hero__backdrop { position: absolute; top: 40px; left: 0; right: 0; bottom: 30px; background: #EFE9E2; border-radius: 32px; }

/* Celular */
.phone {
  position: relative; width: 290px; height: 590px; background: var(--ink); border-radius: 44px; padding: 12px;
  box-shadow: 0 30px 60px rgba(26,26,23,0.22);
}
.phone__screen { width: 100%; height: 100%; background: var(--cream); border-radius: 34px; overflow: hidden; display: flex; flex-direction: column; }
.phone__top { padding: 22px 18px 14px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); }
.phone__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); flex: none; }
.phone__biz { display: flex; flex-direction: column; gap: 2px; }
.phone__biz b { font-size: 14px; }
.phone__biz span { font-size: 11px; color: var(--text-muted); }
.phone__body { padding: 14px 18px; display: flex; flex-direction: column; gap: 10px; }
.phone__step { font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.5px; color: var(--text-muted); }
.phone__step + .phone__step, .phone__body > div + .phone__step { margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line-strong); }
.chip--on { background: var(--primary); color: var(--white); font-weight: 600; border-color: var(--primary); }
.days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.day { text-align: center; padding: 6px 0; border-radius: 8px; border: 1px solid var(--line-strong); font-size: 10px; }
.day b { font-size: 15px; }
.day--on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; font-size: 12px; text-align: center; }
.slot { padding: 8px 0; border-radius: 8px; border: 1px solid var(--line-strong); }
.slot--off { border-style: dashed; color: #727169; text-decoration: line-through; }
.slot--on { background: var(--primary); color: var(--white); font-weight: 600; border-color: var(--primary); }
.phone__foot { margin-top: auto; padding: 14px 18px 22px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.phone__summary { display: flex; justify-content: space-between; font-size: 12px; }
.phone__summary span { color: var(--text-muted); }
.phone__confirm { text-align: center; background: var(--primary); color: var(--white); border-radius: 10px; padding: 11px 0; font-size: 13px; font-weight: 700; }

/* Tarjeta del panel */
.panel-card {
  position: absolute; right: -6px; bottom: 70px; width: 230px; background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 16px; box-shadow: 0 18px 40px rgba(26,26,23,0.14); display: flex; flex-direction: column; gap: 10px;
}
.panel-card__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.5px; color: var(--text-muted); }
.panel-card__row { display: flex; align-items: center; gap: 10px; }
.panel-card__icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: none; }
.panel-card__icon--ok { background: var(--primary-tint); color: var(--primary); }
.panel-card__icon--bell { background: #F1F0EC; color: var(--ink); }
.panel-card__row div { display: flex; flex-direction: column; }
.panel-card__row b { font-size: 14px; }
.panel-card__row span { font-size: 12px; color: var(--text-muted); }

/* ── Cómo funciona ────────────────────────── */
.band { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps { display: flex; flex-direction: column; gap: 44px; padding-top: 88px; padding-bottom: 88px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.step { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; background: var(--cream); }
.step__num { font-family: var(--font-display); font-size: 44px; color: var(--primary); line-height: 1; }
.step__title { margin: 0; font-size: 20px; font-weight: 700; }
.step__text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-soft); }

/* ── Funciones ────────────────────────────── */
.section { display: flex; flex-direction: column; gap: 44px; padding-top: 96px; padding-bottom: 96px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.feature { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.feature__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.feature__title { margin: 0; font-size: 18px; font-weight: 700; }
.feature__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-soft); }
.badge-soon {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--primary);
  background: var(--primary-tint); padding: 5px 8px; border-radius: 6px; white-space: nowrap;
}

/* ── Calculadora ──────────────────────────── */
.dark { background: var(--ink); color: var(--cream); }
.calc-section { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.calc-section__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.calc {
  flex: 1 1 400px; min-width: 0; background: var(--dark-card); border: 1px solid var(--dark-line); border-radius: 1.25rem;
  padding: 32px; display: flex; flex-direction: column; gap: 24px;
}
.calc__field { display: flex; flex-direction: column; gap: 10px; }
.calc__label { font-size: 14px; color: var(--dark-soft); }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper__btn {
  width: 44px; height: 44px; flex: none; border-radius: 10px; border: 1px solid #4A4943; background: transparent;
  color: var(--cream); font-size: 20px; line-height: 1;
}
.stepper__btn:hover:not([aria-disabled="true"]) { border-color: var(--dark-soft); }
.stepper__btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.stepper__value { flex: 1; text-align: center; font-family: var(--font-display); font-size: 34px; font-variant-numeric: tabular-nums; }
.calc__result { border-top: 1px solid var(--dark-line); padding-top: 20px; display: flex; flex-direction: column; gap: 6px; }
.calc__result-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px; color: var(--dark-soft); }
.calc__loss { font-family: var(--font-display); font-size: 56px; line-height: 1; color: var(--accent-light); overflow-wrap: anywhere; }
.calc__note { margin: 0; font-size: 14px; color: var(--dark-soft); }

/* ── Tu marca, tu web ─────────────────────── */
.brand-section { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.brand-section__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.themes { flex: 1 1 440px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.theme { border-radius: 1rem; padding: 22px; display: flex; flex-direction: column; gap: 12px; min-height: 220px; }
.theme__name { font-family: var(--font-display); font-size: 20px; text-transform: uppercase; }
.theme__step { font-size: 12px; }
.theme__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.theme__chip { font-size: 12px; padding: 7px 10px; border: 1px solid transparent; }
.theme__chip--on { font-weight: 600; }
.theme__confirm { margin-top: auto; text-align: center; padding: 10px 0; font-size: 13px; font-weight: 700; }

.theme--classic { background: #0C0A08; }
.theme--classic .theme__name { color: #D9A55C; }
.theme--classic .theme__step { color: #A8987F; }
.theme--classic .theme__chip { border-radius: 4px; border-color: #4A3A26; color: #EFE6D8; }
.theme--classic .theme__chip--on,
.theme--classic .theme__confirm { background: #C8924A; color: #0C0A08; border-color: #C8924A; border-radius: 4px; }

.theme--nails { background: #FFF7F9; border: 1px solid #F1D5DE; }
.theme--nails .theme__name { color: #9D2B57; }
.theme--nails .theme__step { color: #7A5A66; }
.theme--nails .theme__chip { border-radius: 999px; border-color: #E7BFCD; color: #3A2A30; }
.theme--nails .theme__chip--on,
.theme--nails .theme__confirm { background: #9D2B57; color: var(--white); border-color: #9D2B57; border-radius: 999px; }

/* ── Testimonios (oculto hasta tener reales) ─ */
.testimonials { display: flex; flex-direction: column; gap: 36px; padding-top: 88px; padding-bottom: 88px; }
.testimonial { border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; background: var(--cream); margin: 0; }
.testimonial blockquote { margin: 0; font-size: 17px; line-height: 1.6; }
.testimonial figcaption { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; color: var(--text-muted); }

/* ── Precios ──────────────────────────────── */
.pricing { display: flex; flex-direction: column; gap: 40px; padding-top: 96px; padding-bottom: 96px; }
.plans { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.plan { flex: 1 1 340px; max-width: 460px; min-width: 0; border-radius: 1.25rem; padding: 34px; display: flex; flex-direction: column; gap: 18px; }
.plan--main { background: var(--white); border: 2px solid var(--ink); }
.plan--web { background: var(--ink); color: var(--cream); }
.plan__name { margin: 0; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 2px; }
.plan--web .plan__name { color: var(--accent-light); }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.plan__amount { font-family: var(--font-display); font-size: 60px; line-height: 1; }
.plan--web .plan__amount { font-size: 44px; }
.plan__unit { font-size: 15px; color: var(--text-muted); }
.plan--web .plan__unit { color: var(--dark-soft); }
.plan__note { margin: 0; font-size: 15px; color: var(--text-muted); }
.plan--web .plan__note { line-height: 1.6; color: var(--dark-soft); }
.plan__list { display: flex; flex-direction: column; gap: 10px; font-size: 15px; margin: 0; padding: 0; list-style: none; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; }
.plan__list svg { flex: none; margin-top: 2px; }
.plan .btn { margin-top: 6px; }
.plan--web .btn { margin-top: auto; }
.plans--tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plans--tiers .plan { max-width: none; position: relative; }
.plan--tier { background: var(--white); border: 1px solid var(--border); }
.plan__tag { position: absolute; top: -13px; left: 34px; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; background: var(--ink); color: var(--cream); padding: 5px 10px; border-radius: 6px; }
.plans--tiers .plan .btn { margin-top: auto; }
.plans--tiers .plan__amount { font-size: 52px; }
.plan__list .badge-soon { font-size: 10px; padding: 3px 6px; margin-left: 4px; }
.founder-band { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; padding: 14px 20px; border-radius: var(--radius); background: var(--primary-tint); border: 1px solid var(--primary-tint-border); text-align: center; font-size: 16px; }
.founder-band strong { font-family: var(--font-mono); font-size: 12px; letter-spacing: 2px; color: var(--primary); }
.pricing__note { margin: 0; text-align: center; font-size: 15px; color: var(--text-muted); }
.plan--wide { flex: none; max-width: none; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.plan--wide__copy { display: flex; flex-direction: column; gap: 14px; flex: 1 1 420px; min-width: 0; }
.plan--wide .btn { margin-top: 0; flex: none; }

/* ── FAQ ──────────────────────────────────── */
.faq-band { background: var(--white); border-top: 1px solid var(--border); }
.faq { max-width: 820px; margin: 0 auto; padding: 88px 24px; display: flex; flex-direction: column; gap: 28px; }
.faq__list { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item h3 { margin: 0; font-size: inherit; }
.faq__q {
  width: 100%; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: transparent; border: none; text-align: left; padding: 18px 0; font-size: 17px; font-weight: 600; color: var(--ink);
}
.faq__q:hover { color: var(--primary); }
.faq__icon { font-family: var(--font-mono); font-size: 20px; color: var(--primary); flex: none; }
.faq__a { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--text-soft); }

/* ── CTA final ────────────────────────────── */
.cta-band { background: var(--primary); color: var(--white); }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: 80px; padding-bottom: 80px; }
.cta__title { margin: 0; flex: 1 1 520px; min-width: 0; font-family: var(--font-display); font-weight: 400; font-size: 54px; line-height: 1; text-transform: uppercase; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band :focus-visible { outline-color: var(--white); }

/* ── Footer ───────────────────────────────── */
.site-footer { background: var(--ink); color: var(--dark-soft); }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 32px; padding-bottom: 32px; font-size: 14px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--dark-soft); }
.site-footer a:hover { color: var(--cream); }

/* ── WhatsApp flotante ────────────────────── */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 6; width: 58px; height: 58px; border-radius: 50%;
  background: var(--ink); color: var(--cream); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(26,26,23,0.3);
}
.wa-float:hover { color: var(--cream); background: #000; }

/* ── Responsive ───────────────────────────── */
@media (max-width: 1024px) {
  .hero__title { font-size: 64px; }
  .plans--tiers .plan { padding: 26px; }
  .plans--tiers .plan__amount { font-size: 44px; }
}
@media (max-width: 900px) {
  .plans--tiers { grid-template-columns: 1fr; gap: 28px; max-width: 520px; margin: 0 auto; width: 100%; }
  .plan__tag { left: 26px; }
}

@media (max-width: 760px) {
  .nav__link { display: none; }
  .site-header__inner { flex-wrap: nowrap; }

  .hero { flex-direction: column; align-items: stretch; gap: 40px; padding-top: 40px; padding-bottom: 56px; }
  .hero__copy, .hero__visual { flex: none; }
  .hero__title { font-size: 44px; line-height: 1; }
  .hero__text { font-size: 17px; }
  .hero__badge { font-size: 11px; letter-spacing: 1.5px; }
  .hero__ctas .btn { flex: 1 1 100%; }

  .hero__visual { min-height: 0; padding: 24px 0 56px; }
  .hero__backdrop { top: 56px; bottom: 0; border-radius: 24px; }
  .phone { width: 236px; height: 480px; border-radius: 38px; padding: 10px; }
  .phone__screen { border-radius: 29px; }
  .phone__top { padding: 16px 14px 10px; }
  .phone__body { padding: 10px 14px; gap: 8px; }
  .phone__foot { padding: 10px 14px 16px; }
  .chip { padding: 6px 8px; font-size: 11px; }
  .slot { padding: 6px 0; }
  .panel-card { right: 0; bottom: 150px; width: 200px; padding: 12px; gap: 8px; }
  .panel-card__row b { font-size: 13px; }

  .h2 { font-size: 38px; }
  .h2--sm { font-size: 34px; }
  .steps, .testimonials { padding-top: 64px; padding-bottom: 64px; gap: 32px; }
  .section, .calc-section, .brand-section, .pricing { padding-top: 64px; padding-bottom: 64px; gap: 32px; }
  .faq { padding-top: 64px; padding-bottom: 64px; }

  .grid-3, .features, .themes { grid-template-columns: minmax(0, 1fr); }
  .calc-section__copy, .calc, .brand-section__copy, .themes { flex: 1 1 100%; }
  .calc { padding: 24px; }
  .calc__loss { font-size: 48px; }
  .theme { min-height: 0; }
  .plan { flex: 1 1 100%; max-width: none; padding: 26px; }
  .plan--wide .btn { width: 100%; }
  .plan__amount { font-size: 52px; }

  .cta { padding-top: 56px; padding-bottom: 88px; }
  .cta__title { flex: 1 1 100%; font-size: 40px; }
  .cta__actions, .cta__actions .btn { flex: 1 1 100%; }

  .site-footer__inner { padding-bottom: 96px; }
}

@media (max-width: 380px) {
  .brand__word { display: none; }
  .hero__title { font-size: 38px; }
}
