html, body {
  max-width: 100%;
  overflow-x: hidden; /* Elimina la barra de desplazamiento horizontal */
}

:root {
    --primary-color: #6d8879;
    --accent-color: #c1cabc;
    --bg-cream: #f5f4ef;
    --text-dark: #3a4841;
    --text-muted: #7a827d;
    --border-color: #e0e3de;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-sans); background-color: #ffffff; color: var(--text-dark); line-height: 1.6; }

/* --- HEADER CREMA SUPERIOR --- */
.top-header {
    background-color: var(--bg-cream);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 40px;
    width: 100%;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img-top {
    height: 150px; /* Tamaño equilibrado sobre fondo crema */
    width: auto;
    display: block;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-right .nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s ease;
}

.nav-right .nav-link:hover, .nav-right .nav-link.active {
    color: var(--primary-color);
}

.btn-contact {
    background-color: var(--primary-color);
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.btn-contact:hover {
    background-color: #587063;
}

/* --- BANNER HERO PANORÁMICO / ALARGADO --- */
.hero-section-banner {
    position: relative;
    height: 520px; /* Altura alargada ideal para no tapar la pantalla */
    background-image: url('Oficina.jpg');
    background-size: cover;
    background-position: center 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay-dark {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    color: #ffffff;
    padding: 20px;
}

.hero-tag {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    font-weight: 700;
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: 40px;
    margin: 10px 0;
    line-height: 1.2;
}

.hero-content .highlight {
    font-style: italic;
    color: var(--accent-color);
}

.hero-text {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-primary, .btn-secondary {
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary { background: var(--primary-color); color: #fff; }
.btn-primary:hover { background: #587063; }

.btn-secondary { border: 1px solid #fff; color: #fff; background: rgba(0,0,0,0.2); }
.btn-secondary:hover { background: #ffffff; color: var(--text-dark); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .hero-section-banner {
        height: auto;
        padding: 60px 0;
    }
    .hero-content h1 {
        font-size: 30px;
    }
}

/* --- ESTILOS SECCIÓN ZIG-ZAG --- */
.info-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.info-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.square-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.info-text h2 {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-text p {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.7;
}

/* --- BANNER VERDE CON BOTÓN WHATSAPP --- */
.branding-cta-section {
    background-color: #c5d0c7; /* Tono verde claro idéntico al de tu imagen */
    padding: 60px 20px;
    text-align: center;
}

.branding-cta-container {
    max-width: 850px;
    margin: 0 auto;
}

.cta-text {
    font-size: 16px;
    color: #4a554e;
    line-height: 1.7;
    margin-bottom: 20px;
}

.cta-italic {
    font-size: 16px;
    font-style: italic;
    font-weight: 600;
    color: #3b463f;
    margin-bottom: 30px;
}

.btn-whatsapp-cta {
    display: inline-block;
    background-color: #25d366; /* Verde característico de WhatsApp */
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-whatsapp-cta:hover {
    transform: translateY(-2px);
    background-color: #1ebd59;
}

/* --- FOOTER OSCURO DIVIDIDO EN 3 COLUMNAS --- */
.main-footer {
    background-color: #241e1c; /* Fondo marrón muy oscuro / casi negro */
    color: #d1cdca;
    padding: 50px 20px 20px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 3 Columnas perfectamente distribuidas */
    gap: 40px;
}

.text-center {
    text-align: center;
}

.footer-column h3 {
    color: #c9b097; /* Tono dorado/crema para los títulos */
    font-size: 20px;
    margin-bottom: 20px;
    font-family: var(--font-sans);
    font-weight: 600;
}

.footer-column p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a, .footer-column a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover, .footer-column a:hover {
    color: #c9b097;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #3d3532;
    font-size: 13px;
    color: #9e9792;
}

/* Responsive para dispositivos móviles */
@media (max-width: 768px) {
    .info-row {
        grid-template-columns: 1fr;
    }
    .info-row.reverse .info-text {
        order: 2;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* Estilos para la página de Contacto */
/* Estilos para los botones en la sección hero de contacto */
/* Centrado, tipografía y color de fondo */
.contact-hero {
  text-align: center;
  padding: 3rem 1.5rem 2rem;
  background-color: #FDFBF7; /* Fondo marfil original */
  font-family: inherit;      /* Mantiene la tipografía original de la web */
}

body.pagina-contacto, 
.contacto-container {
background-color: #FDFBF7; /* Sustituye este código por el color exacto de tu recuadro */
}

.contact-hero h1 {
  font-family: inherit;
  color: #3B4A20;            /* Verde oscuro corporativo */
  margin-bottom: 0.8rem;
}

.contact-hero p {
  font-family: inherit;
  color: #4A4A4A;
  margin-bottom: 1.5rem;
}

/* Alineación y centrado de los botones */
.contact-hero .hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem auto 0;
}

/* Estilo del botón principal (Ver Catálogo) */
.contact-hero .btn-primary {
  background-color: #587063; /* Cambia este código HEX por el verde que más te guste */
  color: #ffffff;
  padding: 0.75rem 1.8rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

/* Estilo del botón secundario (Diseños Personalizados) */
.contact-hero .btn-secondary {
  background-color: transparent;
  color: #556B2F;             /* Mismo color verde para el texto */
  border: 2px solid #587063;  /* Borde verde sin fondo gris */
  padding: 0.75rem 1.8rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}
.btn-primary {
  background-color: var(--verde-oliva, #587063);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s;
}

.btn-secondary {
  border: 2px solid var(--verde-oliva, #587063);
  color: var(--verde-oliva, #587063);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-primary:hover {
  background-color: var(--verde-oscuro, #3B4A20);
}

.btn-secondary:hover {
  background-color: var(--verde-oliva, #587063);
  color: #ffffff;
}
.contact-hero h1 {
  color: var(--verde-oscuro);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}

.contact-form-box, .contact-info-box {
  background: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #E5E0D8;
}

.contact-form-box h2, .contact-info-box h2 {
  color: var(--verde-oliva);
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.form-group {
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: var(--texto-oscuro);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  background-color: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--verde-oliva);
  background-color: #fff;
}

.btn-submit {
  background-color: var(--verde-oliva);
  color: #fff;
  border: none;
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
}

.btn-submit:hover {
  background-color: var(--verde-oscuro);
}

.info-item {
  margin-bottom: 1.5rem;
}

.info-item strong {
  display: block;
  color: var(--verde-oscuro);
  margin-bottom: 0.2rem;
}

.info-item a {
  color: var(--verde-oliva);
  text-decoration: none;
}

.info-item a:hover {
  text-decoration: underline;
}

/* Adaptación a móviles */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   ESTILOS PARA EL CATÁLOGO DE PRODUCTOS
   ========================================== */

.catalog-container {
  display: flex;
  max-width: 1200px;
  background: #aabcaeff;
  margin: 2rem auto;
  padding: 0 1rem;
  gap: 2rem;
  font-family: inherit;
}

/* Sidebar de Filtros */
.sidebar-filters {
  width: 260px;
  flex-shrink: 0;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.btn-clear {
  background: none;
  border: none;
  color: #556B2F;
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.9rem;
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-group h4 {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  color: #333;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-label {
  font-size: 0.9rem;
  color: #555;
  cursor: pointer;
}

/* Rejilla de Productos */
.products-area {
  flex-grow: 1;
}

.catalog-meta {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #666;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
/* --- ADAPTACIÓN RESPONSIVA PARA MÓVILES Y TABLETS --- */
@media (max-width: 768px) {
  .catalog-container {
    flex-direction: column; /* Pone los filtros arriba y los productos abajo */
    gap: 1rem;
    padding: 0 0.5rem;
  }

  .sidebar-filters {
    width: 100%; /* El lateral se estira para ocupar todo el ancho disponible */
    box-sizing: border-box;
  }

  .products-grid {
    /* Muestra 2 columnas de productos más pequeñas que encajan perfecto en pantallas móviles */
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.8rem;
  }
}

/* Tarjeta de Producto */
.product-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #556B2F;
  color: #fff;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.product-image-placeholder {
  height: 140px;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.product-sku {
  font-size: 0.75rem;
  color: #888;
  display: block;
}

.product-title {
  font-size: 1rem;
  margin: 0.4rem 0;
  color: #333;
}

.product-family {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 1rem;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.price-value {
  font-weight: bold;
  color: #333;
}

.btn-quote {
  background: #556B2F;
  color: #fff;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
}

.btn-quote:hover {
  background: #3B4A20;
}

/* Estilos para el menú superior (Header) */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #333333;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #587063;
}

/* Botón destacado "Contáctanos" */
.nav-links .btn-contacto {
  background-color: #587063;
  color: #ffffff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-weight: 600;
}

.nav-links .btn-contacto:hover {
  background-color: #46594e;
}

/* Botón Flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height: 55px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
}

/* Estilos para páginas legales */
.legal-container {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  line-height: 1.6;
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section h2 {
  color: #587063;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.privacy-summary {
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.5rem;
}

/* Botón del formulario de contacto */
.btn-submit {
  width: 100%;
  background-color: #587063;
  color: #ffffff;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 1rem;
}

.btn-submit:hover {
  background-color: #46594e;
}

/* Alineación horizontal para el checkbox y texto */
.checkbox-container {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 1.5rem 0 1rem 0 !important;
}

.checkbox-container input[type="checkbox"] {
  width: auto !important;
  margin: 0 !important;
  cursor: pointer;
}

.checkbox-container label {
  margin: 0 !important;
  font-size: 0.9rem;
  color: #333333;
}

.checkbox-container a {
  color: #587063;
  text-decoration: underline;
}

/* Botón de Enviar Mensaje */
.btn-submit {
  display: block !important;
  width: 100% !important;
  background-color: #587063 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 0.8rem 1.5rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  margin-top: 1rem !important;
}

.btn-submit:hover {
  background-color: #46594e !important;
}

.logo-img {
  height: 150px; /* Ajusta este valor en píxeles según el tamaño deseado */
  width: auto;  /* Mantiene la proporción original para que no se deforme */
}

/* ==========================================
   ESTILOS PARA PÁGINA DE PERSONALIZACIONES
   ========================================== */

.custom-hero {
  background-color: #f7f9f8;
  text-align: center;
  padding: 4rem 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

.custom-hero h1 {
  color: #333333;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.custom-hero p {
  color: #666666;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.custom-container {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.section-title {
  text-align: center;
  color: #587063;
  margin-bottom: 2.5rem;
  font-size: 1.6rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.step-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: transform 0.2s ease;
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-number {
  display: inline-block;
  background-color: #587063;
  color: #ffffff;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.step-card h3 {
  color: #333;
  margin-bottom: 0.8rem;
}

.step-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

.custom-cta {
  background-color: #587063;
  color: #ffffff;
  border-radius: 10px;
  padding: 3rem 1.5rem;
  text-align: center;
  margin-top: 2rem;
}

.custom-cta h2 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.custom-cta p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.btn-primary-custom {
  display: inline-block;
  background-color: #ffffff;
  color: #587063;
  padding: 0.8rem 1.8rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.btn-primary-custom:hover {
  background-color: #e6ece8;
}

/* Unificar la tipografía de títulos en todas las páginas */
h1, h2, h3, h4, h5, h6,
.section-title,
.custom-hero h1 {
  font-family: 'Playfair Display', Georgia, serif !important;
}

/* Tipografía de cuerpo/texto general */
body, p, label, input, textarea, button {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

body.pagina-personalizaciones {
    background-color: #F8F9FA !important;
}

/* Ajustes automáticos para pantallas de móvil */
@media (max-width: 768px) {
  
  /* Permite que el contenedor del encabezado se adapte al ancho */
  .top-header, 
  .header-container {
    width: 100% !important;
    padding: 10px 15px !important;
    box-sizing: border-box;
  }

  /* Organiza el logo y el menú en columna si no caben */
  .nav-links {
    display: flex;
    flex-wrap: wrap; /* Hace que los botones salten abajo si no caben */
    justify-content: center;
    gap: 10px;
    padding: 0;
  }

  /* Ajusta el tamaño del texto y botones en móvil */
  .nav-links a {
    font-size: 14px;
    padding: 6px 10px;
  }
}

/* --- CORRECCIÓN RESPONSIVA MÓVIL --- */
@media (max-width: 768px) {

  /* 1. Encabezado y logo flexible */
  .navbar {
    flex-direction: column !important;
    align-items: center !important;
    padding: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .logo-img {
    max-width: 180px !important;
    height: auto !important;
  }

  .nav-links {
    flex-wrap: wrap !important;
    justify-content: center !important;
    padding: 0 !important;
    gap: 8px !important;
  }

  .nav-links a {
    font-size: 13px !important;
    padding: 4px 8px !important;
  }

  /* 2. Disposición vertical del catálogo */
  .catalog-container {
    flex-direction: column !important;
    display: flex !important;
    padding: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 3. Filtros y productos al 100% de ancho */
  .sidebar-filters, 
  .products-area {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .products-grid {
    grid-template-columns: 1fr !important; /* Muestra los productos en 1 sola columna */
    gap: 15px !important;
  }
}

/* --- ARREGLO SOLO PARA EL ENCABEZADO EN MÓVIL --- */
@media (max-width: 768px) {
  /* Evita que el fondo o la pantalla se salgan de ancho */
  html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  /* Aplica a cualquier formato de cabecera o menú */
  header, nav, .header, .navbar, .nav-container {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Centra el logo y los botones verticalmente en móviles */
  header > div, nav > div, .navbar, .header-container {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 10px !important;
    gap: 10px !important;
  }

  /* Ajusta el tamaño del logo para que no empuje la pantalla */
  header img, nav img, .logo, .logo-img {
    max-width: 160px !important;
    height: auto !important;
  }

  /* Ajusta la lista de enlaces para que se envuelva sin salir de pantalla */
  header ul, nav ul, .nav-links {
    flex-wrap: wrap !important;
    justify-content: center !important;
    padding: 0 !important;
    gap: 8px 12px !important;
  }

  header a, nav a, .nav-links a {
    font-size: 13px !important;
  }
}

/* --- CORRECCIÓN ESPECÍFICA PARA LA PÁGINA PRINCIPAL EN MÓVIL --- */
@media (max-width: 768px) {
  /* 1. Fuerza a los enlaces y al botón del menú a envolverse bien */
  .nav-links, nav, header nav {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .nav-links li, nav a, header a {
    display: inline-block !important;
    font-size: 13px !important;
  }

  /* 2. Coloca los dos botones centrales uno debajo del otro en móvil */
  .hero-buttons, .hero-actions, .cta-buttons, .hero .buttons {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    gap: 12px !important;
  }

  .hero-buttons a, .hero-buttons button,
  .hero-actions a, .hero-actions button,
  .cta-buttons a, .cta-buttons button {
    width: 80% !important;
    max-width: 280px !important;
    text-align: center !important;
    margin: 0 auto !important;
  }
}

/* --- OCULTAR PRECIOS TEMPORALMENTE --- */
.price-value, 
.product-price, 
.precio {
  display: none !important;
}

.btn-presupuesto {
    display: inline-block;
    background-color: #587063; /* El verde oscuro de tu marca */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 20px; /* Bordes redondeados como tu botón de Contáctanos */
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-top: 15px;
    transition: background-color 0.2s ease;
}

.btn-presupuesto:hover {
    background-color: #384d41;
}

/* 1. Fondo de la cabecera para todas las páginas */
header, 
.header, 
.navbar {
  background-color: #f5f4ef !important;
}

/* 2. Texto de los enlaces del menú (Nuestra Esencia, Productos, etc.) */
header a,
.header a,
.navbar a {
  color: #587063 !important; /* Verde oscuro para que se lea sobre el fondo claro */
}

/* 3. EXCEPCIÓN: Botón "Contáctanos" (mantiene fondo verde y letras blancas) */
header a.btn,
header a.button,
.header a.btn,
.navbar a.btn,
header a[href*="contacto"] {
  background-color: #587063 !important;
  color: #ffffff !important; /* Texto blanco únicamente dentro del botón */
}
