/* =========================================================
   European Ferment Masters — estilos
   Extraídos del index.html original (2026) para aligerar el HTML
   ========================================================= */

        :root {
            --bg-primary: #0a192f;
            --bg-secondary: #1a365d;
            --bg-tertiary: #112240;
            --text-primary: #ffffff;
            --text-secondary: #e2e2e2;
            --text-muted: #8892b0;
            --accent: #c9a227;
            --accent-light: #e8d48b;
            --accent-dark: #8b6914;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-primary);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* ===== HEADER & NAVIGATION ===== */
        header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(10, 25, 47, 0.95);
            backdrop-filter: blur(10px);
            padding: 15px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

        .logo {
            height: 60px;
            cursor: pointer;
        }

        .logo img {
            height: 100%;
            width: auto;
        }

        nav {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        nav a {
            color: var(--text-primary);
            text-decoration: none;
            padding: 10px 15px;
            font-size: 14px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: color 0.3s ease;
            cursor: pointer;
        }

        nav a:hover {
            color: var(--accent);
        }

        nav a.active {
            color: var(--accent);
        }

        /* Dropdown Menu */
        .nav-dropdown {
            position: relative;
        }

        .nav-dropdown > a {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .nav-dropdown > a::after {
            content: ' \25BC';
            font-size: 10px;
            margin-left: 5px;
            transition: transform 0.3s ease;
        }

        .nav-dropdown:hover > a::after {
            transform: rotate(180deg);
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background: rgba(10, 25, 47, 0.98);
            min-width: 220px;
            padding: 10px 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            border: 1px solid rgba(255,255,255,0.1);
            border-top: 3px solid var(--accent);
        }

        .nav-dropdown:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-menu a {
            display: block;
            padding: 12px 20px;
            font-size: 13px;
            text-transform: none;
            letter-spacing: 0;
        }

        .dropdown-menu a:hover {
            background: rgba(201, 162, 39, 0.1);
            color: var(--accent);
        }

        /* CTA Button */
        .nav-cta {
            background: linear-gradient(135deg, #2d8a3e 0%, #3da550 100%);
            color: white !important;
            border-radius: 6px;
            margin-left: 15px;
            padding: 12px 25px !important;
            font-weight: 600 !important;
            box-shadow: 0 4px 15px rgba(45, 138, 62, 0.3);
        }

        .nav-cta:hover {
            background: linear-gradient(135deg, #3da550 0%, #4db560 100%);
            color: white !important;
            transform: translateY(-2px);
        }

        /* Language Selector */
        .lang-selector {
            display: flex;
            gap: 5px;
            margin-right: 15px;
            padding: 5px;
            background: rgba(255,255,255,0.1);
            border-radius: 6px;
        }

        .lang-btn {
            padding: 8px 12px;
            background: transparent;
            border: none;
            color: var(--text-muted);
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            border-radius: 4px;
            transition: all 0.3s ease;
        }

        .lang-btn:hover {
            color: var(--text-primary);
        }

        .lang-btn.active {
            background: var(--accent);
            color: var(--bg-primary);
        }

        /* Mobile Menu */
        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            padding: 10px;
        }

        .menu-toggle span {
            width: 25px;
            height: 2px;
            background: var(--text-primary);
            transition: all 0.3s ease;
        }

        /* ===== MAIN CONTENT ===== */
        main {
            padding-top: 90px;
        }

        .section {
            display: none;
            min-height: calc(100vh - 90px);
            animation: fadeIn 0.5s ease;
        }

        .section.active {
            display: block;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ===== HERO SECTION ===== */
        #inicio {
            position: relative;
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            min-height: 100vh;
            padding: 120px 5% 80px;
            background: transparent;
            overflow: hidden;
        }

        #inicio.active {
            display: flex;
        }

        .hero-video-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            overflow: hidden;
        }

        .hero-video-container::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(10, 25, 47, 0.7);
            z-index: 2;
        }

        .hero-video {
            position: absolute;
            top: 50%;
            left: 50%;
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            transform: translate(-50%, -50%);
            object-fit: cover;
            z-index: 1;
        }

        .hero-content {
            position: relative;
            z-index: 3;
            max-width: 90%;
            width: 90%;
            padding: 0 20px;
        }

        .hero-logo {
            width: 350px;
            height: auto;
            margin-bottom: 30px;
        }

        .hero-tagline {
            font-size: clamp(14px, 2vw, 18px);
            font-weight: 300;
            letter-spacing: 6px;
            text-transform: uppercase;
            margin-bottom: 20px;
            color: var(--accent);
        }

        .hero-title {
            font-size: clamp(36px, 7vw, 64px);
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 20px;
        }

        .hero-subtitle {
            font-size: clamp(16px, 2.5vw, 20px);
            font-weight: 300;
            color: var(--text-secondary);
            margin-bottom: 40px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .hero-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn-primary {
            display: inline-block;
            padding: 15px 40px;
            background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
            color: var(--bg-primary);
            text-decoration: none;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
            border: none;
            transition: all 0.3s ease;
            cursor: pointer;
            border-radius: 4px;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(201, 162, 39, 0.4);
        }

        .btn-secondary {
            display: inline-block;
            padding: 15px 40px;
            background: transparent;
            color: var(--text-primary);
            text-decoration: none;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
            border: 2px solid var(--text-primary);
            transition: all 0.3s ease;
            cursor: pointer;
            border-radius: 4px;
        }

        .btn-secondary:hover {
            background: var(--text-primary);
            color: var(--bg-primary);
        }

        /* Categories Badges */
        .categories-box {
            margin: 50px 0;
            padding: 30px;
            background: rgba(255,255,255,0.05);
            border-radius: 12px;
            border: 1px solid rgba(201, 162, 39, 0.3);
        }

        .categories-title {
            font-size: 20px;
            text-transform: uppercase;
            letter-spacing: 3px;
            color: white;
            margin-bottom: 20px;
        }

        .categories-grid {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .category-item {
            background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
            color: var(--accent);
            padding: 25px 0;
            border-radius: 35px;
            font-weight: 700;
            font-size: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            border: 2px solid rgba(201, 162, 39, 0.4);
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 3px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            width: 300px;
            position: relative;
            overflow: hidden;
            animation: categoryFloat 5s ease-in-out infinite;
        }

        /* Efecto de brillo que pasa por encima */
        .category-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -150%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(255, 255, 255, 0.15),
                transparent
            );
            animation: categoryShine 4s ease-in-out infinite;
        }

        @keyframes categoryFloat {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-5px);
            }
        }

        @keyframes categoryShine {
            0% {
                left: -150%;
            }
            50%, 100% {
                left: 150%;
            }
        }

        /* Animaciones escalonadas */
        .category-item:nth-child(1) {
            animation-delay: 0s;
        }
        .category-item:nth-child(1)::before {
            animation-delay: 0s;
        }
        .category-item:nth-child(2) {
            animation-delay: 0.5s;
        }
        .category-item:nth-child(2)::before {
            animation-delay: 1.3s;
        }
        .category-item:nth-child(3) {
            animation-delay: 1s;
        }
        .category-item:nth-child(3)::before {
            animation-delay: 2.6s;
        }

        /* SIDRAS - Rojo */
        .category-item.sidras {
            border-color: rgba(220, 53, 69, 0.4);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 12px rgba(220, 53, 69, 0.15);
            animation: categoryFloat 5s ease-in-out infinite, sidrasPulse 4s ease-in-out infinite;
        }
        @keyframes sidrasPulse {
            0%, 100% {
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 12px rgba(220, 53, 69, 0.15);
            }
            50% {
                box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), 0 0 20px rgba(220, 53, 69, 0.25);
            }
        }
        .category-item.sidras:hover {
            border-color: #dc3545;
            box-shadow: 0 8px 25px rgba(220, 53, 69, 0.35);
            background: linear-gradient(135deg, rgba(220, 53, 69, 0.12) 0%, var(--bg-tertiary) 100%);
        }

        /* HIDROMIELES - Amarillo */
        .category-item.hidromieles {
            border-color: rgba(255, 193, 7, 0.4);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 12px rgba(255, 193, 7, 0.15);
            animation: categoryFloat 5s ease-in-out infinite, hidromielPulse 4s ease-in-out infinite;
        }
        @keyframes hidromielPulse {
            0%, 100% {
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 12px rgba(255, 193, 7, 0.15);
            }
            50% {
                box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), 0 0 20px rgba(255, 193, 7, 0.25);
            }
        }
        .category-item.hidromieles:hover {
            border-color: #ffc107;
            box-shadow: 0 8px 25px rgba(255, 193, 7, 0.35);
            background: linear-gradient(135deg, rgba(255, 193, 7, 0.12) 0%, var(--bg-tertiary) 100%);
        }

        /* KOMBUCHA - Verde */
        .category-item.kombucha {
            border-color: rgba(40, 167, 69, 0.4);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 12px rgba(40, 167, 69, 0.15);
            animation: categoryFloat 5s ease-in-out infinite, kombuchaPulse 4s ease-in-out infinite;
        }
        @keyframes kombuchaPulse {
            0%, 100% {
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 12px rgba(40, 167, 69, 0.15);
            }
            50% {
                box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), 0 0 20px rgba(40, 167, 69, 0.25);
            }
        }
        .category-item.kombucha:hover {
            border-color: #28a745;
            box-shadow: 0 8px 25px rgba(40, 167, 69, 0.35);
            background: linear-gradient(135deg, rgba(40, 167, 69, 0.12) 0%, var(--bg-tertiary) 100%);
        }

        .category-item:hover {
            transform: translateY(-2px);
            animation: none;
        }

        .category-item span {
            font-size: 22px;
        }

        /* ===== SECTION STYLES ===== */
        .section-header {
            text-align: center;
            margin-bottom: 50px;
            padding: 0 20px;
        }

        .section-label {
            display: inline-block;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 3px;
            color: var(--accent);
            margin-bottom: 15px;
            padding: 8px 20px;
            background: rgba(201, 162, 39, 0.1);
            border-radius: 20px;
        }

        .section-title {
            font-size: clamp(28px, 5vw, 42px);
            font-weight: 700;
            margin-bottom: 20px;
        }

        .section-subtitle {
            font-size: 18px;
            color: var(--text-secondary);
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.8;
            text-align: center;
        }

        .content-section {
            padding: 80px 5%;
        }

        .content-section.alt-bg {
            background: var(--bg-tertiary);
        }

        .container {
            max-width: 90%;
            width: 90%;
            margin: 0 auto;
        }

        /* Intro Box */
        .intro-box {
            background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
            padding: 40px;
            border-radius: 12px;
            margin: 40px 0;
            position: relative;
            overflow: hidden;
            border-left: 4px solid var(--accent);
        }

        .intro-box::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 150px;
            height: 150px;
            background: radial-gradient(circle, rgba(201,162,39,0.15) 0%, transparent 70%);
        }

        .intro-box h3 {
            color: var(--accent);
            font-size: 22px;
            margin-bottom: 15px;
        }

        .intro-box p {
            color: var(--text-secondary);
            line-height: 1.8;
            position: relative;
            z-index: 1;
            text-align: justify;
        }

        /* Highlight Box */
        .highlight-box {
            background: linear-gradient(135deg, rgba(201, 162, 39, 0.1) 0%, rgba(201, 162, 39, 0.05) 100%);
            border-left: 4px solid var(--accent);
            padding: 30px;
            margin: 30px 0;
            border-radius: 0 12px 12px 0;
        }

        .highlight-box h3 {
            color: var(--accent);
            font-size: 30px;
            margin-bottom: 20px;
            display: block;
            text-align: center;
        }

        .highlight-box p {
            color: var(--text-secondary);
            line-height: 1.8;
            text-align: justify;
        }

        /* Benefits Grid */
        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin-top: 25px;
        }

        .benefit-item {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            padding: 20px;
            background: rgba(255,255,255,0.05);
            border-radius: 8px;
            border: 1px solid rgba(255,255,255,0.1);
            transition: all 0.3s ease;
        }

        .benefit-item:hover {
            transform: translateY(-3px);
            border-color: var(--accent);
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }

        .benefit-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--bg-primary);
            font-size: 18px;
            flex-shrink: 0;
        }

        .benefit-item strong {
            color: var(--text-primary);
            display: block;
            margin-bottom: 5px;
        }

        .benefit-item p {
            color: var(--text-muted);
            font-size: 14px;
            margin: 0;
        }

        /* Cards Grid */
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .card {
            background: var(--bg-tertiary);
            padding: 35px;
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 12px;
            transition: all 0.3s ease;
            text-align: center;
            position: relative;
            overflow: hidden;
            animation: cardFloat 5s ease-in-out infinite;
        }

        /* Efecto de brillo que pasa por encima */
        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -150%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(255, 255, 255, 0.1),
                transparent
            );
            animation: cardShine 4s ease-in-out infinite;
        }

        @keyframes cardFloat {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-5px);
            }
        }

        @keyframes cardShine {
            0% {
                left: -150%;
            }
            50%, 100% {
                left: 150%;
            }
        }

        /* Animaciones escalonadas para cards */
        .card:nth-child(1) {
            animation-delay: 0s;
        }
        .card:nth-child(1)::before {
            animation-delay: 0s;
        }
        .card:nth-child(2) {
            animation-delay: 0.5s;
        }
        .card:nth-child(2)::before {
            animation-delay: 1.3s;
        }
        .card:nth-child(3) {
            animation-delay: 1s;
        }
        .card:nth-child(3)::before {
            animation-delay: 2.6s;
        }

        .card:hover {
            transform: translateY(-2px);
            animation: none;
        }

        /* SIDRAS Card - Rojo */
        .card-sidras {
            border-color: rgba(220, 53, 69, 0.3);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 12px rgba(220, 53, 69, 0.1);
            animation: cardFloat 5s ease-in-out infinite, cardSidrasPulse 4s ease-in-out infinite;
        }
        @keyframes cardSidrasPulse {
            0%, 100% {
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 12px rgba(220, 53, 69, 0.1);
            }
            50% {
                box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25), 0 0 18px rgba(220, 53, 69, 0.2);
            }
        }
        .card-sidras:hover {
            border-color: #dc3545;
            box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
        }

        /* HIDROMIELES Card - Amarillo */
        .card-hidromieles {
            border-color: rgba(255, 193, 7, 0.3);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 12px rgba(255, 193, 7, 0.1);
            animation: cardFloat 5s ease-in-out infinite, cardHidromielPulse 4s ease-in-out infinite;
        }
        @keyframes cardHidromielPulse {
            0%, 100% {
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 12px rgba(255, 193, 7, 0.1);
            }
            50% {
                box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25), 0 0 18px rgba(255, 193, 7, 0.2);
            }
        }
        .card-hidromieles:hover {
            border-color: #ffc107;
            box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
        }

        /* KOMBUCHA Card - Verde */
        .card-kombucha {
            border-color: rgba(40, 167, 69, 0.3);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 12px rgba(40, 167, 69, 0.1);
            animation: cardFloat 5s ease-in-out infinite, cardKombuchaPulse 4s ease-in-out infinite;
        }
        @keyframes cardKombuchaPulse {
            0%, 100% {
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 12px rgba(40, 167, 69, 0.1);
            }
            50% {
                box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25), 0 0 18px rgba(40, 167, 69, 0.2);
            }
        }
        .card-kombucha:hover {
            border-color: #28a745;
            box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
        }

        .card-icon {
            font-size: 48px;
            margin-bottom: 20px;
        }

        .card h4 {
            font-size: 20px;
            margin-bottom: 15px;
            color: var(--text-primary);
        }

        .card p {
            font-size: 15px;
            color: var(--text-muted);
            line-height: 1.7;
        }

        /* Timeline */
        .timeline {
            max-width: 1000px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
        }

        .timeline-item {
            text-align: center;
            padding: 35px 25px;
            background: linear-gradient(145deg, rgba(201, 162, 39, 0.1) 0%, var(--bg-tertiary) 100%);
            border-radius: 16px;
            border: 2px solid rgba(201, 162, 39, 0.3);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--accent), var(--accent-light));
        }

        .timeline-item:hover {
            border-color: var(--accent);
            transform: translateY(-8px);
            box-shadow: 0 15px 40px rgba(201, 162, 39, 0.2);
        }

        .timeline-date {
            font-size: 15px;
            color: var(--accent);
            font-weight: 700;
            margin-bottom: 15px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .timeline-title {
            font-size: 20px;
            font-weight: 700;
            color: var(--text-primary);
            line-height: 1.3;
        }

        /* Section Dates Hero - Dentro de Inicio */
        .section-dates-hero {
            background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
            padding: 80px 5%;
        }

        /* CTA Section */
        .cta-section {
            background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
            padding: 60px 5%;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            pointer-events: none;
        }

        .cta-title {
            font-size: clamp(24px, 4vw, 36px);
            font-weight: 700;
            color: var(--bg-primary);
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
        }

        .cta-text {
            font-size: 18px;
            color: var(--bg-secondary);
            margin-bottom: 30px;
            position: relative;
            z-index: 1;
        }

        .btn-dark {
            display: inline-block;
            padding: 15px 40px;
            background: var(--bg-primary);
            color: var(--text-primary);
            text-decoration: none;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
            border: none;
            transition: all 0.3s ease;
            cursor: pointer;
            border-radius: 4px;
            position: relative;
            z-index: 1;
        }

        .btn-dark:hover {
            background: var(--bg-secondary);
            transform: translateY(-3px);
        }

        /* Fees Table */
        .fees-table {
            width: 100%;
            max-width: 800px;
            margin: 0 auto;
            border-collapse: collapse;
            background: var(--bg-tertiary);
            border-radius: 12px;
            overflow: hidden;
        }

        .fees-table th {
            background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
            color: var(--bg-primary);
            padding: 15px 20px;
            font-weight: 600;
            text-transform: uppercase;
            font-size: 13px;
            letter-spacing: 1px;
        }

        .fees-table td {
            padding: 15px 20px;
            text-align: center;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            color: var(--text-secondary);
        }

        .fees-table tr:hover td {
            background: rgba(201, 162, 39, 0.1);
        }

        /* Form Buttons */
        .form-buttons {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-bottom: 40px;
            flex-wrap: wrap;
        }

        .form-button {
            padding: 30px 50px;
            background: var(--bg-tertiary);
            border: 3px solid rgba(255,255,255,0.15);
            border-radius: 16px;
            color: var(--text-secondary);
            font-size: 24px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
            width: 250px;
            text-decoration: none;
            position: relative;
            overflow: hidden;
            animation: formBtnFloat 5s ease-in-out infinite;
        }

        /* Efecto de brillo */
        .form-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -150%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(255, 255, 255, 0.1),
                transparent
            );
            animation: formBtnShine 4s ease-in-out infinite;
        }

        @keyframes formBtnFloat {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-5px);
            }
        }

        @keyframes formBtnShine {
            0% {
                left: -150%;
            }
            50%, 100% {
                left: 150%;
            }
        }

        /* Animaciones escalonadas */
        .form-button:nth-child(1) {
            animation-delay: 0s;
        }
        .form-button:nth-child(1)::before {
            animation-delay: 0s;
        }
        .form-button:nth-child(2) {
            animation-delay: 0.5s;
        }
        .form-button:nth-child(2)::before {
            animation-delay: 1.3s;
        }
        .form-button:nth-child(3) {
            animation-delay: 1s;
        }
        .form-button:nth-child(3)::before {
            animation-delay: 2.6s;
        }

        .form-button:hover {
            transform: translateY(-2px);
            animation: none;
        }

        /* SIDRAS Button - Rojo */
        .form-button-sidras {
            border-color: rgba(220, 53, 69, 0.4);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 12px rgba(220, 53, 69, 0.15);
            animation: formBtnFloat 5s ease-in-out infinite, formBtnSidrasPulse 4s ease-in-out infinite;
        }
        @keyframes formBtnSidrasPulse {
            0%, 100% {
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 12px rgba(220, 53, 69, 0.15);
            }
            50% {
                box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25), 0 0 20px rgba(220, 53, 69, 0.25);
            }
        }
        .form-button-sidras:hover {
            border-color: #dc3545;
            color: #dc3545;
            box-shadow: 0 8px 25px rgba(220, 53, 69, 0.35);
        }

        /* HIDROMIELES Button - Amarillo */
        .form-button-hidromieles {
            border-color: rgba(255, 193, 7, 0.4);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 12px rgba(255, 193, 7, 0.15);
            animation: formBtnFloat 5s ease-in-out infinite, formBtnHidromielPulse 4s ease-in-out infinite;
        }
        @keyframes formBtnHidromielPulse {
            0%, 100% {
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 12px rgba(255, 193, 7, 0.15);
            }
            50% {
                box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25), 0 0 20px rgba(255, 193, 7, 0.25);
            }
        }
        .form-button-hidromieles:hover {
            border-color: #ffc107;
            color: #ffc107;
            box-shadow: 0 8px 25px rgba(255, 193, 7, 0.35);
        }

        /* KOMBUCHA Button - Verde */
        .form-button-kombucha {
            border-color: rgba(40, 167, 69, 0.4);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 12px rgba(40, 167, 69, 0.15);
            animation: formBtnFloat 5s ease-in-out infinite, formBtnKombuchaPulse 4s ease-in-out infinite;
        }
        @keyframes formBtnKombuchaPulse {
            0%, 100% {
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 12px rgba(40, 167, 69, 0.15);
            }
            50% {
                box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25), 0 0 20px rgba(40, 167, 69, 0.25);
            }
        }
        .form-button-kombucha:hover {
            border-color: #28a745;
            color: #28a745;
            box-shadow: 0 8px 25px rgba(40, 167, 69, 0.35);
        }

        .form-button-icon {
            font-size: 56px;
        }

        @media (max-width: 768px) {
            .form-buttons {
                flex-direction: column;
                align-items: center;
                gap: 20px;
            }

            .form-button {
                width: 90%;
                padding: 25px 30px;
                flex-direction: row;
                justify-content: center;
                font-size: 20px;
                min-width: auto;
                gap: 15px;
            }

            .form-button-icon {
                font-size: 40px;
            }
        }

        /* Registration Forms Box */
        .registration-forms-box {
            margin-top: 50px;
            padding: 40px;
            background: linear-gradient(135deg, rgba(201, 162, 39, 0.15) 0%, rgba(201, 162, 39, 0.05) 100%);
            border: 3px solid var(--accent);
            border-radius: 20px;
            position: relative;
            overflow: hidden;
        }

        .registration-forms-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
        }

        .registration-forms-header {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            margin-bottom: 30px;
        }

        .registration-forms-icon {
            font-size: 48px;
        }

        .registration-forms-title {
            font-size: clamp(24px, 4vw, 36px);
            font-weight: 700;
            color: var(--accent);
            text-transform: uppercase;
            letter-spacing: 2px;
            margin: 0;
        }

        .registration-forms-instructions {
            max-width: 800px;
            margin: 0 auto 35px;
            text-align: center;
        }

        .registration-forms-instructions > p:first-child {
            font-size: 18px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 20px;
        }

        .registration-forms-instructions ol {
            text-align: left;
            display: inline-block;
            margin: 0 auto 25px;
            padding-left: 25px;
        }

        .registration-forms-instructions ol li {
            color: var(--text-secondary);
            font-size: 16px;
            line-height: 1.8;
            margin-bottom: 8px;
            text-align: justify;
        }

        .registration-forms-note {
            background: rgba(201, 162, 39, 0.2);
            border-left: 4px solid var(--accent);
            padding: 15px 20px;
            border-radius: 0 8px 8px 0;
            font-size: 15px;
            font-weight: 600;
            color: var(--accent-light);
            text-align: justify;
            margin: 0;
        }

        @media (max-width: 768px) {
            .registration-forms-box {
                padding: 25px 20px;
                margin-top: 30px;
            }

            .registration-forms-header {
                flex-direction: column;
                gap: 10px;
            }

            .registration-forms-icon {
                font-size: 40px;
            }

            .registration-forms-title {
                text-align: center;
            }

            .registration-forms-instructions ol {
                padding-left: 20px;
            }

            .registration-forms-instructions ol li {
                font-size: 14px;
            }

            .registration-forms-note {
                font-size: 13px;
                padding: 12px 15px;
            }
        }

        /* ===== MODAL STYLES ===== */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(10, 25, 47, 0.95);
            z-index: 2000;
            overflow-y: auto;
            padding: 20px;
        }

        .modal-overlay.active {
            display: flex;
            justify-content: center;
            align-items: flex-start;
        }

        .modal-container {
            width: 100%;
            max-width: 850px;
            margin: 20px auto;
            background: #ffffff;
            border-radius: 16px;
            box-shadow: 0 25px 80px rgba(0,0,0,0.5);
            position: relative;
            animation: modalSlideIn 0.4s ease;
        }

        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 40px;
            height: 40px;
            background: var(--bg-primary);
            border: none;
            border-radius: 50%;
            color: white;
            font-size: 24px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .modal-close:hover {
            background: var(--accent);
            transform: rotate(90deg);
        }

        .modal-content {
            padding: 30px;
        }

        /* Modal Form Styles */
        .modal-form-header {
            text-align: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 4px solid var(--accent);
        }

        .modal-form-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--bg-primary);
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .modal-form-subtitle {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--accent);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 0;
        }

        .modal-form-note {
            background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
            border: none;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 25px;
            text-align: center;
            position: relative;
        }

        .modal-form-note::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
        }

        .modal-form-note-text {
            font-size: 0.95rem;
            font-weight: 600;
            color: #ffffff;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin: 0;
        }

        .modal-inscription-form {
            background: #ffffff;
        }

        .modal-form-section {
            margin-bottom: 35px;
            padding: 25px;
            background: linear-gradient(135deg, rgba(10, 25, 47, 0.03) 0%, rgba(26, 54, 93, 0.05) 100%);
            border-radius: 12px;
            border-left: 4px solid var(--accent);
        }

        .modal-section-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--bg-primary);
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-bottom: 2px solid var(--accent);
            padding-bottom: 10px;
        }

        .modal-form-group {
            margin-bottom: 20px;
        }

        .modal-form-group.half {
            display: inline-block;
            width: calc(50% - 10px);
            margin-right: 20px;
            vertical-align: top;
        }

        .modal-form-group.half:nth-child(even) {
            margin-right: 0;
        }

        .modal-form-label {
            display: block;
            font-size: 0.95rem;
            font-weight: 700;
            color: #000000;
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

        .modal-form-subtitle-text {
            font-size: 0.9rem;
            font-weight: 600;
            color: #666666;
            margin-bottom: 12px;
            line-height: 1.4;
        }

        .modal-required {
            color: #FF4444;
        }

        .modal-form-input,
        .modal-form-select,
        .modal-form-textarea {
            width: 100%;
            padding: 14px;
            border: 2px solid var(--bg-secondary);
            border-radius: 8px;
            font-family: 'Inter', sans-serif;
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--bg-primary);
            background: #ffffff;
            transition: all 0.3s ease;
            box-sizing: border-box;
        }

        .modal-form-input:focus,
        .modal-form-select:focus,
        .modal-form-textarea:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(201,162,39,0.2);
        }

        .modal-form-textarea {
            resize: vertical;
            min-height: 120px;
        }

        .modal-radio-group {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 10px;
        }

        .modal-radio-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 15px;
            background: rgba(10, 25, 47, 0.03);
            border-radius: 8px;
            transition: background 0.3s ease;
        }

        .modal-radio-item:hover {
            background: rgba(201, 162, 39, 0.1);
        }

        .modal-radio-input {
            width: 20px;
            height: 20px;
            accent-color: var(--accent);
        }

        .modal-radio-label {
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--bg-primary);
            letter-spacing: 0.2px;
        }

        .modal-submit-button {
            width: 100%;
            padding: 18px;
            background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-family: 'Inter', sans-serif;
            font-size: 1.1rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 25px;
            position: relative;
            overflow: hidden;
        }

        .modal-submit-button::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
        }

        .modal-submit-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(10,25,47,0.3);
        }

        .modal-cancel-button {
            display: block;
            width: 100%;
            padding: 16px;
            margin-top: 15px;
            background: transparent;
            color: var(--accent);
            border: 2px solid var(--accent);
            border-radius: 12px;
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            text-align: center;
            text-decoration: none;
            text-transform: uppercase;
            letter-spacing: 1px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-sizing: border-box;
        }

        .modal-cancel-button:hover {
            background: var(--accent);
            color: var(--bg-primary);
        }

        .modal-final-message {
            background: linear-gradient(135deg, rgba(10, 25, 47, 0.05) 0%, rgba(26, 54, 93, 0.08) 100%);
            border: 2px solid var(--bg-secondary);
            border-radius: 12px;
            padding: 25px;
            margin: 25px 0;
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--bg-primary);
            line-height: 1.6;
        }

        .modal-final-message strong {
            color: var(--bg-primary);
        }

        .modal-highlight-text {
            background: linear-gradient(135deg, rgba(201, 162, 39, 0.15) 0%, rgba(232, 212, 139, 0.2) 100%);
            border: 2px solid var(--accent);
            border-radius: 8px;
            padding: 15px;
            margin-top: 12px;
            font-weight: 600;
            color: var(--bg-primary);
        }

        .modal-hidden {
            display: none !important;
        }

        /* Email Warning Box */
        .email-warning-box {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            border: 2px solid #f59e0b;
            border-left: 5px solid #d97706;
            border-radius: 10px;
            padding: 15px 18px;
            margin-bottom: 20px;
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }

        .email-warning-icon {
            font-size: 24px;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .email-warning-content {
            flex: 1;
        }

        .email-warning-title {
            color: #92400e;
            font-weight: 700;
            font-size: 0.95rem;
            margin-bottom: 6px;
        }

        .email-warning-text {
            color: #78350f;
            font-size: 0.85rem;
            line-height: 1.5;
            margin: 0;
        }

        .email-warning-gmail {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            background: white;
            padding: 4px 10px;
            border-radius: 20px;
            font-weight: 600;
            color: #1a73e8;
            margin-top: 8px;
            font-size: 0.8rem;
            border: 1px solid #e5e7eb;
        }

        /* Success Modal - Popup Prominente */
        .success-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.92);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 99999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s ease;
            backdrop-filter: blur(8px);
        }

        .success-modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .success-modal-content {
            background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
            border-radius: 24px;
            padding: 50px 40px;
            max-width: 550px;
            width: 90%;
            text-align: center;
            transform: scale(0.7) translateY(30px);
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
            border: 4px solid var(--accent);
            position: relative;
        }

        .success-modal-overlay.active .success-modal-content {
            transform: scale(1) translateY(0);
        }

        .success-modal-icon {
            font-size: 80px;
            margin-bottom: 20px;
            animation: bounceIn 0.6s ease 0.3s both;
        }

        @keyframes bounceIn {
            0% { transform: scale(0); opacity: 0; }
            50% { transform: scale(1.2); }
            100% { transform: scale(1); opacity: 1; }
        }

        .success-modal-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--bg-primary);
            margin-bottom: 10px;
        }

        .success-modal-subtitle {
            font-size: 1rem;
            color: #e74c3c;
            font-weight: 600;
            margin-bottom: 25px;
            padding: 10px 20px;
            background: #fef2f2;
            border-radius: 8px;
            border: 1px solid #fecaca;
        }

        .success-modal-id-label {
            font-size: 0.9rem;
            color: #666;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 10px;
            font-weight: 600;
        }

        .success-modal-id {
            background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
            color: var(--accent);
            font-size: 2.2rem;
            font-weight: 700;
            padding: 20px 30px;
            border-radius: 12px;
            margin: 10px 0 25px 0;
            font-family: 'Courier New', monospace;
            letter-spacing: 3px;
            box-shadow: 0 8px 25px rgba(10, 25, 47, 0.3);
            border: 2px solid var(--accent);
            user-select: all;
            cursor: pointer;
        }

        .success-modal-id:hover {
            transform: scale(1.02);
            box-shadow: 0 10px 30px rgba(10, 25, 47, 0.4);
        }

        .success-modal-copy-hint {
            font-size: 0.8rem;
            color: #888;
            margin-bottom: 20px;
            font-style: italic;
        }

        .success-modal-message {
            color: #555;
            font-size: 1rem;
            line-height: 1.7;
            margin-bottom: 30px;
            padding: 15px;
            background: #f0fdf4;
            border-radius: 10px;
            border-left: 4px solid #22c55e;
        }

        .success-modal-button {
            background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
            color: white;
            border: none;
            padding: 18px 50px;
            border-radius: 30px;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
        }

        .success-modal-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(34, 197, 94, 0.5);
            background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
        }

        .success-modal-warning {
            margin-top: 20px;
            font-size: 0.85rem;
            color: #888;
        }

        /* Loading Modal */
        .loading-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 999999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            backdrop-filter: blur(8px);
        }

        .loading-modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .loading-modal-content {
            background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-primary) 100%);
            border-radius: 24px;
            padding: 50px 60px;
            max-width: 450px;
            width: 90%;
            text-align: center;
            transform: scale(0.9);
            transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            box-shadow: 0 30px 80px rgba(0,0,0,0.5);
            border: 2px solid var(--accent);
        }

        .loading-modal-overlay.active .loading-modal-content {
            transform: scale(1);
        }

        .loading-spinner {
            width: 80px;
            height: 80px;
            margin: 0 auto 30px;
            position: relative;
        }

        .loading-spinner::before,
        .loading-spinner::after {
            content: '';
            position: absolute;
            border-radius: 50%;
        }

        .loading-spinner::before {
            width: 100%;
            height: 100%;
            border: 4px solid rgba(201, 162, 39, 0.2);
        }

        .loading-spinner::after {
            width: 100%;
            height: 100%;
            border: 4px solid transparent;
            border-top-color: var(--accent);
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .loading-dots {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-bottom: 25px;
        }

        .loading-dot {
            width: 12px;
            height: 12px;
            background: var(--accent);
            border-radius: 50%;
            animation: loadingPulse 1.4s ease-in-out infinite;
        }

        .loading-dot:nth-child(1) { animation-delay: 0s; }
        .loading-dot:nth-child(2) { animation-delay: 0.2s; }
        .loading-dot:nth-child(3) { animation-delay: 0.4s; }

        @keyframes loadingPulse {
            0%, 80%, 100% {
                transform: scale(0.6);
                opacity: 0.5;
            }
            40% {
                transform: scale(1);
                opacity: 1;
            }
        }

        .loading-modal-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--accent);
            margin-bottom: 15px;
        }

        .loading-modal-message {
            font-size: 1rem;
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 20px;
        }

        .loading-modal-warning {
            font-size: 0.9rem;
            color: #e74c3c;
            font-weight: 600;
            padding: 12px 20px;
            background: rgba(231, 76, 60, 0.1);
            border-radius: 8px;
            border: 1px solid rgba(231, 76, 60, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .loading-modal-warning-icon {
            font-size: 1.2rem;
        }

        /* Partners */
        .partners-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-top: 40px;
        }

        .partner-item {
            text-align: center;
            padding: 30px;
            background: var(--bg-tertiary);
            border-radius: 12px;
            border: 1px solid rgba(255,255,255,0.1);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
        }

        .partner-item:hover {
            border-color: var(--accent);
            transform: translateY(-5px);
        }

        .partner-item .partner-logo-container {
            width: 150px;
            height: 150px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
        }

        .partner-item img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .partner-item h4 {
            color: var(--accent);
            font-size: 16px;
            margin-bottom: 8px;
            min-height: 40px;
            display: flex;
            align-items: center;
        }

        .partner-item p {
            color: var(--text-muted);
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* ===== CTA SECTION (Pagos/Editar) ===== */
        .cta-section {
            background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
            padding: 60px 5%;
            text-align: center;
        }

        .cta-title {
            color: var(--bg-primary);
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            font-style: italic;
        }

        .cta-subtitle {
            color: var(--bg-primary);
            font-size: 1.1rem;
            max-width: 800px;
            margin: 0 auto 35px;
            line-height: 1.6;
        }

        .cta-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .cta-btn {
            padding: 15px 40px;
            font-size: 1rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
            border-radius: 4px;
            text-decoration: none;
            transition: all 0.3s ease;
            min-width: 200px;
            position: relative;
            z-index: 1;
        }

        .cta-btn-primary {
            background: var(--bg-primary);
            color: var(--accent);
            border: 2px solid var(--bg-primary);
        }

        .cta-btn-primary:hover {
            background: transparent;
            color: var(--bg-primary);
        }

        .cta-btn-secondary {
            background: transparent;
            color: var(--bg-primary);
            border: 2px solid var(--bg-primary);
        }

        .cta-btn-secondary:hover {
            background: var(--bg-primary);
            color: var(--accent);
        }

        .cta-info-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
            max-width: 1000px;
            margin: 0 auto;
            text-align: left;
        }

        .cta-info-item {
            background: var(--bg-primary);
            padding: 30px;
            border-radius: 12px;
            border: 2px solid rgba(255, 255, 255, 0.1);
            display: flex;
            flex-direction: column;
        }

        .cta-info-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }

        .cta-info-icon {
            font-size: 2rem;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
        }

        .cta-info-item h3 {
            font-size: 1.4rem;
            font-weight: 700;
            margin: 0;
        }

        .cta-info-item p {
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 15px;
            text-align: justify;
        }

        /* Tarjeta Pagos - Verde */
        .cta-info-item:nth-child(1) {
            border-color: rgba(40, 167, 69, 0.4);
            box-shadow: 0 4px 20px rgba(40, 167, 69, 0.15);
        }
        .cta-info-item:nth-child(1) .cta-info-icon {
            background: rgba(40, 167, 69, 0.15);
            color: #28a745;
        }
        .cta-info-item:nth-child(1) h3 {
            color: #28a745;
        }
        .cta-info-item:nth-child(1) p {
            color: var(--text-secondary);
        }
        .cta-info-item:nth-child(1) .cta-btn-primary {
            background: #28a745;
            border-color: #28a745;
            color: white;
            transition: all 0.3s ease;
        }
        .cta-info-item:nth-child(1) .cta-btn-primary:hover {
            background: #218838;
            border-color: #218838;
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
        }

        /* Tarjeta Editar - Azul */
        .cta-info-item:nth-child(2) {
            border-color: rgba(0, 123, 255, 0.4);
            box-shadow: 0 4px 20px rgba(0, 123, 255, 0.15);
        }
        .cta-info-item:nth-child(2) .cta-info-icon {
            background: rgba(0, 123, 255, 0.15);
            color: #007bff;
        }
        .cta-info-item:nth-child(2) h3 {
            color: #007bff;
        }
        .cta-info-item:nth-child(2) p {
            color: var(--text-secondary);
        }
        .cta-info-item:nth-child(2) .cta-btn-secondary {
            background: #007bff;
            border-color: #007bff;
            color: white;
            transition: all 0.3s ease;
        }
        .cta-info-item:nth-child(2) .cta-btn-secondary:hover {
            background: #0056b3;
            border-color: #0056b3;
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
        }

        .cta-warning {
            background: rgba(220, 53, 69, 0.1);
            padding: 12px 15px;
            border-radius: 8px;
            border-left: 4px solid #dc3545;
            font-weight: 600;
            font-size: 0.9rem !important;
            color: #dc3545 !important;
        }

        .cta-note {
            font-style: italic;
            opacity: 0.85;
            font-size: 0.9rem !important;
            color: var(--text-muted) !important;
        }

        .cta-info-item .cta-btn {
            margin-top: auto;
            padding-top: 15px;
            display: block;
            text-align: center;
        }

        @media (max-width: 768px) {
            .cta-section {
                padding: 40px 15px;
            }

            .cta-title {
                font-size: 1.6rem;
                margin-bottom: 25px;
            }

            .cta-info-grid {
                grid-template-columns: 1fr;
                gap: 20px;
                padding: 0 5px;
            }

            .cta-info-item {
                padding: 20px;
            }

            .cta-info-header {
                gap: 10px;
                margin-bottom: 12px;
            }

            .cta-info-icon {
                font-size: 1.8rem;
            }

            .cta-info-item h3 {
                font-size: 1.15rem;
                margin-bottom: 12px;
            }

            .cta-info-item p {
                font-size: 0.9rem;
                line-height: 1.5;
                margin-bottom: 12px;
            }

            .cta-warning {
                padding: 10px 12px;
                font-size: 0.85rem !important;
            }

            .cta-note {
                font-size: 0.85rem !important;
            }

            .cta-info-item .cta-btn {
                width: 100%;
                text-align: center;
                padding: 12px 20px;
                font-size: 0.9rem;
            }
        }

        @media (max-width: 480px) {
            .cta-section {
                padding: 30px 10px;
            }

            .cta-title {
                font-size: 1.4rem;
            }

            .cta-info-item {
                padding: 18px 15px;
            }

            .cta-info-header {
                gap: 8px;
            }

            .cta-info-icon {
                font-size: 1.5rem;
            }

            .cta-info-item h3 {
                font-size: 1rem;
            }

            .cta-info-item p {
                font-size: 0.85rem;
            }

            .cta-warning,
            .cta-note {
                font-size: 0.8rem !important;
            }

            .cta-info-item .cta-btn {
                font-size: 0.85rem;
                letter-spacing: 1px;
            }
        }

        /* ===== FOOTER ===== */
        footer {
            background: var(--bg-tertiary);
            padding: 60px 5% 30px;
            border-top: 1px solid rgba(255,255,255,0.1);
        }

        .footer-content {
            max-width: 90%;
            width: 90%;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
        }

        .footer-brand {
            text-align: center;
        }

        .footer-brand img {
            height: 80px;
            margin-bottom: 20px;
        }

        .footer-brand p {
            color: var(--text-muted);
            font-size: 14px;
        }

        .footer-links h4,
        .footer-contact h4 {
            color: var(--accent);
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 20px;
        }

        .footer-links a {
            display: block;
            color: var(--text-muted);
            text-decoration: none;
            padding: 8px 0;
            font-size: 14px;
            transition: color 0.3s ease;
            cursor: pointer;
        }

        .footer-links a:hover {
            color: var(--accent);
        }

        .footer-contact p {
            color: var(--text-muted);
            font-size: 14px;
            margin-bottom: 10px;
        }

        .footer-contact a {
            color: var(--accent);
            text-decoration: none;
        }

        .footer-bottom {
            max-width: 90%;
            width: 90%;
            margin: 40px auto 0;
            padding-top: 30px;
            border-top: 1px solid rgba(255,255,255,0.1);
            text-align: center;
            color: var(--text-muted);
            font-size: 13px;
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 768px) {
            header {
                padding: 10px 4%;
            }

            .menu-toggle {
                display: flex;
            }

            nav {
                position: fixed;
                top: 80px;
                left: 0;
                right: 0;
                background: rgba(10, 25, 47, 0.98);
                flex-direction: column;
                padding: 20px;
                transform: translateY(-150%);
                transition: transform 0.3s ease;
                border-bottom: 3px solid var(--accent);
            }

            nav.active {
                transform: translateY(0);
            }

            nav a {
                padding: 15px;
                text-align: center;
                border-bottom: 1px solid rgba(255,255,255,0.1);
                width: 100%;
            }

            .nav-dropdown .dropdown-menu {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: none;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease;
                border: none;
                background: rgba(255,255,255,0.05);
            }

            .nav-dropdown.open .dropdown-menu {
                max-height: 500px;
            }

            .lang-selector {
                margin: 15px 0;
            }

            .nav-cta {
                margin: 15px 0;
            }

            .hero-title {
                font-size: 32px;
            }

            .categories-grid {
                flex-direction: column;
                align-items: center;
            }

            .timeline {
                grid-template-columns: 1fr !important;
                gap: 20px !important;
            }

            .footer-content {
                text-align: center;
            }

            /* Partners responsive */
            .partners-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .partner-item {
                width: 100%;
                max-width: 350px;
                margin: 0 auto;
            }

            .partner-logo-container {
                width: 120px;
                height: 120px;
            }

            /* Content sections responsive */
            .content-section {
                padding: 50px 4%;
            }

            .section-title {
                font-size: 28px;
            }

            .section-subtitle {
                font-size: 16px;
            }

            .intro-box {
                padding: 25px 20px;
            }

            .intro-box h3 {
                font-size: 18px;
            }

            .highlight-box {
                padding: 20px 15px;
            }

            .highlight-box h3 {
                font-size: 18px;
            }

            .benefits-grid {
                grid-template-columns: 1fr;
            }

            .benefit-item {
                padding: 15px;
            }

            /* Hero responsive */
            .hero-section {
                min-height: 80vh;
            }

            .hero-logo {
                width: 220px;
                height: auto;
            }

            .hero-subtitle {
                font-size: 14px;
            }

            /* Inscripcion responsive */
            .fees-grid {
                grid-template-columns: 1fr;
            }

            .fee-card {
                padding: 25px 20px;
            }
        }

        /* Extra small devices */
        @media (max-width: 480px) {
            .hero-title {
                font-size: 26px;
            }

            .section-title {
                font-size: 24px;
            }

            .partner-item {
                width: 95%;
                padding: 20px;
            }

            .partner-logo-container {
                width: 100px;
                height: 100px;
            }

            .partner-item h4 {
                font-size: 14px;
                min-height: 30px;
            }

            .category-item {
                padding: 12px 20px;
                font-size: 14px;
                width: 80%;
                max-width: 250px;
            }

            .category-item span {
                font-size: 16px;
            }

            /* Fees table responsive - convertir a cards */
            .fees-table {
                display: none;
            }

            .fees-cards-mobile {
                display: flex;
                flex-direction: column;
                gap: 15px;
            }

            .fee-card-mobile {
                background: var(--bg-tertiary);
                border-radius: 12px;
                padding: 20px;
                border: 1px solid rgba(255,255,255,0.1);
            }

            .fee-card-mobile .fee-entries {
                font-size: 24px;
                font-weight: 700;
                color: var(--accent);
                text-align: center;
                margin-bottom: 15px;
                padding-bottom: 15px;
                border-bottom: 1px solid rgba(255,255,255,0.1);
            }

            .fee-card-mobile .fee-details {
                display: flex;
                justify-content: space-between;
                gap: 10px;
            }

            .fee-card-mobile .fee-detail {
                text-align: center;
                flex: 1;
            }

            .fee-card-mobile .fee-label {
                font-size: 11px;
                color: var(--text-muted);
                text-transform: uppercase;
                letter-spacing: 0.5px;
                margin-bottom: 5px;
            }

            .fee-card-mobile .fee-value {
                font-size: 18px;
                font-weight: 600;
                color: var(--text-primary);
            }
        }

        /* Desktop: ocultar cards mobile */
        .fees-cards-mobile {
            display: none;
        }

        @media (max-width: 768px) {
            .fees-cards-mobile {
                display: flex;
            }
        }
    
/* ----- bloque 2, venía suelto dentro de una sección ----- */

                            @media (max-width: 768px) {
                                #bases div[style*="grid-template-columns: repeat(3, 1fr)"] {
                                    grid-template-columns: 1fr !important;
                                    gap: 20px !important;
                                }
                            }
                        
/* ----- bloque 3, venía suelto dentro de una sección ----- */

                        @media (max-width: 768px) {
                            #envio-muestras .container > div[style*="grid-template-columns: repeat(3, 1fr)"],
                            #envio-muestras div[style*="grid-template-columns: repeat(3, 1fr)"] {
                                grid-template-columns: 1fr !important;
                                gap: 20px !important;
                            }
                        }
                    
/* ----- bloque 4, venía suelto dentro de una sección ----- */

                @media (max-width: 768px) {
                    #inscripcion div[style*="grid-template-columns: repeat(3, 1fr)"] {
                        grid-template-columns: 1fr !important;
                        gap: 20px !important;
                    }
                }
            
/* =========================================================
   AJUSTES 2027
   Bloques nuevos, espaciado más compacto y tipografía propia
   ========================================================= */

/* ---------- Bloque de texto con foto al lado ---------- */
.bloque-foto {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
    margin: 0 0 48px;
}

.bloque-foto-invertido .bloque-foto-texto {
    order: 2;
}

.bloque-foto-texto h2 {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.25;
}

.bloque-foto-texto p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
}

.bloque-foto-texto p:last-child {
    margin-bottom: 0;
}

.bloque-foto-imagen {
    margin: 0;
}

.bloque-foto-imagen img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(201, 162, 39, 0.25);
    display: block;
}

/* ---------- Franja de marca ---------- */
.franja-marca {
    text-align: center;
    margin: 48px 0 0;
    padding: 34px 20px;
    border-top: 1px solid rgba(201, 162, 39, 0.25);
    border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}

.franja-marca-titulo {
    font-size: clamp(1.3rem, 2.4vw, 1.9rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--accent);
    margin-bottom: 10px;
}

.franja-marca-linea {
    color: var(--text-secondary);
    letter-spacing: 0.12em;
    font-size: 0.95rem;
    margin: 2px 0;
}

/* ---------- Encabezados centrados ---------- */
.section-header.centrado {
    text-align: center;
}

.section-header.centrado .section-subtitle {
    margin-top: 10px;
    color: var(--accent-light);
    font-size: 1.02rem;
}

/* ---------- Foto ancha dentro de una sección ---------- */
.foto-seccion {
    margin: 0 0 32px;
}

.foto-seccion img {
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(201, 162, 39, 0.25);
    display: block;
}

.foto-seccion figcaption {
    margin-top: 10px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* ---------- Galería ---------- */
.galeria {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0 0 32px;
    padding: 0;
}

.galeria img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* ---------- Video incrustado ---------- */
.video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 39, 0.25);
    margin-bottom: 28px;
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------- Pasos numerados, en vez de iconos ---------- */
.pasos {
    list-style: none;
    counter-reset: paso;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    padding: 0;
    margin: 0 0 32px;
}

.pasos li {
    counter-increment: paso;
    position: relative;
    padding: 24px 22px 22px 22px;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}

.pasos li::before {
    content: counter(paso, decimal-leading-zero);
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 10px;
}

.pasos h4 {
    color: var(--text-primary);
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.pasos p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ---------- Responsivo de lo nuevo ---------- */
@media (max-width: 900px) {
    .bloque-foto {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-bottom: 36px;
    }

    .bloque-foto-invertido .bloque-foto-texto {
        order: 0;
    }

    .galeria {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .foto-seccion img {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 600px) {
    .franja-marca {
        margin-top: 32px;
        padding: 24px 12px;
    }

    .galeria {
        grid-template-columns: 1fr;
    }
}

/* La línea de tiempo pasó de 4 a 6 hitos: tres por fila se reparte parejo */
.timeline {
    max-width: 1120px;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.timeline-item {
    padding: 26px 20px;
}

@media (max-width: 900px) {
    .timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

/* Lista simple sin iconos, con guion dorado */
.lista-simple {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}

.lista-simple li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.lista-simple li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 10px;
    height: 2px;
    background: var(--accent);
}

/* Frase de marca bajo el texto de un llamado a la acción
   (no se usa .cta-note porque esa clase ya venía con color gris forzado) */
.cta-marca {
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--bg-primary);
    margin: 8px 0 20px;
}

/* ---------- Las tres industrias, con foto ---------- */
.industrias-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.industria {
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.industria img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.industria-texto {
    padding: 22px 22px 24px;
}

.industria-texto h3 {
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.industria-texto p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 10px;
}

.industria-texto p:last-child {
    margin-bottom: 0;
}

.industria-sidra { border-top: 3px solid #b45f5f; }
.industria-hidromiel { border-top: 3px solid var(--accent); }
.industria-kombucha { border-top: 3px solid #4e9e8b; }

.lista-dos-columnas {
    columns: 2;
    column-gap: 30px;
}

@media (max-width: 900px) {
    .industrias-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .lista-dos-columnas {
        columns: 1;
    }
}

/* ---------- Envío de muestras ---------- */
.envio-intro {
    max-width: 900px;
    margin: 0 auto 40px;
    /* recuadro, como el de Bases y el resto del sitio */
    padding: 26px 32px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(17, 34, 64, .95), rgba(17, 34, 64, .55));
    border: 1px solid rgba(201, 162, 39, .35);
    border-top: 4px solid var(--accent);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.envio-intro .envio-acompanamos {
    padding-top: 14px;
    border-top: 1px solid rgba(201, 162, 39, .25);
}

.envio-intro p {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 14px;
}

.envio-intro .envio-acompanamos {
    text-align: center !important;
    color: var(--text-primary, #fff);
    font-weight: 700;
    margin-top: 6px;
}

.envio-intro .envio-destacado {
    text-align: center;
    color: var(--accent-light);
    font-weight: 600;
    margin-top: 22px;
    margin-bottom: 0;
}

/* Tarjeta de socio que lleva a su web */
.partner-enlace {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.partner-enlace:hover {
    transform: translateY(-3px);
}

.partner-enlace:hover h4 {
    color: var(--accent);
}

/* =========================================================
   TIPOGRAFÍA Y ESPACIADO 2027
   Playfair Display en los títulos, Manrope en el texto.
   Espaciado más compacto, con el mismo criterio que usamos
   en Patagonian Yeast: junto pero sin amontonar
   ========================================================= */
body,
input,
select,
textarea,
button {
    font-family: 'Manrope', 'Segoe UI', sans-serif;
}

h1, h2, h3,
.hero-title,
.section-title,
.cta-title,
.franja-marca-titulo,
.bloque-foto-texto h2,
.industria-texto h3 {
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -0.01em;
}

h4, h5,
.section-label,
.nav-cta,
.btn-primary,
.btn-secondary,
.btn-dark,
.lang-btn,
nav a {
    font-family: 'Manrope', 'Segoe UI', sans-serif;
}

/* ---------- Espaciado más compacto ---------- */
.content-section {
    /* el primer bloque tiene que despejar el encabezado fijo (unos 78 px) */
    padding: 104px 5% 56px;
}

.section-header {
    margin-bottom: 32px;
}

.cta-section {
    padding: 44px 5%;
}

.intro-box,
.highlight-box {
    padding: 24px 26px;
}

#inicio {
    padding: 90px 5% 60px;
}

@media (max-width: 768px) {
    .content-section {
        padding: 92px 4% 36px;
    }

    .section-header {
        margin-bottom: 24px;
    }

    .cta-section {
        padding: 32px 4%;
    }

    .intro-box,
    .highlight-box {
        padding: 18px 18px;
    }

    #inicio {
        padding: 70px 4% 40px;
    }
}

/* =========================================================
   SISTEMA VISUAL 2027
   Reglas fijas: títulos centrados, textos largos justificados,
   textos cortos centrados, sobrantes de grilla centrados.
   Más color, más movimiento, menos aire vacío
   ========================================================= */

:root {
    --sidra: #c96a5a;
    --hidromiel: #c9a227;
    --kombucha: #3f9e8c;
    --panel: linear-gradient(160deg, rgba(201, 162, 39, 0.10) 0%, rgba(17, 34, 64, 0.85) 55%);
    --borde: rgba(201, 162, 39, 0.28);
}

/* ---------- 1. Títulos SIEMPRE centrados ---------- */
h1, h2, h3, h4, h5,
.section-title,
.section-subtitle,
.section-label,
.card h4,
.intro-box h3,
.highlight-box h3,
.bloque-foto-texto h2,
.industria-texto h3,
.pasos h4,
.cta-title {
    text-align: center;
}

/* ---------- 2. Textos largos justificados ---------- */
.intro-box p,
.highlight-box p,
.bloque-foto-texto p,
.industria-texto p,
.envio-intro p,
.bloque-texto p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* ---------- 3. Textos cortos centrados ---------- */
.card p,
.pasos p,
.timeline-title,
.timeline-date,
.section-subtitle,
.lista-simple li,
.dato p,
.chip,
.franja-marca-linea,
.cta-text,
.cta-marca {
    text-align: center;
}

/* ---------- 4. Grillas: lo que sobra queda centrado ---------- */
.cards-grid,
.benefits-grid,
.partners-grid,
.pasos,
.timeline,
.industrias-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.cards-grid > *,
.pasos > li {
    flex: 1 1 280px;
    max-width: 360px;
}

.benefits-grid > * {
    flex: 1 1 240px;
    max-width: 330px;
}

.industrias-grid > * {
    flex: 1 1 300px;
    max-width: 380px;
}

.timeline > * {
    flex: 1 1 250px;
    max-width: 330px;
}

.partners-grid > * {
    flex: 1 1 220px;
    max-width: 300px;
}

/* ---------- 5. Tarjetas con vida ---------- */
.card,
.pasos li,
.benefit-item,
.partner-item,
.timeline-item,
.industria {
    position: relative;
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card::after,
.pasos li::after,
.industria::after {
    content: '';
    position: absolute;
    left: 22px;
    right: 22px;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.card:hover,
.pasos li:hover,
.benefit-item:hover,
.partner-item:hover,
.timeline-item:hover,
.industria:hover {
    transform: translateY(-4px);
    border-color: var(--borde);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.card:hover::after,
.pasos li:hover::after,
.industria:hover::after {
    opacity: 1;
}

.card {
    padding: 26px 24px;
}

.card h4 {
    font-size: 1.15rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ---------- 6. Título de sección con filete dorado ---------- */
.section-title {
    position: relative;
    padding-bottom: 14px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 66px;
    height: 3px;
    border-radius: 2px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--sidra), var(--accent), var(--kombucha));
}


/* ---------- 8. Franja destacada (reemplaza la barra dorada plana) ---------- */
.franja-clave {
    position: relative;
    overflow: hidden;
    margin: 0 0 34px;
    padding: 30px 34px;
    border-radius: 16px;
    border: 1px solid var(--borde);
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(201, 162, 39, 0.20) 0%, transparent 55%),
        radial-gradient(120% 140% at 100% 100%, rgba(63, 158, 140, 0.18) 0%, transparent 55%),
        var(--bg-tertiary);
    text-align: center;
}

.franja-clave-titulo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    color: var(--accent-light);
    margin-bottom: 10px;
}

.franja-clave p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: center;
}

/* ---------- 9. Chips ---------- */
.chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
}

.chip {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--borde);
    background: rgba(201, 162, 39, 0.08);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.25s ease, transform 0.25s ease;
}

.chip:hover {
    background: rgba(201, 162, 39, 0.2);
    transform: translateY(-2px);
}

/* ---------- 10. Datos en dos columnas ---------- */
.dato {
    flex: 1 1 220px;
    max-width: 300px;
    padding: 22px 20px;
    border-radius: 14px;
    border-left: 3px solid var(--accent);
    background: var(--bg-tertiary);
}

.dato strong {
    display: block;
    font-size: 1.05rem;
    color: var(--accent);
    margin-bottom: 6px;
    text-align: center;
}

@media (max-width: 768px) {
    .cards-grid > *,
    .pasos > li,
    .benefits-grid > *,
    .industrias-grid > *,
    .timeline > *,
    .partners-grid > * {
        flex: 1 1 100%;
        max-width: 520px;
    }

    .franja-clave {
        padding: 22px 18px;
    }
}

/* ---------- Carrusel de fotos ---------- */
.carrusel {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--borde);
    background: #06101f;
}

.carrusel-marco {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.carrusel-foto {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    cursor: zoom-in;
}

.carrusel-foto.es-activa {
    opacity: 1;
}

.carrusel-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carrusel-anterior,
.carrusel-siguiente {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--borde);
    background: rgba(10, 25, 47, 0.7);
    color: var(--accent-light);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.carrusel-anterior { left: 14px; }
.carrusel-siguiente { right: 14px; }

.carrusel-anterior:hover,
.carrusel-siguiente:hover {
    background: var(--accent);
    color: var(--bg-primary);
}

.carrusel-puntos {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.carrusel-puntos button {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.carrusel-puntos button.es-activa {
    background: var(--accent);
    transform: scale(1.3);
}

/* ---------- Foto en grande ---------- */
.lupa {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(4, 10, 20, 0.92);
}

.lupa.abierta {
    display: flex;
}

.lupa img {
    max-width: 94vw;
    max-height: 88vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lupa-cerrar {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--borde);
    background: rgba(10, 25, 47, 0.8);
    color: var(--accent-light);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

/* ---------- Redes sociales con icono ---------- */
.redes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.redes a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--borde);
    background: rgba(201, 162, 39, 0.08);
    color: var(--accent-light);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.redes a:hover {
    background: var(--accent);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

.redes svg {
    width: 24px;
    height: 24px;
}

/* ---------- Trayectoria: video grande y texto al costado ---------- */
.trayectoria-bloque {
    display: grid;
    grid-template-columns: 26% 1fr;
    gap: 26px;
    align-items: start;
    margin-bottom: 34px;
}

.trayectoria-texto p {
    text-align: justify;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
    font-size: 0.97rem;
}

@media (max-width: 900px) {
    .trayectoria-bloque {
        grid-template-columns: 1fr;
    }

    .carrusel-anterior,
    .carrusel-siguiente {
        width: 36px;
        height: 36px;
    }
}

/* ---------- Pilares: tarjeta con foto y color propio ---------- */
.pilares {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.pilar {
    flex: 1 1 300px;
    max-width: 390px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 16px;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-top: 4px solid var(--color-pilar, var(--accent));
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pilar:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.pilar img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.pilar:hover img {
    transform: scale(1.05);
}

.pilar-texto {
    padding: 22px 22px 24px;
}

.pilar-texto h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    color: var(--color-pilar, var(--accent));
    margin-bottom: 8px;
}

.pilar-texto .pilar-frase {
    text-align: center;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.02rem;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pilar-texto p {
    text-align: justify;
    hyphens: auto;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 10px;
}

.pilar-texto p:last-child {
    margin-bottom: 0;
}

.pilar-sidra { --color-pilar: var(--sidra); }
.pilar-hidromiel { --color-pilar: var(--hidromiel); }
.pilar-kombucha { --color-pilar: var(--kombucha); }

/* ---------- Capacidades: compactas y con texto grande ---------- */
.capacidades-titulo {
    text-align: center;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 0 14px;
}

.capacidades {
    list-style: none;
    counter-reset: capacidad;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    padding: 0;
    margin: 0 0 18px;
}

.capacidades li {
    counter-increment: capacidad;
    flex: 1 1 230px;
    max-width: 290px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 12px;
    background: var(--panel);
    border: 1px solid var(--borde);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.capacidades li:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}

.capacidades li::before {
    content: counter(capacidad);
    flex: 0 0 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bg-primary);
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
}

.capacidades span {
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
}

.capacidades-cierre {
    text-align: center;
    font-weight: 700;
    color: var(--accent-light);
    font-size: 1.05rem;
}

.bloque-foto-texto .bloque-destacado {
    text-align: center;
    color: var(--accent);
    font-style: italic;
    font-weight: 600;
}

.franja-clave .franja-clave-sub {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    color: var(--accent-light);
    margin: 20px auto 6px;
}

@media (max-width: 768px) {
    .pilar,
    .capacidades li {
        flex: 1 1 100%;
        max-width: 520px;
    }
}

/* ---------- Misión y visión: tarjetas con foto ---------- */
.tarjetas-mv {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.tarjeta-mv {
    flex: 1 1 380px;
    max-width: 580px;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 30px 28px;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--borde);
    border-bottom: 4px solid var(--accent);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-mv-vision {
    border-bottom-color: var(--kombucha);
}

.tarjeta-mv:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
}

.tarjeta-mv h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    color: var(--text-primary);
    margin-bottom: 8px;
}

.tarjeta-mv p {
    text-align: center;
    color: var(--accent-light);
    font-size: 1.08rem;
    font-weight: 600;
    margin-bottom: 18px;
    max-width: 440px;
}

.tarjeta-mv-boton {
    padding: 11px 26px;
    border-radius: 999px;
    border: 1px solid var(--accent);
    background: rgba(201, 162, 39, 0.14);
    color: var(--accent-light);
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.tarjeta-mv-boton:hover {
    background: var(--accent);
    color: var(--bg-primary);
}

/* ---------- Metas numeradas ---------- */
.metas-titulo {
    text-align: center;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.12rem;
    margin: 0;
}

.metas {
    list-style: none;
    counter-reset: meta;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    padding: 0;
    margin: 0;
}

.metas li {
    counter-increment: meta;
    flex: 1 1 300px;
    max-width: 370px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 12px;
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--text-primary);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.metas li:hover {
    transform: translateY(-3px);
    border-color: var(--borde);
}

.metas li::before {
    content: counter(meta, decimal-leading-zero);
    flex: 0 0 auto;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

/* ---------- Acciones de la visión ---------- */
.acciones {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    padding: 0;
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--borde);
}

.acciones li {
    flex: 1 1 220px;
    padding: 20px 18px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-tertiary);
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.acciones li:nth-child(odd) {
    background: linear-gradient(160deg, rgba(63, 158, 140, 0.16), var(--bg-tertiary));
}

.acciones li:last-child {
    border-right: none;
}

/* ---------- Cita de cierre ---------- */
.cita-final {
    margin: 34px auto 0;
    max-width: 820px;
    padding: 26px 30px 0;
    border-top: 1px solid var(--borde);
    text-align: center;
}

.cita-final p {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.3rem, 2.4vw, 1.75rem);
    line-height: 1.45;
    color: var(--text-primary);
    text-align: center;
}

/* ---------- Ventana emergente propia (misión, visión) ---------- */
.popup.active {
    align-items: center;
    justify-content: center;
}

.popup-caja {
    position: relative;
    width: 100%;
    max-width: 720px;
    padding: 38px 36px 34px;
    border-radius: 18px;
    border: 1px solid var(--borde);
    border-top: 4px solid var(--accent);
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(201, 162, 39, 0.14) 0%, transparent 55%),
        var(--bg-secondary);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
    animation: modalSlideIn 0.35s ease;
}

.popup-caja h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.popup-caja .popup-bajada {
    text-align: center;
    color: var(--accent-light);
    font-weight: 700;
    margin-bottom: 18px;
}

.popup-caja p {
    text-align: justify;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 12px;
}

.popup-cerrar {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--borde);
    background: transparent;
    color: var(--accent-light);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 768px) {
    .tarjeta-mv {
        min-height: 280px;
        flex: 1 1 100%;
    }

    .metas li {
        flex: 1 1 100%;
    }

    .acciones li {
        flex: 1 1 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .popup-caja {
        padding: 30px 20px 24px;
    }
}

/* ---------- Reconocimiento: medallas oficiales ---------- */
.reconocimiento {
    display: grid;
    grid-template-columns: minmax(280px, 40%) 1fr;
    align-items: center;
    gap: 36px;
    margin-top: 44px;
    padding: 34px 38px;
    border-radius: 20px;
    background: var(--panel);
    border: 1px solid var(--borde);
}

.medallas {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.medalla {
    display: block;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.45));
    animation: medalla-flota 5s ease-in-out infinite;
}

.medalla-centro {
    width: 46%;
    z-index: 2;
}

.medalla-lado {
    width: 36%;
    margin: 0 -7%;
    z-index: 1;
    animation-delay: -2.5s;
}

@keyframes medalla-flota {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.reconocimiento-texto h3 {
    text-align: center;
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--accent);
    font-size: 1.7rem;
    margin-bottom: 14px;
}

.reconocimiento-texto p {
    text-align: justify;
    hyphens: auto;
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.reconocimiento-texto .reconocimiento-destacado {
    text-align: center;
    color: var(--text-primary);
    font-weight: 700;
    margin: 18px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--borde);
}


@media (max-width: 900px) {
    .reconocimiento {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 26px 18px;
    }

    .medallas {
        max-width: 380px;
        margin: 0 auto;
    }
}

/* ---------- Quiénes somos ---------- */
.titulo-medio {
    font-size: clamp(1.5rem, 2.8vw, 1.9rem);
}

.nosotros-intro {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 34%);
    align-items: center;
    gap: 32px;
    margin-bottom: 8px;
}

.nosotros-intro-texto p {
    text-align: justify;
    hyphens: auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.nosotros-intro-texto p:last-child {
    margin-bottom: 0;
}

.nosotros-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 22px 20px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.nosotros-logos img {
    height: 92px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.nosotros-logos a:hover img {
    transform: scale(1.05);
}

.nosotros-logos span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.chips-areas {
    margin: 26px 0 30px;
}

.chips-areas .chip:nth-child(5n+1) { border-color: var(--sidra); background: rgba(201, 106, 90, 0.12); }
.chips-areas .chip:nth-child(5n+2) { border-color: var(--kombucha); background: rgba(63, 158, 140, 0.12); }
.chips-areas .chip:nth-child(5n+3) { border-color: var(--hidromiel); background: rgba(201, 162, 39, 0.12); }
.chips-areas .chip:nth-child(5n+4) { border-color: #6f8fd6; background: rgba(111, 143, 214, 0.12); }
.chips-areas .chip:nth-child(5n+5) { border-color: #a27ac9; background: rgba(162, 122, 201, 0.12); }

/* Fundadores: foto grande + cuatro bloques de color */
.fundador {
    display: grid;
    grid-template-columns: minmax(240px, 30%) 1fr;
    gap: 26px;
    align-items: start;
    margin-top: 26px;
}

.fundador-invertido {
    grid-template-columns: 1fr minmax(240px, 30%);
}

.fundador-invertido .fundador-foto {
    order: 2;
}

.fundador-foto {
    margin: 0;
    position: sticky;
    top: 110px;
    overflow: hidden;
    border-radius: 18px;
    background: var(--bg-tertiary);
    border: 1px solid var(--borde);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.fundador-foto img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.fundador-foto:hover img {
    transform: scale(1.04);
}

.fundador-foto figcaption {
    padding: 16px 16px 18px;
    text-align: center;
    border-top: 3px solid var(--accent);
}

.fundador-foto h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.45rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.fundador-cargo {
    color: var(--accent-light);
    font-weight: 600;
    text-align: center;
}

.fundador-red {
    display: inline-block;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.92rem;
    text-decoration: none;
}

.fundador-red:hover {
    color: var(--accent);
}

.fundador-bloques {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.fundador-bloque {
    padding: 20px 22px;
    border-radius: 14px;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-top: 4px solid var(--color-bloque, var(--accent));
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fundador-bloque:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.fundador-bloque h4 {
    text-align: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    color: var(--color-bloque, var(--accent));
    margin-bottom: 10px;
}

.fundador-bloque p {
    text-align: justify;
    hyphens: auto;
    color: var(--text-secondary);
    font-size: 0.97rem;
    line-height: 1.65;
    margin: 0;
}

.bloque-sidra { --color-bloque: var(--sidra); }
.bloque-hidromiel { --color-bloque: var(--hidromiel); }
.bloque-kombucha { --color-bloque: var(--kombucha); }
.bloque-oro { --color-bloque: #6f8fd6; }

@media (max-width: 900px) {
    .nosotros-intro,
    .fundador,
    .fundador-invertido {
        grid-template-columns: 1fr;
    }

    .fundador-invertido .fundador-foto {
        order: 0;
    }

    .fundador-foto {
        position: static;
        max-width: 360px;
        margin: 0 auto;
    }

    .fundador-bloques {
        grid-template-columns: 1fr;
    }

    .nosotros-logos img {
        height: 70px;
    }
}

/* ============================================================
   MOVIMIENTO: cosas que se mueven solas dentro de la página
   ============================================================ */

/* ---------- Fondo vivo: manchas de color que se desplazan lento ---------- */
.content-section,
.section-dates-hero {
    position: relative;
    overflow: clip;
}

.content-section::before,
.section-dates-hero::before {
    content: '';
    position: absolute;
    inset: -20%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(28% 32% at 20% 25%, rgba(63, 158, 140, 0.13), transparent 70%),
        radial-gradient(26% 30% at 80% 60%, rgba(201, 106, 90, 0.12), transparent 70%),
        radial-gradient(30% 34% at 50% 95%, rgba(201, 162, 39, 0.10), transparent 70%);
    animation: fondo-deriva 26s ease-in-out infinite alternate;
}

.content-section > *,
.section-dates-hero > * {
    position: relative;
    z-index: 1;
}

@keyframes fondo-deriva {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(6%, -4%) rotate(8deg); }
    100% { transform: translate(-5%, 5%) rotate(-6deg); }
}

/* ---------- Burbujas de fermentación ---------- */
.burbujas {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}

.burbujas span {
    position: absolute;
    bottom: -24px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.75), rgba(232, 200, 90, 0.35) 45%, rgba(232, 200, 90, 0.05) 70%);
    border: 1px solid rgba(255, 236, 170, 0.35);
    animation-name: burbuja-sube;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes burbuja-sube {
    0% { transform: translate(0, 0) scale(0.6); opacity: 0; }
    10% { opacity: 0.9; }
    50% { transform: translate(var(--deriva, 20px), -260px) scale(1); }
    90% { opacity: 0.7; }
    100% { transform: translate(calc(var(--deriva, 20px) * -0.5), -540px) scale(1.15); opacity: 0; }
}

.franja-clave > *:not(.burbujas),
.franja-marca > *:not(.burbujas),
.reconocimiento > *:not(.burbujas),
.cta-section > *:not(.burbujas),
.tarjeta-mv > *:not(.burbujas),
.categories-box > *:not(.burbujas) {
    position: relative;
    z-index: 1;
}

.franja-marca,
.cta-section,
.categories-box,
.reconocimiento {
    position: relative;
    overflow: hidden;
}

/* ---------- Borde con luz que gira ---------- */
@property --giro {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.franja-clave::after,
.reconocimiento::after,
.categories-box::after,
.franja-marca::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    padding: 2px;
    background: conic-gradient(from var(--giro), transparent 0deg, transparent 250deg,
        var(--kombucha) 290deg, #e8c85a 320deg, var(--sidra) 350deg, transparent 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    animation: borde-gira 6s linear infinite;
}

.franja-marca {
    border-radius: 16px;
    border: 1px solid var(--borde);
    background: var(--bg-tertiary);
}

@keyframes borde-gira {
    to { --giro: 360deg; }
}

/* ---------- Títulos con un brillo que los recorre ---------- */
.section-title,
.franja-clave-titulo,
.franja-marca-titulo,
.hero-title {
    background-image: linear-gradient(100deg, var(--text-primary) 0%, var(--text-primary) 38%, #f3d67a 47%, #fff6d8 50%, #f3d67a 53%, var(--text-primary) 62%, var(--text-primary) 100%);
    background-size: 260% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titulo-brilla 7s ease-in-out infinite;
}

.franja-clave-titulo,
.franja-marca-titulo {
    background-image: linear-gradient(100deg, #e8c85a 0%, #e8c85a 38%, #fff6d8 50%, #e8c85a 62%, #e8c85a 100%);
}

@keyframes titulo-brilla {
    0% { background-position: 100% 0; }
    55%, 100% { background-position: 0% 0; }
}

/* la raya bajo los títulos corre de color */
.section-title::after {
    background: linear-gradient(90deg, var(--sidra), var(--accent), var(--kombucha), var(--sidra));
    background-size: 300% 100%;
    animation: raya-corre 4s linear infinite;
    width: 90px;
}

@keyframes raya-corre {
    to { background-position: 300% 0; }
}

/* ---------- Fotos vivas: zoom lento y fundido entre fotos ---------- */
.bloque-foto-imagen {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.bloque-foto-imagen img {
    border-radius: 12px;
}

.bloque-foto-imagen img.foto-viva {
    opacity: 0;
    transition: opacity 1.4s ease;
    animation: foto-zoom 16s ease-in-out infinite alternate;
}

.bloque-foto-imagen img.foto-viva:not(:first-child) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.bloque-foto-imagen img.foto-viva.activa {
    opacity: 1;
}

@keyframes foto-zoom {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.12) translate(-2%, -1.5%); }
}

.foto-puntos {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 3;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(10, 25, 47, 0.55);
}

.foto-puntos span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    transition: background 0.3s ease, transform 0.3s ease;
}

.foto-puntos span.activo {
    background: var(--accent);
    transform: scale(1.3);
}

/* fotos de tarjetas y fichas: zoom lento permanente */
.pilar img,
.fundador-foto img {
    animation: foto-zoom 18s ease-in-out infinite alternate;
}

.tarjeta-mv {
    background-size: 118% auto;
    animation: fondo-panea 20s ease-in-out infinite alternate;
}

@keyframes fondo-panea {
    from { background-position: 0% 30%; }
    to { background-position: 100% 70%; }
}

/* ---------- Tarjetas que se inclinan con el mouse ---------- */
.inclinable {
    transition: transform 0.18s ease-out, box-shadow 0.25s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.inclinable:hover {
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45);
}

/* ---------- Portada: logo que flota y categorías que se encienden por turno ---------- */
.hero-logo {
    animation: logo-flota 6s ease-in-out infinite;
}

@keyframes logo-flota {
    0%, 100% { transform: translateY(0); filter: drop-shadow(0 0 0 rgba(232, 200, 90, 0)); }
    50% { transform: translateY(-10px); filter: drop-shadow(0 10px 24px rgba(232, 200, 90, 0.35)); }
}

.category-item {
    animation: categoria-enciende 6s ease-in-out infinite;
}

.category-item:nth-child(2) { animation-delay: 2s; }
.category-item:nth-child(3) { animation-delay: 4s; }

@keyframes categoria-enciende {
    0%, 40%, 100% { transform: scale(1); box-shadow: none; }
    15% { transform: scale(1.08); box-shadow: 0 0 26px rgba(232, 200, 90, 0.45); }
}

/* ---------- Fechas: el punto de cada fecha late ---------- */
.timeline-item {
    position: relative;
    overflow: hidden;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 14px;
    right: 14px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    animation: punto-late 2.4s ease-out infinite;
}

.timeline-item:nth-child(3n+2)::before { background: var(--kombucha); animation-delay: 0.8s; }
.timeline-item:nth-child(3n)::before { background: var(--sidra); animation-delay: 1.6s; }

@keyframes punto-late {
    0% { box-shadow: 0 0 0 0 rgba(232, 200, 90, 0.6); }
    100% { box-shadow: 0 0 0 16px rgba(232, 200, 90, 0); }
}

/* ---------- Botones con reflejo que pasa ---------- */
.btn-primary,
.cta-button,
.nav-cta {
    position: relative;
    overflow: hidden;
}

.btn-primary::after,
.cta-button::after,
.nav-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    animation: boton-reflejo 4.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes boton-reflejo {
    0%, 60% { left: -60%; }
    100% { left: 130%; }
}

/* ---------- Cinta que corre sin parar ---------- */
.cinta {
    position: relative;
    overflow: hidden;
    padding: 16px 0;
    background: linear-gradient(90deg, #0d2140, #132c52, #0d2140);
    border-top: 1px solid var(--borde);
    border-bottom: 1px solid var(--borde);
    -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.cinta-pista {
    display: flex;
    width: max-content;
    animation: cinta-corre 38s linear infinite;
}

.cinta:hover .cinta-pista {
    animation-play-state: paused;
}

.cinta-grupo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.cinta-grupo span {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    color: var(--text-primary);
    white-space: nowrap;
    padding: 0 22px;
}

.cinta-grupo span::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 44px;
    border-radius: 50%;
    vertical-align: middle;
    background: var(--accent);
}

.cinta-grupo span:nth-child(3n+2)::after { background: var(--kombucha); }
.cinta-grupo span:nth-child(3n)::after { background: var(--sidra); }

@keyframes cinta-corre {
    to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .cinta-grupo span {
        font-size: 1rem;
        padding: 0 14px;
    }

    .cinta-grupo span::after {
        margin-left: 28px;
    }
}

/* ---------- Partners: logos grandes y poco relleno ---------- */
#partners .intro-box {
    margin-bottom: 22px;
}

#partners .partners-grid {
    gap: 16px;
    margin-top: 0;
}

#partners .partners-grid > * {
    flex: 1 1 320px;
    max-width: 380px;
}

#partners .partner-item {
    padding: 14px 14px 16px;
}

#partners .partner-enlace {
    width: 100%;
}

#partners .partner-item .partner-logo-container {
    width: 100%;
    height: 210px;
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
}

#partners .partner-item img {
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

#partners .partner-item:hover img {
    transform: scale(1.06);
}

#partners .partner-item h4 {
    min-height: 0;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

#partners .partner-item p {
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    #partners .partner-item .partner-logo-container {
        height: 170px;
    }
}

/* ---------- Centros de recepción: lo que sobra queda centrado ---------- */
.centros-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 10px;
}
/* Trayectoria (punto 35): recuadro de presentación y título de la edición 2026 */
.trayectoria-intro {
    margin: 0 auto 34px; padding: 22px 30px; border-radius: 16px; text-align: center;
    background: linear-gradient(135deg, rgba(17, 34, 64, .95), rgba(17, 34, 64, .55));
    border: 1px solid rgba(201, 162, 39, .35); border-top: 4px solid var(--accent);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.trayectoria-intro p { color: var(--text-secondary); line-height: 1.75; margin: 0 0 10px; text-align: justify; text-align-last: center; }
.trayectoria-intro .trayectoria-intro-lema { color: var(--accent-light); font-weight: 700; margin: 12px 0 0; text-align: center; }
.trayectoria-edicion { text-align: center; margin: 0 0 22px; }

/* Galería de Ediciones: todas las fotos son 3:4 verticales → el marco tiene ese formato y se ven al 100%,
   sin recorte ni zoom. El ancho se ajusta para que la foto entera quepa en la pantalla */
/* marco CUADRADO (Carlos): la foto vertical entera al centro, a los lados un fondo difuminado de la misma foto
   y bordes dorados finos que la enmarcan */
.carrusel {
    width: min(62.5%, 74vh) !important;
    border: 1px solid rgba(201, 162, 39, .45) !important; border-radius: 18px !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 0 6px rgba(201, 162, 39, .08);
    background: radial-gradient(120% 90% at 50% 0%, rgba(201, 162, 39, .18), transparent 60%), #0a192f !important;
}
.carrusel-marco { aspect-ratio: 1 / 1 !important; }
.carrusel-foto img { animation: none !important; transform: none !important; }
.carrusel-foto img:not(.carrusel-fondo) {
    position: relative; z-index: 1; width: auto !important; height: 100% !important; aspect-ratio: 3 / 4;
    margin: 0 auto; object-fit: contain !important;
    border-left: 2px solid rgba(232, 200, 90, .55); border-right: 2px solid rgba(232, 200, 90, .55);
    box-shadow: 0 0 40px rgba(0, 0, 0, .55);
}
.carrusel-foto img.carrusel-fondo {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    filter: blur(22px) brightness(.45) saturate(1.2); transform: scale(1.15) !important;
}
@media (max-width: 900px) { .carrusel { width: min(100%, 74vh) !important; } }

/* =========================================================
   Programa (La Competencia): línea de tiempo vertical, compacta
   ========================================================= */
.programa-intro, .programa-ceremonia {
    margin: 0 auto 30px; padding: 22px 30px; border-radius: 16px; text-align: center;
    background: linear-gradient(135deg, rgba(17, 34, 64, .95), rgba(17, 34, 64, .55));
    border: 1px solid rgba(201, 162, 39, .35); border-top: 4px solid var(--accent);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.programa-intro h3 { color: var(--accent); margin: 0 0 8px; text-align: center; }
.programa-intro p, .programa-ceremonia p { color: var(--text-secondary); line-height: 1.7; margin: 0 0 8px; text-align: center; }
.programa-intro .programa-nota { color: var(--accent-light); font-weight: 700; margin: 6px 0 0; }
.programa-ceremonia { margin-top: 30px; }
.programa-ceremonia p { text-align: justify; text-align-last: center; }
/* línea de tiempo en tarjetas: dos columnas en zigzag (escritorio), una columna en celular.
   Movimiento continuo: luz que baja por la línea, medallones que laten en ola, brillo en la ceremonia
   y el próximo hito (js/programa.js) con un resplandor que late. */
.programa-linea {
    --pl-gap: 112px;
    list-style: none; margin: 0 auto; padding: 0; position: relative;
    display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--pl-gap); row-gap: 26px;
}
.programa-linea::before {
    content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px;
    background: linear-gradient(180deg, rgba(201, 162, 39, .15), var(--accent) 12%, var(--accent) 88%, rgba(201, 162, 39, .15));
}
/* luz que recorre la línea hacia abajo */
.programa-linea::after {
    content: ''; position: absolute; left: 50%; top: 0; width: 6px; height: 140px; margin-left: -3px; border-radius: 6px;
    background: linear-gradient(180deg, transparent, #fff3c4, transparent);
    filter: blur(1px); box-shadow: 0 0 18px 4px rgba(232, 212, 139, .55);
    animation: programa-luz 5s linear infinite; pointer-events: none;
}
@keyframes programa-luz { 0% { top: -140px; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

.programa-hito { position: relative; --pc: var(--hidromiel); --pc-halo: rgba(201, 162, 39, .55); }
.programa-hito.programa-kombucha { --pc: var(--kombucha); --pc-halo: rgba(63, 158, 140, .55); }
.programa-hito.programa-sidra { --pc: var(--sidra); --pc-halo: rgba(201, 106, 90, .55); }
.programa-hito.programa-final { --pc: #f3d67a; --pc-halo: rgba(243, 214, 122, .6); }
.programa-hito:nth-child(odd) { grid-column: 1; }
.programa-hito:nth-child(even) { grid-column: 2; margin-top: 110px; margin-bottom: -110px; }
.programa-hito:nth-child(even):last-child { margin-bottom: 0; }

.programa-num {
    position: absolute; top: 34px; z-index: 2;
    width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
    font: 700 1.2rem 'Playfair Display', serif; color: #0a192f;
    background: linear-gradient(135deg, #f3d67a, #c9a227);
    box-shadow: 0 0 0 6px var(--bg-primary), 0 8px 20px rgba(0, 0, 0, .4);
    animation: programa-late 4.8s ease-in-out infinite;
}
.programa-hito:nth-child(odd) .programa-num { right: calc(var(--pl-gap) / -2 - 32px); }
.programa-hito:nth-child(even) .programa-num { left: calc(var(--pl-gap) / -2 - 32px); }
.programa-hito:nth-child(2) .programa-num { animation-delay: .8s; }
.programa-hito:nth-child(3) .programa-num { animation-delay: 1.6s; }
.programa-hito:nth-child(4) .programa-num { animation-delay: 2.4s; }
.programa-hito:nth-child(5) .programa-num { animation-delay: 3.2s; }
.programa-hito:nth-child(6) .programa-num { animation-delay: 4s; }
@keyframes programa-late {
    0%, 30%, 100% { box-shadow: 0 0 0 6px var(--bg-primary), 0 0 0 6px var(--pc-halo), 0 8px 20px rgba(0, 0, 0, .4); transform: scale(1); }
    15% { box-shadow: 0 0 0 6px var(--bg-primary), 0 0 0 22px rgba(0, 0, 0, 0), 0 8px 20px rgba(0, 0, 0, .4); transform: scale(1.1); }
}

/* conector entre la tarjeta y la línea */
.programa-hito::before {
    content: ''; position: absolute; top: 65px; height: 2px; width: calc(var(--pl-gap) / 2 - 32px);
    background: linear-gradient(90deg, rgba(201, 162, 39, .25), var(--pc));
}
.programa-hito:nth-child(odd)::before { right: calc(var(--pl-gap) / -2 + 32px); transform: scaleX(-1); }
.programa-hito:nth-child(even)::before { left: calc(var(--pl-gap) / -2 + 32px); transform: scaleX(-1); }

.programa-tarjeta {
    position: relative; overflow: hidden; height: 100%; box-sizing: border-box;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 24px 26px 26px; border-radius: 18px;
    background: linear-gradient(160deg, rgba(201, 162, 39, .10) 0%, rgba(17, 34, 64, .9) 55%);
    border: 1px solid rgba(201, 162, 39, .28); border-top: 4px solid var(--pc);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
    transition: transform .3s ease, box-shadow .3s ease;
}
.programa-tarjeta:hover { transform: translateY(-5px); box-shadow: 0 26px 50px rgba(0, 0, 0, .45), 0 0 0 1px var(--pc); }


.programa-fecha {
    margin: 2px 0 8px; padding: 5px 14px; border-radius: 30px;
    color: var(--pc); border: 1px solid var(--pc); background: rgba(0, 0, 0, .18);
    font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem;
}
.programa-hito h4 { margin: 0 0 6px; color: var(--text-primary, #fff); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .03em; }
.programa-desc { margin: 0; color: var(--text-secondary); line-height: 1.6; }
.programa-btn { margin-top: 14px; padding: 9px 20px !important; font-size: .82rem !important; }

/* ceremonia: brillo que cruza la tarjeta */
.programa-hito.programa-final .programa-tarjeta { border-color: rgba(243, 214, 122, .45); border-top-color: var(--pc); }
.programa-hito.programa-final .programa-tarjeta::after {
    content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255, 243, 196, .16), transparent);
    transform: skewX(-20deg); animation: programa-brillo 4.5s ease-in-out infinite;
}
@keyframes programa-brillo { 0%, 50% { left: -60%; } 100% { left: 130%; } }

/* próximo hito (js/programa.js): resplandor que late */
.programa-proximo .programa-tarjeta { animation: programa-resalta 2.4s ease-in-out infinite; }
@keyframes programa-resalta {
    0%, 100% { box-shadow: 0 18px 40px rgba(0, 0, 0, .35), 0 0 0 1px var(--pc), 0 0 0 0 var(--pc-halo); }
    50% { box-shadow: 0 18px 40px rgba(0, 0, 0, .35), 0 0 0 1px var(--pc), 0 0 26px 4px var(--pc-halo); }
}
.programa-pasado .programa-tarjeta { opacity: .72; }

@media (max-width: 900px) {
    .programa-linea { grid-template-columns: 1fr; row-gap: 20px; }
    .programa-linea::before, .programa-linea::after { left: 32px; }
    .programa-hito:nth-child(odd), .programa-hito:nth-child(even) { grid-column: 1; margin: 0; padding-left: 84px; }
    .programa-hito:nth-child(odd) .programa-num, .programa-hito:nth-child(even) .programa-num { left: 0; right: auto; top: 24px; }
    .programa-hito:nth-child(odd)::before, .programa-hito:nth-child(even)::before { left: 64px; right: auto; top: 55px; width: 20px; transform: none; }
}
@media (max-width: 600px) {
    .programa-linea::before, .programa-linea::after { left: 24px; }
    .programa-hito:nth-child(odd), .programa-hito:nth-child(even) { padding-left: 62px; }
    .programa-num { width: 48px; height: 48px; font-size: 1rem; }
    .programa-hito:nth-child(odd)::before, .programa-hito:nth-child(even)::before { left: 48px; top: 47px; width: 14px; }
    .programa-tarjeta { padding: 20px 16px 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .programa-linea::after, .programa-num, .programa-proximo .programa-tarjeta,
    .programa-hito.programa-final .programa-tarjeta::after { animation: none !important; }
}
/* fin programa */

/* Trayectoria 2026: fechas y botones (puntos 39/40) */
.trayectoria-texto .trayectoria-fechas { color: var(--text-secondary); }
.trayectoria-botones { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 26px 0 40px; }
.trayectoria-bloque { align-items: center; }

/* Visor de ganadores EFM 2026 */
.modal-ganadores {
    position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center;
    padding: 3vh 3vw; background: rgba(4, 10, 22, .9); backdrop-filter: blur(4px);
}
.modal-ganadores.abierto { display: flex; animation: ganadores-entra .3s ease; }
@keyframes ganadores-entra { from { opacity: 0; } to { opacity: 1; } }
.ganadores-caja { position: relative; width: min(1200px, 94vw); }
.ganadores-img {
    display: block; width: 100%; height: auto; max-height: 82vh; object-fit: contain; border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .6); border: 1px solid rgba(201, 162, 39, .35);
    opacity: 0; transition: opacity .25s ease;
}
.ganadores-img.visible { opacity: 1; }
.ganadores-anterior, .ganadores-siguiente, .ganadores-cerrar {
    position: absolute; border: none; cursor: pointer; border-radius: 50%; color: #0a192f;
    background: linear-gradient(135deg, #f3d67a, #c9a227); box-shadow: 0 8px 20px rgba(0, 0, 0, .45);
    transition: transform .2s ease;
}
.ganadores-anterior, .ganadores-siguiente { top: 50%; width: 52px; height: 52px; margin-top: -26px; font-size: 2rem; line-height: 1; }
.ganadores-anterior { left: -20px; }
.ganadores-siguiente { right: -20px; }
.ganadores-cerrar { top: -16px; right: -16px; width: 42px; height: 42px; font-size: 1.6rem; line-height: 1; }
.ganadores-anterior:hover, .ganadores-siguiente:hover, .ganadores-cerrar:hover { transform: scale(1.1); }
.ganadores-contador { text-align: center; color: var(--accent-light); font-weight: 700; margin-top: 12px; letter-spacing: .08em; }
@media (max-width: 700px) {
    .ganadores-anterior { left: 4px; } .ganadores-siguiente { right: 4px; }
    .ganadores-anterior, .ganadores-siguiente { width: 40px; height: 40px; margin-top: -20px; font-size: 1.5rem; }
    .ganadores-cerrar { top: -48px; right: 0; }
}

/* Edición 2027 (punto 37): imagen a la izquierda, texto a la derecha */
.edicion-2027 { display: grid; grid-template-columns: 460px 1fr; gap: 34px; align-items: center; }
.edicion-2027-img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); border: 1px solid rgba(201, 162, 39, .3); }
.edicion-2027 .intro-box { margin: 0 !important; }
@media (max-width: 800px) {
    .edicion-2027 { grid-template-columns: 1fr; }
    .edicion-2027-img { max-width: 460px; margin: 0 auto; }
}

/* Filosofía del jurado (punto 34) */
.jurado-sub { color: var(--accent-light); font-weight: 700; font-size: 1.15rem; text-align: center !important; margin-bottom: 10px; }

/* Quiénes lo dirigen (punto 32) */
/* va al final de las biografías, como cierre en recuadro */
.dirigen-cierre {
    margin: 36px auto 0; padding: 22px 30px; text-align: center; border-radius: 16px;
    background: linear-gradient(135deg, rgba(17, 34, 64, .95), rgba(17, 34, 64, .55));
    border: 1px solid rgba(201, 162, 39, .35); border-top: 4px solid var(--accent);
}
.dirigen-cierre .dirigen-subtitulo { color: var(--accent-light); font-weight: 700; font-size: 1.15rem; margin: 0 0 8px; text-align: center; }
.dirigen-texto { color: var(--text-secondary); line-height: 1.75; margin: 0; text-align: center; }

/* Antes de enviar tus muestras (punto 30): mismo recuadro que la intro */
.envio-intro.antes-de-enviar { margin-top: 0; margin-bottom: 20px; }
.envio-intro.antes-de-enviar h3 { text-align: center; color: var(--accent); font-size: 1.35rem; margin-bottom: 12px; }
.envio-intro.antes-de-enviar p { margin-bottom: 0; text-align: justify; text-align-last: center; }

/* Otros centros de recepción (punto 29) */
.otros-centros { margin-bottom: 40px; text-align: center; }
.otros-centros h3 { text-align: center; }
.otros-centros p { color: var(--text-secondary); line-height: 1.75; margin-bottom: 12px; text-align: justify; text-align-last: center; }
.otros-centros .otros-centros-sub { color: var(--accent-light); font-weight: 600; text-align: center; margin-bottom: 18px; }
.otros-centros h4 { color: var(--accent); font-size: 1.2rem; margin: 22px 0 16px; text-align: center; }
.otros-centros .otros-centros-destacado { color: var(--text-primary, #fff); font-weight: 700; margin-top: 18px; }
.paises-red { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 26px; margin: 0 0 22px; padding: 0; }
.paises-red li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 700; color: var(--text-primary, #fff); }
.paises-red img { width: 72px; height: 48px; object-fit: cover; border-radius: 8px; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); animation: bandera-ondea 4s ease-in-out infinite; }
.paises-red li:nth-child(2n) img { animation-delay: -1.3s; }
.paises-red li:nth-child(3n) img { animation-delay: -2.6s; }
@keyframes bandera-ondea { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(-3deg); } }
.otros-centros-botones { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 18px; }

/* los dos centros oficiales, uno al lado del otro y del mismo ancho */
.centros-grid > .centro { flex: 1 1 0; min-width: 280px; max-width: none; }

.centro {
    flex: 1 1 240px;
    max-width: 290px;
    padding: 22px 18px;
    text-align: center;
    border-radius: 14px;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 4px solid var(--kombucha);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.centro:nth-child(2) { border-top-color: var(--sidra); }
.centro:nth-child(3) { border-top-color: var(--hidromiel); }

.centro-pendiente {
    border-style: dashed;
    border-top-style: solid;
    border-top-color: #6f8fd6;
}

.centro h5 {
    color: var(--text-primary) !important;
}

/* ---------- Copas en los títulos de las guías ---------- */
.copa-guia {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    vertical-align: middle;
    margin-right: 8px;
    border: 2px solid var(--borde);
    animation: copa-gira 8s ease-in-out infinite;
}

@keyframes copa-gira {
    0%, 100% { transform: rotate(-6deg) scale(1); }
    50% { transform: rotate(6deg) scale(1.08); }
}

/* ---------- Cajas destacadas: sin barra dorada lateral, panel con luz de color ---------- */
.intro-box,
.highlight-box {
    position: relative;
    overflow: hidden;
    border-left: none !important;
    border: 1px solid var(--borde) !important;
    border-radius: 16px !important;
    background:
        radial-gradient(90% 120% at 0% 0%, rgba(63, 158, 140, 0.16) 0%, transparent 55%),
        radial-gradient(90% 120% at 100% 100%, rgba(201, 106, 90, 0.14) 0%, transparent 55%),
        var(--bg-tertiary) !important;
}

.intro-box::before,
.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sidra), var(--accent), var(--kombucha), var(--sidra));
    background-size: 300% 100%;
    animation: raya-corre 5s linear infinite;
}

.intro-box p,
.highlight-box > p {
    text-align: justify;
    hyphens: auto;
}

/* Regla: texto corto centrado (lo marca efm.js) */
.texto-corto {
    text-align: center !important;
    text-align-last: center;
}

/* ============================================================
   REGLA DE CARLOS: ANCHO COMPLETO, POCO AIRE, LETRA LEGIBLE
   (todo lo de abajo manda sobre lo anterior)
   ============================================================ */

/* ---------- Contenido a todo el ancho de la pantalla ---------- */
.content-section {
    padding: 96px 2% 34px;
}

.container {
    width: 96%;
    max-width: none;
}

.section-header {
    margin-bottom: 22px;
}

.section-subtitle,
.hero-subtitle,
.envio-intro,
.franja-clave p,
.cta-subtitle,
.cita-final,
.registration-forms-instructions,
.tarjeta-mv p,
.fees-table,
.timeline,
.cta-info-grid {
    max-width: none !important;
}

/* anchos máximos que venían escritos dentro del HTML */
.content-section p[style*="max-width"],
.content-section ul[style*="max-width"],
.content-section div[style*="max-width"]:not(.modal-container) {
    max-width: none !important;
}

/* ---------- Letra chica escrita dentro del HTML: mínimo 1rem ---------- */
.content-section [style*="font-size: 14px"],
.content-section [style*="font-size: 13px"],
.content-section [style*="font-size: 12px"],
.content-section [style*="font-size: 0.85rem"],
.content-section [style*="font-size: 0.9rem"] {
    font-size: 1rem !important;
}

:where(.content-section) :where(p, li) {
    font-size: max(1rem, 1em);
}

/* ---------- Grillas que llenan la fila (efm.js pone --cols según cuántas tarjetas hay) ---------- */
.grilla-llena {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px !important;
}

.grilla-llena > * {
    flex: 0 1 calc((100% - (var(--cols, 3) - 1) * 18px) / var(--cols, 3)) !important;
    max-width: none !important;
    min-width: 0;
}

@media (max-width: 1100px) {
    .grilla-llena[data-cols="4"] > * {
        flex-basis: calc((100% - 18px) / 2) !important;
    }
}

@media (max-width: 900px) {
    .grilla-llena > * {
        flex-basis: calc((100% - 18px) / 2) !important;
    }
}

@media (max-width: 600px) {
    .grilla-llena > * {
        flex-basis: 100% !important;
    }
}

/* tarjetas de texto: menos relleno, texto más grande */
.cards-grid > *,
.benefits-grid > * {
    padding: 22px 24px !important;
}

.cards-grid h3,
.cards-grid h4,
.benefits-grid h3,
.benefits-grid h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.cards-grid p,
.benefits-grid p {
    font-size: 1.05rem !important;
    line-height: 1.6;
}

/* ---------- Listas: sin guiones sueltos a la izquierda, como fichas centradas ---------- */
.lista-simple,
.lista-dos-columnas {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    columns: auto !important;
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.lista-simple li {
    padding: 10px 20px !important;
    margin: 0 !important;
    border-radius: 999px;
    border: 1px solid var(--borde);
    background: rgba(201, 162, 39, 0.1);
    color: var(--text-primary);
    font-weight: 600;
    text-align: center;
    transition: transform 0.25s ease, background 0.25s ease;
}

.lista-simple li:nth-child(3n+2) { border-color: var(--kombucha); background: rgba(63, 158, 140, 0.12); }
.lista-simple li:nth-child(3n) { border-color: var(--sidra); background: rgba(201, 106, 90, 0.12); }

.lista-simple li:hover {
    transform: translateY(-3px);
}

.lista-simple li::before {
    display: none !important;
}

/* ---------- Banderas grandes ---------- */
.bandera-grande {
    display: block;
    width: 150px;
    height: 100px;
    margin: 0 auto 16px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

a:hover .bandera-grande,
.centro:hover .bandera-grande {
    transform: scale(1.06) rotate(-2deg);
}

.bandera-chica {
    width: 84px !important;
    height: 56px !important;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* ---------- Bases: descargas ---------- */
.descargas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-bottom: 34px;
}

.descarga {
    flex: 1 1 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 26px 20px 24px;
    border-radius: 16px;
    text-decoration: none;
    background: var(--bg-tertiary);
    border: 1px solid var(--borde);
    border-top: 4px solid var(--accent);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.descarga:nth-child(2) { border-top-color: var(--kombucha); }
.descarga:nth-child(3) { border-top-color: var(--sidra); }

.descarga:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.descarga h4 {
    color: var(--text-primary);
    font-size: 1.35rem;
    margin-bottom: 14px;
    text-align: center;
}

.descarga-boton {
    display: inline-block;
    padding: 12px 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, #e8c85a, var(--accent));
    color: var(--bg-primary);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bloque-separado {
    margin-top: 10px;
}

/* ---------- Bases: aviso ---------- */
.aviso-guias {
    margin-bottom: 22px;
    padding: 22px 28px;
    border-radius: 16px;
    text-align: center;
    background: linear-gradient(135deg, rgba(201, 106, 90, 0.22), rgba(201, 106, 90, 0.06));
    border: 1px solid rgba(255, 110, 90, 0.55);
}

.aviso-guias h4 {
    color: #ff8a78;
    font-size: 1.45rem;
    margin-bottom: 8px;
    text-align: center;
}

.aviso-guias p {
    color: var(--text-primary);
    font-size: 1.08rem;
    line-height: 1.7;
    text-align: justify;
}

.aviso-guias .aviso-guias-cierre {
    margin-top: 10px;
    text-align: center;
    color: #ff8a78;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.aviso-guias.reconocimientos { margin-top: 18px; border-color: rgba(232, 200, 90, .35); }
.aviso-guias.reconocimientos h4 { margin-top: 14px; color: var(--accent-light, #e8c85a); }
.aviso-guias .aviso-guias-lema {
    margin-top: 4px;
    text-align: center !important;
    color: var(--accent-light, #e8c85a);
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* ---------- Bases: guías en tres tarjetas con botones ---------- */
.guias {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.guia {
    flex: 1 1 340px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 18px;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-top: 5px solid var(--color-guia);
}

.guia-sidra { --color-guia: var(--sidra); }
.guia-hidromiel { --color-guia: var(--hidromiel); }
.guia-kombucha { --color-guia: var(--kombucha); }

.guia-foto {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
    display: block;
    animation: foto-zoom 18s ease-in-out infinite alternate;
}

.guia-cuerpo {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.guia-cuerpo h4 {
    text-align: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.7rem;
    color: var(--color-guia);
    margin-bottom: 8px;
}

.guia-cuerpo > p {
    text-align: justify;
    hyphens: auto;
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.65;
    margin-bottom: 16px;
}

.guia-botones {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.boton-guia {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--color-guia);
    color: var(--text-primary);
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.boton-guia:hover {
    background: var(--color-guia);
    color: #0a192f;
    transform: translateX(4px);
}

.boton-guia img {
    width: 42px;
    height: 28px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.boton-guia-texto {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    line-height: 1.3;
}

.boton-guia-texto strong {
    font-size: 1.05rem;
}

.boton-guia-texto span {
    font-size: 0.92rem;
    opacity: 0.8;
}

.boton-guia svg {
    flex-shrink: 0;
}

/* main ya deja el espacio del menú fijo (90 px): las secciones no suman otro hueco */
.content-section {
    padding-top: 26px;
}

.section {
    min-height: 0;
}

@media (max-width: 768px) {
    .content-section {
        padding: 20px 3% 28px;
    }
}

/* Tarjetas de descarga de Envío: mismo estilo que las de Bases */
.download-card {
    border: 1px solid var(--borde) !important;
    border-top: 4px solid var(--accent) !important;
    border-radius: 16px !important;
    padding: 24px 20px !important;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.download-card h4 {
    color: var(--text-primary) !important;
    font-size: 1.3rem !important;
}

.download-card > span:last-child {
    border-radius: 999px !important;
    padding: 12px 34px !important;
    background: linear-gradient(135deg, #e8c85a, var(--accent)) !important;
    font-weight: 800 !important;
}

/* Sin puntos indicadores en fotos ni carruseles; fundido rápido */
.carrusel-puntos,
.foto-puntos {
    display: none !important;
}

.bloque-foto-imagen img.foto-viva {
    transition: opacity 0.6s ease;
}

/* Texto largo: justificado con la última línea centrada (lo marca efm.js) */
.texto-largo {
    text-align: justify !important;
    text-align-last: center;
    hyphens: auto;
}

/* ============================================================
   PORTADA COMPACTA: logo a la izquierda y todo lo demás a su lado,
   sin ocupar la pantalla entera
   ============================================================ */
header {
    padding: 8px 3%;
}

.logo {
    height: 54px;
}

main {
    padding-top: 70px;
}

#inicio {
    min-height: 0 !important;
    padding: 34px 3% 34px !important;
}

.hero-content {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 250px 1fr;
    column-gap: 44px;
    align-items: center;
}

.hero-logo {
    grid-row: 1 / 6;
    width: 100%;
    margin: 0;
}

.hero-tagline {
    font-size: 14px;
    letter-spacing: 4px;
    margin-bottom: 4px;
}

.hero-title {
    font-size: clamp(32px, 3.4vw, 50px);
    margin-bottom: 6px;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin: 0 auto 16px;
}

.categories-box {
    margin: 0 0 16px;
    padding: 14px 20px 16px;
}

.categories-title {
    font-size: 14px;
    margin-bottom: 10px;
}

.category-item {
    padding: 11px 0 !important;
}

.category-item span {
    font-size: 17px;
}

.btn-primary,
.btn-secondary {
    padding: 12px 32px;
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-logo {
        grid-row: auto;
        width: 170px;
        margin: 0 auto 10px;
    }

    #inicio {
        padding: 22px 4% 26px !important;
    }
}

/* Bloques del inicio más juntos */
.section-dates-hero {
    padding: 30px 2% 34px;
}

.bloque-foto {
    gap: 34px;
    margin: 0 0 30px;
}

@media (max-width: 768px) {
    .section-dates-hero {
        padding: 22px 4% 26px;
    }
}

/* Fotos de los bloques más apaisadas: menos alto vacío junto al texto */
.bloque-foto-imagen img {
    aspect-ratio: 16 / 10;
}

/* Portada: 40% logo, 60% texto, con más aire */
@media (min-width: 901px) {
    #inicio {
        padding: 48px 3% 48px !important;
    }

    .hero-content {
        grid-template-columns: 40% 1fr;
        column-gap: 3%;
        max-width: none;
    }

    .hero-logo {
        width: 100%;
        max-width: 470px;
        justify-self: center;
    }

    .hero-tagline {
        margin-bottom: 10px;
    }

    .hero-title {
        font-size: clamp(36px, 3.8vw, 58px);
        margin-bottom: 12px;
    }

    .hero-subtitle {
        margin-bottom: 24px;
    }

    .categories-box {
        margin-bottom: 24px;
        padding: 18px 24px 20px;
    }
}

@media (min-width: 901px) {
    .categories-grid {
        flex-wrap: nowrap;
        gap: 14px;
    }

    .categories-grid .category-item {
        flex: 1 1 0;
        width: auto !important;
        min-width: 0;
        max-width: none !important;
    }
}

/* Botones de la portada: Inscríbete ahora en el mismo verde del menú; Bases y guías en amarillo */
.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #2d8a3e 0%, #3da550 100%);
    color: #fff;
    border: none;
    box-shadow: 0 8px 22px rgba(45, 138, 62, 0.35);
}

.hero-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #3da550 0%, #4db560 100%);
    box-shadow: 0 10px 30px rgba(61, 165, 80, 0.45);
}

.hero-buttons .btn-secondary {
    background: linear-gradient(135deg, #e8c85a 0%, var(--accent) 100%);
    color: var(--bg-primary);
    border: none;
}

.hero-buttons .btn-secondary:hover {
    background: linear-gradient(135deg, #f3d67a 0%, #e8c85a 100%);
    color: var(--bg-primary);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.4);
}

/* Fotos de las guías (bebidas): formato menos apaisado para que se vea la bebida completa */
/* Fotos de las guías ENTERAS: sin recorte ni zoom, sobre un fondo difuminado de la misma foto */
.guia-foto-marco { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0a192f; }
.guia-foto-marco .guia-foto-fondo {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    filter: blur(18px) brightness(.55); transform: scale(1.15);
}
.guia-foto-marco .guia-foto {
    position: relative; width: 100%; height: 100%; aspect-ratio: auto;
    object-fit: contain; animation: none !important; transform: none !important;
}

/* Portada: un poco más de aire (término medio entre pantalla completa y compacta) */
@media (min-width: 901px) {
    #inicio {
        padding: 80px 3% 80px !important;
    }

    .hero-tagline {
        margin-bottom: 14px;
    }

    .hero-title {
        margin-bottom: 16px;
    }

    .hero-subtitle {
        margin-bottom: 30px;
    }

    .categories-box {
        margin-bottom: 30px;
    }
}

@media (max-width: 900px) {
    #inicio {
        padding: 36px 4% 40px !important;
    }
}

/* Sin apariciones: el contenido se muestra de inmediato, sin fundidos ni desplazamientos */
.section,
.section.active {
    animation: none !important;
}

/* Logos de Quiénes somos: directo sobre el fondo del sitio, sin caja blanca */
.nosotros-logos {
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    gap: 28px;
}

.nosotros-logos img {
    height: 120px;
}


/* Quiénes somos: todo en un solo eje centrado (logos grandes arriba, texto, fichas) */
.nosotros-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    margin-bottom: 4px;
}

.nosotros-logos {
    order: -1;
    gap: 40px;
}

.nosotros-logos img {
    height: 190px;
}

.nosotros-logos span {
    font-size: 2.6rem;
}

.nosotros-intro-texto {
    width: 100%;
}

.nosotros-intro-texto p {
    text-align: center !important;
    text-align-last: center;
    font-size: 1.15rem;
}

.chips-areas {
    margin: 18px 0 30px;
}

@media (max-width: 768px) {
    .nosotros-logos {
        gap: 18px;
    }

    .nosotros-logos img {
        height: 110px;
    }
}

/* REGLA: los botones siempre centrados. Un botón suelto dentro de un bloque se centra solo;
   los grupos de botones van en filas centradas */
:is(.content-section, .section-dates-hero, .cta-section) :is(.btn-primary, .btn-secondary, .btn-dark, .cta-btn, .tarjeta-mv-boton):only-of-type {
    display: table;
    margin-left: auto !important;
    margin-right: auto !important;
}

.hero-buttons,
.cta-buttons {
    justify-content: center !important;
    text-align: center;
}

/* Galería: carrusel a la mitad del ancho, centrado */
.carrusel {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .carrusel {
        width: 100%;
    }
}

/* Trayectoria: video al 50% del ancho, texto al lado ocupando el resto */
@media (min-width: 901px) {
    .trayectoria-bloque {
        grid-template-columns: 1fr 50% !important;
        align-items: center;
        gap: 3% !important;
    }
}

/* Galería: sin ampliar fotos, solo avanzar y retroceder */
.carrusel-foto {
    cursor: default;
}

/* Video y galería un 25% más grandes (del 50% al 62,5% del ancho) */
.carrusel {
    width: 62.5%;
}

@media (min-width: 901px) {
    .trayectoria-bloque {
        grid-template-columns: 1fr 62.5% !important;
    }
}

@media (max-width: 900px) {
    .carrusel {
        width: 100%;
    }
}

/* ============================================================
   Ventanas de misión y visión: logo a la izquierda, texto a la derecha
   ============================================================ */
.popup-caja.popup-mision,
.popup-caja.popup-vision {
    max-width: 1080px !important;
    width: 94%;
    padding: 0 !important;
    overflow: hidden;
    border: none;
    border-radius: 22px;
    background: var(--bg-tertiary);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--borde);
    animation: popup-entra 0.45s cubic-bezier(.2, .8, .2, 1);
}

.popup-mision { --color-popup: #e8c85a; --color-popup-2: var(--sidra); }
.popup-vision { --color-popup: var(--kombucha); --color-popup-2: #6f8fd6; }

@keyframes popup-entra {
    from { opacity: 0; transform: translateY(24px) scale(0.96); }
    to { opacity: 1; transform: none; }
}

.popup-grid {
    display: grid;
    grid-template-columns: 34% 1fr;
    min-height: 420px;
}

.popup-logo {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 28px;
    background:
        radial-gradient(80% 70% at 50% 40%, color-mix(in srgb, var(--color-popup) 32%, transparent), transparent 70%),
        linear-gradient(160deg, #0d2244 0%, #081528 100%);
    border-right: 1px solid var(--borde);
}

.popup-logo::before {
    content: '';
    position: absolute;
    width: 150%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent, color-mix(in srgb, var(--color-popup) 35%, transparent), transparent 40%,
        color-mix(in srgb, var(--color-popup-2) 30%, transparent), transparent 75%);
    animation: popup-halo 14s linear infinite;
}

@keyframes popup-halo {
    to { transform: rotate(360deg); }
}

.popup-logo img {
    position: relative;
    width: 100%;
    max-width: 280px;
    filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.5));
    animation: logo-flota 6s ease-in-out infinite;
}

.popup-texto {
    position: relative;
    padding: 40px 44px 38px;
    border-top: 5px solid var(--color-popup);
}

.popup-texto h3 {
    text-align: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    margin-bottom: 6px;
    background: linear-gradient(90deg, var(--color-popup), var(--color-popup-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.popup-texto .popup-bajada {
    text-align: center !important;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--borde);
}

.popup-texto p:not(.popup-bajada) {
    font-size: 1.07rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: justify;
    text-align-last: center;
    margin-bottom: 14px;
}

.popup-mision .popup-cerrar,
.popup-vision .popup-cerrar {
    z-index: 3;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

@media (max-width: 800px) {
    .popup-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .popup-logo {
        padding: 24px;
        border-right: none;
        border-bottom: 1px solid var(--borde);
    }

    .popup-logo img {
        max-width: 160px;
    }

    .popup-texto {
        padding: 26px 20px 24px;
    }

    .popup-texto h3 {
        font-size: 1.7rem;
    }
}

/* ============================================================
   Trayectoria: el texto junto al video dentro de un recuadro
   ============================================================ */
.trayectoria-texto {
    position: relative;
    overflow: hidden;
    padding: 34px 32px;
    border-radius: 18px;
    border: 1px solid var(--borde);
    border-top: 5px solid var(--accent);
    background:
        radial-gradient(90% 80% at 0% 0%, rgba(201, 162, 39, 0.16), transparent 60%),
        radial-gradient(90% 80% at 100% 100%, rgba(63, 158, 140, 0.16), transparent 60%),
        var(--bg-tertiary);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
}

.trayectoria-texto p {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.trayectoria-texto p:last-child {
    margin-bottom: 0;
    padding-top: 14px;
    border-top: 1px solid var(--borde);
    color: #e8c85a;
    font-weight: 600;
}

/* ============================================================
   Inscripción: tarjetas grandes para abrir cada formulario
   ============================================================ */
.form-buttons {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px !important;
    margin-top: 26px;
}

.form-button {
    flex: 1 1 280px;
    max-width: 380px !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 30px 24px 26px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background:
        radial-gradient(100% 80% at 50% 0%, color-mix(in srgb, var(--color-form) 45%, transparent), transparent 70%),
        linear-gradient(180deg, #13294d 0%, #0b1a33 100%) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), inset 0 0 0 1px color-mix(in srgb, var(--color-form) 40%, transparent) !important;
    color: #fff !important;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    animation: none !important;
}

.form-button::before,
.form-button::after {
    display: none !important;
}

.form-button:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 34px color-mix(in srgb, var(--color-form) 45%, transparent),
        inset 0 0 0 2px var(--color-form) !important;
}

.form-button-sidras { --color-form: var(--sidra); }
.form-button-hidromieles { --color-form: #e8c85a; }
.form-button-kombucha { --color-form: var(--kombucha); }

.form-copa {
    width: 74px;
    height: 74px;
    color: var(--color-form);
    filter: drop-shadow(0 6px 14px color-mix(in srgb, var(--color-form) 50%, transparent));
    transition: transform 0.4s ease;
}

.form-button:hover .form-copa {
    transform: rotate(-8deg) scale(1.08);
}

.form-nombre {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem !important;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.form-bajada {
    font-size: 1rem;
    color: var(--text-secondary);
}

.form-llamado {
    margin-top: 10px;
    padding: 11px 26px;
    border-radius: 999px;
    background: var(--color-form);
    color: #0a192f;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.form-llamado::after {
    content: ' \2192';
    display: inline-block;
    transition: transform 0.25s ease;
}

.form-button:hover .form-llamado::after {
    transform: translateX(5px);
}

.form-llamado::after {
    content: '\2192';
    margin-left: 8px;
}

.form-copa {
    width: 86px;
    height: 86px;
}

/* ============================================================
   INSCRIPCIÓN: recorrido en 4 pasos
   ============================================================ */
.insc-datos {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.insc-datos li {
    flex: 1 1 240px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 16px 20px;
    border-radius: 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--borde);
    text-align: center;
}

.insc-datos strong {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    color: #e8c85a;
    line-height: 1.1;
}

.insc-datos li:nth-child(2) strong { color: var(--kombucha); }
.insc-datos li:nth-child(3) strong { color: var(--sidra); }

.insc-datos span {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* barra fija con los pasos */
.insc-pasos {
    position: sticky;
    top: 70px;
    z-index: 50;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    margin: 0 auto 26px;
    width: fit-content;
    max-width: 100%;
    flex-wrap: wrap;
    border-radius: 999px;
    background: rgba(10, 25, 47, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid var(--borde);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.insc-pasos a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px 8px 8px;
    border-radius: 999px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: background 0.25s ease, color 0.25s ease;
}

.insc-pasos a:hover,
.insc-pasos a.actual {
    background: linear-gradient(135deg, #e8c85a, var(--accent));
    color: #0a192f;
}

.insc-pasos a.actual .insc-num,
.insc-pasos a:hover .insc-num {
    background: #0a192f;
    color: #e8c85a;
}

.insc-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8c85a, var(--accent));
    color: #0a192f;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

/* cada paso */
.insc-paso {
    scroll-margin-top: 150px;
    margin-bottom: 26px;
    padding: 26px 30px 30px;
    border-radius: 20px;
    background:
        radial-gradient(70% 90% at 0% 0%, rgba(201, 162, 39, 0.10), transparent 60%),
        radial-gradient(70% 90% at 100% 100%, rgba(63, 158, 140, 0.10), transparent 60%),
        var(--bg-tertiary);
    border: 1px solid var(--borde);
}

.insc-paso-cabeza {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    text-align: center;
}

.insc-paso-cabeza .insc-num {
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
    box-shadow: 0 0 0 6px rgba(201, 162, 39, 0.15);
}

.insc-paso-cabeza h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    color: var(--text-primary);
    margin: 4px 0 0;
    text-align: center;
}

.insc-paso-sub {
    color: #e8c85a;
    font-weight: 600;
    font-size: 1.05rem;
    text-align: center;
}

/* tarifas en una fila */
.tarifas {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}

.tarifa {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 18px 8px 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, #13294d, #0b1a33);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.tarifa:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.tarifa-n {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.tarifa-lbl {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.tarifa-total {
    font-size: 1.5rem;
    color: #e8c85a;
}

.tarifa-unit {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.tarifa-top {
    background: linear-gradient(180deg, rgba(63, 158, 140, 0.35), #0b1a33);
    border: 2px solid var(--kombucha);
    box-shadow: 0 0 26px rgba(63, 158, 140, 0.35);
}

.tarifa-top .tarifa-total {
    color: #7fd8c5;
}

.tarifa-sello {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    padding: 3px 12px;
    border-radius: 999px;
    background: var(--kombucha);
    color: #0a192f;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tarifas-beneficio {
    margin-top: 18px;
    padding: 16px 22px;
    border-radius: 14px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px dashed rgba(201, 162, 39, 0.45);
    text-align: center;
}

.tarifas-beneficio h4 {
    color: #e8c85a;
    font-size: 1.2rem;
    margin-bottom: 6px;
    text-align: center;
}

.tarifas-beneficio p {
    text-align: center !important;
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

.tarifas-beneficio strong {
    color: #e8c85a;
}

.tarifas-beneficio .tarifas-euros {
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* pasos para inscribir */
.insc-mini {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.insc-mini li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: var(--text-primary);
    font-size: 1.02rem;
}

.insc-mini-n {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e8c85a;
    color: #e8c85a;
    font-weight: 800;
}

.insc-aviso {
    margin: 0 0 6px;
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(201, 162, 39, 0.12);
    color: #f3d67a;
    font-weight: 600;
    text-align: center !important;
}

/* pagar */
.insc-pago {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.insc-pago > p:first-child {
    font-size: 1.08rem;
    color: var(--text-primary);
    line-height: 1.7;
}

.insc-alerta {
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(220, 70, 70, 0.14);
    border: 1px solid rgba(255, 110, 110, 0.5);
    color: #ff9a9a;
    font-weight: 600;
    text-align: center !important;
}

.insc-boton {
    display: table;
    margin: 16px auto 0;
    padding: 14px 38px;
    border-radius: 999px;
    background: linear-gradient(135deg, #e8c85a, var(--accent));
    color: #0a192f;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.insc-boton:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(201, 162, 39, 0.4);
}

.insc-pago .insc-boton {
    margin-top: 2px;
}

.insc-boton-verde {
    background: linear-gradient(135deg, #2d8a3e, #3da550);
    color: #fff;
}

.insc-boton-verde:hover {
    box-shadow: 0 12px 28px rgba(61, 165, 80, 0.45);
}

.insc-boton-azul {
    background: linear-gradient(135deg, #2f6fd6, #4b8cf0);
    color: #fff;
}

.insc-boton-azul:hover {
    box-shadow: 0 12px 28px rgba(75, 140, 240, 0.45);
}

/* enviar */
.insc-req {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.insc-req li {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid var(--kombucha);
    color: var(--text-primary);
    text-align: center;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.insc-req li:nth-child(2) { border-top-color: #e8c85a; }
.insc-req li:nth-child(3) { border-top-color: var(--sidra); }

.insc-envio-txt {
    text-align: center !important;
    color: var(--text-primary);
    font-size: 1.05rem;
    margin-bottom: 14px;
}

.mini-centros {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 10px;
}

.mini-centro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, #13294d, #0b1a33);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.mini-centro-pendiente {
    border-style: dashed;
    border-color: rgba(111, 143, 214, 0.6);
}

.mini-centro img {
    width: 72px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.mini-centro h4 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-primary);
    text-align: center;
}

.mini-centro-persona {
    margin: 2px 0 6px;
    color: #e8c85a;
    font-weight: 700;
    text-align: center !important;
}

.mini-centro ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mini-centro li,
.mini-centro li a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-decoration: none;
    text-align: center;
}

.mini-centro li a:hover {
    color: #e8c85a;
}

.mini-centro svg {
    vertical-align: -3px;
    margin-right: 4px;
}

.insc-nota {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: center !important;
    margin-top: 8px;
}

/* cierre */
.insc-final {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.insc-final-caja {
    padding: 24px 26px;
    border-radius: 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--borde);
    text-align: center;
}

.insc-editar {
    border-top: 5px solid #4b8cf0;
}

.insc-terminos {
    border-top: 5px solid var(--sidra);
}

.insc-final-caja h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    text-align: center;
}

.insc-final-caja > p {
    color: var(--text-primary);
    font-size: 1.03rem;
    line-height: 1.7;
    text-align: center !important;
}

.insc-terminos ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.insc-terminos li {
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-size: 0.97rem;
    text-align: center;
}

@media (max-width: 1100px) {
    .tarifas {
        grid-template-columns: repeat(4, 1fr);
    }

    .mini-centros,
    .insc-mini {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .insc-pasos {
        top: 62px;
        gap: 4px;
        padding: 6px;
    }

    .insc-pasos a {
        padding: 6px 12px 6px 6px;
        font-size: 0.9rem;
        gap: 6px;
    }

    .insc-pasos .insc-num {
        width: 28px;
        height: 28px;
    }

    .insc-paso {
        padding: 20px 14px 22px;
    }

    .tarifas {
        grid-template-columns: repeat(2, 1fr);
    }

    .tarifa-top {
        grid-column: span 2;
    }

    .insc-mini,
    .insc-req,
    .mini-centros,
    .insc-final,
    .insc-terminos ul {
        grid-template-columns: 1fr;
    }
}

.insc-datos strong span {
    font-size: inherit;
    color: inherit;
}

@media (max-width: 768px) {
    .insc-mini {
        grid-template-columns: 1fr 1fr;
    }

    .insc-mini li {
        padding: 12px 8px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .insc-pasos {
        flex-wrap: nowrap;
        gap: 2px;
        padding: 5px;
    }

    .insc-pasos a {
        padding: 4px 9px 4px 4px;
        gap: 4px;
        font-size: 0.8rem;
        letter-spacing: 0;
    }

    .insc-pasos .insc-num {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }
}

/* ============================================================
   MENÚ MÓVIL REHECHO: panel compacto, acordeón y fichas
   ============================================================ */
@media (max-width: 768px) {
    header {
        padding: 8px 4% !important;
        min-height: 62px;
    }

    .logo {
        height: 46px;
    }

    /* botón hamburguesa que se vuelve X */
    .menu-toggle {
        position: relative;
        z-index: 1002;
        width: 44px;
        height: 44px;
        padding: 0 !important;
        align-items: center;
        justify-content: center;
        gap: 6px !important;
        border-radius: 12px;
        border: 1px solid var(--borde);
        background: rgba(255, 255, 255, 0.05);
    }

    .menu-toggle span {
        width: 22px !important;
        height: 2px;
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.2s ease !important;
    }

    .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* el panel */
    nav#mainNav {
        position: fixed;
        top: 62px;
        left: 0;
        right: 0;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        max-height: calc(100vh - 62px);
        overflow-y: auto;
        padding: 14px 16px 18px !important;
        background: linear-gradient(180deg, #0c1f3d 0%, #0a192f 100%) !important;
        border-bottom: 3px solid var(--accent);
        border-radius: 0 0 22px 22px;
        box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
        transform: translateY(-12px) !important;
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s !important;
    }

    nav#mainNav.active {
        transform: none !important;
        opacity: 1;
        visibility: visible;
    }

    /* página oscurecida detrás del panel */
    body.menu-abierto::after {
        content: '';
        position: fixed;
        inset: 62px 0 0 0;
        z-index: 1000;
        background: rgba(3, 10, 22, 0.6);
        backdrop-filter: blur(3px);
    }

    body.menu-abierto {
        overflow: hidden;
    }

    /* idioma: selector de tres partes iguales */
    nav#mainNav .lang-selector {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
        margin: 0 0 4px !important;
        padding: 4px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.06);
    }

    nav#mainNav .lang-btn {
        padding: 9px 0;
        font-size: 0.95rem;
        font-weight: 700;
        border-radius: 9px;
    }

    /* filas: Inicio y títulos de grupo */
    nav#mainNav > a:not(.nav-cta),
    nav#mainNav .nav-dropdown > a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 13px 16px !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.04);
        font-size: 1rem !important;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-align: center;
    }

    nav#mainNav .nav-dropdown {
        width: 100%;
    }

    nav#mainNav .nav-dropdown > a::after {
        content: '';
        width: 8px;
        height: 8px;
        margin: -4px 0 0 4px;
        border-right: 2px solid #e8c85a;
        border-bottom: 2px solid #e8c85a;
        transform: rotate(45deg);
        transition: transform 0.3s ease, margin 0.3s ease;
    }

    nav#mainNav .nav-dropdown:hover > a::after {
        transform: rotate(45deg);
    }

    nav#mainNav .nav-dropdown.open > a {
        background: rgba(201, 162, 39, 0.14);
        border-color: rgba(201, 162, 39, 0.45) !important;
        color: #e8c85a;
    }

    nav#mainNav .nav-dropdown.open > a::after {
        transform: rotate(-135deg);
        margin-top: 4px;
    }

    /* opciones de cada grupo: fichas en dos columnas */
    nav#mainNav .nav-dropdown .dropdown-menu {
        position: static !important;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        min-width: 0;
        max-height: 0;
        padding: 0 !important;
        margin: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none !important;
        border: none !important;
        background: transparent !important;
        transition: max-height 0.35s ease, padding 0.35s ease !important;
    }

    nav#mainNav .nav-dropdown.open .dropdown-menu {
        max-height: 420px;
        padding: 8px 0 2px !important;
    }

    nav#mainNav .dropdown-menu a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        padding: 8px 10px !important;
        border: none !important;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.06);
        color: var(--text-primary);
        font-size: 0.92rem !important;
        font-weight: 600;
        line-height: 1.25;
        text-align: center;
        text-transform: none;
        letter-spacing: 0;
    }

    nav#mainNav .dropdown-menu a:last-child:nth-child(odd) {
        grid-column: span 2;
    }

    nav#mainNav .dropdown-menu a:hover,
    nav#mainNav .dropdown-menu a.nav-actual {
        background: rgba(201, 162, 39, 0.18);
        color: #e8c85a;
    }

    /* inscribirse, a todo el ancho */
    nav#mainNav .nav-cta {
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 6px 0 0 !important;
        padding: 14px !important;
        border-radius: 12px;
        border: none !important;
        font-size: 1.05rem !important;
        letter-spacing: 0.1em;
    }
}

@media (max-width: 768px) {
    body.menu-abierto::after {
        z-index: 999;
    }
}

@media (max-width: 768px) and (hover: none) {
    nav#mainNav .dropdown-menu a:hover:not(.nav-actual) {
        background: rgba(255, 255, 255, 0.06);
        color: var(--text-primary);
    }
}

/* Banderas en los botones de idioma */
.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.lang-bandera {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
    opacity: 0.75;
    transition: opacity 0.25s ease;
}

.lang-btn:hover .lang-bandera,
.lang-btn.active .lang-bandera {
    opacity: 1;
}

@media (max-width: 768px) {
    .lang-bandera {
        width: 24px;
        height: 16px;
    }

    nav#mainNav .lang-btn {
        gap: 8px;
    }
}

/* ============================================================
   PIE COMPACTO: menos aire, enlaces en dos columnas, todo centrado
   ============================================================ */
footer {
    padding: 26px 3% 14px !important;
}

.footer-content {
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: 1fr 1.4fr 1.4fr 1fr !important;
    gap: 20px 28px !important;
    align-items: start;
}

.footer-brand img {
    height: 64px !important;
    margin-bottom: 8px !important;
}

.footer-brand p {
    font-size: 0.95rem !important;
    line-height: 1.5;
    margin: 0;
}

.footer-links,
.footer-contact {
    text-align: center;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 10px !important;
    text-align: center;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 14px;
    align-content: start;
}

.footer-links h4 {
    grid-column: 1 / -1;
}

.footer-links a {
    padding: 5px 0 !important;
    font-size: 0.95rem !important;
    text-align: center;
}

.footer-contact p {
    margin: 0 0 6px !important;
    font-size: 0.95rem !important;
}

.footer-contact p a {
    justify-content: center;
}

.footer-bottom {
    width: 100% !important;
    max-width: none !important;
    margin: 18px auto 0 !important;
    padding-top: 12px !important;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 560px) {
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* enlace que sobra en la grilla del pie: centrado a todo el ancho */
.footer-links a:last-child:nth-child(even) {
    grid-column: 1 / -1;
}

/* Pie con la columna Gestión */
.footer-content {
    grid-template-columns: 1fr 1.35fr 1.35fr 0.85fr 1fr !important;
}

.footer-links.footer-gestion {
    grid-template-columns: 1fr;
}

@media (max-width: 1100px) {
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr !important;
    }
}

@media (max-width: 700px) {
    .footer-content {
        grid-template-columns: 1fr !important;
    }
}

@media (min-width: 1101px) {
    .footer-content {
        grid-template-columns: 0.9fr 1.6fr 1.3fr 0.9fr 1fr !important;
    }

    .footer-links a {
        white-space: nowrap;
    }
}

/* Pie: columnas al ancho de su contenido, juntas y centradas */
@media (min-width: 1101px) {
    .footer-content {
        grid-template-columns: repeat(5, auto) !important;
        justify-content: center;
        column-gap: 60px !important;
    }

    .footer-brand {
        max-width: 230px;
    }

    .footer-links {
        column-gap: 22px;
    }
}

@media (min-width: 1101px) {
    .footer-content {
        column-gap: 46px !important;
    }

    .footer-brand {
        max-width: 200px;
    }

    .footer-links {
        grid-template-columns: auto auto;
        column-gap: 14px;
        justify-content: center;
    }

    .footer-links.footer-gestion {
        grid-template-columns: auto;
    }

    .footer-bottom {
        max-width: 1320px !important;
    }
}

/* Ver bases y guías: mismo efecto de subir que Inscríbete ahora */
.hero-buttons .btn-secondary {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.hero-buttons .btn-secondary:hover {
    transform: translateY(-3px);
}

/* Formularios de inscripción: la X queda siempre visible al bajar */
.modal-container > .modal-close {
    position: sticky;
    top: 14px;
    z-index: 20;
    margin: 15px 15px -55px auto;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), 0 0 0 3px #fff;
}

@media (max-width: 600px) {
    .modal-container > .modal-close {
        width: 34px;
        height: 34px;
        font-size: 20px;
        top: 8px;
        margin: 8px 6px -42px auto;
    }
}

/* =========================================================
   Fotos más chicas y sin cortes (corrección de Victoria, 2026-09-26)
   - las fotos ya no vienen recortadas a 3:2 (se generan desde el original)
   - marcos ~30% más chicos en escritorio, esquinas redondeadas
   - encuadre hacia arriba, donde están las caras
   ========================================================= */
.bloque-foto-imagen img,
.foto-seccion img,
.pilar img,
.industria img,
.fundador-foto img {
    object-position: 50% 20%;
}

.bloque-foto-imagen,
.bloque-foto-imagen img { border-radius: 18px; }
.bloque-foto-imagen img { aspect-ratio: 4 / 3; }

.foto-seccion img { aspect-ratio: 16 / 9; border-radius: 18px; }

/* tarjetas: la foto queda dentro de la tarjeta, con margen y esquinas redondeadas */
.pilar img,
.industria img {
    width: calc(100% - 40px);
    margin: 20px auto 0;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
}

.fundador-foto img { border-radius: 18px; }
/* copa de hidromiel: encuadre hacia abajo para que se vea la copa entera */
.industria img[src$="foto-146.jpg"] { object-position: 50% 85%; }


/* zoom lento más suave (antes llegaba a 12% y cortaba) */
@keyframes foto-zoom {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.05) translate(-1%, -0.5%); }
}

/* =========================================================
   Punto 10 (Victoria): Inicio más liviano
   ========================================================= */
/* Categorías de la portada: una línea minimalista, sin recuadro ni píldoras */
.hero-content .categories-box {
    background: none; border: none; box-shadow: none; padding: 0; margin: 22px auto 26px;
    animation: none; backdrop-filter: none; max-width: none;
}
.hero-content .categories-box::before, .hero-content .categories-box::after { display: none; }
.hero-content .categories-title {
    display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 12px;
}
.hero-content .categories-title::before, .hero-content .categories-title::after {
    content: ''; width: 60px; height: 1px; background: linear-gradient(90deg, transparent, rgba(232, 200, 90, .7), transparent);
}
.hero-content .categories-grid { display: flex; justify-content: center; align-items: center; gap: 0; flex-wrap: wrap; }
.hero-content .category-item {
    background: none !important; border: none !important; box-shadow: none !important; padding: 4px 22px !important;
    min-width: 0 !important; border-radius: 0 !important; position: relative; animation: none !important;
}
.hero-content .category-item { margin: 0 !important; flex: 0 0 auto !important; width: auto !important; }
.hero-content .category-item:first-child::before, .hero-content .category-item::after { display: none !important; }
.hero-content .category-item + .category-item::before {
    content: ''; position: absolute; left: -3px; top: 50%; width: 6px; height: 6px; margin-top: -6px; border-radius: 50%;
    background: rgba(232, 200, 90, .75);
}
.hero-content .category-item span {
    font-family: 'Playfair Display', serif; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: .04em; text-transform: none;
    color: #f3d67a; position: relative; padding-bottom: 6px;
}
.hero-content .category-item span::after {
    content: ''; position: absolute; left: 50%; width: 64px; margin-left: -32px; bottom: 0; height: 2px; border-radius: 2px;
    animation: cat-raya 3.5s ease-in-out infinite;
}
.hero-content .category-item.sidras span::after { background: #d46a5f; }
.hero-content .category-item.hidromieles span::after { background: #e8c85a; animation-delay: -1.2s; }
.hero-content .category-item.kombucha span::after { background: #5fb3a1; animation-delay: -2.4s; }
@keyframes cat-raya { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

/* Los dos textos del Inicio en un solo bloque: foto + textos apilados */
.inicio-dos .bloque-foto-texto { display: flex; flex-direction: column; gap: 22px; }
.inicio-dos .inicio-parte + .inicio-parte { padding-top: 22px; border-top: 1px solid rgba(201, 162, 39, .25); }
.inicio-dos .inicio-parte h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); margin-bottom: 10px; }
.inicio-dos .inicio-parte p { margin-bottom: 8px; text-align: justify !important; text-align-last: center; }
@media (min-width: 901px) {
    .bloque-foto.inicio-dos { grid-template-columns: 0.9fr 1.1fr; align-items: center; }
    .inicio-dos .bloque-foto-imagen { width: 100%; }
}

/* Opción 5 (Carlos): dos franjas delgadas, miniatura + texto chico, pegadas */
/* Punto 12: fechas arriba, compactas; toda la sección con menos relleno */
.section-dates-hero { padding-top: 22px !important; padding-bottom: 26px !important; }
#fechas-hero .section-header { margin: 0 auto 14px !important; padding: 0 !important; }
#fechas-hero .section-header .section-title { margin-bottom: 4px !important; }
#fechas-hero .section-header .section-title::after { margin-top: 8px !important; }
#fechas-hero .section-header .section-subtitle { margin-top: 6px !important; }
#fechas-hero .timeline {
    display: flex !important; flex-wrap: wrap; justify-content: center; gap: 12px !important; margin: 0 0 18px !important;
    grid-template-columns: none !important;
}
#fechas-hero .timeline > .timeline-item {
    flex: 1 1 0 !important; min-width: 0; max-width: none !important;
    padding: 14px 16px !important; min-height: 0 !important; margin: 0 !important;
}
#fechas-hero .timeline-date { margin-bottom: 4px !important; letter-spacing: .02em !important; white-space: nowrap; }
@media (min-width: 1101px) { #fechas-hero .timeline > .timeline-item { padding: 16px 10px 14px !important; } }
#fechas-hero .timeline-item::before { left: auto !important; right: 7px !important; top: 5px !important; width: 7px !important; height: 7px !important; }
#fechas-hero .timeline > .timeline-item { padding-top: 24px !important; padding-bottom: 22px !important; }
/* línea entre las fechas y las franjas de texto */
#fechas-hero .timeline { margin-bottom: 0 !important; }
#fechas-hero .timeline + .franja-inicio,
#fechas-hero .timeline ~ .franja-inicio:first-of-type { margin-top: 0; }
#fechas-hero .separador-fechas {
    height: 1px; margin: 44px auto 48px; width: 100%;
    background: linear-gradient(90deg, transparent, rgba(232, 200, 90, .55), transparent);
}
#fechas-hero .timeline-title { font-size: 1.05rem !important; }
#fechas-hero .franja-marca { margin-top: 18px !important; padding: 18px 20px !important; }
#fechas-hero .timeline { flex-wrap: nowrap !important; }
@media (max-width: 1100px) {
    #fechas-hero .timeline { flex-wrap: wrap !important; }
    #fechas-hero .timeline > .timeline-item { flex: 0 1 calc((100% - 24px) / 3) !important; }
}
@media (max-width: 600px) {
    #fechas-hero .timeline > .timeline-item { flex-basis: calc(50% - 6px) !important; min-width: 0; padding: 12px 10px !important; }
    #fechas-hero .timeline-title { font-size: .95rem !important; }
}

/* Fechas como LÍNEA DE TIEMPO horizontal (opción a de Carlos): sin cajas */
#fechas-hero .timeline {
    position: relative; display: flex !important; flex-wrap: nowrap !important; gap: 0 !important;
    padding: 0 !important; margin: 6px 0 0 !important;
}
#fechas-hero .timeline::before {
    content: ''; position: absolute; left: 6%; right: 6%; top: 38px; height: 2px; z-index: 0;
    background: linear-gradient(90deg, transparent, rgba(232, 200, 90, .75) 8%, rgba(232, 200, 90, .75) 92%, transparent);
}
#fechas-hero .timeline > .timeline-item {
    flex: 1 1 0 !important; display: flex !important; flex-direction: column; align-items: center; text-align: center;
    background: none !important; border: none !important; box-shadow: none !important; border-radius: 0 !important;
    padding: 0 6px !important; min-height: 0 !important; transform: none !important; position: relative; z-index: 1;
}
#fechas-hero .timeline > .timeline-item:hover { transform: none !important; box-shadow: none !important; }
#fechas-hero .timeline > .timeline-item .timeline-date { order: 1; height: 24px; margin: 0 0 8px !important; white-space: nowrap; }
#fechas-hero .timeline > .timeline-item::before {
    order: 2; position: static !important; display: block; flex: none;
    width: 14px !important; height: 14px !important; margin: 0 0 12px !important; border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(10, 25, 47, 1), 0 0 14px currentColor;
}
#fechas-hero .timeline > .timeline-item .timeline-title { order: 3; font-size: 1rem !important; line-height: 1.35; }
@media (max-width: 1100px) {
    #fechas-hero .timeline { flex-wrap: wrap !important; row-gap: 22px !important; }
    #fechas-hero .timeline::before { display: none; }
    #fechas-hero .timeline > .timeline-item { flex: 0 1 33.33% !important; }
}
@media (max-width: 600px) {
    #fechas-hero .timeline > .timeline-item { flex-basis: 50% !important; }
}

.franja-inicio {
    display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: center;
    padding: 14px 22px 14px 14px; margin: 0 0 12px;
    background: linear-gradient(90deg, rgba(17, 34, 64, .9), rgba(17, 34, 64, .45));
    border: 1px solid rgba(201, 162, 39, .22); border-left: 3px solid var(--accent);
    border-radius: 14px;
}
.franja-inicio.franja-invertida { grid-template-columns: 1fr 250px; padding: 14px 14px 14px 22px; border-left-width: 1px; border-right: 3px solid var(--accent); }
.franja-inicio.franja-invertida .franja-foto { order: 2; }
.franja-inicio .franja-foto { width: 100% !important; margin: 0 !important; border-radius: 10px; box-shadow: none; }
.franja-inicio .franja-foto img { aspect-ratio: 4 / 3; border-radius: 10px; }
/* mismo tamaño de letra que los bloques originales (clase bloque-foto-texto); solo menos margen */
.franja-texto h2 { font-size: 1.2rem !important; font-weight: 700 !important; color: #e8c85a !important; -webkit-text-fill-color: #e8c85a; background: none !important; margin: 0 0 8px; text-align: center; }
.franja-texto p { margin: 0 0 6px; text-align: justify; text-align-last: center; }
.franja-texto p:last-child { margin-bottom: 0; }
.franja-inicio + .section-header { margin-top: 30px; }
@media (max-width: 700px) {
    .franja-inicio, .franja-inicio.franja-invertida { grid-template-columns: 1fr; padding: 12px; }
    .franja-inicio.franja-invertida .franja-foto { order: 0; }
    .franja-inicio .franja-foto img { aspect-ratio: 16 / 9; }
}

@media (min-width: 901px) {
    .bloque-foto-imagen { width: 72%; margin: 0 auto; }
    .foto-seccion img { width: 72%; margin: 0 auto; }
    .fundador-foto { width: 72%; margin-left: auto; margin-right: auto; }
}

/* ---------- Inscripcion: Early Bird y tarifa normal (sin cifras; los valores siguen en la grilla de abajo) ---------- */
.tarifas.temporadas {
    grid-template-columns: 3fr 2fr;
    gap: 22px;
    margin-bottom: 26px;
    align-items: stretch;
}

.tarifa.temporada {
    gap: 8px;
    padding: 28px 26px 26px;
}

.tarifa.temporada p {
    text-align: center !important;
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 4px 0;
}

.tarifa.temporada .insc-boton {
    margin: auto auto 0;
}

.tarifa-top.temporada .tarifa-n {
    font-size: 2.8rem;
}

.temporada-lema {
    color: #e8c85a;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 4px 0 12px;
}

.tarifa-top .temporada-lema {
    color: #7fd8c5;
}

.condiciones {
    margin-top: 22px;
}

.condiciones .condiciones-destacado {
    margin-top: 6px;
    color: #e8c85a;
    font-weight: 600;
}

@media (max-width: 760px) {
    .tarifas.temporadas {
        grid-template-columns: 1fr;
    }

    .tarifas.temporadas .tarifa-top {
        grid-column: auto;
    }
}

/* separacion entre la grilla Early Bird y la normal */
.tarifas.grilla-normal {
    margin-top: 6px;
}

.tarifas.grilla-early + .insc-paso-sub {
    margin-top: 28px;
}

/* ---------- Grilla de valores normal apagada (la Early Bird queda como estaba) ---------- */



html:not(.efm-sin-early) .tarifas.grilla-normal{
    opacity: 0.62;
    filter: saturate(0.25);
}

html:not(.efm-sin-early) .grilla-normal .tarifa,
html:not(.efm-sin-early) .grilla-normal .tarifa-top{
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

html:not(.efm-sin-early) .grilla-normal .tarifa:hover{
    transform: none;
    border-color: rgba(255, 255, 255, 0.1);
}

html:not(.efm-sin-early) .grilla-normal .tarifa-total,
html:not(.efm-sin-early) .grilla-normal .tarifa-top .tarifa-total{
    color: var(--text-muted);
}

html:not(.efm-sin-early) .tarifas.grilla-early + .insc-paso-sub{
    color: var(--text-muted);
}

/* botones de instructivos del paso 4: juntos al centro */
.cta-buttons .insc-boton {
    margin: 8px 0 0;
}

/* paso 4: solo los 2 centros oficiales (Espana y Chile), lado a lado como en Envio de muestras */
@media (min-width: 769px) {
    #paso-envio .mini-centros {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* paso 4: parrafo de responsabilidad + fila de botones (ver instrucciones + 3 instructivos) */
.insc-envio-caja {
    margin: 16px 0 4px;
}

.insc-envio-botones {
    align-items: stretch;
    gap: 14px;
}

/* los 4 botones del paso 4 del mismo ancho, repartidos en la fila */
.insc-envio-botones .insc-boton {
    flex: 1 1 0;
    min-width: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.insc-envio-botones .insc-boton .lang-bandera {
    margin: 0;
}

/* recuadro de marca del Inicio: logo chico a la izquierda y el conjunto centrado */
.franja-marca.franja-marca-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.franja-marca-img {
    width: 104px;
    height: auto;
    flex: 0 0 auto;
}

.franja-marca-textos {
    text-align: center;
}

@media (max-width: 600px) {
    .franja-marca.franja-marca-logo {
        gap: 16px;
    }

    .franja-marca-img {
        width: 72px;
    }
}

/* escalera de precios: 6 tarjetas (1ª a 5ª y "6ª y siguientes"), filas parejas en cualquier pantalla */
.tarifas.grilla-early, .tarifas.grilla-normal { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1100px) { .tarifas.grilla-early, .tarifas.grilla-normal { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
    .tarifas.grilla-early, .tarifas.grilla-normal { grid-template-columns: repeat(2, 1fr); }
    .grilla-early .tarifa-top, .grilla-normal .tarifa-top { grid-column: auto; }
}

/* ---------- fin del Early Bird (js/early-bird.js marca <html class="efm-sin-early"> desde el 16-dic) ---------- */
.efm-sin-early .solo-early { display: none !important; }
html:not(.efm-sin-early) .sin-early { display: none !important; }
.efm-sin-early .tarifas.temporadas { grid-template-columns: 1fr; }
