.hero{
        position:relative;
        height: 100vh; /* Fallback para navegadores que no soportan custom properties */
        height: 100dvh; /* Nuevo estándar - dynamic viewport height */
        min-height: 600px;
        display:flex;
        align-items:center;
        justify-content:center;
        overflow: hidden;
    }
    
    @supports (height: 100svh) {
        .hero {
            height: 100svh; /* Smallest viewport height - el más confiable */
        }
    }
    
    .hero .bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: contrast(95%) brightness(100%);
        opacity: 0.85;
        z-index: 0;
        pointer-events: none;
    }
    
    .hero .bg-image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 1s ease-in-out;
        z-index: 0;
    }
    
    .hero .overlay{
        position:absolute;
        inset:0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 2;
    }
    
    .hero .center{
        position:relative;
        z-index:2;
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:18px;
        text-align: center;
        padding: 0 20px;
        max-width: 90%;
        margin-top: -10vh;
    }
    
    .hero h1{
        letter-spacing: 8px;
        font-weight: 300;
        margin:0;
        font-size: 42px;
        color: #ffffff;
        line-height: 1.2;
    }
    
    .hero p{
        max-width:720px;
        text-align:center;
        color:#ffffff;
        font-size: 18px;
        line-height: 1.6;
        margin: 0;
    }
    
    .cta{
        display:inline-block;
        margin-top:8px;
        padding:12px 20px;
        background:var(--accent);
        color:#ffffff;
        border-radius:4px;
        font-weight:600;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }
    
    .cta:hover {
        background: #2a4d32;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    /* Safe Area Insets para iPhone */
    .hero {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }

    /* Tablet Styles */
    @media (max-width: 1024px) {
        .hero h1 {
            font-size: 36px;
            letter-spacing: 6px;
        }
        
        .hero p {
            font-size: 17px;
            max-width: 600px;
        }
        
        .hero .center {
            gap: 16px;
        }
    }

    /* Mobile Large */
    @media (max-width: 768px) {
        .hero {
            min-height: 500px;
        }
        
        .hero h1 {
            font-size: 28px;
            letter-spacing: 4px;
            line-height: 1.3;
        }
        
        .hero p {
            font-size: 16px;
            line-height: 1.5;
            max-width: 500px;
        }
        
        .hero .center {
            gap: 14px;
            padding: 0 15px;
            margin-top: -5vh;
        }
        
        .cta {
            padding: 14px 24px;
            font-size: 16px;
        }
    }

    /* Mobile Small */
    @media (max-width: 480px) {
        .hero {
            min-height: 450px;
        }
        
        .hero h1 {
            font-size: 22px;
            letter-spacing: 3px;
            line-height: 1.4;
        }
        
        .hero p {
            font-size: 15px;
            max-width: 400px;
        }
        
        .hero .center {
            gap: 12px;
            padding: 0 12px;
            margin-top: 0;
        }
        
        .cta {
            padding: 12px 20px;
            font-size: 15px;
            width: 100%;
            max-width: 280px;
        }
        
        /* video se centre correctamente en móvil */
        .hero .bg,
        .hero .bg-image {
            object-position: center center;
        }
    }

    /* Mobile Extra Small */
    @media (max-width: 360px) {
        .hero h1 {
            font-size: 20px;
            letter-spacing: 2px;
        }
        
        .hero p {
            font-size: 14px;
        }
        
        .hero .center {
            gap: 10px;
        }
    }

    /* Optimización para orientación landscape en móviles */
    @media (max-height: 500px) and (orientation: landscape) {
        .hero {
            height: 100svh;
            min-height: 300px;
        }
        
        .hero .center {
            gap: 8px;
            transform: scale(0.85);
            margin-top: -2vh;
        }
        
        .hero h1 {
            font-size: 18px;
            letter-spacing: 2px;
            margin-bottom: 5px;
        }
        
        .hero p {
            font-size: 13px;
            max-width: 350px;
            margin-bottom: 5px;
        }
        
        .cta {
            padding: 8px 16px;
            font-size: 14px;
        }
    }

    /* Para dispositivos muy altos */
    @media (min-height: 1000px) {
        .hero .center {
            margin-top: -8vh;
        }
    }

    /* Mejoras de accesibilidad */
    @media (prefers-reduced-motion: reduce) {
        .hero .bg-image {
            transition: none;
        }
        
        .cta {
            transition: none;
        }
        
        .cta:hover {
            transform: none;
        }
    }
    
    
    
    /* Intro blocks */
    .intro {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--gap, 40px);
      align-items: center;
      padding: 80px 0;
    }
    
    .intro img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 12px;
    }
    
    .intro .text h3 {
      margin-top: 0;
      margin-bottom: 12px;
      font-size: 1.8rem;
      color: #386642;
    }
    
    .intro .text p {
      color: #666;
      line-height: 1.6;
      margin-bottom: 20px;
    }
    
    .intro .cta {
      display: inline-block;
      background: #386642;
      color: #fff;
      padding: 12px 24px;
      border-radius: 6px;
      text-decoration: none;
      font-weight: bold;
      transition: background 0.3s;
    }
    
    .intro .cta:hover {
      background: #444;
    }
    
    /* 🔹 Responsive: pantallas pequeñas */
    @media (max-width: 768px) {
      .intro {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 20px;
      }
    
      .intro .text {
        margin-top: 20px;
      }
    
      .intro .text h3 {
        font-size: 1.6rem;
      }
    
      .intro .text p {
        font-size: 1rem;
      }
    
      .intro .cta {
        padding: 10px 20px;
      }
    }
    
   
 /* NUEVA SECCIÓN DE HISTORIA */
        .story-section {
            position: relative;
            height: 900px;
            display: flex;
            align-items: center;
            margin: 80px 0;
            overflow: hidden;
        }
        
        .story-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('https://falusustainable.com/wp-content/uploads/img/falu-algodon.jpg');
            background-size: cover;
            background-position: center;
            filter: brightness(0.7);
        }
        
        .story-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
        }
        
        .story-content {
            position: relative;
            z-index: 2;
            max-width: 500px;
            color: white;
            padding: 0 40px;
        }
        
        .story-subtitle {
            font-size: 14px;
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 20px;
            color: rgba(255,255,255,0.8);
        }
        
        .story-title {
            font-size: 36px;
            font-weight: 300;
            line-height: 1.2;
            margin-bottom: 25px;
            letter-spacing: 1px;
        }
        
        .story-text {
            font-size: 16px;
            line-height: 1.6;
            margin-bottom: 30px;
            color: rgba(255,255,255,0.9);
        }
        
        .story-cta {
            display: inline-block;
            padding: 12px 30px;
            background: transparent;
            color: white;
            border: 1px solid white;
            border-radius: 4px;
            font-weight: 600;
            transition: all 0.3s ease;
            text-decoration: none;
            cursor: pointer;
        }
        
        .story-cta:hover {
            background: white;
            color: var(--text);
        }

        /* Efectos de hover para CTA */
        .cta:hover {
            background: #2a4f33;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        /* MEDIA QUERIES PARA RESPONSIVE */

        /* Tablets */
        @media (max-width: 1024px) {
            .story-section {
                height: 700px;
                margin: 60px 0;
            }
            
            .story-content {
                max-width: 450px;
                padding: 0 30px;
            }
            
            .story-title {
                font-size: 32px;
            }
            
            .story-text {
                font-size: 15px;
            }
        }

        /* Tablets pequeñas */
        @media (max-width: 768px) {
            .story-section {
                height: 650px;
                margin: 50px 0;
            }
            
            .story-content {
                max-width: 400px;
                padding: 0 25px;
            }
            
            .story-title {
                font-size: 28px;
                margin-bottom: 20px;
            }
            
            .story-text {
                font-size: 14px;
                margin-bottom: 25px;
            }
            
            .story-cta {
                padding: 10px 25px;
                font-size: 14px;
            }
        }

        /* Móviles grandes */
        @media (max-width: 576px) {
            .story-section {
                height: 600px;
                margin: 40px 0;
                text-align: center;
                justify-content: center;
            }
            
            .story-content {
                max-width: 350px;
                padding: 0 20px;
            }
            
            .story-subtitle {
                font-size: 13px;
                margin-bottom: 15px;
            }
            
            .story-title {
                font-size: 24px;
                margin-bottom: 15px;
            }
            
            .story-text {
                font-size: 14px;
                margin-bottom: 20px;
            }
            
            .story-cta {
                padding: 10px 20px;
                font-size: 14px;
            }
            
            .story-overlay {
                background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%);
            }
        }

        /* Móviles pequeños */
        @media (max-width: 375px) {
            .story-section {
                height: 450px;
                margin: 30px 0;
            }
            
            .story-content {
                max-width: 300px;
                padding: 0 15px;
            }
            
            .story-subtitle {
                font-size: 12px;
                margin-bottom: 12px;
            }
            
            .story-title {
                font-size: 22px;
                margin-bottom: 12px;
            }
            
            .story-text {
                font-size: 13px;
                margin-bottom: 18px;
                line-height: 1.5;
            }
            
            .story-cta {
                padding: 8px 18px;
                font-size: 13px;
            }
        }

        /* Pantallas muy grandes */
        @media (min-width: 1440px) {
            .story-section {
                height: 700px;
            }
            
            .story-content {
                max-width: 600px;
            }
            
            .story-title {
                font-size: 42px;
            }
            
            .story-text {
                font-size: 18px;
            }
        }