/* ============================================================
   AINEDER SOFTWARE
   APP.CSS GLOBAL
   ============================================================ */


/* ============================================================
   VARIABLES CORPORATIVAS
   ============================================================ */

:root {
    /* Colores corporativos */
    --aineder-navy: #001E4D;
    --aineder-night: #001535;
    --aineder-white: #F7F8FA;
    --aineder-silver: #D6D8DA;
    --aineder-metal: #A7A9AC;
    --aineder-graphite: #4A4F55;
    --aineder-black: #0A0F18;
    /* Azules de apoyo */
    --aineder-blue: #087CFF;
    --aineder-blue-hover: #066BD9;
    --aineder-blue-soft: #188CFF;
    --aineder-blue-light: #EAF4FF;
    /* Estados */
    --success: #1FA66A;
    --success-light: #E9F8F0;
    --warning: #E9A23B;
    --warning-light: #FFF6E8;
    --danger: #DC4C4C;
    --danger-light: #FDEDED;
    /* Fondos */
    --background-main: #F7F8FA;
    --background-soft: #F2F5F9;
    --background-white: #FFFFFF;
    /* Texto */
    --text-primary: #14233B;
    --text-secondary: #657285;
    --text-muted: #8A95A5;
    /* Bordes */
    --border-light: #E5EAF0;
    --border-medium: #D5DCE5;
    /* Sombras */
    --shadow-xs: 0 2px 8px rgba(0, 30, 77, .04);
    --shadow-sm: 0 8px 22px rgba(0, 30, 77, .07);
    --shadow-md: 0 16px 40px rgba(0, 30, 77, .10);
    --shadow-lg: 0 30px 70px rgba(0, 30, 77, .16);
    /* Radios */
    --radius-sm: 7px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    /* Layout */
    --container-width: 1320px;
    /* Transiciones */
    --transition-fast: .18s ease;
    --transition-normal: .28s ease;
}


/* ============================================================
   RESET GENERAL
   ============================================================ */

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

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    min-width: 320px;
    background: var(--background-main);
    color: var(--text-primary);
    font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
svg {
    max-width: 100%;
}

img {
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary);
    line-height: 1.15;
}

p {
    color: var(--text-secondary);
}


/* ============================================================
   APP
   ============================================================ */

#app {
    min-height: 100vh;
}

.app-page {
    min-height: 100vh;
    overflow-x: hidden;
}

.page-content {
    min-height: calc(100vh - var(--header-height));
}


/* ============================================================
   CONTENEDORES
   ============================================================ */

.container {
    width: min( var(--container-width), calc(100% - 70px) );
    margin-left: auto;
    margin-right: auto;
}

.container-small {
    width: min( 920px, calc(100% - 70px) );
    margin-left: auto;
    margin-right: auto;
}

.container-narrow {
    width: min( 720px, calc(100% - 70px) );
    margin-left: auto;
    margin-right: auto;
}


/* ============================================================
   SECCIONES
   ============================================================ */

.section {
    padding: 100px 0;
}

.section-small {
    padding: 65px 0;
}

.section-large {
    padding: 135px 0;
}

.section-white {
    background: white;
}

.section-soft {
    background: var(--background-soft);
}

.section-dark {
    background: var(--aineder-night);
    color: white;
}

.section-navy {
    background: var(--aineder-navy);
    color: white;
}


/* ============================================================
   ENCABEZADOS DE SECCIÓN
   ============================================================ */

.section-header {
    max-width: 720px;
    margin-bottom: 55px;
}

    .section-header.center {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

.section-eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--aineder-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.section-title {
    margin-bottom: 18px;
    font-size: clamp(36px, 4vw, 58px);
    letter-spacing: -2px;
}

    .section-title span {
        color: var(--aineder-blue);
    }

.section-description {
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.75;
}

.section-dark .section-title,
.section-navy .section-title {
    color: white;
}

.section-dark .section-description,
.section-navy .section-description {
    color: #B7C3D3;
}

/* ============================================================
   HEADER CORPORATIVO AINEDER
   Barra fija, sobria y de una sola línea:
   logo | navegación | CTA
   ============================================================ */

:root {
    --header-height: 76px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(0, 21, 53, .94);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
}

.site-header-inner {
    width: min(var(--container-width), calc(100% - 70px));
    height: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 32px;
}


/* LOGO ------------------------------------------------------ */

.brand {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    padding: 6px 0;
    border-radius: 6px;
}

.header-logo {
    display: block;
    width: auto;
    height: 34px;
    opacity: .97;
    transition: opacity var(--transition-fast);
}

.brand:hover .header-logo {
    opacity: 1;
}


/* NAVEGACIÓN ------------------------------------------------ */

.main-nav {
    height: 100%;
    display: flex;
    align-items: stretch;
    gap: 6px;
}

    .main-nav a {
        position: relative;
        display: flex;
        align-items: center;
        padding: 0 14px;
        color: rgba(255, 255, 255, .72);
        font-size: 15px;
        font-weight: 600;
        letter-spacing: -.005em;
        white-space: nowrap;
        transition: color var(--transition-fast);
    }

        /* Indicador inferior: se apoya en el borde del header */
        .main-nav a::after {
            content: "";
            position: absolute;
            left: 14px;
            right: 14px;
            bottom: -1px;
            height: 2px;
            border-radius: 2px 2px 0 0;
            background: var(--aineder-blue-soft);
            transform: scaleX(0);
            transform-origin: center;
            transition: transform .22s ease;
        }

        .main-nav a:hover {
            color: #FFFFFF;
        }

        .main-nav a.active {
            color: #FFFFFF;
        }

            .main-nav a.active::after {
                transform: scaleX(1);
            }

        .main-nav a:hover:not(.active)::after {
            transform: scaleX(.35);
            background: rgba(255, 255, 255, .35);
        }


/* ACCIONES -------------------------------------------------- */

.header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-cta {
    min-height: 42px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--aineder-blue);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 6px 16px rgba(8, 124, 255, .28);
    transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

    .header-cta:hover {
        background: var(--aineder-blue-hover);
        color: #FFFFFF;
        box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 8px 22px rgba(8, 124, 255, .38);
    }

    /* La página /demo no necesita resaltar el CTA como "activo" */
    .header-cta.active {
        background: var(--aineder-blue-hover);
    }


/* BOTÓN MENÚ MÓVIL ------------------------------------------ */

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: transparent;
    color: #FFFFFF;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

    .mobile-menu-button:hover {
        background: rgba(255, 255, 255, .06);
        border-color: rgba(255, 255, 255, .28);
    }

.mobile-menu-icon {
    position: relative;
    width: 18px;
    height: 12px;
    display: block;
}

    .mobile-menu-icon span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        transition: transform .22s ease, opacity .18s ease, top .22s ease;
    }

        .mobile-menu-icon span:nth-child(1) { top: 0; }
        .mobile-menu-icon span:nth-child(2) { top: 5px; }
        .mobile-menu-icon span:nth-child(3) { top: 10px; }

.menu-open .mobile-menu-icon span:nth-child(1) {
    top: 5px;
    transform: rotate(45deg);
}

.menu-open .mobile-menu-icon span:nth-child(2) {
    opacity: 0;
}

.menu-open .mobile-menu-icon span:nth-child(3) {
    top: 5px;
    transform: rotate(-45deg);
}


/* NAVEGACIÓN MÓVIL ------------------------------------------ */

.mobile-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1200;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    background: var(--aineder-night);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 24px 48px rgba(0, 10, 30, .35);
    animation: ainederMenuIn .2s ease-out;
}

@keyframes ainederMenuIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.mobile-navigation-inner {
    width: min(var(--container-width), calc(100% - 32px));
    margin: 0 auto;
    padding: 8px 0 22px;
    display: flex;
    flex-direction: column;
}

    .mobile-navigation-inner > a:not(.btn) {
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid rgba(255, 255, 255, .07);
        color: rgba(255, 255, 255, .78);
        font-size: 17px;
        font-weight: 600;
        transition: color var(--transition-fast);
    }

        .mobile-navigation-inner > a:not(.btn)::after {
            content: "";
            width: 7px;
            height: 7px;
            border-top: 2px solid rgba(255, 255, 255, .35);
            border-right: 2px solid rgba(255, 255, 255, .35);
            transform: rotate(45deg);
        }

        .mobile-navigation-inner > a:not(.btn):hover,
        .mobile-navigation-inner > a.active:not(.btn) {
            color: #FFFFFF;
        }

        .mobile-navigation-inner > a.active:not(.btn) {
            box-shadow: inset 3px 0 0 var(--aineder-blue-soft);
            padding-left: 14px;
        }

.mobile-navigation-cta {
    width: 100%;
    margin-top: 20px;
}


/* RESPONSIVE HEADER ----------------------------------------- */

@media (max-width: 1200px) {

    .site-header-inner {
        width: calc(100% - 48px);
        gap: 20px;
    }

    .main-nav a {
        padding: 0 11px;
        font-size: 14px;
    }

        .main-nav a::after {
            left: 11px;
            right: 11px;
        }
}

@media (max-width: 1050px) {

    .site-header-inner {
        grid-template-columns: 1fr auto;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-button {
        display: inline-flex;
    }
}

@media (max-width: 768px) {

    :root {
        --header-height: 66px;
    }

    .site-header-inner {
        width: calc(100% - 32px);
    }

    .header-logo {
        height: 30px;
    }
}

@media (max-width: 520px) {

    .header-actions > .header-cta {
        display: none;
    }

    .header-logo {
        height: 28px;
    }
}


/* ============================================================
   BOTONES GENERALES
   ============================================================ */

.btn {
    min-height: 48px;
    padding: 0 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

    .btn:active {
        transform: translateY(0);
    }

.btn-primary {
    background: linear-gradient( 135deg, #075FD6, var(--aineder-blue) );
    color: white;
    box-shadow: 0 13px 27px rgba(8, 124, 255, .24);
}

    .btn-primary:hover {
        background: linear-gradient( 135deg, #0753BB, #0875EB );
    }

.btn-secondary {
    background: white;
    border-color: var(--border-medium);
    color: var(--aineder-navy);
}

    .btn-secondary:hover {
        border-color: var(--aineder-blue);
    }

.btn-outline {
    border-color: rgba(255, 255, 255, .4);
    background: transparent;
    color: white;
}

    .btn-outline:hover {
        background: rgba(255, 255, 255, .08);
    }

.btn-dark {
    background: var(--aineder-navy);
    color: white;
}

    .btn-dark:hover {
        background: var(--aineder-blue);
    }

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-sm {
    min-height: 38px;
    padding: 0 17px;
    font-size: 13px;
}

.btn-lg {
    min-height: 56px;
    padding: 0 29px;
    font-size: 15px;
}

.btn-block {
    width: 100%;
}


/* ============================================================
   HERO GENERAL
   ============================================================ */

.hero {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    background: radial-gradient( circle at 82% 28%, rgba(8, 124, 255, .16), transparent 26% ), linear-gradient( 135deg, var(--aineder-night), var(--aineder-navy) );
    color: white;
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient( 120deg, transparent 0 45%, rgba(255, 255, 255, .025) 45% 46%, transparent 46% ), linear-gradient( 120deg, transparent 0 61%, rgba(255, 255, 255, .02) 61% 62%, transparent 62% );
        pointer-events: none;
    }

.hero-inner {
    position: relative;
    z-index: 2;
    width: min( var(--container-width), calc(100% - 70px) );
    min-height: 610px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    align-items: center;
    gap: 50px;
    padding: 75px 0;
}

.hero-label {
    display: inline-flex;
    padding: 7px 16px;
    border-radius: 30px;
    background: rgba(8, 124, 255, .20);
    color: #69B7FF;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.hero h1 {
    margin: 22px 0 22px;
    color: white;
    font-size: clamp( 45px, 4.8vw, 74px );
    line-height: 1.02;
    letter-spacing: -3px;
}

    .hero h1 span {
        color: var(--aineder-blue-soft);
    }

.hero-description {
    max-width: 580px;
    color: #D5DFEC;
    font-size: 18px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 32px;
}


/* ============================================================
   TARJETAS
   ============================================================ */

.card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.card-hover {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

    .card-hover:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

.card-body {
    padding: 28px;
}

.card-header {
    padding: 22px 28px;
    border-bottom: 1px solid var(--border-light);
}

.card-footer {
    padding: 20px 28px;
    border-top: 1px solid var(--border-light);
}


/* ============================================================
   GRIDS
   ============================================================ */

.grid {
    display: grid;
    gap: 24px;
}

.grid-2 {
    grid-template-columns: repeat( 2, 1fr );
}

.grid-3 {
    grid-template-columns: repeat( 3, 1fr );
}

.grid-4 {
    grid-template-columns: repeat( 4, 1fr );
}


/* ============================================================
   TARJETAS DE FUNCIONALIDADES
   ============================================================ */

.feature-card {
    position: relative;
    padding: 30px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

.feature-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient( 135deg, #0751BD, var(--aineder-blue) );
    color: white;
    font-size: 22px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 19px;
}

.feature-card p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.7;
}


/* ============================================================
   BENEFICIOS
   ============================================================ */

.benefit-item {
    padding: 10px;
}

.benefit-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #EEF3F8;
    color: var(--aineder-navy);
    font-size: 24px;
}

.benefit-item h3 {
    margin-bottom: 10px;
    font-size: 17px;
}

.benefit-item p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.7;
}


/* ============================================================
   PLANES Y PRECIOS
   ============================================================ */

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

.pricing-card {
    position: relative;
    padding: 38px;
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

    .pricing-card.featured {
        border: 2px solid var(--aineder-blue);
        box-shadow: var(--shadow-md);
    }

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 7px 17px;
    border-radius: 20px;
    background: var(--aineder-blue);
    color: white;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.pricing-name {
    color: var(--aineder-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.pricing-card h3 {
    margin: 12px 0 10px;
    font-size: 26px;
}

.pricing-description {
    min-height: 70px;
    font-size: 14px;
}

.pricing-price {
    margin: 20px 0 25px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

    .pricing-price strong {
        color: var(--aineder-navy);
        font-size: 48px;
    }

    .pricing-price span {
        display: block;
        color: var(--text-muted);
        font-size: 13px;
    }

.pricing-features {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}


/* ============================================================
   PROMOCIONES
   ============================================================ */

.promo-banner {
    padding: 17px 22px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #CDE4FF;
    border-radius: var(--radius-md);
    background: var(--aineder-blue-light);
}

.promo-banner-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--aineder-blue);
    color: white;
}

.promo-banner strong {
    display: block;
    color: var(--aineder-navy);
}

.promo-banner p {
    margin: 3px 0 0;
    font-size: 13px;
}


/* ============================================================
   FORMULARIOS
   ============================================================ */

.form-card {
    padding: 40px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat( 2, 1fr );
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .form-group.full {
        grid-column: 1 / -1;
    }

.form-label {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
}

.form-control {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    outline: none;
    background: white;
    color: var(--text-primary);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

textarea.form-control {
    min-height: 135px;
    padding: 13px 14px;
    resize: vertical;
}

.form-control:focus {
    border-color: var(--aineder-blue);
    box-shadow: 0 0 0 3px rgba( 8, 124, 255, .12 );
}

.form-control::placeholder {
    color: #A6AFBC;
}

.form-error {
    color: var(--danger);
    font-size: 12px;
}

.form-help {
    color: var(--text-muted);
    font-size: 12px;
}


/* ============================================================
   CHECKBOX
   ============================================================ */

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

    .checkbox-row input {
        margin-top: 4px;
    }

    .checkbox-row label {
        color: var(--text-secondary);
        font-size: 13px;
    }


/* ============================================================
   ALERTAS
   ============================================================ */

.alert {
    padding: 15px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.alert-success {
    color: #157148;
    background: var(--success-light);
    border: 1px solid #C5EDDA;
}

.alert-warning {
    color: #8C6510;
    background: var(--warning-light);
    border: 1px solid #F3DBAC;
}

.alert-danger {
    color: #A53A3A;
    background: var(--danger-light);
    border: 1px solid #F2C9C9;
}


/* ============================================================
   BADGES
   ============================================================ */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.badge-blue {
    color: #0664C7;
    background: #EAF4FF;
}

.badge-success {
    color: #188B5A;
    background: var(--success-light);
}

.badge-warning {
    color: #9B6B0C;
    background: var(--warning-light);
}

.badge-danger {
    color: #B64343;
    background: var(--danger-light);
}


/* ============================================================
   TABLAS
   ============================================================ */

.table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: white;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

    .table th {
        padding: 15px 18px;
        text-align: left;
        background: #F5F7FA;
        color: var(--text-secondary);
        font-size: 12px;
        font-weight: 700;
    }

    .table td {
        padding: 15px 18px;
        border-top: 1px solid var(--border-light);
        color: var(--text-primary);
        font-size: 13px;
    }

    .table tbody tr:hover {
        background: #FAFBFC;
    }


/* ============================================================
   CTA
   ============================================================ */

.cta-section {
    position: relative;
    padding: 85px 0;
    overflow: hidden;
    background: linear-gradient( 135deg, var(--aineder-night), #00265F );
    color: white;
}

.cta-inner {
    width: min( var(--container-width), calc(100% - 70px) );
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.cta-content {
    max-width: 760px;
}

.cta-section h2 {
    margin-bottom: 18px;
    color: white;
    font-size: clamp( 35px, 4vw, 54px );
    letter-spacing: -2px;
}

.cta-section p {
    margin-bottom: 0;
    color: #B9C6D7;
    font-size: 17px;
}


/* ============================================================
   PÁGINA INTERIOR - HERO
   ============================================================ */

.page-hero {
    padding: 90px 0;
    background: linear-gradient( 135deg, var(--aineder-night), var(--aineder-navy) );
    color: white;
}

.page-hero-inner {
    width: min( var(--container-width), calc(100% - 70px) );
    margin: 0 auto;
}

.page-hero h1 {
    max-width: 800px;
    margin-bottom: 20px;
    color: white;
    font-size: clamp( 42px, 5vw, 66px );
    letter-spacing: -2.5px;
}

.page-hero p {
    max-width: 700px;
    margin-bottom: 0;
    color: #C6D1DF;
    font-size: 18px;
    line-height: 1.7;
}


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    padding: 75px 0 25px;
    background: var(--aineder-black);
    color: white;
}

.footer-inner {
    width: min( var(--container-width), calc(100% - 70px) );
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat( 3, 1fr );
    gap: 60px;
}

.footer-company p {
    max-width: 360px;
    margin-top: 22px;
    color: #8995A6;
    font-size: 14px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .footer-column strong {
        margin-bottom: 7px;
        color: white;
        font-size: 13px;
    }

    .footer-column a {
        color: #8995A6;
        font-size: 13px;
        transition: color var(--transition-fast);
    }

        .footer-column a:hover {
            color: white;
        }

.footer-bottom {
    margin-top: 55px;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    border-top: 1px solid rgba( 255, 255, 255, .08 );
    color: #687486;
    font-size: 12px;
}


/* ============================================================
   LOGO DEL FOOTER
   ============================================================ */

.footer-logo-link {
    display: inline-block;
}

.footer-logo {
    width: auto;
    height: 82px;
    max-width: 390px;
    object-fit: contain;
    opacity: .96;
    transition: opacity .25s ease, transform .25s ease, filter .25s ease;
}

    .footer-logo:hover {
        opacity: 1;
        transform: translateY(-2px);
        filter: drop-shadow( 0 8px 18px rgba(8, 124, 255, .18) );
    }


/* ============================================================
   PÁGINA 404
   ============================================================ */

.not-found {
    min-height: calc( 100vh - 110px );
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    text-align: center;
}

.not-found-content {
    max-width: 600px;
}

.not-found-code {
    color: var(--aineder-blue);
    font-size: 110px;
    font-weight: 900;
    line-height: 1;
}

.not-found h1 {
    margin-top: 20px;
    font-size: 38px;
}


/* ============================================================
   UTILIDADES
   ============================================================ */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--aineder-blue) !important;
}

.text-navy {
    color: var(--aineder-navy) !important;
}

.text-white {
    color: white !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.w-100 {
    width: 100%;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

.mt-4 {
    margin-top: 40px;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.mb-4 {
    margin-bottom: 40px;
}


/* ============================================================
   SCROLLBAR
   ============================================================ */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #EFF2F5;
}

::-webkit-scrollbar-thumb {
    border: 2px solid #EFF2F5;
    border-radius: 10px;
    background: #AAB4C1;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #8793A3;
    }


/* ============================================================
   SELECCIÓN
   ============================================================ */

::selection {
    background: var(--aineder-blue);
    color: white;
}

/* ============================================================
   RESPONSIVE GLOBAL
   ============================================================ */

@media (max-width: 1200px) {


    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: 800px;
        margin: 0 auto;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .hero-visual {
        margin-top: 15px;
    }

    .home-software-panel {
        max-width: 750px;
        transform: none;
    }
}


@media (max-width: 992px) {

    .grid-3,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        width: 100%;
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-company-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {


    .container,
    .container-small,
    .container-narrow,
    .hero-inner,
    .cta-inner,
    .page-hero-inner,
    .footer-inner {
        width: min(100% - 32px, var(--container-width));
    }

    .footer-logo {
        height: 72px;
        max-width: 320px;
    }

    .section {
        padding: 75px 0;
    }

    .section-large {
        padding: 90px 0;
    }

    .hero,
    .hero-inner {
        min-height: auto;
    }

    .hero-inner {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .hero-actions {
        flex-direction: column;
    }

        .hero-actions .btn {
            width: 100%;
        }

    .grid-4 {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: auto;
    }

    .form-card {
        padding: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .home-software-panel-body {
        grid-template-columns: 78px 1fr;
    }

    .home-panel-sidebar {
        padding: 20px 13px;
    }

    .home-panel-content {
        padding: 22px;
    }

    .home-panel-cards {
        grid-template-columns: 1fr;
    }

    .home-panel-card:nth-child(2),
    .home-panel-card:nth-child(3) {
        display: none;
    }

    .home-company-card {
        padding: 32px;
    }
}

@media (max-width: 580px) {


    .footer-logo {
        height: 64px;
        max-width: 270px;
    }
}

@media (max-width: 480px) {

    body {
        font-size: 15px;
    }


    .hero h1 {
        font-size: 40px;
    }

    .section-title {
        font-size: 35px;
    }

    .page-hero h1 {
        font-size: 40px;
    }

    .btn {
        padding: 0 18px;
    }

    .card-body {
        padding: 22px;
    }

    .pricing-card {
        padding: 28px;
    }

    .home-software-panel-body {
        min-height: 310px;
        grid-template-columns: 62px 1fr;
    }

    .home-panel-sidebar {
        padding: 16px 10px;
    }

    .home-panel-logo {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .home-panel-content {
        padding: 18px;
    }

    .home-panel-chart {
        padding-left: 12px;
        padding-right: 12px;
        gap: 7px;
    }
}

@media (max-width: 400px) {


    .footer-logo {
        height: 58px;
        max-width: 235px;
    }
}

/* ============================================================
   HOME - PANEL SOFTWARE
   ============================================================ */

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-software-panel {
    width: 100%;
    max-width: 680px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 20px;
    background: rgba(255, 255, 255, .07);
    box-shadow: 0 40px 90px rgba(0, 0, 0, .35);
    backdrop-filter: blur(18px);
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}

.home-software-panel-header {
    height: 45px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.home-panel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
}

.home-software-panel-body {
    min-height: 370px;
    display: grid;
    grid-template-columns: 105px 1fr;
}

.home-panel-sidebar {
    padding: 24px 18px;
    background: rgba(0, 15, 40, .42);
    border-right: 1px solid rgba(255, 255, 255, .06);
}

.home-panel-logo {
    width: 45px;
    height: 45px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #075FD6, #188CFF);
    color: white;
    font-size: 24px;
    font-weight: 900;
}

.home-panel-line {
    height: 9px;
    margin-bottom: 17px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .12);
}

    .home-panel-line.short {
        width: 65%;
    }

    .home-panel-line.active {
        background: #188CFF;
    }

.home-panel-content {
    padding: 30px;
}

.home-panel-title {
    width: 38%;
    height: 17px;
    margin-bottom: 28px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .22);
}

.home-panel-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.home-panel-card {
    min-height: 95px;
    padding: 18px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .06);
}

    .home-panel-card span {
        width: 45%;
        height: 8px;
        display: block;
        margin-bottom: 17px;
        border-radius: 20px;
        background: rgba(255, 255, 255, .18);
    }

    .home-panel-card strong {
        width: 70%;
        height: 20px;
        display: block;
        border-radius: 20px;
        background: #188CFF;
    }

.home-panel-chart {
    height: 150px;
    margin-top: 25px;
    padding: 20px 22px 0;
    display: flex;
    align-items: flex-end;
    gap: 13px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .055);
}

    .home-panel-chart span {
        flex: 1;
        min-height: 20px;
        border-radius: 5px 5px 0 0;
        background: linear-gradient(180deg, #188CFF, #075FD6);
    }

/* ============================================================
   HOME - EMPRESA
   ============================================================ */

.home-company-grid {
    align-items: center;
    gap: 70px;
}

.home-company-card {
    padding: 55px;
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at 80% 20%, rgba(8, 124, 255, .18), transparent 35%), var(--aineder-night);
    box-shadow: var(--shadow-lg);
}

.home-company-number {
    width: 80px;
    height: 80px;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #075FD6, #188CFF);
    color: white;
    font-size: 45px;
    font-weight: 900;
}

.home-company-card h3 {
    margin-bottom: 17px;
    color: white;
    font-size: 30px;
}

.home-company-card p {
    margin-bottom: 0;
    color: #B7C3D3;
}

/* ============================================================
   HOME - PRODUCTO DESTACADO PROFESIONAL
   ============================================================ */

.featured-product-shell {
    position: relative;
}

.featured-product-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.3fr .85fr;
    border: 1px solid rgba(8, 124, 255, .10);
    border-radius: 26px;
    background: linear-gradient(135deg, #FFFFFF, #F8FBFF);
    box-shadow: 0 25px 60px rgba(0, 30, 77, .10);
}

    .featured-product-card::before {
        content: "";
        position: absolute;
        top: -140px;
        left: -140px;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        background: rgba(8, 124, 255, .05);
        pointer-events: none;
    }

.featured-product-copy {
    position: relative;
    z-index: 2;
    padding: 52px;
}

.featured-product-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.featured-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #178657;
    font-size: 12px;
    font-weight: 800;
}

    .featured-status::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #1FA66A;
        box-shadow: 0 0 0 5px rgba(31, 166, 106, .12);
    }

.featured-product-title {
    margin-bottom: 16px;
    color: var(--aineder-navy);
    font-size: clamp(32px, 3vw, 44px);
    letter-spacing: -1.5px;
}

.featured-product-description {
    max-width: 680px;
    margin-bottom: 0;
    font-size: 17px;
    line-height: 1.8;
}

.featured-product-points {
    margin: 28px 0 34px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 22px;
}

    .featured-product-points span {
        position: relative;
        padding-left: 28px;
        color: var(--text-primary);
        font-size: 14px;
        font-weight: 700;
    }

        .featured-product-points span::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 1px;
            width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: var(--aineder-blue-light);
            color: var(--aineder-blue);
            font-size: 11px;
            font-weight: 900;
        }

.featured-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.featured-product-visual {
    position: relative;
    min-height: 100%;
    padding: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 82% 18%, rgba(24, 140, 255, .28), transparent 28%), radial-gradient(circle at 18% 88%, rgba(8, 124, 255, .14), transparent 28%), linear-gradient(145deg, #00112C, #001E4D 56%, #002D73);
}

.featured-product-glow {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(8, 124, 255, .16);
    filter: blur(32px);
}

.featured-product-visual-card {
    position: relative;
    width: 100%;
    max-width: 340px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 22px;
    background: rgba(255, 255, 255, .07);
    box-shadow: 0 28px 65px rgba(0, 0, 0, .22);
    backdrop-filter: blur(16px);
}

.featured-product-visual-top {
    height: 42px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.featured-mini-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
}

.featured-product-visual-body {
    padding: 28px 24px 24px;
}

.featured-product-brand-box {
    width: 92px;
    height: 92px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: linear-gradient(135deg, #0A8CFF, #075FD6);
    color: white;
    box-shadow: 0 22px 44px rgba(8, 124, 255, .28);
    font-size: 56px;
    font-weight: 900;
}

.featured-product-brand-text strong {
    display: block;
    color: white;
    font-size: 27px;
    font-weight: 900;
    letter-spacing: 2px;
}

.featured-product-brand-text span {
    display: block;
    margin-top: 3px;
    color: #89C9FF;
    font-size: 18px;
    font-weight: 600;
}

.featured-product-mini-items {
    margin-top: 24px;
    display: grid;
    gap: 12px;
}

.featured-mini-item {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
}

    .featured-mini-item small {
        display: block;
        margin-bottom: 4px;
        color: #9CB0C7;
        font-size: 11px;
    }

    .featured-mini-item strong {
        color: white;
        font-size: 15px;
    }


/* ============================================================
   PRODUCTOS - CATÁLOGO
   ============================================================ */

.products-catalog {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.catalog-product-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.35fr .7fr;
    border: 1px solid rgba(8, 124, 255, .10);
    border-radius: 26px;
    background: linear-gradient(135deg, #FFFFFF, #F8FBFF);
    box-shadow: 0 20px 55px rgba(0, 30, 77, .08);
}

.catalog-product-copy {
    padding: 54px;
}

.catalog-product-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.catalog-product-head h2 {
    margin-bottom: 16px;
    font-size: clamp(34px, 3vw, 46px);
    letter-spacing: -1.5px;
}

.catalog-product-description {
    max-width: 720px;
    margin-bottom: 0;
    font-size: 17px;
    line-height: 1.8;
}

.catalog-product-features {
    margin: 30px 0 36px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 22px;
}

    .catalog-product-features span {
        position: relative;
        padding-left: 28px;
        color: var(--text-primary);
        font-size: 14px;
        font-weight: 700;
    }

        .catalog-product-features span::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 1px;
            width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: var(--aineder-blue-light);
            color: var(--aineder-blue);
            font-size: 11px;
            font-weight: 900;
        }

.catalog-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.catalog-product-side {
    position: relative;
    padding: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 78% 18%, rgba(24, 140, 255, .30), transparent 28%), radial-gradient(circle at 20% 86%, rgba(8, 124, 255, .15), transparent 28%), linear-gradient(145deg, #00112C, #001E4D 56%, #002D73);
}

.catalog-product-side-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(8, 124, 255, .16);
    filter: blur(34px);
}

.catalog-side-panel {
    position: relative;
    width: 100%;
    max-width: 330px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 22px;
    background: rgba(255, 255, 255, .07);
    box-shadow: 0 28px 65px rgba(0, 0, 0, .22);
    backdrop-filter: blur(16px);
}

.catalog-side-panel-top {
    height: 42px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.catalog-side-panel-body {
    padding: 28px 24px 24px;
    text-align: left;
}

.catalog-side-logo {
    width: 92px;
    height: 92px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: linear-gradient(135deg, #0A8CFF, #075FD6);
    color: white;
    box-shadow: 0 22px 44px rgba(8, 124, 255, .28);
    font-size: 56px;
    font-weight: 900;
}

.catalog-side-panel-body strong {
    display: block;
    color: white;
    font-size: 27px;
    font-weight: 900;
    letter-spacing: 2px;
}

.catalog-side-panel-body > span {
    display: block;
    margin-top: 3px;
    color: #89C9FF;
    font-size: 18px;
    font-weight: 600;
}

.catalog-side-divider {
    width: 62px;
    height: 2px;
    margin: 22px 0 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .18);
}

.catalog-side-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .catalog-side-info small {
        color: #A0B5CC;
        font-size: 12px;
        letter-spacing: .5px;
    }

.products-future-card {
    margin-top: 36px;
    padding: 34px;
    display: flex;
    align-items: center;
    gap: 22px;
    border: 1px solid var(--border-light);
    border-radius: 22px;
    background: linear-gradient(135deg, #FFFFFF, #F5F9FF);
    box-shadow: var(--shadow-sm);
}

.products-future-card-icon {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #075FD6, #188CFF);
    color: white;
    box-shadow: 0 18px 38px rgba(8, 124, 255, .20);
    font-size: 36px;
    font-weight: 800;
}

.products-future-card-content h3 {
    margin-bottom: 10px;
    font-size: 31px;
    letter-spacing: -1px;
}

.products-future-card-content p {
    margin-bottom: 0;
}


/* ============================================================
   HOVER
   ============================================================ */

.featured-product-card,
.catalog-product-card,
.products-future-card {
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

    .featured-product-card:hover,
    .catalog-product-card:hover,
    .products-future-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 28px 65px rgba(0, 30, 77, .13);
    }

    .featured-product-card:hover,
    .catalog-product-card:hover {
        border-color: rgba(8, 124, 255, .18);
    }


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {

    .featured-product-card,
    .catalog-product-card {
        grid-template-columns: 1fr;
    }

    .featured-product-visual,
    .catalog-product-side {
        min-height: 340px;
    }

    .products-future-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 768px) {

    .featured-product-copy,
    .catalog-product-copy {
        padding: 34px;
    }

    .featured-product-points,
    .catalog-product-features {
        grid-template-columns: 1fr;
    }

    .featured-product-actions,
    .catalog-product-actions {
        flex-direction: column;
        align-items: stretch;
    }

        .featured-product-actions .btn,
        .catalog-product-actions .btn {
            width: 100%;
        }

    .products-future-card-content h3 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {

    .featured-product-copy,
    .catalog-product-copy,
    .featured-product-visual,
    .catalog-product-side,
    .products-future-card {
        padding: 26px;
    }

    .featured-product-title,
    .catalog-product-head h2 {
        font-size: 30px;
    }

    .featured-product-brand-box,
    .catalog-side-logo {
        width: 78px;
        height: 78px;
        font-size: 46px;
    }
}
/* ============================================================
   LOGO A EN TARJETAS DE PRODUCTO
   ============================================================ */

.featured-product-brand-box,
.catalog-side-logo {
    overflow: hidden;
    padding: 10px;
}

.featured-product-brand-image,
.catalog-side-logo-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}
/* ============================================================
   PANTALLA DE CARGA AINEDER
   Los estilos están en línea en index.html para que la pantalla
   se vea azul desde el primer instante.
   ============================================================ */

#app {
    min-height: 100vh;
}


/* Oculta el loader por defecto de Blazor si aún existe en algún sitio */
.loading-progress,
.loading-progress-text {
    display: none !important;
}

/* ============================================================
   PÁGINAS LEGALES
   ============================================================ */

.legal-card {
    overflow: hidden;
    border: 1px solid var(--border-light);
    border-radius: 26px;
    background: white;
    box-shadow: 0 22px 60px rgba(0, 30, 77, .08);
}

.legal-intro {
    padding: 50px;
    border-bottom: 1px solid var(--border-light);
    background: radial-gradient( circle at 90% 0%, rgba(8, 124, 255, .07), transparent 30% ), linear-gradient( 135deg, #FFFFFF, #F8FBFF );
}

    .legal-intro h2 {
        margin: 13px 0 18px;
        color: var(--aineder-navy);
        font-size: clamp(31px, 3vw, 42px);
        letter-spacing: -1.3px;
    }

    .legal-intro p {
        max-width: 790px;
        font-size: 16px;
        line-height: 1.8;
    }

.legal-section {
    padding: 42px 50px;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 26px;
    border-bottom: 1px solid var(--border-light);
}

    .legal-section:last-of-type {
        border-bottom: 0;
    }

.legal-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--aineder-blue-light);
    color: var(--aineder-blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .5px;
}

.legal-content h3 {
    margin: 5px 0 16px;
    color: var(--aineder-navy);
    font-size: 24px;
    letter-spacing: -.5px;
}

.legal-content p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

    .legal-content p:last-child {
        margin-bottom: 0;
    }

.legal-list {
    margin: 18px 0 24px;
    padding: 0;
    display: grid;
    gap: 11px;
    list-style: none;
}

    .legal-list li {
        position: relative;
        padding-left: 27px;
        color: var(--text-secondary);
        font-size: 15px;
        line-height: 1.65;
    }

        .legal-list li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 2px;
            width: 17px;
            height: 17px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: var(--aineder-blue-light);
            color: var(--aineder-blue);
            font-size: 10px;
            font-weight: 900;
        }

.legal-data-box {
    margin: 20px 0;
    padding: 22px 24px;
    border: 1px solid rgba(8, 124, 255, .12);
    border-radius: 15px;
    background: #F7FAFE;
}

    .legal-data-box p {
        margin-bottom: 8px;
    }

        .legal-data-box p:last-child {
            margin-bottom: 0;
        }

    .legal-data-box strong {
        color: var(--aineder-navy);
    }

.legal-rights-grid {
    margin: 25px 0 28px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.legal-right-card {
    padding: 20px;
    border: 1px solid var(--border-light);
    border-radius: 15px;
    background: #FAFCFF;
}

    .legal-right-card strong {
        display: block;
        margin-bottom: 6px;
        color: var(--aineder-navy);
        font-size: 15px;
    }

    .legal-right-card span {
        color: var(--text-secondary);
        font-size: 13px;
        line-height: 1.6;
    }

.legal-external-link {
    min-height: 48px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(8, 124, 255, .18);
    border-radius: 10px;
    background: var(--aineder-blue-light);
    color: var(--aineder-blue);
    font-size: 14px;
    font-weight: 800;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

    .legal-external-link:hover {
        transform: translateY(-2px);
        border-color: rgba(8, 124, 255, .35);
        background: #E5F2FF;
    }

.legal-update {
    padding: 22px 50px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    background: var(--background-soft);
    border-top: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 13px;
}

    .legal-update strong {
        color: var(--aineder-navy);
    }


/* ============================================================
   RESPONSIVE LEGAL
   ============================================================ */

@media (max-width: 768px) {

    .legal-intro {
        padding: 34px;
    }

    .legal-section {
        padding: 34px;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .legal-rights-grid {
        grid-template-columns: 1fr;
    }

    .legal-update {
        padding: 20px 34px;
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {

    .legal-intro,
    .legal-section {
        padding: 26px;
    }

    .legal-content h3 {
        font-size: 21px;
    }

    .legal-data-box {
        padding: 18px;
    }

    .legal-update {
        padding: 18px 26px;
    }
}

/* ============================================================
   SOLICITUD DE DEMOSTRACIÓN
   ============================================================ */

.form-control.valid.modified {
    border-color: rgba(31, 166, 106, .45);
}

.form-control.invalid {
    border-color: rgba(199, 53, 69, .65);
    box-shadow: 0 0 0 3px rgba(199, 53, 69, .06);
}

.contact-message strong {
    display: block;
    margin-bottom: 4px;
    color: inherit;
}

.checkbox-row a {
    color: var(--aineder-blue);
    font-weight: 700;
}

    .checkbox-row a:hover {
        text-decoration: underline;
    }

/* ============================================================
   PRODUCT DETAIL - HIGHLIGHTS
   ============================================================ */

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-highlights-grid {
    margin-top: 10px;
}

.product-highlight-card {
    min-height: 100%;
}


/* ============================================================
   PRICING SECTION
   ============================================================ */

.pricing-section {
    background: radial-gradient(circle at top right, rgba(8, 124, 255, .05), transparent 28%), linear-gradient(180deg, #F8FAFD 0%, #F4F7FB 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--border-light);
    border-radius: 28px;
    background: #FFFFFF;
    box-shadow: 0 18px 40px rgba(0, 30, 77, .06);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .pricing-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 24px 50px rgba(0, 30, 77, .10);
        border-color: rgba(8, 124, 255, .18);
    }

.pricing-card-featured {
    border: 2px solid #6C63FF;
    box-shadow: 0 24px 55px rgba(108, 99, 255, .14);
}

.pricing-badge {
    padding: 14px 20px;
    text-align: center;
    background: linear-gradient(90deg, #6C63FF 0%, #5A63F2 100%);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -.2px;
}

.pricing-card-top {
    padding: 28px 28px 22px;
}

.pricing-plan-icon {
    margin-bottom: 14px;
    color: var(--aineder-navy);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.pricing-plan-name {
    margin: 0 0 18px;
    color: var(--aineder-navy);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.pricing-price-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.pricing-price {
    color: var(--aineder-navy);
    font-size: 54px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -2px;
}

.pricing-price-note {
    margin-bottom: 7px;
    color: var(--text-secondary);
    font-size: 20px;
    font-weight: 500;
}

.pricing-minimum {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 700;
}

.pricing-description {
    min-height: 92px;
    margin: 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

.pricing-button {
    margin: 0 28px;
    min-height: 54px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #223568;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 800;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    box-shadow: 0 14px 30px rgba(0, 30, 77, .14);
}

    .pricing-button:hover {
        transform: translateY(-2px);
        background: var(--aineder-blue);
        color: #FFFFFF;
    }

.pricing-details {
    margin-top: 22px;
    border-top: 1px solid var(--border-light);
}

    .pricing-details summary {
        list-style: none;
        cursor: pointer;
        padding: 22px 28px;
        color: var(--aineder-navy);
        font-size: 16px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: color .2s ease;
    }

        .pricing-details summary::-webkit-details-marker {
            display: none;
        }

        .pricing-details summary::after {
            content: "⌄";
            font-size: 18px;
            color: var(--aineder-blue);
            transition: transform .2s ease;
        }

    .pricing-details[open] summary::after {
        transform: rotate(180deg);
    }

.pricing-feature-list {
    margin: 0;
    padding: 0 28px 26px;
    list-style: none;
    display: grid;
    gap: 12px;
}

    .pricing-feature-list li {
        position: relative;
        padding-left: 28px;
        color: var(--text-secondary);
        font-size: 15px;
        line-height: 1.6;
    }

        .pricing-feature-list li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 1px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--aineder-blue-light);
            color: var(--aineder-blue);
            font-size: 11px;
            font-weight: 900;
        }


/* ============================================================
   RESPONSIVE PRODUCT DETAIL / PRICING
   ============================================================ */

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

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-description {
        min-height: auto;
    }
}

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

    .pricing-card-top {
        padding: 24px 22px 20px;
    }

    .pricing-button {
        margin: 0 22px;
    }

    .pricing-details summary {
        padding: 20px 22px;
    }

    .pricing-feature-list {
        padding: 0 22px 22px;
    }

    .pricing-price {
        font-size: 46px;
    }

    .pricing-price-note {
        font-size: 17px;
    }
}

/* ============================================================
   AINEDER FICHAJES - TARIFAS PREMIUM
   ============================================================ */

.pricing-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient( circle at 8% 8%, rgba(8, 124, 255, .08), transparent 27% ), radial-gradient( circle at 92% 80%, rgba(0, 30, 77, .06), transparent 30% ), linear-gradient( 180deg, #F8FAFD 0%, #F2F6FB 100% );
}

    .pricing-section::before {
        content: "";
        position: absolute;
        top: -220px;
        left: 50%;
        width: 620px;
        height: 620px;
        transform: translateX(-50%);
        border-radius: 50%;
        background: radial-gradient( circle, rgba(8, 124, 255, .07), transparent 68% );
        pointer-events: none;
    }

    .pricing-section .container {
        position: relative;
        z-index: 1;
    }

.pricing-section-header {
    margin-bottom: 54px;
}


/* GRID */

.aineder-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}


/* ============================================================
   TARJETA
   ============================================================ */

.aineder-price-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(0, 30, 77, .09);
    border-radius: 24px;
    background: linear-gradient( 180deg, #FFFFFF 0%, #FDFEFF 100% );
    box-shadow: 0 8px 20px rgba(0, 30, 77, .04), 0 24px 55px rgba(0, 30, 77, .06);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

    .aineder-price-card:hover {
        transform: translateY(-7px);
        border-color: rgba(8, 124, 255, .20);
        box-shadow: 0 12px 25px rgba(0, 30, 77, .06), 0 30px 65px rgba(0, 30, 77, .11);
    }


/* BARRA SUPERIOR */

.aineder-price-accent {
    height: 4px;
    width: 100%;
    background: linear-gradient( 90deg, var(--aineder-navy), var(--aineder-blue) );
}


/* CONTENIDO */

.aineder-price-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 30px;
}


/* ============================================================
   CABECERA PLAN
   ============================================================ */

.aineder-price-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
}

.aineder-plan-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(8, 124, 255, .14);
    border-radius: 15px;
    background: linear-gradient( 145deg, #F3F8FF, #E8F3FF );
    color: var(--aineder-blue);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

    .aineder-plan-icon span {
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 1px;
    }

.aineder-plan-icon-professional {
    background: linear-gradient( 145deg, var(--aineder-navy), #0A397A );
    color: #FFFFFF;
    border-color: transparent;
}

.aineder-plan-heading {
    min-width: 0;
}

.aineder-plan-label {
    display: block;
    margin-bottom: 4px;
    color: var(--aineder-blue);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.25px;
}

.aineder-plan-heading h3 {
    margin: 0;
    color: var(--aineder-navy);
    font-size: 25px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -.7px;
}


/* DESCRIPCIÓN */

.aineder-plan-intro {
    min-height: 80px;
    margin: 0 0 25px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.75;
}


/* ============================================================
   PRECIO
   ============================================================ */

.aineder-price-block {
    min-height: 88px;
    display: flex;
    align-items: flex-end;
    gap: 14px;
    margin-bottom: 13px;
}

.aineder-price-main {
    display: flex;
    align-items: flex-start;
    color: var(--aineder-navy);
}

.aineder-price-number {
    font-size: 60px;
    line-height: .9;
    font-weight: 950;
    letter-spacing: -3px;
}

.aineder-price-currency {
    margin: 3px 0 0 5px;
    font-size: 27px;
    line-height: 1;
    font-weight: 900;
}

.aineder-price-period {
    padding-bottom: 5px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .aineder-price-period strong {
        color: var(--aineder-navy);
        font-size: 12px;
        font-weight: 800;
    }

    .aineder-price-period span {
        color: var(--text-muted);
        font-size: 12px;
        font-weight: 600;
    }


/* SIN MÍNIMO */

.aineder-price-no-minimum {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: #53647A;
    font-size: 12px;
    font-weight: 700;
}

.aineder-price-check {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(31, 166, 106, .10);
    color: #15885A;
    font-size: 11px;
    font-weight: 900;
}


/* ============================================================
   IDEAL PARA
   ============================================================ */

.aineder-plan-for {
    margin-bottom: 25px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px solid #E7EDF5;
    border-radius: 12px;
    background: #F8FAFD;
}

    .aineder-plan-for span {
        color: var(--text-muted);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .7px;
        text-transform: uppercase;
    }

    .aineder-plan-for strong {
        color: var(--aineder-navy);
        font-size: 13px;
        font-weight: 800;
    }


/* ============================================================
   BOTÓN
   ============================================================ */

.aineder-price-button {
    min-height: 53px;
    margin-top: auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: 1px solid var(--aineder-navy);
    border-radius: 11px;
    background: var(--aineder-navy);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 12px 25px rgba(0, 30, 77, .14);
    transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

    .aineder-price-button span {
        font-size: 18px;
        transition: transform .2s ease;
    }

    .aineder-price-button:hover {
        color: #FFFFFF;
        transform: translateY(-2px);
        border-color: var(--aineder-blue);
        background: var(--aineder-blue);
        box-shadow: 0 16px 30px rgba(8, 124, 255, .20);
    }

        .aineder-price-button:hover span {
            transform: translateX(3px);
        }


/* ============================================================
   DESPLEGABLE
   ============================================================ */

.aineder-plan-details {
    margin-top: 20px;
    border-top: 1px solid #E8EDF4;
}

    .aineder-plan-details summary {
        min-height: 58px;
        cursor: pointer;
        list-style: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: var(--aineder-navy);
        font-size: 13px;
        font-weight: 850;
        user-select: none;
    }

        .aineder-plan-details summary::-webkit-details-marker {
            display: none;
        }

.aineder-details-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--aineder-blue-light);
    color: var(--aineder-blue);
    font-size: 18px;
    line-height: 1;
    font-weight: 500;
    transition: transform .22s ease, background .22s ease;
}

.aineder-plan-details[open] .aineder-details-icon {
    transform: rotate(45deg);
    background: #DFEEFF;
}


/* LISTA */

.aineder-plan-features {
    padding: 3px 0 5px;
    display: grid;
    gap: 12px;
}

.aineder-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #53647A;
    font-size: 13px;
    line-height: 1.55;
}

    .aineder-feature-item > span {
        width: 19px;
        height: 19px;
        flex: 0 0 19px;
        margin-top: 1px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--aineder-blue-light);
        color: var(--aineder-blue);
        font-size: 10px;
        font-weight: 900;
    }

.aineder-feature-highlight {
    margin-bottom: 2px;
    padding: 10px 12px;
    border-left: 3px solid var(--aineder-blue);
    border-radius: 0 8px 8px 0;
    background: #F4F9FF;
    color: var(--aineder-navy);
    font-size: 12px;
    font-weight: 800;
}

.aineder-feature-api {
    color: var(--aineder-navy);
}


/* ============================================================
   TARJETA DESTACADA
   ============================================================ */

.aineder-price-card-featured {
    border-color: rgba(8, 124, 255, .45);
    box-shadow: 0 12px 25px rgba(8, 124, 255, .07), 0 30px 70px rgba(0, 30, 77, .12);
}

    .aineder-price-card-featured .aineder-price-accent {
        height: 5px;
        background: linear-gradient( 90deg, #075FD6, #0A8CFF, #55B6FF );
    }

.aineder-featured-label {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: linear-gradient( 90deg, #001E4D, #043B85 );
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .2px;
}

    .aineder-featured-label span {
        color: #7FC5FF;
    }

.aineder-price-card-featured .aineder-plan-icon {
    background: linear-gradient( 145deg, #087CFF, #075FD6 );
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 9px 20px rgba(8, 124, 255, .18);
}

.aineder-price-button-featured {
    border-color: var(--aineder-blue);
    background: linear-gradient( 90deg, #076AD8, #087CFF );
}


/* ============================================================
   PIE DE TARIFAS
   ============================================================ */

.aineder-pricing-footer {
    margin-top: 28px;
    padding: 22px 26px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border: 1px solid rgba(0, 30, 77, .07);
    border-radius: 18px;
    background: rgba(255, 255, 255, .74);
    box-shadow: 0 15px 38px rgba(0, 30, 77, .04);
    backdrop-filter: blur(8px);
}

.aineder-pricing-footer-item {
    display: flex;
    align-items: center;
    gap: 13px;
}

.aineder-pricing-footer-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--aineder-blue-light);
    color: var(--aineder-blue);
    font-size: 14px;
    font-weight: 900;
}

.aineder-pricing-footer-item div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.aineder-pricing-footer-item strong {
    color: var(--aineder-navy);
    font-size: 12px;
}

.aineder-pricing-footer-item div > span {
    color: var(--text-secondary);
    font-size: 11px;
    line-height: 1.45;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {

    .aineder-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 720px;
        margin: 0 auto;
    }

    .aineder-plan-intro {
        min-height: 0;
    }

    .aineder-pricing-footer {
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
        grid-template-columns: 1fr;
    }
}


@media (max-width: 768px) {

    .pricing-section-header {
        margin-bottom: 36px;
    }

    .aineder-price-content {
        padding: 25px 22px;
    }

    .aineder-price-number {
        font-size: 52px;
    }

    .aineder-price-block {
        gap: 10px;
    }

    .aineder-pricing-footer {
        padding: 20px;
    }
}


@media (max-width: 480px) {

    .aineder-price-card {
        border-radius: 20px;
    }

    .aineder-price-header {
        align-items: flex-start;
    }

    .aineder-price-block {
        align-items: flex-start;
        flex-direction: column;
        min-height: 0;
    }

    .aineder-price-period {
        padding-bottom: 0;
    }

    .aineder-price-number {
        font-size: 50px;
    }

    .aineder-price-content {
        padding: 23px 19px;
    }
}

/* ============================================================
   CAPA DE REFINAMIENTO VISUAL
   Ajustes globales de tipografía, botones, iconos y tarjetas.
   Va al final para sobrescribir estilos anteriores.
   ============================================================ */

/* TIPOGRAFÍA ------------------------------------------------ */

h1,
h2,
h3,
h4 {
    font-weight: 800;
    letter-spacing: -.02em;
    text-wrap: balance;
}

.section-header {
    max-width: 820px;
}

p {
    text-wrap: pretty;
}

.section-title {
    font-size: clamp(32px, 3.6vw, 50px);
    letter-spacing: -.03em;
    line-height: 1.1;
}

.section-eyebrow {
    font-size: 12px;
    letter-spacing: .14em;
}

.section-description {
    font-size: 17px;
}

/* FocusOnNavigate pone el foco en el h1 al navegar: sin recuadro */
h1:focus {
    outline: none;
}


/* ACCESIBILIDAD --------------------------------------------- */

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.form-control:focus-visible {
    outline: 2px solid var(--aineder-blue-soft);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}


/* BOTONES --------------------------------------------------- */

.btn {
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: -.005em;
}

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

.btn-primary {
    background: var(--aineder-blue);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 8px 20px rgba(8, 124, 255, .22);
}

    .btn-primary:hover {
        background: var(--aineder-blue-hover);
        color: white;
    }

.btn-secondary:hover {
    color: var(--aineder-blue);
}

.btn-outline {
    border-color: rgba(255, 255, 255, .28);
}

    .btn-outline:hover {
        border-color: rgba(255, 255, 255, .55);
        background: rgba(255, 255, 255, .06);
    }

.btn[disabled] {
    cursor: not-allowed;
    opacity: .75;
    transform: none;
}


/* HERO PRINCIPAL -------------------------------------------- */

.hero-inner {
    grid-template-columns: 1.05fr .95fr;
    gap: 64px;
}

.hero h1 {
    font-size: clamp(42px, 4.6vw, 66px);
    letter-spacing: -.035em;
    line-height: 1.04;
}

.hero-label {
    padding: 6px 12px;
    border: 1px solid rgba(24, 140, 255, .35);
    border-radius: 6px;
    background: rgba(8, 124, 255, .12);
    color: #8CC9FF;
    letter-spacing: .12em;
}

.home-panel-logo {
    padding: 8px;
}

    .home-panel-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }


/* CABECERA DE PÁGINAS INTERIORES ---------------------------- */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0 88px;
    background: radial-gradient(circle at 85% 20%, rgba(8, 124, 255, .16), transparent 30%), linear-gradient(135deg, var(--aineder-night), var(--aineder-navy));
}

    .page-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(120deg, transparent 0 62%, rgba(255, 255, 255, .025) 62% 63%, transparent 63%);
        pointer-events: none;
    }

.page-hero-inner {
    position: relative;
}

.page-hero h1 {
    margin-top: 20px;
    font-size: clamp(38px, 4.4vw, 58px);
    letter-spacing: -.035em;
}

.page-hero .hero-actions {
    margin-top: 30px;
}


/* ICONOS ---------------------------------------------------- */

.ui-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(8, 124, 255, .14);
    border-radius: 12px;
    background: var(--aineder-blue-light);
    color: var(--aineder-blue);
}

.section-soft .feature-icon {
    background: white;
}


/* TARJETAS -------------------------------------------------- */

.feature-card {
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-xs);
}

    .feature-card:hover {
        transform: translateY(-3px);
        border-color: rgba(8, 124, 255, .22);
        box-shadow: var(--shadow-sm);
    }

    .feature-card h3 {
        font-size: 19px;
        letter-spacing: -.015em;
    }

    .feature-card p {
        font-size: 15px;
    }

/* Pasos del proceso (01-04): numeración real de una secuencia */
.benefit-icon {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-medium);
    border-radius: 12px;
    background: white;
    color: var(--aineder-blue);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .02em;
}

.benefit-item h3 {
    font-size: 18px;
}

.home-company-number {
    padding: 14px;
}

    .home-company-number img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.aineder-pricing-footer-icon .ui-icon {
    width: 18px;
    height: 18px;
}


/* FORMULARIOS ----------------------------------------------- */

.form-card {
    border-radius: 18px;
}

.form-control {
    border-radius: 8px;
}

    .form-control:hover:not(:focus):not([disabled]) {
        border-color: #B9C4D2;
    }

select.form-control {
    padding-right: 42px;
    appearance: none;
    -webkit-appearance: none;
    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 1.5l5 5 5-5' fill='none' stroke='%23657285' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-control[disabled] {
    background-color: var(--background-soft);
    color: var(--text-muted);
}

.validation-message {
    color: var(--danger);
    font-size: 12px;
    font-weight: 600;
}

.checkbox-row input[type="checkbox"] {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    accent-color: var(--aineder-blue);
}

.contact-message {
    margin-bottom: 26px;
    padding: 16px 18px 16px 48px;
    position: relative;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
}

    .contact-message::before {
        position: absolute;
        top: 15px;
        left: 16px;
        width: 22px;
        height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: white;
        font-size: 12px;
        font-weight: 800;
    }

.contact-message-success {
    border: 1px solid #C5EDDA;
    background: var(--success-light);
    color: #157148;
}

    .contact-message-success::before {
        content: "✓";
        background: var(--success);
    }

.contact-message-error {
    border: 1px solid #F2C9C9;
    background: var(--danger-light);
    color: #A53A3A;
}

    .contact-message-error::before {
        content: "!";
        background: var(--danger);
    }

.contact-submit-button {
    min-width: 240px;
}

.contact-button-loading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: white;
    border-radius: 50%;
    animation: ainederSpin .7s linear infinite;
}

@keyframes ainederSpin {
    to {
        transform: rotate(360deg);
    }
}


/* CTA ------------------------------------------------------- */

.cta-section {
    background: radial-gradient(circle at 90% 50%, rgba(8, 124, 255, .18), transparent 32%), linear-gradient(135deg, var(--aineder-night), #00265F);
}

    .cta-section h2 {
        font-size: clamp(30px, 3.4vw, 44px);
        letter-spacing: -.03em;
    }

.cta-inner > .btn,
.cta-inner > div > .btn {
    flex-shrink: 0;
}


/* FOOTER ---------------------------------------------------- */

.site-footer {
    padding-top: 72px;
    background: var(--aineder-black);
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.footer-logo {
    height: 34px;
    max-width: none;
}

    .footer-logo:hover {
        transform: none;
        filter: none;
    }

.footer-company p {
    color: #93A1B5;
}

.footer-contact-link {
    color: #C6D3E3;
    font-size: 14px;
    font-weight: 600;
    transition: color var(--transition-fast);
}

    .footer-contact-link:hover {
        color: white;
    }

.footer-column strong {
    color: #E7EDF5;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.footer-column a {
    color: #93A1B5;
    font-size: 14px;
}

.footer-bottom {
    color: #6F7D91;
}


/* 404 ------------------------------------------------------- */

.not-found p {
    margin-bottom: 28px;
}


/* ERROR DE BLAZOR ------------------------------------------- */
/* Blazor lo muestra (display:block) solo cuando hay un error. */

#blazor-error-ui {
    display: none;
    position: fixed;
    left: 50%;
    bottom: 20px;
    z-index: 2000;
    width: min(560px, calc(100% - 32px));
    padding: 14px 48px 14px 18px;
    transform: translateX(-50%);
    border: 1px solid #F2C9C9;
    border-radius: 10px;
    background: #FFFFFF;
    color: #A53A3A;
    font-size: 14px;
    box-shadow: var(--shadow-lg);
}

    #blazor-error-ui .reload {
        margin-left: 6px;
        color: var(--aineder-blue);
        font-weight: 700;
        text-decoration: underline;
    }

    #blazor-error-ui .dismiss {
        position: absolute;
        top: 12px;
        right: 16px;
        cursor: pointer;
        color: var(--text-muted);
    }


/* RESPONSIVE DE LA CAPA DE REFINAMIENTO --------------------- */

@media (max-width: 1200px) {

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {

    .page-hero {
        padding: 60px 0 64px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .contact-submit-button {
        width: 100%;
        min-width: 0;
    }

    .cta-inner .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {

    .hero h1,
    .page-hero h1 {
        font-size: 36px;
    }

    .section-title {
        font-size: 31px;
    }
}


/* ============================================================
   CONTACTO - DOS COLUMNAS
   ============================================================ */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 64px;
    align-items: start;
}

.contact-aside {
    padding-top: 8px;
}

    .contact-aside h2 {
        margin-bottom: 16px;
        font-size: clamp(28px, 2.6vw, 36px);
        letter-spacing: -.03em;
    }

    .contact-aside > p {
        margin-bottom: 34px;
        font-size: 16px;
        line-height: 1.75;
    }

.contact-aside-item {
    padding: 18px 0;
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--border-light);
}

    .contact-aside-item:last-child {
        border-bottom: 1px solid var(--border-light);
    }

    .contact-aside-item small {
        display: block;
        color: var(--text-muted);
        font-size: 13px;
    }

    .contact-aside-item a {
        color: var(--aineder-navy);
        font-weight: 700;
        transition: color var(--transition-fast);
    }

        .contact-aside-item a:hover {
            color: var(--aineder-blue);
        }

.contact-aside-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--aineder-blue-light);
    color: var(--aineder-blue);
}

    .contact-aside-icon .ui-icon {
        width: 20px;
        height: 20px;
    }


/* ============================================================
   TARIFAS - ALINEACIÓN CON LA TARJETA DESTACADA
   La etiqueta "Más elegido" ocupa 42px: el resto de tarjetas
   bajan lo mismo para que precios y botones queden alineados.
   ============================================================ */

@media (min-width: 1101px) {

    .aineder-price-card:not(.aineder-price-card-featured) {
        margin-top: 42px;
    }
}

@media (max-width: 992px) {

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}


/* ============================================================
   AINEDER PERSONAS - COMPONENTES Y PÁGINAS
   ============================================================ */


/* CAPTURAS DE PANTALLA --------------------------------------
   Marco de navegador / móvil. Si no hay imagen se pinta una
   maqueta neutra con la etiqueta de la captura pendiente.
   ----------------------------------------------------------- */

.captura {
    margin: 0;
    width: 100%;
}

.captura-marco {
    overflow: hidden;
    border: 1px solid rgba(0, 30, 77, .10);
    border-radius: 14px;
    background: #FFFFFF;
    box-shadow: 0 2px 6px rgba(0, 30, 77, .05), 0 24px 60px rgba(0, 30, 77, .14);
}

.captura-barra {
    height: 34px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--border-light);
    background: #F3F6FA;
}

    .captura-barra > span {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: #D3DAE4;
    }

.captura-url {
    margin-left: 12px;
    padding: 3px 14px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background: #FFFFFF;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
}

.captura-pantalla {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #F7F9FC;
}

    .captura-pantalla img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
    }

.captura-maqueta {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 20% 1fr;
}

.maqueta-lateral {
    padding: 7% 12%;
    display: flex;
    flex-direction: column;
    gap: 9%;
    background: var(--aineder-night);
}

.maqueta-logo {
    width: 34%;
    aspect-ratio: 1;
    margin-bottom: 12%;
    border-radius: 22%;
    background: var(--aineder-blue);
}

.maqueta-linea {
    height: 5px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .16);
}

    .maqueta-linea.activa {
        background: var(--aineder-blue-soft);
    }

    .maqueta-linea.corta {
        width: 60%;
    }

.maqueta-contenido {
    padding: 6% 6%;
    display: flex;
    flex-direction: column;
    gap: 7%;
}

.maqueta-titulo {
    width: 34%;
    height: 10px;
    border-radius: 6px;
    background: #D9E1EB;
}

.maqueta-tarjetas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4%;
}

    .maqueta-tarjetas span {
        aspect-ratio: 2.1;
        border: 1px solid var(--border-light);
        border-radius: 8px;
        background: #FFFFFF;
        box-shadow: inset 0 -3px 0 rgba(8, 124, 255, .55);
    }

.maqueta-filas {
    padding: 4%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: #FFFFFF;
}

    .maqueta-filas span {
        height: 6px;
        border-radius: 4px;
        background: #E6EBF2;
    }

        .maqueta-filas span:nth-child(odd) {
            width: 82%;
        }

.captura-etiqueta {
    position: absolute;
    left: 50%;
    bottom: 7%;
    max-width: calc(100% - 24px);
    padding: 7px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(0, 21, 53, .86);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .captura-etiqueta .ui-icon {
        width: 14px;
        height: 14px;
        color: #8CC9FF;
    }

.captura figcaption {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
}

/* Versión móvil */

.captura-movil {
    width: 230px;
    max-width: 100%;
}

    .captura-movil .captura-marco {
        padding: 8px;
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: 34px;
        background: #0A0F18;
        box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
    }

    .captura-movil .captura-pantalla {
        aspect-ratio: 9 / 19.5;
        border-radius: 26px;
    }

    .captura-movil .captura-maqueta {
        grid-template-columns: 1fr;
    }

    .captura-movil .maqueta-contenido {
        padding: 22% 9% 9%;
        gap: 5%;
    }

    .captura-movil .maqueta-tarjetas {
        grid-template-columns: 1fr;
    }

        .captura-movil .maqueta-tarjetas span {
            aspect-ratio: 3.2;
        }

            .captura-movil .maqueta-tarjetas span:first-child {
                aspect-ratio: 1.6;
                border: 0;
                background: var(--aineder-blue);
                box-shadow: none;
            }

    .captura-movil .captura-etiqueta {
        bottom: 5%;
        font-size: 11px;
    }


/* PROMOCIÓN DE LANZAMIENTO ---------------------------------- */

.promo-lanzamiento {
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(8, 124, 255, .22);
    border-radius: 16px;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--aineder-blue-light) 100%);
}

.promo-destacada {
    margin-bottom: 40px;
    padding: 26px 30px;
    box-shadow: 0 16px 40px rgba(8, 124, 255, .10);
}

.promo-compacta {
    margin-top: 28px;
    padding: 18px 22px;
}

.promo-icono {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--aineder-blue);
    color: #FFFFFF;
    box-shadow: 0 10px 22px rgba(8, 124, 255, .28);
}

.promo-compacta .promo-icono {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    box-shadow: none;
}

    .promo-compacta .promo-icono .ui-icon {
        width: 20px;
        height: 20px;
    }

.promo-texto {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .promo-texto strong {
        color: var(--aineder-navy);
        font-size: 18px;
        line-height: 1.35;
        letter-spacing: -.01em;
    }

    .promo-texto span {
        color: var(--text-secondary);
        font-size: 14px;
        line-height: 1.6;
    }

.promo-compacta .promo-texto strong {
    font-size: 15px;
}

.promo-compacta .promo-texto span {
    font-size: 13px;
}

.promo-boton {
    flex-shrink: 0;
}


/* HERO DE PRODUCTO ------------------------------------------ */

.product-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 80% 30%, rgba(8, 124, 255, .20), transparent 34%), linear-gradient(135deg, var(--aineder-night), var(--aineder-navy));
    color: #FFFFFF;
}

.product-hero-inner {
    width: min(var(--container-width), calc(100% - 70px));
    margin: 0 auto;
    padding: 80px 0 88px;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 64px;
}

.product-hero h1 {
    margin: 20px 0 18px;
    color: #FFFFFF;
    font-size: clamp(40px, 4.6vw, 64px);
    letter-spacing: -.035em;
    line-height: 1.04;
}

.product-hero-lead {
    max-width: 540px;
    color: #D5DFEC;
    font-size: 18px;
    line-height: 1.7;
}

.product-hero-price {
    margin: 22px 0 0;
    color: #AFC0D4;
    font-size: 14px;
}

    .product-hero-price strong {
        color: #FFFFFF;
    }

.product-hero-visual .captura-marco {
    border-color: rgba(255, 255, 255, .14);
    box-shadow: 0 40px 90px rgba(0, 0, 0, .40);
}


/* RESUMEN DE PRODUCTO --------------------------------------- */

.product-summary {
    border-bottom: 1px solid var(--border-light);
    background: #FFFFFF;
}

.product-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.product-summary-item {
    padding: 30px 28px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

    .product-summary-item + .product-summary-item {
        border-left: 1px solid var(--border-light);
    }

    .product-summary-item > .ui-icon {
        margin-top: 2px;
        color: var(--aineder-blue);
    }

    .product-summary-item strong {
        display: block;
        margin-bottom: 4px;
        color: var(--aineder-navy);
        font-size: 15px;
    }

    .product-summary-item span {
        color: var(--text-secondary);
        font-size: 14px;
        line-height: 1.55;
    }


/* MÓDULOS --------------------------------------------------- */

.module-row {
    padding: 56px 0;
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 72px;
    scroll-margin-top: calc(var(--header-height) + 20px);
}

    .module-row + .module-row {
        border-top: 1px solid var(--border-light);
    }

.module-row-reverse .module-copy {
    order: 2;
}

.module-tag {
    margin-bottom: 18px;
    padding: 6px 12px 6px 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    background: var(--aineder-blue-light);
    color: var(--aineder-blue);
    font-size: 13px;
    font-weight: 700;
}

    .module-tag .ui-icon {
        width: 20px;
        height: 20px;
    }

.module-copy h3 {
    margin-bottom: 16px;
    color: var(--aineder-navy);
    font-size: clamp(26px, 2.4vw, 34px);
    letter-spacing: -.03em;
    line-height: 1.15;
}

.module-copy > p {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.75;
}

.module-list {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
    list-style: none;
}

    .module-list li {
        position: relative;
        padding-left: 30px;
        color: var(--text-primary);
        font-size: 15px;
        font-weight: 600;
    }

        .module-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 3px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--aineder-blue-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087CFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
        }

.module-list-dark li {
    color: #E3EAF3;
}

    .module-list-dark li::before {
        background-color: rgba(8, 124, 255, .22);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238CC9FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
    }


/* APP MÓVIL ------------------------------------------------- */

.app-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 78% 40%, rgba(8, 124, 255, .22), transparent 36%), linear-gradient(135deg, var(--aineder-night), var(--aineder-navy));
}

.app-section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 64px;
}

.app-section .section-eyebrow {
    color: #8CC9FF;
}

.app-section .section-description {
    margin-bottom: 28px;
}

.app-section-phones {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
}

    .app-section-phones .captura:nth-child(2) {
        margin-top: 56px;
    }


/* PRECIO RESUMIDO ------------------------------------------- */

.price-teaser {
    padding: 36px 40px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
}

.price-teaser-amount {
    padding-right: 40px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-light);
}

.price-teaser-number {
    color: var(--aineder-navy);
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
}

.price-teaser-unit {
    margin-top: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.price-teaser-copy h2 {
    margin-bottom: 8px;
    font-size: 24px;
}

.price-teaser-copy p {
    margin: 0;
    font-size: 15px;
}


/* PÁGINA DE PRECIOS ----------------------------------------- */

.pricing-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: start;
    gap: 28px;
}

.plan-card {
    overflow: hidden;
    border: 1px solid rgba(8, 124, 255, .25);
    border-radius: 20px;
    background: #FFFFFF;
    box-shadow: 0 2px 6px rgba(0, 30, 77, .04), 0 28px 64px rgba(0, 30, 77, .10);
}

.plan-card-head {
    padding: 36px 40px 30px;
    background: radial-gradient(circle at 90% 0%, rgba(24, 140, 255, .28), transparent 40%), linear-gradient(135deg, var(--aineder-night), var(--aineder-navy));
    color: #FFFFFF;
}

.plan-card-product {
    color: #8CC9FF;
    font-size: 14px;
    font-weight: 700;
}

.plan-card-price {
    margin: 14px 0 14px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.plan-card-amount {
    font-size: 84px;
    font-weight: 800;
    line-height: .9;
    letter-spacing: -.05em;
}

.plan-card-currency {
    margin-top: 4px;
    font-size: 34px;
    font-weight: 800;
}

.plan-card-period {
    margin: auto 0 6px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .plan-card-period strong {
        font-size: 16px;
    }

    .plan-card-period span {
        color: #AFC0D4;
        font-size: 13px;
    }

.plan-card-head p {
    margin: 0;
    color: #C6D3E3;
    font-size: 15px;
}

.plan-card-body {
    padding: 32px 40px 40px;
}

.plan-card-subtitle {
    display: block;
    margin-bottom: 16px;
    color: var(--aineder-navy);
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.plan-includes {
    margin: 0 0 26px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    list-style: none;
}

    .plan-includes li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        color: var(--text-primary);
        font-size: 15px;
        font-weight: 600;
        line-height: 1.45;
    }

        .plan-includes li .ui-icon {
            width: 20px;
            height: 20px;
            color: var(--aineder-blue);
        }

.plan-card-conditions {
    margin-bottom: 26px;
    padding: 14px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

    .plan-card-conditions span {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #157148;
        font-size: 14px;
        font-weight: 700;
    }

        .plan-card-conditions .ui-icon {
            width: 18px;
            height: 18px;
        }

/* Calculadora */

.calculator-card {
    padding: 32px;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
}

    .calculator-card h2 {
        margin-bottom: 8px;
        font-size: 22px;
    }

    .calculator-card > p {
        margin-bottom: 22px;
        font-size: 14px;
        line-height: 1.6;
    }

    .calculator-card .form-label {
        display: block;
        margin-bottom: 8px;
    }

.calculator-input {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    gap: 8px;
}

    .calculator-input .form-control {
        text-align: center;
        font-size: 20px;
        font-weight: 800;
        color: var(--aineder-navy);
        -moz-appearance: textfield;
    }

        .calculator-input .form-control::-webkit-outer-spin-button,
        .calculator-input .form-control::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

.calculator-step {
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    background: #FFFFFF;
    color: var(--aineder-navy);
    font-size: 22px;
    font-weight: 600;
    transition: border-color var(--transition-fast), color var(--transition-fast);
}

    .calculator-step:hover {
        border-color: var(--aineder-blue);
        color: var(--aineder-blue);
    }

.calculator-lines {
    margin: 24px 0 0;
}

    .calculator-lines > div {
        padding: 12px 0;
        display: flex;
        justify-content: space-between;
        gap: 16px;
        border-bottom: 1px solid var(--border-light);
        font-size: 15px;
    }

    .calculator-lines dt {
        color: var(--text-secondary);
    }

    .calculator-lines dd {
        margin: 0;
        color: var(--text-primary);
        font-weight: 700;
        font-variant-numeric: tabular-nums;
    }

.calculator-total {
    border-bottom: 0 !important;
}

    .calculator-total dt {
        color: var(--aineder-navy) !important;
        font-weight: 800;
    }

    .calculator-total dd {
        color: var(--aineder-navy) !important;
        font-size: 26px;
        font-weight: 800 !important;
        letter-spacing: -.02em;
    }

.calculator-promo {
    margin-top: 16px;
    padding: 14px 16px;
    display: flex;
    gap: 12px;
    border-radius: 10px;
    background: var(--aineder-blue-light);
    color: var(--aineder-navy);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

    .calculator-promo .ui-icon {
        width: 20px;
        height: 20px;
        color: var(--aineder-blue);
    }

/* Preguntas frecuentes */

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border-light);
    border-radius: 12px;
    background: #FFFFFF;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

    .faq-item[open] {
        border-color: rgba(8, 124, 255, .25);
        box-shadow: var(--shadow-xs);
    }

    .faq-item summary {
        padding: 20px 56px 20px 24px;
        position: relative;
        cursor: pointer;
        list-style: none;
        color: var(--aineder-navy);
        font-size: 16px;
        font-weight: 700;
    }

        .faq-item summary::-webkit-details-marker {
            display: none;
        }

        .faq-item summary::after {
            content: "";
            position: absolute;
            right: 24px;
            top: 50%;
            width: 8px;
            height: 8px;
            margin-top: -6px;
            border-right: 2px solid var(--aineder-blue);
            border-bottom: 2px solid var(--aineder-blue);
            transform: rotate(45deg);
            transition: transform var(--transition-fast), margin-top var(--transition-fast);
        }

    .faq-item[open] summary::after {
        margin-top: -2px;
        transform: rotate(-135deg);
    }

    .faq-item p {
        margin: 0;
        padding: 0 24px 22px;
        font-size: 15px;
        line-height: 1.75;
    }


/* CATÁLOGO -------------------------------------------------- */

.catalog-modules {
    margin: 28px 0;
    display: grid;
    gap: 12px;
}

.catalog-module {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    background: #FFFFFF;
}

    .catalog-module > .ui-icon {
        width: 40px;
        height: 40px;
        padding: 9px;
        border-radius: 10px;
        background: var(--aineder-blue-light);
        color: var(--aineder-blue);
    }

    .catalog-module strong {
        display: block;
        color: var(--aineder-navy);
        font-size: 15px;
    }

    .catalog-module span {
        color: var(--text-secondary);
        font-size: 13px;
    }

.catalog-product-price,
.featured-product-price {
    margin-bottom: 26px;
    color: var(--text-secondary);
    font-size: 15px;
}

    .catalog-product-price strong,
    .featured-product-price strong {
        color: var(--aineder-navy);
        font-size: 18px;
    }

.featured-product-points {
    margin-bottom: 22px;
}

.catalog-product-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.catalog-product-side,
.featured-product-visual {
    padding: 44px 36px;
}

    .catalog-product-side .captura-marco,
    .featured-product-visual .captura-marco {
        border-color: rgba(255, 255, 255, .14);
        box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
    }

.featured-product-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}


/* SOLICITUD DE DEMO ----------------------------------------- */

.demo-layout {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 64px;
    align-items: start;
}

.demo-steps {
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
    counter-reset: paso;
}

    .demo-steps li {
        position: relative;
        padding: 0 0 22px 52px;
        counter-increment: paso;
    }

        .demo-steps li::before {
            content: counter(paso);
            position: absolute;
            left: 0;
            top: 0;
            width: 34px;
            height: 34px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: var(--aineder-blue-light);
            color: var(--aineder-blue);
            font-size: 14px;
            font-weight: 800;
        }

        .demo-steps li:not(:last-child)::after {
            content: "";
            position: absolute;
            left: 16px;
            top: 40px;
            bottom: 6px;
            width: 2px;
            background: var(--border-light);
        }

        .demo-steps li strong {
            display: block;
            color: var(--aineder-navy);
            font-size: 16px;
        }

        .demo-steps li span {
            color: var(--text-secondary);
            font-size: 14px;
        }

.demo-price {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    background: var(--background-soft);
}

    .demo-price > span {
        color: var(--text-muted);
        font-size: 13px;
    }

    .demo-price strong {
        color: var(--aineder-navy);
        font-size: 18px;
    }

    .demo-price small {
        color: var(--text-secondary);
        font-size: 13px;
    }

        .demo-price small a {
            margin-left: 4px;
            color: var(--aineder-blue);
            font-weight: 700;
        }


/* RESPONSIVE ------------------------------------------------ */

@media (max-width: 1100px) {

    .pricing-layout {
        grid-template-columns: 1fr;
        max-width: 760px;
        margin: 0 auto;
    }

    .price-teaser {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .price-teaser-amount {
        padding: 0 0 22px;
        border-right: 0;
        border-bottom: 1px solid var(--border-light);
    }
}

@media (max-width: 992px) {

    .product-hero-inner,
    .module-row,
    .app-section-grid,
    .demo-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .module-row-reverse .module-copy {
        order: 0;
    }

    .product-summary-grid {
        grid-template-columns: 1fr;
    }

    .product-summary-item + .product-summary-item {
        border-left: 0;
        border-top: 1px solid var(--border-light);
    }

    .promo-lanzamiento {
        flex-wrap: wrap;
    }

    .promo-boton {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .product-hero-inner {
        width: calc(100% - 32px);
        padding: 56px 0 64px;
    }

    .product-hero .hero-actions {
        flex-direction: column;
    }

        .product-hero .hero-actions .btn {
            width: 100%;
        }

    .module-row {
        padding: 40px 0;
    }

    .plan-card-head,
    .plan-card-body {
        padding-left: 24px;
        padding-right: 24px;
    }

    .plan-includes {
        grid-template-columns: 1fr;
    }

    .calculator-card {
        padding: 24px;
    }

    .promo-destacada {
        padding: 22px;
        align-items: flex-start;
    }

    .price-teaser {
        padding: 28px 24px;
    }

    .captura-url {
        display: none;
    }
}

@media (max-width: 520px) {

    .app-section-phones {
        gap: 14px;
    }

        .app-section-phones .captura {
            width: 46%;
        }

            .app-section-phones .captura:nth-child(2) {
                margin-top: 32px;
            }

    .captura-movil .captura-marco {
        border-radius: 26px;
        padding: 6px;
    }

    .captura-movil .captura-pantalla {
        border-radius: 20px;
    }

    .captura-movil .captura-etiqueta {
        white-space: normal;
        text-align: center;
        border-radius: 10px;
        font-size: 10px;
    }

    .plan-card-amount {
        font-size: 68px;
    }
}


/* ============================================================
   CAPTURAS REALES: SE MUESTRAN ENTERAS
   El hueco toma la proporción de la imagen, sin recortarla.
   La proporción fija (16:10 / 9:19.5) solo se usa para la maqueta.
   ============================================================ */

.captura-con-imagen .captura-pantalla {
    aspect-ratio: auto;
    background: #FFFFFF;
}

    .captura-con-imagen .captura-pantalla img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

/* En las filas invertidas la captura también ocupa la columna ancha */
@media (min-width: 993px) {

    .module-row-reverse {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    }
}


/* ============================================================
   HOME - CAPTURA REAL DEL PROGRAMA EN LA CABECERA
   Sustituye a la maqueta con gráficos. Mantiene el giro sutil
   en 3D de la maqueta anterior y se endereza en pantallas pequeñas.
   ============================================================ */

.hero-captura {
    width: 100%;
    max-width: 700px;
    transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
    transition: transform .5s ease;
}

    .hero-captura:hover {
        transform: perspective(1400px) rotateY(0deg) rotateX(0deg);
    }

    .hero-captura .captura-marco {
        border-color: rgba(255, 255, 255, .14);
        border-radius: 16px;
        box-shadow: 0 2px 0 rgba(255, 255, 255, .06) inset, 0 40px 90px rgba(0, 0, 0, .45);
    }

    .hero-captura .captura-barra {
        background: #0B2148;
        border-bottom-color: rgba(255, 255, 255, .08);
    }

        .hero-captura .captura-barra > span {
            background: rgba(255, 255, 255, .22);
        }

    .hero-captura .captura-url {
        border-color: rgba(255, 255, 255, .10);
        background: rgba(255, 255, 255, .06);
        color: #AFC0D4;
    }

@media (max-width: 1200px) {

    .hero-captura {
        max-width: 750px;
        margin: 0 auto;
        transform: none;
    }

        .hero-captura:hover {
            transform: none;
        }
}

@media (prefers-reduced-motion: reduce) {

    .hero-captura,
    .hero-captura:hover {
        transition: none;
    }
}


/* ============================================================
   AJUSTES PARA MÓVIL Y TABLET
   Todo va dentro de @media: en ordenador la web no cambia.
   ============================================================ */

@media (max-width: 992px) {

    /* Tarjeta del producto (inicio y productos): una sola columna */
    .featured-product-card,
    .catalog-product-card {
        grid-template-columns: 1fr;
    }

    .featured-product-visual,
    .catalog-product-side {
        min-height: 0;
        padding: 32px 28px;
    }

    /* Solicitar demo: el formulario primero, la explicación después */
    .demo-layout .form-card {
        order: -1;
    }
}

@media (max-width: 768px) {

    /* Espaciado vertical algo más compacto */
    .section {
        padding: 64px 0;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .cta-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    /* 16px en los campos: evita que el iPhone haga zoom al escribir */
    .form-control,
    select.form-control,
    textarea.form-control {
        font-size: 16px;
    }

    /* Botones con altura cómoda para el dedo */
    .btn {
        min-height: 48px;
    }

    /* Promoción: más compacta */
    .promo-lanzamiento {
        gap: 16px;
    }

    .promo-destacada {
        margin-bottom: 28px;
        padding: 20px;
    }

    .promo-icono {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .promo-texto strong {
        font-size: 16px;
    }

    /* Pie: logo arriba y enlaces en dos columnas */
    .site-footer {
        padding-top: 56px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 24px;
    }

    .footer-company {
        grid-column: 1 / -1;
    }

    .footer-column {
        gap: 4px;
    }

        .footer-column strong {
            margin-bottom: 6px;
        }

        .footer-column a {
            padding: 6px 0;
            font-size: 14px;
        }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    /* Teléfonos de la app: mantienen su forma mientras carga la imagen */
    .captura-movil .captura-pantalla {
        min-height: 120px;
    }
}

@media (max-width: 480px) {

    .featured-product-copy,
    .catalog-product-copy {
        padding: 28px 22px;
    }

    .featured-product-visual,
    .catalog-product-side {
        padding: 24px 18px;
    }

    .form-card {
        padding: 24px 20px;
    }

    /* La última columna del pie (Legal) ocupa todo el ancho */
    .footer-grid > .footer-column:last-child {
        grid-column: 1 / -1;
    }
}
