/* ==========================================================================
   CONFECCIONES GEORGE S.A.C. - HOJA DE ESTILOS PRINCIPAL (style.css)
   ========================================================================== */

   * =====================================================
   HEADER CORPORATIVO Y BOTONES DE CATALOGO PROPORCIONALES
===================================================== */

/* Contenedor principal alineado verticalmente */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5%;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

/* Redimensionamiento proporcional del logo */
.header-logo {
  max-height: 30px;
  width: auto;
  display: block;
}

/* Menú de navegación horizontal */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-weight: 700;
  font-size: 0.85rem;
  color: #333333;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary, #e66000);
}

/* Ajuste de Desplegables en Menú */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-card, #ffffff);
  min-width: 230px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 8px 0;
  z-index: 1000;
  border: 1px solid var(--border, #e2e8f0);
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text, #333);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: var(--primary-light, #f8f9fa);
  color: var(--primary, #d97706);
}

.dropdown-divider {
  height: 1px;
  background-color: var(--border, #e2e8f0);
  margin: 6px 0;
}

/* Acciones a la derecha del Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Botón compacto de Catálogo PDF en el Header */
.btn-catalog-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background-color: #f8f9fa;
  color: var(--primary, #e66000);
  border: 1.5px solid var(--primary, #e66000);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-catalog-header:hover {
  background-color: var(--primary, #e66000);
  color: #ffffff;
}

/* Botón Cotizar Corporativo */
.btn-cotizar-header {
  background-color: #0f172a;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.btn-cotizar-header:hover {
  background-color: #1e293b;
}

/* --------------------------------------------------------------------------
   1. VARIABLES Y TEMAS (Modo Claro / Oscuro)
   -------------------------------------------------------------------------- */
:root {
  /* Paleta Corporativa Principal */
  --primary: #d97706;          /* Naranja Corporativo Elegante */
  --primary-hover: #b45309;    /* Naranja Oscuro */
  --primary-light: #d6c7fe;    /* Naranja Claro Suave */
  --secondary: #0f172a;        /* Azul Noche Profundo */
  --secondary-hover: #225fc0;  
  --accent: #25d366;           /* Verde WhatsApp */
  
  /* Colores Neutrales (Modo Claro) */
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --text: #f77700;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  --shadow-hover: 0 20px 30px -10px rgba(0, 0, 0, 0.15);

  /* Tipografías y Radio */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modo Oscuro (Activado dinámicamente agregando .dark-theme al body) */
body.dark-theme {
  --bg: #122146;
  --bg-card: #1e293b;
  --bg-alt: #1e293b;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --border: #334155;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 20px 30px -10px rgba(0, 0, 0, 0.6);
}

/* =====================================================
   ADAPTACIÓN A MODO OSCURO (DARK MODE)
===================================================== */
body.dark-theme .process-section {
    background-color: #0b0f19;
}

body.dark-theme .process-item {
    background-color: #1e293b;
    border-color: #eff0f1;
}

body.dark-theme .process-item:hover {
    border-color: #60a5fa; /* Resaltado azul en modo oscuro al pasar cursor */
}

body.dark-theme .process-item span {
    background-color: #2563eb; /* Número sobresaliente */
    color: #ffffff !important;
}

body.dark-theme .process-item h3 {
    color: #f8fafc; /* Texto sobresaliente en modo oscuro */
}

body.dark-theme .process-item p {
    color: #cbd5e1;
}

body.dark-theme .cta-section {
    background-color: #020617; /* Fondo CTA oscuro */
}

body.dark-theme .btn-cta {
    border-color: #60a5fa;
    color: #ffffff !important;
}

body.dark-theme .btn-cta:hover {
    background-color: #2563eb;
    border-color: #2563eb;
}

/* =====================================================
   FIX: TEXTOS DE ENCABEZADO EN MODO OSCURO
===================================================== */

/* 1. Fondo general de la sección Proceso en modo oscuro */
body.dark-theme .process-section {
    background-color: #0b0f19 !important;
}

/* 2. Subtítulo superior ("NUESTRO PROCESO") */
body.dark-theme .process-section .section-label {
    color: #60a5fa !important; /* Azul brillante bien visible */
    font-weight: 700;
}

/* 3. Título principal ("DEL CONCEPTO A LA PRENDA") */
body.dark-theme .process-section h2,
body.dark-theme .process-section h2 strong {
    color: #ffffff !important; /* Blanco puro para máximo contraste */
}

/* --------------------------------------------------------------------------
   2. RESET Y ESTILOS GENERALES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 90%;
  height: fit-content;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  text-align: center;
  margin-bottom: 10px;
  color: var(--text);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 40px auto;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   3. BOTONES Y COMPONENTES
   -------------------------------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background-color: #ffffff;
  color: var(--secondary);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   4. HEADER Y NAVEGACIÓN STICKY
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

body.dark-theme .site-header {
  background-color: rgba(15, 23, 42, 0.95);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 50px;
  object-fit: contain;
}

.brand-placeholder {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown Menú */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 220px;
  background-color: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: var(--text);
}

.dropdown-menu a:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

body.dark-theme .dropdown-menu a:hover {
  background-color: rgba(217, 119, 6, 0.2);
}

/* Botones de Acción Nav */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px; /* Distribuye de manera proporcional la distancia entre los 3 elementos */
}

.icon-btn, .cart-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text);
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
}

.icon-btn:hover, .cart-btn:hover {
  background-color: var(--bg-alt);
}

.cart-btn b {
  font-size: 0.85rem;
  background-color: var(--primary);
  color: #fff;
  padding: 2px 7px;
  border-radius: 10px;
}

.quote-btn {
  background-color: var(--secondary);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.85rem;
}

.quote-btn:hover {
  background-color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   5. SECCIÓN HERO (IMPACTO VISUAL)
   -------------------------------------------------------------------------- */
.hero {
  /* Reemplaza 'img/tu-nueva-imagen-hero.jpg' por la ruta de tu imagen */
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
              url('hero.jpg') no-repeat center center/cover;
  position: relative;
  min-height: 80vh; /* O la altura que tengas definida */
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: fadeInUp 1s ease;
}

.hero-badge {
  display: inline-block;
  background-color: var(--primary);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: #cbd5e1;
  margin-bottom: 35px;
}

.hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   6. NOSOTROS & CARACTERÍSTICAS
   -------------------------------------------------------------------------- */
.about-section {
  padding: 90px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  position: center;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* 1. Hacer que la imagen se muestre completa sin recortarse */
.about-photo {
  width: 100%;
  height: auto;           /* Mantiene la proporción original de la imagen */
  object-fit: fill;   /* Muestra la foto entera sin cortar cabezas ni bordes */
  border-radius: 12px;
}

/* 2. Cambiar los círculos morados/lilas a color azul oscuro */
.feature-icon {
  background-color: #0b2545; /* Azul oscuro elegante */
  color: #ffffff;            /* Checkmark (✓) en blanco */
  width: 32px;
  height: 32px;
  border-radius: 50%;        /* Mantiene la forma circular */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;            /* Evita que el círculo se deforme */
}

.about-image:hover .about-photo {
  transform: scale(1.05);
}

.about-copy h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 20px;
}

.about-copy p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.feature-grid {
  display: grid;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background-color: var(--bg-card);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.feature-icon {
  background-color: var(--primary-light);
  color: var(--primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

/* =====================================================
   ESTADÍSTICAS
===================================================== */

.stats-section {

    background: #111;

    color: white;

    padding: 70px 0;

}

.stats-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    text-align: center;

}

.stat {

    border-right: 1px solid rgba(255,255,255,0.15);

}

.stat:last-child {

    border-right: none;

}

.counter {

    font-family: "Montserrat";

    font-size: 50px;

    font-weight: 700;

}

.plus {

    font-size: 30px;

    color: var(--accent);

}

.stat p {

    font-size: 9px;

    letter-spacing: 2px;

    color: #aaa;

    margin-top: 8px;

}

/* --------------------------------------------------------------------------
   7. CATÁLOGO / TARJETAS DE PRODUCTOS
   -------------------------------------------------------------------------- */
.catalog-hero {
  padding: 90px 0;
  background-color: var(--bg-alt);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.card-img-container {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .card-img-container img {
  transform: scale(1.08);
}

.product-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.product-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.add-cart {
  display: block;
  text-align: center;
  background-color: var(--secondary);
  color: #ffffff;
  padding: 12px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.product-card:hover .add-cart {
  background-color: var(--primary);

}

/* =====================================================
   SECCIÓN CTA (LLAMADA A LA ACCIÓN)
===================================================== */
.cta-section {
    background-color: #36508d; /* Color corporativo oscuro / elegante */
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distribución proporcional */
    gap: 40px;
    flex-wrap: wrap;
}

.cta-text-group .section-label {
    color: #7ca0d8; /* Azul brillante corporativo */
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.cta-text-group h2 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.cta-text-group h2 strong {
    font-weight: 800;
    color: #f8fafc;
}

/* Botón con Recuadro y Borde Corporativo */
.btn-cta {
    display: inline-block;
    padding: 14px 28px;
    border: 2px solid #3b82f6; /* Recuadro con borde visible */
    background-color: transparent;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-cta:hover {
    background-color: #3b82f6;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

/* =====================================================
   SECCIÓN PROCESO
===================================================== */
.process-section {
    padding: 80px 0;
    background-color: var(--bg-primary, #ffffff);
    color: var(--text-color, #1e293b);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.process-item {
    background-color: var(--card-bg, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 8px;
    padding: 32px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    outline: none; /* Elimina bordes o enfoques residuales */
}

/* Efecto Hover limpio (Sin bordes verdes no deseados) */
.process-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: #1e3a8a; /* Color corporativo azul al pasar el cursor */
}

/* Números 01, 02, 03, 04 destacados */
.process-item span {
    display: inline-block;
    background-color: #1e3a8a; /* Azul corporativo */
    color: #ffffff !important;
    font-size: 20px;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Textos más gruesos y legibles */
.process-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 800; /* Letras más gruesas */
    color: var(--heading-color, #0f172a);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.process-item p {
    font-size: 14px;
    font-weight: 500; /* Texto visible y claro */
    color: var(--text-muted, #475569);
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   8. SOLICITUD DE PEDIDO
   -------------------------------------------------------------------------- */
.order-section {
  padding: 90px 0;
  background-color: var(--bg);
}

.order-box {
  background-color: var(--bg-card);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 8px solid var(--border);
  max-width: 900px;
  margin: 0 auto;
}

.order-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.form-submit-btn {
  width: 100%;
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   9. CONTACTO Y UBICACIÓN MAPS
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 90px 0;
  background-color: var(--bg-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.info-items {
  display: grid;
  gap: 20px;
  margin: 30px 0;
}

.info-item {
  display: flex;
  gap: 15px;
  align-items: center;
}

.info-icon {
  font-size: 1.5rem;
  background-color: var(--primary-light);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-container {
  margin-top: 30px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 8px solid var(--border);
}

.map-container h3 {
  padding: 15px 20px;
  background-color: var(--bg-card);
  font-size: 1.05rem;
}

.map-responsive {
  position: relative;
  width: 100%;
  height: 300px;
}

.contact-form {
  background-color: var(--bg-card);
  padding: 35px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 8px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --------------------------------------------------------------------------
   10. CHATBOT Y BOTÓN FLOTANTE WHATSAPP
   -------------------------------------------------------------------------- */
.chatbot {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 2000;
}

.chatbot-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--accent);
  color: #ffffff;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.chatbot-toggle:hover {
  transform: scale(1.1);
}

.chatbot-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: #ef4444;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.chatbot-window {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 350px;
  background-color: var(--bg-card);
  border-radius: 16px;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: var(--transition);
}

.chatbot-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  background-color: #075e54;
  color: #ffffff;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-avatar {
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.chatbot-header strong {
  display: block;
  font-size: 0.95rem;
}

.chatbot-header small {
  font-size: 0.75rem;
  color: #a7f3d0;
}

.chatbot-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

.chatbot-body {
  padding: 20px;
  background-color: #efeae2;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-height: 380px;
  overflow-y: auto;
}

body.dark-theme .chatbot-body {
  background-color: #0b141a;
}

.bot-message {
  background-color: #ffffff;
  padding: 12px 15px;
  border-radius: 0 12px 12px 12px;
  font-size: 0.88rem;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  line-height: 1.4;
}

body.dark-theme .bot-message {
  background-color: #202c33;
  color: #e9edef;
}

.chat-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-options button {
  background-color: #ffffff;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 10px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.chat-options button:hover {
  background-color: var(--primary);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   11. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--secondary);
  color: #94a3b8;
  padding: 70px 0 20px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand p {
  margin-top: 15px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   12. ANIMACIONES Y RESPONSIVE (MÓVIL / TABLET)
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Responsive Tablet / Mobile */
@media (max-width: 992px) {
  /* Muestra el botón hamburguesa */
  .mobile-menu-btn {
    display: block !important;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    z-index: 1001;
  }

  /* Panel del menú colapsable */
  .main-nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-card, #ffffff);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px 30px;
    gap: 15px;
    transition: left 0.3s ease;
    overflow-y: auto;
    z-index: 999;
  }

  /* Clase activa que muestra el menú lateral/desplegable */
  .main-nav.open {
    left: 0;
  }

  /* Ajustes de submenús en celulares */
  .nav-dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    display: none; /* Se oculta por defecto */
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 15px;
    width: 100%;
    background-color: transparent;
  }

  /* Despliegue mediante clase activa */
  .nav-dropdown.active .dropdown-menu {
    display: block;
  }

  /* Acciones de la cabecera en móvil */
  .nav-actions {
    gap: 8px;
  }

  .quote-btn {
    padding: 8px 12px;
    font-size: 0.75rem;
  }
}

@media (max-width: 600px) {
  .order-form .form-row {
    grid-template-columns: 1fr;
  }

  .order-box {
    padding: 20px;
  }

  .chatbot-window {
    width: calc(100vw - 40px);
    right: -10px;
  }
}
/* ==========================================
   ESTILOS CARRITO & BOTONES (+ AGREGAR / COTIZAR)
   ========================================== */

/* Botones en las tarjetas de productos */
.card-buttons-row {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.btn-card-add {
  flex: 1;
  background-color: #0f172a;
  color: #ffffff;
  border: none;
  padding: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-card-add:hover {
  background-color: var(--primary);
}

.btn-card-quote {
  flex: 1;
  background-color: #e2e8f0;
  color: #0f172a;
  text-align: center;
  padding: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid #cbd5e1;
  transition: var(--transition);
}

.btn-card-quote:hover {
  background-color: #cbd5e1;
}

/* Botón Carrito Header */
.cart-btn-header {
  background-color: #e2e8f0;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-btn-header b {
  background-color: var(--primary);
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* Panel Lateral Desplegable (Carrito Drawer) */
.cart-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  height: 100vh;
  background-color: #ffffff;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

.cart-panel.open {
  right: 0;
}

.cart-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.4);
  z-index: 2999;
  display: none;
}

.cart-backdrop.open {
  display: block;
}

.cart-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
}

.cart-header h2 {
  font-size: 1.2rem;
  color: #0f172a;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-empty {
  color: #64748b;
  text-align: center;
  margin-top: 40px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f1f5f9;
}

.cart-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h4 {
  font-size: 0.88rem;
  color: #0f172a;
  margin-bottom: 2px;
}

.cart-item-info small {
  color: #64748b;
  font-size: 0.78rem;
}

.cart-remove-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.2rem;
  cursor: pointer;
}

.cart-remove-btn:hover {
  color: #ef4444;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.btn-cart-submit {
  background-color: #0f172a;
  color: #fff;
  border: none;
  padding: 12px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
}

.btn-cart-clear {
  background-color: #ffffff;
  color: #0f172a;
  border: 1px solid #0f172a;
  padding: 12px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
}

/* ==========================================
   ENLACE Y CONTENEDOR DE LA IMAGEN EN LA TARJETA
   ========================================== */
.card-img-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 260px;          /* Altura fija para uniformidad en todas las pestañas */
  background-color: #f8fafc; /* Fondo claro neutro para los espacios sobrantes */
  overflow: hidden;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px;          /* Margen interno para que no pegue a los bordes */
  box-sizing: border-box;
}

/* ==========================================
   AJUSTE CENTRADO Y COMPLETO DE LA IMAGEN
   ========================================== */
.card-img-container img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;    /* Garantiza que la foto se vea COMPLETA sin recortarse */
  object-position: center; /* Centra la imagen horizontal y verticalmente */
  display: block;
  margin: 0 auto;
}

/* ==========================================
   ESTILOS DE VISTA DETALLE Y FICHA TÉCNICA
   ========================================== */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* MARCO Y CENTRADO DE LA IMAGEN EN DETALLE */
.detail-img-card {
  width: 100%;
  height: 480px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.detail-img-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* Garantiza que la imagen grande se vea completa */
  object-position: center;
}

/* INFORMACIÓN Y BADGE DE CATEGORÍA */
.detail-badge {
  display: inline-block;
  background: #e2e8f0;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.detail-description {
  font-size: 16px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* CAJA DE FICHA TÉCNICA */
.tech-spec-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
}

.tech-spec-box h3 {
  font-size: 16px;
  color: #0f172a;
  margin-bottom: 12px;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.spec-list li {
  font-size: 14px;
  color: #334155;
  padding: 6px 0;
  border-bottom: 1px dashed #cbd5e1;
}

.spec-list li:last-child {
  border-bottom: none;
}

.detail-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* DISEÑO ADAPTABLE PARA CELULARES */
@media (max-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .detail-img-card {
    height: 320px;
  }
}

/* ALINEACIÓN EN UNA SOLA FILA */
.main-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.header-container {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 3% !important;
  max-width: 1400px;
  margin: 0 auto;
  gap: 15px;
}

.header-logo {
  height: 45px !important;
  width: auto !important;
  display: block;
}

.nav-menu {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 15px !important;
  margin: 0 !important;
}

.nav-link {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text, #333);
  text-decoration: none;
  white-space: nowrap;
}

.header-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
}

.theme-toggle-btn {
  background: none;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 5px 8px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.btn-catalog-header {
  border: 1.5px solid var(--primary, #e66000);
  color: var(--primary, #e66000);
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.78rem;
  text-decoration: none;
  white-space: nowrap;
}

.btn-cotizar-header {
  background: #0f172a;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.78rem;
  text-decoration: none;
  white-space: nowrap;
}

/* MODOS OSCUROS CSS */
body.dark-mode {
  background-color: #121212 !important;
  color: #f1f1f1 !important;
}

body.dark-mode .main-header {
  background-color: #1e1e1e !important;
  border-bottom-color: #333 !important;
}

body.dark-mode .nav-link {
  color: #fff !important;
}

/* Línea separadora para el submenú de productos */
.dropdown-divider {
  height: 1px;
  background-color: #e2e8f0;
  margin: 6px 0;
}

.dropdown-item.pdf-link {
  font-weight: 600;
  color: var(--primary, #e66000);
}

/* =====================================================
   ESTILOS PARA MISIÓN Y VISIÓN
===================================================== */
.vision-mision-container {
  width: 100%;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.mv-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 25px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.mv-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.mv-card h3 {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.mv-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Adaptación a Modo Oscuro */
body.dark-theme .mv-card {
  background-color: #1e293b;
  border-color: #334155;
}

body.dark-theme .mv-card h3 {
  color: #f8fafc;
}

body.dark-theme .mv-card p {
  color: #cbd5e1;
}

/* =====================================================
   ESTILOS PARA ÍCONOS SOCIALES DEL FOOTER
===================================================== */
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.08); /* Fondo discreto translúcido */
  color: #ffffff;                              /* Color del ícono */
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;                          /* Botón circular */
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

/* EFECTO HOVER: Cambia al Naranja Corporativo de la marca */
.footer-social a:hover {
  background-color: var(--primary, #d97706);
  border-color: var(--primary, #d97706);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
}

/* =====================================================
   CONTROL INDEPENDIENTE DE IMÁGENES
===================================================== */


/* Imagen exclusiva de la Sección Nosotros */
.about-photo {
  width: 100% !important;
  max-width: 100% !important; /* Permite que ocupe el ancho de su contenedor */
  height: 720px !important;    /* Ajusta este valor al alto deseado para Nosotros */
  object-fit: cover!important;/* Cubre el marco sin deformar la foto */
  border-radius: 5px;
}

/* =====================================================
   SEPARACIÓN Y ESPACIADO EN SECCIÓN HERO
===================================================== */
.hero-content img {
  max-width: 400px;      /* Tamaño del logo en la portada hero */
  margin-bottom: 30px;   /* Genera separación hacia el título h1 */
  margin-top: -10px;     /* Eleva ligeramente el logo hacia arriba */
  height: auto;
}


/* ====================================================
Contenedor del zoom ====================================================*/
.zoom-container {
  position: relative;
  overflow: hidden;
  cursor: crosshair;
}

/* Lupa */
.zoom-lens {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--primary, #003399);
  background-repeat: no-repeat;
  background-size: 250%; /* Nivel de zoom (250%) */
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Muestra la lupa al pasar el cursor */
.zoom-container:hover .zoom-lens {
  opacity: 1;
}

.zoom-lens {
  /* Cambia 250% por 350% o 400% si quieres ver la trama de la tela más de cerca */
  background-size: 400% !important; 
}


/* =====================================================
   CARRUSEL AUTOMÁTICO EN SECCIÓN NOSOTROS
===================================================== */
.about-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--radius, 12px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.carousel-track {
  position: relative;
  width: 100%;
  height:900px; /* Misma altura definida para la sección Nosotros */
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-slide img.about-photo {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 0;
}

/* Indicadores de puntos */
.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-dots .dot.active {
  background-color: var(--primary, #d97706);
  transform: scale(1.2);
}

/* =====================================================
   SECCIÓN CLIENTES / TOP MARCAS
===================================================== */
.clients-section {
  padding: 80px 0;
  background-color: var(--bg-alt, #f8f9fa); /* Fondo suave que resalta los logos */
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.clients-section .section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 25px;
  align-items: center;
  justify-items: center;
}

.client-card {
  width: 100%;
  height: 100px;
  background: #ffffff;
  border-radius: 12px;
  padding: 1px; /* Reducimos el relleno para dar más espacio al logo */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

 .client-card img {
  width: 80%; /* Ocupa el 80% del ancho del recuadro */
  height: 80%; /* Ocupa el 80% de la altura del recuadro */
  object-fit: contain; /* Evita que el logo se deforme o distorsione */
  filter: grayscale(30%);
  opacity: 0.9;
  transition: all 0.3s ease;
}

/* EFECTO HOVER AL PASAR EL MOUSE */
.client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: #004b93; /* Tu color institucional */
}

.client-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* RESPONSIVE EN MÓVILES */
@media (max-width: 600px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .client-card {
    height: 85px;
    padding: 10px 15px;
  }
}

/* =====================================================
   CARRUSEL CONTINUO DE LOGOS CLIENTES
===================================================== */
.clients-section {
  padding: 60px 0;
  background-color: var(--bg-card, #ffffff);
  overflow: hidden;
}

.logos-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

/* Sombra tenue a los lados para disimular la entrada y salida de logos */
.logos-slider::before,
.logos-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logos-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-card, #ffffff), transparent);
}

.logos-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-card, #ffffff), transparent);
}

/* Pista que se desplaza infinitamente */
.logos-track {
  display: flex;
  gap: 30px; /* Aumentado de 20px a 30px para dar más espacio entre tarjetas */
  width: max-content;
  animation: scrollLogos 30s linear infinite; /* Ajustado a 30s para que no se mueva muy rápido con el nuevo tamaño */
}


/* Pausa el movimiento si el usuario pasa el mouse sobre los logos */
.logos-slider:hover .logos-track {
  animation-play-state: paused;
}

/* Tarjeta individual (Diseño basado en tus fotos con fondo blanco y bordes redondeados) */
.logo-card {
  width: 240px;  /* ← ANTES 180px: Ahora las tarjetas son más anchas */
  height: 120px; /* ← ANTES 90px:  Ahora las tarjetas son más altas */
  background-color: #ffffff;
  border-radius: 16px; /* Bordes ligeramente más curvados para acompañar el nuevo tamaño */
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px; /* Más espacio interno para que las imágenes tengan buen margen */
  flex-shrink: 0;
}

.logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(20%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.08);
}

/* ANIMACIÓN KEYFRAMES */
@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}