:root {
    --sihof-primary: #1f3a5f;
    /* azul principal */
    --sihof-secondary: #4f6d8c;
    /* azul grisáceo */
    --sihof-accent: #f2f5f9;
    /* gris claro */
    --sihof-highlight: #F28F27;
    /* naranjo Sihoff */
    --sihof-highlight-soft: #FFF3E6;
    /* naranjo suave */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
}

.navbar {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, .9);
    border-bottom: 1px solid rgba(31, 58, 95, .08);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.dropdown-menu {
    border-radius: 1rem;
    padding: .75rem 0;
    margin-top: .5rem;
    /* reduce el gap que provoca el cierre */
    display: none;
}

/* Aumentar área de hover del item padre */
/* Aumentar área de hover sin desplazar el texto */
.nav-item.dropdown {
    position: relative;
}

.nav-item.dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -12px;
    height: 12px;
    /* zona colchón invisible */
}

/* Mostrar dropdown al hover */
/* Mantener abierto el dropdown cuando el mouse está en el link O en el menú */
.nav-item.dropdown:hover>.dropdown-menu,
.nav-item.dropdown:focus-within>.dropdown-menu {
    display: block;
}

/* Quitar ícono/caret del dropdown */
.dropdown-toggle::after {
    display: none !important;
}

.dropdown-item {
    padding: .6rem 1.25rem;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: var(--sihof-highlight-soft);
    color: var(--sihof-primary);
}

.navbar .nav-link {
    font-weight: 500;
    color: var(--sihof-primary);
    margin-left: .75rem;
    margin-right: .75rem;
    position: relative;
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 3px;
    background-color: var(--sihof-highlight);
    border-radius: 10px;
    transition: width .3s ease;
}

/* Evitar subrayado en CTA */
.navbar-cta::after {
    display: none !important;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 100%;
}

.navbar-cta {
    background-color: var(--sihof-highlight);
    color: #fff !important;
    padding: .85rem 1.6rem;
    border-radius: 999px;
    margin-left: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
}

.navbar-cta:hover {
    background-color: #d97706;
    color: #fff !important;
}

.hero {
    background: linear-gradient(120deg, rgba(31, 58, 95, .88), rgba(31, 58, 95, .6)), url("../img/CORREDORA.jpg") center/cover no-repeat;
    color: #fff;
    min-height: 95vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    letter-spacing: -1px;
}

.btn-primary {
    background-color: var(--sihof-highlight);
    border-color: var(--sihof-highlight);
    color: #fff;
    border-radius: 999px;
    padding: .75rem 2rem;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #d97706;
    border-color: #d97706;
}

.btn-outline-primary {
    color: var(--sihof-highlight);
    border-color: var(--sihof-highlight);
    border-radius: 999px;
    padding: .65rem 1.75rem;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background-color: var(--sihof-highlight);
    color: #fff;
}

.icon-box {
    border-top: 4px solid var(--sihof-highlight);
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
    height: 100%;
    transition: all .3s ease;
}

.icon-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .12);
}

.section-padding {
    padding: 6rem 0;
}

.badge-service {
    background: rgba(242, 143, 39, .2);
    color: #fff;
    font-weight: 500;
    padding: .6rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(242, 143, 39, .6);
}

#servicios {
    background: linear-gradient(180deg, var(--sihof-highlight-soft), #ffffff);
}

footer {
    background-color: #121212;
    /* negro mate */
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 56px;
    height: 56px;
    bottom: 24px;
    right: 24px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    z-index: 999;
    transition: transform .2s ease, box-shadow .2s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
    color: #fff;
}

/* Footer social icons */
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    margin-right: .5rem;
    transition: background .2s ease, transform .2s ease;
    text-decoration: none;
    font-size: 20px;
}

.footer-social a:hover {
    background: var(--sihof-highlight);
    transform: translateY(-2px);
    color: #fff;
}

.service-link {
    font-weight: 600;
    color: var(--sihof-highlight);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    transition: color .2s ease, transform .2s ease;
}

.service-link:hover {
    color: #d97706;
    transform: translateX(4px); 
}

/* ===== CTA Section ===== */
.section-cta {
    background: linear-gradient(135deg, var(--sihof-primary) 0%, #0f2340 100%);
}

/* ===== Icon inside icon-box ===== */
.icon-box-icon {
    font-size: 2.5rem;
    color: var(--sihof-highlight);
    margin-bottom: 1.25rem;
    display: block;
    line-height: 1;
}

/* ===== Numbered step circle for process cards ===== */
.step-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--sihof-highlight);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    flex-shrink: 0;
}

/* ===== Benefit list items ===== */
.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    margin-bottom: 1rem;
}

.benefit-item i {
    font-size: 1.4rem;
    color: var(--sihof-highlight);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ===== Form focus ===== */
.form-control:focus,
.form-select:focus {
    border-color: var(--sihof-highlight);
    box-shadow: 0 0 0 .25rem rgba(242, 143, 39, .2);
}

/* ===== Contacto section ===== */
#contacto.section-padding {
    background: linear-gradient(180deg, var(--sihof-accent) 0%, #fff 60%);
}

/* ===== Hero badge contrast fix ===== */
.badge-service-dark {
    background: rgba(242, 143, 39, .15);
    color: var(--sihof-primary);
    font-weight: 600;
    padding: .6rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(242, 143, 39, .5);
}

@media (max-width: 991px) {

    .navbar-collapse {
    padding: 20px;
    }

    .btn-cta-mobile {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 600;
    background: #f28c28;
    color: white;
    margin-top: 20px;
    }

    .navbar-nav .nav-item {
    margin-bottom: 12px;
    }

    .navbar-nav .nav-link {
    font-size: 18px;
    font-weight: 500;
    padding: 10px 0;
    color: #2c3e50;
    }


    .btn-cta-mobile {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 600;
    background: #f28c28;
    color: white;
    margin-top: 15px;
    }


}