/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: #eaf2fb;
    color: #122a5a;
    line-height: 1.6;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header / Navegación */
header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(17, 35, 77, 0.12);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 10;
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.logo {
    display: flex;
    align-items: center;
}
.logo img {
    height: 68px;
    width: auto;
    display: block;
}
.logo span {
    color: #0c3e8e;
}
nav {
    display: flex;
    gap: 28px;
    font-weight: 600;
}
nav a {
    text-decoration: none;
    color: #14448d;
    font-size: 0.95rem;
    transition: color 0.2s;
}
nav a:hover {
    color: #0c2c65;
}
.btn-contacto {
    background: #0c3e8e;
    color: white;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-contacto:hover {
    background: #0a2f6d;
}

/* Hero / Bienvenida */
.hero {
    background: linear-gradient(135deg, #0f4d95 0%, #1a5a95 40%, #0f3d74 100%);
    color: white;
    padding: 60px 0 50px;
    margin-top: 0;
    text-align: center;
    border-radius: 0 0 40px 40px;
}
.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
}
.hero h1 span {
    color: #9ec2f5;
}
.hero p {
    max-width: 700px;
    margin: 0 auto 20px;
    font-size: 1.1rem;
    opacity: 0.9;
}
.hero .tagline {
    font-size: 1.3rem;
    font-weight: 600;
    background: rgba(255,255,255,0.12);
    display: inline-block;
    padding: 6px 24px;
    border-radius: 40px;
    backdrop-filter: blur(4px);
}

/* Sección "¿Por qué elegirnos?" */
.section-title {
    text-align: center;
    margin: 50px 0 30px;
}
.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0b3b5c;
}
.section-title h2 small {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    color: #375f9b;
    margin-top: 6px;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 20px 0 40px;
}
.card {
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    text-align: center;
    transition: transform 0.2s;
    border: 1px solid #eef2f6;
}
.card:hover {
    transform: translateY(-6px);
}
.card .icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
}
.card h3 {
    font-size: 1.4rem;
    color: #0b3b5c;
}
.card p {
    color: #475569;
    font-size: 0.95rem;
}

/* Nosotros */
.nosotros {
    padding: 40px 0;
}
.nosotros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 20px 0 40px;
}
.nosotros-card {
    padding: 36px 30px;
    border-radius: 28px;
    color: white;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}
.nosotros-card.azul {
    background: #1e3a72;
}
.nosotros-card.verde {
    background: #9bb72c;
}
.nosotros-icon {
    font-size: 2.8rem;
}
.nosotros-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
.nosotros-card p {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.95);
}

/* Sectores */
.sectores {
    background: white;
    padding: 40px 0;
    border-radius: 40px 40px 0 0;
    margin-top: 30px;
}
.sector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}
.sector-card {
    background: #f8fafc;
    padding: 28px 20px;
    border-radius: 24px;
    border-left: 6px solid #0c3e8e;
    text-align: center;
}
.sector-card h3 {
    font-size: 1.5rem;
    color: #0b3b5c;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.sector-card p {
    color: #334155;
    font-size: 0.95rem;
}
.sector-card .emoji-big {
    font-size: 2.6rem;
    display: block;
    margin-bottom: 8px;
}

/* Marcas */
.marcas {
    background: #ecf3fb;
    padding: 40px 0;
    border-radius: 0 0 40px 40px;
    margin-bottom: 20px;
}
.marcas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    align-items: center;
    margin: 30px 0 10px;
}
.marca-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    background: white;
    padding: 18px;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.marca-item img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    display: block;
}

/* Banda de marcas (strip) */
.brand-strip {
    background: #2b2f3a;
    color: #e6e9ef;
    padding: 18px 0;
    margin-top: 22px;
}
.brand-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 6px 0;
}
.brand-text {
    margin: 0;
    font-size: 1rem;
    color: #e6e9ef;
}
.brand-text a {
    color: #a8b3ff;
    text-decoration: underline;
}
.brand-logos {
    display: flex;
    gap: 30px;
    align-items: center;
}
.logo-item {
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    opacity: 0.95;
}

@media (max-width: 800px) {
    .brand-strip-inner { flex-direction: column; text-align: center; }
    .brand-logos { justify-content: center; }
}

/* Contacto / Widget */
.contacto-widget {
    background: white;
    padding: 40px 30px;
    border-radius: 30px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    margin: 40px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    align-items: center;
}
.contacto-widget h3 {
    font-size: 1.6rem;
    color: #0b3b5c;
}
.contacto-widget p {
    color: #475569;
}
.input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.input-group input {
    padding: 12px 18px;
    border-radius: 40px;
    border: 1px solid #d1d9e6;
    font-size: 1rem;
    min-width: 220px;
    background: #f8fafc;
}
.input-group button {
    background: #0c3e8e;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

/* Productos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin: 20px 0 60px;
}
.product-card {
    background: white;
    padding: 26px 20px;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(2,6,23,0.06);
    text-align: left;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.product-media {
    font-size: 2.2rem;
}
.product-card h3 {
    font-size: 1.15rem;
    color: #0b3b5c;
}
.product-card p {
    color: #475569;
    font-size: 0.95rem;
    margin-top: 6px;
}

.product-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}
.input-group button:hover {
    background: #0a2f6d;
}

/* Chat flotante (estático) */
.chat-flotante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0c3e8e;
    color: white;
    padding: 14px 22px;
    border-radius: 60px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    z-index: 20;
    border: none;
}
.chat-flotante:hover {
    background: #1a5a7a;
    transform: scale(1.02);
}
.chat-flotante .burbuja {
    background: #0f4d95;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0 20px;
    color: #94a3b8;
    font-size: 0.9rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 16px;
    }
    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .contacto-widget {
        flex-direction: column;
        text-align: center;
    }
    .input-group {
        justify-content: center;
    }
    .chat-flotante {
        bottom: 16px;
        right: 16px;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}
