html {
    scroll-behavior: smooth;
    }
  
      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }
  
      body {
        font-family: 'Helvetica Neue', sans-serif;
        color: #1a1a1a;
        overflow-x: hidden; /* Evita scroll horizontal */
      }
  
      /* Hero Section */
      .hero {
        width: 100%;
        height: 100vh; /* Altura completa del viewport */
        position: relative;
        overflow: hidden; /* Oculta cualquier parte de la imagen que sobresalga */
      }
  
      /* Contenedor de la imagen de fondo */
      .hero-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
      }
  
      /* La imagen de fondo */
      .hero-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Cubre el contenedor, recortando si es necesario */
        object-position: center center; /* Centra la imagen */
      }
  
      /* Capa oscura semitransparente */
      .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* background-color: rgba(0, 0, 0, 0.2); */
      }
  
      /* Contenido sobre la imagen */
      .hero-content {
        position: relative;
        z-index: 2;
        height: 100%;
        display: flex;
        flex-direction: column;
      }
  
      header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fffaea;
    transition: box-shadow 0.3s, border-bottom 0.3s;
    z-index: 1000;
    font-size: 18px;
  }
  header.scrolled {
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }
  .headerr {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
  }
  
      .logo {
        font-weight: bold;
        font-size: 24px;
        color: transparent; /* Hace el texto invisible */
        width: 200px; /* Ajusta según el tamaño de tu logo */
        height: auto;
      }
  
      .logo img {
        width: 100%;
        height: auto;
      }
      .logo span {
          position: absolute;
          left: 72px;
      }
  
      nav a {
        margin-left: 30px;
        text-decoration: none;
        color: #121318;
        transition: color 0.3s;
      }
  
      nav a:hover {
        color: #a1241b;
      }
      .menu-toggle {
        display: none;
        position: absolute;
        top: 15px;
        right: 20px;
        width: 45px;
        height: 45px;
        background-color: #861a16;
        border-radius: 50%;
        cursor: pointer;
        z-index: 1001;
        justify-content: center;
        align-items: center;
        transition: transform 0.3s ease;
      }
  
      .menu-toggle.clicked {
        animation: pulse 0.5s;
      }
  
      @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.1); }
        100% { transform: scale(1); }
      }
  
      .menu-toggle span {
        position: absolute;
        width: 25px;
        height: 3px;
        background-color: white;
        border-radius: 2px;
        transition: all 0.3s ease;
      }
  
      .menu-toggle span:nth-child(1) {
        top: 12px;
      }
  
      .menu-toggle span:nth-child(2) {
        top: 21px;
      }
  
      .menu-toggle span:nth-child(3) {
        top: 30px;
      }
  
      .menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg);
        top: 21px;
      }
  
      .menu-toggle.open span:nth-child(2) {
        opacity: 0;
      }
  
      .menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg);
        top: 21px;
      }
  
  
      .content-wrapper {
        flex: 1;
        display: flex;
        align-items: center;
        padding: 0 60px 60px;
      }
  
      .content {
        max-width: 500px;
        /* background-color: rgba(255, 250, 240, 0.8); */
        padding: 30px;
        border-radius: 15px;
      }
  
      .content h1 {
        font-size: 42px;
        line-height: 1.2;
        margin-bottom: 30px;
      }
      .content h1 {
          font-size: clamp(28px, 4vw, 52px); /* Mínimo 28px, ideal 4vw, máximo 52px */
          line-height: 1.2;
          margin-bottom: 30px;
      }
  
      .content h1 strong {
          font-size: 1.2em;
      }
  
      .btn {
        display: inline-block;
        background-color: #861a16;
        color: #fff;
        padding: 15px 25px;
        border-radius: 12px;
        text-decoration: none;
        font-weight: bold;
        font-size: 16px;
        transition: background-color 0.3s;
      }
  
      .btn:hover {
        background-color: #a7201c;
      }
  
      /* Contenido adicional */
      .additional-content {
        padding: 60px;
        background-color: #fefded;
        color: #1a1a1a;
      }
  
      .additional-content h2 {
        font-size: 36px;
        margin-bottom: 30px;
      }
      .content {
        margin-left: 5vw; /* Valor base para todas las pantallas */
        transition: margin-left 0.3s ease; /* Suaviza el cambio */
      }
      .logo a {
        display: inline-block; /* o block, según necesites */
        width: 100%;
        height: 100%;
        text-decoration: none;
      }
  
      /* Nuevos estilos para la sección Sobre Nosotros */
      .about-section {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 60px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 60px;
      }
      
      /* Estilos para la sección de productos */
      .product-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 60px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 60px;
      }
      
      .products-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        width: 100%;
      }
      
      .product-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
      
      .product-image {
        width: 100%;
        height: auto;
        max-width: 300px;
        transition: transform 0.3s ease;
        border-radius: 10px;
      }
      
      .product-image:hover {
        transform: scale(1.05);
      }
      
      .product-title {
        margin-top: 15px;
        font-size: 18px;
        font-weight: bold;
      }
      
      .seo-text {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
      }
  
      .about-text {
        flex: 1;
        min-width: 50%;
      }
  
      .about-image {
        flex: 1;
        text-align: center;
      }
  
      .about-image img {
        max-width: 100%;
        height: auto;
        border-radius: 15px;
      }
      .contenedor-contacto{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
      }
  
  
  .benefits-content {
    text-align: center;
  }
  
  .benefits-list {
    text-align: left;
    display: inline-block;
    margin: 25px 0;
    padding: 0;
    list-style: none;
  }
  
  .benefits-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    line-height: 1.5;
    margin-left: 20px;
      margin-right: 20px;
  
  }
  
  .benefits-list li:before {
    content: "✓";
    color: #2e7d32;
    font-weight: bold;
    position: absolute;
    left: 0;
  }
  
  .benefits-cta {
    font-style: italic;
    color: #555;
    margin-top: 25px;
    font-size: 1.1rem;
  }
      @media (max-width: 1049px) {
          .product-item.empty {
          display: none;
        }
      }
      @media (min-width: 1100px) {
        .content {
          margin-left: 8vw;
        }
      }
      @media (min-width: 1400px) {
        .content {
          margin-left: 12vw;
        }
      }
      @media (min-width: 1800px) {
        .content {
          margin-left: 15vw;
        }
      }
      
      @keyframes fadeSlide {
          from {
            opacity: 0;
            transform: translateY(-10px);
          }
          to {
            opacity: 1;
            transform: translateY(0);
          }
        }
      
      /* Estilos responsivos */
      @media (max-width: 768px) {
        .about-section, .product-section {
          flex-direction: column;
          padding: 30px;
        }
        
        .about-text, .about-image {
          width: 100%;
        }
        
        .about-image {
          margin-top: 30px;
        }
        
        .products-grid {
          grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
          gap: 20px;
        }
        .contenedor-contacto{
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-around;
        align-items: center;
      }
      nav {
          display: none;
          position: absolute;
          top: 65px;
          right: 20px;
          flex-direction: column;
          background-color: #ffffff;
          width: 85%;
          max-width: 300px;
          box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
          border-radius: 12px;
          padding: 20px;
          animation: fadeSlide 0.4s ease forwards;
        }
  
        nav.show {
          display: flex;
        }
  
        nav a {
          padding: 12px 10px;
          border-bottom: 1px solid #f0f0f0;
          color: #444;
          transition: all 0.3s ease;
        }
  
        nav a:last-child {
          border-bottom: none;
        }
  
        nav a:hover {
          color: #861a16;
          background-color: #f8f8f8;
          border-radius: 8px;
        }
        .menu-toggle {
          display: flex;
        }
      }
      @media (max-width: 652px) {
        .content{
          margin-left: -1vw;
        }
      }
      @media (max-width: 574px) {
        .content{
          margin-left: -6vw;
        }
        .additional-content {
          padding: 0;
        }
        .contacto-texto{
          padding: 10px;
        }
      }
      
      @media (max-width: 510px) {
        .content{
          margin-left: -11vw;
        }
      }
      @media (max-width: 463px) {
        .content{
          margin-left: -16vw;
        }
      }
      @media (max-width: 425px) {
        .content{
          margin-left: -25%;
        }
      }
      @media (max-width: 375px) {
        .content{
          margin-left: -16vw;
        }
        .content h1 strong {
      font-size: 1em;
      }
     }
      @media (max-width: 320px) {
        .content{
          margin-left: -26vw;
        }
        .content h1 strong {
      font-size: 1em;
      }
      }
      .item {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
      }
  
      .item svg {
        width: 24px;
        height: 24px;
        margin-right: 15px;
        fill: #564130;;
      }
  
      .item span {
        font-size: 16px;
      }

      /* Estilos generales del footer */
footer {
    background-color: #2a2a2a;
    color: #ffffff;
    padding: 40px 0 0;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin-top: 60px;
  }
  
  .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 30px;
  }
  
  .footer-logo img {
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
    filter: brightness(0) invert(1); /* Convierte el logo a blanco */
  }
  
  .footer-links h3, 
  .footer-contact h3 {
    color: #f8f8f8;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
  }
  
  .footer-links h3::after,
  .footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #d4a762; /* Color dorado/accent */
  }
  
  .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-links li {
    margin-bottom: 10px;
  }
  
  .footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
  }
  
  .footer-contact p {
    margin: 5px 0;
    color: #cccccc;
  }
  
  .footer-bottom {
    background-color: #1a1a1a;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
  }
  
  .footer-bottom p {
    margin: 0;
    color: #999999;
    font-size: 0.9rem;
  }
  
  .legal-links {
    margin-top: 10px;
  }
  
  .legal-links a {
    color: #cccccc;
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.8rem;
    transition: color 0.3s ease;
  }
  
  .legal-links a:hover {
    color: #ffffff;
    text-decoration: underline;
  }
  
  /* Estilos responsive */
  @media (max-width: 768px) {
    .footer-content {
      flex-direction: column;
      gap: 30px;
    }
    
    .footer-links, 
    .footer-contact {
      width: 100%;
    }
    
    .footer-links h3,
    .footer-contact h3 {
      margin-bottom: 15px;
    }
    
    .legal-links {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }
    
    .legal-links a {
      margin: 0;
      display: inline-block;
      padding: 5px 0;
    }
  }
  
  @media (max-width: 480px) {
    footer {
      padding: 30px 0 0;
    }
    
    .footer-content {
      padding: 0 15px;
    }
    
    .footer-bottom {
      padding: 15px 10px;
    }
  }
  .developer-credit {
    margin-top: 15px;
    color: #666;
    font-size: 0.8rem;
  }
  
  .developer-credit a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .developer-credit a:hover {
    color: #d4a762;
    text-decoration: underline;
  }