:root {
    --primary-green: #48bb2b;   
    --dark-blue: #16186b;       
    --text-dark: #1a1a1a;       
    --text-gray: #555555;       
    --bg-light: #f8f9fa;        
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid rgba(228, 228, 231, 0.8);
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    height: 64px;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
}

.navbar-logo-container {
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-green);
}

.hero {
    padding: 60px 0 100px 0;
    padding-top: 15px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--primary-green);
}

.hero-content p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 480px;
}

.btn-catalog {
    display: inline-block;
    background-color: var(--dark-blue);
    color: white;
    padding: 14px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-catalog:hover {
    transform: translateY(-2px);
    background-color: #0f104a;
}

/*cuadro*/
.hero-image-container {
    background: linear-gradient(135deg, #a8ff78, #78ffd6);
    border-radius: 20px;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.hero-main-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* CALIDAD*/
.calidad-section {
    background-color: #ffffff;
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.calidad-section .subtitle {
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}

.calidad-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-title span {
    color: var(--text-dark);
}

.card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

footer {
    padding: 30px 0;
    border-top: 1px solid #eeeeee;
    text-align: center;
    font-size: 12px;
    color: #888888;
}

/*RESPONSIVE*/
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p {
        margin: 0 auto 30px auto;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .hero-image-container {
        max-width: 450px;
        margin: 0 auto;
    }
}

/*PRODUCTOS*/
.text-center {
    text-align: center;
}

.catalogo-section {
    padding: 40px 0 80px 0;
    background-color: #ffffff;
}

/* Badge superior gris translúcido */
.badge-industrial {
    display: inline-block;
    color: #12007a;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 20px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.catalogo-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.catalogo-subtitle {
    font-size: 15px;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

/* Grid adaptable para tarjetas de producto alargadas */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: start;
}

.producto-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
    transition: box-shadow 0.3s ease;
    height: 100%; /* Obliga a que todas midan lo mismo en horizontal */
}

.producto-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

/* Contenedor de la Imagen */
.img-wrapper {
    position: relative;
    background-color: #ffffff;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #f5f5f5;
    height: 240px;
}

.producto-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Etiquetas sobre la imagen */
.tag-marca {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #2e3646; /* Gris oscuro industrial */
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

/* Bloque de Información */
.producto-info {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Empuja el footer hacia abajo uniformemente */
}

.part-number {
    font-family: monospace;
    font-size: 11px;
    color: #8c8c8c;
    margin-bottom: 5px;
    display: inline-block;
}

.pzas-badge {
    float: right;
    background-color: #f3f4f6;
    color: #4b5563;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.producto-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 15px;
    min-height: 44px; /* Evita desajustes por nombres más largos */
}

/* Viñetas técnicas */
.specs-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.specs-list li {
    font-size: 12.5px;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 8px;
    position: relative;
    padding-left: 0;
}

/* Footer de la tarjeta con precio y acción */
footer {
  background-color: #f3f4f6;
  color: #9ca3af;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  margin-top: auto;
}

/* ==========================================================================
   RESPONSIVE MÓVIL PARA PRODUCTOS
   ========================================================================== */
@media (max-width: 1024px) {
    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .productos-grid {
        grid-template-columns: 1fr;
    }
    .catalogo-title {
        font-size: 28px;
    }
}

/* CONTACTO */

/* ==========================================================================
   ESTILOS PARA LA SECCIÓN DE CONTACTO
   ========================================================================== */
.contacto-section {
    padding: 60px 0 100px 0;
    background-color: #ffffff;
}

.contacto-header h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.contacto-subtitle {
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 50px;
}

/* Estructura en Grid a dos columnas */
.contacto-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
}

/* --- TARJETA DEL FORMULARIO (IZQUIERDA) --- */
.form-card {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

.form-card h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #8c8c8c;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-size: 14px;
    color: #1a1a1a;
    background-color: #ffffff;
    transition: border-color 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #16186b; /* Foco con el color azul corporativo */
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238c8c8c' viewBox='0 0 16 16'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.btn-enviar-cotizacion {
    width: 100%;
    background-color: #16186b; /* Color azul marino de los botones principales */
    color: #ffffff;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 10px;
}

.btn-enviar-cotizacion:hover {
    background-color: #0f104a;
}

/* --- COLUMNA DE INFORMACIÓN Y CANALES (DERECHA) --- */
.info-column h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.horario-text {
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 35px;
}

.canal-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.canal-icon {
    font-size: 20px;
    color: #16186b;
    margin-top: 3px;
}

.canal-item h3 {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.canal-link {
    font-size: 14px;
    color: #555555;
    text-decoration: none;
    transition: color 0.2s;
}

.canal-link:hover {
    color: var(--primary-green);
}

.canal-text {
    font-size: 14px;
    color: #555555;
}

/* --- CONTENEDOR DEL MAPA SIMULADO --- */
.map-container {
    width: 100%;
    height: 280px;
    background-color: #e5e7eb; /* Base gris que simula el mapa antes de cargar */
    background-image: linear-gradient(rgba(255,255,255,0.3), rgba(255,255,255,0.3)), url('https://maps.googleapis.com/maps/api/staticmap?center=21.1619,-101.6601&zoom=14&size=600x300&sensor=false'); /* Placeholder estático elegante */
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}

.map-header {
    display: flex;
    justify-content: flex-start;
}

.btn-maps {
    background-color: #ffffff;
    color: #16186b;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.map-tooltip {
    background-color: #22252a; /* Gris muy oscuro mate */
    color: #ffffff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    max-width: 320px;
}

.map-tooltip h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}

.map-tooltip p {
    font-size: 11px;
    color: #9ca3af;
    line-height: 1.5;
}

/* --- RESPONSIVE DE CONTACTO --- */
@media (max-width: 968px) {
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .form-card {
        padding: 25px;
    }
}







