.custom-modal-overlay {
        visibility: hidden;
        opacity: 0;
        position: fixed;
        z-index: 999999;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        padding: 20px;
        box-sizing: border-box;
    }

    .custom-modal-overlay.active {
        visibility: visible;
        opacity: 1;
    }

    .custom-modal-content {
        position: relative;
        width: 100%;
        max-width: 650px;
        max-height: 90vh;
        overflow-y: auto;
        border-radius: 12px;
        scrollbar-width: none;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        transform: translateY(20px);
        transition: transform 0.3s ease;
    }

    .custom-modal-overlay.active .custom-modal-content {
        transform: translateY(0);
    }

    .custom-modal-content::-webkit-scrollbar {
        display: none;
    }

    .custom-modal-close {
        position: absolute;
        top: 15px;
        right: 25px;
        font-size: 28px;
        font-weight: bold;
        color: #888;
        cursor: pointer;
        z-index: 100000;
        transition: color 0.2s;
        line-height: 1;
    }

    .custom-modal-close:hover {
        color: #e3342f;
    }

    #pricing-section-wrapper {
        --bg-color: #f3f4f6;
        --card-bg: #ffffff;
        --text-main: #1f2937;
        --text-muted: #4b5563;
        --accent-purple: #0078B6;
        --label-bg-purple: #A7E1FF;
        --accent-blue: #004a8e;
        --label-bg-blue: #d0e3f7;
        --border-color: #e5e7eb;
        font-family: 'Inter', sans-serif;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 100px 0 40px;
        box-sizing: border-box;
    }

    #pricing-section-wrapper *,
    #registrationModal * {
        box-sizing: border-box;
    }

    #pricing-section-wrapper .pricing-container {
        display: flex;
        gap: 28px;
        max-width: 900px;
        width: 100%;
        justify-content: center;
        align-items: stretch;
        box-sizing: border-box;
    }

    #pricing-section-wrapper .pricing-card {
        background: var(--card-bg);
        border-radius: 32px;
        padding: 40px 32px 32px;
        width: 100%;
        max-width: 380px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
        position: relative;
        box-sizing: border-box;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: 3px solid transparent;
        height: 670px;
        overflow: visible;
    }

    #pricing-section-wrapper .top-label {
        position: absolute;
        top: 0;
        left: -3px;
        right: -3px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 28px 28px 0 0;
        font-size: 0.85rem;
        font-weight: 700;
        opacity: 0;
        z-index: 1;
        pointer-events: none;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    #pricing-section-wrapper .pricing-card.core .top-label {
        background-color: var(--label-bg-purple);
        color: var(--accent-purple);
    }

    #pricing-section-wrapper .pricing-card.core .card-icon {
        color: #0078B6;
    }

    #pricing-section-wrapper .pricing-card.advanced .top-label {
        background-color: var(--label-bg-blue);
        color: var(--accent-blue);
    }

    #pricing-section-wrapper .pricing-card.advanced .card-icon {
        color: #004a8e;
    }

    #pricing-section-wrapper .pricing-card.show-effects {
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    #pricing-section-wrapper .pricing-card.core.show-effects {
        border: 3px solid var(--label-bg-purple);
    }

    #pricing-section-wrapper .pricing-card.advanced.show-effects {
        border: 3px solid var(--label-bg-blue);
    }

    #pricing-section-wrapper .pricing-card.show-effects .top-label {
        opacity: 1;
        top: -51px;
        height: 52px;
        border: 3px solid transparent;
        border-bottom: none;
    }

    #pricing-section-wrapper .pricing-card.core.show-effects .top-label {
        border-color: var(--label-bg-purple);
    }

    #pricing-section-wrapper .pricing-card.advanced.show-effects .top-label {
        border-color: var(--label-bg-blue);
    }

    #pricing-section-wrapper .card-header h3 {
        margin: 0;
        font-size: 1.6rem;
        font-weight: 700;
        color: var(--text-main);
        display: flex;
        align-items: center;
        gap: 10px;
    }

    #pricing-section-wrapper .card-header p {
        color: var(--text-muted);
        font-size: 0.95rem;
        line-height: 1.5;
        margin: 16px 0;
        min-height: 45px;
    }

    #pricing-section-wrapper .billing-toggle-container {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
        margin-bottom: 20px;
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    #pricing-section-wrapper .toggle-label {
        font-size: 0.65rem;
        font-weight: 600;
        color: var(--text-muted);
        cursor: pointer;
        transition: color 0.3s ease;
    }

    #pricing-section-wrapper .toggle-label.active {
        color: var(--text-main);
    }

    #pricing-section-wrapper .billing-switch {
        position: relative;
        display: inline-block;
        width: 36px;
        height: 20px;
        flex-shrink: 0;
    }

    #pricing-section-wrapper .billing-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    #pricing-section-wrapper .billing-slider {
        position: absolute;
        cursor: pointer;
        inset: 0;
        background-color: #cbd5e1;
        transition: 0.4s;
        border-radius: 30px;
    }

    #pricing-section-wrapper .billing-slider::before {
        position: absolute;
        content: '';
        height: 14px;
        width: 14px;
        left: 3px;
        bottom: 3px;
        background-color: #ffffff;
        transition: 0.4s;
        border-radius: 50%;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    #pricing-section-wrapper input:checked + .billing-slider {
        background-color: var(--accent-blue);
    }

    #pricing-section-wrapper .pricing-card.core input:checked + .billing-slider {
        background-color: var(--accent-purple);
    }

    #pricing-section-wrapper input:checked + .billing-slider::before {
        transform: translateX(16px);
    }

    #pricing-section-wrapper .card-price {
        font-size: 2.8rem;
        font-weight: 700;
        color: var(--text-main);
        display: flex;
        align-items: baseline;
        margin-bottom: 28px;
        padding-bottom: 24px;
        border-bottom: 1px solid var(--border-color);
        transition: opacity 0.3s ease;
        flex-wrap: wrap;
    }

    #pricing-section-wrapper .card-price span {
        font-size: 0.95rem;
        color: var(--text-muted);
        font-weight: 500;
        margin-left: 6px;
    }

    #pricing-section-wrapper .card-price i {
        font-size: 0.85rem;
        color: var(--text-muted);
        margin-left: 8px;
        cursor: pointer;
    }

    #pricing-section-wrapper .btn-container {
        padding: 0 14px;
        margin-bottom: 32px;
        transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    #pricing-section-wrapper .btn-expert {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        background: transparent;
        border: 2px solid var(--border-color);
        color: var(--text-main);
        padding: 16px 24px;
        border-radius: 50px;
        font-size: 1.05rem;
        font-weight: 700;
        cursor: pointer;
        box-sizing: border-box;
        transition: all 0.3s ease;
        font-family: inherit;
    }

    #pricing-section-wrapper .btn-expert .btn-icon {
        display: none;
        font-size: 0.95rem;
    }

    #pricing-section-wrapper .pricing-card.core.show-effects .btn-container,
    #pricing-section-wrapper .pricing-card.advanced.show-effects .btn-container {
        padding: 0;
    }

    #pricing-section-wrapper .pricing-card.core.show-effects .btn-expert {
        background-color: var(--accent-purple);
        border-color: var(--accent-purple);
        color: #ffffff;
    }

    #pricing-section-wrapper .pricing-card.advanced.show-effects .btn-expert {
        background-color: var(--accent-blue);
        border-color: var(--accent-blue);
        color: #ffffff;
    }

    #pricing-section-wrapper .pricing-card.show-effects .btn-expert .btn-icon {
        display: inline-block;
    }

    #pricing-section-wrapper .features-title {
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--text-main);
        margin-bottom: 18px;
    }

    #pricing-section-wrapper .features-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    #pricing-section-wrapper .features-list li {
        display: flex;
        align-items: center;
        gap: 12px;
        color: var(--text-muted);
        font-size: 0.95rem;
        margin-bottom: 16px;
    }

    #pricing-section-wrapper .features-list li i {
        width: 18px;
        text-align: center;
        font-size: 1.05rem;
    }

    #registrationModal #formulario-contenedor {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        background: #ffffff;
        border-radius: 12px;
        padding: 30px 24px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        font-family: Arial, sans-serif;
    }

    #registrationModal .form-step {
        display: none;
    }

    #registrationModal .form-step.active {
        display: block;
        animation: hkaFadeIn 0.4s;
    }

    @keyframes hkaFadeIn {
        from { opacity: 0; transform: translateY(5px); }
        to { opacity: 1; transform: translateY(0); }
    }

    #registrationModal .form-group {
        margin-bottom: 15px;
    }

    #registrationModal .form-group label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
        font-size: 14px;
        color: #333333;
    }

    #registrationModal .form-group input[type='text'],
    #registrationModal .form-group input[type='email'],
    #registrationModal .form-group input[type='tel'],
    #registrationModal .form-group select,
    #registrationModal .form-group input[type='file'] {
        width: 100%;
        padding: 10px;
        border: 1px solid #cccccc;
        border-radius: 6px;
        font-size: 14px;
        box-sizing: border-box;
        background: #ffffff;
        color: #333333;
    }

    #registrationModal .form-group input[type='file'] {
        padding: 7px;
        background: #f9f9f9;
    }

    #registrationModal .input-group {
        display: flex;
        gap: 10px;
    }

    #registrationModal .input-group select {
        width: 70px;
        flex-shrink: 0;
    }

    #registrationModal .input-group input {
        flex-grow: 1;
    }

    #registrationModal .btn-blue {
        background-color: #0056b3;
        color: #ffffff;
        border: none;
        padding: 12px 20px;
        border-radius: 6px;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
        width: 100%;
        margin-top: 10px;
    }

    #registrationModal .btn-blue:hover {
        background-color: #004494;
    }

    #registrationModal .btn-back {
        background-color: #f1f1f1;
        color: #333333;
        border: none;
        padding: 12px 20px;
        border-radius: 6px;
        font-size: 14px;
        cursor: pointer;
        width: 100%;
        margin-top: 10px;
    }

    #registrationModal .btn-back:hover {
        background-color: #e2e2e2;
    }

    #registrationModal .radio-group {
        display: flex;
        gap: 15px;
        margin-bottom: 15px;
    }

    #registrationModal .radio-group label {
        font-weight: normal;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    #registrationModal .conditional-fields {
        display: none;
        background: #f8f9fa;
        padding: 15px;
        border-radius: 6px;
        border: 1px solid #e9ecef;
        margin-bottom: 15px;
    }

    #registrationModal .conditional-fields.active {
        display: block;
    }

    @media (max-width: 600px) {
        #pricing-section-wrapper {
            padding: 45px 0 30px;
        }

        #pricing-section-wrapper .pricing-container {
            flex-direction: column;
            align-items: center;
            gap: 78px;
            padding: 0 16px;
        }

        #pricing-section-wrapper .pricing-card {
            max-width: 100%;
            height: 500px;
            min-height: 500px;
            padding: 35px 20px 28px;
        }

        #pricing-section-wrapper .card-header h3 {
            font-size: calc(1.4rem - 2px);
        }

        #pricing-section-wrapper .card-header p {
            font-size: calc(0.88rem - 2px);
            line-height: 1.4;
            margin: 12px 0;
            min-height: auto;
        }

        #pricing-section-wrapper .card-price {
            font-size: calc(2.15rem - 2px);
            margin-bottom: 22px;
            padding-bottom: 18px;
        }

        #pricing-section-wrapper .card-price span {
            font-size: calc(0.85rem - 1px);
        }

        #pricing-section-wrapper .btn-expert {
            padding: 14px 20px;
            font-size: calc(0.95rem - 1px);
        }

        #pricing-section-wrapper .features-title {
            font-size: calc(0.88rem - 1px);
            margin-bottom: 14px;
        }

        #pricing-section-wrapper .features-list li {
            font-size: calc(0.85rem - 1px);
            margin-bottom: 14px;
            line-height: 1.35;
        }

        #pricing-section-wrapper .toggle-label {
            font-size: 0.6rem;
        }

        .custom-modal-overlay {
            padding: 10px;
            align-items: flex-start;
            overflow-y: auto;
        }

        .custom-modal-content {
            max-height: calc(100vh - 20px);
            margin: 0 auto;
        }

        .custom-modal-close {
            top: 12px;
            right: 18px;
        }

        #registrationModal #formulario-contenedor {
            padding: 28px 18px 22px;
        }
    }

#registrationModal #hka-form-title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    font-family: sans-serif;
}

#registrationModal .hka-form-intro {
    text-align: center;
    margin: 0 0 18px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
}

#registrationModal .hka-selected-plan-summary {
    background: #f4f8ff;
    border: 1px solid #d0e3f7;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

#registrationModal .hka-selected-plan-summary p {
    margin: 5px 0;
    color: #333;
}

#registrationModal .hka-form-message {
    margin-top: 14px;
    min-height: 20px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
}

#registrationModal .hka-form-message.is-error {
    color: #b91c1c;
}

#registrationModal .hka-form-message.is-success {
    color: #15803d;
}

#registrationModal .btn-blue.is-loading {
    opacity: 0.7;
    cursor: wait;
}
