/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #333;
    background-color: #ffffff;
    line-height: 1.5;
}

.container {
    width: 92%;
    max-width: 1140px;
    margin: 0 auto;
}

.section-padding {
    padding: 60px 0 80px 0;
}

.light-bg {
    background-color: #ffffff;
}

.dark-bg {
    background-color: #141f2b;
    color: #ffffff;
}

.bg-alt {
    background-color: #f8fafc;
}

/* Encabezados y Línea Azul Decorativa */
.heading-block {
    text-align: center;
    margin-bottom: 50px;
}

.title-bold {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #0f172a;
    text-transform: uppercase;
}

.title-bold.text-white {
    color: #ffffff;
}

.decorative-line {
    width: 45px;
    height: 3px;
    background-color: #1e6b8b;
    margin: 8px auto 0 auto;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #0b1f3a;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 16px;
    margin-bottom: 40px;
}

/* Header */
.site-header {
    background-color: #ffffff;
    padding: 25px 0 15px 0;
    border-bottom: 1px solid #f1f5f9;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-bold {
    font-size: 26px;
    font-weight: 900;
    color: #55606e;
    letter-spacing: 1px;
}

.brand-sub {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
}

.nav-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.nav-row {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 4px;
    position: relative;
}

.arrow {
    font-size: 11px;
    margin-left: 3px;
    color: #64748b;
}

.active-line::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #1e6b8b;
}

.active-line-short::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: #1e6b8b;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(18, 55, 87, 0.72), rgba(18, 55, 87, 0.72)), url('https://images.unsplash.com/photo-1581092335397-9583fe92d232?auto=format&fit=crop&w=1400&q=80') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 130px 20px;
}

.hero-content h2 {
    font-size: 40px;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 17px;
    max-width: 700px;
    margin: 0 auto 30px auto;
    color: #e2e8f0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-primary {
    display: inline-block;
    background-color: #0d6efd;
    color: #fff;
    padding: 10px 24px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 20px;
    border: none;
}

.btn-secondary {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 10px 24px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 20px;
}

/* Grilla de Productos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #0b1f3a;
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
}

.product-badge.accent {
    background: #0d6efd;
}

.product-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    color: #0b1f3a;
    font-size: 20px;
    margin-bottom: 10px;
}

.product-info p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-card {
    background: #0b1f3a;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

/* Estilos para los logos reales de las marcas con Zoom Destacado */
.brands-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.brand-item {
    background: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s ease;
}

.brand-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Efecto de Zoom notable al posarse sobre el logo */
.brand-item:hover {
    transform: scale(1.18); /* Aumenta bastante el tamaño para que sobresalga claramente */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
    z-index: 10;
}

/* Estilos para la sección de Distribuidores Interactivos */
.distributors-layout {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 40px;
    align-items: center;
}

@media (max-width: 950px) {
    .distributors-layout {
        grid-template-columns: 1fr;
    }
    .distributors-map {
        display: none;
    }
}

.distributors-grid-3cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .distributors-grid-3cols {
        grid-template-columns: 1fr;
    }
}

.zone-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zone-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 5px;
}

/* Tarjetas de Distribuidores con Acordeón y Hover Oscuro */
.dist-card {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    transition: all 0.25s ease;
}

.dist-header {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: #ffffff;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.dist-card:hover .dist-header {
    background-color: #1e293b;
}

.dist-card:hover .dist-header span,
.dist-card:hover .dist-text strong,
.dist-card:hover .dist-text span,
.dist-card:hover .dist-icon {
    color: #ffffff !important;
}

.dist-header span {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    transition: color 0.25s ease;
}

.dist-text {
    display: flex;
    flex-direction: column;
}

.dist-text strong {
    font-size: 12px;
    color: #1e293b;
    transition: color 0.25s ease;
}

.dist-text span {
    font-size: 12px;
    color: #64748b;
    font-weight: 400;
    transition: color 0.25s ease;
}

.dist-icon {
    font-size: 18px;
    font-weight: 700;
    color: #00838f;
    transition: color 0.25s ease;
}

.dist-details {
    display: none;
    padding: 12px 16px 16px 16px;
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    font-size: 12px;
    color: #334155;
    line-height: 1.6;
}

.dist-card.active .dist-details {
    display: block;
}

.dist-card.active .dist-header {
    background-color: #0f172a;
}

.dist-card.active .dist-header span,
.dist-card.active .dist-text strong,
.dist-card.active .dist-text span,
.dist-card.active .dist-icon {
    color: #ffffff !important;
}

/* Mapa de Chile en Imagen */
.distributors-map {
    display: flex;
    justify-content: center;
    align-items: center;
}

.chile-map-img {
    width: 170px;
    height: auto;
    object-fit: contain;
    opacity: 0.85;
}

/* Servicio Técnico */
.service-tech-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 850px) {
    .service-tech-grid {
        grid-template-columns: 1fr;
    }
}

.service-tech-text p {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    max-width: 420px;
}

.service-tech-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    display: block;
}

/* Contacto */
.contact-grid-custom {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 35px;
    align-items: start;
}

@media (max-width: 850px) {
    .contact-grid-custom {
        grid-template-columns: 1fr;
    }
}

.contact-card-info {
    background-color: #1a2736;
    border: 1px solid #233448;
    border-radius: 6px;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-label {
    font-size: 12px;
    font-weight: 700;
    color: #00bcd4;
    letter-spacing: 0.5px;
}

.info-val-link {
    color: #ffffff;
    text-decoration: underline;
    font-size: 14px;
    font-weight: 500;
}

.info-val-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

/* Formulario */
.contact-form-custom {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 600px) {
    .form-row-2col {
        grid-template-columns: 1fr;
    }
}

.contact-form-custom input,
.contact-form-custom textarea {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 12px;
    font-family: inherit;
    color: #1e293b;
    outline: none;
}

.contact-form-custom input::placeholder,
.contact-form-custom textarea::placeholder {
    color: #94a3b8;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.contact-form-custom textarea {
    resize: vertical;
}

.btn-blue-submit {
    align-self: flex-start;
    background-color: #0077b6;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 10px 32px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 5px;
}

.btn-blue-submit:hover {
    background-color: #005f92;
}

/* Footer */
.site-footer {
    background: #0d1520;
    color: #94a3b8;
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
    border-top: 1px solid #1a2736;
}

.site-footer strong {
    color: #fff;
}