/* FITAS theme — sporto klubas Vilnius */
:root {
    --bg: #0a0a0a;
    --bg-2: #121212;
    --ink: #f4f4f0;
    --muted: #9a9a92;
    --lime: #c6f000;
    --lime-dk: #a6cc00;
    --line: #232323;
    --card: #161616;
    --radius: 14px;
    --wrap: 1120px;
    --font: system-ui, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

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

h1, h2, h3 { line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; }

.hl { color: var(--lime); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 13px 26px;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
    clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--lime); color: #0a0a0a; }
.btn-primary:hover { background: var(--lime-dk); }
.btn-ghost { border-color: var(--lime); color: var(--lime); background: transparent; }
.btn-ghost:hover { background: var(--lime); color: #0a0a0a; }
.btn-block { width: 100%; text-align: center; clip-path: none; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 1.3rem; letter-spacing: 0.02em; }
.brand-mark { color: var(--lime); transform: rotate(0deg); font-size: 1.1rem; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 0.92rem; font-weight: 600; color: var(--muted); transition: color 0.15s; }
.nav a:hover { color: var(--ink); }
.nav .nav-cta {
    color: #0a0a0a;
    background: var(--lime);
    padding: 9px 18px;
    font-weight: 800;
    clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
}
.nav .nav-cta:hover { background: var(--lime-dk); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 3px; background: var(--ink); transition: 0.2s; }

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 400px at 85% -10%, rgba(198, 240, 0, 0.14), transparent 60%),
        linear-gradient(180deg, #0d0d0d, var(--bg));
    border-bottom: 1px solid var(--line);
}
.hero::before {
    content: "";
    position: absolute;
    right: -140px;
    top: -60px;
    width: 460px;
    height: 460px;
    background: var(--lime);
    opacity: 0.06;
    transform: rotate(25deg);
    clip-path: polygon(0 0, 100% 0, 60% 100%, 0 80%);
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: 40px;
    align-items: center;
    padding: 84px 22px 90px;
}
.eyebrow {
    color: var(--lime);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.8rem;
    margin-bottom: 14px;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); text-transform: uppercase; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 46ch; margin: 22px 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; list-style: none; margin-top: 42px; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.5rem; color: var(--lime); }
.hero-stats span { color: var(--muted); font-size: 0.85rem; }

.hero-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    box-shadow: 0 0 0 1px rgba(198, 240, 0, 0.08);
}
.pulse { font-size: 3rem; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.hero-card-label { color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; margin-top: 10px; }
.hero-card-num { font-size: 3.4rem; font-weight: 900; color: var(--lime); line-height: 1; }
.hero-card-sub { color: var(--muted); font-size: 0.9rem; }

/* Sections */
.section { padding: 78px 0; }
.section-dark { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); text-transform: uppercase; margin-bottom: 10px; }
.section-sub { color: var(--muted); max-width: 60ch; margin-bottom: 38px; }

/* Schedule table */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.schedule { width: 100%; border-collapse: collapse; min-width: 680px; }
.schedule th, .schedule td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.schedule thead th { background: #101010; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.78rem; color: var(--lime); }
.schedule td.t { font-weight: 800; color: var(--lime); }
.schedule tbody tr:hover { background: rgba(198, 240, 0, 0.04); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plan {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
}
.plan-featured { border-color: var(--lime); box-shadow: 0 18px 50px -24px rgba(198, 240, 0, 0.5); transform: translateY(-6px); }
.badge {
    position: absolute;
    top: -13px;
    left: 26px;
    background: var(--lime);
    color: #0a0a0a;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 12px;
}
.plan h3 { font-size: 1.4rem; text-transform: uppercase; }
.price { font-size: 2.6rem; font-weight: 900; margin: 12px 0 18px; }
.price span { font-size: 1rem; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; margin-bottom: 26px; flex: 1; }
.plan li { padding: 8px 0 8px 26px; position: relative; color: #d6d6d0; font-size: 0.95rem; border-bottom: 1px dashed var(--line); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--lime); font-weight: 900; }

/* Trainers */
.trainers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trainer { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.avatar {
    width: 64px; height: 64px;
    background: var(--lime);
    color: #0a0a0a;
    font-weight: 900;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 16px;
}
.trainer h3 { font-size: 1.2rem; }
.trainer .role { color: var(--lime); font-size: 0.85rem; font-weight: 700; margin: 4px 0 12px; text-transform: uppercase; letter-spacing: 0.03em; }
.trainer .bio { color: var(--muted); font-size: 0.94rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.service .ico { font-size: 2.2rem; display: block; margin-bottom: 12px; }
.service h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: 0.92rem; }

/* Forms */
.forms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.form-card h2 { font-size: 1.7rem; text-transform: uppercase; margin-bottom: 8px; }
.form-note { color: var(--muted); font-size: 0.94rem; margin-bottom: 22px; }
.form-card label { display: block; font-size: 0.85rem; font-weight: 700; color: #cfcfc8; margin-bottom: 16px; }
.form-card input, .form-card textarea {
    width: 100%;
    margin-top: 7px;
    padding: 12px 14px;
    background: #0d0d0d;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 400;
}
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--lime); }
.form-card textarea { resize: vertical; }
.form-msg { margin-top: 14px; font-size: 0.9rem; font-weight: 600; min-height: 1.2em; }
.form-msg.ok { color: var(--lime); }
.form-msg.err { color: #ff6b5b; }
.form-alt { margin-top: 14px; font-size: 0.88rem; }
.form-alt a { color: var(--muted); text-decoration: underline; }

/* Contacts */
.contacts { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.contact-list, .hours { list-style: none; }
.contact-list li { padding: 9px 0; border-bottom: 1px solid var(--line); color: #d6d6d0; }
.contact-list strong { color: var(--lime); margin-right: 6px; }
.contact-list a:hover { color: var(--lime); }
.hours-title { text-transform: uppercase; margin-bottom: 14px; font-size: 1.2rem; }
.hours li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours li span:first-child { color: var(--muted); }
.hours li span:last-child { font-weight: 700; }

/* Footer */
.site-footer { background: #060606; border-top: 1px solid var(--line); padding: 44px 0 26px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 28px; align-items: start; }
.footer-brand { font-weight: 900; font-size: 1.3rem; }
.footer-brand p { font-weight: 400; font-size: 0.9rem; color: var(--muted); margin-top: 8px; }
.legal { color: var(--muted); font-size: 0.84rem; align-self: center; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--lime); }
.copy { text-align: center; color: #666; font-size: 0.82rem; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }

/* 404 */
.error-page { min-height: 78vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 22px; }
.error-code { font-size: clamp(5rem, 20vw, 11rem); font-weight: 900; color: var(--lime); line-height: 0.9; }
.error-page h1 { font-size: 1.8rem; text-transform: uppercase; margin: 14px 0 10px; }
.error-page p { color: var(--muted); max-width: 42ch; margin: 0 auto 26px; }

/* Responsive */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-card { max-width: 340px; }
    .plans, .trainers { grid-template-columns: 1fr; }
    .services { grid-template-columns: 1fr 1fr; }
    .forms-grid, .contacts { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .plan-featured { transform: none; }

    .burger { display: flex; }
    .nav {
        position: fixed;
        inset: 68px 0 auto 0;
        flex-direction: column;
        gap: 0;
        background: #0d0d0d;
        border-bottom: 1px solid var(--line);
        padding: 8px 0;
        transform: translateY(-140%);
        transition: transform 0.25s ease;
        z-index: 39;
    }
    .nav.open { transform: translateY(0); }
    .nav a { padding: 14px 22px; width: 100%; border-bottom: 1px solid var(--line); }
    .nav .nav-cta { clip-path: none; text-align: center; }
}

@media (max-width: 520px) {
    .services { grid-template-columns: 1fr; }
    .hero-stats { gap: 20px; }
}
