  :root { --primary: #ff6b35; --primary-dark: #e85520; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #f5f5f5; color: #1a1a1a; }
h1, h2, h3 { font-family: 'Barlow Condensed', sans-serif; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

nav { background: rgba(26,26,26,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 2px solid var(--primary); padding: 18px 0; position: sticky; top: 0; z-index: 100; }
nav .container { display: flex; justify-content: space-between; align-items: center; }
.logo { color: var(--primary); font-size: 1.4rem; font-weight: 900; text-decoration: none; letter-spacing: -1px; text-transform: uppercase; }
nav a { color: #ccc; text-decoration: none; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; transition: color .2s; }
nav a:hover { color: var(--primary); }
nav .nav-links { display: flex; gap: 28px; }

/* HERO */
.hero {
    background:
        linear-gradient(rgba(26,26,26,.82), rgba(26,26,26,.82)),
        url('https://loremflickr.com/1600/900/gym,fitness?lock=7') center/cover no-repeat;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
/* Diagonal orange half */
.hero::before {
    content: '';
    position: absolute;
    right: 0; top: 0;
    width: 48%; height: 100%;
    background: linear-gradient(160deg, var(--primary) 0%, #ff8c00 60%, var(--primary-dark) 100%);
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}
/* Abstract lines on orange half */
.hero::after {
    content: '';
    position: absolute;
    right: 0; top: 0;
    width: 48%; height: 100%;
    background-image: repeating-linear-gradient(
        -55deg,
        transparent,
        transparent 30px,
        rgba(255,255,255,.06) 30px,
        rgba(255,255,255,.06) 32px
    );
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}
.hero .content { position: relative; z-index: 1; max-width: 550px; text-align: center; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); color: #fff; font-weight: 900; text-transform: uppercase; line-height: 1; letter-spacing: -1px; }
.hero h1 em { color: var(--primary); font-style: normal; display: block; }
.hero p { font-size: 1.1rem; color: #aaa; margin-top: 20px; line-height: 1.7; }
.btn { display: inline-block; margin-top: 32px; background: var(--primary); color: #fff; padding: 16px 40px; border-radius: 4px; font-weight: 800; text-decoration: none; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; transition: background .2s, transform .2s; box-shadow: 0 4px 20px color-mix(in srgb, var(--primary) 40%, transparent); }
.btn:hover { background: var(--primary-dark); transform: translateY(-2px); }

section { padding: 90px 0; }
.tag { display: inline-block; background: var(--primary); color: #fff; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; padding: 4px 12px; border-radius: 2px; margin-bottom: 16px; }
h2 { font-size: 2.2rem; font-weight: 900; text-transform: uppercase; color: #1a1a1a; letter-spacing: -0.5px; margin-bottom: 40px; }

.training-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.training-card {
    background: #1a1a1a;
    color: #fff;
    padding: 32px;
    border-radius: 8px;
    border-bottom: 4px solid var(--primary);
    transition: transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
}
.training-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 5%, transparent) 0%, transparent 60%);
}
.training-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px color-mix(in srgb, var(--primary) 20%, transparent); }
.training-card .num { font-size: 2.5rem; font-weight: 900; color: var(--primary); opacity: 0.3; margin-bottom: 12px; line-height: 1; }
.training-card h3 { font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; position: relative; }
.training-card p { color: #888; font-size: 0.85rem; line-height: 1.6; position: relative; }

#o-nas { background: #fff; }
#o-nas p { color: #444; line-height: 1.9; font-size: 1.05rem; max-width: 680px; }

.contact { background: var(--primary); }
.contact h2 { color: #fff; }
.contact .tag { background: #fff; color: var(--primary); }
.contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin-top: 30px; }
.contact-info p { color: rgba(255,255,255,.85); font-size: 0.95rem; line-height: 1.6; }
.contact-info a { color: #fff; font-weight: 700; text-decoration: none; }
.social-links { display: flex; gap: 12px; margin-top: 24px; }
.social-links a { background: #1a1a1a; color: #fff; padding: 8px 22px; border-radius: 4px; text-decoration: none; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; transition: opacity .2s; }
.social-links a:hover { opacity: 0.8; }

/* O NAS PHOTO */
.o-nas-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.o-nas-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; border-bottom: 4px solid var(--primary); filter: brightness(0.9); }
@media (max-width: 700px) { .o-nas-inner { grid-template-columns: 1fr; } }

.map { padding: 0; }
.map iframe { width:100%;height:420px;border:0;display:block;filter:grayscale(20%); }

footer { background: #111; padding: 24px 0; text-align: center; color: #555; font-size: 0.85rem; }
footer strong { color: var(--primary); }

/* ── Modern animations ────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.hero .container > * { animation: fadeUp .7s ease both; }
.hero .container > *:nth-child(1) { animation-delay: .05s; }
.hero .container > *:nth-child(2) { animation-delay: .15s; }
.hero .container > *:nth-child(3) { animation-delay: .25s; }
.hero .container > *:nth-child(4) { animation-delay: .35s; }
.hero .container > *:nth-child(5) { animation-delay: .45s; }

/* ── Typography quality ───────────────────────────── */
html { -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }

/* ── Mobile hamburger nav ─────────────────────────── */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    border-radius: 6px;
    color: #ccc;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}
.nav-toggle:hover { opacity: .75; }
.nav-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 4px; }
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 640px) {
    .nav-toggle { display: flex; }
    nav .container { flex-wrap: wrap; }
    nav .nav-links {
        order: 9;
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding: 8px 0 12px;
        border-top: 1px solid rgba(128,128,128,.18);
        margin-top: 8px;
    }
    nav .nav-links.is-open { display: flex; }
    nav .nav-links a {
        padding: 11px 0;
        font-size: .95rem;
        letter-spacing: 0;
        text-transform: none;
        border-bottom: 1px solid rgba(128,128,128,.1);
        width: 100%;
        display: block;
    }
    nav .nav-links a:last-child { border-bottom: none; }
}
