/*----------------------------------------------Estilos generales-------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* === Estilo general del body === */
body {
  font-family: 'Gill Sans', Calibri, 'Trebuchet MS', sans-serif;
  line-height: 1.5;
  color: #333;
  background-color: #f9f9f9;
}
/* === Enlaces y listas === */
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
/* === Encabezados === */
h1, h2, h3 {
  text-wrap: balance; font-weight: bold; line-height: 1.2; margin: 1rem 0;
}
/* Encabezado principal */
h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  margin: 3rem auto;
  text-align: center;
  background-color: #000;
  color: #fff;
  width: 90vw;
  padding: 2rem;
  border-radius: 10px;
}
/* Subtítulos */
h2 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  margin: 2rem 0;
}
h3 {
  font-size: clamp(1.2rem, 3vw, 2rem);
  margin: 1.5rem 0;
}

/*---------------------------------- Barra de Navegación ------------------------------------*/
  header {
    background: #F36F21;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
  }
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%; /* asegúrate de ocupar todo el ancho disponible */
    padding: clamp(1rem, 2vw, 2rem);
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(0.8rem, 1.5vw, 1.2rem);
    box-sizing: border-box; /*  clave para evitar desbordes por padding */
    overflow: hidden;        /*  previene desbordes visuales */
  }
  .logo img {
    height: 150px;
    filter: drop-shadow(10px 10px 20px rgba(0, 0, 0, 1))
  }
  .menu {
    display: flex;
    gap: clamp(1rem, 3vw, 2rem);
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .menu li a {
    text-transform: uppercase;
    font-weight: bold;
    font-size: clamp(1rem, 1.5vw, 2rem);
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  .menu li a:hover {
    color: #fff;
  }
  .menu-toggle {
    display: none;
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
  }
@media (max-width: 768px) {
    .menu {
      display: none;
      flex-direction: column;
      background-color: #222;
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%) translateY(-10px);
      width: 90%;
      padding: 1rem 0;
      opacity: 0;
      pointer-events: none;
      border-radius: 12px;
      transition: all 0.3s ease-in-out;
      box-shadow: 0 0 20px rgba(0,0,0,0.4);
      z-index: 999;
    }
    .menu.active {
      display: flex;
      opacity: 1;
      pointer-events: auto;
      transform: translateX(-50%) translateY(0);
    }
    .menu li {
      border-bottom: 1px solid #fff;
      padding: 1rem;
      text-align: center;
    }

    .menu li:last-child {
      border-bottom: none;
    }

    .menu-toggle {
      display: block;
    }

    .menu li a {
      color: white;
      font-size: 1.1rem;
    }

    .menu li a:hover {
      color: #F36F21;
    }
    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  }
  /*------------------------------Aspectos Index-----------------------------------*/
  .index h1 {
    font-size: bolder;
  }
  .index h2 {
    padding: 20px 20px;
    font-size: bold;
  }
  .index h3 {
    padding: 20px 20px;
  }
  
  p {
    font-size: 2em;
  }  
  .index p {
    padding: 20px 20px;
    text-align: center;
    text-wrap: pretty;
    font-size: 1em;
  }
  .menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 20px 40px;
    max-width: 1200px;
    margin: auto;
  }
  .menu-page h1 {
  font-size: bolder; /* Tamaño de fuente específico para esta sección */
  color: #9c958f;    /* Color que quieras */
  text-align: center;
  margin-bottom: 50px;
  padding: top; 
  }
  
  /* Estilo para cada tarjeta de producto */
  .product-card {
    background: #F36F21;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease;
  }
  .menu-page {
    width: 95%;
    height: auto;
    background-color: #000;
    color: #fff;
    margin: 5vh auto;
    padding-top: 70px;  /* Espacio para evitar que la barra fija se superponga */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .product-card:hover {
    transform: translateY(-5px);
  }
  
  .product-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
  }
  
  .product-card h3 {
    margin: 10px 0 5px;
    font-size: 1.2rem;
  }
  
  .product-card p {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  
  .product-card button {
    background: #d68240;
    border: none;
    color: #fff;
    padding: 10px 15px;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .product-card button:hover {
    background: #bf6b2f;
  }
  
  /* Media Queries para Responsividad */
  
  /* Para pantallas medianas: 768px o menos, 2 columnas */
  @media (max-width: 768px) {
    .menu-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* Para pantallas pequeñas: 480px o menos, 1 columna */
  @media (max-width: 480px) {
    .menu-grid {
      grid-template-columns: 1fr;
    }
  }
  
  /* Espacio contenido oculto */
  .spacer {
    height: 2em;
  }
  
  /* Video preview */
  .video-preview {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }
  .video-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 10px;
  }
  .video-preview .overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,1), transparent);
  }
  
  /* Sección del mapa */
  .map-section {
    margin-bottom: 90%;
    padding: 40px 40px;
    box-sizing: content-box;
    background: #f4f4f4;
  }
  .map-container iframe {
    width: 100%;
    height: 300px;
    border: 0;
  }
  
  /* Estilos generales para las secciones */
  .content-section h3 {
    font-size: 2em;
    text-wrap: balance;
  }
  .content-section p {
    font-size: 1.6em;
    text-wrap: pretty;
  }
  .content-section {
    padding: 40px 20px;
    text-align: center;
    position: relative;
  }
  
  /* Contenedor del texto */
  .text-container {
    max-width: 800px;
    margin: 0 auto;
    text-wrap: pretty;
  }
  .index text-container {
    max-width: 800px;
    margin: 40px 0;
    text-wrap: pretty;
  }
  
  /* Estilo para el divisor (imagen separadora) */
  .divider img {
    width: 100%;
    padding: 20px 20px;
    height: auto;
    display: block;
    margin: 0px;
    background-size: cover;
    background-position: center;
  }
  
  /* Sección con fondo negro */
  .section-black {
    background-color: #8B4513;
    color: #fff; /* Texto en blanco para contraste */
    padding: 100px 0;
  }
  
  /* Sección con fondo blanco */
  .section-white {
    background-color: #FFF5E1;
    color: #333;
    padding: 100px 0;
  }
  .contact-section {
    padding-top: 170px;
    background: #f4f4f4;
    text-align: center;
    font-size: clamp(.5rem, 3vw, 1rem);
  }
  .contact-section h2 {
    margin-bottom: 30px;
    text-wrap: balance;
  }
  
  /* Contenedor del formulario y la info */
  .contact-section h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 30px;
  }
  .contact-section h3 {
    font-size: clamp(1rem, 2vw, 2rem);
    margin-bottom: 30px;
  }
  .contact-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 40px;
  }
  .contact-info, .contact-form {
    flex: 1 1 300px;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: left;
  }
  .contact-info p {
    margin-bottom: 10px;
  }
  .contact-form form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
  }
  .contact-form form input,
  .contact-form form select,
  .contact-form form textarea {
    width: 100%;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: clamp(1rem, 2vw, 1.2rem);
  }
  .contact-form form button {
    background: #F36F21;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  .contact-form form button:hover {
    background: #d68240;
  }
  textarea {
    resize: none;
  }
  
/* === Términos y condiciones === */
  .tyc {
    width: 100%;
    max-width: 1100px;
    padding: clamp(80px, 10vh, 100px) 1rem 2rem;
    box-sizing: border-box;
    margin: 0 auto;
  }
  .tyc h1 {
    font-size: clamp(1.5rem, 5vw, 3rem);
    margin: 3rem auto 2rem;
    text-align: center;
    background-color: #000;
    color: #fff;
    width: 100%;
    max-width: 100%;
    padding: clamp(1rem, 3vw, 1.5rem);
    border-radius: 10px;
    box-sizing: border-box;
    overflow-wrap: break-word;
  }
  .tyc h2 {
    font-size: 1.2rem; /* Fallback para compatibilidad */
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    line-height: 1.6;
    color: #334;
    margin-bottom: 1em;
    text-align: justify;
  }
  .tyc p {
    font-size: 1rem; /* Fallback */
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.75;
    letter-spacing: 0.3px;
    color: #555;
    margin-bottom: 1em;
    text-align: justify;
  }
  .tyc ul {
    list-style: disc inside;
    margin-bottom: 1em;
    padding-left: 1rem;
    color: #555;
  }
  .tyc a {
    color: #F36F21;
    text-decoration: underline;
  }
  .tyc a:hover {
    color: #000;
  }
  /* === Responsive adicional === */
  @media (max-width: 480px) {
    .tyc {
      padding: 1rem;
    }
  
    .tyc h2 {
      font-size: 1.1rem;
    }
  
    .tyc p {
      font-size: 1rem;
    }
  }
  /*----------------------------PARTE LEGAL Y TERMINOS Y CONDICIONES---------------------------*/
  .legal-section {
    font-size: clamp(0.8rem, 1.5vw, 2.0rem);
    padding: 1vw;
    background: #eee;
    text-align: center;
  }
  .legal-section ul {
    display: inline flex;
    text-align: center;
    margin: 0 10px 0 10px;
    gap: 20px;
  }
  .legal-section ul:hover {
    transition: filter 0.7s;
  }
  .legal-section li a {
    background-color: transparent;
    border-radius: 12%;
    color: #F36F21;
  }
  .legal-section li a:hover {
    background-color: #0002;
    border-radius: 7%;
    font-size: 0.8em;
    transform: translateY(-3px)
  }
  .terms-container {
    width: 100%;
    margin: 20px;
    padding: 80px 0px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
  }

  .terms-container h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #F36F21;
    margin-top: 90%;
  }

  .terms-container h2 {
    margin-top: 50px;
    color: #d68240;
  }

/*--------------------- BASE DE LA PAGINA ----------------------------------*/
  footer {
      background: #444;
      width: calc(100%);
      margin: auto;
      color: #fff;
      padding: 20px;
      text-align: center;
      box-sizing: cover;
      border: 15px;
      font-size: clamp(.3vw, .6vw, 1vw);
  }
  .social-links {
      box-sizing: content-box;
      display: inline-flex;
      gap: 15px;
      margin-bottom: 30px;
  }

  .social-links li img {
      height: 30px;
      width: 30px;
      filter: brightness(1) invert(0);
      transition: filter 0.3s;
  }
  .social-links li img:hover {
      filter: brightness(.8) invert(.2);
  }
