.contact-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.05;
    margin-top: 1.2rem;
    margin-bottom: 1rem;
    text-align: left;
}

.intro {
    font-size: 1.15rem;
    color: #64656e;
    margin-bottom: 2.5rem;
    max-width: 520px;
    text-align: left;
}

.contact-hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 2.75rem;
    /* Fondo blanco uniforme */
    background: #ffffff;
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../img/imagen-mujer-contacto.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    mask-image:
        linear-gradient(to left, black 30%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, transparent 15%, black 30%, black 60%, transparent 100%);
    -webkit-mask-image:
        linear-gradient(to left, black 30%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, transparent 15%, black 30%, black 60%, transparent 100%);
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
    width: 45%;
    right: -100px;
    left: auto;
    pointer-events: none;
    z-index: 0;
    animation: fade-in-hero 2s ease-out forwards;
}

@media (max-width: 1024px) {
    .contact-hero::before {
        width: 40%;
        mask-image:
            linear-gradient(to left, black 25%, transparent 100%),
            linear-gradient(to bottom, transparent 0%, transparent 15%, black 30%, black 60%, transparent 100%);
        -webkit-mask-image:
            linear-gradient(to left, black 25%, transparent 100%),
            linear-gradient(to bottom, transparent 0%, transparent 15%, black 30%, black 60%, transparent 100%);
    }
}

.contact-hero-shape {
    /* Oculto para fondo blanco uniforme */
    display: none;
}

.contact-hero-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.25rem;
    align-items: start;
    grid-template-columns: 1fr;
    justify-items: center;
}

.contact-hero-copy {
    max-width: 720px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.contact-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b20c05;
    background: rgba(178, 12, 5, 0.12);
    box-shadow: inset 0 0 0 1px rgba(178, 12, 5, 0.18);
}

.contact-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact-highlights li {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 24px rgba(19, 17, 18, 0.08);
    font-weight: 600;
    color: #2c2d32;
    backdrop-filter: blur(6px);
}

/* Centrado del contenido principal del hero */
.contact-hero .contact-title,
.contact-hero .intro {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Ocultar highlights del hero */
.contact-highlights {
    display: none !important;
}

.contact-highlights li::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b20c05, #d32721);
    box-shadow: 0 0 0 3px rgba(211, 39, 33, 0.18);
}

.contact-map-card {
    position: relative;
    border-radius: 30px;
    padding: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 25px 60px rgba(19, 17, 18, 0.18);
    overflow: hidden;
    width: 100%;
    max-width: 1000px;
    margin: 0.5rem auto;
}

.contact-map-glow {
    position: absolute;
    inset: auto auto -80px -80px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(30px);
    pointer-events: none;
}

.contact-section {
    position: relative;
    /* Fondo blanco y sin imagen */
    background: #ffffff !important;
    background-image: none !important;
    padding-top: 4.5rem;
    padding-bottom: 5rem;
    /* Anula altura fija heredada de skin.css */
    height: auto !important;
    min-height: 0;
    background-attachment: scroll;
}

.contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Sin overlays para mantener blanco */
    background: none;
    pointer-events: none;
}

.contact-section-wrapper {
    position: relative;
    z-index: 1;
}

/* Custom styles for the form section */
.section-form {
    padding: 6rem 1rem 4rem;
    /* Visible por defecto para evitar contenido oculto */
    opacity: 1;
    transform: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.section-form.show {
    opacity: 1;
    transform: translateY(0);
}

.section-form iframe {
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.contact-map-card iframe {
    display: block;
    width: 100%;
    height: 400px;
    border-radius: 22px;
    box-shadow: 0 15px 30px rgba(19, 17, 18, 0.12);
}

.section-form .container {
    max-width: 1280px;
    /* max-w-screen-xl */
    margin: 0 auto;
    padding-left: 1.5rem;
    /* sm:px-6 */
    padding-right: 1.5rem;
    /* sm:px-6 */
}

.section-form .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    /* gap-x-16 gap-y-8 */
    /* Que los items no se estiren en altura */
    align-items: start;
}

@media (min-width: 1024px) {
    .section-form .form-grid {
        grid-template-columns: 2fr 3fr;
        /* lg:grid-cols-5 */
    }

    .section-form .left-column {
        padding-top: 3rem;
        /* lg:py-12 */
        padding-bottom: 3rem;
        /* lg:py-12 */
    }

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

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

.form-description {
    max-width: 40rem;
    /* max-w-xl */
    font-size: 1.125rem;
    /* text-lg */
}

.contact-card {
    padding: 2.5rem;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 30px 60px rgba(19, 17, 18, 0.12);
    border: 1px solid #e5e7eb;
    min-height: 812px;
}

.contact-card-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-card-header h2 {
    font-size: 2rem;
    margin: 0;
    color: #1d1e22;
    line-height: 1.15;
}

.contact-card-header p {
    margin: 0;
    color: #64656e;
    line-height: 1.6;
}

.gradient-container {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.contact-card .gradient-container {
    display: none;
}

.gradient-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, #13111284, #d3272185, transparent);
    opacity: 0.65;
    transform: translateY(-50%);
}


.contact-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    /* Alinea los elementos al inicio verticalmente */
    gap: 10px;
    /* Espaciado entre el icono y el contenido */
}

.contact-card .contact-item {
    padding: 0.8rem 1rem;
    border-radius: 14px;
    background: transparent;
    box-shadow: none;
    border: 1px solid #e5e7eb;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    gap: 1rem;
}

.contact-card .contact-item:hover {
    background-color: #f8fafc;
    border-color: #d1d5db;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    line-height: 1.5;
    /* Ajusta el espacio entre líneas si es necesario */
}

.contact-info p {
    margin-bottom: 10px;
}

/* Estilo de los íconos */
.contact-item .icon {
    width: 32px;
    height: 32px;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0.5rem;
    background: linear-gradient(135deg, rgba(178, 12, 5, 0.18), rgba(19, 17, 18, 0.08));
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(19, 17, 18, 0.12);
}

/* Información de contacto */
.contact-info {
    font-size: 16px;
    color: #333;
}

/* Enlaces de email */
.contact-info a:not(.contact-info-tel) {
    color: #b20c05;
    /* Color del enlace */
    text-decoration: none;
}

.contact-info-tel {
    color: #131112;
    font-weight: bold;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Dirección y texto plano */
address.contact-info {
    font-style: normal;
}

/* Espaciado adicional en los títulos */
.contact-info strong {
    display: block;
    margin-bottom: 5px;
}

/* Formateo de los ítems de contacto en pantallas pequeñas */
@media (max-width: 768px) {
    .contact-item {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }

    .contact-item .icon {
        margin-bottom: 0;
        padding: 10px;
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        background: linear-gradient(135deg, rgba(178, 12, 5, 0.18), rgba(19, 17, 18, 0.08));
        border-radius: 12px;
        box-shadow: 0 6px 16px rgba(19, 17, 18, 0.12);
    }
}

.contact-details {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Dropdown departamentos a lo ancho */
.contact-item.departments,
.contact-item.departments .contact-info {
    width: 100%;
}

.form-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 28px;
    box-shadow: 0 25px 55px rgba(19, 17, 18, 0.12);
    border: 1px solid #e5e7eb;
    align-self: start;
}

.form-card-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.form-card-header h2 {
    margin: 0;
    font-size: 2rem;
    color: #1d1e22;
}

.form-card-header p {
    margin: 0;
    color: #64656e;
    line-height: 1.6;
}

.form-card .form-input,
.form-card .form-textarea {
    width: 100%;
    /* w-full */
    padding: 0.75rem;
    /* p-3 */
    border: 1px solid #e5e7eb;
    /* border-gray-200 */
    border-radius: 0.5rem;
    /* rounded-lg */
    font-size: 0.875rem;
    /* text-sm */
    margin-bottom: 1rem;
    /* Añade separación entre los inputs */
    background-color: rgba(255, 255, 255, 0.9);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-card .form-textarea:focus,
.form-card .form-input:focus,
.form-card input:focus,
.form-card textarea:focus {
    outline: none;
    border-color: rgba(178, 12, 5, 0.6);
    box-shadow: 0 0 0 3px rgba(178, 12, 5, 0.18);
}

.form-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.form-meta-item {
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(178, 12, 5, 0.12);
    color: #7a1a18;
    font-size: 0.85rem;
    font-weight: 600;
}

.contact-support-note {
    margin-top: 1.75rem;
    font-size: 0.95rem;
    color: #4f5059;
    padding-left: 1.75rem;
    position: relative;
}

.contact-support-note::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    position: absolute;
    left: 0.35rem;
    top: 0.5rem;
    background: linear-gradient(135deg, #0bbf72, #3ddc97);
    box-shadow: 0 0 0 5px rgba(11, 191, 114, 0.18);
}

@media (max-width: 768px) {
    .contact-hero {
        padding-top: 4.5rem;
    }

    .contact-hero::before {
        display: none;
    }

    .contact-hero-wrapper {
        gap: 2.5rem;
    }

    .contact-title {
        font-size: 44px;
    }

    .intro {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
        max-width: 100%;
    }

    .contact-highlights {
        grid-template-columns: 1fr;
    }

    .contact-map-card {
        padding: 0;
        border-radius: 24px;
    }

    .contact-map-card iframe {
        height: 320px;
        border-radius: 18px;
    }

    .contact-card,
    .form-card {
        padding: 2rem 1.6rem;
        border-radius: 22px;
    }

    .form-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

.form-grid-sm {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    /* gap-4 */
}

@media (min-width: 640px) {
    .form-grid-sm {
        grid-template-columns: 1fr 1fr;
        /* sm:grid-cols-2 */
    }
}

.form-radio-group {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    /* text-center */
    gap: 1rem;
    /* gap-4 */
}

@media (min-width: 640px) {
    .form-radio-group {
        grid-template-columns: 1fr 1fr 1fr;
        /* sm:grid-cols-3 */
    }
}

.form-radio-label {
    display: block;
    cursor: pointer;
    padding: 0.75rem;
    /* p-3 */
    border: 1px solid #e5e7eb;
    /* border-gray-200 */
    border-radius: 0.5rem;
    /* rounded-lg */
    color: #4b5563;
    /* text-gray-600 */
    transition: all 0.2s ease-in-out;
}

.form-radio-label:hover {
    border-color: #000;
    /* hover:border-black */
}

.form-radio-label:has(:checked) {
    border-color: #000;
    /* checked:border-black */
    background-color: #000;
    /* checked:bg-black */
    color: #fff;
    /* checked:text-white */
}

.button-send {
    font-family: inherit;
    font-size: 20px;
    background: #b20c05;
    color: white;
    padding: 0.7em 1em;
    padding-left: 0.9em;
    display: flex;
    align-items: center;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
    cursor: pointer;
}

.button-send span {
    display: block;
    margin-left: 0.3em;
    transition: all 0.3s ease-in-out;
}

.button-send svg {
    display: block;
    transform-origin: center center;
    transition: transform 0.3s ease-in-out;
}

.button-send:hover .svg-wrapper {
    animation: fly-1 0.6s ease-in-out infinite alternate;
}

.button-send:hover svg {
    transform: translateX(1.2em) rotate(45deg) scale(1.1);
}

.button-send:hover span {
    transform: translateX(5em);
}

.button-send:active {
    transform: scale(0.95);
}

@keyframes fly-1 {
    from {
        transform: translateY(0.1em);
    }

    to {
        transform: translateY(-0.1em);
    }
}

/* Animación desde la izquierda */
@keyframes animate-from-left {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-from-left {
    animation: animate-from-left 2.5s ease-out forwards;
    /* Duración de 2.5 segundos */
}

/* Animación desde la derecha */
@keyframes animate-from-right {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-from-right {
    animation: animate-from-right 2.5s ease-out forwards;
    /* Duración de 2.5 segundos */
}

/* --- Mejora mobile para Contacto --- */
@media (max-width: 768px) {

    /* Contenedor general */
    .section-form {
        padding: 4rem 1rem 3rem;
    }

    .site-wrapper {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Título y descripción */
    .contact-title {
        font-size: 2rem;
        margin-top: 0.5rem;
    }

    .intro {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    /* Mapa */
    .section-form iframe {
        height: 340px !important;
        border-radius: 0.75rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    /* Grid formulario/infos */
    .section-form .form-grid {
        gap: 1.25rem;
    }

    /* Detalles de contacto */
    .contact-details {
        margin-top: 0.5rem;
    }

    .contact-item {
        gap: 12px;
    }

    .contact-item .icon {
        width: 22px;
        height: 22px;
    }

    .contact-info {
        font-size: 15px;
        line-height: 1.55;
    }

    .gradient-line {
        height: 1px;
        opacity: 0.5;
    }

    /* Tarjeta de formulario */
    .form-card {
        padding: 1.25rem;
        border-radius: 0.75rem;
        box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
    }

    .form-card .form-textarea,
    .form-card .form-input {
        font-size: 1rem;
        padding: 0.85rem;
    }

    /* Botón enviar full-width en mobile */
    .button-send {
        width: 100%;
        justify-content: center;
        gap: 8px;
        padding: 0.9rem 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section-form {
        padding: 6rem 0.75rem 3rem;
    }

    .contact-hero::before {
        width: 100%;
        height: 50%;
        top: auto;
        bottom: 0;
        right: 0;
        background-position: center bottom;
        mask-image: linear-gradient(to top, black 30%, transparent 100%);
        -webkit-mask-image: linear-gradient(to top, black 30%, transparent 100%);
    }

    .contact-title {
        font-size: 44px;
    }

    .intro {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .section-form iframe {
        height: 300px !important;
        border-radius: 0.6rem;
    }

    .form-card {
        padding: 1rem;
        border-radius: 0.6rem;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
    }

    .form-card .form-textarea,
    .form-card .form-input {
        font-size: 0.95rem;
        padding: 0.8rem;
    }

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

    .contact-info {
        font-size: 14px;
    }
}

/* Segundo bloque .section-form (después del primero): padding-top distinto */
.section-form+.section-form {
    padding-top: 3rem;
}

@media (max-width: 768px) {
    .section-form+.section-form {
        padding-top: 3rem;
    }
}

@media (max-width: 480px) {
    .section-form+.section-form {
        padding-top: 3rem;
    }
}

/* Dropdowns de departamentos (sin JS) */
.contact-item.departments .icon {
    margin-top: 0;
}

.contact-item.departments .dept {
    margin: 0.35rem 0;
    margin-top: -2px; /* alinear con el icono */
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    width: 100%;
}

.contact-item.departments .dept summary {
    list-style: none;
    cursor: pointer;
    padding: 0.75rem 0.9rem;
    font-weight: 600;
    color: #131112;
    margin-top: 0;
}

.contact-item.departments .dept summary::-webkit-details-marker {
    display: none;
}

.contact-item.departments .dept[open] summary {
    background: #f8f8f8;
}

.contact-item.departments .dept-content {
    padding: 0 0.9rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.contact-item.departments .dept:not([open]) .dept-content {
    padding-top: 0;
    padding-bottom: 0;
}

.contact-item.departments .dept[open] .dept-content {
    max-height: none;
    padding-top: 0.5rem;
    padding-bottom: 0.75rem;
}

.contact-item.departments .dept-content p {
    margin: 0 0 0.5rem;
}

.contact-item.departments .dept-content p:last-child {
    margin-bottom: 0;
}

/* Indicador + / - del dropdown */
/* Burbuja + barra horizontal (−) */
.contact-item.departments .dept summary {
    position: relative;
    padding-right: 42px; /* espacio para el icono */
}

.contact-item.departments .dept summary::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 12px;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    background: #fff;
    /* Dibuja la barra horizontal centrada */
    background-image: linear-gradient(#111827, #111827);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 2px;
    transition: background-color .2s ease, transform .2s ease, opacity .2s ease;
}

/* Barra vertical (para el +), animable */
.contact-item.departments .dept summary::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 23px; /* centrado dentro del círculo (22px) */
    width: 2px;
    height: 12px;
    background: #111827;
    transform: translateY(-50%);
    transition: transform .2s ease, opacity .2s ease;
}

.contact-item.departments .dept[open] summary::after {
    background-color: #f1f5f9;
}

.contact-item.departments .dept[open] summary::before {
    opacity: 0;
    transform: translateY(-50%) scaleY(0.6);
}

@media (max-width: 768px) {

    /* Items en una sola fila con el icono */
    .contact-item {
        flex-direction: row;
        align-items: center;
    }

    .contact-item .icon {
        flex: 0 0 22px;
    }

    .contact-item .contact-info {
        flex: 1 1 auto;
    }

    /* Ajustes para departamentos */
    .contact-item.departments {
        align-items: flex-start;
    }
}

@media (min-width: 1024px) {
    .contact-item.departments .icon { margin-top: 0; }
    .contact-item.departments .dept {
        margin: 0.35rem 0;
        margin-top: -2px; /* alinear con el icono */
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        background: #fff;
    }
    .contact-item.departments .dept summary {
        padding: 0.75rem 0.9rem;
        cursor: pointer;
        color: #131112;
    }
    .contact-item.departments .dept summary::after { display: inline-grid; }
    .contact-item.departments .dept-content {
        padding: 0 0.9rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    .contact-item.departments .dept[open] .dept-content {
        max-height: 999px;
        padding-top: 0.5rem;
        padding-bottom: 0.75rem;
    }
}

.modal.hidden {
    display: none;
}

#successModal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#successModal:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

#successModal .modal-content {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

#successModal:not(.hidden) .modal-content {
    transform: translateY(0);
}


#successModal .close-button {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    font-size: 1.5rem;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
    transition: color 0.2s ease, transform 0.2s ease;
}

#successModal .close-button:hover {
    color: #333;
    transform: scale(1.1);
}

#successModal .modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2d3748; /* Un gris oscuro */
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

#successModal .modal-text {
    color: #4a5568; /* Un gris más suave */
    margin-bottom: 1.5rem;
}


/* --- Barra de Progreso --- */
#successModal .progress-bar {
    height: 5px;
    width: 100%;
    background: #e2e8f0; /* Gris claro */
    border-radius: 5px;
    overflow: hidden;
}

#successModal .progress-fill {
    height: 100%;
    background-color: #48bb78; /* Verde éxito */
    width: 100%;
    /* La animación se aplicará desde JS */
}

/* --- Ícono de Éxito y Animaciones --- */
.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #48bb78;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #fff;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #48bb78;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}

@keyframes scale {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.1, 1.1, 1); }
}

@keyframes fill {
    100% { box-shadow: inset 0px 0px 0px 40px #48bb78; }
}

/* Animación para la barra de progreso */
@keyframes progressAnimation {
    from { width: 100%; }
    to { width: 0%; }
}
/* Hero Image Fade In Animation */
@keyframes fade-in-hero {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
