/* ========================================
    VARIABLES Y RESET (ORIGINAL)
======================================== */
:root {
    --color-primary: #f3e499;
    --color-primary-dark: #d4c276;
    --color-secondary: #061e3f;
    --color-secondary-light: #0a2d5a;
    --color-accent: #8f9bae;
    --color-text: #4a5568;
    --color-text-light: #718096;
    --color-bg-light: #f8fafc;
    --color-white: #ffffff;
    --color-success: #48bb78;
    --color-warning: #f6ad55;

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--color-text);
    font-size: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 80px 0;
    position: relative;
}

/* ========================================
    BOTONES (ORIGINAL)
======================================== */
.btn-custom {
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    transition: var(--transition);
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: none;
    letter-spacing: 0.3px;
}

.btn-primary-custom {
    background: var(--color-primary);
    color: var(--color-secondary);
    border-color: var(--color-primary);
}

.btn-primary-custom:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary-custom {
    background: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-secondary);
}

.btn-secondary-custom:hover {
    background: var(--color-secondary-light);
    border-color: var(--color-secondary-light);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-custom {
    background: transparent;
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.btn-outline-custom:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* ========================================
    HEADER TOP BAR (ORIGINAL)
======================================== */
.top-bar {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 12px 0;
    font-size: 14px;
}

.top-bar a {
    color: var(--color-white);
    margin: 0 12px;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--color-primary);
}

.top-bar i {
    color: var(--color-primary);
    margin-right: 6px;
}

/* ========================================
    HEADER PRINCIPAL - MODIFICADO PARA MULTIPAGE
======================================== */
.main-header {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100; /* REDUCIDO para que modal quede encima */
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

.logo h1 {
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    color: var(--color-secondary);
}

.logo h1 span {
    color: var(--color-primary);
}

.logo p {
    font-size: 13px;
    color: var(--color-accent);
    margin: 0;
    font-weight: 500;
}

/* ========================================
    NAVEGACIÓN DESKTOP - NUEVO
======================================== */
.navbar {
    padding: 0;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--color-secondary);
    padding: 10px 18px;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-primary);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--color-primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 30px;
}

/* ========================================
    DROPDOWN SERVICIOS - ARREGLADO
======================================== */

/* Desktop dropdown */
@media (min-width: 992px) {
    .nav-item.dropdown {
        position: relative;
    }

    .nav-item.dropdown .nav-link {
        display: flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
    }

    .nav-item.dropdown .nav-link i {
        font-size: 10px;
        transition: var(--transition);
    }

    .nav-item.dropdown:hover .nav-link i {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--color-white);
        border: none;
        border-radius: 12px;
        box-shadow: var(--shadow-md);
        padding: 12px 0;
        margin-top: 8px;
        min-width: 280px;
        display: none;
        z-index: 1050;
    }

    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        padding: 12px 20px;
        font-size: 14px;
        font-weight: 500;
        color: var(--color-secondary);
        transition: var(--transition);
        position: relative;
        display: block;
        text-decoration: none;
        background: transparent;
    }

    .dropdown-item:hover {
        background: var(--color-primary);
        color: var(--color-secondary);
        padding-left: 32px;
        text-decoration: none;
    }

    /* Flecha que aparece en hover desde la izquierda */
    .dropdown-item::before {
        content: '\f054';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        left: 12px;
        opacity: 0;
        transform: translateX(-10px);
        transition: var(--transition);
        font-size: 10px;
    }

    .dropdown-item:hover::before {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
    MOBILE MENU - NUEVO (DESDE IZQUIERDA)
======================================== */

/* Botón hamburguesa */
.navbar-toggler {
    border: none;
    padding: 8px;
    position: relative;
    z-index: 1;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none;
    width: 25px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.navbar-toggler-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--color-secondary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Animación X */
.navbar-toggler.active .navbar-toggler-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggler.active .navbar-toggler-icon span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler.active .navbar-toggler-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 30, 63, 0.85);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 50;
}

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

/* Modal desde IZQUIERDA */
.navbar-collapse {
    position: fixed;
    top: 0;
    left: -80%; /* DESDE IZQUIERDA */
    width: 100%;
    height: 100vh;
    background: var(--color-white);
    z-index: 999;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0,0,0,0.2);
    padding: 80px 30px 40px;
}

.navbar-collapse.show {
    left: 0; /* ENTRA DESDE IZQUIERDA */
}

/* Botón cerrar DENTRO del modal */
.mobile-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1000;
}

.mobile-close-btn:hover {
    background: var(--color-primary-dark);
    transform: rotate(90deg);
}

.mobile-close-btn i {
    font-size: 20px;
    color: var(--color-secondary);
}

/* Items mobile con animación stagger */
@media (max-width: 991px) {
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .navbar-nav .nav-item {
        width: 100%;
        opacity: 0;
        transform: translateX(-30px);
        animation: slideInFromLeft 0.4s forwards;
    }

    .navbar-collapse.show .nav-item:nth-child(1) { animation-delay: 0.1s; }
    .navbar-collapse.show .nav-item:nth-child(2) { animation-delay: 0.15s; }
    .navbar-collapse.show .nav-item:nth-child(3) { animation-delay: 0.2s; }
    .navbar-collapse.show .nav-item:nth-child(4) { animation-delay: 0.25s; }
    .navbar-collapse.show .nav-item:nth-child(5) { animation-delay: 0.3s; }
    .navbar-collapse.show .nav-item:nth-child(6) { animation-delay: 0.35s; }

    @keyframes slideInFromLeft {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .navbar-nav .nav-link {
        width: 100%;
        padding: 16px 0;
        border-bottom: 1px solid #e2e8f0;
        font-size: 18px;
    }

    .navbar-nav .nav-link:hover {
        padding-left: 10px;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    /* Dropdown en mobile */
    .nav-item.dropdown {
        width: 100%;
    }

    /* Dropdown padre tiene mismo estilo que otros nav-links */
    .nav-item.dropdown .nav-link {
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px 0;
        border-bottom: 1px solid #e2e8f0;
        font-size: 18px;
    }

    .nav-item.dropdown .nav-link:hover {
        padding-left: 10px;
    }

    .nav-item.dropdown .nav-link i {
        transition: var(--transition);
        font-size: 12px;
    }

    .nav-item.dropdown.show .nav-link i {
        transform: rotate(180deg);
    }

    /* Dropdown menu: sin padding cuando cerrado para evitar sombra amarilla */
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        float: none;
        width: 100%;
        margin: 0;
        border: none;
        box-shadow: none;
        background: var(--color-bg-light); /* Fondo gris claro, no amarillo */
        border-radius: 0;
        padding: 0; /* Sin padding cuando cerrado */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        display: block;
    }

    /* Cuando está abierto, agregar padding */
    .nav-item.dropdown.show .dropdown-menu {
        max-height: 500px;
        padding: 8px 0 12px 0; /* Padding solo cuando abierto */
    }

    /* Items del dropdown con estilo limpio */
    .dropdown-item {
        color: var(--color-secondary);
        font-size: 15px;
        padding: 10px 20px;
        background: transparent;
        border: none;
        transition: var(--transition);
    }

    .dropdown-item:hover {
        background: #e2e8f0; /* Gris más oscuro en hover, no amarillo */
        padding-left: 28px;
        text-decoration: none;
        color: var(--color-secondary);
    }

    /* Sin flecha en mobile */
    .dropdown-item::before {
        display: none;
    }

    /* Botón CTA en mobile */
    .btn-cta-mobile {
        margin-top: 20px;
        width: 100%;
        justify-content: center;
    }
}

/* Ocultar toggle en desktop */
@media (min-width: 992px) {
    .navbar-toggler {
        display: none;
    }

    .mobile-overlay {
        display: none;
    }

    .navbar-collapse {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
        overflow: visible;
    }

    .mobile-close-btn {
        display: none;
    }
}

/* ========================================
    HERO SECTION (ORIGINAL)
======================================== */
.hero-section {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23f3e499" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(243, 228, 153, 0.15);
    color: var(--color-primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--color-white);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-title span {
    color: var(--color-primary);
    position: relative;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    margin-top: 60px;
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.hero-stat-item {
    text-align: left;
}

.hero-stat-number {
    font-size: 2.5rem;
    color: var(--color-primary);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.hero-stat-label {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

/* ========================================
    RESTO DE SECCIONES (ORIGINAL)
======================================== */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-secondary);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-secondary);
    font-weight: 800;
    margin-bottom: 16px;
}

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

.section-description {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
}

.service-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 32px;
    color: var(--color-secondary);
}

.service-card h4 {
    font-size: 1.4rem;
    color: var(--color-secondary);
    margin-bottom: 16px;
    font-weight: 700;
}

.service-card p {
    color: var(--color-text);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
    color: var(--color-primary-dark);
}

.features-section {
    background: var(--color-bg-light);
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--color-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--color-primary);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.feature-content h5 {
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin-bottom: 8px;
    font-weight: 700;
}

.feature-content p {
    color: var(--color-text);
    margin: 0;
}

.features-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.features-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--color-white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.features-badge-number {
    font-size: 2.5rem;
    color: var(--color-primary);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.features-badge-text {
    font-size: 14px;
    color: var(--color-text);
    font-weight: 600;
}

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

.process-card {
    position: relative;
    background: var(--color-white);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    border: 2px solid #e2e8f0;
    transition: var(--transition);
}

.process-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.process-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--color-secondary);
}

.process-card h4 {
    margin-top: 20px;
    margin-bottom: 16px;
    font-size: 1.3rem;
}

.process-card p {
    margin: 0;
    color: var(--color-text);
    min-height: 160px!important;
}

.testimonial-section {
    background: var(--color-bg-light);
}

.testimonial-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 20px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    font-size: 24px;
    font-weight: 700;
}

.testimonial-info h6 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 4px;
}

.testimonial-info p {
    font-size: 14px;
    color: var(--color-text-light);
    margin: 0;
}

.cta-section {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    /* position: absolute; */
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23f3e499" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    color: var(--color-white);
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

footer {
    background: var(--color-secondary);
    color: rgba(255,255,255,0.8);
    padding-top: 60px;
}

.footer-logo h3 {
    color: var(--color-primary);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-logo p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-about {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-title {
    color: var(--color-white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 8px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(243, 228, 153, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.footer-contact-info p {
    margin: 0;
    font-size: 14px;
}

.footer-contact-info strong {
    color: var(--color-white);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(243, 228, 153, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--color-primary);
    color: var(--color-secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 48px;
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* ========================================
    RESPONSIVO (ORIGINAL)
======================================== */
@media (max-width: 991px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-section {
        padding: 80px 0;
    }

    section {
        padding: 60px 0;
    }

    .features-badge {
        bottom: 15px;
        right: 15px;
        padding: 16px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-stat-number {
        font-size: 2rem;
    }

    .btn-custom {
        padding: 12px 24px;
        font-size: 14px;
    }

    .service-card {
        padding: 30px 20px;
    }
}

.dropdown-toggle::after {
    display: none !important;
}

/* ========================================
    LOADER CONTAINER
======================================== */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #0a2d5a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* ========================================
    LOGO CONTAINER
======================================== */
.loader-logo-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 40px;
}

/* Logo con animación de pulso */
.loader-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: pulse 2s ease-in-out infinite;
}

.loader-logo img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

/* Si no hay imagen, mostrar texto del logo */
.loader-logo-text {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-secondary);
    text-align: center;
    line-height: 1.2;
}

.loader-logo-text span {
    color: var(--color-primary);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 50px rgba(243, 228, 153, 0.4);
    }
}

/* ========================================
    SPINNER CIRCULAR
======================================== */
.loader-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 240px;
    height: 240px;
    margin: -120px 0 0 -120px;
    border-radius: 50%;
}

.loader-spinner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--color-primary);
    border-right-color: var(--color-primary);
    animation: spin 1.5s linear infinite;
}

.loader-spinner::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: rgba(243, 228, 153, 0.4);
    border-right-color: rgba(243, 228, 153, 0.4);
    animation: spin 2s linear infinite reverse;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
    TEXTO Y BARRA DE PROGRESO
======================================== */
.loader-text {
    color: var(--color-white);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.loader-progress-bar {
    width: 300px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.loader-progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* ========================================
    PARTÍCULAS DECORATIVAS
======================================== */
.loader-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0;
    animation: float 4s ease-in-out infinite;
}

.particle:nth-child(1) { left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 40%; animation-delay: 0.5s; }
.particle:nth-child(3) { left: 60%; animation-delay: 1s; }
.particle:nth-child(4) { left: 80%; animation-delay: 1.5s; }
.particle:nth-child(5) { left: 30%; animation-delay: 2s; }
.particle:nth-child(6) { left: 70%; animation-delay: 2.5s; }

@keyframes float {
    0% {
        bottom: 0;
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        bottom: 100%;
        opacity: 0;
    }
}

/* ========================================
    RESPONSIVE
======================================== */
@media (max-width: 767px) {
    .loader-logo-container {
        width: 150px;
        height: 150px;
    }

    .loader-spinner {
        width: 190px;
        height: 190px;
        margin: -95px 0 0 -95px;
    }

    .loader-logo-text {
        font-size: 24px;
    }

    .loader-text {
        font-size: 16px;
    }

    .loader-progress-bar {
        width: 250px;
    }
}



/* ABOUT US STYLE */
/* ABOUT US STYLE */
/* ABOUT US STYLE */
/* ========== BOTONES ========== */
.btn-custom {
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

@media (min-width: 768px) {
    .btn-custom {
        padding: 14px 32px;
        font-size: 15px;
    }
}

.btn-primary-custom {
    background: var(--color-primary);
    color: var(--color-secondary);
    border: 2px solid var(--color-primary);
}

.btn-primary-custom:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--color-secondary);
}

.btn-outline-custom {
    background: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
}

.btn-outline-custom:hover {
    background: var(--color-secondary);
    color: white;
}

/* ========== BREADCRUMB ========== */
.breadcrumb-section {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
    padding: 30px 0;
}

@media (min-width: 768px) {
    .breadcrumb-section { padding: 40px 0; }
}

.breadcrumb-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .breadcrumb-custom { gap: 12px; font-size: 14px; }
}

.breadcrumb-custom a { color: var(--color-primary); text-decoration: none; }

.breadcrumb-title {
    color: var(--color-white);
    font-size: 2rem;
    font-weight: 800;
    margin-top: 12px;
}

@media (min-width: 768px) {
    .breadcrumb-title { font-size: 2.5rem; margin-top: 16px; }
}

/* ========== HERO ABOUT ========== */
.about-hero {
    background: var(--color-bg-light);
    padding: 40px 0;
}

@media (min-width: 768px) {
    .about-hero { padding: 60px 0; }
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-secondary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .hero-badge { padding: 6px 20px; font-size: 13px; }
}

.hero-title {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title { font-size: 2.5rem; }
}

@media (min-width: 992px) {
    .hero-title { font-size: 3rem; }
}

.hero-title span { color: var(--color-primary); }

.hero-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .hero-description { font-size: 1.1rem; margin-bottom: 32px; }
}

.hero-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: 30px;
}

@media (min-width: 992px) {
    .hero-image-wrapper { margin-top: 0; }
}

.hero-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
}

@media (min-width: 768px) {
    .hero-image { height: 400px; }
}

@media (min-width: 992px) {
    .hero-image { height: 500px; }
}

.hero-image i {
    font-size: 60px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .hero-image i { font-size: 80px; }
}

.stats-row {
    margin-top: 30px;
}

@media (min-width: 768px) {
    .stats-row { margin-top: 40px; }
}

.stat-item {
    text-align: center;
    padding: 20px 10px;
}

@media (min-width: 768px) {
    .stat-item { padding: 20px; }
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .stat-number { font-size: 2.5rem; }
}

.stat-label {
    font-size: 13px;
    color: var(--color-text-light);
    font-weight: 500;
}

@media (min-width: 768px) {
    .stat-label { font-size: 14px; }
}

/* ========== SECTION HEADERS ========== */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .section-header { margin-bottom: 48px; }
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-secondary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .section-badge { padding: 6px 20px; font-size: 13px; margin-bottom: 16px; }
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .section-title { font-size: 2.2rem; margin-bottom: 16px; }
}

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

.section-description {
    font-size: 1rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .section-description { font-size: 1.05rem; }
}

/* ========== TABS NAVEGACIÓN ========== */
.nav-tabs-custom {
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 30px;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.nav-tabs-custom::-webkit-scrollbar {
    display: none;
}

@media (min-width: 768px) {
    .nav-tabs-custom { margin-bottom: 40px; justify-content: center; }
}

.nav-tabs-custom .nav-item {
    margin: 0;
}

.nav-tabs-custom .nav-link {
    border: none;
    color: var(--color-text);
    font-weight: 600;
    padding: 12px 16px;
    transition: var(--transition);
    background: transparent;
    white-space: nowrap;
    font-size: 14px;
    border-bottom: 3px solid transparent;
}

@media (min-width: 768px) {
    .nav-tabs-custom .nav-link { padding: 14px 24px; font-size: 15px; }
}

.nav-tabs-custom .nav-link:hover {
    color: var(--color-primary);
    border-color: transparent;
}

.nav-tabs-custom .nav-link.active {
    color: var(--color-primary);
    background: transparent;
    border-color: var(--color-primary);
}

/* ========== MISIÓN, VISIÓN, VALORES ========== */
.mvv-card {
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
}

@media (min-width: 768px) {
    .mvv-card { padding: 40px 30px; }
}

.mvv-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.mvv-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--color-secondary);
}

@media (min-width: 768px) {
    .mvv-icon { width: 80px; height: 80px; font-size: 36px; }
}

.mvv-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .mvv-card h3 { font-size: 1.5rem; }
}

.mvv-card p {
    color: var(--color-text);
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .mvv-card p { font-size: 15px; }
}

/* ========== VALORES ========== */
.value-item {
    background: white;
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 16px;
    align-items: start;
    margin-bottom: 16px;
    transition: var(--transition);
}

@media (min-width: 768px) {
    .value-item { padding: 28px 24px; }
}

.value-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.value-icon {
    width: 50px;
    height: 50px;
    background: var(--color-bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .value-icon { width: 60px; height: 60px; font-size: 28px; }
}

.value-content h5 {
    font-size: 1rem;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .value-content h5 { font-size: 1.1rem; }
}

.value-content p {
    color: var(--color-text);
    margin: 0;
    font-size: 14px;
}

@media (min-width: 768px) {
    .value-content p { font-size: 15px; }
}

/* ========== TIMELINE HISTORIA ========== */
.timeline {
    position: relative;
    padding: 20px 0;
}

@media (min-width: 768px) {
    .timeline { padding: 40px 0; }
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-primary);
}

@media (min-width: 768px) {
    .timeline::before { left: 50%; transform: translateX(-50%); }
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .timeline-item {
        width: 50%;
        padding-left: 0;
        padding-right: 40px;
        margin-bottom: 60px;
    }

    .timeline-item:nth-child(even) {
        margin-left: 50%;
        padding-right: 0;
        padding-left: 40px;
    }
}

.timeline-dot {
    position: absolute;
    left: 10px;
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--color-primary);
}

@media (min-width: 768px) {
    .timeline-dot {
        left: auto;
        right: -12px;
        width: 28px;
        height: 28px;
    }

    .timeline-item:nth-child(even) .timeline-dot {
        right: auto;
        left: -14px;
    }
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .timeline-content { padding: 24px; }
}

.timeline-year {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-secondary);
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .timeline-year { font-size: 14px; }
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .timeline-content h4 { font-size: 1.2rem; margin-bottom: 12px; }
}

.timeline-content p {
    color: var(--color-text);
    margin: 0;
    font-size: 14px;
}

@media (min-width: 768px) {
    .timeline-content p { font-size: 15px; }
}

/* ========== EQUIPO ========== */
.team-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .team-card { margin-bottom: 30px; }
}

.team-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.team-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 60px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .team-image { height: 300px; font-size: 80px; }
}

.team-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(6,30,63,0.3) 100%);
}

.team-info {
    padding: 20px;
    text-align: center;
}

@media (min-width: 768px) {
    .team-info { padding: 24px; }
}

.team-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 4px;
}

@media (min-width: 768px) {
    .team-name { font-size: 1.2rem; }
}

.team-position {
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .team-position { font-size: 14px; }
}

.team-bio {
    font-size: 13px;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .team-bio { font-size: 14px; }
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-social a {
    width: 34px;
    height: 34px;
    background: var(--color-bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    transition: var(--transition);
}

@media (min-width: 768px) {
    .team-social a { width: 36px; height: 36px; }
}

.team-social a:hover {
    background: var(--color-primary);
    color: var(--color-secondary);
    transform: translateY(-2px);
}

/* ========== OWL CAROUSEL CUSTOM ========== */
.owl-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    color: var(--color-secondary) !important;
    font-size: 20px !important;
    transition: var(--transition);
}

@media (min-width: 768px) {
    .owl-carousel .owl-nav button { width: 50px; height: 50px; font-size: 24px !important; }
}

.owl-carousel .owl-nav button:hover {
    background: var(--color-primary) !important;
}

.owl-carousel .owl-nav .owl-prev {
    left: -15px;
}

@media (min-width: 768px) {
    .owl-carousel .owl-nav .owl-prev { left: -25px; }
}

.owl-carousel .owl-nav .owl-next {
    right: -15px;
}

@media (min-width: 768px) {
    .owl-carousel .owl-nav .owl-next { right: -25px; }
}

.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .owl-carousel .owl-dots { margin-top: 30px; }
}

.owl-carousel .owl-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #e2e8f0;
    border-radius: 50%;
    margin: 0 5px;
    transition: var(--transition);
}

.owl-carousel .owl-dot.active {
    background: var(--color-primary);
    width: 28px;
    border-radius: 5px;
}

/* ========== CERTIFICACIONES ========== */
.cert-card {
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

@media (min-width: 768px) {
    .cert-card { padding: 40px 30px; }
}

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

.cert-icon {
    width: 70px;
    height: 70px;
    background: var(--color-bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 32px;
    color: var(--color-primary);
}

@media (min-width: 768px) {
    .cert-icon { width: 80px; height: 80px; font-size: 36px; }
}

.cert-card h5 {
    font-size: 1rem;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .cert-card h5 { font-size: 1.1rem; }
}

.cert-card p {
    font-size: 13px;
    color: var(--color-text-light);
    margin: 0;
}

@media (min-width: 768px) {
    .cert-card p { font-size: 14px; }
}

/* ========== CTA ========== */
.cta-section {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
    padding: 50px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cta-section { padding: 80px 0; }
}

.cta-title {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .cta-title { font-size: 2.5rem; margin-bottom: 20px; }
}

.cta-description {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 24px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .cta-description { font-size: 1.2rem; margin-bottom: 32px; }
}



/* DETALLE SERVICIO STYLE */
/* DETALLE SERVICIO STYLE */
/* DETALLE SERVICIO STYLE */
/* HERO SERVICE */
.service-hero {
    background: var(--color-bg-light);
    padding: 60px 0;
}

.service-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--color-secondary);
    margin-bottom: 24px;
}

.service-badge {
    display: inline-block;
    background: var(--color-success);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.service-description {
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 32px;
}

.key-info-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: var(--transition);
}

.key-info-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.key-info-icon {
    font-size: 32px;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.key-info-label {
    font-size: 13px;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.key-info-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
}

/* BOTONES */
.btn-custom {
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-custom {
    background: var(--color-primary);
    color: var(--color-secondary);
    border: 2px solid var(--color-primary);
}

.btn-primary-custom:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-custom {
    background: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
}

.btn-outline-custom:hover {
    background: var(--color-secondary);
    color: white;
}

/* SECTION HEADERS */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-secondary);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.2rem;
    color: var(--color-secondary);
    font-weight: 800;
    margin-bottom: 16px;
}

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

/* CARACTERÍSTICAS */
.feature-card {
    background: white;
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    height: 100%;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--color-text);
    margin: 0;
}

/* REQUISITOS */
.requirements-list {
    list-style: none;
    padding: 0;
}

.requirements-list li {
    display: flex;
    align-items: start;
    gap: 16px;
    padding: 16px;
    background: white;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
}

.check-icon {
    width: 32px;
    height: 32px;
    background: var(--color-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-size: 16px;
}

/* TABLA DE CONDICIONES */
.conditions-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.conditions-table table {
    width: 100%;
    margin: 0;
}

.conditions-table th {
    background: var(--color-secondary);
    color: white;
    padding: 16px;
    font-weight: 600;
    text-align: left;
}

.conditions-table td {
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
}

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

.highlight-cell {
    background: #fef3c7;
    font-weight: 600;
    color: var(--color-secondary);
}

/* SIMULADOR */
.calculator-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--color-primary);
}

.form-group label {
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 8px;
    display: block;
}

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(243, 228, 153, 0.2);
}

.range-value {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-secondary);
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 700;
    margin-left: 12px;
}

.result-card {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    color: white;
}

.result-label {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 8px;
}

.result-value {
    font-size: clamp(2rem, 8vw, 2rem);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.result-detail {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 12px;
}

/* PROCESO */
.process-timeline {
    position: relative;
}

.process-step {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 29px;
    top: 60px;
    width: 2px;
    height: calc(100% + 40px);
    background: #e2e8f0;
}

.process-number-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--color-secondary);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.process-content {
    flex: 1;
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.process-content h4 {
    margin-bottom: 12px;
}

/* FAQ */
.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--color-secondary);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--color-bg-light);
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 0 24px 20px 24px;
    max-height: 500px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* TESTIMONIOS */
.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 18px;
    margin-bottom: 16px;
}

.testimonial-text {
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    font-weight: 700;
    font-size: 18px;
}

.testimonial-info h6 {
    font-size: 15px;
    margin-bottom: 4px;
}

.testimonial-info p {
    font-size: 13px;
    color: var(--color-text-light);
    margin: 0;
}

/* CASOS DE USO */
.use-case-card {
    background: white;
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-primary);
    transition: var(--transition);
}

.use-case-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.use-case-icon {
    font-size: 40px;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.use-case-card h5 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.use-case-card p {
    min-height: 140px;
}

/* CTA SECTION */
.cta-section {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

/* FORMULARIO CONTACTO */
.contact-form {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    margin-bottom: 24px;
}

/* SERVICIOS RELACIONADOS */
.related-service-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-decoration: none;
    display: block;
    border: 2px solid transparent;
}

.related-service-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.related-icon {
    width: 50px;
    height: 50px;
    background: var(--color-bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.related-service-card h5 {
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.related-service-card p {
    color: var(--color-text);
    font-size: 14px;
    margin: 0;
}

/* ALERT BOXES */
.alert-custom {
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid;
    margin-bottom: 24px;
}

.alert-info {
    background: #e6f7ff;
    border-color: var(--color-info);
    color: #0c5460;
}

.alert-success {
    background: #d4edda;
    border-color: var(--color-success);
    color: #155724;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    section { padding: 60px 0; }
    .breadcrumb-title { font-size: 2rem; }
    .section-title { font-size: 1.8rem; }
    .result-value { font-size: 2.5rem; }
    .cta-title { font-size: 2rem; }
}

/* ============================================================
CSS ADICIONAL PARA FORMULARIO MEJORADO
Agregar al final del archivo CSS principal
============================================================ */

/* ========== ESTILOS GENERALES DE FORMULARIO ========== */

/* Ajuste de altura y padding de inputs */
.form-control {
    height: 48px !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    background-color: #ffffff !important;
    color: #2d3748 !important;
}

.form-control:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 3px rgba(243, 228, 153, 0.15) !important;
    outline: none !important;
}

/* Textarea específico */
textarea.form-control {
    height: auto !important;
    min-height: 100px !important;
    resize: vertical !important;
}

/* Select específico */
select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 12px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    cursor: pointer !important;
}

/* Labels */
.form-group label {
    font-weight: 600 !important;
    color: var(--color-secondary) !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
    display: block !important;
}

/* Placeholders */
.form-control::placeholder {
    color: #a0aec0 !important;
    opacity: 1 !important;
}

.form-control::-webkit-input-placeholder {
    color: #a0aec0 !important;
}

.form-control::-moz-placeholder {
    color: #a0aec0 !important;
}

.form-control:-ms-input-placeholder {
    color: #a0aec0 !important;
}


/* ========== VALIDACIÓN EN TIEMPO REAL ========== */

.form-control.is-valid {
    border-color: #48bb78 !important;
    padding-right: 40px !important;
    background-image: none !important;
}

.form-control.is-invalid {
    border-color: #f56565 !important;
    padding-right: 40px !important;
    background-image: none !important;
}

.valid-feedback {
    display: none;
    color: #48bb78 !important;
    font-size: 13px !important;
    margin-top: 6px !important;
    font-weight: 500 !important;
}

.valid-feedback i {
    margin-right: 4px;
}

.form-control.is-valid ~ .valid-feedback {
    display: block !important;
}

.invalid-feedback {
    display: none;
    color: #f56565 !important;
    font-size: 13px !important;
    margin-top: 6px !important;
    font-weight: 500 !important;
}

.form-control.is-invalid ~ .invalid-feedback {
    display: block !important;
}

/* ========== SELECT2 PERSONALIZADO ========== */

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: 48px !important;
    padding: 10px 16px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background-color: #ffffff !important;
}

.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 3px rgba(243, 228, 153, 0.15) !important;
    outline: none !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 28px !important;
    padding-left: 0 !important;
    color: #2d3748 !important;
    font-size: 15px !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #a0aec0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    right: 10px !important;
}

.select2-dropdown {
    border: 2px solid var(--color-primary) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.select2-search--dropdown .select2-search__field {
    height: 40px !important;
    padding: 8px 12px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 6px !important;
    font-size: 14px !important;
}

.select2-search--dropdown .select2-search__field:focus {
    border-color: var(--color-primary) !important;
    outline: none !important;
}

.select2-results__option {
    padding: 10px 16px !important;
    font-size: 14px !important;
}

.select2-results__option--highlighted {
    background-color: var(--color-primary) !important;
    color: var(--color-secondary) !important;
}

.select2-results__group {
    font-weight: 700 !important;
    color: var(--color-secondary) !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    background-color: #f7fafc !important;
}

/* Select2 con validación */
.select2-container.is-valid + .valid-feedback {
    display: block !important;
}

.select2-container.is-invalid + .invalid-feedback {
    display: block !important;
}

.select2-container.is-valid .select2-selection {
    border-color: #48bb78 !important;
}

.select2-container.is-invalid .select2-selection {
    border-color: #f56565 !important;
}


/* ========== FILE UPLOAD DRAG & DROP ========== */

.file-upload-area {
    position: relative;
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f8fafc;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-upload-area:hover {
    border-color: var(--color-primary);
    background-color: #fffef7;
    transform: translateY(-2px);
}

.file-upload-area.drag-over {
    border-color: var(--color-primary);
    background-color: rgba(243, 228, 153, 0.1);
    border-style: solid;
}

.file-upload-area.has-file {
    border-color: #48bb78;
    background-color: #f0fff4;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.upload-content {
    pointer-events: none;
}

.upload-icon {
    font-size: 48px;
    color: var(--color-primary);
    margin-bottom: 12px;
    display: block;
    transition: all 0.3s ease;
}

.file-upload-area:hover .upload-icon {
    transform: scale(1.1);
}

.upload-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 4px;
}

.upload-subtext {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.upload-format {
    display: inline-block;
    font-size: 12px;
    color: var(--color-accent);
    background-color: #e2e8f0;
    padding: 4px 12px;
    border-radius: 12px;
    margin-top: 8px;
}

/* Preview del archivo subido */
.upload-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.preview-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    max-height: 140px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.preview-info {
    text-align: center;
    width: 100%;
}

.preview-filename {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 8px;
    word-break: break-word;
}

.btn-remove-file {
    background-color: #f56565;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-remove-file:hover {
    background-color: #e53e3e;
    transform: scale(1.05);
}

.btn-remove-file i {
    font-size: 12px;
}

/* Estado de error en file upload */
.file-upload-area.is-invalid {
    border-color: #f56565;
    background-color: #fff5f5;
}

.file-upload-area.is-invalid .upload-icon {
    color: #f56565;
}

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

.badge {
    font-weight: 600 !important;
    padding: 4px 10px !important;
    font-size: 11px !important;
    border-radius: 12px !important;
    vertical-align: middle !important;
}

.badge-info {
    background-color: #4299e1 !important;
    color: white !important;
}

.badge-warning {
    background-color: #ed8936 !important;
    color: white !important;
}

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

.alert-info {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.6;
}

.alert-info i {
    flex-shrink: 0;
    margin-top: 2px;
}

/* ========== FORM TEXT (Ayudas) ========== */

.form-text {
    font-size: 13px !important;
    color: var(--color-text-light) !important;
    margin-top: 6px !important;
    display: block !important;
}

.form-text i {
    margin-right: 4px;
    color: var(--color-primary);
}

/* ========== BOTÓN DE ENVÍO ========== */

button[type="submit"] {
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 16px 32px !important;
    margin-top: 24px !important;
    position: relative !important;
    overflow: hidden !important;
}

button[type="submit"]:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

button[type="submit"]:not(:disabled):hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(243, 228, 153, 0.4) !important;
}

/* ========== ANIMACIONES ========== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.form-control.is-invalid {
    animation: shake 0.4s ease;
}

#otroEspecialidadContainer {
    animation: fadeIn 0.3s ease;
}

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

@media (max-width: 768px) {
    .form-control {
        height: 50px !important;
        font-size: 16px !important; /* Evita zoom en iOS */
    }

    .file-upload-area {
        min-height: 160px;
        padding: 20px 16px;
    }

    .upload-icon {
        font-size: 40px;
    }

    .upload-text {
        font-size: 14px;
    }

    .preview-image {
        max-width: 150px;
        max-height: 120px;
    }

    button[type="submit"] {
        padding: 14px 24px !important;
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {
    .form-control {
        height: 52px !important;
        padding: 14px !important;
    }

    .file-upload-area {
        min-height: 140px;
        padding: 16px 12px;
    }

    .upload-icon {
        font-size: 36px;
    }

    .upload-text {
        font-size: 13px;
    }

    .upload-subtext {
        font-size: 12px;
    }
}

/* ========== MEJORAS DE ACCESIBILIDAD ========== */

.form-control:focus-visible {
    outline: 3px solid rgba(243, 228, 153, 0.5) !important;
    outline-offset: 2px !important;
}

.file-upload-area:focus-within {
    outline: 3px solid rgba(243, 228, 153, 0.5) !important;
    outline-offset: 2px !important;
}

button:focus-visible {
    outline: 3px solid rgba(243, 228, 153, 0.5) !important;
    outline-offset: 2px !important;
}





/* CONTACTO STYLE */
/* CONTACTO STYLE */
/* CONTACTO STYLE */
/* CONTACTO STYLE */

/* ========== BOTONES ========== */
        .btn-custom {
            font-family: var(--font-primary);
            font-weight: 600;
            padding: 12px 24px;
            border-radius: 8px;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            text-decoration: none;
        }

        @media (min-width: 768px) {
            .btn-custom { padding: 14px 32px; font-size: 15px; }
        }

        .btn-primary-custom {
            background: var(--color-primary);
            color: var(--color-secondary);
            border: 2px solid var(--color-primary);
        }

        .btn-primary-custom:hover {
            background: var(--color-primary-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
            color: var(--color-secondary);
            text-decoration: none;
        }

        .btn-outline-custom {
            background: transparent;
            color: var(--color-secondary);
            border: 2px solid var(--color-secondary);
        }

        .btn-outline-custom:hover {
            background: var(--color-secondary);
            color: white;
            text-decoration: none;
        }

        .btn-whatsapp {
            background: #25d366;
            color: white;
            border: 2px solid #25d366;
        }

        .btn-whatsapp:hover {
            background: #1fb855;
            border-color: #1fb855;
            color: white;
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

/* ========== HERO CONTACTO ========== */
        .contact-hero {
            background: var(--color-bg-light);
            padding: 40px 0;
        }

        @media (min-width: 768px) {
            .contact-hero { padding: 60px 0; }
        }

        .contact-info-card {
            background: white;
            border-radius: 12px;
            padding: 24px 20px;
            box-shadow: var(--shadow-sm);
            text-align: center;
            transition: var(--transition);
            margin-bottom: 20px;
            height: 100%;
        }

        @media (min-width: 768px) {
            .contact-info-card { padding: 32px 24px; }
        }

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

        .contact-info-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 16px;
            font-size: 28px;
            color: var(--color-secondary);
        }

        @media (min-width: 768px) {
            .contact-info-icon { width: 70px; height: 70px; font-size: 32px; }
        }

        .contact-info-card h4 {
            font-size: 1.1rem;
            margin-bottom: 8px;
        }

        @media (min-width: 768px) {
            .contact-info-card h4 { font-size: 1.2rem; margin-bottom: 12px; }
        }

        .contact-info-card p {
            color: var(--color-text);
            margin-bottom: 12px;
            font-size: 14px;
        }

        @media (min-width: 768px) {
            .contact-info-card p { font-size: 15px; }
        }

        .contact-info-card a {
            color: var(--color-primary);
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: var(--transition);
        }

        .contact-info-card a:hover {
            color: var(--color-primary-dark);
            gap: 10px;
        }

        /* ========== FORMULARIO ========== */
        .contact-form-wrapper {
            background: white;
            border-radius: 16px;
            padding: 30px 20px;
            box-shadow: var(--shadow-md);
        }

        @media (min-width: 768px) {
            .contact-form-wrapper { padding: 40px; }
        }

        .form-group label {
            font-weight: 600;
            color: var(--color-secondary);
            margin-bottom: 8px;
            display: block;
            font-size: 14px;
        }

        @media (min-width: 768px) {
            .form-group label { font-size: 15px; }
        }

        .form-control {
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            padding: 12px 16px;
            font-size: 15px;
            transition: var(--transition);
            font-family: var(--font-secondary);
        }

        @media (min-width: 768px) {
            .form-control { padding: 14px 16px; font-size: 16px; }
        }

        .form-control:focus {
            border-color: var(--color-primary);
            box-shadow: 0 0 0 3px rgba(243, 228, 153, 0.2);
            outline: none;
        }

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

        textarea.form-control {
            resize: vertical;
            min-height: 120px;
        }

        .alert-custom {
            border-radius: 8px;
            padding: 16px;
            margin-bottom: 20px;
            border-left: 4px solid;
            font-size: 14px;
        }

        @media (min-width: 768px) {
            .alert-custom { font-size: 15px; }
        }

        .alert-info {
            background: #e6f7ff;
            border-color: #4299e1;
            color: #0c5460;
        }

        .alert-success {
            background: #d4edda;
            border-color: var(--color-success);
            color: #155724;
        }

        /* ========== MAPA ========== */
        .map-container {
            border-radius: 16px;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            height: 350px;
        }

        @media (min-width: 768px) {
            .map-container { height: 450px; }
        }

        .map-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        /* ========== HORARIOS ========== */
        .schedule-card {
            background: white;
            border-radius: 12px;
            padding: 24px 20px;
            box-shadow: var(--shadow-sm);
        }

        @media (min-width: 768px) {
            .schedule-card { padding: 32px 24px; }
        }

        .schedule-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid #e2e8f0;
        }

        @media (min-width: 768px) {
            .schedule-item { padding: 16px 0; }
        }

        .schedule-item:last-child {
            border-bottom: none;
        }

        .schedule-day {
            font-weight: 600;
            color: var(--color-secondary);
            font-size: 14px;
        }

        @media (min-width: 768px) {
            .schedule-day { font-size: 15px; }
        }

        .schedule-time {
            color: var(--color-text);
            font-size: 14px;
        }

        @media (min-width: 768px) {
            .schedule-time { font-size: 15px; }
        }

        .schedule-time.closed {
            color: var(--color-danger);
        }

        .schedule-time.open {
            color: var(--color-success);
            font-weight: 600;
        }

        /* ========== MÉTODOS CONTACTO ========== */
        .contact-method-card {
            background: white;
            border-radius: 12px;
            padding: 24px 20px;
            box-shadow: var(--shadow-sm);
            text-align: center;
            transition: var(--transition);
            height: 100%;
            border: 2px solid transparent;
        }

        @media (min-width: 768px) {
            .contact-method-card { padding: 32px 24px; }
        }

        .contact-method-card:hover {
            border-color: var(--color-primary);
            box-shadow: var(--shadow-md);
            transform: translateY(-4px);
        }

        .method-icon {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 16px;
            font-size: 32px;
            color: white;
        }

        @media (min-width: 768px) {
            .method-icon { width: 80px; height: 80px; font-size: 36px; }
        }

        .method-icon.whatsapp { background: #25d366; }
        .method-icon.email { background: #4299e1; }
        .method-icon.phone { background: var(--color-primary); color: var(--color-secondary); }
        .method-icon.visit { background: var(--color-secondary); }

        .contact-method-card h5 {
            font-size: 1.1rem;
            margin-bottom: 8px;
        }

        @media (min-width: 768px) {
            .contact-method-card h5 { font-size: 1.2rem; margin-bottom: 12px; }
        }

        .contact-method-card p {
            color: var(--color-text);
            margin-bottom: 16px;
            font-size: 14px;
        }

        @media (min-width: 768px) {
            .contact-method-card p { font-size: 15px; }
        }

        /* ========== FAQ CONTACTO ========== */
        .faq-item {
            background: white;
            border-radius: 12px;
            margin-bottom: 16px;
            box-shadow: var(--shadow-sm);
            overflow: hidden;
        }

        .faq-question {
            padding: 16px 20px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            color: var(--color-secondary);
            transition: var(--transition);
            font-size: 14px;
        }

        @media (min-width: 768px) {
            .faq-question { padding: 20px 24px; font-size: 15px; }
        }

        .faq-question:hover {
            background: var(--color-bg-light);
        }

        .faq-icon {
            width: 28px;
            height: 28px;
            background: var(--color-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--color-secondary);
            transition: var(--transition);
            flex-shrink: 0;
        }

        @media (min-width: 768px) {
            .faq-icon { width: 32px; height: 32px; }
        }

        .faq-answer {
            padding: 0 20px;
            max-height: 0;
            overflow: hidden;
            transition: all 0.3s ease;
            font-size: 14px;
        }

        @media (min-width: 768px) {
            .faq-answer { padding: 0 24px; font-size: 15px; }
        }

        .faq-answer.active {
            padding: 0 20px 20px 20px;
            max-height: 500px;
        }

        @media (min-width: 768px) {
            .faq-answer.active { padding: 0 24px 20px 24px; }
        }

        .faq-item.active .faq-icon {
            transform: rotate(180deg);
        }

        /* ========== CTA ========== */
        .cta-section {
            background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
            padding: 50px 0;
            text-align: center;
            color: white;
        }

        @media (min-width: 768px) {
            .cta-section { padding: 60px 0; }
        }

        .cta-title {
            font-size: 1.8rem;
            color: white;
            margin-bottom: 16px;
        }

        @media (min-width: 768px) {
            .cta-title { font-size: 2.2rem; margin-bottom: 20px; }
        }

        /* ========== FLOATING WHATSAPP ========== */
        .whatsapp-float {
            position: fixed;
            bottom: 20px;
            right: 33px;
            width: 56px;
            height: 56px;
            background: #25d366;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 28px;
            box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
            transition: var(--transition);
            z-index: 999;
            text-decoration: none;
            animation: pulse 2s infinite;
        }

        @media (min-width: 768px) {
            .whatsapp-float { width: 60px; height: 60px; font-size: 32px; }
        }

        .whatsapp-float:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
            color: white;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }


        /* ========================================
           BREADCRUMB HERO
        ======================================== */
        .breadcrumb-hero {
            background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
            padding: 40px 0;
            position: relative;
            overflow: hidden;
        }

        @media (min-width: 768px) {
            .breadcrumb-hero { padding: 60px 0; }
        }

        .breadcrumb-hero::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23f3e499" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
            background-size: cover;
            opacity: 0.3;
        }

        .breadcrumb-custom {
            display: flex;
            align-items: center;
            gap: 10px;
            color: rgba(255,255,255,0.8);
            font-size: 14px;
            position: relative;
            z-index: 2;
            flex-wrap: wrap;
        }

        .breadcrumb-custom a {
            color: var(--color-primary);
            text-decoration: none;
        }

        .breadcrumb-title {
            color: var(--color-white);
            font-size: 2.5rem;
            font-weight: 800;
            margin-top: 16px;
            position: relative;
            z-index: 2;
        }

        @media (min-width: 768px) {
            .breadcrumb-title { font-size: 3rem; }
        }

        .breadcrumb-description {
            color: rgba(255,255,255,0.9);
            font-size: 1.1rem;
            margin-top: 12px;
            max-width: 700px;
            position: relative;
            z-index: 2;
        }




        /* ============================================================
   STEPPER.CSS - Lumen Finanzas
   Estilos exclusivos para el formulario stepper multi-paso.
   NO duplica estilos de main.css (botones, form-control, etc.)
   ============================================================ */

/* ========================================
   STEPPER SECTION
   ======================================== */

.stepper-section {
    padding: 40px 0 80px;
    background: var(--color-bg-light);
    min-height: calc(100vh - 200px);
}

@media (min-width: 768px) {
    .stepper-section {
        padding: 60px 0 100px;
    }
}

/* ========================================
   STEPPER HEADER (indicadores de pasos)
   ======================================== */

.stepper-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    padding: 24px 16px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .stepper-header {
        margin-bottom: 40px;
        padding: 32px 40px;
    }
}

.stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .stepper-step {
        gap: 10px;
    }
}

.stepper-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    border: 3px solid #e2e8f0;
    background: white;
    color: var(--color-text-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

@media (min-width: 768px) {
    .stepper-circle {
        width: 52px;
        height: 52px;
        font-size: 18px;
    }
}

.stepper-check {
    display: none;
    font-size: 18px;
}

.stepper-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-light);
    text-align: center;
    transition: all 0.3s ease;
    max-width: 80px;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .stepper-label {
        font-size: 13px;
        max-width: 120px;
    }
}

/* Línea conectora */
.stepper-line {
    flex: 1;
    height: 3px;
    background: #e2e8f0;
    margin: 0 8px;
    margin-bottom: 26px;
    transition: background 0.4s ease;
    min-width: 30px;
    max-width: 120px;
}

@media (min-width: 768px) {
    .stepper-line {
        margin: 0 16px;
        margin-bottom: 30px;
        max-width: 160px;
    }
}

/* ========================================
   STEPPER STATES
   ======================================== */

/* Paso activo */
.stepper-step.active .stepper-circle {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: var(--color-secondary);
    box-shadow: 0 0 0 6px rgba(243, 228, 153, 0.25);
}

.stepper-step.active .stepper-label {
    color: var(--color-secondary);
    font-weight: 700;
}

/* Paso completado */
.stepper-step.completed .stepper-circle {
    border-color: var(--color-success);
    background: var(--color-success);
    color: white;
}

.stepper-step.completed .stepper-number {
    display: none;
}

.stepper-step.completed .stepper-check {
    display: block;
}

.stepper-step.completed .stepper-label {
    color: var(--color-success);
}

/* Línea completada */
.stepper-line.completed {
    background: var(--color-success);
}

/* ========================================
   STEPPER PANELS (contenido de cada paso)
   ======================================== */

.stepper-panel {
    display: none;
    background: white;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: var(--shadow-md);
    animation: stepperFadeIn 0.4s ease;
}

@media (min-width: 768px) {
    .stepper-panel {
        padding: 40px;
    }
}

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

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

/* ========================================
   PANEL HEADER
   ======================================== */

.stepper-panel-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--color-bg-light);
}

@media (min-width: 768px) {
    .stepper-panel-header {
        gap: 20px;
        margin-bottom: 32px;
        padding-bottom: 24px;
    }
}

.stepper-panel-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .stepper-panel-icon {
        width: 60px;
        height: 60px;
        border-radius: 16px;
    }
}

.stepper-panel-icon i {
    font-size: 22px;
    color: var(--color-secondary);
}

@media (min-width: 768px) {
    .stepper-panel-icon i {
        font-size: 26px;
    }
}

.stepper-panel-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0 0 4px 0;
}

@media (min-width: 768px) {
    .stepper-panel-title {
        font-size: 1.4rem;
    }
}

.stepper-panel-subtitle {
    font-size: 13px;
    color: var(--color-text-light);
    margin: 0;
}

@media (min-width: 768px) {
    .stepper-panel-subtitle {
        font-size: 14px;
    }
}

/* ========================================
   BOTONES DE NAVEGACIÓN DEL STEPPER
   ======================================== */

.stepper-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid var(--color-bg-light);
    gap: 12px;
}

@media (min-width: 768px) {
    .stepper-actions {
        margin-top: 40px;
        padding-top: 32px;
    }
}

/* ========================================
   MARCAS REQUIRED / OPTIONAL
   ======================================== */

.required-mark {
    color: #e53e3e;
    font-weight: 700;
}

.optional-mark {
    color: var(--color-text-light);
    font-weight: 400;
    font-size: 12px;
}

/* ========================================
   ALERTAS INTERNAS DEL STEPPER
   ======================================== */

.stepper-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .stepper-alert {
        padding: 16px 20px;
        font-size: 14px;
    }
}

.stepper-alert i {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 16px;
}

.stepper-alert-info {
    background: #e8f4fd;
    border-left: 4px solid #4299e1;
    color: #2b6cb0;
}

.stepper-alert-info i {
    color: #4299e1;
}

.stepper-alert-warning {
    background: #fffbeb;
    border-left: 4px solid var(--color-warning);
    color: #92400e;
}

.stepper-alert-warning i {
    color: var(--color-warning);
}

/* ========================================
   SUB-SEPARADORES (dentro de un panel)
   ======================================== */

.stepper-subseparator {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0 8px;
}

.stepper-subseparator::before,
.stepper-subseparator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.stepper-subseparator span {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .stepper-subseparator {
        margin: 32px 0 12px;
    }
}

/* ========================================
   BLOQUES DE REFERENCIA
   ======================================== */

.ref-block {
    background: var(--color-bg-light);
    border-radius: 12px;
    padding: 20px 16px;
    margin-bottom: 16px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .ref-block {
        padding: 24px;
        margin-bottom: 20px;
    }
}

.ref-block:hover {
    border-color: rgba(243, 228, 153, 0.4);
}

.ref-block.ref-optional {
    opacity: 0.85;
    border-style: dashed;
    border-color: #e2e8f0;
}

.ref-block.ref-optional:hover {
    opacity: 1;
    border-color: rgba(243, 228, 153, 0.4);
}

.ref-block-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.ref-block-header h6 {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 768px) {
    .ref-block-header h6 {
        font-size: 15px;
    }
}

.ref-block-header h6 i {
    color: var(--color-primary);
}

/* ========================================
   FILE PREVIEW para documentos no-imagen
   ======================================== */

.preview-file-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-light);
    border-radius: 12px;
    font-size: 36px;
    color: var(--color-primary);
}

/* ========================================
   STEPPER PROGRESS (barra móvil compacta)
   ======================================== */

@media (max-width: 575px) {
    .stepper-header {
        padding: 16px 12px;
    }

    .stepper-label {
        font-size: 10px;
        max-width: 65px;
    }

    .stepper-circle {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .stepper-line {
        margin: 0 4px;
        margin-bottom: 22px;
        min-width: 20px;
    }

    .stepper-panel {
        padding: 20px 16px;
    }

    .stepper-panel-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .stepper-actions {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .stepper-actions .btn-custom {
        width: 100%;
        justify-content: center;
    }

    .ref-block {
        padding: 16px 12px;
    }
}

/* ========================================
   ANIMACIONES SUAVES DE TRANSICIÓN
   ======================================== */

.docs-tipo-cliente {
    animation: stepperFadeIn 0.35s ease;
}

#otroEspecialidadContainer {
    animation: stepperFadeIn 0.3s ease;
}

/* ========================================
   FIX: IGUALAR TAMAÑO CAJAS DE DOCUMENTOS
   ======================================== */
#docsIngresosContainer .file-upload-area {
    min-height: 200px !important;
    height: 200px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

#docsIngresosContainer .upload-content,
#docsIngresosContainer .upload-preview {
    width: 100%;
}

#docsIngresosContainer .upload-icon {
    font-size: 42px;
}

#docsIngresosContainer .upload-text {
    font-size: 15px;
}

#docsIngresosContainer .upload-subtext {
    font-size: 13px;
}

#docsIngresosContainer .upload-format {
    font-size: 11px;
}

/* Preview de imagen/pdf con altura fija */
#docsIngresosContainer .preview-image {
    max-height: 110px;
    width: auto;
    object-fit: contain;
}

#docsIngresosContainer .preview-file-icon {
    width: 80px;
    height: 80px;
    font-size: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 8px;
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    #docsIngresosContainer .file-upload-area {
        min-height: 180px !important;
        height: 180px !important;
    }

    #docsIngresosContainer .upload-icon {
        font-size: 36px;
    }
}


/* Contenedor principal para botón + tooltip */
.whatsapp-container {
  position: fixed;
  right: 17px;
  bottom: 90px;
  z-index: 9999;
  display: flex;
  flex-direction: column; /* Cambiado a columna */
  align-items: center;    /* Centrado horizontal */
  gap: 6px;               /* Espacio entre tooltip y botón */
}

/* Tu botón existente */
.whatsapp-container .whatsapp-btn {
  border-radius: 50%;
  width: 60px;
  height: 60px;
  padding: 8px 4px 5px 5px;
  margin: 5px;
  font-size: 25px;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  box-shadow: 1px 2px 8px var(--color-primary);
  animation: gentle-whatsapp 2.8s infinite ease-in-out;
  transition: all 0.3s ease;
  position: relative;
}

/* .whatsapp-container .whatsapp-btn i {
  font-size: 40px;
} */

.whatsapp-container .whatsapp-btn:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  box-shadow: 0 12px 24px var(--color-primary);
}

/* Tooltip flotante - ENCIMA del botón */
.whatsapp-tooltip {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #ffffff;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 10px;       /* Un poco más pequeño */
  font-weight: 500;
  padding: 3px 7px;      /* Más compacto */
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 5px;     /* Espacio extra con el botón */
  animation: gentle-whatsapp 2.8s infinite ease-in-out;
}

/* Flecha del tooltip - AHORA ABAJO */
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;           /* Cambiado de right a bottom */
  left: 50%;              /* Centrado horizontal */
  transform: translateX(-50%) rotate(90deg); /* Rotada para que apunte hacia abajo */
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #0f172a;
}

/* Efecto hover en el contenedor */
.whatsapp-container:hover .whatsapp-tooltip {
  transform: translateY(-3px);  /* Ahora se mueve hacia arriba */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Tu animación existente se mantiene igual */
@keyframes gentle-whatsapp {
  0% {
    transform: scale(1) translateY(0);
    box-shadow: 0 4px 12px rgba(243, 228, 153, 0.3);
  }
  25% {
    transform: scale(1.02) translateY(-3px);
    box-shadow: 0 10px 20px rgba(243, 228, 153, 0.4);
  }
  50% {
    transform: scale(1) translateY(0);
    box-shadow: 0 4px 12px rgba(243, 228, 153, 0.3);
  }
  75% {
    transform: scale(1.02) translateY(-3px);
    box-shadow: 0 10px 20px rgba(243, 228, 153, 0.4);
  }
  100% {
    transform: scale(1) translateY(0);
    box-shadow: 0 4px 12px rgba(243, 228, 153, 0.3);
  }
}
