/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #fff;
    padding: 0;
    margin: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 3px solid #d32f2f;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.logo-img {
    display: block;
    align-items: center;
    text-align: center;
    height: 300px;
    margin-right: 20px;
}        

.logo-main {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
    font-weight: normal;
}

.logo-tagline {
    font-size: 0.7rem;
    color: #666;
    margin-top: 3px;
    font-style: italic;
}

nav ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0;
    padding: 0;
    margin-left: 1.8rem;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

nav ul li a:hover {
    color: #d32f2f;
    border-bottom: 2px solid #d32f2f;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('imagen_hero2.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 0 auto;
}

.hero p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background-color: #d32f2f;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid #d32f2f;
}

.btn:hover {
    background-color: transparent;
    color: #d32f2f;
    transform: translateY(-3px);
}

/* Secciones */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
    font-size: 2.2rem;
    color: #d32f2f;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #d32f2f;
    margin: 1rem auto 0;
}

/* Identidad Corporativa */
.identity {
    padding: 80px 0;
    background: #f9f9f9;
}

.identity-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: start;
}

/* Columna de imagen grande */
.identity-image-large {
    grid-column: 2;
    grid-row: 1;
}

.image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    position: relative;
}

.identity-image-large img {
    width: 100%;
    height: auto;
    min-height: 700px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.identity-image-large img:hover {
    transform: scale(1.03);
}

.image-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(211, 47, 47, 0.9);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    backdrop-filter: blur(5px);
}

/* Columna de información */
.identity-info {
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    gap: 1rem;
}

.info-title i {
    color: #d32f2f;
    font-size: 2rem;
}

.identity-item i {
    color: #d32f2f;
    margin-right: 0.8rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.info-content p {
    color: #555;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.identity-text ul {
    margin-bottom: 1.8rem;
    list-style: none;
}  

.identity-item {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
}

/* Misión, Visión, Valores */
.mission-vision-values {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 3px solid #f0f0f0;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.mvv-card {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    border-top: 4px solid #d32f2f;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mvv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.mvv-header {
    margin-bottom: 1.8rem;
}

.mvv-icon {
    font-size: 3.5rem;
    color: #d32f2f;
    margin-bottom: 1.2rem;
}

.mvv-card h3 {
    color: #333;
    font-size: 1.6rem;
    margin-bottom: 1.6rem;
}

.mvv-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.mvv-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.highlight-text {
    background: linear-gradient(135deg, #fff5f5 0%, #ffeaea 100%);
    padding: 1.2rem;
    border-radius: 8px;
    border-left: 4px solid #d32f2f;
    font-style: italic;
    color: #d32f2f !important;
    font-weight: 600;
    margin-top: auto;
}

/* Lista de valores */
.values-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    text-align: left;
}

.values-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: #555;
    line-height: 1.6;
    padding: 0.8rem;
    background: #f9f9f9;
    border-radius: 6px;
}

.values-list i {
    color: #d32f2f;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.values-list strong {
    color: #333;
}

/* Catálogo */
.catalog {
    text-align: center;
    background-color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid #d32f2f;
}

.product-info {
    padding: 1.8rem;
}

.product-info h3 {
    margin-top: 0;
    color: #d32f2f;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.product-info p {
    color: #666;
    margin-bottom: 0.5rem;
}

.btn-ver-detalles {
    background-color: #d32f2f;
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-ver-detalles:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
}

/* Detalles del Producto */
.product-detail-container {
    display: none;
    background-color: #f9f9f9;
    padding: 3rem;
    border-radius: 10px;
    margin-top: 3rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

.product-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: flex-start;
}

.product-detail-image {
    flex: 1;
    min-width: 300px;
}

.product-detail-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-detail-info {
    flex: 2;
    min-width: 300px;
}

.product-detail-info h2 {
    color: #d32f2f;
    margin-top: 0;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.product-detail-info h3 {
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #d32f2f;
    padding-bottom: 0.5rem;
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.spec-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #d32f2f;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.spec-item h4 {
    color: #d32f2f;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.btn-cerrar-detalle {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 2rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    float: right;
}

.btn-cerrar-detalle:hover {
    background-color: #555;
}

/* Cotizaciones */
.quotations {
    background-color: #fff;
}

.quotation-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #f5f5f5;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Arial', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #d32f2f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.2);
}

.form-group textarea {
    min-height: 150px;
}

.submit-btn {
    background-color: #d32f2f;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1rem;
}

.submit-btn:hover {
    background-color: #b71c1c;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}

/* Chat */
.chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #d32f2f;
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.chat-btn:hover {
    transform: scale(1.1);
    background-color: #b71c1c;
}

.chat-btn i {
    font-size: 1.8rem;
}

.chat-box {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 380px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #eee;
}

.chat-header {
    background-color: #d32f2f;
    color: #fff;
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.close-chat {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-chat:hover {
    transform: rotate(90deg);
}

.chat-body {
    padding: 1.5rem;
    height: 350px;
    overflow-y: auto;
    background-color: #f5f5f5;
}

.chat-message {
    margin-bottom: 1.2rem;
    padding: 1rem;
    border-radius: 8px;
    max-width: 80%;
    font-size: 0.95rem;
    line-height: 1.4;
}

.received {
    background-color: #fff;
    align-self: flex-start;
    border: 1px solid #ddd;
    color: #333;
}

.sent {
    background-color: #d32f2f;
    color: #fff;
    align-self: flex-end;
    margin-left: auto;
}

.chat-footer {
    padding: 1.2rem;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.chat-input {
    display: flex;
}

.chat-input input {
    flex: 1;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    border-right: none;
    font-size: 0.95rem;
}

.chat-input button {
    background-color: #d32f2f;
    color: #fff;
    border: none;
    padding: 0 1.2rem;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-input button:hover {
    background-color: #b71c1c;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 0 1rem; 
    text-align: center;
}

.footer-logo-container {
    display: auto;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo-img {
    align-items: center;
    height: 200px;  	
    margin-bottom: 1.5rem;
}

.footer-logo-text {
    font-family: 'Arial Black', Arial, sans-serif;
    color: #fff;
    line-height: 1.1;
    text-align: center;
}

.footer-logo-main {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo-subtitle {
    font-size: 1rem;
    color: #bbb;
    margin-top: 2px;
    font-weight: normal;
}

.footer-logo-tagline {
    font-size: 0.7rem;
    color: #999;
    margin-top: 1px;
    font-style: italic;
}

.footer-contact {
    margin-bottom: 2rem;
}

.footer-contact p {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-contact i {
    margin-right: 0.8rem;
    color: #d32f2f;
}

.social-links {
    margin-bottom: 2rem;
}

.social-links a {
    color: #fff;
    margin: 0 0.8rem;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #d32f2f;
    transform: translateY(-3px);
}

.copyright {
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #999;
    font-size: 0.8rem;
}

/* Certificaciones en Copyright */
.certifications {
    margin-top: 1rem;
    color: #aaa;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.certifications i {
    color: #ffd54f;
}

/* Subproductos / Variantes */
.subproductos-container {
    display: none;
    background-color: #f9f9f9;
    padding: 3rem;
    border-radius: 10px;
    margin-top: 3rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

.subproductos-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid #d32f2f;
}

.subproductos-header h2 {
    color: #d32f2f;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.subproductos-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.subproductos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.subproducto-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
}

.subproducto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.subproducto-img {
    max-width: 100%;
}

.subproduct-detail-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.subproducto-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.subproducto-info h3 {
    color: #d32f2f;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.subproducto-especificaciones {
    flex-grow: 1;
}

.subproducto-especificaciones h4 {
    color: #333;
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.subproducto-especificaciones h4 i {
    margin-right: 0.5rem;
    color: #d32f2f;
}

.subproducto-especificaciones ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 0;
}

.subproducto-especificaciones li {
    padding: 0.4rem 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
}

.subproducto-especificaciones li i {
    color: #28a745;
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.subproducto-clasesdefuego {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.subproducto-clasesdefuego h4 {
    color: #333;
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.subproducto-clasesdefuego h4 i {
    margin-right: 0.5rem;
    color: #d32f2f;
}

.subproducto-clasesdefuego ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 0;
}

.subproducto-clasesdefuego li {
    padding: 0.4rem 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
}

.subproducto-clasesdefuego li i {
    color: #28a745;
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.subproducto-caracteristicas {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.subproducto-caracteristicas h4 {
    color: #333;
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.subproducto-caracteristicas h4 i {
    margin-right: 0.5rem;
    color: #d32f2f;
}

.subproducto-caracteristicas ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 0;
}

.subproducto-caracteristicas li {
    padding: 0.4rem 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
}

.subproducto-caracteristicas li i {
    color: #28a745;
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.btn-cotizar-subproducto {
    background-color: #d32f2f;
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 1rem;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-cotizar-subproducto:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
}

.btn-volver-catalogo {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-volver-catalogo:hover {
    background-color: #555;
    transform: translateX(-3px);
}

/* Estilos para Aplicaciones Recomendadas */
.subproducto-aplicaciones {
    margin: 15px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #d32f2f;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.subproducto-aplicaciones h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.subproducto-aplicaciones h4 i {
    margin-right: 10px;
    color: #d32f2f;
    font-size: 1.1rem;
}

.subproducto-aplicaciones p {
    color: #555;
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

/* Selector de cantidad en tarjetas de subproductos */
.cantidad-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.btn-cantidad {
    width: 36px;
    height: 36px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-cantidad:hover {
    background: #2980b9;
}

.input-cantidad {
    width: 60px;
    height: 36px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.input-cantidad:focus {
    outline: none;
    border-color: #3498db;
}

/* Botones en tarjetas de subproductos */
.subproducto-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.btn-agregar-carrito {
    width: 100%;
    padding: 12px 20px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-agregar-carrito:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-agregar-carrito.en-carrito {
    background: #27ae60;
}

.btn-agregar-carrito.en-carrito:hover {
    background: #219653;
}

/* Carrito de Cotización */
.btn-ver-carrito {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #e74c3c;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-ver-carrito:hover {
    background: #c0392b;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(231, 76, 60, 0.4);
}

.carrito-contador {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #2c3e50;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Modal del carrito */
.modal-carrito {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-contenido {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    background: #2c3e50;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-cerrar-modal {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cerrar-modal:hover {
    color: #e74c3c;
}

.modal-body {
    padding: 20px;
    max-height: 50vh;
    overflow-y: auto;
}

.resumen-carrito {
    display: flex;
    justify-content: space-between;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #3498db;
}

.resumen-carrito p {
    margin: 0;
    font-size: 14px;
    color: #2c3e50;
}

.resumen-carrito strong {
    font-size: 18px;
    color: #e74c3c;
}

.lista-productos {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.producto-carrito {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    gap: 15px;
}

.producto-info {
    flex: 1;
    min-width: 200px;
}

.producto-info h4 {
    margin: 0 0 5px 0;
    color: #2c3e50;
    font-size: 16px;
}

.producto-info .categoria {
    margin: 0;
    color: #7f8c8d;
    font-size: 13px;
}

.producto-cantidad {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 150px;
}

.cantidad-control {
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-cantidad-modal {
    width: 32px;
    height: 32px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-cantidad-modal:hover {
    background: #2980b9;
}

.input-cantidad-modal {
    width: 50px;
    height: 32px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.input-cantidad-modal:focus {
    outline: none;
    border-color: #3498db;
}

.precio-subtotal {
    font-size: 13px;
    color: #27ae60;
    font-weight: 600;
}

.btn-eliminar-producto {
    background: #e74c3c;
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-eliminar-producto:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.modal-footer {
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid #ddd;
}

.total-carrito {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 2px solid #27ae60;
}

.total-carrito span {
    font-size: 18px;
    color: #2c3e50;
}

.total-carrito strong {
    font-size: 24px;
    color: #e74c3c;
}

.modal-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.modal-actions button {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 200px;
}

.btn-vaciar-carrito {
    background: #95a5a6;
    color: white;
}

.btn-vaciar-carrito:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

.btn-proceder-cotizacion {
    background: #27ae60;
    color: white;
}

.btn-proceder-cotizacion:hover {
    background: #219653;
    transform: translateY(-2px);
}

/* Notificaciones */
.notificacion {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: #27ae60;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.notificacion.mostrar {
    transform: translateX(-50%) translateY(0);
}

.notificacion i {
    font-size: 20px;
}

/* Estilos para errores y éxito */
.form-group.error {
    margin-bottom: 30px;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border: 2px solid #dc3545 !important;
    background-color: #fff8f8;
    animation: shake 0.3s ease-in-out;
}

.error-msg {
    display: block;
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

.mensaje-exito {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 3px solid #28a745;
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.2);
    animation: slideIn 0.5s ease-out;
}

.exito-contenido {
    text-align: center;
    position: relative;
}

.exito-contenido i {
    font-size: 70px;
    color: #28a745;
    margin-bottom: 20px;
    animation: bounce 1s ease infinite;
}

.exito-contenido h3 {
    color: #155724;
    margin-bottom: 15px;
    font-size: 26px;
}

.exito-contenido p {
    color: #155724;
    margin-bottom: 10px;
    font-size: 16px;
}

.resumen {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #28a745;
}

.resumen p {
    margin: 8px 0;
    text-align: left;
    color: #333 !important;
}

.tiempo {
    font-style: italic;
    color: #0c5460 !important;
    margin-top: 15px !important;
}

.btn-cerrar {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cerrar:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Spinner */
.fa-spinner {
    animation: spin 1s linear infinite;
}

/* Botón deshabilitado */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ============================================
   SECCIÓN UBICACIÓN
   ============================================ */
section#ubicacion.location {
    padding: 80px 0 !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    position: relative !important;
    overflow: hidden !important;
    display: block !important;
    visibility: visible !important;
}

section#ubicacion .location-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
    align-items: start !important;
    position: relative !important;
    z-index: 1 !important;
}

section#ubicacion .map-container {
    position: relative !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    height: 500px !important;
    display: block !important;
}

section#ubicacion .map-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    display: block !important;
}

section#ubicacion .map-indicator {
    position: absolute !important;
    top: 20px !important;
    left: 20px !important;
    background: #d32f2f !important;
    color: white !important;
    padding: 8px 15px !important;
    border-radius: 50px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    z-index: 2 !important;
}

section#ubicacion .location-info {
    background: white !important;
    border-radius: 15px !important;
    padding: 35px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    height: auto !important;
    display: block !important;
}

section#ubicacion .location-info h3 {
    color: #d32f2f !important;
    font-size: 1.8rem !important;
    margin-bottom: 25px !important;
    padding-bottom: 15px !important;
    border-bottom: 2px solid #f0f0f0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

section#ubicacion .location-info p {
    margin-bottom: 15px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    line-height: 1.6 !important;
}

section#ubicacion .location-info i {
    color: #d32f2f !important;
    font-size: 1.2rem !important;
    min-width: 20px !important;
    margin-top: 3px !important;
}

section#ubicacion .info-card {
    background: #f8f9fa !important;
    border-radius: 10px !important;
    padding: 20px !important;
    margin-top: 25px !important;
    border-left: 4px solid #d32f2f !important;
    display: block !important;
}

section#ubicacion .directions-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #d32f2f !important;
    color: white !important;
    padding: 12px 25px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    margin-top: 20px !important;
    transition: all 0.3s ease !important;
    border: 2px solid #d32f2f !important;
    width: fit-content !important;
    cursor: pointer !important;
}

section#ubicacion .directions-btn i {
    color: white !important;
    font-size: 1.2rem !important;
    min-width: 20px !important;
    margin-top: 3px !important;
}

.location-header {
    text-align: center;
    margin-bottom: 40px;
}

.location-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 10px auto 0;
}

/* ============================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   ============================================ */

/* Pantallas grandes (1200px y menores) */
@media (max-width: 1200px) {
    .container {
        width: 90%;
    }
    
    .identity-container {
        gap: 2rem;
    }
    
    .identity-image-large img {
        min-height: 500px;
    }
}

/* Pantallas medianas (992px y menores) */
@media (max-width: 992px) {
    .logo-img {
        height: 200px;
    }
    
    nav ul li {
        margin-left: 1.2rem;
    }
    
    nav ul li a {
        font-size: 0.8rem;
    }
    
    .hero p {
        font-size: 1.2rem;
        padding: 0 20px;
    }
    
    .identity-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .identity-image-large {
        grid-column: 1;
        grid-row: 1;
    }
    
    .identity-info {
        grid-column: 1;
        grid-row: 2;
    }
    
    .identity-image-large img {
        min-height: 400px;
        max-height: 500px;
    }
    
    .mvv-grid {
        gap: 1.5rem;
    }
    
    .mvv-card {
        padding: 2rem 1.5rem;
    }
    
    .product-grid {
        gap: 2rem;
    }
    
    .product-card img {
        height: 180px;
    }
    
    .subproductos-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .subproducto-img {
        height: 200px;
    }
    
    .footer-logo-img {
        height: 150px;
    }
    
    section#ubicacion .location-container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    section#ubicacion .map-container {
        height: 400px !important;
    }
}

/* Tablets (768px y menores) */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
    }
    
    .logo-container {
        margin-bottom: 1rem;
        justify-content: center;
    }
    
    .logo-img {
        height: 150px;
        margin-right: 10px;
    }
    
    .logo-main {
        font-size: 1.2rem;
    }
    
    nav ul {
        margin-top: 1rem;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    nav ul li {
        margin: 0 0.5rem 0.5rem;
    }
    
    nav ul li a {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .mvv-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mvv-card {
        padding: 2rem;
    }
    
    .mvv-card h3 {
        font-size: 1.4rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .product-card img {
        height: 160px;
    }
    
    .product-info {
        padding: 1.2rem;
    }
    
    .product-info h3 {
        font-size: 1.1rem;
    }
    
    .product-detail-container {
        padding: 1.5rem;
    }
    
    .product-detail {
        flex-direction: column;
        gap: 2rem;
    }
    
    .product-detail-image {
        min-width: 100%;
    }
    
    .product-detail-info h2 {
        font-size: 1.5rem;
    }
    
    .product-specs {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .subproductos-container {
        padding: 2rem 1rem;
    }
    
    .subproductos-header h2 {
        font-size: 1.5rem;
    }
    
    .subproductos-grid {
        grid-template-columns: 1fr;
    }
    
    .subproducto-card {
        margin-bottom: 1rem;
    }
    
    .subproducto-actions {
        flex-direction: column;
    }
    
    .quotation-form {
        padding: 1.5rem;
    }
    
    .chat-box {
        width: 90%;
        right: 5%;
        bottom: 100px;
    }
    
    .chat-btn {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    
    footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-logo-img {
        height: 120px;
    }
    
    .footer-logo-main {
        font-size: 1.1rem;
    }
    
    .footer-contact p {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 0.8rem 0;
    }
    
    .footer-contact i {
        margin-right: 0;
        margin-bottom: 0.3rem;
    }
    
    .social-links a {
        font-size: 1.1rem;
        margin: 0 0.5rem;
    }
    
    .btn-ver-carrito {
        width: 45px;
        height: 45px;
        font-size: 18px;
        top: 10px;
        right: 10px;
    }
    
    .producto-carrito {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .producto-cantidad {
        min-width: 100%;
    }
    
    .cantidad-control {
        align-self: flex-start;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions button {
        min-width: 100%;
    }
    
    section#ubicacion.location {
        padding: 50px 0 !important;
    }
    
    section#ubicacion .location-info {
        padding: 25px !important;
    }
}

/* Móviles grandes (576px y menores) */
@media (max-width: 576px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .logo-img {
        height: 100px;
    }
    
    .logo-main {
        font-size: 1rem;
    }
    
    .logo-subtitle {
        font-size: 0.8rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.3rem;
    }
    
    nav ul li a {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero p {
        font-size: 0.9rem;
        padding: 0 15px;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-title:after {
        width: 60px;
        height: 3px;
    }
    
    .identity-image-large img {
        min-height: 300px;
    }
    
    .image-badge {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .identity-item {
        font-size: 0.9rem;
    }
    
    .info-content p {
        font-size: 0.9rem;
    }
    
    .mvv-card {
        padding: 1.5rem;
    }
    
    .mvv-icon {
        font-size: 2.5rem;
    }
    
    .mvv-card h3 {
        font-size: 1.2rem;
    }
    
    .values-list li {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card img {
        height: 200px;
    }
    
    .subproducto-img {
        height: 180px;
    }
    
    .subproducto-info h3 {
        font-size: 1.2rem;
        padding: 0 10px;
    }
    
    .subproducto-especificaciones li,
    .subproducto-clasesdefuego li {
        font-size: 0.85rem;
    }
    
    .subproducto-aplicaciones p {
        font-size: 0.85rem;
    }
    
    .btn-agregar-carrito,
    .btn-cotizar-subproducto {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
    
    .quotation-form {
        padding: 1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
    }
    
    .submit-btn {
        padding: 0.8rem 1.5rem;
    }
    
    .chat-btn {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    .chat-btn i {
        font-size: 1.3rem;
    }
    
    .chat-box {
        width: 95%;
        right: 2.5%;
        bottom: 80px;
    }
    
    .chat-header {
        padding: 1rem;
    }
    
    .chat-body {
        height: 250px;
        padding: 1rem;
    }
    
    .chat-message {
        font-size: 0.85rem;
        padding: 0.8rem;
    }
    
    .footer-logo-img {
        height: 80px;
    }
    
    .footer-logo-main {
        font-size: 0.9rem;
    }
    
    .footer-logo-subtitle {
        font-size: 0.8rem;
    }
    
    .footer-contact p {
        font-size: 0.85rem;
    }
    
    .social-links a {
        font-size: 1rem;
    }
    
    .copyright {
        font-size: 0.7rem;
    }
    
    .certifications {
        font-size: 0.7rem;
        flex-wrap: wrap;
    }
    
    .btn-ver-carrito {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .carrito-contador {
        width: 18px;
        height: 18px;
        font-size: 9px;
    }
    
    .modal-contenido {
        width: 95%;
        margin: 10px;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .resumen-carrito {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .producto-info h4 {
        font-size: 0.9rem;
    }
    
    .producto-info .categoria {
        font-size: 0.8rem;
    }
    
    .total-carrito span {
        font-size: 1rem;
    }
    
    .total-carrito strong {
        font-size: 1.2rem;
    }
    
    .notificacion {
        width: 90%;
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}

/* Móviles pequeños (375px y menores) */
@media (max-width: 375px) {
    .logo-img {
        height: 70px;
    }
    
    .logo-main {
        font-size: 0.9rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
    }
    
    nav ul li a {
        font-size: 0.65rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .hero p {
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
    }
    
    .identity-image-large img {
        min-height: 250px;
    }
    
    .image-badge {
        padding: 6px 10px;
        font-size: 0.7rem;
    }
    
    .mvv-card {
        padding: 1.2rem;
    }
    
    .mvv-icon {
        font-size: 2rem;
    }
    
    .mvv-card h3 {
        font-size: 1.1rem;
    }
    
    .product-card img {
        height: 180px;
    }
    
    .product-info h3 {
        font-size: 1rem;
    }
    
    .product-info p {
        font-size: 0.85rem;
    }
    
    .btn-ver-detalles {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .btn-volver-catalogo {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .chat-btn {
        width: 45px;
        height: 45px;
    }
    
    .footer-logo-img {
        height: 60px;
    }
}

/* Ajustes específicos para landscape en móviles */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 1.5rem 0;
    }
    
    .chat-box {
        height: 80vh;
        bottom: 70px;
    }
    
    .chat-body {
        height: 60vh;
    }
    
    .modal-contenido {
        max-height: 90vh;
    }
    
    .modal-body {
        max-height: 60vh;
    }
}

/* Impresión */
@media print {
    .chat-btn,
    .btn-ver-carrito,
    .btn-agregar-carrito,
    .btn-cotizar-subproducto,
    .btn-ver-detalles,
    .submit-btn {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
}