/* Identidad existente; jerarquía y componentes de la revisión de septiembre. */
html { scroll-padding-top: 100px; }
body { text-rendering: optimizeLegibility; }
main { overflow: clip; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--yellow-light); outline-offset: 5px; }
.skip-link { position: fixed; top: 10px; left: 16px; z-index: 100; padding: 12px 18px; background: var(--yellow); color: var(--bg); border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.container { max-width: 1240px; padding-inline: 36px; }
.nav { border-bottom: 1px solid var(--border); }
.nav-inner { min-height: 80px; }
.brand-logo { width: 40px; height: 40px; }
.nav-links > a.nav-cta:hover { color: var(--bg); background: var(--yellow-light); }
.btn { min-height: 48px; gap: 18px; padding: 14px 22px; border-radius: 10px; font-size: 14px; }
.btn-primary { background: var(--yellow); box-shadow: none; }
.btn-primary:hover { background: var(--yellow-light); box-shadow: 0 6px 24px color-mix(in srgb, var(--accent) 12%, transparent); }
.btn-ghost { border-color: var(--border-strong); background: transparent; }
.btn-wa { box-shadow: none; }
.hero { padding: 78px 0 70px; isolation: isolate; }
.hero-grid { grid-template-columns: 1.06fr 1fr; gap: 64px; }
.hero h1 { font-size: clamp(36px, 4.2vw, 58px); line-height: 1.07; letter-spacing: -.045em; text-wrap: balance; }
.home-hero h1 { font-size: clamp(43px, 4.7vw, 66px); }
.hero p.lead { font-size: 18px; line-height: 1.75; margin: 24px 0 30px; color: var(--text); max-width: 490px; }
.pill { font-family: var(--font-mono); font-size: 11px; letter-spacing: -.02em; font-weight: 400; padding: 8px 12px; margin-bottom: 25px; }
.hero::before, .dot-live, .glasscard, .section-tag::before { animation: none; }
.hero::before { opacity: .55; }
.hero::after { background-size: 64px 64px; opacity: .5; }
.hero-trust { gap: 18px; margin-top: 22px; font-size: 12px; }
.hero-trust span::before { content: '✓'; color: var(--yellow); }
.hero-bottom { margin-top: 68px; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; color: var(--text-secondary); font-size: 12px; }
.hero-bottom::before { content: ''; position: absolute; left: 36px; right: 36px; height: 1px; background: var(--border); margin-top: -24px; }
.hero-bottom a { color: var(--yellow-light); }
.hero-visual { order: initial; min-width: 0; }
.chat-stage { width: 100%; max-width: 454px; position: relative; padding: 22px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.chat-caption { display: flex; justify-content: space-between; color: var(--yellow); margin-bottom: 20px; align-items: center; }
.demo-label { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .025em; color: var(--yellow-light); }
.glasscard { max-width: none; padding: 20px; border-radius: 16px; border-color: var(--border); background: var(--surface); box-shadow: none; backdrop-filter: none; }
.mini-head { padding-bottom: 18px; }
.mini-av { font-family: var(--font-display); font-weight: 800; color: var(--bg); }
.mini-body { gap: 14px; padding-top: 22px; }
.mini-msg { font-size: 13px; line-height: 1.6; padding: 11px 14px; max-width: 89%; }
.mini-msg.out { background: color-mix(in srgb, var(--accent) 13%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent); }
.mini-name small { font-weight: 400; color: var(--text-secondary); margin-top: 4px; }
.chat-outcome { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.chat-outcome > span { color: var(--yellow); border: 1px solid var(--border-strong); border-radius: 50%; width: 28px; height: 28px; text-align: center; }
.chat-outcome strong { display: block; font-size: 12px; font-weight: 600; }
.chat-outcome div > span { color: var(--text-secondary); font-size: 11px; }
.demo-disclaimer { color: var(--text-secondary); font-size: 12px; line-height: 1.7; margin: 16px 0 0; }
.section { padding: 90px 0; }
.section-tag { font-size: 11px; letter-spacing: .13em; color: var(--yellow-light); }
.section-tag::before { content: ''; margin: 0; }
.section-title { font-size: clamp(30px, 3.5vw, 46px); letter-spacing: -.04em; line-height: 1.12; margin: 15px auto 20px; text-wrap: balance; }
.section-sub { line-height: 1.8; font-size: 16px; max-width: 610px; margin-bottom: 44px; }
.demo-section { background: var(--bg-2); border-block: 1px solid var(--border); }
.demo-wrap { gap: 90px; max-width: 1040px; margin: 45px auto 0; align-items: center; }
.demo-copy h2 { font-size: 30px; letter-spacing: -.035em; max-width: 370px; }
.demo-copy > p { line-height: 1.8; margin: 18px 0 24px; color: var(--text-secondary); }
.demo-steps { font-size: 14px; }
.demo-rubros { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 28px; }
.demo-rubro-btn { min-height: 46px; border-radius: 10px; padding: 10px 12px; text-align: left; }
.demo-phone-group { width: 100%; min-width: 0; max-width: 420px; justify-self: center; }
.demo-phone-group > .demo-label { display: block; text-align: center; margin-bottom: 12px; }
.phone { width: 100%; max-width: 420px; margin: 0; height: 510px; border-radius: 20px; box-shadow: 0 20px 55px rgba(0,0,0,.3); }
.wa-header { padding: 16px; }
.wa-quick { min-height: 64px; }
.chip { min-height: 42px; color: var(--wa-header); font-size: 12px; }
.demo-reset { background: transparent; border: 1px solid var(--border); border-radius: 8px; color: var(--text); min-height: 44px; width: 100%; margin-top: 14px; cursor: pointer; font-size: 13px; }
.demo-reset:hover { border-color: var(--yellow); }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { padding: 30px; border-radius: 16px; }
.feature-symbol { color: var(--yellow); font-size: 34px; display: block; margin: 0 0 25px; }
.feature-card h3 { font-size: 20px; margin-bottom: 12px; letter-spacing: -.025em; }
.feature-card p, .card p, .step p { line-height: 1.8; font-size: 15px; }
.text-link { display: inline-flex; gap: 16px; align-items: center; color: var(--yellow-light); font-size: 14px; font-weight: 600; margin-top: 25px; min-height: 44px; }
.capabilities .text-link { display: flex; justify-content: center; }
.process-section { border-block: 1px solid var(--border); }
.step { text-align: left; padding: 18px 26px; }
.step .circle { margin: 0 0 26px; background: transparent; box-shadow: none; border: 1px solid var(--border-strong); color: var(--yellow); font-family: var(--font-mono); font-size: 15px; width: 44px; height: 44px; }
.step h3 { font-size: 20px; letter-spacing: -.025em; }
.cards-services { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { border-radius: 16px; padding: 26px; }
.card .ico { background: transparent; box-shadow: none; }
.card h3 { font-size: 19px; }
.card .card-link { font-size: 13px; margin-top: auto; padding-top: 24px; }
.service-card { display: flex; flex-direction: column; }
.local-panel, .quote-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 54px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 20px; }
.local-panel .section-tag, .quote-panel .section-tag { text-align: left; }
.local-panel h2, .quote-panel h2 { font-size: clamp(30px, 3vw, 40px); letter-spacing: -.035em; line-height: 1.16; margin-top: 20px; }
.local-panel p:not(.section-tag), .quote-panel p:not(.section-tag) { color: var(--text-secondary); font-size: 15px; line-height: 1.85; margin-bottom: 18px; }
.local-panel strong { color: var(--text); font-weight: 500; }
.quote-panel > div > p:not(.section-tag) { margin-top: 20px; }
.quote-checklist { padding: 28px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-2); }
.quote-checklist h3 { font-size: 19px; margin-bottom: 18px; }
.quote-checklist li { font-size: 14px; line-height: 1.7; padding: 12px 0; border-bottom: 1px solid var(--border); }
.quote-checklist li::before { content: '✓ '; color: var(--yellow); }
.quote-checklist p { font-size: 12px !important; margin: 20px 0 0 !important; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq-layout .section-tag, .faq-layout .section-title, .faq-layout .section-sub { text-align: left; }
.faq-layout .section-title { margin-left: 0; }
.faq { width: 100%; max-width: none; }
.faq details { border: 0; border-bottom: 1px solid var(--border); background: transparent; border-radius: 0; }
.faq summary { padding: 22px 24px 22px 0; font-size: 16px; }
.faq details p { padding: 0 18px 24px 0; font-size: 14px; line-height: 1.85; color: var(--text-secondary); }
.faq p a { color: var(--yellow-light); text-decoration: underline; text-underline-offset: 3px; }
.cta-final { padding: 68px 42px; background: var(--bg-2); border: 1px solid var(--border-strong); border-radius: 24px; }
.cta-final h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -.04em; line-height: 1.12; margin: 22px 0; }
.cta-final > p { max-width: 590px; margin-inline: auto; line-height: 1.8; }
.cta-final .hero-cta { justify-content: center; margin-top: 28px; }
.cta-final p.cta-note { font-size: 11px; color: var(--text-secondary); margin-top: 20px; margin-bottom: 0; }
.footer { padding-top: 58px; }
.footer-cols .footer-title { color: var(--text); font-family: var(--font); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer-cols a { display: inline-flex; min-height: 28px; align-items: center; }
.footer-about { line-height: 1.8; }
.footer-bottom { font-size: 12px; }
.wa-float { width: 50px; height: 50px; right: 22px; bottom: 22px; box-shadow: 0 5px 24px rgba(0,0,0,.3); animation: none; font-size: 23px; }
.price-card { padding: 32px; border-radius: 18px; }
.price-card.featured { transform: none; }
.plan-features { line-height: 1.8; }
.plan-setup { color: var(--text-secondary); }
.price-badge { box-shadow: none; }
.breadcrumbs { font-size: 12px; }
.wizard { border-radius: 20px; }
.step-sub { line-height: 1.8; }
.choice-card { min-height: 96px; border-radius: 12px; }
.result-total { gap: 16px; flex-wrap: wrap; }
.result-line { gap: 20px; }
.result-line > div { min-width: 0; }
.legal-section p, .legal-section li { line-height: 1.85; }
@media (max-width: 1100px) {
  .cards-services { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 36px; }
  .hero h1 { font-size: 48px; }
  .demo-wrap { gap: 45px; }
  .nav-links { gap: 12px; }
}
@media (max-width: 980px) {
  .nav-inner { min-height: 72px; }
  .nav-links { top: 72px; visibility: hidden; pointer-events: none; }
  .nav-links.open { visibility: visible; pointer-events: auto; }
  .nav-dropdown { visibility: hidden; }
  .nav-item[data-open="true"] .nav-dropdown { visibility: visible; }
  .nav-links > a.nav-cta { margin-left: 0; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero h1 { font-size: 42px; }
  .hero p.lead { font-size: 16px; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { font-size: 13px; padding-inline: 16px; }
  .chat-stage { padding: 16px; }
  .mini-msg { font-size: 12px; }
  .demo-wrap { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .step { padding: 14px; }
  .step h3 { font-size: 18px; }
  .local-panel, .quote-panel { padding: 36px; gap: 32px; }
  .faq-layout { gap: 40px; }
}
@media (max-width: 740px) {
  .container { padding-inline: 22px; }
  .hero { padding: 44px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1, .home-hero h1 { font-size: clamp(38px, 8.8vw, 56px); }
  .hero p.lead { max-width: 530px; }
  .hero-visual { order: initial; }
  .pill { font-size: 10px; padding: 8px 10px; }
  .hero-trust { gap: 11px; font-size: 11px; }
  .hero-bottom { margin-top: 32px; padding-top: 20px; line-height: 1.7; }
  .hero-bottom > span { max-width: 210px; }
  .chat-stage { max-width: 454px; padding: 18px; }
  .mini-msg { font-size: 13px; }
  .section { padding: 58px 0; }
  .section-sub { font-size: 15px; margin-bottom: 32px; }
  .demo-wrap { grid-template-columns: 1fr; gap: 32px; margin-top: 24px; }
  .demo-copy h2 { font-size: 26px; max-width: 100%; }
  .demo-rubros { grid-template-columns: repeat(3, 1fr); }
  .demo-rubro-btn { font-size: 11px; padding: 8px; }
  .demo-rubro-btn .emoji { display: block; margin-bottom: 6px; }
  .capability-grid, .steps { grid-template-columns: 1fr; gap: 14px; }
  .feature-card { padding: 26px; }
  .feature-symbol { margin-bottom: 15px; }
  .step { padding: 20px 0; }
  .step + .step { border-top: 1px solid var(--border); }
  .step .circle { margin-bottom: 16px; }
  .cards-services { grid-template-columns: 1fr; }
  .local-panel, .quote-panel { grid-template-columns: 1fr; gap: 24px; margin-inline: 22px; width: auto; padding: 28px; }
  .local-panel h2, .quote-panel h2 { font-size: 30px; }
  .quote-checklist { padding: 20px; }
  .faq-layout { grid-template-columns: 1fr; gap: 0; }
  .faq-layout .section-sub { margin-bottom: 10px; }
  .cta-final { padding: 36px 22px; }
  .cta-final h2 { font-size: 32px; }
  .footer-cols { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 30px 20px; }
  .footer-grid { flex-direction: column; gap: 36px; }
  .footer-bottom { padding-right: 42px; text-align: left; }
  .wa-float { right: 14px; bottom: 14px; width: 46px; height: 46px; }
  .choice-grid { grid-template-columns: 1fr; }
  .wizard { padding: 22px; }
  .result-line { flex-direction: column; align-items: start; gap: 10px; }
  .price-card { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
