html,
body {
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #f3f5f7;
    color: #1b2533;
}

header {
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}



/* NAVBAR */
.navbar {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    min-height: 64px;
}

.navbar-brand img {
    height: 44px;
}

.nav-main .nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: #324865;
    padding-inline: 0.75rem;
}

.nav-main .nav-link:hover {
    color: #1b3b63;
}

.btn-auditoria {
    background-color: #37a866;
    border-radius: 0.75rem;
    /* menos redondo */
    padding: 0.55rem 1.7rem;
    /* más corto y algo más alto */
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    border: none;
    box-shadow: 0 4px 10px rgba(29, 129, 75, 0.4);
}

.btn-auditoria:hover {
    background-color: #2f9359;
    color: #fff;
}



/* HERO */
.hero-juanm {
    background-color: #032c4b;
    color: #ffffff;
}

/* Curva blanca al final del hero */
.hero-juanm::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    /* evita línea entre secciones */
    height: 80px;
    background: #ffffff;
    clip-path: path("M0,40 C300,80 900,0 1600,40 L1600,80 L0,80 Z");
}


/* Capa con el patrón SVG (+) */
.hero-bg-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.25;
    /* baja intensidad general del patrón */
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.35'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-title {
    font-size: clamp(2.4rem, 3.2vw + 1.4rem, 3.4rem);
    line-height: 1.05;
    font-weight: 800;
}

.hero-subtitle {
    max-width: 32rem;
}

.hero-badge {
    background-color: #1a9f5d;
    color: #fff;
    border-radius: 999px;
    padding: 0.35rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.hero-badge .bi {
    font-size: 0.95rem;
    /* tamaño del rayo */
}

.hero-ctas .btn {
    border-radius: 0.9rem;
    padding: 0.9rem 2.2rem;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    white-space: normal;
}

/* Botón verde izquierdo */
.btn-hero-primary {
    background-color: #37a866;
    color: #fff;
    border: none;
    box-shadow: 0 10px 24px rgba(29, 129, 75, 0.55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-hero-primary:hover {
    background-color: #2f9359;
    color: #fff;
}

.btn-hero-primary .bi {
    font-size: 1.05rem;
}

/* Botón blanco derecho */
.btn-hero-secondary {
    background-color: #ffffff;
    color: #0f2236;
    border: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-hero-secondary:hover {
    background-color: #f5f7fa;
    color: #0f2236;
}


/* Contenedor de la imagen tipo tarjeta */
.hero-image-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
    transform: translateZ(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Efecto al pasar el mouse (ligero “lift + zoom”) */
.hero-image-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
}

/* Tarjeta 3–10 horas */
.hero-hours-card {
    position: absolute;
    left: 18px;
    bottom: 22px;
    background-color: #ffffff;
    border-radius: 1.1rem;
    padding: 0.75rem 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.hero-hours-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #1fb46a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
}

.hero-hours-title {
    font-weight: 800;
    font-size: 1.1rem;
    color: #122235;
}

.hero-hours-subtitle {
    font-size: 0.8rem;
    color: #7a8ba0;
    line-height: 1.2;
}

.alert-hero {
    background: rgba(3, 26, 49, 0.85);
    border-radius: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e5edf6;
    max-width: 32rem;
}

/* HERO imagen + badge horas */
/* .hero-img-wrapper {
    max-width: 620px;
    margin-inline: auto;
} */

/* .hero-hours {
    bottom: 8%;
    left: 8%;
    border-radius: 999px;
    padding-inline: 1.2rem;
} */

.hero-hours-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #37a866;
    color: #fff;
    font-size: 1.2rem;
}


/* SECCIONES GENERALES */
.section-title {
    font-weight: 800;
    font-size: 1.75rem;
    color: #122235;
}


/* SECCION PROBLEMAS */
.section-problemas {
    background-color: #f3f5f7;
}

.section-problemas .section-title {
    font-weight: 800;
    font-size: 2.1rem;
    color: #122235;
}

.section-problemas .section-subtitle {
    color: #64748b;
    font-size: 0.98rem;
}

.problema-card {
    background-color: #d9e6f0;
    border-radius: 1.3rem;
    padding: 1.9rem 1.8rem;
    box-shadow: 0 18px 45px rgba(15, 35, 60, 0.12);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

/* Efecto hover (se agrandan un poco) */
/* .problema-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 26px 65px rgba(15, 35, 60, 0.18);
} */

.problema-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #1fb46a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.problema-title {
    font-weight: 800;
    font-size: 1.02rem;
    margin-bottom: 0.6rem;
    color: #142842;
}

.problema-text {
    font-size: 0.9rem;
    color: #4b617a;
    margin: 0;
}

.problema-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #1fb46a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problema-icon .icon-cerebro {
    width: 26px;
    height: 26px;
    fill: #ffffff;
}




/* SECCION ENTREGO */
.section-entrego {
    background: radial-gradient(circle at top left, #f1f6fb 0, #dde8f3 45%, #d3e0ee 100%);
}

.entrega-badge {
    background-color: #1fb46a;
    color: #ffffff;
    border-radius: 999px;
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.entrega-badge .bi {
    font-size: 0.9rem;
}

.section-entrego .section-title {
    font-weight: 800;
    font-size: 2.1rem;
    color: #122235;
}

.section-entrego .section-subtitle {
    font-size: 0.98rem;
    color: #64748b;
}

/* Imagen izquierda */
.entrego-image-card {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 26px 60px rgba(15, 35, 60, 0.35);
    transform: translateZ(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.entrego-image-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 32px 80px rgba(15, 35, 60, 0.5);
}

.entrego-image {
    display: block;
    width: 100%;
    height: auto;
}

/* Tarjetas derechas */
.entrego-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: #ffffff;
    border-radius: 1.2rem;
    padding: 1.4rem 1.6rem;
    border-left: 4px solid #1fb46a;
    box-shadow: 0 18px 45px rgba(15, 35, 60, 0.12);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.entrego-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(15, 35, 60, 0.18);
}

.entrego-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1fb46a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.4rem;
}

.entrega-pill {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1fb46a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.4rem;
}



.entrego-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #142842;
    margin-bottom: 0.35rem;
}

.entrego-card-text {
    font-size: 0.9rem;
    color: #4b617a;
}

/* Bloque de resultado */
.entrego-result {
    margin-top: 0.5rem;
    background-color: #0f2236;
    color: #ffffff;
    border-radius: 0.9rem;
    padding: 0.9rem 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
}

.entrego-result-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #1fb46a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1rem;
}



















.section-como-trabajo {
    background-color: #f3f5f7;
}

.metodologia-badge {
    background-color: #1fb46a;
    color: #ffffff;
    border-radius: 999px;
    padding: 0.3rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.metodologia-badge .bi {
    font-size: 0.9rem;
}

.section-como-trabajo .section-title {
    font-weight: 800;
    font-size: 2.1rem;
    color: #122235;
}

.section-como-trabajo .section-subtitle {
    font-size: 0.96rem;
    color: #64748b;
}

/* Simulación de 5 columnas iguales en desktop */
@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* Tarjetas de pasos */
.paso-card {
    background-color: #ffffff;
    border-radius: 1.1rem;
    padding: 1.6rem 1.4rem 1.8rem;
    box-shadow: 0 18px 45px rgba(15, 35, 60, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.paso-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 65px rgba(15, 35, 60, 0.16);
}

.paso-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.paso-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #1fb46a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.4rem;
    box-shadow: 0 10px 24px rgba(29, 129, 75, 0.4);
}

.paso-num {
    position: absolute;
    top: 72px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #0b2440;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(11, 36, 64, 0.4);
}

.paso-title {
    margin-top: 2.1rem;
    font-size: 1rem;
    font-weight: 800;
    color: #142842;
}

.paso-text {
    font-size: 0.9rem;
    color: #4b617a;
    margin: 0;
}

/* CTA inferior */
.como-cta {
    margin-top: 1rem;
    background-color: #0b2440;
    color: #ffffff;
    border-radius: 1.1rem;
    padding: 1.9rem 1.5rem;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.btn-como-cta {
    background-color: #37a866;
    border-radius: 999px;
    padding: 0.8rem 2.4rem;
    font-weight: 700;
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 24px rgba(29, 129, 75, 0.55);
}

.btn-como-cta:hover {
    background-color: #2f9359;
    color: #ffffff;
}














.section-resultados {
    background: radial-gradient(circle at top, #f1f6fb 0, #dde8f3 45%, #d3e0ee 100%);
}

.resultados-badge {
    background-color: #1fb46a;
    color: #ffffff;
    border-radius: 999px;
    padding: 0.3rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.resultados-badge .bi {
    font-size: 0.9rem;
}

.section-resultados .section-title {
    font-weight: 800;
    font-size: 2.1rem;
    color: #122235;
}

.section-resultados .section-subtitle {
    font-size: 0.96rem;
    color: #64748b;
}

/* Tarjetas */
.resultado-card {
    background-color: #ffffff;
    border-radius: 1.2rem;
    padding: 1.8rem 1.6rem 1.9rem;
    box-shadow: 0 18px 45px rgba(15, 35, 60, 0.12);
    position: relative;
    text-align: left;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.resultado-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 65px rgba(15, 35, 60, 0.18);
}

/* Bloque icono + pill */
.resultado-top {
    align-items: center;
}

/* Icono circular */
.resultado-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #4fd18b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.8rem;
    box-shadow: 0 18px 40px rgba(29, 129, 75, 0.45);
}

/* Pill oscura */
.resultado-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.45rem 1.2rem;
    border-radius: 999px;
    background-color: #0b2440;
    color: #ffffff;
    white-space: nowrap;
}

.resultado-pill-main {
    font-weight: 800;
    font-size: 1rem;
}

.resultado-pill-sub {
    font-size: 0.8rem;
    opacity: 0.85;
}

/* Textos */
.resultado-title {
    font-size: 1rem;
    font-weight: 800;
    color: #142842;
    margin-bottom: 0.4rem;
}

.resultado-text {
    font-size: 0.9rem;
    color: #4b617a;
}
















.cta-auditoria {
    background-color: #032c4b;
    color: #ffffff;
}

/* Icono circular superior */
.cta-auditoria-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #1fb46a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.8rem;
    margin-inline: auto;
    box-shadow: 0 20px 45px rgba(29, 129, 75, 0.55);
}

.cta-auditoria-title {
    font-weight: 800;
    font-size: clamp(2rem, 2.8vw + 1.2rem, 2.8rem);
    line-height: 1.05;
}

.cta-auditoria-subtitle {
    font-size: 1rem;
    color: #d5e2f1;
}

/* Badges intermedios */
.cta-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    background-color: rgba(6, 32, 58, 0.95);
    color: #ffffff;
    font-size: 0.9rem;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

/* Botón principal */
.btn-cta-main {
    background-color: #37a866;
    border-radius: 999px;
    padding: 0.9rem 2.6rem;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    border: none;
    box-shadow: 0 18px 48px rgba(29, 129, 75, 0.65);
}

.btn-cta-main:hover {
    background-color: #2f9359;
    color: #ffffff;
}

/* Nota inferior */
.cta-auditoria-note {
    font-size: 0.85rem;
    color: #d5e2f1;
}







.footer-main {
    background-color: #1b1f23;
    color: #e5e7eb;
    font-size: 0.9rem;
}

.footer-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f9fafb;
    margin-bottom: 0.75rem;
}

.footer-text {
    color: #cbd5e1;
    max-width: 280px;
}

.footer-links a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    padding: 0.15rem 0;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact-item {
    color: #e5e7eb;
    margin-bottom: 0.15rem;
}

.footer-contact-item a {
    color: inherit;
    text-decoration: none;
}

.footer-contact-item a:hover {
    text-decoration: underline;
}

/* Botón contacto */
.btn-footer-contact {
    background-color: #37a866;
    border-radius: 999px;
    padding: 0.55rem 1.6rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 26px rgba(29, 129, 75, 0.55);
}

.btn-footer-contact:hover {
    background-color: #2f9359;
    color: #ffffff;
}

/* Redes */
.footer-social {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    text-decoration: none;
    font-size: 1rem;
}

.footer-social:hover {
    background-color: #37a866;
    border-color: #37a866;
    color: #ffffff;
}

/* Línea y parte baja */
.footer-divider {
    border-color: rgba(148, 163, 184, 0.6);
}

.footer-copy {
    color: #9ca3af;
}

.footer-legal a {
    color: #9ca3af;
    font-size: 0.85rem;
    text-decoration: none;
}

.footer-legal a:hover {
    color: #ffffff;
}









#btn-home-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 999;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #37a866, #2f9359);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
    transform: translateY(10px) scale(0.9);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

#btn-home-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

#btn-home-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

#btn-home-top i {
    pointer-events: none;
}





/* Form contacto */

/* Fondo de la sección del formulario */
.section-cta {
    background: radial-gradient(circle at top, #0b2440 0, #020b16 55%);
}

/* Tarjeta del formulario */
.card-form {
    border-radius: 1.5rem;
    border: none;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

/* Título y texto dentro del CTA */
.section-cta .section-title {
    color: #ffffff;
}

.section-cta p.text-muted {
    color: #d5e2f1 !important;
}

/* Campos del formulario */
.card-form .form-control,
.card-form textarea {
    border-radius: 0.7rem;
    border: 1px solid #d0d7e2;
    font-size: 0.95rem;
}

.card-form .form-control:focus,
.card-form textarea:focus {
    border-color: #37a866;
    box-shadow: 0 0 0 0.15rem rgba(55, 168, 102, 0.2);
}

/* Botón principal del formulario */
.card-form .btn-primary-hero {
    margin-top: 0.5rem;
}

/* Mensajes de validación */
.card-form .invalid-feedback {
    font-size: 0.8rem;
}


/* Botón principal del formulario */
.card-form .btn-primary-hero {
    background: linear-gradient(135deg, #37a866, #2f9359);
    border: none;
    border-radius: 999px;
    padding: 0.85rem 2.4rem;
    font-weight: 700;
    font-size: 0.98rem;
    color: #ffffff;
    box-shadow: 0 16px 42px rgba(29, 129, 75, 0.65);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.card-form .btn-primary-hero:hover {
    background: linear-gradient(135deg, #2f9359, #27804c);
    transform: translateY(-2px);
    box-shadow: 0 20px 52px rgba(29, 129, 75, 0.8);
    color: #ffffff;
}

.card-form .btn-primary-hero:active {
    transform: translateY(0);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
}






/* Cards */
.card-feature,
.card-form {
    border-radius: 1rem;
    border: 1px solid rgba(15, 35, 60, 0.06);
    box-shadow: 0 18px 50px rgba(15, 35, 60, 0.06);
}

.step-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: #4b6a8d;
    margin-bottom: 0.4rem;
}

/* CTA final */
.section-title {
    color: #ffffff;
}

.card-form {
    background-color: #ffffff;
    color: #1b2533;
}

/* Utilidades */
.py-lg-6 {
    padding-top: 5.5rem !important;
    padding-bottom: 5.5rem !important;
}