/* akrabc3.com: static web (mockups v10). One stylesheet, no framework. */
:root {
  --accent: #FEED01;
  --ink: #111111;
  --text: #374151;
  --muted: #4b5563;
  --line: #e5e5e0;
  --soft: #f5f5f2;
  --page: #ffffff;
  --max: 1200px;
  --gutter: 24px;
  --display: 'Archivo', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: #000; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 860px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; text-decoration: none; font-weight: 600; padding: 12px 18px; border-radius: 10px; border: 1px solid transparent; }
.btn-lg { font-size: 17px; padding: 16px 24px; border-radius: 12px; }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: #f5e200; color: var(--ink); }
.btn-outline { border-color: var(--ink); }
.btn-quiet { border-color: #d4d4ce; }
.btn-light { border-color: #fff; color: #fff; }
.btn-light:hover { color: #fff; background: rgba(255,255,255,0.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Type */
h1, h2, .display { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; }
h1 { margin: 0; font-size: clamp(36px, 6vw, 54px); line-height: 1.06; }
h2 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 36px); line-height: 1.15; }
h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; }
.lead { margin: 20px 0 0; font-size: 20px; line-height: 1.55; color: var(--text); max-width: 600px; }
.kicker { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.compat { margin: 16px 0 0; font-size: 16px; font-weight: 600; color: var(--text); }
.note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.section-intro { margin: 0 0 32px; font-size: 18px; color: var(--text); max-width: 720px; }
p { margin: 0; }
.muted { color: var(--text); }

/* Sections */
.section { padding: 72px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--ink); color: #fff; }
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 48px; }
.hero > * { flex: 1 1 480px; min-width: 0; }
.breadcrumb { padding-top: 20px; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.grid { display: flex; flex-wrap: wrap; gap: 20px; }
.grid > * { flex: 1 1 320px; min-width: 0; }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: var(--page); }
.card-soft { border-radius: 16px; padding: 24px; background: var(--soft); }
.card-link { text-decoration: none; display: block; }
.card-link:hover { border-color: #c9c9c2; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px; }
.steps li { flex: 1 1 300px; background: var(--page); border-radius: 16px; padding: 28px; }
.step-n { display: inline-flex; width: 40px; height: 40px; border-radius: 10px; background: var(--accent); align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 20px; margin-bottom: 16px; }
.feature { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; margin-bottom: 72px; }
.feature.reverse { flex-wrap: wrap-reverse; }
.feature > .feature-text { flex: 1 1 360px; min-width: 0; }
.feature > .feature-media { flex: 1 1 540px; min-width: 0; }
.feature h3 { font-family: var(--display); font-weight: 800; font-size: 28px; margin-bottom: 12px; letter-spacing: -0.01em; }
.feature p { font-size: 17px; line-height: 1.65; color: var(--text); margin-bottom: 16px; }
.shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(17,17,17,0.35); background: #fff; }
.shot-in { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); margin-top: 20px; }
.badge { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.badge-accent { background: var(--accent); color: var(--ink); }
.pro { font-weight: 700; }
.soon { margin-top: 40px; border-radius: 16px; background: var(--ink); color: #fff; padding: 28px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: flex-start; }
.soon ul { margin: 0; padding-left: 20px; flex: 1 1 480px; line-height: 1.8; color: #e5e5e5; }

/* Hero media */
.hero-media { position: relative; padding-bottom: 56px; margin: 0; }
.browser { border-radius: 14px; overflow: hidden; background: var(--ink); box-shadow: 0 30px 60px -20px rgba(17,17,17,0.35); }
.browser-bar { display: flex; gap: 6px; align-items: center; padding: 10px 14px; background: #1f1f1f; font-size: 11px; color: #a3a3a3; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #4b4b4b; display: inline-block; }
.browser-bar span { margin-left: 10px; }
.phone { position: absolute; right: -8px; bottom: 0; width: 30%; border-radius: 26px; padding: 8px; background: var(--ink); box-shadow: 0 24px 48px -12px rgba(17,17,17,0.45); }
.phone img { border-radius: 19px; }
.hero-media figcaption { position: absolute; left: 0; bottom: 8px; font-size: 13px; color: var(--muted); max-width: 66%; }

/* Prices */
.prices { display: flex; flex-wrap: wrap; gap: 24px; }
.price { flex: 1 1 340px; background: var(--page); border-radius: 16px; padding: 32px; border: 1px solid var(--line); }
.price.pro-plan { border: 2px solid var(--ink); }
.price .amount { margin: 12px 0 0; font-family: var(--display); font-weight: 800; font-size: 44px; }
.price .per { font-family: var(--body); font-weight: 400; font-size: 16px; color: var(--text); }
.price ul { margin: 20px 0 28px; padding-left: 20px; line-height: 1.8; color: var(--text); }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.about-photo { flex: 0 0 280px; position: relative; margin: 18px 18px 18px 0; }
.about-photo::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border-radius: 20px; background: var(--accent); }
.about-photo img { position: relative; border-radius: 20px; }
.about-text { flex: 1 1 420px; min-width: 0; }
.quote { margin: 0 0 20px; font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.3; }
.placeholder { background: #fff3a8; padding: 0 4px; border-radius: 4px; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 600; font-size: 18px; cursor: pointer; }
.faq details p { margin: 12px 0 0; line-height: 1.7; color: var(--text); }

/* CTA band, footer */
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-top: 64px; padding-bottom: 64px; }
.cta-band h2 { margin: 0; flex: 1 1 420px; font-size: clamp(26px, 3.6vw, 34px); }
.site-footer { border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 40px; padding-top: 36px; padding-bottom: 36px; }
.site-footer a { color: var(--muted); }
.footer-links a, .footer-fun a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-id { flex: 1 1 420px; }
.footer-id p + p { margin-top: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-content: flex-start; }
.footer-fun { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 6px 20px; padding-top: 20px; border-top: 1px solid var(--line); }

/* Legal */
.legal dl { margin: 0 0 40px; display: grid; grid-template-columns: minmax(120px, 200px) 1fr; gap: 10px 20px; padding: 20px 24px; border-radius: 14px; background: var(--soft); }
.legal dt { font-weight: 600; color: var(--ink); }
.legal dd { margin: 0; }
.legal h2 { font-family: var(--body); font-weight: 700; font-size: 22px; letter-spacing: 0; margin-top: 8px; }
.legal p { margin: 0 0 32px; line-height: 1.7; color: var(--text); }

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .section { padding: 56px 0; }
  .hero { padding-top: 40px; gap: 32px; }
  .lead { font-size: 18px; }
  .phone { position: relative; right: auto; bottom: auto; width: 42%; margin: -72px 4px 0 auto; }
  .hero-media figcaption { position: static; max-width: none; margin-top: 12px; }
  .hero-media { padding-bottom: 0; }
  .about-photo { flex-basis: 220px; }
  .legal dl { grid-template-columns: 1fr; }
  .price { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ── Header (sticky, one row from 1024 px) ─────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--page); border-bottom: 1px solid var(--line); }
.header-row { height: 68px; display: flex; align-items: center; gap: 20px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 24px; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { width: 26px; height: 26px; border-radius: 6px; background: var(--accent); display: inline-block; }
.site-nav { flex: 1 1 auto; display: flex; justify-content: center; align-items: center; gap: 4px; white-space: nowrap; }
.site-nav a, .mega-trigger { font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 10px; border-radius: 10px; }
.site-nav a:hover, .mega-trigger:hover, .mega-trigger[aria-expanded="true"] { background: var(--soft); }
.caret { transition: transform 0.18s ease; }
.mega-trigger[aria-expanded="true"] .caret { transform: rotate(180deg); }
.header-cta { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.header-cta .btn { min-height: 42px; padding: 0 14px; font-size: 15px; white-space: nowrap; }
.btn-whatsapp { border-color: #25d366; color: #128c4a; gap: 8px; }
.btn-whatsapp:hover { background: #effbf3; color: #0e6b39; }
.header-mobile { display: none; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--page); color: var(--ink); cursor: pointer; }
.icon-btn.wa { border-color: #25d366; color: #128c4a; }
.btn-sm { min-height: 40px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
@media (max-width: 1199px) { .header-row.wrap { padding-left: 16px; padding-right: 16px; } .site-nav { gap: 0; } .site-nav a, .mega-trigger { padding: 0 7px; font-size: 14px; } .header-row { gap: 10px; } .header-cta { gap: 6px; } .header-cta .btn { padding: 0 10px; font-size: 14px; } .btn-whatsapp svg { width: 18px; height: 18px; } .brand { font-size: 21px; } .brand-mark { width: 22px; height: 22px; } }
@media (max-width: 1023px) { .site-nav, .header-cta { display: none; } .header-mobile { display: flex; } .header-row { height: 64px; } }
.btn-sm { white-space: nowrap; }
@media (max-width: 440px) { .header-row.wrap { padding-left: 12px; padding-right: 12px; } .header-row { gap: 8px; } .header-mobile { gap: 6px; }
  .header-mobile .icon-btn { width: 40px; height: 40px; } .header-mobile .btn-sm { padding: 0 10px; font-size: 13px; }
  .header-row .brand { font-size: 19px; gap: 8px; } .header-row .brand-mark { width: 20px; height: 20px; } }
@media (max-width: 379px) { .hide-xs { display: none; } }

/* ── Mega menu «Funciones» (desktop) ───────────────────────────────────────── */
.menu-overlay { position: fixed; inset: 0; z-index: 40; background: rgba(17,17,17,0.35); opacity: 0; transition: opacity 0.18s ease; }
.menu-overlay.is-on { opacity: 1; }
.menu-overlay[hidden], .mega[hidden], .drawer[hidden] { display: none; }
.mega { position: absolute; top: calc(100% + 8px); left: 50%; width: min(1200px, calc(100% - 32px)); transform: translate(-50%, -6px); opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease; background: var(--page); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(17,17,17,0.35); }
.mega.is-on { opacity: 1; transform: translate(-50%, 0); }
.mega-grid { display: flex; gap: 0; padding: 18px; }
.mega-groups { flex: 0 0 25%; min-width: 0; padding-right: 16px; border-right: 1px solid var(--line); max-height: calc(100vh - 120px); overflow: auto; }
.mega-group + .mega-group { margin-top: 12px; }
.mega-group-title { margin: 0 0 4px; padding: 0 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.mega-groups ul, .drawer ul { list-style: none; margin: 0; padding: 0; }
.mega-item { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.mega-item:hover, .mega-item.is-active { background: #fff8c7; }
.mega-ico { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 9px; background: var(--soft); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.mega-item.is-active .mega-ico { background: var(--accent); }
.mega-item-text { display: flex; flex-direction: column; min-width: 0; }
.mega-item-title { font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.mega-item-desc { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.mega-preview { flex: 1 1 auto; min-width: 0; padding: 4px 20px; }
.mega-panel { display: none; }
.mega-panel.is-active { display: flex; flex-direction: column; gap: 16px; animation: mega-in 0.18s ease-out; }
@keyframes mega-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.mega-copy { min-width: 0; display: flex; flex-direction: column; }
.mega-title { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 8px; }
.mega-text { color: var(--text); font-size: 15px; line-height: 1.55; margin: 0 0 12px; max-width: 620px; }
.mega-points { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.mega-points li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink); }
.mega-points li::before { content: ''; flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.mega-copy .btn { align-self: flex-start; margin-top: auto; }
.mega-media { order: -1; flex: 0 0 auto; height: 270px; min-width: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.mega-media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.mega-illu { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 30% 20%, #fff7b0 0, #fffbe0 35%, var(--soft) 70%); }
.mega-illu-icon { width: 110px; height: 110px; border-radius: 28px; background: var(--ink); color: var(--accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 24px 40px -18px rgba(17,17,17,0.45); }
.mega-promo { flex: 0 0 230px; border-radius: 16px; background: var(--accent); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.mega-promo .kicker { color: var(--ink); margin: 0; }
.mega-promo .mega-promo-title { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.15; margin: 0; color: var(--ink); }
.mega-promo-shot { border-radius: 10px; overflow: hidden; border: 1px solid rgba(17,17,17,0.15); box-shadow: 0 16px 28px -16px rgba(17,17,17,0.5); margin: 6px 0; }
.mega-promo p { margin: 0; font-size: 14px; color: #3b3b2a; }
.mega-promo .btn { background: var(--ink); color: #fff; margin-top: auto; }
.mega-promo .btn:hover { color: #fff; background: #000; }
.mega-promo a.promo-link { font-size: 14px; font-weight: 600; text-align: center; }
@media (max-width: 1199px) { .mega-promo { flex-basis: 200px; } .mega-media { height: 220px; } .mega-points { flex-direction: column; } }

/* ── Mobile drawer ────────────────────────────────────────────────────────── */
html.menu-locked, html.menu-locked body { overflow: hidden; }
.drawer { position: fixed; inset: 0; z-index: 60; background: var(--page); transform: translateX(100%); transition: transform 0.24s ease; display: flex; flex-direction: column; }
.drawer.is-on { transform: none; }
.drawer-head { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--line); flex: 0 0 auto; }
.drawer-body { flex: 1 1 auto; overflow: auto; padding: 8px 16px 24px; }
.drawer-link, .acc-trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0 4px; font: inherit; font-size: 17px; font-weight: 600; color: var(--ink); text-decoration: none; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; text-align: left; }
.acc-trigger[aria-expanded="true"] .caret { transform: rotate(180deg); }
.acc-panel { padding: 6px 0 12px; border-bottom: 1px solid var(--line); }
.acc-panel .mega-group-title { padding: 10px 4px 4px; }
.acc-panel .mega-item { padding: 8px 4px; }
.drawer-actions { display: flex; flex-direction: column; gap: 10px; padding: 20px 0 0; }
.drawer-actions .btn { width: 100%; }
@media (prefers-reduced-motion: reduce) { .mega, .menu-overlay, .drawer, .caret { transition: none; } .mega-panel.is-active { animation: none; } }
@media (max-width: 345px) { .header-mobile .icon-btn.wa { display: none; } }

/* WhatsApp: name and mobile before opening the chat (assets/whatsapp.js) */
.wa-dialog { position: fixed; inset: 0; z-index: 80; background: rgba(17,17,17,0.5); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity 0.18s ease; }
.wa-dialog[hidden] { display: none; }
.wa-dialog.is-on { opacity: 1; }
.wa-card { position: relative; width: 100%; max-width: 420px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--page); border-radius: 16px; padding: 28px 24px 22px; box-shadow: 0 24px 60px rgba(0,0,0,0.25); }
.wa-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-color: transparent; }
.wa-badge { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 13px; font-weight: 600; color: #128c4a; }
.wa-badge svg { width: 16px; height: 16px; }
.wa-card h2 { font-family: var(--display); font-size: 24px; line-height: 1.2; color: var(--ink); margin: 0 40px 8px 0; }
.wa-lead { margin: 0 0 18px; color: var(--text); }
.wa-field { display: block; margin: 0 0 12px; font-weight: 600; font-size: 14px; color: var(--ink); }
.wa-field span { display: block; margin-bottom: 6px; }
.wa-field input { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-weight: 400; font-size: 16px; border: 1px solid #c9c9c2; border-radius: 10px; background: var(--page); color: var(--ink); }
.wa-field input:focus { outline: 2px solid #25d366; outline-offset: 1px; border-color: #25d366; }
.wa-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wa-error { margin: 0 0 12px; color: #b42318; font-size: 14px; font-weight: 500; }
.btn-wa-solid { width: 100%; gap: 8px; background: #25d366; color: #0b3d20; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.btn-wa-solid:hover { background: #1fbe5b; color: #0b3d20; }
.wa-privacy { margin: 14px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.wa-privacy a { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .wa-dialog { transition: none; } }
