/* Páginas SEO (/tpv-bares, /precios, /tpv-tactil-android, /verifactu) — 12/10/2026.
   Mismo diseño que la home (index.html): colores, IBM Plex Sans, nav, botones,
   tarjetas de planes, FAQ en acordeón, CTA final y pie. Los estilos base están
   COPIADOS de index.html; si cambias la home, revisa también este fichero. */

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

:root {
    --bg: #050a14;
    --bg2: #080e1c;
    --surface: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.07);
    --blue: #137fec;
    --blue-glow: rgba(19, 127, 236, 0.15);
    --purple: #7c3aed;
    --text: #f1f5f9;
    --muted: #64748b;
    --muted2: #94a3b8;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: #60a5fa; }

/* ── NAV (igual que la home) ─────────────────────────────────── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; row-gap: 4px;
    padding: 18px 5vw;
    background: rgba(5, 10, 20, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-burger {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 9px;
    background: transparent; border: 1px solid var(--border); border-radius: 10px; cursor: pointer;
}
.nav-burger span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .2s; }
nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.open .nav-burger span:nth-child(2) { opacity: 0; }
nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a, .nav-drop-btn {
    color: var(--muted2); font-size: 14px; font-weight: 500; text-decoration: none; transition: color .2s;
}
.nav-links a:hover, .nav-drop-btn:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--text); }
.btn-nav {
    background: var(--blue); color: #fff; font-size: 13px; font-weight: 700;
    padding: 9px 22px; border-radius: 999px; text-decoration: none; border: none; cursor: pointer;
    transition: all .2s; white-space: nowrap; box-shadow: 0 0 20px rgba(19, 127, 236, 0.35);
}
.btn-nav:hover { background: #1a8ff5; transform: translateY(-1px); box-shadow: 0 0 35px rgba(19, 127, 236, 0.5); }
#auth-nav-container { display: flex; gap: 12px; }

/* Desplegable "Soluciones" (mismo bloque en la home) */
.nav-drop { position: relative; }
.nav-drop-btn {
    background: none; border: 0; cursor: pointer; font-family: inherit;
    display: inline-flex; align-items: center; gap: 6px; padding: 0;
}
.nav-drop-btn::after { content: '▾'; font-size: 11px; opacity: .8; transition: transform .2s; }
.nav-drop.open .nav-drop-btn::after { transform: rotate(180deg); }
.nav-drop-menu {
    display: none; position: absolute; top: calc(100% + 14px); left: -16px; min-width: 230px;
    background: rgba(8, 14, 28, 0.98); border: 1px solid var(--border); border-radius: 14px;
    padding: 8px; box-shadow: 0 18px 50px rgba(0, 0, 0, .5); flex-direction: column;
}
.nav-drop.open .nav-drop-menu { display: flex; }
@media (hover: hover) and (min-width: 769px) {
    .nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { display: flex; }
    .nav-drop::before { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
}
.nav-links .nav-drop-menu a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--muted2); }
.nav-links .nav-drop-menu a:hover { background: var(--surface); color: var(--text); }

/* ── BOTONES (igual que la home) ─────────────────────────────── */
.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--blue); color: #fff; font-size: 15px; font-weight: 700;
    padding: 15px 34px; border-radius: 999px; text-decoration: none;
    box-shadow: 0 0 40px rgba(19, 127, 236, 0.4); transition: all .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 60px rgba(19, 127, 236, 0.5); }
.btn-demo {
    display: inline-flex; align-items: center; gap: 9px;
    color: #c4b5fd; font-size: 15px; font-weight: 700; padding: 15px 34px; border-radius: 999px;
    text-decoration: none; border: 1px solid rgba(124, 58, 237, 0.5);
    box-shadow: 0 0 22px rgba(124, 58, 237, 0.3); transition: all .2s;
}
.btn-demo:hover { transform: translateY(-2px); border-color: rgba(124, 58, 237, 0.85); color: #ddd6fe; box-shadow: 0 0 38px rgba(124, 58, 237, 0.5); }
.btn-agendar {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    color: #dcfce7; font-size: 15px; font-weight: 800; padding: 15px 34px; min-height: 52px;
    border-radius: 999px; text-decoration: none;
    background: rgba(37, 211, 102, 0.12); border: 1px solid rgba(37, 211, 102, 0.55);
    box-shadow: 0 0 22px rgba(37, 211, 102, 0.22); transition: all .2s;
}
.btn-agendar:hover { transform: translateY(-2px); background: rgba(37, 211, 102, 0.2); border-color: rgba(37, 211, 102, 0.9); box-shadow: 0 0 38px rgba(37, 211, 102, 0.4); }
.btn-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ── CABECERA DE PÁGINA ──────────────────────────────────────── */
.page-hero {
    padding: 140px 5vw 72px;
    display: flex; align-items: center; gap: 56px;
    max-width: 1300px; margin: 0 auto;
    position: relative;
}
.page-hero-text { flex: 1 1 540px; max-width: 620px; }
.page-hero-media { flex: 1 1 420px; display: flex; justify-content: center; }
.page-hero-media img {
    width: 100%; max-width: 620px; height: auto; display: block;
    border-radius: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.page-hero h1 {
    font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12;
    margin-bottom: 22px;
}
.page-hero .lead { font-size: clamp(16px, 2vw, 19px); color: #cbd5e1; line-height: 1.7; margin-bottom: 32px; }
.page-hero .note { font-size: 14px; color: var(--muted2); margin-top: 18px; font-weight: 500; }
.page-hero.centered { flex-direction: column; text-align: center; padding-bottom: 40px; }
.page-hero.centered .page-hero-text { max-width: 820px; }
.page-hero.centered .btn-row { justify-content: center; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted2); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.updated { display: inline-block; font-size: 13px; color: var(--muted2); margin-top: 18px; }
@media (max-width: 960px) {
    .page-hero { flex-direction: column; text-align: center; padding-top: 120px; gap: 36px; }
    .page-hero .btn-row { justify-content: center; }
}

/* ── SECCIONES DE CONTENIDO ──────────────────────────────────── */
.section { padding: 80px 5vw; border-top: 1px solid var(--border); }
.section.alt { background: var(--bg2); }
.section-inner { max-width: 880px; margin: 0 auto; }
.section-inner.wide { max-width: 1200px; }
.section-label {
    display: inline-block; font-size: 11px; font-weight: 800; color: var(--blue);
    text-transform: uppercase; letter-spacing: .15em; margin-bottom: 16px;
}
.section h2, .section-title {
    font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.18;
    margin-bottom: 20px;
}
.section p { color: var(--muted2); font-size: 16.5px; line-height: 1.75; margin-bottom: 16px; }
.section p strong, .section li strong { color: var(--text); }
.section ul.bullets { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 8px 0 18px; }
.section ul.bullets li {
    position: relative; padding-left: 30px; color: var(--muted2); font-size: 16px; line-height: 1.7;
}
.section ul.bullets li::before {
    content: '✓'; position: absolute; left: 0; top: 0; color: #10b981; font-weight: 900;
}
.text-link { display: inline-block; margin-top: 6px; font-weight: 700; color: #60a5fa; text-decoration: none; }
.text-link::after { content: ' →'; }
.text-link:hover { color: #93c5fd; }
.link-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.link-list a { color: #60a5fa; font-weight: 600; text-decoration: none; }
.link-list a:hover { color: #93c5fd; text-decoration: underline; }
.link-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 8px; }
.figure { margin: 28px 0 8px; }
.figure img { width: 100%; height: auto; display: block; border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }

/* Tablas: en móvil se desplazan en horizontal dentro de su caja */
.table-wrap {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border); border-radius: 16px; background: var(--surface);
    margin: 20px 0;
}
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
.table-wrap th, .table-wrap td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.table-wrap thead th {
    font-size: 12px; font-weight: 800; color: var(--muted2); text-transform: uppercase; letter-spacing: .08em;
    background: rgba(255, 255, 255, 0.03); white-space: nowrap;
}
.table-wrap tbody th { font-weight: 600; color: var(--text); }
.table-wrap td { color: var(--muted2); }
.table-wrap tr:last-child th, .table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap .col-pop { background: rgba(19, 127, 236, 0.06); }
.table-wrap thead .col-pop { color: #60a5fa; }
.scroll-hint { display: none; font-size: 12px; color: var(--muted); margin-top: -10px; }
@media (max-width: 640px) { .scroll-hint { display: block; } }

/* Testimonios */
.quote {
    border-left: 3px solid var(--blue); background: var(--surface); border-radius: 0 16px 16px 0;
    padding: 22px 26px; margin: 18px 0;
}
.quote p { color: var(--text); font-size: 17px; font-style: italic; margin-bottom: 10px; }
.quote cite { color: var(--muted2); font-size: 14px; font-style: normal; font-weight: 600; }

/* ── PLANES (igual que la home) ──────────────────────────────── */
.pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px; margin: 40px auto 0; max-width: 1200px;
}
.plan-card {
    border: 1px solid var(--border); border-radius: 24px; padding: 36px 32px;
    display: flex; flex-direction: column; gap: 8px; background: var(--surface);
    transition: transform .25s; position: relative; overflow: hidden;
}
.plan-card.popular {
    border-color: var(--blue);
    background: linear-gradient(135deg, rgba(19, 127, 236, 0.08), rgba(124, 58, 237, 0.05));
    box-shadow: 0 0 60px rgba(19, 127, 236, 0.12);
}
.plan-badge {
    position: absolute; top: 20px; right: 20px; background: var(--blue); color: #fff;
    font-size: 10px; font-weight: 800; padding: 4px 12px; border-radius: 999px;
    text-transform: uppercase; letter-spacing: .08em;
}
.plan-card:hover { transform: translateY(-4px); }
.plan-card h3.plan-name {
    font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .1em;
}
.plan-price { margin: 4px 0 4px; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.plan-price .price-val { font-size: 44px; font-weight: 600; color: var(--text); letter-spacing: -0.02em; }
.plan-price .price-unit { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan-alt { font-size: 13px; color: #10b981; font-weight: 700; margin-bottom: 6px; }
.section .plan-desc, .plan-desc {
    font-size: 13.5px; color: var(--muted2); line-height: 1.6; padding-bottom: 20px;
    border-bottom: 1px solid var(--border); margin-bottom: 8px;
}
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted2); }
.plan-features li::before { content: '✓'; color: #10b981; font-weight: 900; flex-shrink: 0; margin-top: 1px; }
.plan-btn {
    display: block; text-align: center; text-decoration: none; padding: 14px; border-radius: 14px;
    font-size: 14px; font-weight: 800; margin-top: 28px; transition: all .2s;
}
.plan-btn-primary { background: var(--blue); color: #fff; box-shadow: 0 0 30px rgba(19, 127, 236, 0.3); }
.plan-btn-primary:hover { background: #1a8ff5; box-shadow: 0 0 50px rgba(19, 127, 236, 0.4); }
.plan-btn-ghost { background: var(--surface); color: var(--muted2); border: 1px solid var(--border); }
.plan-btn-ghost:hover { border-color: rgba(255, 255, 255, 0.15); color: var(--text); }

/* Selector Mensual · Anual */
.billing-switch {
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px; padding: 5px;
}
.billing-switch button {
    font-family: inherit; font-size: 13px; font-weight: 700; color: var(--muted2);
    background: transparent; border: 0; border-radius: 999px; padding: 8px 18px; cursor: pointer; transition: all .2s;
}
.billing-switch button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.billing-switch .save {
    background: linear-gradient(135deg, #10b981, #059669); color: #fff; font-size: 10px; font-weight: 800;
    padding: 3px 9px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; margin-left: 6px;
}

/* ── FAQ en acordeón (igual que la home) ─────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 2px; margin-top: 32px; }
.faq-item { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--surface); margin-bottom: 8px; }
.faq-item summary {
    list-style: none; padding: 22px 28px; cursor: pointer; font-size: 16px; font-weight: 700; color: var(--text);
    display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: background .2s;
}
.faq-item summary:hover { background: rgba(255, 255, 255, 0.03); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; font-weight: 300; color: var(--blue); flex-shrink: 0; transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] { border-color: rgba(19, 127, 236, 0.25); }
.faq-item[open] summary { color: var(--blue); }
.faq-body { padding: 0 28px 24px; color: var(--muted2); font-size: 15px; line-height: 1.8; }
@media (max-width: 600px) {
    .faq-item summary { padding: 18px 20px; font-size: 15px; }
    .faq-body { padding: 0 20px 20px; }
}

/* ── CTA FINAL (igual que la home) ───────────────────────────── */
.cta-section {
    padding: 96px 5vw; text-align: center;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(19, 127, 236, 0.08), transparent);
    border-top: 1px solid var(--border);
}
.cta-section h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 900; letter-spacing: -.02em; max-width: 760px; margin: 0 auto 20px; }
.cta-section p { color: var(--muted2); font-size: 16px; max-width: 560px; margin: 0 auto 36px; line-height: 1.7; }
.cta-section .btn-row { justify-content: center; }

/* ── PIE (igual que la home) ─────────────────────────────────── */
footer {
    padding: 32px 5vw; border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
footer p { font-size: 13px; color: var(--muted); }
footer a { color: var(--muted); font-size: 13px; text-decoration: none; transition: color .2s; }
footer a:hover { color: var(--text); }
.footer-links { display: flex; gap: 12px 24px; flex-wrap: wrap; }

/* Con "Soluciones" el menú no cabía en una línea en pantallas de 1024–1439 px */
@media (min-width: 769px) and (max-width: 1439px) { .nav-links { gap: 18px; } }

/* ── RESPONSIVE (igual que la home) ──────────────────────────── */
@media (max-width: 768px) {
    .nav-burger { display: flex; }
    .nav-links {
        display: none; flex-basis: 100%; order: 3; flex-direction: column; align-items: stretch; gap: 0; margin-top: 10px;
    }
    #auth-nav-container { display: none !important; flex-basis: 100%; order: 4; }
    nav.open { background: rgba(5, 10, 20, 0.97); max-height: 100vh; overflow-y: auto; }
    nav.open .nav-links { display: flex; }
    nav.open #auth-nav-container { display: flex !important; flex-direction: column; gap: 10px; margin-top: 6px; padding-bottom: 6px; }
    nav.open .nav-links > a, nav.open .nav-drop-btn {
        padding: 14px 4px; font-size: 16px; border-top: 1px solid var(--border); width: 100%; text-align: left;
    }
    nav.open .nav-drop-btn { justify-content: space-between; }
    .nav-drop-menu { position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 12px; min-width: 0; }
    nav.open #auth-nav-container .btn-nav { text-align: center; }
    .section { padding: 64px 5vw; }
    .btn-row > a { width: 100%; justify-content: center; }
}

/* ── FADE IN (igual que la home) ─────────────────────────────── */
[data-fade] { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
[data-fade].visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    [data-fade] { opacity: 1; transform: none; transition: none; }
}
