* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
:root {
    --bg: #121212;
    --surf1: #1f1f1f;
    --surf2: #2e2e2e;
    --brand: #ffc300;
    --brand-d: #d4ac0d;
    --text: #ffffff;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
        sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: clamp(55px, 8vw, 90px);
    padding: 0 clamp(10px, 3vw, 30px);
    background-color: rgba(46, 46, 46, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    gap: clamp(6px, 1.5vw, 16px);
}

.nav-left {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.gym-logo {
    height: clamp(28px, 5vw, 55px);
    width: auto;
    flex-shrink: 0;
    transition: opacity 0.3s ease;
}

@media (max-width: 650px) {
    .gym-logo {
        content: url("https://res.cloudinary.com/dqcaqvplr/image/upload/v1740052973/xzz7r6cldz70lzphtg5p.png");
    }

    .nav-menu li a {
        font-size: clamp(12px, 2.2vw, 16px);
    }

    .client-access span {
        font-size: clamp(11px, 2vw, 15px);
    }
}

@media (min-width: 651px) {
    .gym-logo {
        content: url("https://res.cloudinary.com/dgbngcvkl/image/upload/v1740490225/Landing-page%20GYM/logo-letras.png");
    }

    .nav-menu li a {
        font-size: clamp(10px, 1.8vw, 15px);
    }

    .client-access span {
        font-size: clamp(9px, 1.6vw, 14px);
    }
}

.nav-right {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: flex-end;
    min-width: 0;
    gap: clamp(6px, 1.5vw, 14px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(3px, 1vw, 12px);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
    padding: 2px 0;
    -webkit-overflow-scrolling: touch;
    margin-right: clamp(4px, 1vw, 10px);
}

.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-menu li {
    flex-shrink: 0;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--brand);
    font-weight: 600;
    letter-spacing: 0.1px;
    transition: color 0.25s ease;
    white-space: nowrap;
    padding: 4px 2px;
    display: block;
}

.nav-menu li a:hover {
    color: var(--brand-d);
}

.client-access {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--brand);
    flex-shrink: 0;
    gap: clamp(4px, 1vw, 8px);
    height: 100%;
    min-height: clamp(32px, 4vw, 40px);
}

.client-access span {
    font-weight: 600;
    white-space: nowrap;
}

.profile-icon {
    width: clamp(22px, 4vw, 36px);
    height: clamp(22px, 4vw, 36px);
    object-fit: cover;
    flex-shrink: 0;
}

.hero {
    padding-top: clamp(65px, 9vw, 100px);
}

.hero {
    width: 100%;
    min-height: 100svh;
    background: url("https://res.cloudinary.com/dgbngcvkl/image/upload/v1740490222/Landing-page%20GYM/srktpbgliwmy9mmjthdv.png")
        center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-left: clamp(16px, 3vw, 20px);
    padding-right: clamp(16px, 3vw, 20px);
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }
}

@media (min-width: 769px) {
    .hero {
        background-attachment: fixed;
    }
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.35) 100%
    );
    z-index: 0;
}
.hero-content {
    max-width: min(720px, 92vw);
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    padding: clamp(1rem, 2.5vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 12px;
}
.hero-content h1,
.hero-content p {
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}
.hero-content h1 {
    font-size: clamp(28px, 6vw, 54px);
    color: var(--brand);
    margin-bottom: clamp(12px, 2vw, 24px);
    line-height: 1.15;
}
.hero-content p {
    font-size: clamp(14px, 2.2vw, 20px);
    margin-bottom: clamp(20px, 3vw, 32px);
}
.btn-cta {
    display: inline-block;
    padding: clamp(8px, 1.8vw, 14px) clamp(16px, 3.5vw, 28px);
    background-color: var(--brand);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(14px, 1.8vw, 18px);
    border-radius: 8px;
    line-height: 1;
    transition: background-color 0.25s ease, transform 0.12s ease,
        box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    border: 2px solid #cdcdcd;
}
.btn-cta:hover {
    background-color: var(--brand-d);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.why-choose {
    width: 100%;
    padding: clamp(50px, 10vw, 140px) clamp(16px, 4vw, 40px);
    background-color: #121212;
    text-align: center;
}
.why-choose .container {
    max-width: min(1000px, 94vw);
    margin: 0 auto;
}
.why-choose h2 {
    font-size: clamp(24px, 5vw, 48px);
    color: var(--brand);
    margin-bottom: clamp(16px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.2;
}
.why-choose p {
    font-size: clamp(16px, 2.5vw, 22px);
    line-height: 1.7;
    margin-bottom: clamp(32px, 5vw, 70px);
}
.features {
    display: grid;
    gap: clamp(20px, 4vw, 50px);
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    justify-items: center;
}

.feature {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 4/5;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease,
        opacity 0.4s ease;
    isolation: isolate;
    opacity: 0;
    transform: translateY(14px) scale(0.98);
    position: relative;
}
.feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.25) 60%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 0;
}
.feature:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
    filter: saturate(1.05);
}
.feature-body {
    position: absolute;
    inset-inline: 14px;
    bottom: 14px;
    z-index: 1;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: clamp(12px, 2vw, 18px) clamp(14px, 2.5vw, 20px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.feature h3 {
    margin: 0 0 6px;
    line-height: 1.2;
    color: var(--brand);
    font-size: clamp(18px, 3vw, 30px);
    letter-spacing: 0.2px;
}
.feature p {
    margin: 0;
    font-size: clamp(13px, 2.2vw, 20px);
    opacity: 0.95;
}
.reveal.in-view.feature {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.trainers {
    width: 100%;
    background-color: var(--surf1);
    text-align: center;
    padding: clamp(50px, 10vw, 140px) clamp(16px, 4vw, 40px);
}
.trainers .container {
    max-width: min(1200px, 94vw);
    margin: 0 auto;
}
.trainers h2 {
    font-size: clamp(24px, 4.5vw, 42px);
    color: var(--brand);
    margin-bottom: clamp(12px, 2vw, 24px);
}
.trainers p {
    font-size: clamp(15px, 2.2vw, 20px);
    line-height: 1.6;
    margin-bottom: clamp(28px, 5vw, 60px);
}
.trainer-cards {
    display: grid;
    gap: clamp(20px, 4vw, 50px);
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    justify-items: center;
}
.trainer-card {
    background-color: var(--surf2);
    border-radius: 10px;
    width: min(320px, 100%);
    padding: clamp(16px, 3vw, 24px);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.15s ease;
}
.trainer-card:hover {
    transform: translateY(-2px);
}
.trainer-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: clamp(12px, 2vw, 18px);
}
.trainer-card h3 {
    font-size: clamp(16px, 2.8vw, 26px);
    color: var(--brand);
    margin-bottom: clamp(8px, 1.5vw, 14px);
}
.trainer-card p {
    font-size: clamp(14px, 2vw, 18px);
    line-height: 1.5;
}

footer {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
        sans-serif;
    background-image: url("https://res.cloudinary.com/dup51jxlj/image/upload/v1741564355/freepik__the-style-is-candid-image-photography-with-natural__64385_1_lv75rq.png");
    background-size: cover;
    background-position: center;
    position: relative;
    width: 100%;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 0;
    padding: 0;
    margin-top: auto;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 24px);
}
.top-bar {
    background: var(--brand);
    padding: clamp(8px, 1.5vw, 12px) 0;
    text-align: center;
}
.follow-us {
    font-size: clamp(16px, 2.5vw, 22px);
    font-weight: 700;
    color: #000;
    margin-right: clamp(12px, 2vw, 24px);
}
.social-icons a {
    color: #000;
    font-size: clamp(18px, 2.8vw, 28px);
    margin: 0 clamp(6px, 1.5vw, 12px);
}
.middle-footer {
    padding: clamp(20px, 4vw, 40px) 0;
    text-align: center;
}
.footer-section {
    width: 31%;
    min-width: 220px;
    display: inline-block;
    vertical-align: top;
    margin: 0 1% clamp(16px, 3vw, 24px);
    text-align: left;
    color: #fff;
    margin-top: clamp(8px, 1.5vw, 14px);
    margin-bottom: 0;
}
.footer-section h3 {
    font-size: clamp(16px, 2.2vw, 20px);
    margin-bottom: clamp(8px, 1.5vw, 14px);
    color: var(--brand);
}
.footer-section ul {
    list-style: none;
}
.footer-section li {
    margin-bottom: clamp(4px, 1vw, 8px);
}
.footer-section a {
    color: #fff;
    text-decoration: none;
    font-size: clamp(13px, 1.8vw, 16px);
}
.bottom-bar {
    background: var(--brand);
    padding: clamp(8px, 1.5vw, 12px) 0;
    text-align: center;
}
.created-by {
    font-size: clamp(14px, 2.2vw, 20px);
    color: #000;
}
.creators {
    display: inline-flex;
    align-items: center;
    gap: clamp(8px, 2vw, 24px);
    margin-left: clamp(12px, 2vw, 24px);
    flex-wrap: wrap;
    justify-content: center;
}
.creator {
    display: inline-flex;
    align-items: center;
    gap: clamp(4px, 1vw, 8px);
}
.creator a {
    color: #000;
    font-size: clamp(16px, 2.2vw, 22px);
}
.creator span {
    color: #000;
    font-size: clamp(13px, 1.8vw, 18px);
}

.gym-search {
    margin: clamp(30px, 5vw, 50px) auto;
    max-width: min(1000px, 94vw);
    text-align: center;
    background: linear-gradient(135deg, #2e2e2e, #121212);
    color: #fff;
    padding: clamp(24px, 5vw, 50px) clamp(20px, 6vw, 60px);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: box-shadow 0.25s ease, transform 0.12s ease;
}
.gym-search:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}
.gym-search h2 {
    font-size: clamp(22px, 5vw, 44px);
    color: var(--brand);
    margin-bottom: clamp(16px, 3.5vw, 36px);
    font-weight: 700;
    letter-spacing: 0.3px;
}
.gym-search input {
    padding: clamp(10px, 2.5vw, 16px);
    width: 100%;
    max-width: 600px;
    margin: clamp(16px, 3vw, 24px) auto;
    border-radius: 10px;
    border: 2px solid #fff;
    color: #121212;
    font-size: clamp(14px, 2.5vw, 20px);
    transition: border-color 0.25s ease;
}
.gym-search input:focus {
    outline: none;
    border-color: var(--brand);
}
.gym-search button {
    padding: clamp(10px, 2.5vw, 16px) clamp(18px, 5vw, 32px);
    background-color: var(--brand);
    color: #121212;
    border: none;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    font-size: clamp(14px, 2.8vw, 20px);
    letter-spacing: 0.3px;
    transition: background-color 0.25s ease, transform 0.12s ease,
        box-shadow 0.25s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.gym-search button:hover {
    background-color: var(--brand-d);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.search-results {
    margin-top: clamp(24px, 4vw, 40px);
    display: grid;
    gap: clamp(16px, 3.5vw, 36px);
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}
.search-results .gym-item {
    background-color: #3e3e3e;
    border-radius: 12px;
    padding: clamp(14px, 2.5vw, 20px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.25s ease;
    text-align: left;
}
.search-results .gym-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.search-results .gym-item h3 {
    color: var(--brand);
    margin-bottom: clamp(6px, 1.5vw, 10px);
    font-size: clamp(16px, 2.5vw, 22px);
}
.search-results .gym-item p {
    color: #fff;
    font-size: clamp(13px, 2vw, 16px);
    line-height: 1.5;
    margin-bottom: clamp(4px, 1vw, 8px);
}

.map-card {
    margin-top: clamp(20px, 4vw, 32px);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.04),
        rgba(255, 255, 255, 0.02)
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}
.map-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(8px, 2vw, 14px);
    padding: clamp(12px, 2.5vw, 18px) clamp(14px, 3vw, 20px);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.map-card__title h3 {
    margin: 0 0 2px 0;
    font-size: clamp(16px, 2.5vw, 22px);
    color: var(--brand);
}
.map-card__title .muted {
    margin: 0;
    opacity: 0.85;
    font-size: clamp(12px, 1.8vw, 16px);
}
.map-card__actions {
    display: inline-flex;
    gap: clamp(6px, 1.5vw, 10px);
    flex-wrap: wrap;
}
.btn-outline,
.btn-ghost {
    border-radius: 10px;
    padding: clamp(8px, 1.5vw, 12px) clamp(10px, 2vw, 16px);
    font-weight: 700;
    font-size: clamp(12px, 1.8vw, 15px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.25s ease,
        background-color 0.25s ease, opacity 0.25s ease;
}
.btn-outline:hover,
.btn-ghost:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.btn-outline:disabled,
.btn-ghost:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.map-card__body {
    position: relative;
    aspect-ratio: 16/9;
    min-height: clamp(240px, 40vw, 400px);
    background: #0f0f0f;
}
.map-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0 0 16px 16px;
}

.map-skeleton {
    position: absolute;
    inset: 0;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.06) 50%,
            rgba(255, 255, 255, 0) 100%
        ),
        linear-gradient(#1c1c1c, #1c1c1c);
    background-size: 200% 100%, cover;
    animation: mapShimmer 1.2s infinite;
}
@keyframes mapShimmer {
    0% {
        background-position: -200% 0, center;
    }
    100% {
        background-position: 200% 0, center;
    }
}

.map-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}
.map-modal[hidden] {
    display: none;
}
.map-modal__inner {
    position: relative;
    width: min(1200px, 96vw);
    height: min(80vh, 90svh);
    background: #0f0f0f;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.map-modal__iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.map-modal__close {
    position: absolute;
    top: clamp(8px, 1.5vw, 12px);
    right: clamp(8px, 1.5vw, 12px);
    z-index: 2;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: clamp(6px, 1.2vw, 10px) clamp(8px, 1.5vw, 12px);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.25s ease, transform 0.12s ease;
}
.map-modal__close:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 195, 0, 0.45);
    border-radius: 6px;
}

@media (max-width: 992px) {
    nav {
        height: clamp(50px, 7vw, 75px);
    }
    .hero {
        min-height: 92svh;
    }
    .footer-section {
        width: 48%;
        margin: 0 1% 16px;
    }
}

@media (max-width: 768px) {
    .footer-section {
        width: 100%;
        margin: 0 0 16px;
    }
    .map-card__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: clamp(24px, 8vw, 32px);
    }
    .hero-content p {
        font-size: clamp(12px, 4vw, 16px);
    }
    .btn-cta {
        padding: 8px 16px;
        font-size: clamp(12px, 3.5vw, 16px);
    }
    .gym-search {
        padding: 20px 16px;
    }
    .gym-search h2 {
        font-size: clamp(20px, 7vw, 28px);
    }
    .gym-search button {
        width: 100%;
        margin-top: 10px;
    }
    .hero {
        background-attachment: scroll;
    }

    nav {
        height: clamp(45px, 6vw, 65px);
        padding: 0 clamp(8px, 2vw, 16px);
    }

    .gym-logo {
        height: clamp(24px, 4vw, 40px);
    }

    .nav-menu li a {
        font-size: clamp(10px, 1.8vw, 14px);
    }

    .client-access span {
        font-size: clamp(9px, 1.5vw, 13px);
    }

    .profile-icon {
        width: clamp(20px, 3.5vw, 28px);
        height: clamp(20px, 3.5vw, 28px);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
    .feature {
        transition: none !important;
    }
}
