/* ============================================
       VARIABLES CSS - Colores Corporativos AMI
    ============================================ */
    :root {
        --aquamarine: #73fbd3;
        --indigo-dye: #153b50;
        --indigo-dye-dark: #0d2a3a;
        --razzle-rose: #ff3cc7;
        --canary: #FFE900;
        --indigo: #63038c;
        --white: #ffffff;
        
        --font-titles: 'Krub', sans-serif;
        --font-body: 'Nunito', sans-serif;
    }

    /* ============================================
       RESET Y ESTILOS BASE
    ============================================ */
    *, *::before, *::after {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        font-family: var(--font-body);
        background: var(--indigo-dye);
        color: var(--white);
        line-height: 1.6;
        overflow-x: hidden;
    }

    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* ============================================
       BOTÓN FLOTANTE WHATSAPP - CORPORATIVO
    ============================================ */
    

    

    

    

    /* ============================================
       HEADER PRINCIPAL
    ============================================ */
    .page-header {
        background: var(--indigo-dye);
        padding: 50px 20px 30px;
        text-align: center;
    }

    /* H1 SEO - Discreto pero visible */
    .page-header .seo-title {
        font-family: var(--font-body) !important;
        font-size: 0.8rem !important;
        font-weight: 500 !important;
        color: var(--aquamarine) !important;
        opacity: 0.6;
        margin-bottom: 12px;
        letter-spacing: 0.3px;
        text-transform: uppercase;
    }

    /* Título visual grande (es un <p> pero parece H1) */
    .page-header .visual-title {
        font-family: var(--font-titles);
        font-size: clamp(32px, 4vw, 48px);
        font-weight: 700;
        color: var(--aquamarine) !important;
        margin-bottom: 12px;
        line-height: 1.2;
    }

    .page-header .subtitle {
        font-family: var(--font-body);
        font-size: clamp(16px, 2vw, 20px);
        color: var(--aquamarine) !important;
        font-weight: 400;
    }

    /* ============================================
       SECCIÓN HERO - ¿QUÉ ES?
    ============================================ */
    .hero-wrapper {
        padding: 25px 20px;
        background: var(--indigo-dye);
    }

    .hero {
        display: grid;
        grid-template-columns: 1fr 1fr;
        max-width: 1400px;
        margin: 0 auto;
        overflow: hidden;
        border-radius: 40px 0 40px 0;
    }

    .hero-image {
        position: relative;
        overflow: hidden;
        border-radius: 40px 0 0 0;
        background: var(--white);
    }

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        min-height: 400px;
    }

    .hero-content {
        background: var(--aquamarine);
        padding: 55px 50px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border-radius: 0 0 40px 0;
    }

    .hero-content h2 {
        font-family: var(--font-titles);
        font-size: clamp(26px, 3.5vw, 36px);
        font-weight: 700;
        color: var(--indigo-dye) !important;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .hero-content p {
        font-family: var(--font-body);
        font-size: 15px;
        color: var(--indigo-dye) !important;
        line-height: 1.7;
    }

    .hero-content .highlight {
        font-weight: 700;
    }

    /* ============================================
       SECCIÓN VENTAJAS / EXCEDENTES
    ============================================ */
    .ventajas-wrapper {
        padding: 60px 20px;
        background: var(--indigo-dye);
    }

    .ventajas-container {
        max-width: 1200px;
        margin: 0 auto;
        border: 4px solid var(--razzle-rose);
        border-radius: 40px 0 40px 0;
        padding: 50px 45px;
    }

    .ventajas-header h2 {
        font-family: var(--font-titles);
        font-size: clamp(26px, 3.5vw, 38px);
        font-weight: 700;
        color: var(--canary) !important;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .ventajas-header p {
        font-family: var(--font-body);
        font-size: 15px;
        color: var(--white) !important;
        line-height: 1.7;
        margin-bottom: 40px;
    }

    .ventajas-subtitle {
        font-family: var(--font-titles);
        font-size: clamp(22px, 2.8vw, 30px);
        font-weight: 700;
        color: var(--aquamarine) !important;
        margin-bottom: 25px;
        margin-top: 10px;
    }

    /* Grid de ventajas con checks */
    .ventajas-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .ventaja-item {
        background: var(--aquamarine);
        padding: 16px 20px;
        border-radius: 25px 0 25px 0;
        display: flex;
        align-items: center;
        gap: 14px;
        transition: all 0.3s ease;
    }

    .ventaja-item:hover {
        transform: translateX(5px);
        box-shadow: 0 5px 20px rgba(115, 251, 211, 0.3);
    }

    .ventaja-icon {
        flex-shrink: 0;
        width: 32px;
        height: 32px;
        background: var(--indigo-dye);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ventaja-icon::after {
        content: '✓';
        color: var(--aquamarine);
        font-size: 20px;
        font-weight: 700;
    }

    .ventaja-text {
        font-family: var(--font-body);
        font-size: 14px;
        color: var(--indigo-dye) !important;
        font-weight: 600;
        line-height: 1.4;
    }

    /* ============================================
       SECCIÓN ¿CÓMO ACTIVO? - ÍCONOS CORPORATIVOS
    ============================================ */
    .como-activo-wrapper {
        padding: 70px 20px 90px;
        background: var(--indigo-dye);
    }

    .como-activo-container {
        max-width: 1100px;
        margin: 0 auto;
    }

    .como-activo-header {
        text-align: center;
        margin-bottom: 50px;
    }

    .como-activo-header h2 {
        font-family: var(--font-titles);
        font-size: clamp(28px, 3.5vw, 40px);
        font-weight: 700;
        color: var(--aquamarine) !important;
        line-height: 1.3;
    }

    /* Grid de tarjetas */
    .como-activo-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
        margin-bottom: 50px;
        padding-top: 55px;
        width: 94%;
        margin-left: auto;
        margin-right: auto;
    }

    .activo-card {
        background: var(--aquamarine);
        padding: 55px 35px 35px;
        border-radius: 30px 0 30px 0;
        text-align: center;
        position: relative;
        transition: all 0.3s ease;
    }

    .activo-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(115, 251, 211, 0.3);
    }

    /* ============================================
       ICONO CORPORATIVO - POSICIÓN CORRECTA
    ============================================ */
    .activo-icon {
        position: absolute;
        top: -65px;
        left: 50%;
        transform: translateX(-50%);
        width: 90px;
        height: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
        background: transparent;
    }

    .activo-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .activo-card h3 {
        font-family: var(--font-titles);
        font-size: 16px;
        font-weight: 700;
        color: var(--indigo-dye) !important;
        text-transform: uppercase;
        margin-bottom: 12px;
        letter-spacing: 0.3px;
        line-height: 1.4;
    }

    /* ============================================
       LÍNEA DIVISORIA - AZUL OSCURO CORPORATIVO
    ============================================ */
    .activo-divider {
        width: 35px;
        height: 3px;
        background: var(--indigo-dye-dark) !important;
        margin: 0 auto 15px;
    }

    .activo-card p {
        font-family: var(--font-body);
        font-size: 14px;
        color: var(--indigo-dye) !important;
        line-height: 1.65;
    }

    .activo-card .precio {
        font-weight: 700;
        margin-top: 5px;
    }

    /* ============================================
       BOTÓN CTA CONTRATAR
    ============================================ */
    .cta-wrapper {
        text-align: center;
    }

    .btn-cta {
        display: inline-block;
        background: var(--canary);
        color: var(--indigo-dye) !important;
        font-family: var(--font-titles);
        font-weight: 700;
        font-size: 15px;
        padding: 18px 50px;
        border-radius: 20px 0 20px 0;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

    .btn-cta:hover {
        background: #e6d200;
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(255, 233, 0, 0.4);
    }

    /* ============================================
       SECCIÓN FORMULARIO DE CONTACTO
    ============================================ */
    .contact-section {
        background: var(--indigo-dye);
        padding: 80px 20px 70px;
    }

    .contact-container {
        max-width: 1000px;
        margin: 0 auto;
        width: 90%;
    }

    .contact-section h2 {
        font-family: var(--font-titles);
        font-size: clamp(26px, 3vw, 34px);
        font-weight: 700;
        color: var(--white) !important;
        text-align: center;
        margin-bottom: 40px;
    }

    /* ============================================
       NINJA FORMS - ESTILOS CORPORATIVOS AMI
    ============================================ */

    /* Reset contenedores NF */
    .contact-section .nf-form-cont,
    .contact-section .nf-form-wrap,
    .contact-section .nf-form-layout,
    .contact-section .nf-form-content,
    .contact-section .nf-before-form-content,
    .contact-section .nf-after-form-content,
    .contact-section nf-fields-wrap,
    .contact-section .nf-fields-wrap {
        all: unset !important;
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Grid principal - 2 columnas */
    .contact-section nf-fields-wrap,
    .contact-section .nf-fields-wrap {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 22px !important;
        width: 100% !important;
    }

    /* Campos individuales */
    .contact-section nf-field,
    .contact-section .nf-field-container,
    .contact-section .field-wrap {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Campos full width (a partir del 5º campo) */
    .contact-section nf-fields-wrap > nf-field:nth-child(n+5),
    .contact-section .nf-fields-wrap > .nf-field-container:nth-child(n+5) {
        grid-column: 1 / -1 !important;
    }

    .contact-section .textarea-container,
    .contact-section .textarea-wrap,
    .contact-section .submit-container,
    .contact-section .submit-wrap,
    .contact-section .checkbox-container,
    .contact-section .checkbox-wrap,
    .contact-section .listcheckbox-container,
    .contact-section .html-container {
        grid-column: 1 / -1 !important;
    }

    /* Ocultar labels (usamos placeholders) */
    .contact-section .nf-field-label,
    .contact-section .field-label,
    .contact-section label.nf-label-above,
    .contact-section label.nf-label-left,
    .contact-section .nf-label {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    /* ============================================
       INPUTS - ESTILOS VISUALES
    ============================================ */
    .contact-section input[type="text"],
    .contact-section input[type="email"],
    .contact-section input[type="tel"],
    .contact-section input[type="number"],
    .contact-section input[type="url"],
    .contact-section input[type="date"],
    .contact-section input[type="password"],
    .contact-section select,
    .contact-section textarea,
    .contact-section .ninja-forms-field,
    .contact-section .nf-element {
        width: 100% !important;
        background: rgba(115, 251, 211, 0.12) !important;
        border: 2px solid rgba(115, 251, 211, 0.45) !important;
        border-radius: 20px 0 20px 0 !important;
        padding: 18px 22px !important;
        font-family: 'Nunito', sans-serif !important;
        font-size: 16px !important;
        color: #73fbd3 !important;
        transition: all 0.3s ease !important;
        box-shadow: none !important;
        outline: none !important;
        min-height: 58px !important;
        box-sizing: border-box !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
        margin: 0 !important;
    }

    /* ============================================
       PLACEHOLDERS - TODOS LOS NAVEGADORES
    ============================================ */
    .contact-section input::placeholder,
    .contact-section textarea::placeholder {
        color: #73fbd3 !important;
        opacity: 1 !important;
        font-family: 'Nunito', sans-serif !important;
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .contact-section input::-webkit-input-placeholder,
    .contact-section textarea::-webkit-input-placeholder {
        color: #73fbd3 !important;
        opacity: 1 !important;
    }

    .contact-section input::-moz-placeholder,
    .contact-section textarea::-moz-placeholder {
        color: #73fbd3 !important;
        opacity: 1 !important;
    }

    .contact-section input:-ms-input-placeholder,
    .contact-section textarea:-ms-input-placeholder {
        color: #73fbd3 !important;
        opacity: 1 !important;
    }

    .contact-section .ninja-forms-field::placeholder,
    .contact-section .nf-element::placeholder {
        color: #73fbd3 !important;
        opacity: 1 !important;
    }

    /* Focus */
    .contact-section input:focus,
    .contact-section textarea:focus,
    .contact-section select:focus {
        border-color: #73fbd3 !important;
        background: rgba(115, 251, 211, 0.2) !important;
        box-shadow: 0 0 0 4px rgba(115, 251, 211, 0.12) !important;
    }

    /* Textarea */
    .contact-section textarea,
    .contact-section textarea.ninja-forms-field,
    .contact-section textarea.nf-element {
        min-height: 160px !important;
        resize: vertical !important;
        line-height: 1.6 !important;
    }

    /* ============================================
       CHECKBOX
    ============================================ */
    .contact-section .checkbox-container .nf-field-element,
    .contact-section .listcheckbox-container .nf-field-element,
    .contact-section .checkbox-wrap .nf-field-element,
    .contact-section .list-checkbox-wrap,
    .contact-section .nf-field-element.checkbox-element {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 14px !important;
        flex-wrap: nowrap !important;
    }

    .contact-section input[type="checkbox"] {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        min-height: 24px !important;
        max-width: 24px !important;
        max-height: 24px !important;
        padding: 0 !important;
        margin: 2px 0 0 0 !important;
        border: 2px solid #73fbd3 !important;
        border-radius: 6px 0 6px 0 !important;
        background: rgba(115, 251, 211, 0.12) !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
        position: relative !important;
        transition: all 0.2s ease !important;
    }

    .contact-section input[type="checkbox"]:hover {
        background: rgba(115, 251, 211, 0.25) !important;
    }

    .contact-section input[type="checkbox"]:checked {
        background: #73fbd3 !important;
        border-color: #73fbd3 !important;
    }

    .contact-section input[type="checkbox"]:checked::after {
        content: "✓" !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        color: #153b50 !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
    }

    /* Label del checkbox visible */
    .contact-section .checkbox-container .nf-field-label,
    .contact-section .checkbox-container label,
    .contact-section .listcheckbox-container .nf-field-label,
    .contact-section .listcheckbox-container label,
    .contact-section .checkbox-wrap label,
    .contact-section .list-checkbox-wrap label,
    .contact-section .nf-field-element > label,
    .contact-section input[type="checkbox"] + label,
    .contact-section input[type="checkbox"] ~ label {
        display: inline-block !important;
        visibility: visible !important;
        height: auto !important;
        overflow: visible !important;
        color: #73fbd3 !important;
        font-family: 'Nunito', sans-serif !important;
        font-size: 16px !important;
        line-height: 1.5 !important;
        cursor: pointer !important;
        flex: 1 !important;
    }

    .contact-section .checkbox-container a,
    .contact-section .listcheckbox-container a,
    .contact-section .nf-field-element a {
        color: #73fbd3 !important;
        text-decoration: underline !important;
    }

    /* ============================================
       BOTÓN SUBMIT
    ============================================ */
    .contact-section input[type="submit"],
    .contact-section input[type="button"],
    .contact-section button[type="submit"],
    .contact-section .ninja-forms-field[type="submit"],
    .contact-section .nf-element[type="submit"],
    .contact-section .submit-container input,
    .contact-section .submit-wrap input {
        display: inline-block !important;
        background: #73fbd3 !important;
        color: #153b50 !important;
        font-family: 'Krub', sans-serif !important;
        font-weight: 700 !important;
        font-size: 16px !important;
        padding: 16px 50px !important;
        border-radius: 20px 0 20px 0 !important;
        border: none !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        width: auto !important;
        min-width: 160px !important;
        min-height: auto !important;
        height: auto !important;
        box-shadow: none !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
    }

    .contact-section input[type="submit"]:hover,
    .contact-section button[type="submit"]:hover {
        background: #5ee8c0 !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(115, 251, 211, 0.35) !important;
    }

    /* ============================================
       OCULTAR ELEMENTOS INNECESARIOS
    ============================================ */
    .contact-section .nf-form-fields-required,
    .contact-section .nf-field-description,
    .contact-section .nf-form-hp,
    .contact-section .nf-form-title,
    .contact-section .nf-before-form-content,
    .contact-section .nf-after-form-content,
    .contact-section .nf-error-required-error {
        display: none !important;
    }

    /* ============================================
       MENSAJES ERROR Y ÉXITO
    ============================================ */
    .contact-section .nf-error-msg,
    .contact-section .nf-error {
        color: #ff3cc7 !important;
        font-family: 'Nunito', sans-serif !important;
        font-size: 16px !important;
        margin-top: 8px !important;
    }

    .contact-section .nf-field-container.nf-error input,
    .contact-section .nf-field-container.nf-error textarea {
        border-color: #ff3cc7 !important;
    }

    .contact-section .nf-response-msg,
    .contact-section .nf-success-msg {
        color: #73fbd3 !important;
        font-family: 'Nunito', sans-serif !important;
        font-size: 18px !important;
        text-align: center !important;
        padding: 35px !important;
        background: rgba(115, 251, 211, 0.12) !important;
        border-radius: 20px 0 20px 0 !important;
        border: 2px solid rgba(115, 251, 211, 0.3) !important;
    }

    /* ============================================
       RESPONSIVE - MÓVIL ANCHO (88%)
    ============================================ */
    @media (max-width: 1100px) {
        .ventajas-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
        }

        .como-activo-grid {
            gap: 30px;
        }
    }

    @media (max-width: 900px) {
        .page-header {
            padding: 40px 6% 25px;
        }

        .page-header .seo-title {
            font-size: 0.7rem !important;
        }

        .hero-wrapper {
            padding: 20px 6%;
        }

        .hero {
            grid-template-columns: 1fr;
            border-radius: 30px 0 30px 0;
        }

        .hero-image {
            border-radius: 30px 0 0 0;
        }

        .hero-image img {
            min-height: 300px;
        }

        .hero-content {
            padding: 40px 6%;
            border-radius: 0 0 30px 0;
        }

        .ventajas-wrapper {
            padding: 50px 6%;
        }

        .ventajas-container {
            padding: 40px 6%;
            border-radius: 30px 0 30px 0;
            width: 94%;
            margin: 0 auto;
        }

        .ventajas-grid {
            grid-template-columns: 1fr;
            gap: 14px;
        }

        .ventaja-item {
            border-radius: 20px 0 20px 0;
        }

        .como-activo-wrapper {
            padding: 60px 6% 80px;
        }

        .como-activo-grid {
            grid-template-columns: 1fr;
            gap: 60px;
            width: 88%;
            padding-top: 60px;
        }

        .activo-card {
            border-radius: 25px 0 25px 0;
        }

        .activo-icon {
            width: 85px;
            height: 85px;
            top: -60px;
        }

        /* Ninja Forms - 1 columna en móvil */
        .contact-section nf-fields-wrap,
        .contact-section .nf-fields-wrap {
            grid-template-columns: 1fr !important;
        }

        .contact-section nf-field,
        .contact-section .nf-field-container {
            grid-column: 1 / -1 !important;
        }

        .contact-container {
            width: 88%;
        }
    }

    @media (max-width: 768px) {
        

        

        
    }

    @media (max-width: 480px) {
        

        .page-header .visual-title {
            font-size: 28px;
        }

        .page-header .seo-title {
            font-size: 0.65rem !important;
        }

        .page-header .subtitle {
            font-size: 15px;
        }

        .hero-content h2 {
            font-size: 24px;
        }

        .ventajas-header h2 {
            font-size: 24px;
        }

        .ventajas-subtitle {
            font-size: 20px;
        }

        .ventaja-item {
            padding: 14px 16px;
        }

        .ventaja-icon {
            width: 28px;
            height: 28px;
        }

        .ventaja-icon::after {
            font-size: 18px;
        }

        .ventaja-text {
            font-size: 13px;
        }

        .como-activo-header h2 {
            font-size: 26px;
        }

        .como-activo-grid {
            gap: 55px;
        }

        .activo-icon {
            width: 75px;
            height: 75px;
            top: -55px;
        }

        .activo-card {
            padding: 50px 28px 30px;
        }

        .btn-cta {
            font-size: 13px;
            padding: 16px 40px;
        }

        .contact-section {
            padding: 60px 6%;
        }

        .contact-section input[type="submit"],
        .contact-section button[type="submit"] {
            width: 100% !important;
            padding: 16px 35px !important;
        }

        .contact-section input[type="text"],
        .contact-section input[type="email"],
        .contact-section input[type="tel"],
        .contact-section textarea {
            padding: 16px 18px !important;
            min-height: 52px !important;
        }
    }
