@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,normal..800;1,normal..800&family=Poppins:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

html {
    font-family: "Lato", serif;
    background-color: #F0F0F0;
    width: 100% !important;
    overflow-x: hidden;
}

body {
    font-family: "Lato", serif;
    width: 100% !important;
    overflow-x: hidden;
    background-color: #F0F0F0;
}

/* Custom Navbar Styles */
.bg-nav1 {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid #eef2f5;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.logo_h {
    height: 40px;
    width: auto;
}

.nav-custom-link {
    font-family: 'Georgia', serif !important;
    font-size: 16px;
    font-weight: bold;
    color: #5B6774 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    transition: color 0.25s ease;
}

.nav-custom-link:hover {
    color: #5ba21e !important;
}

.nav-link.nav-custom-link.active {
    color: #5ba21e !important;
}

.btn-quote-nav {
    font-family: 'Georgia', serif !important;
    font-weight: bold;
    background-color: #5BA21E !important;
    color: #FFFFFF !important;
    border: none;
    border-radius: 2px;
    padding: 10px 24px;
    font-size: 16px;
    transition: all 0.25s ease;
    display: inline-block;
}

.btn-quote-nav:hover {
    background-color: #4a8418 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(91, 162, 30, 0.25);
}

.btn-quote-nav:active {
    transform: translateY(0);
}

.btn-login-nav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #F4F6F8;
    color: #2B3B4C !important;
    border: 1.5px solid #DCE2E6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-login-nav:hover {
    background-color: #5BA21E !important;
    color: #FFFFFF !important;
    border-color: #5BA21E;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(91, 162, 30, 0.25);
}

.btn-login-nav.active {
    background-color: #5BA21E;
    color: #FFFFFF !important;
    border-color: #5BA21E;
}


/* Adjustments for mobile view */
@media (max-width: 991px) {
    .nav-custom-link {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        text-align: center;
    }

    .btn-quote-nav {
        margin-top: 15px;
        margin-bottom: 10px;
        width: 100%;
        text-align: center;
    }

    .navbar-collapse {
        background-color: #ffffff;
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }
}

@media (max-width: 3060px) {}

@media (max-width: 1280px) {}

@media (max-width: 1199px) {}

/* MD */
@media (max-width: 991px) {}

/* SM */
@media (max-width: 767px) {
    .showPhone {
        display: block !important;
    }

    .hiddenPhone {
        display: none !important;
    }

    .centerP {
        text-align: center !important;
        align-items: center !important;
        align-content: center !important;
        display: block !important;
    }
}

/* XS */
@media (max-width: 575px) {}

/* XS */
@media (max-width: 330px) {}

/* Hero section styles */
.hero-section {
    background-image: url('../img/fondo_head2.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom center;
    padding-top: 100px;
    color: #FFFFFF;
}

/* Blueprint crosshairs */
.crosshair {
    width: 32px;
    height: 32px;
    opacity: 0.25;
    pointer-events: none;
}

.crosshair::before {
    content: '';
    position: absolute;
    background-color: #FFFFFF;
    top: 16px;
    left: 0;
    width: 32px;
    height: 1px;
}

.crosshair::after {
    content: '';
    position: absolute;
    background-color: #FFFFFF;
    top: 0;
    left: 16px;
    width: 1px;
    height: 32px;
}

.crosshair-circle {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 16px;
    height: 16px;
    border: 1px solid #FFFFFF;
    border-radius: 50%;
}

/* Typography styles */
.hero-subtitle {
    font-family: 'Georgia', serif !important;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #AAFA65 !important;
}

.hero-title {
    font-family: 'Impact', serif !important;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    color: #FFFFFF;
    max-width: 580px;
}

.hero-desc {
    font-family: 'Lato', sans-serif !important;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.6;
    color: #FFFFFF;
    max-width: 500px;
}

/* Buttons style */
.btn-quote {
    font-family: 'Helvetica', sans-serif !important;
    font-weight: bold;
    background-color: #5BA21E !important;
    color: #FFFFFF !important;
    border: none;
    border-radius: 2px;
    padding: 12px 28px;
    font-size: 16px;
    transition: all 0.25s ease;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(91, 162, 30, 0.15);
    text-decoration: none;
}

.btn-quote:hover {
    background-color: #4a8418 !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(91, 162, 30, 0.25);
}

.btn-outline-white {
    font-family: 'Helvetica', sans-serif !important;
    font-weight: bold;
    background-color: transparent !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 2px;
    padding: 12px 28px;
    font-size: 16px;
    transition: all 0.25s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: #FFFFFF !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

/* Blueprint dimension details */
.hero-footer-text {
    font-family: 'Poppins', sans-serif !important;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: #7E8FA0;
}

.dimension-line {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.25);
    position: relative;
}

.dimension-tick {
    position: absolute;
    width: 1px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.25);
    top: -5px;
}

.dimension-tick.left {
    left: 0;
}

.dimension-tick.right {
    right: 0;
}

/* WhatsApp widget style */
.btn-whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 40px;
    height: 40px;
    background-color: #4CAF50;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-whatsapp-float:hover {
    background-color: #45a049;
    transform: scale(1.1);
    color: #FFFFFF;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-title {
        font-size: 38px;
    }

    .hero-section {
        padding-top: 120px;
        padding-bottom: 60px;
        min-height: auto;
    }

    .crosshair {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-quote,
    .btn-outline-white {
        width: 100%;
        text-align: center;
    }

    .dimension-line-container {
        max-width: 100% !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 28px;
    }
}

/* Nuestras Áreas Section Styles */
.nuestras-areas-section {
    background-color: #EEF1F4 !important;
    padding: 1rem 0;
    color: #151C22;
}

.stat-col {
    position: relative;
    padding: 10px 0;
}

.stat-container {
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.stat-number {
    font-family: 'Georgia', sans-serif !important;
    font-size: 42px;
    font-weight: 500;
    color: #1B2430;
    margin: 0;
}

.stat-title {
    font-family: 'Georgia', sans-serif !important;
    font-size: 20px;
    font-weight: 500;
    color: #1B2430;
    margin: 0;
    letter-spacing: 0.5px;
}

.stat-label {
    font-family: 'Poppins', sans-serif !important;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #5B6774;
    text-transform: uppercase;
}

.areas-subtitle {
    font-family: 'Georgia', serif !important;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #5BA21E !important;
}

.areas-title {
    font-family: 'Impact', sans-serif !important;
    font-size: 32px;
    font-weight: 800;
    color: #1B2430;
}

.area-name {
    font-family: 'Helvetica', sans-serif !important;
    font-size: 20px;
    font-weight: 700;
    color: #1B2430;
}

.area-description {
    font-family: 'Lato', sans-serif !important;
    font-size: 14px;
    color: #5B6774;
}

.pink-badge {
    font-family: 'Helvetica', sans-serif !important;
    font-size: 12px;
    font-weight: bold;
    color: #FFFFFF;
    background-color: #E25FF4 !important;
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(226, 95, 244, 0.3);
}

@media (min-width: 768px) {
    .stat-col:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 10%;
        height: 80%;
        width: 1px;
        background-color: rgba(0, 0, 0, 0.1);
    }

    .area-col:not(:last-child) {
        border-right: 1px solid rgba(0, 0, 0, 0.08);
    }

}

@media (max-width: 767px) {
    .stat-col {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .stat-col:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    #hay-mas{
        padding: 0rem;
    }
}

/* Servicios Section Styles */
.servicios-section {
    position: relative;
    overflow: hidden;
}

.bg-brand-green {
    background-color: #72BB4E !important;
}

.bg-brand-green2 {
    background-color: #5BA21E !important;
}

.servicios-title {
    font-family: 'Impact', sans-serif !important;
    font-size: 42px;
    letter-spacing: 0.5px;
}

.servicios-lead {
    font-family: 'Lato', sans-serif !important;
    font-size: 16px;
    font-weight: normal;
    max-width: 600px;
    line-height: 1.5;
}

.btn-dark-nav {
    font-family: 'Helvetica', sans-serif !important;
    font-weight: bold;
    background-color: #151C22 !important;
    border: 1px solid #050505;
    color: #FFFFFF !important;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    letter-spacing: 1.5px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-dark-nav:hover {
    background-color: #000000 !important;
    transform: translateY(-1px);
    color: #FFFFFF !important;
}

.servicios-slider-outer {
    width: 100%;
}

.servicios-slider-inner {
    width: 100%;
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.servicio-card {
    width: 25%;
    height: 550px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background-color: #151C22;
    transition: background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

@media (max-width: 991px) {
    .servicio-card {
        width: 50%;
        height: 580px;
    }

    .servicios-title {
        font-size: 42px;
    }
}

@media (max-width: 575px) {
    .servicio-card {
        width: 100%;
        height: 500px;
    }

    .servicios-title {
        font-size: 34px;
    }
}

.servicio-img-wrapper {
    width: 100%;
    height: 325px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: height 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.servicio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.servicio-card:hover .servicio-img {
    transform: scale(1.05);
}

.servicio-card:hover .servicio-img-wrapper,
.servicio-card.active .servicio-img-wrapper {
    height: 295px;
}

@media (max-width: 575px) {
    .servicio-img-wrapper {
        height: 290px;
    }

    .servicio-card:hover .servicio-img-wrapper,
    .servicio-card.active .servicio-img-wrapper {
        height: 260px;
    }
}

.servicio-content {
    padding: 30px;
    flex-grow: 2;
    position: relative;
    z-index: 2;
    transition: background-color 0.3s ease;
}

.bg-slate {
    background-color: #151C22 !important;
}

.servicio-category {
    font-family: 'Helvetica', sans-serif !important;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.text-green {
    color: #8A8A8F !important;
    font-family: 'Montserrat', sans-serif !important;
}

.servicio-desc {
    font-family: 'Lato', sans-serif !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: #FFFFFF;
    transition: color 0.3s ease, font-weight 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.servicio-desc.text-dark-slate {
    color: #000000 !important;
    font-weight: 500;
}

.servicio-arrow {
    font-size: 28px;
    text-decoration: none;
    line-height: 1;
    display: inline-block;
    margin-top: 20px;
    transition: transform 0.25s ease, color 0.3s ease;
}

.servicio-card:hover .servicio-arrow {
    transform: translateX(5px);
}

/* Card Hover & Active States (matching user image layout) */

.servicio-card:hover .servicio-content,
.servicio-card .servicio-content.active {
    background-color: #72BB4E !important;
    min-height: 284px;
}

.servicio-card:hover .servicio-category,
.servicio-card .servicio-content.active .servicio-category {
    color: #FFFFFF !important;
}

.servicio-card:hover .servicio-desc,
.servicio-card .servicio-content.active .servicio-desc,
.servicio-card.active .servicio-desc {
    color: #1B2430 !important;
    font-weight: 500;
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.servicio-card:hover .servicio-arrow,
.servicio-card .servicio-content.active .servicio-arrow {
    color: #1B2430 !important;
}

.btn-slider-control {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #151C22;
    color: #FFFFFF;
    border: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-slider-control:hover {
    background-color: #000000;
    transform: scale(1.08);
}

.slider-counter {
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Reasons Section Styles */
.reasons-section {
    position: relative;
    width: 100%;
}

.reasons-top {
    background-image: linear-gradient(rgba(21, 28, 34, 0.45), rgba(21, 28, 34, 0.45)), url('../img/fondo_reason.png');
    background-size: cover;
    background-position: center;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: #FFFFFF;
}

.blueprint-hatching {
    position: absolute;
    top: 0;
    left: 0;
    width: 350px;
    height: 100%;
    background: repeating-linear-gradient(45deg,
            rgba(255, 255, 255, 0.06),
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px,
            transparent 8px);
    pointer-events: none;
    mask-image: linear-gradient(to right, black 50%, transparent);
    -webkit-mask-image: linear-gradient(to right, black 50%, transparent);
    z-index: 1;
}

.reasons-main-title {
    font-family: 'Impact', sans-serif !important;
    font-size: 56px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.reasons-main-desc {
    font-family: 'Lato', sans-serif !important;
    font-size: 15px;
    font-weight: normal;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
}

.reasons-bottom {
    background-color: #72BB4E !important;
    color: #1B2430;
}

.advantages-title {
    font-family: 'Impact', sans-serif !important;
    font-size: 32px;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.advantages-subtitle {
    font-family: 'Helvetica', sans-serif !important;
    font-size: 22px;
    font-weight: bold;
    color: #1B2430 !important;
}

.advantages-desc {
    font-family: 'Lato', sans-serif !important;
    font-size: 14px;
    line-height: 1.6;
    color: #1B2430 !important;
}

.advantage-tab {
    font-family: 'Impact', sans-serif !important;
    font-size: 36px;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: color 0.25s ease, padding-left 0.25s ease;
    user-select: none;
}

.advantage-tab:hover {
    color: #EBF8E3;
    padding-left: 8px;
}

.advantage-tab.active {
    color: #1B2430 !important;
}

.border-bottom-light {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

@media (max-width: 991px) {
    .reasons-main-title {
        font-size: 42px;
    }

    .advantage-tab {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .reasons-top {
        min-height: auto;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .blueprint-hatching {
        display: none;
    }
}

/* Footer Styles */
.footer-section {
    background-color: #151C22 !important;
    color: #FFFFFF;
}

.footer-tagline {
    font-family: 'Helvetica', sans-serif !important;
    font-size: 13px;
    color: #7E8FA0;
    letter-spacing: 0.5px;
}

.footer-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #4FAF30 !important;
}

.footer-links a {
    font-family: 'Helvetica', sans-serif !important;
    color: #C9D2DA;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: #72BB4E !important;
}

.social-icon {
    color: #72BB4E !important;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.social-icon:hover {
    transform: scale(1.15);
    opacity: 0.9;
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    opacity: 1;
}

.footer-copyright {
    font-family: monospace, Courier, monospace !important;
    font-size: 12px;
    color: #7E8FA0;
    letter-spacing: 0.5px;
}

/* Portafolio Section */
.portafolio-section {
    background-color: #FFFFFF !important;
    color: #1B2430;
}

.portafolio-subtitle {
    font-family: 'Courier New', monospace !important;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 2px;
    color: #5BA21E !important;
}

.portafolio-title {
    font-family: 'Impact', sans-serif !important;
    font-size: 48px;
    color: #1B2430;
    letter-spacing: 0.5px;
}

.portafolio-desc {
    font-family: 'Lato', sans-serif !important;
    font-size: 15px;
    color: #5B6774;
    font-weight: normal;
}

.portafolio-card {
    text-align: left;
    transition: transform 0.3s ease;
}

.portafolio-card:hover {
    transform: translateY(-4px);
}

.portafolio-img-wrapper {
    overflow: hidden;
    position: relative;
    border-radius: 0px;
}

.portafolio-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portafolio-card:hover .portafolio-img {
    transform: scale(1.03);
}

.portafolio-card-title {
    font-family: 'Impact', sans-serif !important;
    font-size: 18px;
    color: #1B2430;
    letter-spacing: 0.5px;
}

.portafolio-card-subtitle {
    font-family: 'Lato', sans-serif !important;
    font-size: 14px;
    color: #5B6774;
}

.portafolio-link {
    font-family: 'Lato', sans-serif !important;
    font-size: 16px;
    font-weight: 400;
    color: #5BA21E !important;
    text-decoration: none;
    display: inline-block;
    transition: color 0.25s ease, transform 0.25s ease;
}

.portafolio-link:hover {
    color: #4a8418 !important;
    transform: translateX(4px);
}

/* Contacto Resumen Section */
.contacto-resumen-section {
    background-color: #FFFFFF !important;
}

.contacto-resumen-title {
    font-family: 'Impact', sans-serif !important;
    font-size: 36px;
    color: #0F283F;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.contacto-resumen-desc {
    font-family: 'Lato', sans-serif !important;
    font-size: 15px;
    color: #6F6D71;
    line-height: 1.7;
    font-weight: normal;
}

.contact-info-col {
    padding-bottom: 20px;
}

.contact-info-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px;
    font-weight: bolder;
    letter-spacing: 1.5px;
    color: #00272B;
}

.contact-info-text {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 14px;
    color: #6F6D71;
    line-height: 1.6;
}

.contact-link {
    color: #6F6D71;
    font-family: 'Open Sans', sans-serif !important;
    text-decoration: none;
    transition: color 0.25s ease;
}

.contact-link:hover {
    color: #5BA21E !important;
}

/* Vertical borders separating the columns on larger devices */
@media (min-width: 768px) {
    .border-md-left {
        border-left: 1px solid rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 767px) {
    .portafolio-title {
        font-size: 38px;
    }

    .contacto-resumen-title {
        font-size: 28px;
    }

    .contact-info-col {
        padding-left: 15px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        margin-bottom: 20px;
    }

    .contact-info-col:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .ready-cta-title {
        font-size: 28px;
    }
}

/* Ready CTA Section */
.ready-cta-section {
    background-color: #4FAF30 !important;
}

.ready-cta-title {
    font-family: 'Impact', sans-serif !important;
    font-size: 38px;
    color: #1B2430;
    letter-spacing: 0.5px;
}

.ready-cta-desc {
    font-family: 'Lato', sans-serif !important;
    font-size: 16px;
    color: #1B2430;
    font-weight: normal;
}

.btn-ready-cta {
    font-family: 'Helvetica', sans-serif !important;
    font-size: 14px;
    font-weight: bold;
    background-color: #1B2430 !important;
    color: #FFFFFF !important;
    border: none;
    border-radius: 2px;
    padding: 12px 35px;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.btn-ready-cta:hover {
    background-color: #0d1218 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.ready-cta-wa-link {
    font-family: 'Helvetica', sans-serif !important;
    font-size: 15px;
    font-weight: bold;
    color: #1B2430;
    text-decoration: underline;
    transition: color 0.25s ease;
}

.ready-cta-wa-link:hover {
    color: #0d1218;
}

/* Quienes Somos Hero Section */
.qs-hero-section {
    background-image: url('../img/fondo_head_qs.png') !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 550px;
}

/* Portafolio Hero Section */
.pf-hero-section {
    background-image: url('../img/fondo_portafolio.png') !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 550px;
}

.impact{
    font-family: 'Impact', sans-serif !important;
}

.qs-hero-title {
    font-family: 'Impact', sans-serif !important;
    font-size: 56px;
    font-weight: normal;
    line-height: 1.1;
    color: #FFFFFF;
}

.qs-hero-desc {
    font-family: 'Lato', sans-serif !important;
    font-size: 15px;
    font-weight: normal;
    line-height: 1.7;
    color: #FFFFFF;
    max-width: 480px;
}

.qs-hero-logo {
    max-height: 360px;
}

.qs-hero-logo:hover {
    transform: scale(1.03);
}

@media (max-width: 991px) {
    .qs-hero-title {
        font-size: 42px;
    }

    .qs-hero-logo {
        max-height: 280px;
        margin-top: 30px;
    }
}

/* Origen Section */
.origen-section {
    background-color: #FFFFFF !important;
    color: #1B2430;
}

.origen-subtitle {
    font-family: 'Courier New', monospace !important;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 2px;
    color: #5BA21E !important;
}

.origen-title {
    font-family: 'Helvetica', sans-serif !important;
    font-size: 38px;
    font-weight: bold;
    color: #0F283F;
    letter-spacing: -0.5px;
}

.origen-desc {
    font-family: 'Lato', sans-serif !important;
    font-size: 15px;
    line-height: 1.7;
    color: #6F6D71;
    font-weight: normal;
}

.origen-quote {
    border-left: 4px solid #5BA21E;
    font-family: 'Lato', sans-serif !important;
    font-size: 16px;
    font-weight: bold;
    color: #0F283F;
    line-height: 1.6;
}

.fundador-img {
    border-radius: 20px;
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.fundador-name {
    font-family: 'Helvetica', sans-serif !important;
    font-size: 14px;
    font-weight: bold;
    color: #0F283F;
    letter-spacing: 0.5px;
}

.fundador-role {
    font-family: 'Helvetica', sans-serif !important;
    font-size: 13px;
    color: #6F6D71;
}

@media (max-width: 767px) {
    .origen-title {
        font-size: 30px;
    }

    .fundador-card {
        margin-top: 30px;
    }
}

/* Mision Vision Section */
.mivi-section {
    background-color: #E2E6E9 !important;
    color: #1B2430;
}

.mivi-subtitle {
    font-family: 'Courier New', monospace !important;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 2px;
    color: #5BA21E !important;
}

.mivi-title {
    font-family: 'Helvetica', sans-serif !important;
    font-size: 26px;
    font-weight: bold;
    color: #0F283F;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.mivi-desc {
    font-family: 'Helvetica', sans-serif !important;
    font-size: 15px;
    line-height: 1.7;
    color: #6F6D71;
    font-weight: normal;
}

@media (max-width: 767px) {
    .mivi-title {
        font-size: 22px;
    }
}

/* Valores Section */
.valores-qs-section {
    background-color: #FFFFFF !important;
}

.valores-subtitle {
    font-family: 'Courier New', monospace !important;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 2px;
    color: #5BA21E !important;
}

.valores-title {
    font-family: 'Impact', sans-serif !important;
    font-size: 48px;
    color: #151C23;
    letter-spacing: 0.5px;
}

.valores-desc {
    font-family: 'Lato', sans-serif !important;
    font-size: 16px;
    color: #5B6774;
    font-weight: normal;
}

.valor-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background-color: #FFFFFF;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
    padding: 3rem 1rem !important;
}

.valor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.valor-card-title {
    font-family: 'Impact', sans-serif !important;
    font-size: 24px;
    color: #5BA21E !important;
    letter-spacing: 0.5px;
}

.valor-card-desc {
    font-family: 'Lato', sans-serif !important;
    font-size: 14px;
    color: #6F6D71;
    line-height: 1.6;
    font-weight: normal;
}

@media (max-width: 767px) {
    .valores-title {
        font-size: 38px;
    }
}

/* Nuestro Equipo Section */
.equipo-subtitle {
    font-family: 'Courier New', monospace !important;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 2px;
    color: #5BA21E !important;
}

.equipo-content-bottom {
    background-color: #151C23 !important;
    color: #FFFFFF;
}

.equipo-title {
    font-family: 'Impact', sans-serif !important;
    font-size: 42px;
    color: #FFFFFF;
    letter-spacing: 0.5px;
}

.equipo-desc {
    font-family: 'Helvetica', sans-serif !important;
    font-size: 15px;
    color: #AAB8C4;
    font-weight: normal;
    max-width: 580px;
    line-height: 1.6;
}

.equipo-card {
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background-color: transparent;
    transition: border-color 0.25s ease;
}

.equipo-card:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.equipo-avatar-icon {
    color: #7E8FA0;
    opacity: 0.65;
    transition: opacity 0.25s ease, color 0.25s ease;
}

.equipo-card:hover .equipo-avatar-icon {
    color: #FFFFFF;
    opacity: 1;
}

.equipo-role {
    font-family: 'Courier New', monospace !important;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #7E8FA0;
    transition: color 0.25s ease;
}

.equipo-card:hover .equipo-role {
    color: #FFFFFF;
}

@media (max-width: 767px) {
    .equipo-title {
        font-size: 32px;
    }

    .equipo-card {
        margin-bottom: 15px;
    }
}

/* Casos de Exito Portafolio Section */
.casos-pf-section {
    background-color: #E2E6E9 !important;
    color: #1B2430;
}

.casos-subtitle {
    font-family: 'Courier New', monospace !important;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 2px;
    color: #5BC400 !important;
}

.casos-title {
    font-family: 'Impact', sans-serif !important;
    font-size: 48px;
    color: #1B2430;
    letter-spacing: 0.5px;
}

.casos-desc {
    font-family: 'Lato', sans-serif !important;
    font-size: 16px;
    color: #5B6774;
    font-weight: normal;
}

.caso-card {
    text-align: left;
    transition: transform 0.3s ease;
}

.caso-card:hover {
    transform: translateY(-4px);
}

.caso-img-wrapper {
    overflow: hidden;
    border-radius: 0px;
    aspect-ratio: 16 / 10;
    width: 100%;
}

.caso-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.caso-card:hover .caso-img {
    transform: scale(1.04);
}

.caso-code {
    font-family: 'Courier New', monospace !important;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 1px;
    color: #E8600C !important;
}

.caso-card-title {
    font-family: 'Helvetica', sans-serif !important;
    font-size: 18px;
    font-weight: bold;
    color: #1B2430;
    letter-spacing: -0.3px;
}

.caso-card-category {
    font-family: 'Helvetica', sans-serif !important;
    font-size: 14px;
    color: #5B6774;
    font-weight: normal;
}

@media (max-width: 767px) {
    .casos-title {
        font-size: 38px;
    }
}

/* ==========================================================================
   PROFESSIONAL ANIMATIONS & MOTION SYSTEM
   ========================================================================== */

/* 1. Global & Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* 2. Keyframes Definitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(0.5deg);
    }
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.6), 0 4px 10px rgba(0, 0, 0, 0.3);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(76, 175, 80, 0), 0 6px 14px rgba(0, 0, 0, 0.35);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0), 0 4px 10px rgba(0, 0, 0, 0.3);
    }
}

@keyframes crosshairPulse {
    0%, 100% {
        opacity: 0.25;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.15);
    }
}

/* 3. Hero & Load Animations */
.hero-subtitle {
    animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title {
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.hero-desc {
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-buttons {
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.hero-img-placeholder,
.qs-hero-logo {
    animation: heroFloat 6s ease-in-out infinite, scaleIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.crosshair {
    animation: crosshairPulse 4s ease-in-out infinite;
}

/* 4. Navigation & Header Animations */
.bg-nav1 {
    transition: background-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease !important;
}

.bg-nav1.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.nav-custom-link {
    position: relative;
    transition: color 0.3s ease !important;
}

.nav-custom-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: #5ba21e;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-custom-link:hover::after,
.nav-custom-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* 5. Scroll Reveal Classes (GPU Accelerated - Smooth & Slow Flow) */
.reveal-on-scroll {
    opacity: 0;
    will-change: opacity, transform;
    transition: opacity 1.3s cubic-bezier(0.22, 1, 0.36, 1), transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-fade-up {
    transform: translateY(50px);
}

.reveal-fade-left {
    transform: translateX(-50px);
}

.reveal-fade-right {
    transform: translateX(50px);
}

.reveal-scale {
    transform: scale(0.90);
}

.reveal-on-scroll.active-reveal {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Stagger Delays for Grid Elements */
.delay-100 { transition-delay: 0.15s !important; }
.delay-200 { transition-delay: 0.30s !important; }
.delay-300 { transition-delay: 0.45s !important; }
.delay-400 { transition-delay: 0.60s !important; }
.delay-500 { transition-delay: 0.75s !important; }

/* 6. Enhanced Card & Button Micro-Interactions */
.servicio-card {
    transition: background-color 0.3s ease !important;
}

.area-col {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.area-col:hover {
    transform: translateY(-5px);
}

.area-icon img {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.area-col:hover .area-icon img {
    transform: scale(1.12) rotate(3deg);
}

.valor-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease !important;
}

.valor-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 14px 30px rgba(91, 162, 30, 0.12) !important;
    border-color: rgba(91, 162, 30, 0.3) !important;
}

.caso-card, .portafolio-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.caso-card:hover, .portafolio-card:hover {
    transform: translateY(-8px) !important;
}

.equipo-card {
    transition: transform 0.35s ease, border-color 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease !important;
}

.equipo-card:hover {
    transform: translateY(-6px) !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3) !important;
}

.fundador-card {
    transition: transform 0.4s ease;
}

.fundador-card:hover {
    transform: translateY(-5px);
}

/* Button Shimmers & Hovers */
.btn-quote, .btn-quote-nav, .btn-ready-cta {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s ease !important;
}

.btn-quote:hover, .btn-quote-nav:hover, .btn-ready-cta:hover {
    transform: translateY(-2px) scale(1.02) !important;
}

/* Floating WhatsApp Button Pulse */
.btn-whatsapp-float {
    animation: whatsappPulse 2.5s infinite !important;
}

/* 7. Modal & Lightbox Smooth Animations */
.modal.fade .modal-dialog {
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
}

.lightbox-image {
    transition: opacity 0.25s ease, transform 0.25s ease !important;
}

#hay-mas{
    background-image: url('../img/hay_mas.png');
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
}