/* === RESET === */
body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
}

/* === TOP BAR === */
.top-bar {
    position: relative;
    width: 100%;
    background: rgba(0, 40, 80, 0.85);
    /* Color azul oscuro con opacidad */
    padding: 17.5px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    z-index: 1000;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
}

.top-bar-item i {
    color: #00c0f3;
    font-size: 14px;
}

/* === MAIN HEADER === */
.main-header {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 20px 40px;
    background: transparent;
    transition: background 0.5s ease, box-shadow 0.3s ease;
    z-index: 999;
    height: 120px;
    justify-content: flex-start;
    gap: 400px;
}

.main-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #183650;
    /* Azul oscuro con opacidad */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Ajuste al body para evitar el espacio cuando el header y top-bar son fijos */
body.sticky-header-padding {
    padding-top: 172px;
}

.logo img {
    height: 90px;
}

/* === NAV MENU === */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 10px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #00c0f3;
    transition: width 0.3s;
    position: absolute;
    bottom: -5px;
    left: 0;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* === CORPORATIVA DROPDOWN === */
.corporativa-menu {
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.corporativa-menu span {
    background: #00c0f3;
    color: white;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
}

.corporativa-menu .dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background-color: #183650;
    min-width: 220px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1001;
}

.corporativa-menu .dropdown-content a {
    color: white;
    padding: 12px 16px;
    display: block;
    text-decoration: none;
    transition: background 0.3s ease;
}

.corporativa-menu .dropdown-content a:hover {
    background-color: #00c0f3;
}

.corporativa-menu.active .dropdown-content {
    display: block;
}

/* === HERO SECTION === */
.hero {
    position: relative;
    height: 750px;
    margin-top: -273px;
    z-index: 0;
    overflow: hidden;
}

.hero img.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 172px;
    box-sizing: border-box;
    position: relative;
    /* Necesario para que z-index funcione */
    z-index: 1;
    /* MÁS QUE LA IMAGEN */
}

.hero-text {
    color: white;
    max-width: 600px;
    padding: 3rem;
    background: rgba(24, 54, 80, 0.85);
    margin-left: 10%;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    border-left: 4px solid #00c0f3;
    padding-left: 10px;
}

/* === WELCOME SECTION === */
.welcome-section {
    padding: 80px 10%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.welcome-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.welcome-text {
    flex: 1 1 500px;
    max-width: 600px;
}

.welcome-text h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #183650;
    border-left: 4px solid var(--celeste);
    padding-left: 10px;
}

.welcome-text p {
    font-size: 18px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 30px;
}

.welcome-text h2 {
    font-size: 28px;
    font-weight: bold;
    color: #183650;
}

.welcome-image {
    flex: 1 1 400px;
    max-width: 600px;
}

.welcome-image img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* === STATS === */
.stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #00c0f3;
    padding: 60px 5%;
    flex-wrap: nowrap;
    /* ❗️ Evita que los ítems salten a otra línea */
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: row;
    /* 📌 Cambia a fila */
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    /* Espacio entre icono y texto */
    flex: 1 1 0;
    min-width: 0;
}

.stat-icon {
    font-size: 30px;
    color: white;
    flex-shrink: 0;
}

.stat-content {
    display: flex;
    flex-direction: column;
    color: black;
    text-align: left;
    white-space: normal;
    word-break: break-word;
    max-width: 140px;
    /* limita el ancho para forzar el salto */
}

.stat-content h3 {
    font-size: 24px;
    margin: 0;
    font-weight: bold;
}

.stat-content p {
    font-size: 12px;
    margin: 5px 0 0;
}

/* === CTA BANNER === */
.cta-banner {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.7);
    /* oscurece un poco la imagen para mayor contraste */
}

.cta-overlay {
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.7);
    /* Fondo translúcido blanco */
    padding: 40px 10%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.cta-text {
    max-width: 800px;
    color: #183650;
}

.cta-text h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
}

.cta-text p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #222;
}

.cta-button {
    background-color: #00c0f3;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background-color: #0098c3;
}

.industries-cotizacion {
    display: flex;
    background-color: white;
    min-height: 100%;
    align-items: stretch;
}

.industries-left,
.cotizacion-right {
    flex: 1;
    padding: 60px;
    box-sizing: border-box;
}

.industries-left {
    flex: 0 0 55%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 40px;
    background-color: white;
    color: #183650;
}

.industries-content {
    max-width: 600px;
    width: 100%;
}

.section-title {
    border-left: 4px solid #00c0f3;
    padding-left: 10px;
    font-size: 32px;
    margin-bottom: 30px;
    color: inherit;
}

.industries-text {
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #555;
}

.industries-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 40px;
}

.industry {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-weight: bold;
    font-size: 13px;
}

.industry i {
    font-size: 40px;
    color: #00c0f3;
    margin-bottom: 10px;
}

.cotizacion-right {
    flex: 0 0 45%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: #183650;
    padding-left: 40px;
}

.form-container {
    width: 100%;
    max-width: 500px;
    color: white;
}

.form-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-container label {
    font-size: 14px;
    color: #ccc;
}

.form-container input,
.form-container textarea {
    padding: 10px;
    border: none;
    border-radius: 4px;
    resize: vertical;
    font-family: inherit;
    font-size: 15px;
}

.form-container button {
    width: fit-content;
    background: #00c0f3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-container button:hover {
    background: #0098c3;
}

/* === INFO MAP === */
.office-bar {
    background-color: #183650;
    padding: 50px 0;
    position: relative;
}

.office-cards-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: nowrap;
    max-width: 1400px;
    margin: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.office-card {
    flex: 0 0 33.3333%;
    padding: 0 30px;
    box-sizing: border-box;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    color: #bbb;
    /* texto gris */
}

.office-card:last-child {
    border-right: none;
}

.office-card h3 {
    text-transform: uppercase;
    font-size: 15px;
    /* más pequeño */
    margin-bottom: 15px;
    color: #ccc;
    /* gris claro */
}

.office-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #aaa;
    /* gris más claro para texto general */
}

.office-card i {
    margin-right: 10px;
    color: #aaa;
    /* iconos gris claro */
}

.office-card a {
    color: #00c0f3;
    text-decoration: none;
}

.office-dots {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.office-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #666;
    transition: background 0.3s;
    cursor: pointer;
}

.office-dots .dot.active {
    background-color: #00c0f3;
}

/* === FOOTER === */
.main-footer {
    background: #183650;
    color: white;
    padding: 60px 10%;
    font-size: 14px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-column {
    flex: 1 1 200px;
}

.footer-logo {
    width: 80px;
    margin-bottom: 15px;
}

.footer-column h4 {
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.footer-column p,
.footer-column ul,
.footer-contact li {
    margin: 0;
    margin-bottom: 10px;
    color: #d0d0d0;
}

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

.footer-column ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #00c0f3;
}

.footer-contact li i {
    margin-right: 8px;
    color: #00c0f3;
}

/* Newsletter */
.newsletter-form {
    display: flex;
    margin-top: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
}

.newsletter-form button {
    padding: 0 15px;
    border: none;
    background: #00c0f3;
    color: white;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
    color: #ccc;
}

.social-icons a {
    color: white;
    margin-left: 15px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #00c0f3;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
    }

    .hero-text h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .top-bar {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-text {
        padding: 2rem;
        margin-left: 0;
    }
}

.top-bar-item.corporativa-menu i {
    color: white !important;
}

.top-bar.hidden {
    display: none;
}

body {
    overflow-x: hidden;
}

.floating-services-wrapper {
    background: #183650;
    padding: 10px;
    z-index: 10;
}

.floating-services {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

.service-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    color: white;
}

.icon-box {
    font-size: 50px;
    color: white;
    transition: color 0.3s ease;
    position: relative;
}

.icon-box:hover {
    transform: translateY(-5px);
    color: var(--celeste);
}

.service-column p {
    font-size: 16px;
    margin: 0;
}

:root {
    --celeste: #00c0f3;
}

.floating-services {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background: #183650;
    padding: 20px;
    position: relative;
    z-index: 4;
}

.floating-service {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.floating-service .icon-box {
    font-size: 50px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.floating-service p {
    margin: 8px 0 0;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
}

.floating-service p::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: #00c0f3;
    transition: width 0.3s ease;
}

.floating-service:hover .icon-box {
    color: var(--celeste);
    transform: translateY(-5px);
}

.floating-service:hover p {
    color: white;
}

.floating-service p::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.floating-service:hover p::before {
    width: 100%;
}

.mapa-contacto {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-top: 4px solid #00c0f3;
    border-bottom: 4px solid #00c0f3;
    position: relative;
    z-index: 1;
}

#leaflet-map {
    width: 100%;
    height: 100%;
    z-index: 0;
}

.leaflet-tooltip-custom {
    background: white !important;
    color: #183650 !important;
    font-weight: bold;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 13px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border: 1px solid #ccc;
}

/* Controles de zoom por encima */
.leaflet-control-zoom {
    z-index: 1000 !important;
}

/* Contact section layout */
.contact-section {
    background: #fff;
    padding: 60px 5% 40px;
    border-bottom: 1px solid #e5e5e5;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-text {
    flex: 1;
    min-width: 260px;
}

.section-subtitle {
    font-size: 16px;
    color: #1a2f4a;
    font-weight: 500;
    margin-bottom: 10px;
}

.section-divider {
    width: 60px;
    height: 4px;
    background-color: #00c0f3;
    margin: 10px 0;
}

.section-title {
    font-size: 40px;
    color: #1a2f4a;
    margin-bottom: 20px;
    font-weight: bold;
}

.cotizacion-title {
    color: white;
}

.section-description {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    max-width: 480px;
}

/* Form */
.contact-form-wrapper {
    flex: 1;
    min-width: 280px;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
}

.form-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-contact input,
.form-contact textarea {
    padding: 15px;
    border: 1px solid #ccc;
    font-size: 16px;
    width: 100%;
    border-radius: 4px;
}

.form-contact textarea {
    flex: 1;
    min-height: 120px;
    resize: vertical;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Checkbox alignment */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #1a2f4a;
    white-space: nowrap;
}

.checkbox-wrapper input[type="checkbox"] {
    transform: scale(1.2);
    accent-color: #00c0f3;
    cursor: pointer;
    margin: 0;
}

/* Submit button */
.submit-button {
    background: #fff;
    border: 2px solid #00c0f3;
    color: #1a2f4a;
    font-weight: bold;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.submit-button span {
    font-size: 18px;
    margin-left: 10px;
}

.submit-button:hover {
    background: #00c0f3;
    color: #fff;
}

/* === HERO CONTACTO SECTION === */
.hero-contacto {
    position: relative;
    height: 500px;
    margin-top: -273px;
    overflow: hidden;
    z-index: 0;
}

.bg-image-contacto {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.overlay-contacto {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 96, 160, 0.2);
    z-index: 1;
}

.hero-overlay-contacto {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-left: 80px;
    padding-bottom: 40px;
    box-sizing: border-box;
    z-index: 2;
    /* arriba del overlay */
}

.hero-title-contacto {
    color: white;
    font-size: 45px;
    font-weight: 400;
    margin: 0;
}

/* === HERO QUIENES SECTION === */
.hero-quienes {
    position: relative;
    height: 500px;
    margin-top: -273px;
    overflow: hidden;
    z-index: 0;
}

.bg-image-quienes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.overlay-quienes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 96, 160, 0.2);
    z-index: 1;
}

.hero-overlay-quienes {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-left: 80px;
    padding-bottom: 40px;
    box-sizing: border-box;
    z-index: 2;
}

.hero-title-quienes {
    color: white;
    font-size: 45px;
    font-weight: 400;
    margin: 0;
}

.quienes-banner img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    margin: 0 auto;
}

/* === HERO SERVICIOS SECTION === */
.hero-servicios {
    position: relative;
    height: 500px;
    margin-top: -273px;
    overflow: hidden;
    z-index: 0;
}

.bg-image-servicios {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.overlay-servicios {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 96, 160, 0.2);
    z-index: 1;
}

.overlay-servicios {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 96, 160, 0.2);
    /* azul navy translúcido */
    z-index: 1;
}

.hero-overlay-servicios {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-left: 80px;
    padding-bottom: 40px;
    box-sizing: border-box;
    z-index: 2;
}

.hero-title-servicios {
    color: white;
    font-size: 45px;
    font-weight: 400;
    margin: 0;
}

/* === LOGIN PANEL (INVENTARIO) === */
.login-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(120deg, #183650, #00c0f3);
}

.login-container {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.login-logo img {
    width: 120px;
    margin-bottom: 20px;
}

.login-container h2 {
    margin-bottom: 25px;
    color: #183650;
    font-weight: 600;
}

.login-form input {
    width: 90%;
    max-width: 320px;
    padding: 12px 15px;
    margin: 10px auto;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    display: block;
    box-sizing: border-box;
}

.login-form button {
    width: 90%;
    max-width: 320px;
    margin: 20px auto 0;
    padding: 12px;
    background-color: #00c0f3;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    display: block;
}

.login-form button:hover {
    background-color: #009cc7;
}

.login-form i {
    margin-right: 8px;
}

/* === QUIENES SECTION === */
.quienes-info-section {
    background-color: #fff;
    padding: 60px 5% 40px;
}

.quienes-info-container {
    max-width: 1200px;
    margin: 0 auto;
}

.quienes-block {
    margin-bottom: 50px;
}

.quienes-title {
    font-size: 36px;
    color: #1a2f4a;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.quienes-title::before {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: #00c0f3;
    position: absolute;
    top: -20px;
    left: 0;
}

.quienes-block p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

.quienes-valores {
    padding-left: 20px;
    color: #666;
    font-size: 18px;
    line-height: 1.6;
}

.overlay-quienes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 96, 160, 0.2);
    z-index: 1;
}

/* Sección servicios intro */
.servicios-intro {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 5%;
    box-sizing: border-box;
}

.intro-column-left {
    flex: 1;
    max-width: 40%;
}

.intro-column-right {
    flex: 2;
    max-width: 60%;
}

.section-subtitle {
    font-size: 18px;
    color: #183650;
    font-weight: 400;
    margin-bottom: 10px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background-color: #00c0f3;
    margin-bottom: 30px;
}

.intro-title h2 {
    font-size: 35px;
    line-height: 1.2;
    color: #183650;
    font-weight: 600;
    margin: 0;
}

.intro-text p {
    font-size: 16px;
    color: #6c6c6c;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Sección servicios iconos */
.servicios-destacados {
    background-color: #173c54;
    padding: 80px 5%;
    color: white;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.servicio-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.icono-servicio {
    font-size: 50px;
    margin-bottom: 20px;
    color: #00c0f3;
}

.servicio-item h3 {
    font-size: 20px;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.servicio-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #f1f1f1;
}

/* Sección servicios despues de iconos */

.cta-contacto {
    background-color: #33ccff;
    padding: 40px 5%;
    display: flex;
    justify-content: center;
}

.cta-container {
    max-width: 1400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cta-text {
    font-size: 32px;
    color: rgb(0, 0, 0);
    margin: 0;
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    border: 2px solid white;
    border-radius: 999px;
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button span {
    margin-left: 10px;
    font-size: 18px;
}

.cta-button:hover {
    background-color: white;
    color: #33ccff;
}

/* Sección servicios camión */

.soluciones-section {
    background-color: #fff;
    padding: 60px 5%;
}

.soluciones-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.soluciones-texto {
    flex: 1;
    min-width: 300px;
}

.soluciones-titulo {
    font-size: 38px;
    color: #1a2f4a;
    margin-bottom: 20px;
}

.soluciones-texto p {
    font-size: 18px;
    color: #666;
    line-height: 1.7;
    max-width: 700px;
}

.soluciones-imagen {
    flex: 1;
    min-width: 300px;
}

.soluciones-imagen img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Sección servicios despues de camión */

.servicios-banner-final {
    display: flex;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.servicios-banner-final .destacado-box {
    width: 33.3333vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 0 40px;
    box-sizing: border-box;
}

.servicios-banner-final .destacado-box i {
    font-size: 60px;
    margin-bottom: 20px;
}

.servicios-banner-final .destacado-box h3 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3;
    text-align: center;
}

.servicios-banner-final .destacado-box p {
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    margin: 0;
    max-width: 300px;
}

.azul-claro {
    background-color: #35cdff;
}

.azul-medio {
    background-color: #2cb8e6;
}

.azul-oscuro {
    background-color: #259fcf;
}

/* Responsive */
@media (max-width: 900px) {
    .servicios-banner-final {
        flex-direction: column;
        height: auto;
    }

    .servicios-banner-final .destacado-box {
        width: 100vw;
        height: auto;
        padding: 60px 30px;
    }
}

html {
    scroll-behavior: smooth;
}

.office-card {
    scroll-margin-top: 10px;
    /* Ajusta según la altura de tu header fijo */
}

.chatbot-button {
    position: fixed;
    bottom: 20px;
    right: 35px;
    background-color: #183650;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
    z-index: 100;
}

.chatbot-button:hover {
    background-color: #183650;
}

.chatbot-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 420px;
    height: 640px;
    background: white;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-in-out;
    z-index: 9999;
}

.chatbot-container.show {
    transform: scale(0.8);
}

.chatbot-iframe {
    width: 100%;
    height: 100%;
    border: none;
    overflow: hidden;
    scrollbar-width: none;
}

.chatbot-iframe::-webkit-scrollbar {
    display: none;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    /* Oculto por defecto */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-content {
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.popup-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.popup-content button {
    padding: 10px 20px;
    background-color: #003366;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.popup-content button:hover {
    background-color: #005599;
}

.popup-confirmacion {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-confirmacion .popup-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}