/* styles.css */
:root {
      --color-principal: #003366;
      --color-secundario: #0066cc;
      --color-fondo: #e6f0ff;
      --color-texto: #333333;
      --color-texto-alt: #ffffff;
      --small-card-bg: #0055aa;
      --form-bg: #ffffff;
      --newsletter-bg: #f0f8ff;
    }
    /* Estilos Generales */
    body {
      overflow-x: hidden;   /* bloquea cualquier scroll horizontal “fantasma” */
      font-family: 'Poppins', sans-serif;
      background: var(--color-fondo);
      color: var(--color-texto);
    }
    /* … resto de tu CSS tal cual estaba … */
  

  /* Centro horizontal del texto y del botón en la sección .hero */
section.hero .container {
  text-align: center;
}
/* Asegúrate de que el botón no ocupe todo el ancho */
section.hero .container .btn {
  display: inline-block;
}
  /* === Sección Armas Traumáticas === */
  #armas-traumaticas {
    background: #002F6C;
    color: #F0F8FF;
    padding: 3rem 2rem;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    margin: 2rem 0;
  }
  #armas-traumaticas h2 {
    color: #FFD700;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
  }
  /* ... el resto de reglas CSS ... */
  @keyframes scroll-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  /* === Sección producto con fondo azul y texto blanco === */
  section.product-range {
    background-color: #004080;  /* azul oscuro */
    color: #fff;
    padding: 3rem;
    border-radius: 8px;
    margin: 2rem 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
  }
  section.product-range h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  section.product-range h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }
  /* === Grid de 4 imágenes de tamaño fijo === */
  .product-range .images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    justify-items: center;
    margin-bottom: 2rem;
  }
  .product-range .image-box {
    width: 180px;
    height: 120px;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  }
  .product-range .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  /* === Estilos para párrafos y listas === */
  .product-range p {
    margin-bottom: 1rem;
  }
  .product-range .features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
  }
  .product-range .features li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
  }
  .product-range .features li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #28a745;
    font-weight: bold;
  }
  header.contact-header {
  background-color: #003366; /* Fondo azul oscuro */
  color: #ffffff; /* Texto blanco */
  padding-top: 120px;
  padding-bottom: 120px;
  min-height: 400px;
}

/* Títulos y enlaces dentro del header en blanco */
header.contact-header h1,
header.contact-header .nav-menu a,
header.contact-header .menu-toggle {
  color: #ffffff !important;
}





    #armas-traumaticas {
      background: #002F6C;
      color: #F0F8FF;
      padding: 3rem 2rem;
      border-radius: 8px;
      font-family: 'Poppins', sans-serif;
      line-height: 1.7;
      margin: 2rem 0;
    }
    #armas-traumaticas h2 {
      color: #FFD700;
      text-align: center;
      margin-bottom: 1.5rem;
      font-size: 2rem;
    }
    #armas-traumaticas h3 {
      color: #FFD700;
      margin-top: 2rem;
      margin-bottom: 1rem;
      font-size: 1.5rem;
    }
    #armas-traumaticas .at-images {
      display: flex; flex-wrap: wrap; gap: 1rem;
      justify-content: center; margin-bottom: 2rem;
    }
    #armas-traumaticas .at-images img {
      width: calc(100%/4 - 1rem);
      max-width: 180px;
      border: 2px solid #FFD700;
      border-radius: 6px;
      object-fit: cover;
      box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    }
    #armas-traumaticas p {
      margin-bottom: 1rem;
    }
    #armas-traumaticas ul,
    #armas-traumaticas ol {
      margin-left: 1.5rem;
      margin-bottom: 1rem;
    }
    #armas-traumaticas ul li::marker { color: #FFD700; }
    #armas-traumaticas ol li { margin-bottom: .5rem; }
    #armas-traumaticas .at-testimonial {
      background: rgba(255,255,255,0.1);
      padding: 1rem; margin: 1rem 0;
      border-radius: 6px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    }
    #armas-traumaticas details {
      background: rgba(255,255,255,0.05);
      border-radius: 4px; margin-bottom: .75rem; padding: .75rem;
    }
    #armas-traumaticas summary {
      font-weight: bold; cursor: pointer;
    }
    #armas-traumaticas .at-cta {
      text-align: center; margin-top: 2rem;
    }
    #armas-traumaticas .at-button {
      background: #FFD700;
      color: #002F6C;
      padding: .75rem 1.5rem;
      font-size: 1.1rem;
      font-weight: 600;
      border: none;
      border-radius: 6px;
      text-decoration: none;
      transition: background .3s;
    }
    #armas-traumaticas .at-button:hover {
      background: #e6c200;
    }
  

  /* Scope global à #products-carousel-4x4 */
  #products-carousel-4x4 { 
    background: #004080;
    padding-top: 72px;      /* si vous avez un header fixe plus haut */
    padding-bottom: 2rem;
  }
  /* Header de la section */
  #products-carousel-4x4 .pcs-header {
    position: relative;
    top: 0;
    background: #004080;
    padding: 1rem;
    text-align: center;
  }
  #products-carousel-4x4 .pcs-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
  }
  /* Container du carousel */
  #products-carousel-4x4 .pcs-carousel {
    overflow: hidden;
  }
  /* Chaque “rangée” */
  #products-carousel-4x4 .pcs-row {
    overflow: hidden;
    margin: 1rem 0;
  }
  /* Le track animé */
  #products-carousel-4x4 .pcs-track {
    display: flex;
    animation: scroll-left 20s linear infinite;
  }
  #products-carousel-4x4 .pcs-row:nth-child(2) .pcs-track { animation-duration: 25s; }
  #products-carousel-4x4 .pcs-row:nth-child(3) .pcs-track { animation-duration: 30s; }
  #products-carousel-4x4 .pcs-row:nth-child(4) .pcs-track { animation-duration: 35s; }
  /* Cartes produits */
  #products-carousel-4x4 .pcs-card {
    flex: 0 0 calc(25% - 1rem);
    margin-right: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
  }
  #products-carousel-4x4 .pcs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }
  #products-carousel-4x4 .pcs-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
  }
  /* Infos produit */
  #products-carousel-4x4 .pcs-info {
    padding: 0.75rem;
    text-align: center;
  }
  #products-carousel-4x4 .pcs-name {
    font-size: 1rem;
    font-weight: 600;
    color: #004080;
    margin-bottom: 0.5rem;
  }
  #products-carousel-4x4 .pcs-price {
    color: #28a745;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
  }
  #products-carousel-4x4 .pcs-desc {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 0.75rem;
    padding: 0 0.5rem;
  }
  #products-carousel-4x4 .pcs-link {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: #004080;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
  }
  /* Animation keyframes */
  @keyframes scroll-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }


  /* === Sección FAQ con fondo azul oscuro y texto blanco === */
  section.faq-section {
    background-color: #002948;
    color: #f0f0f0;
    padding: 3rem;
    border-radius: 8px;
    margin: 2rem 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
  }
  section.faq-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #ffffff;
  }
  section.faq-section h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #0056a6;
    padding-bottom: 0.5rem;
  }
  section.faq-section p {
    margin-bottom: 1rem;
  }
  /* === Preguntas estilo acordeón === */
  .faq-section details {
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    margin-bottom: 1rem;
    padding: 1rem;
  }
  .faq-section summary {
    cursor: pointer;
    font-weight: bold;
    position: relative;
    padding-right: 1.5rem;
  }
  .faq-section summary::after {
    content: "▼";
    position: absolute;
    right: 0;
    transform: rotate(0deg);
    transition: transform 0.2s;
    color: #66c2ff;
  }
  .faq-section details[open] summary::after {
    transform: rotate(-180deg);
  }
  .faq-section details p {
    margin-top: 0.5rem;
    padding-left: 1rem;
  }
  /* === Imágenes pequeñas en FAQ === */
  .faq-section .faq-images {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
  }
  .faq-section .faq-images img {
    width: 200px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  }
  /* Big Card */
  .big-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .big-card-text {
    flex: 1 1 60%;
  }
  .big-card-img {
    flex: 1 1 35%;
    max-width: 300px;
  }
  .big-card-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  /* Small Card */
  .small-card {
    background: #f8f9fa;
    border-radius: 10px;
    text-align: center;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  }
  .small-card img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  }
  .small-card p {
    font-size: 1rem;
    line-height: 1.5;
  }
  .small-card small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #777;
  }


  /* === Sección tracking con fondo azul oscuro === */
  section.tracking-section {
    background-color: #003366;
    color: #fff;
    padding: 3rem;
    border-radius: 8px;
    margin: 2rem 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
  }
  section.tracking-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  section.tracking-section p {
    margin-bottom: 1rem;
  }
  section.tracking-section h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }
  /* === Formulario de tracking === */
  .tracking-section .tracking-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
  }
  .tracking-section .tracking-form input,
  .tracking-section .tracking-form select {
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    font-size: 1rem;
    flex: 1;
    min-width: 180px;
    max-width: 240px;
  }
  .tracking-section .tracking-form button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    background-color: #28a745;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    white-space: nowrap;
  }
  /* === Lista dinámica de ciudades === */
  .tracking-section select option:first-child {
    color: #999;
  }
  .map-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .map-container iframe {
    width: 100%;
    max-width: 800px;
    height: 400px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .map-container figcaption {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #555;
    text-align: center;
    max-width: 800px;
  }


    .testimonial-card img {
    max-width: 100px;
    max-height: 100px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 1rem;
  }
  .testimonial-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: center;
  }
  .testimonial-card p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }
  .testimonial-card strong {
    display: block;
    font-weight: bold;
    margin-bottom: 0.25rem;
  }
  .testimonial-card footer {
    font-size: 0.8rem;
    color: #777;
  }
  /* === Sección “Quiénes Somos” super pro === */
  section.about-section {
    background: linear-gradient(135deg, #0066cc 0%, #004080 100%);
    color: #f5f5f5;
    padding: 4rem 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
  }
  section.about-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  section.about-section p.intro {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    text-align: center;
  }
  /* === Texto de visión y misión === */
  .about-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
  }
  .about-card {
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 1.5rem;
    flex: 1 1 280px;
    max-width: 320px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }
  .about-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #ffd700;
  }
  .about-card p {
    font-size: 1rem;
    margin-bottom: 0.6rem;
  }
  /* === Equipo (fotos circulares) === */
  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    justify-items: center;
  }
  .team-member {
    text-align: center;
    max-width: 160px;
  }
  .team-member img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ffd700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    margin-bottom: 0.8rem;
  }
  .team-member h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
  }
  .team-member small {
    font-size: 0.85rem;
    color: #ddd;
  }


/* === Responsive Navigation Menu === */
.menu-toggle {
  background: #ffd700;
  color: #003366;
  border: none;
  font-size: 1.8rem;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  margin-left: auto;
  display: block;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nav-menu .menu-btn {
  background-color: #0066cc;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.nav-menu .menu-btn:hover {
  background-color: #004080;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #003366;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
  }

  .nav-menu.show {
    display: flex;
  }
}


header.contact-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #003366;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


header.contact-header {
  padding: 0.5rem 1rem;
  min-height: auto;
  background: #003366;
  background-image: none !important;
}

/* --- Ajuste definitivo de las imágenes en el grid 4×4 --- */
#products-carousel-4x4 .pcs-card img {
  display: block;        /* para centrar con margin auto */
  margin: 0 auto;
  width: auto;           /* que no estire horizontalmente */
  max-width: 100%;       /* ocupe todo el ancho disponible */
  max-height: 140px;     /* controla la altura del recuadro */
  object-fit: contain;   /* muestra la imagen completa sin recortes */
}

/* --- Grid fijo: 4 columnas en escritorio, 1 columna en móvil --- */
#products-carousel-4x4 .pcs-carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  animation: none !important;
}

/* ignorar estructuras antiguas */
#products-carousel-4x4 .pcs-row,
#products-carousel-4x4 .pcs-track {
  display: contents;
}

#products-carousel-4x4 .pcs-card {
  margin: 0;
  flex: none;
  transform: none !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: none;
}

/* --- Adaptación móvil: 1 columna y tarjetas apiladas --- */
@media (max-width: 768px) {
  #products-carousel-4x4 .pcs-carousel {
    grid-template-columns: 1fr;
  }
}

.titre-article {
  /* styles par défaut d’un h3 : */
  font-size: 1.17em;       /* taille de police */
  font-weight: bold;       /* graisse */
  margin: 0.67em 0;        /* marges verticales */
  line-height: 1.2;        /* interlignage */
  /* et tout autre style que vous aviez sur vos h3 */
}

section.hero .container h2,
section.hero .container p {
  color: #ffffff;
}









.city-section {
  display: flex;
  justify-content: center;
  padding: 3rem 1rem;
  background: #fafafa;
}
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
}
.city-card {
  padding: 2rem;
  border-radius: 1.25rem;
  background: linear-gradient(145deg, #ffffff, #e6e6e6);
  box-shadow:  8px 8px 16px #d1d1d1,
               -8px -8px 16px #ffffff;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}
.city-card:hover {
  transform: translateY(-10px);
  box-shadow:  12px 12px 24px #c8c8c8,
               -12px -12px 24px #ffffff;
}
.city-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}
.postal-code {
  font-family: 'Poppins', sans-serif;
  color: #7f8c8d;
  font-size: 1rem;
}