/* ===== RESET Y FUENTES (Global) ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f7faff;
    color: #1a2a4a;
    overflow-x: hidden;
    padding-top: 80px; /* espacio para el menú fijo */
}
h1, h2, h3, h4, h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.display-3, .display-5 {
    font-weight: 600;
}
a {
    text-decoration: none;
}

/* ===== MENÚ MEJORADO (Fijo) ===== */
.menu-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 2.5rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 28px rgba(0, 20, 50, 0.05);
    border-bottom: 1px solid rgba(30, 80, 180, 0.05);
    transition: all 0.25s;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #0a2a5c;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
}
.logo-area .logo-icon img {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
}
.logo-text span {
    color: #1a5bb5;
}
.menu-nav .menu {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu-item .menu-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 60px;
    color: #3a5a7a;
    font-weight: 500;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.2s;
    background: transparent;
}
.menu-item .menu-link i {
    font-size: 0.9rem;
    color: #6a8aaa;
    transition: color 0.2s;
}
.menu-item .menu-link:hover {
    background: rgba(26, 91, 181, 0.06);
    color: #0a2a5c;
}
.menu-item .menu-link:hover i {
    color: #1a5bb5;
}
.menu-item .menu-link.active {
    background: rgba(26, 91, 181, 0.10);
    color: #0a2a5c;
    font-weight: 600;
}
.menu-item .menu-link.active i {
    color: #1a5bb5;
}
.menu-divider {
    width: 1px;
    height: 26px;
    background: rgba(30, 80, 180, 0.10);
    margin: 0 0.1rem;
}

/* ===== HERO MEJORADO ===== */
.hero-overlay {
    background: linear-gradient(135deg, rgba(10, 30, 70, 0.75) 0%, rgba(10, 30, 70, 0.40) 100%);
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-section {
    padding: 7rem 0 4rem;
    background: linear-gradient(165deg, #f0f6fe 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(26, 91, 181, 0.08);
    color: #1a5bb5;
    padding: 0.4rem 1.2rem;
    border-radius: 60px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border: 1px solid rgba(26, 91, 181, 0.08);
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    color: #0a1e3d;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.2rem;
}
.hero h1 em {
    font-style: italic;
    font-weight: 600;
    color: #1a5bb5;
    font-family: 'Playfair Display', serif;
}
.hero .subtitle {
    font-size: 1.2rem;
    color: #2a4a6a;
    font-weight: 400;
    margin-bottom: 1rem;
}
.hero p {
    color: #4a6a8a;
    line-height: 1.8;
    font-size: 1.05rem;
    max-width: 520px;
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}
.btn-primary-custom {
    background: #1a5bb5;
    color: #fff;
    padding: 0.7rem 2rem;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.25s;
    border: none;
    font-size: 0.95rem;
}
.btn-primary-custom:hover {
    background: #0f4a94;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 91, 181, 0.20);
}
.btn-secondary-custom {
    background: transparent;
    color: #1a5bb5;
    padding: 0.7rem 1.8rem;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.25s;
    border: 1px solid rgba(26, 91, 181, 0.15);
    font-size: 0.95rem;
}
.btn-secondary-custom:hover {
    background: rgba(26, 91, 181, 0.05);
    transform: translateY(-2px);
}

/* ===== TARJETA DE SERVICIOS EN HERO ===== */
.hero-visual {
    background: #ffffff;
    border-radius: 28px;
    padding: 2rem 2rem 1.5rem;
    box-shadow: 0 24px 64px -16px rgba(10, 40, 80, 0.10);
    border: 1px solid rgba(30, 80, 180, 0.06);
    backdrop-filter: blur(8px);
}
.card-title {
    font-weight: 600;
    color: #0a2a5c;
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.card-title i {
    color: #1a5bb5;
    font-size: 1.2rem;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(30, 80, 180, 0.04);
}
.stat-item:last-child {
    border-bottom: none;
}
.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #eef4fc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a5bb5;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: 0.2s;
}
.stat-item:hover .stat-icon {
    background: #1a5bb5;
    color: #fff;
}
.stat-text {
    font-weight: 500;
    color: #0a2a5c;
    font-size: 0.95rem;
    line-height: 1.3;
}
.stat-text small {
    display: block;
    font-weight: 400;
    color: #5a7a9e;
    font-size: 0.8rem;
}
.footer-note {
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(30, 80, 180, 0.06);
    color: #3a5a7a;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-note i {
    color: #1a5bb5;
}

/* ===== SECCIÓN NOSOTROS (CONTENIDO) ===== */
.content-box {
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 20px 60px -20px rgba(10, 40, 80, 0.08);
    padding: 2.5rem 2rem;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(30, 80, 180, 0.04);
    backdrop-filter: blur(2px);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 768px) {
    .content-box {
        padding: 3.5rem 3rem;
    }
}
.content-box h2 {
    font-size: 2.2rem;
    color: #0a2a5c;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
.content-box p {
    color: #3a5a7a;
    line-height: 1.8;
    font-size: 1.05rem;
}
.highlight {
    color: #1a5bb5;
    font-weight: 600;
}
.service-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.6rem 0;
    color: #2a4a6a;
    font-size: 1rem;
}
.service-list-item i {
    color: #1a5bb5;
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.badge-light-custom {
    background: #eef4fc;
    color: #1a5bb5;
    font-weight: 500;
    padding: 0.45rem 1.2rem;
    border-radius: 60px;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    border: 1px solid rgba(26, 91, 181, 0.08);
}
.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #eef4fc;
    color: #1a5bb5;
    font-size: 1.6rem;
    margin: 0 auto 0.8rem;
    transition: 0.2s;
}
.feature-item:hover .feature-icon {
    background: #1a5bb5;
    color: #fff;
    transform: translateY(-2px);
}

/* ===== ENCABEZADO DE SERVICIOS ===== */
.services-header {
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(30, 80, 180, 0.08);
}
.services-header h1 {
    font-weight: 700;
    font-size: 2.4rem;
    color: #0a2a5c;
    letter-spacing: -0.03em;
    margin-bottom: 0.3rem;
}
.services-header .subhead {
    font-weight: 400;
    font-size: 1.05rem;
    color: #3a5a7a;
    max-width: 620px;
    line-height: 1.6;
}
.badge-sai {
    background: rgba(26, 91, 181, 0.08);
    color: #1a5bb5;
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    display: inline-block;
    margin-bottom: 0.6rem;
}

/* ===== TARJETAS DE SERVICIO (estilo Sai Alvebi) ===== */
.service-card {
    background: #ffffff;
    border: 1px solid rgba(30, 80, 180, 0.07);
    border-radius: 20px;
    padding: 1.8rem 1.6rem 2rem 1.6rem;
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(26, 91, 181, 0.03);
}
.service-card:hover {
    border-color: rgba(26, 91, 181, 0.20);
    box-shadow: 0 12px 32px rgba(26, 91, 181, 0.06);
    transform: translateY(-4px);
}
.service-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    background-color: #eef3fa;
    margin-bottom: 1.2rem;
}
.service-card .service-tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: #1a5bb5;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
    background: rgba(26, 91, 181, 0.06);
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    display: inline-block;
    align-self: flex-start;
}
.service-card h5 {
    font-weight: 600;
    font-size: 1.2rem;
    color: #0a2a5c;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}
.service-card p {
    font-weight: 400;
    color: #4a5a7a;
    font-size: 0.92rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.2rem;
}
.service-card .btn-sai {
    border-radius: 60px;
    padding: 0.4rem 1.6rem;
    font-weight: 500;
    font-size: 0.85rem;
    border: 1px solid rgba(26, 91, 181, 0.20);
    color: #1a5bb5;
    background: transparent;
    transition: 0.2s;
    align-self: flex-start;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.service-card .btn-sai:hover {
    background: #1a5bb5;
    color: #fff;
    border-color: #1a5bb5;
}
.service-card .btn-sai i {
    font-size: 0.75rem;
}

/* ===== DIVISOR ===== */
.divider-sai {
    width: 48px;
    height: 3px;
    background: #1a5bb5;
    border-radius: 10px;
    margin: 2rem 0 1rem 0;
    opacity: 0.3;
}

/* ===== FAQ ===== */
.faq-section {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 16px 56px -16px rgba(10, 40, 80, 0.06);
    border: 1px solid rgba(30, 80, 180, 0.04);
}
.faq-item {
    border: 1px solid rgba(30, 80, 180, 0.08);
    border-radius: 16px;
    margin-bottom: 0.8rem;
    background: #ffffff;
    overflow: hidden;
    transition: 0.2s;
}
.faq-item:hover {
    border-color: rgba(30, 80, 180, 0.15);
}
.faq-btn {
    width: 100%;
    text-align: left;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    font-weight: 500;
    color: #0a2a5c;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.95rem;
    transition: 0.2s;
}
.faq-btn:hover {
    background: rgba(26, 91, 181, 0.02);
}
.faq-btn i:first-child {
    color: #1a5bb5;
    width: 1.4rem;
}
.faq-btn .fa-chevron-down {
    color: #1a5bb5;
    transition: transform 0.3s;
    flex-shrink: 0;
}
.faq-btn .fa-chevron-down.rotated {
    transform: rotate(180deg);
}
.faq-body {
    padding: 0 1.5rem 1.2rem;
    color: #3a5a7a;
    line-height: 1.7;
    font-size: 0.95rem;
}
.faq-body ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5rem;
}
.faq-body ul li {
    padding: 0.2rem 0;
}
.faq-body ul li i {
    color: #1a5bb5;
    margin-right: 0.6rem;
}

/* ===== MAPA Y CONTACTO ===== */
.map-section {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 16px 56px -16px rgba(10, 40, 80, 0.06);
    border: 1px solid rgba(30, 80, 180, 0.04);
}
.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
    color: #2a4a6a;
}
.contact-info-item i {
    color: #1a5bb5;
    width: 1.4rem;
    text-align: center;
}

/* ===== FOOTER MEJORADO ===== */
.footer-custom {
    max-width: 1100px;
    margin: 2rem auto 0;
    padding: 2.5rem 2.5rem 1.5rem;
    background: #ffffff;
    border-radius: 32px 32px 0 0;
    border: 1px solid rgba(30, 80, 180, 0.04);
    border-bottom: none;
    box-shadow: 0 -4px 24px rgba(10, 40, 80, 0.02);
}
footer .content-box {
    max-width: 1200px;
    margin: 0 auto;
}
footer .p-4 {
    border: 1px solid rgba(30, 80, 180, 0.06);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
}
.footer-link {
    color: #4a6a8a;
    text-decoration: none;
    transition: 0.2s;
    font-size: 0.92rem;
}
.footer-link:hover {
    color: #1a5bb5;
}
.btn-newsletter {
    background: #1a5bb5;
    color: #fff;
    border-radius: 0 60px 60px 0;
    border: none;
    padding: 0.5rem 1.4rem;
    transition: 0.2s;
}
.btn-newsletter:hover {
    background: #0f4a94;
    color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1.5rem;
    }
    .hero h1 {
        font-size: 2.6rem;
    }
    .hero-section {
        min-height: auto;
        padding: 6rem 0 3rem;
    }
    .menu-wrapper {
        padding: 0.5rem 1.2rem;
        flex-wrap: wrap;
    }
    .menu-nav {
        width: 100%;
        overflow-x: auto;
        padding: 0.3rem 0 0.2rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .menu-nav::-webkit-scrollbar {
        display: none;
    }
    .menu-nav .menu {
        gap: 0.1rem;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    .menu-item .menu-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.82rem;
        white-space: nowrap;
    }
    .menu-divider {
        display: none;
    }
    .logo-area {
        font-size: 1.1rem;
    }
    .logo-area .logo-icon img {
        width: 30px;
        height: 30px;
    }
    .content-box, .faq-section, .map-section, .footer-custom {
        padding: 1.8rem 1.2rem;
        margin: 1.5rem 0.8rem;
        border-radius: 24px;
    }
}

@media (max-width: 768px) {
    .menu-wrapper {
        padding: 0.6rem 1.2rem;
        flex-wrap: wrap;
    }
    .menu-nav {
        width: 100%;
        overflow-x: auto;
        padding: 0.4rem 0 0.2rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .menu-nav::-webkit-scrollbar {
        display: none;
    }
    .menu-nav .menu {
        gap: 0.1rem;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    .menu-item .menu-link {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    .menu-divider {
        display: none;
    }
    .logo-area {
        font-size: 1.1rem;
    }
    .logo-area .logo-icon img {
        width: 30px;
        height: 30px;
    }
    body {
        padding-top: 110px;
    }
}

@media (max-width: 576px) {
    .services-header h1 {
        font-size: 1.8rem;
    }
    .service-img {
        height: 140px;
    }
    .service-card {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .menu-item .menu-link span {
        display: none;
    }
    .menu-item .menu-link i {
        font-size: 1.1rem;
    }
    .menu-item .menu-link {
        padding: 0.4rem 0.7rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-primary-custom, .btn-secondary-custom {
        justify-content: center;
    }
}