/* ===================================================================
   HAMMER GYM BENIDORM - Premium Dark Fitness Theme
   ================================================================= */

/* --- CSS Variables --- */
:root {
    --primary: #FF4500;
    --primary-light: #FF6B3D;
    --primary-dark: #CC3700;
    --secondary: #FFB800;
    --accent: #00E5FF;
    --dark: #0A0A0F;
    --dark-card: #12121A;
    --dark-surface: #1A1A25;
    --dark-border: #252535;
    --text: #E8E8F0;
    --text-muted: #C2C2D8;
    --success: #25D366;
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-dark: linear-gradient(180deg, var(--dark) 0%, #0D0D15 100%);
    --gradient-card: linear-gradient(145deg, rgba(26, 26, 37, 0.9), rgba(18, 18, 26, 0.95));
    --shadow-glow: 0 0 30px rgba(255, 69, 0, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-elevated: 0 16px 48px rgba(0, 0, 0, 0.5);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--primary);
    color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* Anular el .text-muted de Bootstrap para todo el sitio */
.text-muted {
    color: var(--text-muted) !important;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Utilities --- */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 1rem;
    padding: 6px 16px;
    border: 1px solid rgba(255, 69, 0, 0.3);
    border-radius: 50px;
    background: rgba(255, 69, 0, 0.08);
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    letter-spacing: 0.02em;
}

.glass-card {
    background: rgba(18, 18, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
}

/* --- Top Bar --- */
.top-bar {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--dark-border);
    position: relative;
    z-index: 1040;
}

.top-bar i {
    color: var(--primary);
    margin-right: 4px;
}

.top-bar .top-social a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.top-bar .top-social a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* --- Navbar --- */
.navbar {
    background: transparent;
    padding: 1rem 0;
    transition: var(--transition);
    top: 37px;
    z-index: 1030;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    padding: 0.6rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    top: 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
}

.brand-logo-img {
    height: 62px;
    width: auto;
    display: block;
    transition: var(--transition);
    filter: drop-shadow(0 0 12px rgba(0, 170, 255, 0.28));
}

.navbar-brand:hover .brand-logo-img {
    transform: translateY(-1px) scale(1.03);
}

.navbar.scrolled .brand-logo-img {
    height: 54px;
}

.offcanvas-logo-img {
    height: 28px;
    width: auto;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #fff;
    letter-spacing: 4px;
}

.brand-sub {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
}

.navbar-toggler {
    border: none;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
}

.navbar-toggler span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
    border-radius: 2px;
}

.navbar-toggler:hover span {
    background: var(--primary);
}

.nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* Offcanvas mobile menu */
.offcanvas {
    background: var(--dark-card) !important;
    border-left: 1px solid var(--dark-border) !important;
    width: 290px !important;
}

.offcanvas-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--dark-border);
}

.offcanvas-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.offcanvas-body .navbar-nav {
    flex-direction: column;
    margin-bottom: 1rem;
}

.offcanvas-body .nav-link {
    font-size: 1rem !important;
    padding: 0.85rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.offcanvas-body .nav-link::after {
    display: none;
}

.offcanvas-body .nav-link:hover {
    color: var(--primary) !important;
    padding-left: 6px !important;
}

.offcanvas-body .btn {
    width: 100%;
    text-align: center;
    padding: 13px 20px;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 8px;
}

.offcanvas-info {
    padding-top: 1rem;
    border-top: 1px solid var(--dark-border);
}

.offcanvas-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.offcanvas-info p i {
    color: var(--primary);
    font-size: 0.9rem;
}

.offcanvas-title {
    font-family: var(--font-heading);
    letter-spacing: 3px;
    color: var(--primary) !important;
}

/* CTA buttons: flex en desktop, columna en mobile */
.cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    background: var(--gradient-primary);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    padding: 10px 26px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transition);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-weight: 600;
    padding: 10px 26px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-success:hover {
    background: #20c05c;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.3) saturate(0.8);
    transform: scale(1.05);
    animation: heroZoom 20s ease alternate infinite;
}

@keyframes heroZoom {
    0% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.9) 0%, rgba(10, 10, 15, 0.5) 50%, rgba(10, 10, 15, 0.8) 100%);
    z-index: 1;
}

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

.hero-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 8s linear infinite;
}

.hero-particles span:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.hero-particles span:nth-child(2) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 10s;
    width: 6px;
    height: 6px;
}

.hero-particles span:nth-child(3) {
    left: 50%;
    animation-delay: 4s;
    animation-duration: 12s;
    background: var(--secondary);
}

.hero-particles span:nth-child(4) {
    left: 70%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.hero-particles span:nth-child(5) {
    left: 90%;
    animation-delay: 3s;
    animation-duration: 11s;
    background: var(--accent);
    width: 3px;
    height: 3px;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

.z-2 {
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 69, 0, 0.15);
    border: 1px solid rgba(255, 69, 0, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.hero-badge i {
    margin-right: 6px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    line-height: 0.95;
    color: #fff;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 550px;
}

.hero-subtitle strong {
    color: #fff;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #fff;
    display: block;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 2px;
}

/* Hero Card */
.hero-card {
    padding: 2rem;
}

.hero-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.hero-card-header i {
    font-size: 2rem;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.hero-card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.hero-form input,
.hero-form select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.hero-form input:focus,
.hero-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.15);
}

.hero-form select option {
    background: var(--dark);
    color: #fff;
}

.hero-card-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
    margin-bottom: 0;
}

.hero-card-note i {
    color: var(--success);
    margin-right: 4px;
}

.trial-offer-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 145, 0, 0.35);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.trial-offer-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: radial-gradient(circle at 20% 15%, rgba(255, 145, 0, 0.24), transparent 45%);
    pointer-events: none;
}

.trial-offer-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(255, 179, 0, 0.65);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 24px rgba(255, 128, 0, 0.25);
}

.offer-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 102, 0, 0.15);
    border: 1px solid rgba(255, 145, 0, 0.45);
    color: #ffb347;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.offer-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.offer-text {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.offer-text strong {
    color: #fff;
}

.offer-price {
    font-family: var(--font-heading);
    font-size: 3.3rem;
    line-height: 1;
    letter-spacing: 2px;
    color: #ffb800;
    margin-bottom: 1.1rem;
    text-shadow: 0 0 20px rgba(255, 145, 0, 0.24);
}

.offer-price small {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 1px;
}

.offer-actions .btn {
    font-size: 1rem;
    padding: 14px 22px;
}

/* Hero Scroll */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: none;
    transition: var(--transition);
}

.hero-scroll a:hover {
    color: var(--primary);
}

.hero-scroll i {
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(8px);
    }

    60% {
        transform: translateY(4px);
    }
}

/* --- Oferta móvil (hero CTA strip) --- */
.hero-mobile-offer {
    background: linear-gradient(135deg, rgba(0,180,216,.15), rgba(0,150,180,.08));
    border-top: 1px solid rgba(0,180,216,.25);
    border-bottom: 1px solid rgba(0,180,216,.25);
    padding: 12px 0;
}
.hero-mobile-offer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.hero-mobile-offer-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}
.hero-mobile-offer-left .offer-pill {
    font-size: .7rem;
    padding: 2px 8px;
    display: inline-flex;
    width: fit-content;
    margin-bottom: 2px;
}

/* --- Marquee --- */
.marquee-strip {
    background: var(--gradient-primary);
    padding: 14px 0;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    gap: 0;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    letter-spacing: 4px;
    color: #fff;
    padding: 0 1rem;
}

.marquee-content .dot {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- About Section --- */
.about-section {
    padding: 8rem 0;
    background: var(--gradient-dark);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 69, 0, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
}

.about-img-main img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-img-main:hover img {
    transform: scale(1.05);
}

.about-img-float {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 4px solid var(--dark);
    box-shadow: var(--shadow-card);
}

.about-img-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-experience {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--gradient-primary);
    padding: 1.2rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-glow);
}

.exp-icon {
    font-size: 1.5rem;
    color: #fff;
}

.exp-text {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 2px;
    line-height: 1.2;
}

.about-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.about-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feat {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.about-feat i {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.about-feat h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.about-feat p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 400;
}

/* --- Services --- */
.services-section {
    padding: 8rem 0;
    background: var(--dark);
    position: relative;
}

.service-card {
    background: var(--gradient-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 69, 0, 0.3);
    box-shadow: var(--shadow-glow);
}

.service-card.featured {
    border-color: rgba(255, 69, 0, 0.4);
    background: linear-gradient(145deg, rgba(255, 69, 0, 0.08), rgba(18, 18, 26, 0.95));
}

.service-card.featured::before {
    transform: scaleX(1);
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gradient-primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius);
    background: rgba(255, 69, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    transform: rotate(-5deg) scale(1.05);
}

.service-card:hover .service-icon i {
    color: #fff;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.service-tags span {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.service-card:hover .service-tags span {
    border-color: rgba(255, 69, 0, 0.3);
    color: var(--primary-light);
}

/* --- Facilities --- */
.facilities-section {
    padding: 8rem 0;
    background: var(--gradient-dark);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
}

.facility-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    height: 280px;
}

.facility-item.large {
    grid-column: span 2;
    height: 320px;
}

.facility-item.tall {
    grid-row: span 2;
    height: 100%;
}

.facility-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, filter 0.5s ease;
}

.facility-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.5);
}

.facility-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.facility-item:hover .facility-overlay {
    transform: translateY(0);
    opacity: 1;
}

.facility-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 4px;
}

.facility-overlay p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* --- Pricing --- */
.pricing-section {
    padding: 8rem 0;
    background: var(--dark-surface);
    position: relative;
    overflow: hidden;
}

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

.pricing-card {
    background: var(--gradient-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    height: 100%;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elevated);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(145deg, rgba(255, 69, 0, 0.1), rgba(18, 18, 26, 0.95));
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: #fff;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 3px;
    margin-bottom: 4px;
}

.pricing-header p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.pricing-price {
    text-align: center;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 10px;
}

.pricing-price .amount {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1;
    color: #fff;
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 40px;
}

.pricing-save {
    text-align: center;
    font-size: 0.8rem;
    color: var(--success);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.pricing-features li i {
    font-size: 1rem;
}

.pricing-features li .bi-check-circle-fill {
    color: var(--primary);
}

.pricing-features li .bi-x-circle {
    color: var(--text-muted);
    opacity: 0.4;
}

.pricing-features li.disabled {
    color: var(--text-muted);
    opacity: 0.5;
}

/* --- Trainers --- */
.trainers-section {
    padding: 8rem 0;
    background: var(--dark);
}

.trainer-card {
    background: var(--gradient-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.trainer-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(255, 69, 0, 0.3);
}

.trainer-img {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.trainer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.trainer-card:hover .trainer-img img {
    transform: scale(1.1);
}

.trainer-social {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.trainer-card:hover .trainer-social {
    opacity: 1;
    transform: translateY(0);
}

.trainer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
}

.trainer-social a:hover {
    transform: scale(1.1);
}

.trainer-info {
    padding: 1.5rem;
    text-align: center;
}

.trainer-info h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.trainer-info span {
    display: block;
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-weight: 600;
}

.trainer-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Reviews */
.reviews-section {
    padding: 6rem 0;
    background: var(--gradient-dark);
}

.review-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    padding: 10px 24px;
    border-radius: 50px;
    margin-top: 1rem;
}

.review-rating-badge i.bi-google {
    font-size: 1.3rem;
    color: #4285F4;
}

.review-rating-badge strong {
    font-size: 1.3rem;
    color: #fff;
}

.review-rating-badge .stars {
    display: flex;
    gap: 2px;
    color: var(--secondary);
    font-size: 0.9rem;
}

.review-meta {
    color: rgba(255, 255, 255, 0.86) !important;
    font-size: 0.95rem;
    line-height: 1.4;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

/* Slider: usa scroll nativo con snap — funciona perfectamente en mobile y desktop */
.reviews-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    scroll-behavior: smooth;
    padding-bottom: 4px;
    /* evita que se corte sombra card */
}

.reviews-slider::-webkit-scrollbar {
    display: none;
    /* Chrome / Safari / Edge */
}

.review-card {
    scroll-snap-align: start;
    flex-shrink: 0;
    background: var(--gradient-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.review-card:hover {
    border-color: rgba(255, 69, 0, 0.3);
    transform: translateY(-4px);
}

/* Error state en formularios */
.hero-form input.error,
.hero-form select.error {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.2);
}

.review-stars {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-card blockquote {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text);
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 0;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

/* Avatar con inicial cuando no hay foto */
.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #fff;
    flex-shrink: 0;
}

.review-author strong {
    display: block;
    font-size: 0.9rem;
}

.review-author span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Barra superiror badge Google en reviews */
.review-google-bar {
    flex-wrap: wrap;
    gap: 10px 16px;
}

.review-google-bar .review-meta {
    font-size: 0.85rem;
}

.reviews-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.review-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--dark-border);
    background: var(--dark-card);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.review-nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.reviews-dots {
    display: flex;
    gap: 8px;
}

.reviews-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--dark-border);
    cursor: pointer;
    transition: var(--transition);
}

.reviews-dots .dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.2) saturate(0.7);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.9), rgba(255, 69, 0, 0.1));
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 3px;
}

/* --- Schedule --- */
.schedule-section {
    padding: 8rem 0;
    background: var(--dark);
}

.schedule-table {
    background: var(--gradient-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.schedule-table .table {
    margin: 0;
    color: var(--text);
}

.schedule-table thead th {
    background: rgba(255, 69, 0, 0.1);
    border-bottom: 2px solid var(--primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-align: center;
    padding: 1rem;
    color: #fff;
}

.schedule-table tbody td {
    text-align: center;
    padding: 1rem 0.5rem;
    border-color: var(--dark-border);
    font-size: 0.85rem;
    vertical-align: middle;
    transition: var(--transition);
}

.schedule-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.time-cell {
    font-family: var(--font-heading);
    font-size: 1.1rem !important;
    letter-spacing: 1px;
    color: var(--primary) !important;
    font-weight: 700;
}

.class-cross {
    color: #FF6B3D;
    font-weight: 600;
}

.class-boxing {
    color: #FF4500;
    font-weight: 600;
}

.class-hiit {
    color: #FFB800;
    font-weight: 600;
}

.class-power {
    color: #00E5FF;
    font-weight: 600;
}

.class-func {
    color: #7C4DFF;
    font-weight: 600;
}

/* --- Contact --- */
.contact-section {
    padding: 8rem 0;
    background: var(--gradient-dark);
}

.contact-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: rgba(255, 69, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
    color: var(--primary);
}

.contact-item strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.contact-item p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.contact-item p a {
    color: var(--primary-light);
}

.contact-social {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.social-btn.whatsapp:hover {
    background: var(--success);
    border-color: var(--success);
}

/* Map */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--dark-border);
    height: 500px;
    box-shadow: var(--shadow-card);
}

.map-container iframe {
    filter: brightness(0.85) contrast(1.1) saturate(0.7);
    transition: filter 0.4s;
}

.map-container:hover iframe {
    filter: brightness(1) contrast(1) saturate(1);
}

/* --- Footer --- */
.footer {
    background: var(--dark-card);
    border-top: 1px solid var(--dark-border);
    padding: 4rem 0 0;
}

.footer-main {
    display: flex;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--dark-border);
}

.footer-brand {
    flex: 0 0 35%;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 78px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 12px rgba(0, 170, 255, 0.28));
}

.footer-logo .brand-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #fff;
    letter-spacing: 4px;
    display: block;
}

.footer-logo .brand-sub {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    display: block;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    gap: 3rem;
    flex: 1;
}

.gallery-placeholder {
    display: none; /* eliminado — ya no se usa */
}

/* ===== GALLERY GRID ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 320px 280px;
    gap: 14px;
    margin-top: 2.5rem;
}

/* Foto grande: ocupa toda la columna izquierda (2 filas) */
.gallery-item--main {
    grid-row: span 2;
}

/* Foto superior derecha */
.gallery-item--top {
    grid-row: 1;
}

/* Tarjeta IG inferior derecha */
.gallery-item--ig {
    grid-row: 2;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease, filter 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.07);
    filter: brightness(0.55);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 1.8rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.82));
    transform: translateY(6px);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-tag {
    display: inline-block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-light);
    background: rgba(255,69,0,0.18);
    border: 1px solid rgba(255,69,0,0.35);
    border-radius: 50px;
    padding: 3px 10px;
    margin-bottom: 6px;
}

.gallery-item-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 3px;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

/* Tarjeta Instagram */
.gallery-item--ig {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border: 1px solid rgba(131,58,180,0.4);
    cursor: default;
    overflow: visible;
}

.gallery-ig-inner {
    text-align: center;
    padding: 1.5rem 2rem;
    width: 100%;
}

.gallery-ig-icon {
    font-size: 2.2rem;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
    line-height: 1;
}

.gallery-ig-handle {
    font-family: var(--font-heading);
    letter-spacing: 2px;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 8px;
}

.gallery-ig-text {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-ig-btn {
    border-color: rgba(255,255,255,0.3);
    font-size: 0.82rem;
    padding: 7px 18px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.gallery-ig-btn:hover {
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    border-color: transparent;
    color: #fff;
}

.gallery-ig-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.gallery-ig-stats div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.gallery-ig-stats strong {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #fff;
    letter-spacing: 1px;
}

.gallery-ig-stats span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* Responsive gallery grid */
@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 280px 240px auto;
    }
    .gallery-item--main { grid-row: 1; }
    .gallery-item--top  { grid-row: 2; }
    .gallery-item--ig   { grid-row: 3; min-height: 220px; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .gallery-grid {
        grid-template-rows: 280px 240px;
    }
}

.footer-col h5 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
    color: #fff;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 4px 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--primary-light);
}

/* --- Floating Buttons --- */
.floating-buttons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    text-decoration: none;
}

.float-btn:hover {
    transform: scale(1.1) translateY(-3px);
    color: #fff;
}

.insta-float {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.insta-float:hover {
    box-shadow: 0 0 20px rgba(221, 42, 123, 0.45);
}

.phone-float {
    background: var(--gradient-primary);
}

.phone-float:hover {
    box-shadow: var(--shadow-glow);
}

.whatsapp-float {
    background: var(--success);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
    animation: none;
}

@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(18, 18, 26, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--dark-border);
    padding: 1rem 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cookie-content p i {
    color: var(--success);
    margin-right: 6px;
}

.cookie-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* ===========================================
   RESPONSIVE - REVISIÓN MOBILE COMPLETA
   =========================================== */

/* ---- Tablet grande (< 1199px) ---- */
@media (max-width: 1199px) {
    .review-card {
        flex: 0 0 calc(50% - 0.75rem);
    }

    .hero-title {
        font-size: clamp(3rem, 6vw, 5rem);
    }
}

/* ---- Tablet / Landscape (< 991px) ---- */
@media (max-width: 991px) {

    /* Top bar oculta */
    .top-bar {
        display: none;
    }

    /* Navbar siempre pegada arriba y sólida */
    .navbar {
        top: 0 !important;
        background: rgba(10, 10, 15, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        padding: 0.7rem 0 !important;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5) !important;
    }

    /* Offcanvas menu móvil bien estilado */
    .offcanvas {
        width: 280px !important;
        background: var(--dark-card) !important;
        border-left: 1px solid var(--dark-border) !important;
    }

    .offcanvas-header {
        padding: 1.5rem;
        border-bottom: 1px solid var(--dark-border);
    }

    .offcanvas-body {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .offcanvas-body .navbar-nav {
        flex-direction: column;
        gap: 0;
        margin-bottom: 1.5rem;
    }

    .offcanvas-body .nav-link {
        font-size: 1.1rem !important;
        padding: 0.9rem 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        letter-spacing: 2px;
    }

    .offcanvas-body .nav-link::after {
        display: none;
    }

    .offcanvas-body .btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 1rem;
    }

    /* Hero */
    .hero {
        min-height: 100svh;
    }

    .hero-title {
        font-size: 3.2rem;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-stats {
        gap: 2rem;
    }

    .hero-scroll {
        display: none;
    }

    /* About */
    .about-img-float {
        display: none;
    }

    .about-img-main img {
        height: 430px;
    }

    .about-experience {
        top: -10px;
        left: -10px;
        padding: 0.8rem;
    }

    .about-features {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    /* Facilities */
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .facility-item.large {
        grid-column: span 2;
        height: 260px;
    }

    .facility-item.tall {
        grid-row: span 1;
        height: 220px;
    }

    .facility-item {
        height: 200px;
    }

    /* Reveal overlay siempre visible en touch */
    .facility-overlay {
        opacity: 1;
        transform: translateY(0);
    }

    /* Pricing: sin escala que rompe layout */
    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-6px);
    }

    /* Reviews */
    .review-card {
        flex: 0 0 calc(50% - 0.75rem);
    }

    /* Footer */
    .footer-main {
        flex-direction: column;
        gap: 2rem;
        padding-bottom: 2rem;
    }

    .footer-brand {
        flex: 1;
        max-width: 100%;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .footer-col {
        flex: 0 0 calc(33% - 1rem);
    }
}

/* ---- Mobile portrait (< 768px) ---- */
@media (max-width: 767px) {

    /* Secciones: padding reducido */
    .about-section,
    .services-section,
    .facilities-section,
    .pricing-section,
    .trainers-section,
    .reviews-section,
    .schedule-section,
    .contact-section,
    .cta-section {
        padding: 4.5rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .section-label {
        font-size: 0.7rem;
        letter-spacing: 2px;
        padding: 5px 12px;
    }

    /* Hero */
    .hero {
        min-height: 100svh;
        padding-top: 70px;
    }

    .hero-title {
        font-size: 2.6rem;
        line-height: 1;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
        margin-bottom: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    /* Stats en fila compacta */
    .hero-stats {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid var(--dark-border);
        border-radius: var(--radius);
        padding: 1rem;
    }

    .stat-item {
        text-align: center;
        flex: 1;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-suffix {
        font-size: 1.1rem;
    }

    .stat-label {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    /* About */
    .about-images {
        margin-bottom: 0;
    }

    .about-img-main img {
        height: 340px;
    }

    .about-experience {
        display: none;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-intro {
        font-size: 1rem;
    }

    /* Services: 1 columna */
    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1rem;
    }

    .service-icon i {
        font-size: 1.4rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    /* Facilities: 1 columna */
    .facilities-grid {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .facility-item,
    .facility-item.large,
    .facility-item.tall {
        height: 200px;
        width: 100%;
    }

    /* En móvil overlay visible siempre */
    .facility-overlay {
        opacity: 1;
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    }

    .facility-overlay h3 {
        font-size: 1.2rem;
    }

    /* Pricing */
    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-price .amount {
        font-size: 3.5rem;
    }

    .pricing-price .currency {
        font-size: 1.2rem;
        margin-top: 8px;
    }

    .pricing-price .period {
        font-size: 0.9rem;
        margin-top: 30px;
    }

    .pricing-features li {
        font-size: 0.85rem;
        padding: 7px 0;
    }

    /* Trainers: 2 columnas en mobile */
    .trainer-card .trainer-img {
        height: 240px;
    }

    .trainer-info h4 {
        font-size: 1.2rem;
    }

    /* Forzar social visible en touch */
    .trainer-social {
        opacity: 1;
        transform: translateY(0);
    }

    /* Reviews */
    .review-card {
        flex: 0 0 100%;
    }

    .reviews-nav {
        gap: 0.75rem;
        margin-top: 1.5rem !important;
    }

    .review-nav-btn {
        width: 40px;
        height: 40px;
    }

    .review-rating-badge {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 8px 16px;
    }

    .review-card blockquote {
        font-size: 0.9rem;
    }


    /* CTA en mobile: botones apilados */
    .cta-btns {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
        margin: 0 auto;
        gap: 0.75rem;
    }

    .cta-btns .btn {
        width: 100%;
        justify-content: center;
    }

    /* Schedule */
    .schedule-section .table-responsive {
        border-radius: var(--radius);
        -webkit-overflow-scrolling: touch;
    }

    .schedule-table .table thead th {
        font-size: 0.8rem;
        padding: 0.7rem 0.5rem;
        white-space: nowrap;
    }

    .schedule-table .table tbody td {
        font-size: 0.75rem;
        padding: 0.6rem 0.4rem;
        white-space: nowrap;
    }

    .time-cell {
        font-size: 0.85rem !important;
    }

    /* Contact */
    .contact-section h2 {
        font-size: 2rem;
    }

    .map-container {
        height: 300px;
        border-radius: var(--radius);
    }

    .contact-item {
        gap: 0.8rem;
    }

    .contact-icon {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
    }

    .contact-social {
        flex-wrap: wrap;
        gap: 10px;
    }

    .social-btn {
        width: 42px;
        height: 42px;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 0;
    }

    .footer-main {
        gap: 2rem;
        padding-bottom: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-col {
        flex: 1;
        min-width: 0;
    }

    .footer-bottom {
        font-size: 0.75rem;
        padding: 1.2rem 0;
    }

    .footer-socials {
        flex-wrap: wrap;
    }

    /* Floating buttons */
    .floating-buttons {
        bottom: 16px;
        right: 14px;
        gap: 10px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    /* Cookie */
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 0.5rem 0;
    }

    .cookie-content p {
        font-size: 0.8rem;
    }

    .cookie-actions {
        justify-content: center;
    }

    /* Back to top */
    .back-to-top {
        right: 16px;
        bottom: 90px;
        width: 40px;
        height: 40px;
    }

    /* Buttons globales */
    .btn-primary,
    .btn-outline-primary,
    .btn-success,
    .btn-outline-light {
        padding: 12px 22px;
        font-size: 0.875rem;
    }
}

/* ---- Mobile pequeño (< 480px) ---- */
@media (max-width: 480px) {

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-badge {
        font-size: 0.7rem;
    }

    /* Stats en 3 columnas iguales */
    .hero-stats {
        padding: 0.8rem 0.5rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-suffix {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.6rem;
        letter-spacing: 0;
    }

    /* Brand más compacto */
    .brand-name {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    .brand-sub {
        font-size: 0.55rem;
        letter-spacing: 1.5px;
    }

    .brand-logo-img {
        height: 46px;
    }

    /* Sections padding mínimo */
    .about-section,
    .services-section,
    .facilities-section,
    .pricing-section,
    .trainers-section,
    .reviews-section,
    .schedule-section,
    .contact-section,
    .cta-section {
        padding: 3.5rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    /* About */
    .about-img-main img {
        height: 290px;
    }

    .about-feat i {
        font-size: 1.2rem;
    }

    .about-feat h5 {
        font-size: 0.85rem;
    }

    .about-feat p {
        font-size: 0.75rem;
    }

    /* Facilities */
    .facility-item,
    .facility-item.large,
    .facility-item.tall {
        height: 170px;
    }

    .facility-overlay {
        padding: 1rem;
    }

    .facility-overlay h3 {
        font-size: 1rem;
    }

    /* Pricing */
    .pricing-price .amount {
        font-size: 3rem;
    }

    .pricing-card {
        padding: 1.5rem 1.2rem;
    }

    .pricing-popular {
        font-size: 0.7rem;
        padding: 4px 14px;
    }

    /* Trainers */
    .trainer-card .trainer-img {
        height: 200px;
    }

    /* Reviews */
    .review-card {
        padding: 1.2rem;
    }

    .review-card blockquote {
        font-size: 0.85rem;
    }

    .review-author img {
        width: 40px;
        height: 40px;
    }

    /* CTA */
    .cta-section h2 {
        font-size: 1.7rem;
    }

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

    /* Contact */
    .map-container {
        height: 250px;
    }

    /* Footer */
    .footer-logo .brand-name {
        font-size: 1.3rem;
    }

}

/* ===================================================================
   LANGUAGE SWITCHER
   =================================================================== */

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-btn {
    background: transparent;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    padding: 4px 6px;
    transition: all 0.25s ease;
    opacity: 0.55;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.lang-btn span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    font-family: var(--font-body);
}

.lang-btn:hover {
    opacity: 1;
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.07);
}

.lang-btn.active {
    opacity: 1;
    border-color: var(--primary);
    background: rgba(255,69,0,0.12);
    box-shadow: 0 0 10px rgba(255,69,0,0.25);
}

/* En el offcanvas los botones son más grandes */
#langSwitcherMobile .lang-btn {
    font-size: 1.4rem;
    padding: 6px 10px;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.12);
    width: 100%;
    justify-content: center;
    margin-bottom: 2px;
    background: rgba(255,255,255,0.04);
}

#langSwitcherMobile .lang-btn.active {
    border-color: var(--primary);
    background: rgba(255,69,0,0.15);
}

/* fin */
