 @font-face {
            font-family: great;
            src: url(../fonts/GreatVibes-Regular.ttf);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #f4f7fc, #e8f0f9);
            color: #333;
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* HEADER CORREGIDO */
        header {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 2rem;
            background: white;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 100;
            flex-wrap: wrap;
        }
        
        .header-container {
            display: flex;
            width: 100%;
            justify-content: space-between;
            align-items: center;
        }
        
        .bloque-izquierdo {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            flex: 1;
            color: #4075a3;
        }
        
        .funciona h1 {
            font-family: Arial, Helvetica, sans-serif;
            color: #4075a3;
            font-size: 1.5rem;
            margin-bottom: 10px;
        }
        
        .boton {
            background-color: #4075a3;
            padding: 10px;
            width: 125px;
            border-radius: 5px;
            transition: transform 0.2s ease;
            text-align: center;
        }
        
        .boton a {
            color: white;
            text-decoration: none;
            display: block;
        }
        
        .bloque-centro {
            display: flex;
            flex-direction: column;
            align-items: center;
            flex: 1;
        }
        
        .logo-centro {
            width: 200px;
            height: auto;
            margin-bottom: 10px;
        }
        
        .bloque-centro a {
            color: #4075a3;
            text-align: center;
            font-size: 0.9rem;
            text-decoration: none;
        }
        
        .bloque-derecho {
            display: flex;
            justify-content: flex-end;
            flex: 1;
            
        }
        
        .logo-derecha {
            width: 200px;
            height: auto;
        }
        
        .boton:hover {
            transform: scale(1.03);
        }

        /* RESTO DEL CSS (manteniendo tus estilos originales) */
        .cabecera {
            position: relative;
            width: 100vw;
            height: 500px;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }

        .cabecera img:first-child {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 1;
        }

        .cabecera .malla {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, rgba(0, 74, 173, 0.7), rgba(130, 157, 89, 0.6));
            z-index: 2;
        }

        .cabecera h1 {
            position: relative;
            z-index: 3;
            color: white;
            font-size: 5rem;
            margin-bottom: 0.5rem;
            font-weight: 800;
            letter-spacing: 1px;
            text-align: center;
            animation: fadeInDown 1.2s ease-out forwards;
            font-family: great;
        }
        
        .cabecera h2 {
            position: relative;
            z-index: 3;
            color: white;
            font-size: 3rem;
            margin-bottom: 0.5rem;
            font-weight: 800;
            letter-spacing: 1px;
            text-align: center;
            animation: fadeInDown 1.2s ease-out forwards;
            font-family: great;
        }

        .cabecera .hojita {
            position: relative;
            z-index: 3;
            display: flex;
            justify-content: center;
        }

        .cabecera .hojita img {
            width: 100px;
            height: auto;
            opacity: 0.9;
        }

        .contenido {
            padding: 2rem;
            max-width: 1200px;
            margin: auto;
        }

        .intro h1 {
            margin-bottom: 1rem;
            font-size: 2.5rem;
            color: #4075a3;
            text-align: center;
            padding: 1rem 0;
            position: relative;
        }

        .intro h1:after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 150px;
            height: 4px;
            background: linear-gradient(90deg, #4075a3, #829d59);
            border-radius: 2px;
        }

        .intro p {
            font-size: 1.2rem;
            text-align: center;
            margin: 2rem auto;
            color: #444;
            max-width: 800px;
            line-height: 1.8;
        }

        .punto {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2rem;
            margin-bottom: 5rem;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease;
        }

        .punto.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .punto .texto p {
            font-size: 1.2rem;
            color: #333;
            padding: 0 1rem;
            line-height: 1.8;
        }

        .punto .imagen img {
            width: 100%;
            max-width: 600px;
            height: auto;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            transition: transform 0.5s ease;
        }

        .punto .imagen img:hover {
            transform: scale(1.03);
        }

        .horarios {
            margin-top: 5rem;
            padding: 2rem 0;
            background: linear-gradient(135deg, #f9fbf4, #f0f5e9);
            border-radius: 20px;
            box-shadow: 0 5px 25px rgba(130, 157, 89, 0.1);
            position: relative;
        }

        .texto {
            text-align: center;
            margin-bottom: 3rem;
            padding: 0 2rem;
        }

        .texto h1 {
            font-size: 2.5rem;
            color: #4075a3;
            margin-bottom: 1rem;
        }

        .texto h2 {
            font-style: italic;
            color: #829d59;
            font-weight: 400;
            max-width: 700px;
            margin: 0 auto;
            font-size: 1.4rem;
        }

        .horario {
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .progress-container {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 6px;
            height: 100%;
            background: #e0e8d5;
            border-radius: 3px;
            z-index: 1;
        }

        .progress-bar {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 0;
            background: linear-gradient(to bottom, #829d59, #6b8648);
            border-radius: 3px;
            transition: height 0.5s ease;
            z-index: 2;
        }

        .contenedor {
            padding: 10px 50px;
            position: relative;
            width: 50%;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease;
            z-index: 3;
        }

        .contenedor.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .caja-texto {
            padding: 25px 30px;
            background: white;
            position: relative;
            border-radius: 12px;
            font-size: 16px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease;
        }

        .caja-texto:hover {
            transform: translateY(-5px);
        }

        .izquierda {
            left: 0;
        }

        .derecha {
            left: 50%;
        }

        .contenedor img {
            position: absolute;
            width: 85px;
            height: 85px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            z-index: 10;
        }

        .izquierda img {
            right: -42px;
        }

        .derecha img {
            left: -42px;
        }

        .caja-texto h2 {
            font-weight: 700;
            color: #4075a3;
            margin-bottom: 12px;
            font-size: 1.4rem;
        }

        .caja-texto small {
            display: inline-block;
            margin-bottom: 15px;
            background: #e9f2d6;
            padding: 5px 12px;
            border-radius: 20px;
            color: #6b8648;
            font-weight: 600;
        }

        .caja-texto p {
            margin-top: 15px;
            color: #555;
            line-height: 1.7;
        }

        .flecha-izq {
            height: 0;
            width: 0;
            position: absolute;
            top: 40px;
            z-index: 1;
            border-top: 18px solid transparent;
            border-bottom: 18px solid transparent;
            border-left: 18px solid white;
            right: -18px;
            filter: drop-shadow(2px 0 2px rgba(0, 0, 0, 0.1));
        }

        .flecha-dere {
            height: 0;
            width: 0;
            position: absolute;
            top: 40px;
            z-index: 1;
            border-top: 18px solid transparent;
            border-bottom: 18px solid transparent;
            border-right: 18px solid white;
            left: -18px;
            filter: drop-shadow(-2px 0 2px rgba(0, 0, 0, 0.1));
        }

        .formulario {
            background: linear-gradient(135deg, #eaeaff, #d5deff);
            padding: 3rem 2rem;
            border-radius: 20px;
            margin: 4rem 0;
            box-shadow: 0 10px 30px rgba(107, 149, 196, 0.2);
        }

        .formulario h1 {
            text-align: center;
            margin-bottom: 2.5rem;
            color: #4075a3;
            font-size: 2.2rem;
            position: relative;
            padding-bottom: 1rem;
        }
        .formulario h2{
            text-align: center;
            margin-bottom: 1.5rem;
            color: #28a745;
            font-size: 1.8rem;
            
        }

        .formulario h1:after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(90deg, #4075a3, #829d59);
            border-radius: 2px;
        }

        .formulario form {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.8rem;
            max-width: 1000px;
            margin: 0 auto;
        }

        .formulario .form-group {
            display: flex;
            flex-direction: column;
        }

        .formulario label {
            font-weight: 600;
            margin-bottom: 0.7rem;
            color: #4075a3;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
        }

        .formulario label i {
            margin-right: 10px;
            color: #829d59;
        }

        .formulario input {
            padding: 15px 18px;
            border: 2px solid #c1d0f0;
            border-radius: 10px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: white;
        }

        .formulario input:focus {
            outline: none;
            border-color: #829d59;
            box-shadow: 0 0 10px rgba(130, 157, 89, 0.4);
        }

        .formulario input::placeholder {
            color: #999;
            font-style: italic;
        }

        .boton-container {
            grid-column: 1 / -1;
            display: flex;
            justify-content: center;
            margin-top: 1rem;
        }

        .boton-enviar {
            background: linear-gradient(135deg, #829d59, #6b8648);
            color: white;
            border: none;
            padding: 17px 45px;
            font-size: 1.2rem;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            box-shadow: 0 5px 15px rgba(130, 157, 89, 0.4);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .boton-enviar:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(130, 157, 89, 0.5);
        }

        #mensaje {
            margin-top: 20px;
            text-align: center;
            font-weight: bold;
            display: none;
            padding: 10px;
            border-radius: 6px;
        }

        #mensaje.success {
            background-color: #28a745;
            color: white;
        }

        #mensaje.error {
            background-color: #dc3545;
            color: white;
        }

        footer {
            background: linear-gradient(135deg, #6b95c4, #5a7ca8);
            color: white;
            padding: 3rem 2rem;
            margin-top: 4rem;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 30px;
        }

        .footer-izquierda {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .footer-izquierda img {
            width: 200px;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
        }

        .footer-derecha {
            color: rgba(255, 255, 255, 0.85);
            max-width: 500px;
        }

        .footer-derecha h3 {
            font-size: 1.5rem;
            margin-bottom: 1.2rem;
            color: white;
        }

        .footer-derecha p {
            margin-bottom: 1rem;
            line-height: 1.7;
            font-size: 20px;
        }

        .contacto {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 8px 0;
        }

        .contacto i {
            color: #e9f2d6;
            font-size: 1.2rem;
        }

        .copyright {
            text-align: center;
            padding-top: 2rem;
            margin-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            color: rgba(255, 255, 255, 0.7);
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @media (min-width: 768px) {
            .punto.alternar {
                flex-direction: row;
                text-align: left;
                align-items: center;
            }

            .punto.alternar:nth-child(even) {
                flex-direction: row-reverse;
            }

            .punto.alternar .texto,
            .punto.alternar .imagen {
                flex: 1;
                padding: 0 1.5rem;
            }
        }

        @media (max-width: 1100px) {
            .cabecera h1 {
                font-size: 4rem;
            }
        }

        @media (max-width: 900px) {
            .cabecera {
                height: 400px;
            }

            .cabecera h1 {
                font-size: 3.2rem;
            }

            .derecha {
                left: 0;
            }

            .contenedor {
                width: 100%;
                padding: 10px 0 10px 80px;
            }

            .progress-container {
                left: 40px;
            }

            .izquierda img {
                left: 10px;
                right: auto;
            }

            .derecha img {
                left: 10px;
            }

            .flecha-izq,
            .flecha-dere {
                border-right: 18px solid white;
                border-left: 0;
                left: -18px;
                top: 40px;
            }

            .flecha-izq {
                border-right: 18px solid white;
                border-left: 0;
            }
        }

        @media (max-width: 768px) {
            .header-container {
                flex-direction: column;
                gap: 20px;
            }
            
            .bloque-izquierdo, .bloque-centro, .bloque-derecho {
                align-items: center;
                text-align: center;
            }
            
            .bloque-centro {
                order: 3;
                margin-top: 20px;
            }
            
            .cabecera {
                height: 350px;
            }

            .cabecera h1 {
                font-size: 2.8rem;
            }

            .intro h1 {
                font-size: 2rem;
            }

            .texto h1 {
                font-size: 2rem;
            }

            .texto h2 {
                font-size: 1.2rem;
            }

            .formulario h1 {
                font-size: 1.8rem;
            }

            .footer-container {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }

            .footer-izquierda {
                align-items: center;
            }
        }

        @media (max-width: 600px) {
            .cabecera {
                height: 300px;
            }

            .cabecera h1 {
                font-size: 2.2rem;
            }

            .contenido {
                padding: 1.5rem;
            }

            .contenedor {
                padding: 10px 0 10px 70px;
            }

            .contenedor img {
                width: 60px;
                height: 60px;
            }

            .caja-texto {
                padding: 20px;
            }

            .caja-texto h2 {
                font-size: 1.2rem;
            }

            .formulario form {
                grid-template-columns: 1fr;
            }

            .formulario {
                padding: 2rem 1.5rem;
            }

            .boton-enviar {
                width: 100%;
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            .cabecera h1 {
                font-size: 1.8rem;
            }

            .contenedor {
                padding: 10px 0 10px 60px;
            }
            
            .bloque-centro a {
                font-size: 0.8rem;
            }
        }