:root {
    --bg: #edf7fb;
    --bg-soft: #f7fbfd;
    --paper: rgba(255, 255, 255, 0.84);
    --surface: #ffffff;
    --ink: #12303f;
    --muted: #56707c;
    --line: rgba(18, 48, 63, 0.14);
    --brand: #0f5672;
    --brand-deep: #09384b;
    --brand-soft: rgba(15, 86, 114, 0.12);
    --accent: #5ac5cf;
    --accent-strong: #3b9ea9;
    --accent-soft: rgba(90, 197, 207, 0.16);
    --gold: #91bb4b;
    --shadow: 0 28px 70px rgba(8, 42, 57, 0.14);
    --radius-xl: 36px;
    --radius-lg: 28px;
    --radius-md: 22px;
    --nav-height: 94px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 0.9rem);
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Plus Jakarta Sans", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(90, 197, 207, 0.18), transparent 26%),
        radial-gradient(circle at bottom right, rgba(145, 187, 75, 0.15), transparent 24%),
        linear-gradient(180deg, var(--bg) 0%, #ffffff 36%, var(--bg-soft) 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(18, 48, 63, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 48, 63, 0.025) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 96%);
    pointer-events: none;
}

h1,
h2,
h3,
.navbar-nav .nav-link,
.section-kicker,
.eyebrow {
    font-family: "Barlow Condensed", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.main-nav {
    backdrop-filter: blur(18px);
    background: rgba(247, 251, 253, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 34px rgba(10, 35, 46, 0.06);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    width: 158px;
    max-height: 68px;
    object-fit: contain;
}

.navbar-toggler {
    border: 0;
    background: rgba(15, 86, 114, 0.08);
    border-radius: 16px;
    padding: 0.5rem 0.7rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 86, 114, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
    color: var(--muted);
    font-size: 1.12rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding-inline: 0.9rem !important;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--brand);
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1rem;
}

.lang-btn {
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    min-width: auto;
    padding: 0;
    transition: 0.2s ease;
    opacity: 0.65;
}

.lang-btn:hover,
.lang-btn.is-active {
    opacity: 1;
    transform: translateY(-1px);
}

.lang-flag {
    display: block;
    width: 30px;
    height: 20px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 6px 14px rgba(15, 86, 114, 0.16);
}

.hero-section,
.content-section,
.recommended-section {
    position: relative;
    padding: 5.5rem 0;
}

.hero-section {
    min-height: 100vh;
    padding-top: calc(var(--nav-height) + 2.4rem);
    display: flex;
    align-items: center;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(237, 247, 251, 0.7)),
        url("../img/hero-gym.jpg") center center / cover no-repeat;
}

.hero-panel,
.team-card,
.gym-feature,
.download-shell,
.contact-shell,
.recommended-card {
    background: var(--paper);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow);
}

.hero-panel {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(237, 247, 251, 0.9)),
        linear-gradient(90deg, var(--brand-soft), transparent);
}

.hero-copy {
    padding: 2.8rem;
}

.hero-copy-full {
    /*max-width: 58rem;*/
    min-height: 540px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand);
}

.eyebrow::before,
.section-kicker::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--accent));
    box-shadow: 0 0 0 7px rgba(145, 187, 75, 0.14);
}

.hero-copy h1,
.section-heading h2,
.contact-copy h2 {
    margin: 0;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.hero-copy h1 {
    font-size: clamp(2.5rem, 5vw, 3.6rem);
    /*max-width: 11ch;*/
}

.hero-text,
.section-heading p,
.section-heading div,
.about-story-copy div,
.gym-feature-copy div,
.gym-feature-copy p,
.download-heading p,
.contact-copy p,
.contact-row p,
.site-footer p {
    color: var(--muted);
    line-height: 1.75;
}

.hero-text {
    margin-top: 1rem;
    /*max-width: 34rem;*/
    font-size: 1rem;
}

.hero-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    gap: 1.25rem;
    align-items: start;
    margin-top: 1rem;
}

.hero-intro .hero-text {
    margin-top: 0;
}

.hero-support {
    display: flex;
    justify-content: center;
}

.hero-support-image {
    display: block;
    width: 100%;
    max-width: 320px;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 18px 36px rgba(15, 86, 114, 0.16);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1.75rem;
}

.btn-brand,
.btn-outline-brand {
    border-radius: 999px;
    padding: 0.95rem 1.45rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.btn-brand {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--accent-strong));
    border: 0;
    box-shadow: 0 18px 32px rgba(15, 86, 114, 0.22);
}

.btn-brand:hover {
    color: #fff;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-whatsapp i {
    font-size: 1.2rem;
}

.btn-outline-brand {
    color: var(--brand);
    border: 1px solid rgba(15, 86, 114, 0.18);
    background: rgba(255, 255, 255, 0.74);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.hero-stats-header {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 0.25rem;
}

.hero-stats-header strong {
    display: inline-block;
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(2.2rem, 5vw, 3rem);
    line-height: 1;
    color: var(--brand);
}

.hero-stat {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(162, 166, 187, 0.78);
    border: 1px solid rgba(15, 86, 114, 0.08);
    text-align: center;
}

.hero-stat strong {
    display: block;
    font-size: 1.7rem;
    color: var(--brand);
    line-height: 1;
}

.hero-stat span {
    display: block;
    margin-top: 0.35rem;
    color: var(--muted);
}

.hero-stat-icon {
    display: block;
    width: 82px;
    height: 82px;
    object-fit: contain;
    margin: 0 auto 0.7rem;
}

.section-heading {
    max-width: 48rem;
    margin-bottom: 2.5rem;
}

.section-heading-wide {
    max-width: 100%;
}

.section-heading-wide div,
.section-heading-wide p {
    max-width: none;
}

.section-heading h2,
.contact-copy h2 {
    font-size: clamp(2.4rem, 6vw, 4rem);
}

.section-dark {
    background:
        linear-gradient(160deg, rgba(9, 56, 75, 0.98), rgba(15, 86, 114, 0.96)),
        linear-gradient(180deg, rgba(90, 197, 207, 0.12), transparent);
    color: #fff;
}

.section-gym {
    background:
        linear-gradient(180deg, rgba(9, 56, 75, 0.9), rgba(9, 56, 75, 0.96)),
        url("../img/bg-head-clases.jpg") center top / cover no-repeat;
}

.section-gallery {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(237, 247, 251, 0.94)),
        url("../img/bg-head-gal.jpg") center top / cover no-repeat;
}

.section-heading-light h2,
.section-heading-light p,
.section-heading-light div,
.section-dark .section-kicker {
    color: #fff;
}

.section-dark .gym-feature h3,
.section-dark .benefit-item strong,
.section-dark .gym-feature-copy p,
.section-dark .gym-feature-copy div,
.section-dark .benefit-item p {
    color: rgba(255, 255, 255, 0.92);
}

.download-shell .section-kicker,
.download-shell .download-heading h3,
.download-shell .download-heading p {
    color: var(--ink);
}

.download-shell .section-kicker::before {
    box-shadow: 0 0 0 7px rgba(15, 86, 114, 0.12);
}

.section-dark .section-kicker::before {
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.12);
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 1.5rem;
    align-items: stretch;
}

.about-story {
    position: relative;
    min-height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(9, 56, 75, 0.18), rgba(9, 56, 75, 0.84)),
        url("../img/team-bg.jpg") center/cover no-repeat;
    box-shadow: var(--shadow);
}

.about-story-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(9, 56, 75, 0.12), rgba(9, 56, 75, 0.86)),
        linear-gradient(120deg, rgba(90, 197, 207, 0.08), transparent 45%);
}

.about-story-copy {
    position: relative;
    z-index: 1;
    padding: 2.4rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.about-story-copy h3 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.8rem;
}

.about-story-copy div,
.about-story-copy p {
    color: rgba(255, 255, 255, 0.9);
}

.team-highlight {
    display: grid;
    gap: 1.5rem;
}

.team-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 1rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(237, 247, 251, 0.82));
    border: 1px solid rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
}

.team-photo-shell {
    position: relative;
    padding: 0.55rem;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(90, 197, 207, 0.16), rgba(255, 255, 255, 0.7)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(15, 86, 114, 0.05));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 20px 38px rgba(15, 86, 114, 0.12);
}

.team-photo-shell::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 34px;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.38) 0%, rgba(90, 197, 207, 0.12) 45%, rgba(255, 255, 255, 0) 72%);
    filter: blur(10px);
    z-index: 0;
    pointer-events: none;
}

.team-photo-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.48),
        inset 0 0 28px rgba(255, 255, 255, 0.26);
    z-index: 1;
    pointer-events: none;
}

.team-photo {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 0.82;
    object-fit: cover;
    border-radius: 22px;
    filter: saturate(0.94) contrast(1.04) brightness(1.02);
    position: relative;
    z-index: 2;
}

.team-card-body {
    padding: 1.2rem 0.55rem 0.35rem;
}

.team-role {
    display: inline-block;
    margin-bottom: 0.4rem;
    color: var(--brand);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.team-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
}

.team-list {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--muted);
}

.team-list li + li {
    margin-top: 0.35rem;
}

.gym-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.5rem;
}

.gym-feature {
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    background: rgba(255, 255, 255, 0.1);
}

.gym-feature-large {
    display: grid;
    gap: 1.15rem;
}

.gym-image {
    width: 100%;
    min-height: 320px;
    max-height: 420px;
    object-fit: cover;
    border-radius: 22px;
    display: block;
}

.gym-feature h3,
.download-heading h3 {
    font-size: 2rem;
    margin-bottom: 0.7rem;
}

.gym-feature-copy p,
.benefit-item p,
.download-card p {
    margin-bottom: 0;
}

.benefit-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.4rem;
}

.benefit-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
    padding: 0.95rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.benefit-item strong,
.download-card strong {
    display: block;
    margin-bottom: 0.25rem;
}

.download-shell {
    border-radius: var(--radius-xl);
    margin-top: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.94);
}

.download-heading {
    max-width: 44rem;
    margin-bottom: 1.4rem;
}

.download-heading-wide {
    max-width: 100%;
}

.download-heading-wide p {
    max-width: none;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.download-card {
    border-radius: 24px;
    padding: 1.3rem;
    background: linear-gradient(180deg, rgba(15, 86, 114, 0.05), rgba(90, 197, 207, 0.08));
    border: 1px solid rgba(15, 86, 114, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: block;
}

.download-card:hover,
.recommended-card:hover,
.gallery-card:hover {
    transform: translateY(-4px);
}

.download-type {
    display: inline-flex;
    margin-bottom: 0.7rem;
    border-radius: 999px;
    padding: 0.35rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--brand);
    background: rgba(15, 86, 114, 0.08);
}

.download-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.85rem;
    border-radius: 18px;
    color: var(--brand);
    background: linear-gradient(135deg, rgba(145, 187, 75, 0.22), rgba(90, 197, 207, 0.18));
    font-size: 1.1rem;
}

.download-card strong {
    font-size: 1.15rem;
    color: var(--brand-deep);
}

.download-card p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-card {
    grid-column: span 4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 44px rgba(10, 35, 46, 0.12);
}

.gallery-card-wide {
    grid-column: span 8;
}

.gallery-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.section-soft {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(90, 197, 207, 0.08));
}

.contact-shell {
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1.5rem;
}

.contact-card-list {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(15, 86, 114, 0.08);
}

.contact-row {
    display: flex;
    gap: 1rem;
    align-items: start;
    padding: 0.2rem 1.35rem 0.1rem;
    /*0.65rem 1.35rem*/
    
}

.contact-row + .contact-row {
    border-top: 1px solid rgba(18, 48, 63, 0.1);
}

.contact-row i {
    width: 2rem;
    color: var(--brand);
    font-size: 1.7rem;
    margin-top: 0.1rem;
}

.contact-row strong {
    display: block;
    color: var(--ink);
    margin-bottom: 0.15rem;
    font-size: 1.1rem;
}

.recommended-section {
    padding-top: 0;
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.recommended-card {
    border-radius: 24px;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.88);
}

.recommended-logo {
    width: auto;
    max-width: 100%;
    max-height: 88px;
    object-fit: contain;
}

.site-footer {
    padding: 1.75rem 0 2.2rem;
    background: linear-gradient(90deg, #092533 0%, #11455b 100%);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: end;
    justify-content: space-between;
}

.footer-logo {
    width: auto;
    height: 44px;
    object-fit: contain;
    margin-bottom: 0.9rem;
}

.site-footer p,
.footer-powered {
    color: rgba(255, 255, 255, 0.86);
    margin: 0;
}

.footer-powered {
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.footer-powered-logo {
    display: block;
    width: auto;
    height: 34px;
    object-fit: contain;
}

.floating-whatsapp {
    position: fixed;
    right: 1.3rem;
    bottom: 1.3rem;
    z-index: 1030;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.9rem;
    height: 3.9rem;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #1cab5b, #43d97a);
    box-shadow: 0 18px 34px rgba(28, 171, 91, 0.28);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.floating-whatsapp i {
    font-size: 1.9rem;
}

.floating-whatsapp:hover {
    color: #fff;
    transform: translateY(-2px) scale(1.02);
}

.floating-whatsapp.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.96);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1199.98px) {
    .about-layout,
    .gym-grid,
    .contact-shell {
        grid-template-columns: 1fr;
    }

    .download-grid,
    .recommended-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .lang-switch {
        margin-top: 1.15rem;
    }

    .hero-copy {
        padding: 2.2rem;
    }

    .gallery-card,
    .gallery-card-wide {
        grid-column: span 6;
    }
}

@media (max-width: 767.98px) {
    .hero-section,
    .content-section,
    .recommended-section {
        padding: 4.4rem 0;
    }

    .hero-section {
        padding-top: calc(var(--nav-height) + 1.8rem);
    }

    .download-grid,
    .recommended-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-card,
    .gallery-card-wide {
        grid-column: span 12;
    }

    .contact-shell,
    .download-shell {
        padding: 1.4rem;
    }

    .hero-intro {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .brand-logo {
        width: 130px;
    }

    .navbar-brand {
        max-width: 72vw;
    }

    .hero-copy,
    .hero-copy-full {
        padding: 1.35rem;
    }

    .hero-copy h1 {
        max-width: none;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .floating-whatsapp {
        width: 3.5rem;
        height: 3.5rem;
        right: 1rem;
        bottom: 1rem;
    }
}
