/* Sporto klubas MX: viešos svetainės stilius (mobile-first). Spalvos ir šriftas iš senojo dizaino. */

@font-face {
    font-family: "Oswald";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/oswald-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Oswald";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/oswald-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --green: #86c51f;
    --green-hover: #97d634;
    --green-700: #5f8f12;
    --green-050: #f1f8e6;
    --navy: #171d29;
    --navy-800: #1f2737;
    --navy-700: #2a3346;
    --ink: #171d29;
    --text: #333b4a;
    --muted: #5c6577;
    --line: #e2e6ec;
    --bg: #ffffff;
    --bg-soft: #f4f6f2;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 1px 2px rgba(23, 29, 41, .06), 0 10px 30px rgba(23, 29, 41, .07);
    --shadow-lg: 0 24px 60px rgba(23, 29, 41, .18);
    --font-head: "Oswald", "Arial Narrow", Arial, sans-serif;
    --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --header-h: 68px;
    --container: 1200px;
}

@media (min-width: 992px) {
    :root { --header-h: 84px; }
}

/* ---------- Pagrindai ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3, h4 {
    margin: 0 0 .5em;
    font-family: var(--font-head);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: var(--ink);
}

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.container--narrow { width: min(100% - 2rem, 760px); }

@media (min-width: 768px) {
    .container { width: min(100% - 3rem, var(--container)); }
    .container--narrow { width: min(100% - 3rem, 760px); }
}

.icon {
    width: 1.2em;
    height: 1.2em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 100;
    padding: .75rem 1rem;
    border-radius: 8px;
    background: var(--green);
    color: var(--navy);
    font-weight: 700;
}

.skip-link:focus { top: 1rem; }

:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 3px;
}

section[id] { scroll-margin-top: calc(var(--header-h) - 1px); }
.pre-line { white-space: pre-line; }
.accent { color: var(--green); }

/* ---------- Mygtukai ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 48px;
    padding: .7rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .07em;
    line-height: 1.1;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 42px; padding: .5rem 1.1rem; font-size: .95rem; }
.btn--lg { min-height: 54px; padding: .8rem 1.9rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--green); color: var(--navy); box-shadow: 0 8px 24px rgba(134, 197, 31, .28); }
.btn--primary:hover { background: var(--green-hover); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-700); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .14); }
.btn--outline { border-color: var(--navy); background: transparent; color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: background-color .2s, border-color .2s;
}

.icon-btn:hover { border-color: var(--green); background: rgba(134, 197, 31, .15); }

.link-btn {
    padding: 0;
    border: 0;
    background: none;
    color: var(--green);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: .25rem;
    color: var(--green-700);
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
}

.text-link:hover { text-decoration: underline; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    margin: 0 0 1rem;
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--green-700);
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 3px;
    border-radius: 2px;
    background: var(--green);
}

.section--dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow { color: var(--green); }

/* ---------- Header ---------- */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: var(--header-h);
    color: #fff;
    transition: background-color .3s, box-shadow .3s;
}

.site-header.is-solid,
.page--sub .site-header,
.site-header.is-open {
    background: rgba(23, 29, 41, .97);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
}

@supports (backdrop-filter: blur(8px)) {
    .site-header.is-solid,
    .page--sub .site-header { background: rgba(23, 29, 41, .88); backdrop-filter: saturate(1.3) blur(10px); }
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
}

.logo img { width: auto; height: 46px; }
@media (min-width: 992px) { .logo img { height: 58px; } }

.nav { display: none; }

.nav a {
    padding: .5rem .8rem;
    border-radius: 8px;
    font-family: var(--font-head);
    font-size: 1.05rem;
    letter-spacing: .07em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .2s;
}

.nav a:hover, .nav a.is-active { color: var(--green); }

.header-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-left: auto;
}

.header-cta { display: none; }
.menu-toggle .icon--close { display: none; }
.site-header.is-open .menu-toggle .icon--open { display: none; }
.site-header.is-open .menu-toggle .icon--close { display: block; }

@media (min-width: 576px) {
    .header-cta { display: inline-flex; }
}

@media (min-width: 992px) {
    .nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
    .header-actions { margin-left: 1rem; }
    .menu-toggle { display: none; }
}

.mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: .5rem 0 1.5rem;
    background: rgba(23, 29, 41, .98);
    border-top: 1px solid rgba(255, 255, 255, .08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s, transform .25s, visibility .25s;
}

.site-header.is-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }

.mobile-nav a {
    display: block;
    padding: .95rem .25rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-family: var(--font-head);
    font-size: 1.3rem;
    letter-spacing: .07em;
    text-transform: uppercase;
    text-decoration: none;
}

.mobile-nav .btn { width: 100%; margin-top: 1.25rem; }

@media (min-width: 992px) { .mobile-nav { display: none; } }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: min(100svh, 900px);
    overflow: hidden;
    background: var(--navy);
    color: #fff;
}

@supports not (min-height: 100svh) {
    .hero { min-height: min(100vh, 900px); }
}

.hero__slides { position: absolute; inset: 0; z-index: -2; }

.hero__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% 30%;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.6s ease;
}

.hero__slide.is-active {
    opacity: 1;
    animation: hero-zoom 10s ease-out both;
}

@keyframes hero-zoom {
    from { transform: scale(1.12); }
    to { transform: scale(1.02); }
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(0deg, rgba(23, 29, 41, .96) 0%, rgba(23, 29, 41, .55) 45%, rgba(23, 29, 41, .35) 100%);
}

@media (min-width: 768px) {
    .hero::after {
        background:
            linear-gradient(90deg, rgba(23, 29, 41, .94) 0%, rgba(23, 29, 41, .72) 42%, rgba(23, 29, 41, .2) 100%),
            linear-gradient(0deg, rgba(23, 29, 41, .9) 0%, rgba(23, 29, 41, 0) 38%);
    }
}

.hero__content {
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: clamp(4rem, 9vw, 6.5rem);
}

.hero h1 {
    max-width: 12ch;
    margin-bottom: 1.25rem;
    color: #fff;
    font-size: clamp(2.9rem, 9vw, 6rem);
    font-weight: 700;
    line-height: .95;
}

.hero__lead {
    max-width: 34rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 2.5rem;
}

.hero__actions--center { justify-content: center; margin-bottom: 0; }

.hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.75rem;
    margin: 0;
    padding: 1.25rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, .15);
    list-style: none;
    color: rgba(255, 255, 255, .88);
    font-size: .98rem;
}

.hero__facts li { display: flex; align-items: center; gap: .55rem; }
.hero__facts .icon { color: var(--green); }

.hero__dots {
    position: absolute;
    right: 1rem;
    bottom: 1.25rem;
    display: flex;
    gap: .35rem;
}

.hero__dots button {
    width: 34px;
    height: 24px;
    padding: 10px 0;
    border: 0;
    background: rgba(255, 255, 255, .35);
    background-clip: content-box;
    cursor: pointer;
    transition: background-color .3s;
}

.hero__dots button[aria-current="true"] { background-color: var(--green); }

@media (min-width: 768px) {
    .hero__dots { right: 2rem; bottom: 2rem; }
}

/* ---------- Sekcijos ---------- */

.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--tight { padding-top: clamp(2.5rem, 5vw, 4rem); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: rgba(255, 255, 255, .85); }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 34px; height: 3px; border-radius: 2px; background: var(--green); }
.section-head > :last-child { margin-bottom: 0; }

.section-head--split {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    max-width: none;
}

.section-head--split h2 { margin-bottom: 0; }

.section-title { font-size: clamp(2rem, 5vw, 3.3rem); }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }

/* ---------- Akcija ---------- */

.promo { background: var(--green); color: var(--navy); }

.promo__inner {
    display: grid;
    gap: 1rem 2rem;
    align-items: center;
    padding: 2.25rem 0;
}

.promo__value {
    font-family: var(--font-head);
    font-size: clamp(3.2rem, 9vw, 5rem);
    font-weight: 700;
    line-height: 1;
}

.promo__title { margin-bottom: .25rem; font-size: 1.6rem; }
.promo__text { margin: 0; font-size: 1.05rem; }

@media (min-width: 768px) {
    .promo__inner { grid-template-columns: auto 1fr auto; }
}

/* ---------- Apie / klube rasite ---------- */

.about {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.about .lead { font-size: 1.13rem; color: var(--text); }
.about__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.about__media {
    position: relative;
    padding: 0 0 2.5rem 0;
}

.about__img { border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow-lg); }
.about__img--main { width: 88%; aspect-ratio: 4 / 3; }

.about__img--small {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 48%;
    aspect-ratio: 4 / 3;
    border: 6px solid #fff;
}

.about__badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem 1rem;
    border-radius: 999px;
    background: var(--green);
    color: var(--navy);
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(23, 29, 41, .25);
}

@media (min-width: 992px) {
    .about { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
}

.features-title {
    margin: clamp(3.5rem, 7vw, 5.5rem) 0 1.75rem;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

.features {
    display: grid;
    gap: 1rem;
}

@media (min-width: 600px) {
    .features { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .features { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

.feature {
    padding: 1.6rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.feature:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow); }

.feature__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 1.1rem;
    border-radius: 15px;
    background: var(--green-050);
    color: var(--green-700);
}

.feature__icon .icon { width: 27px; height: 27px; }
.feature h3 { margin-bottom: .35rem; font-size: 1.3rem; }
.feature p { margin: 0; color: var(--muted); }

/* Telefone kompaktiškai: ikona kairėje, tekstas dešinėje. */
@media (max-width: 599px) {
    .feature {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: .2rem 1rem;
        align-items: start;
        padding: 1.1rem 1.15rem;
    }

    .feature__icon { grid-row: span 2; width: 48px; height: 48px; margin: 0; }
    .feature h3 { margin: .15rem 0 0; font-size: 1.15rem; }
    .feature p { font-size: .95rem; }
}

/* ---------- Kainos ---------- */

.pricing {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.price-card {
    position: relative;
    display: flex;
    flex: 1 1 290px;
    flex-direction: column;
    max-width: 440px;
    padding: 2.25rem 2rem 2rem;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 24px;
    background: var(--navy-800);
}

.price-card--featured {
    border-color: rgba(134, 197, 31, .6);
    background: linear-gradient(160deg, #263044 0%, #1b2231 60%);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .35), 0 0 0 1px rgba(134, 197, 31, .15) inset;
}

.price-card__name {
    margin-bottom: .75rem;
    color: var(--green);
    font-size: 1.15rem;
    letter-spacing: .14em;
}

.price-card__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .3rem;
    margin: 0 0 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-family: var(--font-head);
    color: #fff;
}

.price-card__amount { font-size: clamp(4rem, 12vw, 5.2rem); font-weight: 700; line-height: .9; }
.price-card__currency { font-size: 2rem; font-weight: 600; }
.price-card__period { color: rgba(255, 255, 255, .6); font-size: 1.2rem; }

.price-card__features {
    display: grid;
    gap: .8rem;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

.price-card__features li { display: flex; align-items: flex-start; gap: .75rem; color: rgba(255, 255, 255, .92); }

.price-card__features .icon {
    width: 1.35rem;
    height: 1.35rem;
    margin-top: .1rem;
    padding: .2rem;
    border-radius: 50%;
    background: rgba(134, 197, 31, .18);
    color: var(--green);
    stroke-width: 3;
}

.price-card .btn { margin-top: auto; }

.pricing-note {
    margin: 2.25rem 0 0;
    text-align: center;
    color: rgba(255, 255, 255, .75);
}

/* ---------- Galerija ---------- */

.gallery-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-bottom: 2rem;
}

.gallery-head .section-head { margin-bottom: 0; }

.tabs {
    display: inline-flex;
    gap: .25rem;
    padding: .3rem;
    border-radius: 999px;
    background: var(--bg-soft);
}

.tab {
    padding: .65rem 1.3rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-family: var(--font-head);
    font-size: 1rem;
    letter-spacing: .07em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .2s, color .2s;
}

.tab[aria-selected="true"] { background: var(--navy); color: #fff; }

/* „Masonry“ išdėstymas: nuotraukos išlaiko savo proporcijas, eilučių galuose nelieka tuščių vietų. */
.gallery-grid {
    columns: 2;
    column-gap: .75rem;
}

.gallery-grid[hidden] { display: none; }

@media (min-width: 640px) {
    .gallery-grid { columns: 3; }
}

@media (min-width: 1024px) {
    .gallery-grid { columns: 4; column-gap: 1rem; }
}

.gallery-item {
    position: relative;
    margin: 0 0 .75rem;
    overflow: hidden;
    border-radius: 14px;
    background: #dde2e9;
    break-inside: avoid;
}

@media (min-width: 1024px) {
    .gallery-item { margin-bottom: 1rem; }
}

.gallery-item button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: transform .6s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2.5rem 1rem .8rem;
    background: linear-gradient(0deg, rgba(23, 29, 41, .85), rgba(23, 29, 41, 0));
    color: #fff;
    font-family: var(--font-head);
    font-size: .95rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    pointer-events: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s, transform .3s;
}

.gallery-item:hover figcaption,
.gallery-item:focus-within figcaption { opacity: 1; transform: none; }

@media (hover: none) {
    .gallery-item figcaption { opacity: 1; transform: none; }
}

.empty { column-span: all; color: var(--muted); }

/* ---------- Straipsnių kortelės ---------- */

.cards {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    color: inherit;
    text-decoration: none;
    transition: transform .3s, box-shadow .3s;
}

.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.card__media {
    overflow: hidden;
    background: #dde2e9;
    aspect-ratio: 3 / 2;
}

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

.card:hover .card__media img { transform: scale(1.05); }

.card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.35rem 1.5rem 1.5rem;
}

.card__meta {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .55rem;
    color: var(--muted);
    font-size: .88rem;
}

.card__meta .icon { color: var(--green-700); }

.card__title {
    margin-bottom: .6rem;
    font-size: 1.35rem;
    line-height: 1.2;
    text-transform: none;
}

.card__excerpt { margin-bottom: 1.1rem; color: var(--muted); font-size: .97rem; }

.card__more {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: auto;
    color: var(--green-700);
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.card:hover .card__more .icon { transform: translateX(4px); }
.card__more .icon { transition: transform .25s; }

/* ---------- Kontaktai ---------- */

.contact {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
}

.contact-card {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow);
}

.contact-card__title { margin: 2rem 0 .75rem; font-size: 1.35rem; }

.contact-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.75rem;
}

.contact-list {
    display: grid;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-list li { display: flex; align-items: flex-start; gap: 1rem; }
.contact-list small { display: block; color: var(--muted); font-size: .85rem; letter-spacing: .04em; }
.contact-list strong { display: block; color: var(--ink); font-size: 1.08rem; }

.contact-list a:not(.text-link) {
    color: var(--ink);
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
}

.contact-list a:not(.text-link):hover { color: var(--green-700); }

.contact-list--compact a:not(.text-link) { font-size: 1.15rem; }

.icon-box {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: 13px;
    background: var(--green-050);
    color: var(--green-700);
}

.hours { width: 100%; border-collapse: collapse; }
.hours tr + tr { border-top: 1px solid var(--line); }

.hours th, .hours td { padding: .6rem 0; }
.hours th { color: var(--muted); font-weight: 500; text-align: left; }
.hours td { color: var(--ink); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

.hours tr.is-today th, .hours tr.is-today td { color: var(--ink); font-weight: 700; }

.hours tr.is-today th::after {
    content: "Šiandien";
    display: inline-block;
    margin-left: .6rem;
    padding: .1rem .55rem;
    border-radius: 999px;
    background: var(--green);
    color: var(--navy);
    font-family: var(--font-head);
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    vertical-align: middle;
}

.map {
    overflow: hidden;
    min-height: 360px;
    border-radius: 24px;
    background: #dde2e9;
    box-shadow: var(--shadow);
}

.map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
    filter: grayscale(1) contrast(1.05);
}

/* ---------- Footer ---------- */

.site-footer {
    padding-top: clamp(3.5rem, 7vw, 5rem);
    background: var(--navy);
    color: rgba(255, 255, 255, .72);
    font-size: .97rem;
}

.footer-grid { display: grid; gap: 2.5rem; }

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
}

.footer-brand img { height: 62px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 26rem; }

.footer-title {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: .12em;
}

.footer-links, .footer-contacts { display: grid; align-content: start; gap: .6rem; }
.footer-links a, .footer-contacts a { text-decoration: none; }
.footer-links a:hover, .footer-contacts a:hover { color: var(--green); }
.footer-contacts a, .footer-contacts span { display: flex; align-items: flex-start; gap: .6rem; }
.footer-contacts .icon { margin-top: .2rem; color: var(--green); }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding: 1.4rem 0;
    border-top: 1px solid rgba(255, 255, 255, .09);
    font-size: .9rem;
}

.footer-credit img { width: 114px; height: auto; opacity: .7; transition: opacity .2s; }
.footer-credit:hover img { opacity: 1; }

.to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 40;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--green);
    color: var(--navy);
    box-shadow: 0 10px 25px rgba(23, 29, 41, .25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .3s, transform .3s, visibility .3s;
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Dialogai ---------- */

.modal {
    width: min(100% - 2rem, 470px);
    max-height: calc(100dvh - 2rem);
    padding: 0;
    border: 0;
    border-radius: 24px;
    background: #fff;
    color: var(--text);
    box-shadow: var(--shadow-lg);
}

.modal::backdrop { background: rgba(10, 13, 20, .72); backdrop-filter: blur(3px); }
.modal[open] { animation: modal-in .25s ease-out; }

@keyframes modal-in {
    from { opacity: 0; transform: translateY(16px) scale(.98); }
    to { opacity: 1; transform: none; }
}

.modal__body { position: relative; padding: 2.25rem 1.75rem 1.75rem; }

.modal__close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--bg-soft);
    cursor: pointer;
}

.modal__icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 1rem;
    border-radius: 16px;
    background: var(--green-050);
    color: var(--green-700);
}

.modal__icon .icon { width: 28px; height: 28px; }
.modal__title { margin-bottom: .25rem; font-size: 1.8rem; }
.modal__subtitle { margin-bottom: 1.5rem; color: var(--muted); }
.modal__subhead { margin: 1.5rem 0 .5rem; font-size: 1.2rem; }
.modal .contact-list { margin-top: 1.25rem; }

.modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.5rem;
}

.modal__actions .btn { flex: 1 1 140px; }

.field { display: block; margin-bottom: .85rem; }

.field input {
    width: 100%;
    min-height: 52px;
    padding: .8rem 1rem;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 1.05rem;
    transition: border-color .2s, box-shadow .2s;
}

.field input:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 4px rgba(134, 197, 31, .22); }

.result {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    border: 1px solid var(--line);
}

.result strong {
    display: block;
    margin-bottom: .25rem;
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 1.2rem;
    text-transform: uppercase;
}

.result p { margin: 0 0 .25rem; }
.result p:last-child { margin-bottom: 0; }
.result--ok { border-color: rgba(134, 197, 31, .55); background: var(--green-050); }
.result--warn { border-color: #f1c26a; background: #fff8e8; }
.result--error { border-color: #f0a8a8; background: #fdeeee; }

/* Galerijos peržiūra */

.lightbox {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(10, 13, 20, .96);
    color: #fff;
}

.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(10, 13, 20, .96); }

.lightbox__figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .9rem;
    margin: 0;
    padding: 4rem 1rem;
}

.lightbox__figure img {
    max-width: min(100%, 1200px);
    max-height: calc(100dvh - 9rem);
    border-radius: 10px;
    object-fit: contain;
    touch-action: pan-y;
}

.lightbox__figure figcaption {
    font-family: var(--font-head);
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: center;
}

.lightbox__counter { margin-left: .75rem; color: rgba(255, 255, 255, .55); }

.lightbox__close, .lightbox__nav {
    position: absolute;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    cursor: pointer;
    transition: background-color .2s, border-color .2s;
}

.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--green); background: rgba(134, 197, 31, .2); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: .75rem; }
.lightbox__nav--next { right: .75rem; }

@media (max-width: 640px) {
    .lightbox__nav { top: auto; bottom: 1.25rem; transform: none; }
    .lightbox__nav--prev { left: calc(50% - 60px); }
    .lightbox__nav--next { right: calc(50% - 60px); }
}

/* ---------- Puslapio antraštė (straipsniai, 404) ---------- */

.page-hero {
    padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(2.5rem, 6vw, 4rem);
    background:
        radial-gradient(circle at 85% 20%, rgba(134, 197, 31, .18), transparent 45%),
        linear-gradient(160deg, #1f2737 0%, var(--navy) 60%);
    color: rgba(255, 255, 255, .85);
}

.page-hero__title {
    max-width: 18ch;
    margin-bottom: 0;
    color: #fff;
    font-size: clamp(2.4rem, 6vw, 4rem);
}

.page-hero__text { margin: 1rem 0 2rem; font-size: 1.15rem; }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__title { margin-inline: auto; }

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, .6);
    font-size: .92rem;
}

.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--green); }

.error-page { min-height: 70vh; display: flex; align-items: center; }
.error-page__code {
    margin: 0;
    color: var(--green);
    font-family: var(--font-head);
    font-size: clamp(5rem, 18vw, 9rem);
    font-weight: 700;
    line-height: 1;
}

/* ---------- Straipsnis ---------- */

.reading-progress {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 49;
    height: 3px;
}

.reading-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
}

.page-hero--article { padding-bottom: clamp(5rem, 12vw, 8rem); }

.article__title {
    margin-bottom: 1rem;
    color: #fff;
    font-size: clamp(2.1rem, 5.5vw, 3.4rem);
    line-height: 1.08;
    text-transform: none;
}

.article__meta { display: flex; align-items: center; gap: .5rem; margin: 0; color: rgba(255, 255, 255, .7); }
.article__meta .icon { color: var(--green); }

.article__cover-wrap { width: min(100% - 2rem, 1100px); margin-top: calc(-1 * clamp(3.5rem, 9vw, 6rem)); }

.article__cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.prose {
    padding: clamp(2.5rem, 6vw, 4rem) 0 1rem;
    color: #2c3444;
    font-size: clamp(1.06rem, 1.6vw, 1.15rem);
    line-height: 1.8;
}

.prose > p:first-child { color: var(--ink); font-size: 1.2em; line-height: 1.65; }
.prose p { margin: 0 0 1.3em; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 1.5em; padding-left: 1.4em; }
.prose li { margin: .45em 0; padding-left: .25em; }
.prose li::marker { color: var(--green-700); font-weight: 700; }
.prose h2, .prose h3 { margin: 1.8em 0 .6em; }
.prose a { color: var(--green-700); }

.article-cta {
    display: grid;
    gap: 1.25rem;
    margin: 2.5rem 0 clamp(3.5rem, 8vw, 5.5rem);
    padding: clamp(1.75rem, 4vw, 2.5rem);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0%, rgba(134, 197, 31, .25), transparent 50%),
        var(--navy);
    color: rgba(255, 255, 255, .85);
}

.article-cta h2 { margin-bottom: .4rem; color: #fff; font-size: clamp(1.5rem, 3.5vw, 2rem); }
.article-cta p { margin: 0; }
.article-cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

@media (min-width: 768px) {
    .article-cta { grid-template-columns: 1fr auto; align-items: center; }
}

/* ---------- Animacijos ---------- */

.reveal-ready .reveal:not(.is-visible) { opacity: 0; transform: translateY(26px); }
.reveal-ready .reveal { transition: opacity .8s ease, transform .8s ease; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal-ready .reveal:not(.is-visible) { opacity: 1; transform: none; }
}
