@font-face {
    /* Este es el nombre que usarás en tu CSS para llamar a la fuente. */
    font-family: 'Visby Round CF'; 
    
    /* Aquí debes poner la ruta correcta a tus archivos de fuente. */
    /* Se recomienda usar .woff2 por su mejor compresión y .woff como fallback. */
    src: url('../Visby-Round-www.Dfonts.org[1]/Visby-Round-www.Dfonts.org/Webfont/VisbyRoundCF-Regular.woff2') format('woff2'),
         url('../Visby-Round-www.Dfonts.org[1]/Visby-Round-www.Dfonts.org/Webfont/VisbyRoundCF-Regular.woff') format('woff');
         
    /* También puedes especificar el peso y estilo si tienes varios archivos. */
    font-weight: normal; /* o 400 */
    font-style: normal;
  }
  
  /* Ejemplo para una versión en negrita (bold) */
  @font-face {
    font-family: 'Visby Round CF';
    src: url('../Visby-Round-www.Dfonts.org[1]/Visby-Round-www.Dfonts.org/Webfont/VisbyRoundCF-Bold.woff2') format('woff2'),
         url('../Visby-Round-www.Dfonts.org[1]/Visby-Round-www.Dfonts.org/Webfont/VisbyRoundCF-Bold.woff') format('woff');
    font-weight: bold; /* o 700 */
    font-style: normal;
  } 
  
  @font-face {
    font-family: 'Visby Round CF';
    src: url('../Visby-Round-www.Dfonts.org[1]/Visby-Round-www.Dfonts.org/Webfont/VisbyRoundCF-ExtraBold.woff') format('woff2'),
         url('../Visby-Round-www.Dfonts.org[1]/Visby-Round-www.Dfonts.org/Webfont/VisbyRoundCF-ExtraBold.woff') format('woff');
    font-weight: extrabold; /* o 700 */
    font-style: normal;
  } 
  
  
  
  
/* 1. CONFIGURACIÓN GLOBAL Y VARIABLES */
  :root {
    --brand-green: #146742;
    --brand-gold: #E6BB6E;
    --brand-accent: #DA4735;
    --brand-cream: #fdfaf5;
    --brand-dark: #333333;
    --font-title: 'Visby Round CF', sans-serif;
    --font-body: 'Visby Round CF', sans-serif;
}

body {
    font-family: var(--font-body);
    /* CAMBIO: Fondo de tabla de madera blanca */
    /* background-image: url('/img/fondo-madera.jpg'); */
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--brand-dark); /* Color de texto principal cambiado a oscuro */
    position: relative;
    overflow-x: hidden; /* Evita el scroll horizontal causado por los elementos */
}

/* Contenedor para el contenido principal para separarlo del fondo */
.main-content-wrapper {
    /* background-color: rgba(255, 255, 255, 0.589); */
    backdrop-filter: blur(5px);
    position: relative; 
    z-index: 2; 
}

/* 2. CLASES DE UTILIDAD GENERAL */
.section-title {
    font-weight: 800;
    color: var(--brand-green);
    font-size: clamp(2.5rem, 6vw, 2.9rem);
    line-height: 0.9;
    letter-spacing: -3px;
    /* Truco para simular más grosor */
    -webkit-text-stroke: 1.5px var(--brand-green);
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 1rem auto 0;
}

.alimentos-text {
    font-weight: 800;
    color: var(--brand-green);
    font-size: clamp(2.5rem, 6vw, 2.9rem);
    line-height: 0.9;
    letter-spacing: -3px;
    /* Truco para simular más grosor */
    -webkit-text-stroke: 1.5px var(--brand-green);
}

.activan-text .text-gold {
    font-weight: 1000;
    font-weight: 800;
    color: #d4b588;
    font-size: clamp(4rem, 12vw, 5.4rem);
    line-height: 1;
    margin-top: -0.5rem;
    letter-spacing: -5px;
    /* Truco para simular más grosor */
    -webkit-text-stroke: 2px #d4b588;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.75rem;
    }
}

.icon {
    height: 24px;
    width: 24px;
    margin-right: 1rem;
    vertical-align: middle;
}

.icon-inline {
    height: 24px;
    width: 24px;
    margin-right: 0.3rem;
    vertical-align: middle;
}

/* 3. NAVEGACIÓN (NAVBAR) */
.navbar {
    transition: all 0.3s ease-in-out;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    border-bottom: 1px solid #e5e7eb;
}

.navbar .nav-link {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
}

.navbar.scrolled .nav-link {
    color: var(--brand-green);
}

.navbar.scrolled .nav-link:hover, .navbar.scrolled .nav-link.active {
    color: var(--brand-accent);
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-accent);
    transition: width 0.3s ease-in-out;
}

.navbar .nav-link:hover::after, .navbar .nav-link.active::after {
    width: 100%;
}

.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: none; }


/* Dropdawn menú */

.dropdown-menu {
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    background-color: var(--brand-cream); 
    padding: 0.5rem 0;
}

.dropdown-item {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--brand-green);
    padding: 0.5rem 1.5rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--brand-gold);
    color: var(--brand-green);
}

@media (max-width: 991px) {

    #navbarNav.show {
        background-color: #ffffff;
        
        /* Opcional: Añade un poco de espacio para que no se pegue a los bordes */
        padding: 1rem;
        border-radius: 0.25rem;
        margin-top: 0.5rem; /* Para separarlo un poco del logo */
      }
    
      /* 2. Cambiamos el color de los enlaces de texto a verde */
      #navbarNav.show .nav-link {
        /* Usé el verde #124735 que vi en el placeholder de tu favicon.
          El !important es para forzar que sobreescriba los estilos 
          de Bootstrap que los ponen en blanco (probablemente .navbar-dark).
        */
        color: #124735 !important; 
      }
    
      /* 3. (Opcional) Asegurarse de que el color del enlace activo también sea verde */
      #navbarNav.show .nav-link.active {
        color: #124735 !important;
        font-weight: bold; /* Para destacarlo */
      }
    /* En móvil, el dropdown debe ser un elemento de menú normal */
    .nav-item.dropdown {
        /* Permite que el elemento padre tenga margen y centrado como los otros items */
        margin-bottom: 0.5rem;
    }

    /* El enlace principal se ve como un nav-link normal */
    .nav-item.dropdown .nav-link {
        color: var(--brand-green); /* Usa el color de texto del nav.scrolled */
        /* Eliminamos el indicador de dropdown en móvil para que parezca un elemento de menú desplegado */
        
    }

    /* Ocultamos la flecha de dropdown en mobile */
    .nav-item.dropdown .dropdown-toggle::after {
        display: none !important;
    }
    
    /* El menú desplegable en móvil se muestra como parte de la lista principal */
    .dropdown-menu {
        position: static !important; /* Muestra el submenú en línea */
        float: none;
        width: 100%;
        margin-top: 0;
        margin-bottom: 0;
        border: none;
        box-shadow: none;
        background: transparent; /* Transparente para mezclarse con el fondo del navbar */
        padding: 0;
        text-align: center;
    }

    .dropdown-item {
        color: var(--brand-dark);
        padding: 0.5rem 0;
        background: transparent;
        font-weight: 500;
    }
    .dropdown-item:hover {
        background: transparent;
        color: var(--brand-accent);
    }


    
}


#navbar-viandas {
    transition: all 0.3s ease-in-out;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    border-bottom: 1px solid #e5e7eb;
}

.navbar .navianda-link {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--brand-green);
    position: relative;
    padding-bottom: 0.5rem;
}



.navbar-viandas .nav-link:hover, .navbar-viandas .nav-link.active {
    color: var(--brand-accent);
}

.navbar-viandas .navianda-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--brand-accent);
    transition: width 0.3s ease-in-out;
}

.navbar .nav-link:hover::after, .navbar .nav-link.active::after {
    width: 100%;
}

.navbar-viandas-toggler { border: none; }
.navbar-viandas-toggler:focus { box-shadow: none; }

.cta-button {
    background-color: var(--brand-accent);
    color: white;
    font-family: var(--font-body);
    font-weight: 700;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: inline-block;
}

.cta-button:hover {
    color: white;
    background-color: #c94030;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.cta-button-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--brand-green);
    border: 2px solid var(--brand-gold);
    font-family: var(--font-body);
    font-weight: 700;
    padding: 0.65rem 1.75rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button-secondary:hover {
    background-color: var(--brand-gold);
    color: var(--brand-green);
    transform: translateY(-2px);
}


/* 5. SECCIÓN CÓMO PEDIR - Viandas*/
.como-pedir-section {
    background-image: url('../img/melamina2.png');
    background-size: cover;
    padding: 5rem 0;
}
.choice-card {
    background: var(--brand-cream);
    padding: 2.5rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.choice-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}
.choice-icon {
    font-size: 3rem;
    color: var(--brand-gold);
    margin-bottom: 1rem;
}
.choice-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--brand-green);
}
.choice-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--brand-green);
}

.choice-text {
    color: #6b7280;
    margin: 1rem 0;
}


/* 6. SECCIÓN PASOS INTERACTIVOS */

.pasos-section {
    background-image: url('../img/melamina2.png');
    background-size: cover;
    padding: 6rem 0;
    background-color: var(--brand-cream);
    overflow: hidden;
}
.paso-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 6rem;
    position: relative;
}
.paso-item:last-child {
    margin-bottom: 0;
}
.paso-content { flex: 1; z-index: 2; }
.paso-image { flex: 1; z-index: 1; }
.paso-image img {
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.paso-number {
    font-size: 5rem;
    font-weight: 800;
    color: var(--brand-gold);
    line-height: 1;
}
.paso-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 2rem;
    color: var(--brand-green);
    margin-top: -1rem;
}
@media (max-width: 768px) {
    .paso-item { flex-direction: column; }
    .paso-item.reverse { flex-direction: column-reverse; }
}
@media (min-width: 769px) {
    .paso-item.reverse .paso-content { order: 2; }
    .paso-item.reverse .paso-image { order: 1; }
}



/* 12. SECCIÓN 3 PASOS - ESTILO DAILYVIANDAS */
#como-funciona {
    background-color: #F7F5F2;
    background-image: url('../img/melamina2.png');
    background-size: cover;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}
.step-container {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}
.step-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 6rem;
    position: relative;
}
.step-row:last-child {
    margin-bottom: 0;
}
.step-row--reverse {
    flex-direction: row-reverse;
}
.step-image {
    flex: 1;
    max-width: 60%;
    position: relative;
}
.step-image img {
    width: 100%;
    /* border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); */
}
.step-image img:hover {
  scale: 1.1;
}
.step-content {
    flex: 1;
    max-width: 45%;
    text-align: left;
}
.step-number {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    color: var(--brand-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    border: 2px solid var(--brand-accent);
    z-index: 5;
}
.step-row:nth-of-type(1) .step-number { top: -2rem; left: 60%; }
.step-row:nth-of-type(2) .step-number { top: -2rem; left: 30%; }
.step-row:nth-of-type(3) .step-number { top: -2rem; left: 60%; }

.step-content h3 {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--brand-green);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}
.step-content p {
    font-size: 1.1rem;
    color: var(--brand-dark);
    font-weight: 600;
}
/* Líneas decorativas */
.step-row:nth-of-type(1)::after, .step-row:nth-of-type(2)::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 150px;
    border-style: solid;
    border-width: 3px;
    border-color: var(--brand-green);
    z-index: 1;
    pointer-events: none;
}
.step-row:nth-of-type(1)::after {
    border-color: transparent transparent var(--brand-green) var(--brand-green);
    border-radius: 0 0 0 120px;
    bottom: -5rem;
    left: 48%;
    transform: rotate(-10deg);
}
.step-row:nth-of-type(2)::after {
    border-color: var(--brand-green) var(--brand-green) transparent transparent;
    border-radius: 0 120px 0 0;
    bottom: -5rem;
    right: 48%;
    transform: rotate(-10deg);
}

@media (max-width: 768px) {
    #como-funciona {
         padding: 4rem 0; }
    .step-row, .step-row--reverse {
        flex-direction: column;
        margin-bottom: 5rem;
        text-align: center;
    }
    .step-image, .step-content {
        max-width: 90%;
        text-align: center;
    }
    .step-row:nth-of-type(1)::after, .step-row:nth-of-type(2)::after {
        display: none;
    }
    .step-number {
        top: -2.5rem;
        left: 50%;
        transform: translateX(-50%);
    }
    .step-row:nth-of-type(1) .step-number, .step-row:nth-of-type(2) .step-number, .step-row:nth-of-type(3) .step-number {
        left: 50%;
    }
    
}






/* 5. ANIMACIÓN FLOTANTE */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
.animate-float {
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 25px 25px rgba(0,0,0,0.15));
}

/* 6. CONTACTO */
#contacto {
    background-color: var(--brand-green);
    
}

#contacto .h2 {
    font-weight: 800;
    color: #ffffff;
    font-size: clamp(2.5rem, 6vw, 2.9rem);
    line-height: 0.9;
    letter-spacing: -3px;
    /* Truco para simular más grosor */
    -webkit-text-stroke: 1.5px #ffffff;
}
.cta-button-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: white;
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.cta-button-whatsapp:hover {
    color: white;
    background-color: #1EBE57;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* 7. FOOTER */
.footer {
    background-color: var(--brand-cream);
    color: var(--brand-dark);
}
.footer-title {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--brand-green);
    margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links li { display: flex; align-items: center; justify-content: center; }
@media (min-width: 992px) { 
    .footer-links li { justify-content: flex-start; } }
.footer-links a { text-decoration: none; color: #4b5563; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--brand-accent); }
.social-icon {
    width: 40px; height: 40px; border-radius: 50%;
    background-color: #fff; border: 1px solid #e5e7eb;
    color: var(--brand-green);
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; transition: all 0.3s ease;
}
.social-icon:hover {
    background-color: var(--brand-green);
    color: white;
    transform: scale(1.1);
}

/* 8. ANIMACIONES DE SCROLL */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.65, 0.84, 0.44, 1), transform 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition-delay: var(--animation-delay, 0s);
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* 9. NUEVO: ESTILO DE TARJETAS SHOWCASE */
.showcase-section {
    background-image: url('../img/melamina2.png');
    background-size: cover;
    /* background-attachment: fixed; */
    background-position: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
    position: relative; /* Contenedor para elementos decorativos */
}
.showcase-container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 1rem;
    position: relative;
    margin-bottom: 5rem;
    z-index: 5; /* Asegura que la tarjeta esté sobre los elementos decorativos de la sección */
}

.showcase-image {
    position: relative;
    z-index: 10;
    filter: drop-shadow(0 20px 20px rgba(0,0,0,0.2));
    padding: 0 1.5rem; /* Evita que la imagen toque los bordes en móvil */
}
.showcase-image img {
    width: 100%;
    max-width: 400px; /* Limita el tamaño en móvil */
    margin: 0 auto;
    display: block;
    border-radius: 50%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.showcase-content {
    background-color: var(--brand-cream);
    color: var(--brand-dark);
    border-radius: 1.5rem;
    padding: 4rem 2rem 2rem; /* Más padding arriba para la imagen */
    text-align: center;
    margin-top: -80px; /* Solapamiento negativo */
    z-index: 5;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.showcase-title {
    font-weight: 800;
    color:var(--brand-green);
    font-size: clamp(2.5rem, 6vw, 2.9rem);
    line-height: 0.9;
    letter-spacing: -3px;
    /* Truco para simular más grosor */
    -webkit-text-stroke: 1.5px var(--brand-green);
}

.showcase-subtitle {
    font-size: 1.1rem;
    color: var(--brand-dark);
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.showcase-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    text-align: left;
    display: inline-block;
}

.showcase-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.showcase-list i {
    color: var(--brand-gold);
    font-size: 1rem;
    margin-right: 1rem;
}

#quienes { background-color: rgba(253, 250, 245, 0.7); }

@media (min-width: 992px) {

   

    .showcase-container {
        grid-template-columns: repeat(12, 1fr);
        gap: 0;
        margin-bottom: 8rem;
    }

    .showcase-image {
        grid-column: 1 / span 6;
        grid-row: 1;
        padding: 0;
    }
    .showcase-image img { max-width: none; }

    .showcase-content {
        grid-column: 5 / span 8;
        grid-row: 1;
        padding: 3rem 3rem 3rem 16rem;
        text-align: left;
        margin-top: 0;
    }
    
    .showcase-container--reverse .showcase-image {
        grid-column: 7 / span 6;
    }

    .showcase-container--reverse .showcase-content {
        grid-column: 1 / span 8;
        padding: 3rem 14rem 3rem 9rem;
    }
}

/* 10. ELEMENTOS DECORATIVOS FLOTANTES */
.decorative-element {
    position: absolute;
    z-index: 1; 
    transition: transform 0.2s ease-out;
    pointer-events: none;
}
@keyframes gentle-float-rotate {
    0% { transform: translateY(0px) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(-5deg); }
}
@keyframes gentle-float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
.anim-float-rotate {
    animation: gentle-float-rotate 5s ease-in-out infinite;
}
.anim-float {
     animation: gentle-float 3s ease-in-out infinite;
}


/* planes collage index */


.plans-collage {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 6vw);
    gap: 15px;
    position: relative;
}

.collage-item {
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collage-item:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    z-index: 10;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.collage-item:hover img {
    transform: scale(1.1);
}

.collage-item.item-1 {
    grid-column: 1 / span 4;
    grid-row: 1 / span 4;
}

.collage-item.item-2 {
    grid-column: 4 / span 3;
    grid-row: 2 / span 3;
    border: 4px solid white;
}

.collage-item.item-3 {
    grid-column: 5 / span 2;
    grid-row: 1 / span 2;
}


/* VERSIÓN MÁS LIMPIA */
.hero-video-background {
      width: 100%;
      height: 90vh;
      position: relative;
      overflow: hidden;
        /* Añade un color de fondo por si el video no carga */
        background-color: var(--brand-dark); 
    }
/* ESTA ES LA SOLUCIÓN CORRECTA */
#bgvideo {
      position: relative;
      /* top: 50%;
      left: 50%; */
        /* Estas 5 líneas son la clave: */
      /* transform: translate(-50%, -50%); 1. Centra el video desde su propio medio */
      /* min-width: 100%;  /* 2. Asegura que cubra todo el ancho */
      /* min-height: 100%; 3. Asegura que cubra todo el alto */
      width: 100%;      /* 4. Deja que el navegador calcule el ancho */
      height: 100%;    /*  5. Deja que el navegador calcule el alto */
      object-fit: cover; /* Recorta el video para llenar el espacio sin deformarse */
      z-index: 0;
    }

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(18, 71, 53, 0.212);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}

/* ESTILO IMAGEN "ALIMENTOS QUE ACTIVAN" */
.activan-img {
    width: 200px;
    border-radius: 50px;
    transition: width 0.3s ease; /* Opcional: para una transición suave */
}





/* Responsividad para el collage */
@media (max-width: 991px) {
    .navbar {
       max-width: 100%;
    }
    .hero-video-background {
        height: 56.25vw; /* <-- ¡Prueba con 55vh o 60vh! */
    }

    #bgvideo { /* AÑADE O MODIFICA ESTO */
        object-fit: contain; /* Cambia a 'contain' para que no se recorte */
        width: 100%; /* Asegura que el ancho sea del 100% */
        height: 100%; /* Asegura que el alto sea del 100% */
        min-width: unset; /* Desactiva los min-width/height del escritorio */
        min-height: unset;
    }

    .activan-img {
        width: 110px; /* <-- ¡Aquí pones el nuevo tamaño para celular! */
        border-radius: 35px; /* Ajusta el radio si quieres */
    }

  
    #planes .text-center.text-lg-start {
        text-align: center !important;
    }
     #planes .section-subtitle {
        margin-left: auto;
    }
    .plans-collage {
        margin-top: 2rem;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 1rem;
    }
    .collage-item.item-1,
    .collage-item.item-2,
    .collage-item.item-3 {
        grid-column: auto;
        grid-row: auto;
        height: 250px;
    }
    .collage-item.item-1 {
        grid-column: 1 / -1;
    }}

/* Hero Section */
.hero-about {
    background-image: linear-gradient(rgba(18, 71, 53, 0.199), rgba(18, 71, 53, 0.842)), url('../img/equipo.jpg');
    background-size: cover;
    background-position: center;
    padding: 10rem 0;
    color: white;
    text-align: center;
}

.hero-about h1 {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 3.5rem;
}

/* Timeline Section */
.timeline-section {
    padding: 6rem 0;
    position: relative;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background-color: #e2e8f0;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-content {
    position: relative;
    width: 45%;
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.39);
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
}

.timeline-content:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    left: 0;
    text-align: right;
}

.timeline-dot {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background-color: var(--brand-gold);
    border: 4px solid var(--brand-green);
    border-radius: 50%;
    z-index: 10;
}

.timeline-year {
    position: absolute;
    top: 18px;
    width: 100px;
    text-align: center;
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--brand-green);
}

.timeline-item:nth-child(odd) .timeline-year {
    left: calc(50% - 100px - 40px);
}

.timeline-item:nth-child(even) .timeline-year {
    left: calc(50% + 40px);
}

.timeline-title {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--brand-accent);
    margin-bottom: 0.5rem;
}

/* Misión, Visión y Valores */
.values-section {
    background-color: #ffffff;
}
.value-card {
    background-color: var(--brand-cream);
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.value-card i {
    font-size: 2.5rem;
    color: var(--brand-gold);
}
.value-card h4 {
    color: var(--brand-green);
    font-family: var(--font-title);
    font-weight: 700;
}

/* Elementos Decorativos */
.decorative-element {
    position: absolute;
    z-index: 0; 
    transition: transform 0.3s ease-out;
    pointer-events: none;
}

@keyframes gentle-float-rotate {
    0% { transform: translateY(0px) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(-5deg); }
}

@keyframes gentle-float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.anim-float-rotate {
    animation: gentle-float-rotate 6s ease-in-out infinite;
}

.anim-float {
    animation: gentle-float 4s ease-in-out infinite;
}




/* Elementos Decorativos */
.decorative-element {
    position: absolute;
    z-index: 0; 
    transition: transform 0.3s ease-out;
    pointer-events: none;
}

@keyframes gentle-float-rotate {
    0% { transform: translateY(0px) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(-5deg); }
}

@keyframes gentle-float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.anim-float-rotate {
    animation: gentle-float-rotate 6s ease-in-out infinite;
}

.anim-float {
    animation: gentle-float 4s ease-in-out infinite;
}

/* Animaciones de scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item .timeline-content {
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition-delay: 0.2s;
    opacity: 0;
}
.timeline-item.is-visible .timeline-content {
    opacity: 1;
}

.timeline-item:nth-child(odd).animate-on-scroll.is-visible .timeline-content {
     transform: translateX(0);
}
 .timeline-item:nth-child(odd) .timeline-content {
     transform: translateX(50px);
}

.timeline-item:nth-child(even).animate-on-scroll.is-visible .timeline-content {
     transform: translateX(0);
}
.timeline-item:nth-child(even) .timeline-content {
     transform: translateX(-50px);
}


/* Responsive */
@media (max-width: 991px) {
    .timeline-section::before {
        left: 12px;
    }
    .timeline-dot {
        left: 12px;
    }
    .timeline-content {
        width: calc(100% - 60px);
    }
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        left: 60px;
        text-align: left;
        transform: translateX(30px)
    }
    .timeline-item.is-visible .timeline-content{
         transform: translateX(0);
    }
    .timeline-year {
        top: -55px;
        left: 60px;
        text-align: left;
        width: auto;
        padding: 0.5rem 1rem;
        background-color: var(--brand-green);
        color: white;
        border-radius: 99px;
    }
     .timeline-item:nth-child(even) .timeline-year {
        left: 60px;
     }
}


/* Planes */
/* 4. ESTILOS DE LA SECCIÓN DE PLANES Y GALERÍA */
.plans-hero-section {
    padding: 8rem 0 4rem;
    text-align: center;
}

.plans-gallery-section {
    padding: 2rem 0 6rem;
}

/* ================== ESTILOS DEL CARRUSEL (MEJORADOS) ================== */
.hybridCarouselTop {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 30px;
}

.hybridCarouselTop .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 90%; /* Ancho responsive */
    max-width: 350px; /* Ancho máximo */
    height: auto; /* Altura automática */
    aspect-ratio: 350 / 440; /* Mantiene la proporción */
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    background-color: var(--brand-cream);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.hybridCarouselTop .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hybridCarouselTop .swiper-slide-active {
    cursor: pointer;
    transform: scale(1.05); /* Destaca la tarjeta activa */
}

.hybridCarouselThumbs {
    height: 240px; /* Ajuste para responsividad */
    box-sizing: border-box;
    padding: 10px 0;
    margin-top: 10px;
}

.hybridCarouselThumbs .swiper-slide {
    height: calc((100% - 20px) / 2);
    opacity: 0.5;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    transition: opacity 0.3s ease, border 0.3s ease;
    border: 4px solid transparent;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hybridCarouselThumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--brand-gold);
}

.hybridCarouselThumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 5. ESTILOS DEL MODAL (UNIFICADOS) */
.modal-content {
    border-radius: 1.5rem;
    border: none;
    background-color: var(--brand-cream);
}

.modal-header {
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem;
}

.modal-title {
    color: var(--brand-green);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.5rem;
}

.modal-body img {
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.modal-footer {
    border-top: none;
    padding: 0 1.5rem 1.5rem;
}

/* Botón del modal con estilo unificado */
.btn-wsp-modal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brand-accent);
    color: white;
    font-family: var(--font-body);
    font-weight: 700;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 100%;
    font-size: 1.1rem;
}

.btn-wsp-modal:hover {
    color: white;
    background-color: #c94030;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-wsp-modal i {
    margin-right: 0.75rem;
}

/* 6. FOOTER (de viandas.html) */
.footer { background-color: #fff; border-top: 1px solid #e5e7eb;}
.footer-title { color: var(--brand-green); font-family: var(--font-title); font-weight: 700;}
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links li { display: flex; align-items: center; justify-content: center; }
@media (min-width: 992px) { .footer-links li { justify-content: flex-start; } }
.footer-links a { text-decoration: none; color: #4b5563; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--brand-accent); }
.social-icon {
    width: 40px; height: 40px; border-radius: 50%;
    background-color: var(--brand-cream); border: 1px solid #e5e7eb;
    color: var(--brand-green);
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; transition: all 0.3s ease;
}
.social-icon:hover {
    background-color: var(--brand-green);
    color: white;
    transform: scale(1.1);
}

/* 7. ANIMACIONES (de viandas.css) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
/* 3. ESTILOS ESPECÍFICOS PARA LA SECCIÓN DE CONTACTO
   (Este es el código nuevo y elegante que solicitaste)
*/

#contacto-eventos {
    padding: 5rem 0;
    /* Usamos el color crema para el fondo de la sección */
    background-color: var(--brand-cream); 
    border-top: 1px solid #e5e7eb;
}

.contact-form {
    /* La tarjeta del formulario resalta en blanco */
    background-color: #ffffff;
    /* Bordes redondeados elegantes */
    border-radius: 1.5rem; /* 24px */
    /* Relleno interno generoso */
    padding: 2.5rem;
    /* Sombra suave y profesional */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}

/* Estilo para las etiquetas (labels) */
.form-label {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--brand-green); /* Color principal de la marca */
    margin-bottom: 0.5rem;
}

/* Estilo para los campos de entrada y selección */
.form-control,
.form-select {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 0.5rem; /* 8px */
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

/* Efecto FOCUS (resaltado) elegante usando el color DORADO */
.form-control:focus,
.form-select:focus {
    border-color: var(--brand-gold);
    /* Sombra exterior con el color dorado */
    box-shadow: 0 0 0 4px rgba(218, 189, 133, 0.3); 
    outline: none;
}

/* Estilo específico para el botón de WhatsApp */
.cta-button.whatsapp {
    background-color: var(--brand-green); /* Verde de la marca */
    font-size: 1.1rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.cta-button.whatsapp:hover {
    background-color: #0e3a2b; /* Verde más oscuro al pasar el mouse */
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(18, 71, 53, 0.25);
}