/* ========================================
   AXIS — Styles
   ======================================== */

:root {
    --navy-950: #0A1424;
    --navy-800: #12233D;
    --navy-700: #1B3358;
    --blue-500: #2E7DD1;
    --blue-300: #6FC8F2;
    --bg: #F5F7FA;
    --panel: #FFFFFF;
    --ink-900: #0E1A2B;
    --ink-600: #55606E;
    --ink-400: #5C6470;
    --line: #E1E6EC;
    --line-dark: #26385A;
    --radius: 14px;
    --grad: linear-gradient(135deg, var(--blue-500), var(--blue-300));
}

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

html {
    scroll-behavior: smooth;
}

/* Respeta preferencia de reducir movimiento */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink-900);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Accesibilidad: skip link */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

h1,
h2,
h3,
.display {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--ink-900);
    margin: 0;
    letter-spacing: -0.01em;
}

.mono {
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: 0.04em;
}

.eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-500);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.eyebrow::before {
    content: '';
    width: 16px;
    height: 1px;
    background: var(--blue-500);
    display: inline-block;
    flex-shrink: 0;
}

a {
    color: inherit;
}

.wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 32px;
}

section {
    padding: 96px 0;
}

@media (max-width: 720px) {
    section {
        padding: 64px 0;
    }

    .wrap {
        padding: 0 20px;
    }
}

/* ---- Logo ---- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    display: block;
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-img--sm {
    height: 28px;
}

/* ---- Header ---- */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(245, 247, 250, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 16px;
}

nav {
    display: flex;
    gap: 36px;
}

nav a {
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: var(--ink-600);
    transition: color .2s;
}

nav a:hover {
    color: var(--navy-950);
}

/* Nav móvil */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    margin-left: auto;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--ink-900);
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 0 16px;
    border-top: 1px solid var(--line);
    background: rgba(245, 247, 250, 0.97);
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile a {
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    color: var(--ink-600);
}

.nav-mobile .btn {
    margin: 8px 20px 0;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    header .wrap > nav,
    header .wrap > .btn {
        display: none;
    }
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--navy-950);
    color: #fff;
}

.btn-primary:hover {
    box-shadow: 0 8px 20px rgba(10, 20, 36, 0.25);
}

.btn-ghost {
    background: transparent;
    border-color: var(--line-dark);
    color: var(--navy-950);
}

.btn-accent {
    background: var(--grad);
    color: #fff;
}

.btn-accent:hover {
    box-shadow: 0 8px 24px rgba(46, 125, 209, 0.35);
}

.btn-sm {
    padding: 9px 16px;
    font-size: 13px;
}

.btn-full {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
}

/* ---- Hero ---- */
.hero {
    background: var(--navy-950);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 120px 0 100px;
}

.hero .wrap {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 900px) {
    .hero .wrap {
        grid-template-columns: 1fr;
    }

    .hero-canvas-wrap {
        height: 280px;
    }
}

.hero h1 {
    font-size: clamp(34px, 4.4vw, 58px);
    line-height: 1.05;
    font-weight: 700;
    color: #fff;
    margin-top: 0;
}

.hero h1 em {
    font-style: normal;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p.lead {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.65;
    color: #B7C2D0;
    max-width: 480px;
}

.hero-eyebrow {
    color: var(--blue-300);
}

.hero-eyebrow::before {
    background: var(--blue-300);
}

.hero-actions {
    margin-top: 36px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-actions .btn-ghost {
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.hero-canvas-wrap {
    position: relative;
    height: 420px;
    border-radius: 20px;
    border: 1px solid var(--line-dark);
    background: radial-gradient(120% 120% at 30% 20%, rgba(46, 125, 209, 0.14), rgba(10, 20, 36, 0) 60%);
    overflow: hidden;
}

#network {
    width: 100%;
    height: 100%;
    display: block;
}

/* ---- Section headers ---- */
.sec-head {
    max-width: 620px;
    margin-bottom: 56px;
}

.sec-head h2 {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 600;
    margin-top: 0;
}

.sec-head p {
    margin-top: 14px;
    color: var(--ink-600);
    font-size: 16px;
    line-height: 1.6;
}

/* ---- Servicios ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

@media (max-width: 860px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--panel);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: background .2s;
}

.service-card:hover {
    background: #FAFCFF;
}

.service-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--navy-950);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 0;
}

.service-card p {
    margin: 0;
    color: var(--ink-600);
    font-size: 14px;
    line-height: 1.55;
}

.service-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--blue-500);
}

/* ---- Ejemplos section ---- */
.ejemplos-section {
    background: #EFF3F7;
}

/* ---- Demo tabs ---- */
.demo-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12.5px;
    color: var(--ink-600);
    cursor: pointer;
    transition: all .18s;
}

.tab-btn:hover {
    border-color: var(--navy-950);
    color: var(--navy-950);
}

.tab-btn.active {
    background: var(--navy-950);
    border-color: var(--navy-950);
    color: #fff;
}

.demo-frame {
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 20px 50px -20px rgba(10, 20, 36, 0.18);
    overflow: hidden;
}

.demo-chrome {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    background: #EEF1F5;
    border-bottom: 1px solid var(--line);
    min-height: 44px;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #D6DBE2;
    flex-shrink: 0;
}

.demo-url {
    margin-left: 8px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11.5px;
    color: var(--ink-400);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 3px 10px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
}

/* View toggle — colores correctos sobre fondo gris claro */
.view-toggle {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.view-toggle button {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink-400);
    cursor: pointer;
    font-size: 13px;
    transition: background .15s, color .15s, border-color .15s;
}

.view-toggle button:hover {
    border-color: var(--navy-950);
    color: var(--navy-950);
}

.view-toggle button.active {
    background: var(--navy-950);
    border-color: var(--navy-950);
    color: #fff;
}

/* Ocultar view-toggle cuando no es Demo 1 */
.view-toggle.hidden {
    visibility: hidden;
    pointer-events: none;
}

.demo-panel {
    display: none;
}

.demo-panel.active {
    display: block;
}

/* Demo 1: sitio informativo */
.d1-hero {
    background: linear-gradient(135deg, #0F2540, #1B3358);
    color: #fff;
    padding: 40px 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.d1-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
}

.d1-hero p {
    margin: 0;
    color: #B7C2D0;
    font-size: 13px;
    max-width: 320px;
}

.d1-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
}

.d1-services div {
    background: #fff;
    padding: 20px;
    font-size: 13px;
    color: var(--ink-600);
}

.d1-services strong {
    display: block;
    color: var(--ink-900);
    font-size: 13.5px;
    margin-bottom: 4px;
}

.d1-wrapper {
    transition: max-width .25s ease, margin .25s ease;
}

.d1-wrapper.mobile {
    max-width: 340px;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .d1-services {
        grid-template-columns: 1fr;
    }

    .d1-hero {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Demo 2: agenda de citas */
.d2-body {
    padding: 32px 36px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

@media (max-width: 640px) {
    .d2-body {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }
}

.field {
    margin-bottom: 20px;
}

.field label {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--ink-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.field select,
.field input[type="date"],
.field input[type="text"],
.field input[type="number"] {
    width: 100%;
    padding: 11px 12px;
    border-radius: 8px;
    border: 1px solid var(--line);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--ink-900);
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .2s, box-shadow .2s;
}

.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A93A0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.field select:focus,
.field input:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(46, 125, 209, 0.15);
}

.slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.slot {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--line);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12.5px;
    cursor: pointer;
    background: #fff;
    transition: all .15s;
    user-select: none;
}

.slot:hover {
    border-color: var(--navy-950);
}

.slot.selected {
    background: var(--navy-950);
    color: #fff;
    border-color: var(--navy-950);
}

.d2-summary {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.d2-summary-title {
    margin: 0 0 4px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink-900);
}

.d2-summary .row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--ink-600);
}

.d2-summary .row b {
    color: var(--ink-900);
    font-weight: 600;
}

.d2-confirm {
    margin-top: 10px;
    padding: 12px;
    border-radius: 8px;
    background: linear-gradient(135deg, #E8F3FF, #F2FBFF);
    border: 1px solid #BFE0F7;
    color: var(--navy-700);
    font-size: 13px;
    display: none;
}

.d2-confirm.show {
    display: block;
}

/* Demo 3: inventario AppSheet-style */
.d3-body {
    padding: 28px 36px;
}

@media (max-width: 560px) {
    .d3-body {
        padding: 20px;
    }
}

.d3-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 12px;
}

.d3-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--ink-900);
}

.d3-sync {
    font-size: 11px;
    color: var(--ink-400);
    white-space: nowrap;
}

table.inv {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

table.inv th {
    text-align: left;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-400);
    padding: 10px 8px;
    border-bottom: 1px solid var(--line);
}

table.inv td {
    padding: 11px 8px;
    border-bottom: 1px solid var(--line);
    color: var(--ink-900);
}

table.inv tr:last-child td {
    border-bottom: none;
}

table.inv tbody tr {
    transition: background .15s;
}

table.inv tbody tr:hover {
    background: var(--bg);
}

.stock-pill {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-family: 'IBM Plex Mono', monospace;
}

.stock-ok {
    background: #E4F5E9;
    color: #1F7A3F;
}

.stock-low {
    background: #FCEBD8;
    color: #B05E12;
}

.del-btn {
    border: none;
    background: none;
    color: var(--ink-400);
    cursor: pointer;
    font-size: 15px;
    padding: 4px 6px;
    border-radius: 6px;
    transition: color .15s, background .15s;
}

.del-btn:hover {
    color: #C0392B;
    background: #FFF0EE;
}

.add-row {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.add-row input {
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    transition: border-color .2s, box-shadow .2s;
}

.add-row input:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(46, 125, 209, 0.15);
}

.add-row input[name="prod"] {
    flex: 1;
    min-width: 140px;
}

.add-row input[name="qty"] {
    width: 80px;
}

/* ---- Sobre nosotros ---- */
.about {
    background: var(--navy-950);
    color: #fff;
    border-radius: 24px;
    padding: 64px 56px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

@media (max-width: 820px) {
    .about {
        grid-template-columns: 1fr;
        padding: 44px 28px;
    }
}

.about h2 {
    color: #fff;
    font-size: 30px;
    margin-top: 0;
}

.about p {
    color: #B7C2D0;
    line-height: 1.75;
    font-size: 15.5px;
    margin-top: 18px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 26px;
    justify-content: center;
}

.about-stat {
    border-left: 2px solid var(--blue-500);
    padding-left: 16px;
    transition: border-color .2s;
}

.about-stat:hover {
    border-color: var(--blue-300);
}

.about-stat .k {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.about-stat .v {
    font-size: 13px;
    color: #8FA3BC;
    margin-top: 2px;
}

/* ---- Contacto ---- */
.contacto-section {
    padding-top: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

@media (max-width: 780px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-panel {
    background: #fff;
    padding: 44px;
}

@media (max-width: 560px) {
    .contact-panel {
        padding: 28px 24px;
    }
}

.contact-panel.dark {
    background: var(--navy-950);
    color: #fff;
}

.contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 26px;
}

.contact-item .lbl {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--blue-300);
    margin-bottom: 4px;
    display: block;
}

.contact-panel:not(.dark) .contact-item .lbl {
    color: var(--blue-500);
}

.contact-item .val {
    font-size: 15.5px;
    font-weight: 500;
}

.contact-item .val a {
    text-decoration: none;
    transition: color .2s;
}

.contact-panel.dark .contact-item .val a:hover {
    color: var(--blue-300);
}

.contact-response {
    margin-top: 30px;
    color: #B7C2D0;
    line-height: 1.7;
    font-size: 14.5px;
}

/* Formulario de contacto */
.contact-form .field select,
.contact-form .field input {
    background: var(--bg);
}

/* ---- Footer ---- */
footer {
    border-top: 1px solid var(--line);
    padding: 36px 0;
}

footer .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

footer .fine {
    font-size: 13px;
    color: var(--ink-400);
}

/* ========================================
   SCROLL REVEAL
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
    transition-delay: var(--d, 0ms);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ========================================
   ¿CÓMO FUNCIONA? — STEPS
   ======================================== */
#como-funciona {
    background: var(--navy-950);
    padding: 96px 0;
}

#como-funciona .sec-head {
    color: #fff;
}

#como-funciona .sec-head h2 {
    color: #fff;
}

#como-funciona .sec-head p {
    color: rgba(255,255,255,0.65);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
    margin-top: 56px;
}

/* Connecting line between steps */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 38px;
    left: calc(12.5% + 8px);
    right: calc(12.5% + 8px);
    height: 1px;
    background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
    opacity: 0.4;
    pointer-events: none;
}

.step-card {
    background: var(--navy-800);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    padding: 32px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: var(--blue-500);
}

.step-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.step-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(46, 125, 209, 0.15);
    border: 1px solid rgba(46, 125, 209, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-300);
}

.step-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.step-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 900px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid::before {
        display: none;
    }
}

@media (max-width: 540px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   PRECIOS
   ======================================== */
#precios {
    background: var(--bg);
    padding: 96px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
    align-items: start;
}

.pricing-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(46, 125, 209, 0.1);
}

.pricing-featured {
    border-color: var(--blue-500);
    box-shadow: 0 8px 40px rgba(46, 125, 209, 0.18);
    transform: translateY(-8px);
}

.pricing-featured:hover {
    transform: translateY(-13px);
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue-500);
    background: rgba(46, 125, 209, 0.1);
    border: 1px solid rgba(46, 125, 209, 0.25);
    border-radius: 99px;
    padding: 4px 12px;
    width: fit-content;
}

.pricing-tier {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--ink-900);
}

.pricing-price {
    font-size: 15px;
    color: var(--ink-600);
    line-height: 1.3;
}

.pricing-price strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--ink-900);
    display: inline-block;
    margin-right: 2px;
}

.pricing-price span {
    font-size: 13px;
    color: var(--ink-400);
}

.pricing-desc {
    font-size: 14px;
    color: var(--ink-600);
    line-height: 1.65;
    margin: 0;
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

.pricing-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.pricing-features li {
    font-size: 14px;
    color: var(--ink-600);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pricing-features li::before {
    content: '';
    width: 18px;
    height: 18px;
    min-width: 18px;
    background: var(--grad);
    border-radius: 50%;
    margin-top: 1px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Ccircle cx='9' cy='9' r='9' fill='%232E7DD1'/%3E%3Cpath d='M5 9l3 3 5-5' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: cover;
}

.pricing-btn {
    margin-top: 8px;
    text-align: center;
    justify-content: center;
}

@media (max-width: 860px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-inline: auto;
    }
    .pricing-featured {
        transform: none;
    }
    .pricing-featured:hover {
        transform: translateY(-5px);
    }
}

/* ========================================
   WHATSAPP FLOAT BUTTON
   ======================================== */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    z-index: 200;
    opacity: 0;
    transform: scale(0.7) translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: #fff;
}

.wa-float.show {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.wa-float:hover {
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
    transform: scale(1.08) translateY(0);
}

/* Pulse ring */
.wa-float::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2.5px solid #25D366;
    animation: wa-pulse 2.2s ease-out infinite;
    pointer-events: none;
}

@keyframes wa-pulse {
    0%   { transform: scale(1);   opacity: 0.7; }
    70%  { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Tooltip */
.wa-tooltip {
    position: absolute;
    right: 70px;
    background: var(--navy-950);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 8px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateX(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--navy-950);
    border-right: none;
}

.wa-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 480px) {
    .wa-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
    .wa-tooltip {
        display: none;
    }
}

/* ========================================
   TEASER DE EJEMPLOS
   ======================================== */
.teaser-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.teaser-grid h2 {
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 600;
    margin-top: 0;
    line-height: 1.2;
}

.teaser-grid p {
    margin-top: 18px;
    color: var(--ink-600);
    font-size: 16px;
    line-height: 1.65;
}

.teaser-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.teaser-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 10px 30px rgba(10, 20, 36, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.teaser-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(46, 125, 209, 0.06);
}

.teaser-card strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    margin-bottom: 6px;
    color: var(--ink-900);
}

.teaser-card span {
    font-size: 14px;
    color: var(--ink-600);
    line-height: 1.55;
    display: block;
}

@media (max-width: 860px) {
    .teaser-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ========================================
   PÁGINAS INTERIORES — HERO Y CTA COMPARTIDOS
   ======================================== */
.page-hero {
    background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 60%, #1a3a6b 100%);
    padding: 80px 0 72px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(46,125,209,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero .eyebrow { color: var(--blue-300); }
.page-hero .eyebrow::before { background: var(--blue-300); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin: 0 0 20px; }
.page-hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.05rem; max-width: 560px; line-height: 1.7; margin: 0; }

.services-cta {
    background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
    border-radius: 20px;
    padding: 56px 48px;
    text-align: center;
    margin-top: 64px;
    position: relative;
    overflow: hidden;
}
.services-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 100% at 50% 120%, rgba(46,125,209,0.25), transparent);
    pointer-events: none;
}
.services-cta .eyebrow { color: var(--blue-300); justify-content: center; }
.services-cta .eyebrow::before { background: var(--blue-300); }
.services-cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0 0 16px; }
.services-cta p { color: rgba(255,255,255,0.65); max-width: 480px; margin: 0 auto 32px; font-size: 15px; line-height: 1.7; }

.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,0.25); color: #fff; }
.btn-ghost-light:hover { border-color: rgba(255,255,255,0.5); }