:root {
  --ink: #14171A;
  --muted: #4A5058;
  --muted-2: #5A6169;
  --line: #E6E8E3;
  --soft: #F4F5F2;
  --bg: #FFFFFF;
  --accent: #0E7C47;
  --accent-dark: #0A5E36;
  --accent-tint: #EAF5EE;
  --accent-light: #7FD4A3;
  --dark-2: #22262A;
  --dark-3: #343A40;
  --on-dark: #E6E8E3;
  --on-dark-muted: #B9BFC6;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-accent { stroke: var(--accent); stroke-width: 2.5; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.container { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
.narrow { max-width: 820px; }
.stack-lg { display: flex; flex-direction: column; gap: 48px; }
.accent { color: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 17px; text-decoration: none; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; gap: 8px; }
.btn-lg { min-height: 58px; padding: 0 30px; }
.btn-block { display: flex; width: 100%; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { border: 1.5px solid #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--soft); color: var(--ink); }

/* Nav */
.nav-wrap { border-bottom: 1px solid var(--line); background: var(--bg); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.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: 10px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 18px; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.nav-links > a:not(.btn) { color: #3D434A; text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links > a:not(.btn):hover { color: var(--ink); }
@media (max-width: 640px) { .nav-links > a:not(.btn) { display: none; } }
.nav:has(.nav-links) { flex-wrap: nowrap; }
.nav .btn { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 360px) { .brand-name { font-size: 18px; } .nav { gap: 12px; } }
@media (max-width: 420px) { .nav-links .btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .nav-links .btn-sm { width: 44px; padding: 0; } }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding-top: 88px; padding-bottom: 96px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.pill { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-dark); font-size: 14px; font-weight: 600; }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.03em; }
.lead { font-size: 20px; color: var(--muted); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; color: #3D434A; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks li::before { content: ""; width: 18px; height: 18px; flex-shrink: 0; background: no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E7C47' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

.hero-visual { flex: 0 1 380px; min-width: 0; margin-inline: auto; display: flex; justify-content: center; position: relative; padding: 12px 0; }
.hero-blob { position: absolute; inset: 40px -10px 20px 30px; background: var(--accent-tint); border-radius: 40px; }
.phone { position: relative; width: 300px; max-width: 100%; border-radius: 44px; background: var(--ink); padding: 12px; box-shadow: 0 30px 60px -20px rgba(20,23,26,.35); }
.phone-screen { border-radius: 34px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.ph-photo { height: 150px; background: repeating-linear-gradient(135deg, #DCE3DD 0 10px, #E8EDE9 10px 20px); display: flex; align-items: flex-end; padding: 14px; }
.ph-photo span { font-size: 11px; color: var(--muted); background: rgba(255,255,255,.85); padding: 3px 8px; border-radius: 6px; }
.ph-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.ph-title { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.1; }
.ph-sub { font-size: 13px; color: var(--muted-2); }
.ph-hours { display: flex; flex-direction: column; gap: 4px; font-size: 13px; padding: 12px; border-radius: 12px; background: var(--soft); }
.ph-hours div { display: flex; justify-content: space-between; }
.ph-hours span { color: var(--muted-2); }
.ph-map { height: 84px; border-radius: 12px; background-color: #EEF1EC; background-image: linear-gradient(#DDE3DC 1px, transparent 1px), linear-gradient(90deg, #DDE3DC 1px, transparent 1px); background-size: 18px 18px; display: flex; align-items: center; justify-content: center; }
.ph-btn { min-height: 44px; border-radius: 999px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; }
.float-chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 24px -12px rgba(20,23,26,.3); font-size: 13px; font-weight: 600; }
.chip-top { left: -8px; top: 70px; }
.chip-bottom { right: -6px; bottom: -18px; }
@media (max-width: 480px) { .chip-top { left: 0; } .chip-bottom { right: 0; } .hero { padding-top: 48px; gap: 48px; } }

/* Sections */
.band { padding: 104px 0; }
.band-soft { background: var(--soft); }
.band-dark { background: var(--ink); color: #fff; }
@media (max-width: 640px) { .band { padding: 72px 0; } }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
h2 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.02em; }
.sub { font-size: 19px; color: var(--muted); }
.band-dark .sub { color: var(--on-dark-muted); }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); }
.eyebrow-light { color: var(--accent-light); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.card h3 { font-family: var(--display); font-weight: 700; font-size: 23px; line-height: 1.2; }
.card p { color: var(--muted); }

.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 40px; }
.steps li { display: flex; flex-direction: column; gap: 14px; border-top: 2px solid var(--ink); padding-top: 24px; }
.step-n { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; color: var(--accent); }
.steps h3 { font-family: var(--display); font-weight: 700; font-size: 24px; }
.steps p { color: var(--muted); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; align-items: stretch; }
.plan { background: var(--dark-2); border: 1px solid var(--dark-3); border-radius: 24px; padding: 36px 32px; display: flex; flex-direction: column; gap: 22px; color: #fff; }
.plan-featured { background: #fff; color: var(--ink); border: 3px solid var(--accent); }
.tag { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--dark-3); color: var(--on-dark); font-size: 13px; font-weight: 600; }
.tag-accent { background: var(--accent); color: #fff; }
.plan h3 { font-family: var(--display); font-weight: 700; font-size: 26px; }
.plan-desc { color: var(--on-dark-muted); font-size: 16px; margin-top: 6px; }
.plan-featured .plan-desc { color: var(--muted); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.amount { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -0.02em; }
.amount-sm { font-size: 40px; line-height: 1.4; }
.per { color: var(--on-dark-muted); font-size: 16px; }
.plan-featured .per { color: var(--muted); }
.plan-note { font-size: 15px; font-weight: 600; color: var(--on-dark-muted); }
.plan-featured .plan-note { color: var(--accent-dark); }
.plan-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; flex-grow: 1; color: var(--on-dark); }
.plan-featured .plan-list { color: var(--ink); }
.plan-list li { display: flex; gap: 10px; }
.plan-list li::before { content: ""; width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; background: no-repeat center/20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237FD4A3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.plan-featured .plan-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E7C47' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* Split */
.split { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: flex-start; }
.split > h2 { flex: 1 1 380px; }
.grid-2 { flex: 1 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 32px; }
.grid-2 h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.grid-2 p { color: var(--muted); font-size: 16px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { font-size: 26px; font-weight: 400; color: var(--accent); transition: transform .2s; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details p { margin-bottom: 22px; color: var(--muted); }

/* CTA final */
.cta-final { background: var(--accent); color: #fff; border-radius: 32px; padding: clamp(36px, 6vw, 80px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta-final > div { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cta-final h2 { font-size: clamp(30px, 4.5vw, 52px); line-height: 1.05; }
.cta-final p { font-size: 19px; color: #E3F4EA; }

/* Ejemplos */
.demo { display: grid; grid-template-rows: subgrid; grid-row: span 2; gap: 20px; }
.demo-screen + .demo-copy { align-self: start; }
#ejemplos .grid-3 { row-gap: 48px; }
.demo-screen { flex-grow: 1; --c: #14171A; --c2: #fff; --t: #fff; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(20,23,26,.35); display: flex; flex-direction: column; font-size: 13px; color: var(--ink); }
.demo-top { background: var(--c); color: var(--t); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 2px; }
.demo-name { font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1.1; }
.demo-kicker { font-size: 12px; opacity: .8; }
.demo-photo { height: 96px; background: repeating-linear-gradient(135deg, var(--p1) 0 10px, var(--p2) 10px 20px); }
.demo-list { margin: 0; padding: 14px 18px 16px; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.demo-list li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.demo-list span { color: var(--muted-2); }
.demo-cal { padding: 14px 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.demo-cal-t { color: var(--muted-2); }
.demo-days { display: flex; gap: 6px; }
.demo-days i { flex: 1; font-style: normal; text-align: center; padding: 8px 0; border-radius: 10px; background: var(--soft); font-weight: 600; }
.demo-days i.on { background: var(--c); color: var(--t); }
.demo-btn { margin: auto 18px 18px; min-height: 40px; border-radius: 999px; background: var(--c2); color: var(--t2, #fff); display: flex; align-items: center; justify-content: center; font-weight: 600; }
.demo-barber { --c: #1C1A17; --c2: #B8862B; --t: #F3E9D6; --p1: #D8CFC2; --p2: #E6DED3; }
.demo-bar { --c: #B5462B; --c2: #B5462B; --t: #fff; --p1: #E9D3C7; --p2: #F2E2D9; }
.demo-taller { --c: #1F4E8C; --c2: #1F4E8C; --t: #fff; --p1: #D3DCE8; --p2: #E2E8F0; }
.demo-copy { display: flex; flex-direction: column; gap: 8px; }
.demo-plan { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--accent-dark); background: var(--accent-tint); padding: 4px 10px; border-radius: 999px; }
.demo-copy h3 { font-family: var(--display); font-weight: 700; font-size: 23px; }
.demo-copy p { color: var(--muted); }
.demo-note { font-size: 14px; color: var(--muted-2); }

/* Zona */
.stack-sm { flex: 1 1 380px; display: flex; flex-direction: column; gap: 14px; }
.zona-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.zona-copy > p:last-child { color: var(--muted); }
.towns { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.towns li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.towns li:first-child { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0 96px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted-2); }
.footer strong { color: var(--ink); font-family: var(--display); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted-2); }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px -8px rgba(14,124,71,.55); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: var(--accent-dark); color: #fff; }

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

/* Páginas legales */
.legal { padding-top: 64px; padding-bottom: 96px; }
.legal h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 24px; }
.legal h2 { font-size: 24px; margin: 32px 0 12px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { margin: 0 0 12px; padding-left: 22px; }
.legal strong { color: var(--ink); }
.legal-date { font-size: 14px; margin-top: -12px; }
