        :root {
           
            --color-primario: #2573e8;
            --color-secundario: #ffffff;
            --color-terceario: #fc6747;
            --color-fondo: #f4f7f9;
            --color-texto: #2573e8;
            --color-gris: #555;
            --color-card: #ffffff;
            --color-card-catalogo: #79CF40;
            --color-texto-catalogo: #fff;
            --color-card-pro: #2573e8;
            --color-texto-pro: #fff;
            --color-card-premium: #ffff00;
            --color-textp-premium: #fff;
            --color-sombra: rgba(0, 0, 0, 0.1);
            --transicion: 0.4s ease;
        }

        [data-theme="dark"] {
            --color-primario: #242424;
            --color-secundario: #000;
            --color-terceario: #fc6747;
            --color-fondo: #111;
            --color-texto: #ffffff;
            --color-gris: #aaa;
            --color-card: #1a1a1a;
            --color-sombra: rgba(7, 16, 93, 0.2);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
            transition: background var(--transicion), color var(--transicion);
        }

        body {
            background: var(--color-fondo);
            color: var(--color-texto);
            overflow-x: hidden;
        }

        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 60px;
            background: var(--color-primario);
            box-shadow: 0 2px 10px var(--color-sombra);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 10;
        }
        
        .plan-icon i{
            font-size:30px;
            color: #2573e8;
        }
        
        .plan-highlight{
            display:flex;
            align-items:center;
            gap:16px;
            padding:14px;
        }
        
        .plan-icon{
            font-size:40px;
            width:55px;
            text-align:center;
        }
        
        .titulo-texto-ayuda{
            margin:0;
            font-size:15px !important;
            font-weight:600;
            color:#fff;
        }
        
        .plan-text p{
            margin:2px 0 0;
            font-size:13px;
            color:#2573e8;
        }
        
        .logo-container {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .linea-punteada {
            border: none;
            border-top: 2px dotted var(--color-primario) ;
            margin: 10px 0;
        }
        
        .logo {
            width: 65px;
            height: 65px;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        
        .logo:hover {
            transform: scale(1.08);
        }
        
        .plan-bonus{
            display:block;
            margin-top:20px;
            font-size:13px;
            color:#9ca3af;
            text-align:center;
        }
        
        header h1 {
            color: white;
            font-weight: 700;
            letter-spacing: 1px;
            font-size: 1.5rem;
        }

        header h1 {
            font-weight: 700;
            letter-spacing: 1px;
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 30px;
        }

        nav a {
            position: relative;
            text-decoration: none;
            color: white;
            font-weight: bold;
            font-size: 0.95rem;
            transition: color 0.3s ease;
        }
        
        nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -4px;
            width: 0%;
            height: 2px;
            background-color: var(--color-terceario);
            transition: width 0.3s ease;
        }

        nav a:hover {
            color: var(--color-terceario);
        }
        
        nav a:hover::after {
            width: 100%;
        }

        .btn-unirme {
            background: var(--color-terceario);
            color: white;
            padding: 10px 22px;
            border-radius: 25px;
            text-decoration: none;
            font-weight: bold;
            cursor: pointer;
            transition: var(--transicion);
        }

        .btn-unirme:hover {
            background: white;
            color: var(--color-primario);
        }

        .switch {
            position: relative;
            width: 50px;
            height: 26px;
            background: var(--color-terceario);
            border-radius: 25px;
            cursor: pointer;
            transition: background 0.4s ease;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 5px;
        }

        .switch svg {
            width: 16px;
            height: 16px;
            color: white;
        }

        .switch::before {
            content: "";
            position: absolute;
            top: 3px;
            left: 3px;
            width: 20px;
            height: 20px;
            background: white;
            border-radius: 50%;
            transition: transform 0.4s ease;
        }

        .switch.active {
            background: var(--color-secundario);
        }

        .switch.active::before {
            transform: translateX(24px);
        }
        
        .carousel {
            position: relative;
            width: 100%;
            height: 70vh;
            overflow: hidden;
            margin-top: 80px;
        }
        
        .carousel-container {
            display: flex;
            transition: transform 1s ease-in-out;
            width: 100%;
            height: 100%;
        }
        
        .carousel-slide {
            position: relative;
            min-width: 100%;
            height: 100%;
        }
        
        .carousel-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: brightness(70%);
        }
        
        .carousel-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            text-align: center;
            color: white;
            padding: 60px 20px 40px;
            background: linear-gradient(to top, rgba(7, 16, 93, 0.5), transparent);
        }
        
        .carousel-caption h2 {
            font-size: 2rem;
            margin-bottom: 10px;
        }
        
        .carousel-caption p {
            font-size: 1rem;
            color: #ddd;
            margin-bottom: 10px;
        }
        
        .carousel-controls span {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 2rem;
            color: white;
            cursor: pointer;
            padding: 5px 18px;
            background: rgba(0, 0, 0, 0.5);
            border-radius: 100%;
            user-select: none;
            z-index: 3;
            transition: all 0.3s ease;
        }
        
        .carousel-controls span:hover {
            background: var(--color-terceario, rgba(245, 60, 20, 0.8));
            transform: translateY(-50%) scale(1.15);
            box-shadow: 0 0 10px rgba(245, 60, 20, 0.8);
        }
        
        .carousel-controls .prev {
            left: 25px;
        }
        
        .carousel-controls .next {
            right: 25px;
        }
        
        .carousel-dots {
            position: absolute;
            bottom: 25px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
            z-index: 3;
        }
        
        .carousel-dots .dot {
            width: 10px;
            height: 10px;
            background: rgba(255, 255, 255, 0.5);
            border-radius: 50%;
            cursor: pointer;
            transition: background 0.3s;
        }
        
        .carousel-dots .dot.active {
            background: var(--color-terceario, #f53c14);
        }

        .hero {
            height: 60vh;
            background-color: var(--color-primario);
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            flex-direction: column;
            padding: 0 20px;
            position: relative;
        }

        .hero::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
        }

        .hero h2,
        .hero p,
        .hero button {
            position: relative;
            z-index: 1;
        }

        .hero h2 {
            font-size: 3rem;
            color: white;
            animation: fadeInUp 1.5s ease;
        }

        .hero p {
            font-size: 1.2rem;
            color: #ddd;
            margin-top: 15px;
            animation: fadeInUp 2s ease;
        }

        .hero button {
            margin-top: 30px;
            background: var(--color-terceario);
            color: white;
            border: none;
            padding: 12px 30px;
            font-size: 1rem;
            font-weight: bold;
            border-radius: 30px;
            cursor: pointer;
            transition: var(--transicion);
            animation: fadeInUp 2.5s ease;
        }

        .hero button:hover {
            transform: scale(1.05);
            background: white;
            color: var(--color-primario);
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* PLANES */
        section#planes {
            padding: 60px 40px;
            text-align: center;
            position: relative;
        }
        
        #planes h2 {
            font-size: 2.3rem;
            color: var(--color-texto);
            font-weight: 700;
            position: relative;
            display: inline-block;
            z-index: 2;
        }
        
        #planes .subtitle{
            font-size: 1.2rem;
            color: var(--color-texto);
            margin-bottom: 40px;
            position: relative;
            display: inline-block;
        }

        .planes-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 40px;
        }
        
        .plan {
            background: var(--color-card);
            border-radius: 18px;
            border-radius: 25px;
            min-height: 480px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            width: 350px;
            padding: 35px 25px;
            box-shadow: 0 10px 25px var(--color-sombra);
            transition: transform 0.4s ease, box-shadow 0.4s ease;
            position: relative;
            overflow: hidden;
        }
        
        .plan-plomo {
            border: 1px solid rgba(120, 120, 120, 0.6);
            box-shadow:
                0 10px 25px rgba(120, 120, 120, 0.15),
                0 0 15px rgba(200, 200, 200, 0.08);
        }
        
        .plan-plomo::before {
            background: linear-gradient(
                135deg,
                rgba(120,120,120,0.6),
                rgba(255,255,255,0)
            );
        }

        .plan-verde {
            border: 1px solid rgba(117, 200, 84, 0.65);
            box-shadow:
                0 12px 26px rgba(117, 200, 84, 0.02),
                0 0 14px rgba(117, 200, 84, 0.08);
        }
        
        .plan-verde::before {
            background: linear-gradient(135deg, 
            rgba(117,200,84,0.9), rgba(255,255,255,0));
        }
        
        .plan-azul {
            border: 1px solid rgba(64, 140, 255, 0.9);
            box-shadow:
                0 10px 24px rgba(64, 140, 255, 0.3),
                0 0 12px rgba(64, 140, 255, 0.4);
        }
        
        .plan-azul::before {
            background: linear-gradient(135deg, 
            rgba(64,140,255,0.65), rgba(255,255,255,0));
        }
        
        .plan-dorado {
            border: 1px solid #FFD700; /* borde dorado brillante */
            box-shadow:
                0 14px 34px rgba(255, 215, 0, 0.6),   /* sombra principal dorada */
                0 0 20px rgba(255, 223, 0, 0.8),       /* brillo extra */
                0 0 40px rgba(255, 239, 153, 0.5);     /* halo dorado cálido */
        }
        .plan-dorado::before {
            background: linear-gradient(
                135deg,
                rgba(255, 223, 0, 0.9),
                rgba(255, 255, 255, 0.1)
            );
        }
        
        [data-theme="dark"] .plan-verde::before,
        [data-theme="dark"] .plan-azul::before,
        [data-theme="dark"] .plan-dorado::before {
            background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0));
        }
        
        .plan::before {
            content: "";
            position: absolute;
            top: 0;
            left: -150%;
            width: 200%;
            height: 100%;
            transform: skewX(-25deg);
            z-index: 1;
            pointer-events: none;
        }
        
        @keyframes shineMove {
          0% {
            left: -150%;
          }
          100% {
            left: 150%;
          }
        }
        
        @keyframes glowPulse {
          0%, 100% {
            box-shadow: 0 0 8px rgba(255,255,255,0.05);
          }
          50% {
            box-shadow: 0 0 18px rgba(255,255,255,0.15);
          }
        }
        
        .plan:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(7, 16, 93, 0.25);
        }
        
        .plan h3 {
            color: var(--color-texto);
            margin-bottom: 18px;
            font-size: 1.5rem;
            font-weight: 800;
        }
        
        .plan ul {
            list-style: none;
            color: var(--color-gris);
            text-align: left;
            flex-grow: 1;
            padding-left: 0;
        }
        
        .plan ul li {
            margin: 10px 0;
            position: relative;
            padding-left: 28px;
            font-size: 0.95rem;
            line-height: 1.4;
        }
        
        .plan ul li::before {
            content: "✓";
            color: var(--color-texto);
            position: absolute;
            left: 0;
            font-weight: bold;
        }
        
        .precios-meses {
            display: flex;
            flex-direction: column;
            gap: 8px;
            z-index: 2;
        }
        
        .precio-mes {
            position: relative;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(0,0,0,0.04);
            padding: 14px 16px;
            border-radius: 14px;
            border: 2px solid transparent;
        }
        
        .precio-mes.mejor{
            border: 2px solid transparent; 
            animation: latido 1.6s infinite ease-in-out, glow 3s infinite linear;;
            box-shadow: 
                0 0 8px rgba(76, 175, 80, 0.6),
                0 0 16px rgba(76, 175, 80, 0.4);
        }
        
        @keyframes latido {
            0% {
                transform: scale(1);
                box-shadow: 
                    0 0 6px rgba(76, 175, 80, 0.4),
                    0 0 12px rgba(76, 175, 80, 0.3);
            }
            50% {
                transform: scale(1.01);
                box-shadow: 
                    0 0 12px rgba(76, 175, 80, 0.8),
                    0 0 24px rgba(76, 175, 80, 0.6);
            }
            100% {
                transform: scale(1);
                box-shadow: 
                    0 0 6px rgba(76, 175, 80, 0.4),
                    0 0 12px rgba(76, 175, 80, 0.3);
            }
        }

        .badge-mejor {
            position: absolute;
            top: -30px;
            left: 50%;
            transform: translateX(-50%);
            padding: 5px 14px;
            border-radius: 20px;
            font-size: 15px;
            font-weight: 700;
            white-space: nowrap;
        
            /* FONDO ORO METÁLICO */
            background: linear-gradient(145deg, #fff8dc, #ffd700, #ffb300, #fff8dc);
            background-size: 200% 200%;
        
            color: #5c3b00;
            border: 1px solid rgba(255, 193, 7, 0.7);
        
            animation: latir 1.6s infinite ease-in-out,
                       brilloOro 4s infinite linear,
                       glowOro 2.5s infinite alternate;
        }
        
        
        @keyframes latir {
            0%   { transform: translateX(-50%) scale(1); }
            50%  { transform: translateX(-50%) scale(1.01); }
            100% { transform: translateX(-50%) scale(1); }
        }
        
        @keyframes brilloOro {
            0%   { background-position: 0% 50%; }
            50%  { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        @keyframes glowOro {
            from { box-shadow: 0 0 6px rgba(255, 193, 7, 0.4); }
            to   { box-shadow: 0 0 18px rgba(255, 193, 7, 0.8); }
        }
        
        .medalla-icon{
            width:28px;
            height:28px;
            margin-right:6px;
            vertical-align:middle;
            transform-origin: top center; 
            animation: pendulo 2.5s ease-in-out infinite;
            filter: drop-shadow(0 0 4px gold);
        }
        
        @keyframes pendulo{
            0%   { transform: rotate(-12deg); }
            50%  { transform: rotate(12deg); }
            100% { transform: rotate(-12deg); }
        }
        
        .precio-mes.con-tarifa {
            background: linear-gradient(135deg, rgba(0,80,189,0.12), rgba(255,255,255,0));
            border: 1px solid rgba(0,80,189,0.25);
        }
        
        .info-mes {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        
        .badge-tarifa {
            font-size: 0.75rem;
            color: #0d47a1;
            background: rgba(13,71,161,0.12);
            padding: 3px 8px;
            border-radius: 20px;
            width: fit-content;
        }
        
        .precio-mes strong {
            font-size: 1rem;
            font-weight: 600;
        }
        
        .precio-mes em {
            color: #1e88e5;
            font-style: normal;
            font-size: 0.8rem;
            margin-left: 6px;
        }
        
        .plan .precio {
            font-size: 1.8rem;
            font-weight: 600;
            color: var(--color-texto);
            margin-bottom: 15px;
        }
        
        .plan .descripcion{
            font-size: 1rem;
            margin-bottom: 20px;
        }
        
        .plan .nota-paquete{
            margin-bottom: 20px;
        }
        
        .plan a {
            display: block;
            margin: 0 auto;
            width: 70%;
            background: var(--color-terceario);
            text-decoration: none;
            color: white;
            border: none;
            font-size: 15px;
            font-weight: bold;
            padding: 10px 25px;
            border-radius: 25px;
            cursor: pointer; 
            transition: var(--transicion);
        }
        
        .plan a:hover {
            transform: translateY(-3px);
        }
        
        .modulo-mas {
            font-style: italic;
            color: grey;
            opacity: 0.8;
        }
        
        .btn-ver-mas {
            position: relative;
            display: inline-block;
            margin-top: 50px;
            background: var(--color-primario);
            color: white;
            text-decoration: none;
            font-weight: bold;
            font-size: 16px;
            padding: 12px 35px;
            border-radius: 30px;
            cursor: pointer;
            transition: var(--transicion);
            box-shadow: 0 4px 10px var(--color-sombra);
        }
        
        .btn-ver-mas:hover {
            background: white;
            color: var(--color-primario);
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(7, 16, 93, 0.3);
        }

        section#testimonios {
            padding: 80px 20px;
            text-align: center;
        }

        #testimonios h2 {
            font-size: 2.5rem;
            margin-bottom: 40px;
            color: var(--color-texto);
        }

        .carrusel {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 60px;
            flex-wrap: wrap;
        }

        .testimonio {
            width: 300px;
            background: var(--color-card);
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 0 10px var(--color-sombra);
            animation: fadeIn 1s ease;
        }

        .testimonio img {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 15px;
        }

        .testimonio p {
            color: var(--color-gris);
            font-style: italic;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }
        
        .registro-section {
          padding: 100px 20px;
          background: var(--color-fondo);
          text-align: center;
        }
        
        .registro-section h2 {
          color: var(--color-texto);
          font-size: 2.3rem;
          margin-bottom: 10px;
        }
        
        .registro-section p {
          color: var(--color-gris);
          margin-bottom: 30px;
        }
        
        .gym-form {
          max-width: 500px;
          margin: 0 auto;
          background: var(--color-card);
          padding: 40px 30px;
          border-radius: 20px;
          box-shadow: 0 5px 20px var(--color-sombra);
          display: flex;
          flex-direction: column;
          gap: 20px;
        }
        
        .form-group {
          text-align: left;
        }
        
        .form-group label {
          display: block;
          font-weight: 600;
          margin-bottom: 5px;
          color: var(--color-texto);
        }
        
        .form-group input {
          width: 100%;
          padding: 12px 15px;
          border-radius: 10px;
          border: 1px solid #ccc;
          font-size: 16px;
          background: var(--color-secundario);
          color: var(--color-texto);
          transition: var(--transicion);
        }
        
        .form-group input:focus {
          outline: none;
          border-color: var(--color-primario);
          box-shadow: 0 0 5px var(--color-sombra);
        }
        
        .btn-enviar {
          display: block;
          margin: 0 auto;
          width: 40%;
          background: var(--color-primario);
          color: white;
          font-size: 16px;
          font-weight: bold;
          padding: 12px 30px;
          border: none;
          border-radius: 30px;
          cursor: pointer;
          transition: var(--transicion);
        }
        
        .btn-enviar:hover {
          background: white;
          color: var(--color-primario);
          box-shadow: 0 4px 15px rgba(7, 16, 93, 0.4);
          transform: translateY(-3px);
        }
        
        .mensaje-exito {
          margin-top: 20px;
          color: #2ecc71;
          font-weight: bold;
        }
        
        footer {
            background: var(--color-primario);
            color: var(--color-texto);
            padding: 60px 20px 30px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 -3px 10px rgba(0,0,0,0.3);
        }
        
        .footer-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            max-width: 1200px;
            margin: 0 auto;
            gap: 40px;
        }
        
        .footer-logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .footer-logo img {
            width: 50px;
            height: 50px;
            filter: brightness(0) invert(1);
        }
        
        .footer-logo h2 {
            font-size: 1.5rem;
            color: white;
        }
        
        .footer-social a {
            color: white;
            font-size: 1.3rem;
            margin: 0 10px;
            transition: transform 0.3s, color 0.3s;
        }
        
        .footer-social a:hover {
            color: var(--color-terceario);
            transform: scale(1.2);
        }
        
        .footer-bottom {
            text-align: center;
            border-top: 1px solid rgba(255,255,255,0.1);
            margin-top: 30px;
            padding-top: 15px;
            font-size: 0.9rem;
            color: #ccc;
        }
        
        .footer-bottom strong {
            color: var(--color-terceario);
        }
        
        .oferta-instalacion{
            margin-bottom:20px;
            padding:14px 16px;
            border-radius:14px;
            background:linear-gradient(135deg,#fff4e6,#ffe0b2);
            border:1px solid rgba(255,152,0,0.6);
            box-shadow:0 0 10px rgba(255,152,0,0.25);
            display:flex;
            flex-direction:column;
            gap:6px;
            animation: glowNaranja 3s infinite alternate;
        }
        
        /* ETIQUETA */
        .oferta-badge{
            display:inline-flex;
            align-items:center;
            gap:6px;
            font-size:11px;
            font-weight:700;
            color:#FF9800;
            letter-spacing:1px;
            text-transform:uppercase;
        }
        
        .oferta-badge i{
            color:#ffb703;
            animation: pulso 1.5s infinite alternate;
        }
        
        /* TEXTO */
        .oferta-texto{
            font-size:14px;
            color:#5a3b00;
        }
        
        .oferta-texto strong{
            color:#e65100;
            font-weight:700;
        }
        
        /* EFECTOS */
        @keyframes glowNaranja{
            from { box-shadow:0 0 6px rgba(255,152,0,0.2); }
            to   { box-shadow:0 0 16px rgba(255,152,0,0.45); }
        }
        
        @keyframes pulso{
            from { transform: scale(1); }
            to   { transform: scale(1.18); }
        }
        
        .bonus-card{
            margin-bottom: 20px;
            padding:16px;
            border-radius:16px;
            display:flex;
            flex-direction:column;
            gap:8px;
            background:linear-gradient(135deg,#fff4e6,#ffe0b2);
            border:1px solid rgba(255,152,0,0.6);
            box-shadow:0 0 12px rgba(255,152,0,0.25);
            animation: glowBonus 3s infinite alternate;
        }
        
        /* ETIQUETA */
        .bonus-badge{
            display:inline-flex;
            align-items:center;
            gap:6px;
            font-size:11px;
            font-weight:700;
            color:#FF9800;
            letter-spacing:1px;
            text-transform:uppercase;
        }
        
        .bonus-badge i{
            color:#ffb703;
            animation: fuegoIcon 1.5s infinite alternate;
        }
        
        /* NOMBRE */
        .bonus-name{
            font-size:16px;
            font-weight:600;
            color:#5a3b00;
        }
        
        .bonus-name span{
            font-size:13px;
            color:#e65100;
            font-weight:400;
        }
        
        /* OFERTA */
        .bonus-offer{
            display:flex;
            flex-direction:column;
            gap:2px;
            font-size:13px;
        }
        
        .precio-antiguo{
            text-decoration:line-through;
            color:#c77700;
        }
        
        .gratis{
            font-weight:700;
            color:#d84315;
            font-size:14px;
        }
        
        .detalle{
            color:#6d4c00;
        }
        
        /* EFECTOS */
        @keyframes glowBonus{
            from { box-shadow:0 0 6px rgba(255,152,0,0.2); }
            to   { box-shadow:0 0 16px rgba(255,152,0,0.45); }
        }
        
        @keyframes fuegoIcon{
            from { transform: scale(1); }
            to   { transform: scale(1.18); }
        }

        /* ============================= */
/* 🌐 RESPONSIVE DESIGN FULVENTAS */
/* ============================= */

/* Dispositivos medianos (tablets, 1024px hacia abajo) */
@media (max-width: 1024px) {
  header {
    padding: 15px 30px;
  }

  header h1 {
    font-size: 1.3rem;
  }

  .carousel-caption h2 {
    font-size: 1.6rem;
  }

  .carousel-caption p {
    font-size: 0.9rem;
  }

  #planes h2 {
    font-size: 2rem;
  }

  .plan {
    width: 280px;
    padding: 25px 20px;
  }

  .hero h2 {
    font-size: 2.3rem;
  }
}

/* Dispositivos pequeños (celulares en horizontal, 768px hacia abajo) */
@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
    padding: 15px 20px;
  }

  nav ul {
    display: none; /* ocultamos menú normal */
  }

  /* --- Menú hamburguesa --- */
  .menu-toggle {
    display: block;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
  }

  .menu-open nav ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 75px;
    right: 0;
    background: var(--color-primario);
    width: 100%;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  }

  nav ul li {
    margin: 10px 0;
  }

  .carousel {
    height: 50vh;
  }

  .carousel-caption h2 {
    font-size: 1.3rem;
  }

  .carousel-caption p {
    font-size: 0.85rem;
  }

  .hero {
    height: 50vh;
    padding: 0 10px;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .planes-container {
    flex-direction: column;
    gap: 30px;
  }

  .plan {
    width: 90%;
  }

  .registro-section {
    padding: 80px 10px;
  }

  .gym-form {
    width: 90%;
    padding: 30px 20px;
  }

  footer .footer-container {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .footer-logo h2 {
    font-size: 1.3rem;
  }
}

/* Móviles muy pequeños (480px hacia abajo) */
@media (max-width: 480px) {
  header h1 {
    font-size: 1.1rem;
  }

  .logo {
    width: 38px;
    height: 38px;
  }

  .btn-unirme {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .carousel-caption h2 {
    font-size: 1.1rem;
  }

  .carousel-caption p {
    font-size: 0.8rem;
  }

  .plan {
    width: 100%;
    padding: 25px 15px;
  }
  
  .plan h2{
    z-index: 999;
  }

  .plan h3 {
    font-size: 1.2rem;
  }

  .plan ul li {
    font-size: 0.85rem;
  }

  .btn-ver-mas {
    width: 80%;
    font-size: 0.9rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .btn-enviar {
    width: 70%;
  }
}
