/* ==========================================
   SECCIÓN CONTACTO GENERAL
========================================== */
.contacto-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 0px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* Grilla superior de las 4 tarjetas de contacto */
.contacto-grid-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

/* Grilla inferior de 3 columnas (Atención, Formulario, Información útil) */
.contacto-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr 0.9fr;
    gap: 15px;
    align-items: start;
}

.contacto-grid > * {
    min-width: 0;
}


/* ==========================================
   TARJETAS SUPERIORES (WhatsApp, Correo, etc.)
========================================== */
.contacto-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    position: relative;
}

.contacto-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.contacto-card .section-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--azul-secundario, #f0f4ff);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contacto-card:nth-child(1) .section-icon {
    background-color: #118c5e;
}

.section-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.contacto-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
    line-height: 1.25;
}

.contacto-subtitle {
    font-size: 0.88rem;
    color: #4a5568;
    line-height: 1.5;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.contacto-contact {
    font-size: 1rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 15px 0;
}

.contacto-btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #118c5e;
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
}

.contacto-btn-whatsapp:hover {
    background-color: #0e724c;
}

.btn-wa-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}


/* ==========================================
   COLUMNA 1: ATENCIÓN 100% REMOTA
========================================== */
.contacto-atencion {
    display: flex;
    flex-direction: column;
}

.contacto-atencion h4 {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0052cc;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.contacto-atencion h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 12px;
}

.contacto-atencion > h3 {
    font-size: 0.9rem;
    font-weight: 400;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 30px;
}

.atencion-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px 20px;
}

.atencion-card {
    display: flex;
    flex-direction: column;
}

.atencion-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.atencion-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid grey;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    margin-left: auto;
    margin-right: auto;
}

.atencion-icon-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: invert(35%) sepia(85%) saturate(1200%) hue-rotate(190deg);
}

.atencion-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 6px 0;
    line-height: 1.3;
    justify-content: center;
}

.atencion-subtitle {
    font-size: 0.6rem;
    color: #718096;
    line-height: 1.4;
    margin: 0;
    justify-content: center;
}


/* ==========================================
   COLUMNA 2: FORMULARIO
========================================== */
.contacto-formulario {
    flex: 1;
    min-width: 0;
    max-width: 700px;
    background-color: var(--blanco, #ffffff);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border: 1px solid var(--gris-borde, #e2e8f0);
}

.contacto-formulario h2 {
    color: var(--azul-oscuro, #1a202c);
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.form-subtitle {
    color: var(--gris-texto, #4a5568);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.form-campos {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-fila {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    min-width: 0;
}

.form-grupo {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.form-input-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    background-color: #fbfdff;
    border: 1.5px solid #c6d0e0;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(10, 18, 38, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input-wrapper:focus-within {
    border-color: var(--azul-secundario, #0052cc);
    box-shadow: 0 0 0 3px rgba(38, 100, 235, 0.12);
}

.form-input-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-left: 14px;
    object-fit: contain;
    opacity: 0.75;
    filter: invert(28%) sepia(93%) saturate(1443%) hue-rotate(200deg) brightness(94%) contrast(88%);
    pointer-events: none;
}

.form-input-wrapper input,
.form-input-wrapper textarea {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 12px 14px;
    font-family: "Poppins", sans-serif;
    font-size: 0.85rem;
    color: var(--azul-oscuro, #1a202c);
}

.form-input-wrapper select {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 12px 14px;
    padding-right: 36px;
    font-family: "Poppins", sans-serif;
    font-size: 0.85rem;
    color: var(--azul-oscuro, #1a202c);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23556073" d="M10 0L6 4 2 0 0 2l6 6 6-6z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.form-input-wrapper select:invalid {
    color: #a0a8b8;
}

.form-input-wrapper select option {
    color: var(--azul-oscuro, #1a202c);
}

.form-input-wrapper input::placeholder,
.form-input-wrapper textarea::placeholder {
    color: #a0a8b8;
}

.form-input-wrapper--textarea {
    align-items: flex-start;
}

.form-input-wrapper--textarea .form-input-icon {
    margin-top: 14px;
}

.form-input-wrapper textarea {
    min-height: 130px;
    resize: vertical;
}

.form-accion {
    display: flex;
}

.btn-consulta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    border: none;
    border-radius: 10px;
    background-color: var(--azul-secundario, #0052cc);
    color: var(--blanco, #ffffff);
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-consulta:hover {
    background-color: var(--azul-oscuro, #1a202c);
    transform: translateY(-2px);
}

.btn-consulta img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}


/* ==========================================
   COLUMNA 3: INFORMACIÓN ÚTIL (contacto-info)
========================================== */
.contacto-info {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--gris-borde, #e2e8f0);
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    position: relative;
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 16px;
    margin-top: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.info-item .info-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    margin-top: 2px;
    flex-shrink: 0;
    filter: invert(35%) sepia(85%) saturate(1200%) hue-rotate(190deg);
}

.info-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.info-item h3 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0052cc;
    margin: 0 0 4px 0;
}

.info-item p {
    font-size: 0.8rem;
    color: #4a5568;
    line-height: 1.4;
    margin: 0;
}

.info-item .btn-demo {
    background-color: #0052cc;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    width: 100%;
    margin-top: 12px;
    transition: background-color 0.2s;
}

.info-item .btn-demo:hover {
    background-color: #0040a8;
}


/* ==========================================
   RESPONSIVO
========================================== */
@media (max-width: 1200px) {
    .contacto-grid-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .contacto-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contacto-grid-cards {
        grid-template-columns: 1fr;
    }
    .form-fila {
        grid-template-columns: 1fr;
    }
    .atencion-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================
   CLIENTES - CARRUSEL DE MARCAS
========================================== */

.clientes-section {
    width: 100%;
    padding: 24px 5%;
    box-sizing: border-box;
    overflow: hidden;
    margin-top: 20px;
}

.clientes-section h2 {
    text-align: center;
    margin: 0 0 16px;
    font-size: 1.2rem;
    color: var(--azul-secundario);
    letter-spacing: 2px;
}

.cliente-carousel {
    width: 100%;
    box-sizing: border-box;
}

.cliente-carousel-title {
    text-align: center;
    margin: 0 0 10px;
    font-size: 1rem;
}

.cliente-carousel-inner {
    display: flex;
    align-items: center;
}

.cliente-carousel-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 40px;
    background: none;
    border: none;
    color: var(--azul-oscuro);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.cliente-carousel-arrow:hover {
    color: var(--azul-secundario);
}

.cliente-carousel-viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.cliente-carousel-track {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cliente-carousel-slide {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    box-sizing: border-box;
}

.cliente-carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.25s ease;
}




@media (max-width: 768px) {


    .clientes-section {
        padding: 16px 4%;
    }

    .cliente-carousel-slide {
        height: 45px;
    }

    .cliente-carousel-arrow {
        width: 24px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {


    .cliente-carousel-slide {
        height: 35px;
    }

    .cliente-carousel-arrow {
        width: 20px;
        font-size: 1rem;
    }
}