:root {
    --bg: #040806;
    --bg-soft: #0a1510;
    --bg-panel: rgba(10, 18, 14, 0.78);
    --bg-panel-strong: #0c1712;
    --bg-panel-accent: linear-gradient(155deg, rgba(10, 22, 15, 0.96), rgba(16, 42, 26, 0.88));
    --line: rgba(147, 255, 169, 0.14);
    --line-strong: rgba(147, 255, 169, 0.26);
    --text: #f3fff5;
    --muted: #9fbaaa;
    --accent: #73ff1d;
    --accent-soft: rgba(115, 255, 29, 0.14);
    --accent-warm: #ffbb38;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
    --radius: 26px;
    --radius-sm: 18px;
    --container: 1240px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    line-height: 1.65;
    background: transparent;
}

.global-video {
    position: fixed;
    inset: 0;
    z-index: -3;
    overflow: hidden;
}

.global-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: contrast(1.08) saturate(1.08) brightness(0.45);
    border: 0;
    pointer-events: none;
}

body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: -2;
}

body::before {
    width: 360px;
    height: 360px;
    top: -120px;
    left: -80px;
    background: rgba(88, 180, 87, 0.14);
}

body::after {
    width: 340px;
    height: 340px;
    bottom: 0;
    right: -100px;
    background: rgba(255, 187, 56, 0.08);
}

.bg-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(115, 255, 29, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(115, 255, 29, 0.035) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.52), transparent 92%);
    z-index: -1;
}

body.lightbox-open {
    overflow: hidden;
}

img {
    max-width: 100%;
}

h1,
h2,
h3 {
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.01em;
    line-height: 1;
}

h1 {
    font-size: clamp(2.3rem, 5.6vw, 5.2rem);
    text-transform: uppercase;
}

h2 {
    font-size: clamp(2rem, 4.6vw, 3.9rem);
}

p {
    color: var(--muted);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(var(--container), calc(100% - 36px));
    margin: 0 auto;
}

.section {
    position: relative;
    padding: 110px 0;
    scroll-margin-top: 108px;
    background: rgba(4, 8, 6, 0.65);
}

.section::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: min(100%, calc(var(--container) - 36px));
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(147, 255, 169, 0.1), transparent);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: currentColor;
    box-shadow: 0 0 18px rgba(115, 255, 29, 0.34);
}

.site-header {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 60;
    width: min(var(--container), calc(100% - 24px));
    background: rgba(7, 13, 10, 0.72);
    border: 1px solid rgba(147, 255, 169, 0.12);
    border-radius: 24px;
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.nav-wrap {
    min-height: 82px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 0 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent), #bcff8a);
    box-shadow: 0 0 28px rgba(115, 255, 29, 0.34);
}

.brand-mark-icon {
    width: 24px;
    height: auto;
    display: block;
    object-fit: contain;
}

.brand-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: #fff;
}

.brand-text-accent {
    color: #ff4b4b;
}

nav {
    min-width: 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 700;
    transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text);
    background: rgba(115, 255, 29, 0.12);
    box-shadow: inset 0 0 0 1px rgba(147, 255, 169, 0.14);
}

.nav-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    font-weight: 800;
    color: #0a130d;
    background: linear-gradient(135deg, var(--accent), #d0ff70);
    box-shadow: 0 14px 30px rgba(115, 255, 29, 0.24);
}

.nav-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.lang-switch {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: 12px;
    border: 1px solid rgba(147, 255, 169, 0.16);
    background: rgba(7, 14, 10, 0.7);
}

.lang-btn {
    min-width: 44px;
    min-height: 36px;
    padding: 0 10px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--muted);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn:hover,
.lang-btn:focus-visible {
    color: var(--text);
}

.lang-btn.is-active {
    color: #081108;
    background: linear-gradient(135deg, #d6ff8f, var(--accent));
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(147, 255, 169, 0.14);
    border-radius: 14px;
    background: rgba(10, 18, 14, 0.82);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--text);
}

.hero {
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    padding-top: 140px;
    overflow: hidden;
    background: transparent;
}

/* hero-video removed — video is now global (.global-video) */

.hero::before,
.hero::after,
#services::before,
.tracks::before,
#gallery::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-repeat: no-repeat;
}

.comfort {
    padding-top: 74px;
}

.comfort-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 20px;
    align-items: stretch;
}

.comfort-copy {
    padding: 34px;
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255, 167, 59, 0.92), rgba(250, 126, 40, 0.92) 60%, rgba(214, 96, 25, 0.88) 100%),
        url('../images/bg_forest_trail.jpg') center center / cover no-repeat;
    border: 1px solid rgba(255, 197, 108, 0.38);
    box-shadow: 0 26px 70px rgba(16, 8, 2, 0.35);
    color: #fff9f0;
    clip-path: polygon(0 0, 92% 0, 100% 14%, 82% 100%, 0 100%);
}

.comfort-copy .eyebrow {
    color: #fff8ea;
}

.comfort-copy .eyebrow::before {
    box-shadow: 0 0 16px rgba(255, 242, 217, 0.42);
}

.comfort-copy h2 {
    max-width: 14ch;
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: #fff;
    margin-bottom: 14px;
}

.comfort-copy h3 {
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    color: #fff4e6;
    margin-bottom: 12px;
}

.comfort-copy p {
    color: rgba(255, 247, 236, 0.95);
    max-width: 52ch;
}

.comfort-copy p + p {
    margin-top: 10px;
}

.comfort-copy .btn {
    margin-top: 20px;
    background: #10130f;
    color: #fff;
    box-shadow: 0 16px 30px rgba(9, 9, 7, 0.26);
}

.comfort-gallery {
    padding: 12px;
    border-radius: 28px;
    background: rgba(9, 19, 14, 0.82);
    border: 1px solid rgba(147, 255, 169, 0.14);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.comfort-photo {
    position: relative;
    margin: 0;
    overflow: hidden;
    min-height: 220px;
    border-radius: 18px;
}

.comfort-photo-small {
    min-height: 150px;
}

.comfort-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    transition: transform 0.45s ease;
}

.comfort-photo:hover img {
    transform: scale(1.05);
}

.comfort-photo:nth-child(4),
.comfort-photo:nth-child(5) {
    grid-column: span 3;
    min-height: 200px;
}

.hero::before {
    background:
        linear-gradient(120deg, rgba(98, 185, 116, 0.26), rgba(56, 122, 145, 0.16) 52%, rgba(222, 168, 76, 0.2) 100%);
    transform: scale(1.04);
    opacity: 0.96;
}

.hero::after {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.64) 0%, rgba(0, 0, 0, 0.36) 36%, rgba(0, 0, 0, 0.1) 74%, rgba(0, 0, 0, 0.03) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.34) 100%);
    z-index: 1;
}

.hero-layout,
#services > .container,
.tracks > .container,
#gallery > .container {
    position: relative;
    z-index: 2;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 28px;
    align-items: end;
}

.hero-copy {
    position: relative;
    z-index: 3;
    padding: 32px 0 32px;
}

.hero-copy h1 {
    max-width: 13ch;
    line-height: 0.94;
    font-size: clamp(2rem, 4.2vw, 4.25rem);
    text-wrap: balance;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.hero-lead {
    max-width: 60ch;
    margin-top: 18px;
    font-size: 1.05rem;
    color: #ccded1;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 24px;
    border-radius: 16px;
    font-weight: 800;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #071108;
    background: linear-gradient(135deg, var(--accent), #d0ff70);
    box-shadow: 0 18px 34px rgba(115, 255, 29, 0.28);
}

.btn-gift {
    color: #111108;
    background: linear-gradient(135deg, var(--accent-warm), #ffe07b);
    box-shadow: 0 18px 34px rgba(255, 187, 56, 0.2);
}

.btn-ghost {
    color: var(--text);
    border: 1px solid rgba(147, 255, 169, 0.18);
    background: rgba(10, 18, 14, 0.64);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-badges span,
.hero-badge-link,
.chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(147, 255, 169, 0.16);
    background: rgba(7, 14, 10, 0.66);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 800;
}

.hero-badge-link {
    transition: border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.hero-badge-link:hover,
.hero-badge-link:focus-visible {
    border-color: rgba(147, 255, 169, 0.34);
    background: rgba(15, 34, 22, 0.82);
    color: #d4ffb0;
}

.hero-visual {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
    gap: 16px;
    align-items: stretch;
    padding-bottom: 26px;
}

.hero-photo,
.quarry-banner__img,
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    cursor: zoom-in;
}

.hero-photo::after,
.quarry-banner__img::after,
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.42) 100%);
    pointer-events: none;
}

.hero-photo img,
.quarry-banner__img img,
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.hero-photo:hover img,
.quarry-banner__img:hover img,
.gallery-item:hover img {
    transform: scale(1.05);
}

.hero-photo-main {
    min-height: 600px;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 78% 100%, 0 100%);
}

.hero-photo-side {
    min-height: 270px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 86%);
}

.hero-photo figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 1;
    padding: 12px 14px;
    border: 1px solid rgba(147, 255, 169, 0.14);
    border-radius: 16px;
    background: rgba(4, 9, 6, 0.72);
    backdrop-filter: blur(12px);
    color: var(--text);
    font-weight: 700;
}

.hero-visual-stack {
    display: grid;
    gap: 16px;
}

.hero-floating-card,
.hero-cards,
.welcome-copy,
.welcome-panel,
.service-card,
.equipment-card,
.price-card,
.faq-item,
.contact-card,
.tracks-list,
.quarry-banner__caption {
    position: relative;
    background: var(--bg-panel);
    border: 1px solid rgba(147, 255, 169, 0.14);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.hero-floating-card {
    background: var(--bg-panel-accent);
    padding: 24px;
}

.hero-floating-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.hero-floating-card p {
    color: #ccded1;
}

.hero-cards {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 14px;
    background: rgba(4, 8, 6, 0.76);
}

.mini-card,
.service-card,
.equipment-card,
.price-card,
.welcome-stat {
    position: relative;
    overflow: hidden;
}

.mini-card::before,
.service-card::before,
.equipment-card::before,
.price-card::before,
.welcome-stat::before,
.contact-card::before,
.faq-item::before,
.tracks-list::before,
.quarry-banner__caption::before,
.welcome-copy::before,
.welcome-panel::before,
.hero-floating-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent 72%);
}

.mini-card {
    padding: 22px;
    background: rgba(10, 20, 15, 0.88);
    border-radius: 20px;
    border: 1px solid rgba(147, 255, 169, 0.12);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.mini-card.accent {
    background: linear-gradient(150deg, rgba(9, 18, 12, 0.96), rgba(24, 54, 32, 0.9));
}

.mini-card h3 {
    font-size: 1.5rem;
}

.mini-card p {
    margin-top: 8px;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
}

.section-head h2 {
    max-width: 13ch;
}

#services .section-head {
    display: block;
    margin-bottom: 26px;
}

#services .section-head h2 {
    max-width: none;
    font-size: clamp(2rem, 4.2vw, 3.2rem);
}

.welcome {
    padding-top: 42px;
}

.welcome-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 18px;
}

.welcome-copy,
.welcome-panel {
    padding: 28px;
}

.welcome-copy {
    background:
        linear-gradient(125deg, rgba(5, 14, 10, 0.84), rgba(14, 36, 26, 0.74) 55%, rgba(15, 40, 55, 0.58) 100%),
        url('../images/quarry_aerial.jpg') center center / cover no-repeat;
    background-blend-mode: lighten, normal;
}

.welcome-copy p + p {
    margin-top: 12px;
}

.welcome-panel {
    display: grid;
    gap: 14px;
}

.extras {
    padding-top: 40px;
}

.equipment-extras {
    margin-bottom: 42px;
}

.extras-layout {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(147, 255, 169, 0.14);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.extras-menu {
    background: #f2f2f2;
    color: #7d2057;
    padding: 34px 28px;
    clip-path: polygon(0 0, 86% 0, 100% 100%, 0 100%);
    display: grid;
    gap: 14px;
    align-content: center;
}

.extras-menu a {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-weight: 700;
    line-height: 1;
    color: #8f2963;
    text-transform: uppercase;
    transition: transform 0.2s ease, color 0.2s ease;
}

.extras-menu a:first-child {
    color: #f3a600;
}

.extras-menu a:hover,
.extras-menu a:focus-visible {
    transform: translateX(6px);
    color: #591f8f;
}

.extras-promo {
    position: relative;
    padding: 34px;
    background:
        linear-gradient(120deg, rgba(25, 119, 165, 0.72), rgba(8, 53, 84, 0.72) 56%, rgba(17, 120, 108, 0.56) 100%),
        url('../images/quarry_aerial.jpg') center center / cover no-repeat;
}

.extras-promo p {
    color: rgba(232, 245, 238, 0.9);
    max-width: 52ch;
}

.extras-promo h2 {
    margin-bottom: 10px;
    max-width: 14ch;
}

.extras-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.extras-details {
    margin-top: 18px;
    display: grid;
    gap: 14px;
}

.extra-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
    padding: 24px;
    border-radius: 22px;
    background: rgba(9, 21, 16, 0.82);
    border: 1px solid rgba(147, 255, 169, 0.16);
    box-shadow: var(--shadow);
}

.extra-detail h3 {
    font-size: 1.85rem;
    margin-bottom: 8px;
}

.extra-detail p {
    color: #c7ddd0;
    max-width: 78ch;
}

.extra-price {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d9f6df;
    font-weight: 800;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(147, 255, 169, 0.24);
    background: rgba(20, 44, 29, 0.66);
}

.extra-detail ul {
    margin-top: 12px;
    list-style: none;
    display: grid;
    gap: 8px;
}

.extra-detail li {
    position: relative;
    padding-left: 16px;
    color: #e2f3e6;
    font-weight: 600;
}

.extra-detail li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(115, 255, 29, 0.12);
}

.extra-detail .btn {
    min-width: 230px;
}

.extra-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: end;
}

.extra-detail-media {
    width: 250px;
    height: 150px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(147, 255, 169, 0.16);
    box-shadow: var(--shadow);
    cursor: zoom-in;
}

.extra-card {
    padding: 24px;
    border-radius: 20px;
    background: rgba(9, 21, 16, 0.86);
    border: 1px solid rgba(147, 255, 169, 0.14);
    box-shadow: var(--shadow);
}

.extra-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.extra-card p {
    color: #c7ddd0;
}

.pitbike-modes {
    margin-top: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.pitbike-modes__intro,
.mode-card {
    padding: 22px;
    border-radius: 20px;
    background: rgba(9, 21, 16, 0.82);
    border: 1px solid rgba(147, 255, 169, 0.16);
    box-shadow: var(--shadow);
}

.pitbike-modes__intro h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.mode-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.mode-card h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.45rem;
    line-height: 1.15;
    margin-bottom: 8px;
}

.mode-card p {
    color: #c7ddd0;
}

.mode-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 800;
    color: #082312;
    background: linear-gradient(135deg, var(--accent), #b9ff80);
}

.mode-icon img {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}

.mode-price {
    margin-top: auto;
    padding-top: 14px;
    color: #d6f8dc;
    font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
    .global-video {
        display: none;
    }
    body {
        background:
            radial-gradient(circle at top left, rgba(64, 128, 77, 0.2), transparent 24%),
            radial-gradient(circle at 100% 10%, rgba(115, 255, 29, 0.08), transparent 20%),
            linear-gradient(180deg, #050807 0%, #08100c 35%, #040806 100%);
    }
}

.welcome-stat {
    padding: 20px;
    border: 1px solid rgba(147, 255, 169, 0.12);
    border-radius: 18px;
    background: rgba(8, 15, 12, 0.82);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.welcome-stat strong {
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.2rem;
    line-height: 1;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.equipment-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.service-card,
.equipment-card,
.price-card,
.contact-card,
.faq-item,
.tracks-list {
    padding: 24px;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: linear-gradient(180deg, rgba(8, 22, 15, 0.9), rgba(7, 18, 13, 0.92));
}

.service-card h3 {
    margin-top: 8px;
}

.service-card p {
    margin-top: 8px;
}

.service-card .card-jump {
    margin-top: auto;
    padding-top: 16px;
}

.service-thumb,
.equipment-thumb {
    width: 100%;
    margin-bottom: 16px;
    border: 1px solid rgba(147, 255, 169, 0.1);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(15, 30, 22, 0.96), rgba(9, 18, 14, 0.92));
}

.service-thumb {
    height: 230px;
    object-fit: contain;
    object-position: center;
    padding: 18px;
    background:
        radial-gradient(circle at 70% 20%, rgba(93, 177, 226, 0.3), transparent 42%),
        radial-gradient(circle at 20% 90%, rgba(108, 224, 133, 0.2), transparent 46%),
        linear-gradient(180deg, rgba(6, 20, 15, 0.92), rgba(5, 15, 11, 0.92));
    border-color: rgba(132, 231, 154, 0.2);
}

.service-thumb-photo {
    object-fit: cover;
    padding: 0;
    background: transparent;
}

.equipment-thumb {
    height: 190px;
    object-fit: contain;
    padding: 10px;
}

.service-card h3,
.equipment-card h3,
.price-card h3 {
    font-size: 1.6rem;
}

.service-card p,
.equipment-card p,
.price-card p {
    margin-top: 8px;
}

.tracks::before {
    background:
        linear-gradient(120deg, rgba(74, 162, 128, 0.2), rgba(70, 130, 205, 0.14) 50%, rgba(226, 174, 86, 0.18) 100%),
        url('../images/quarry_aerial.jpg') center center / cover no-repeat;
    opacity: 0.52;
    filter: saturate(1.18) contrast(1.02);
}

.tracks::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 4, 0.38), rgba(2, 6, 4, 0.34));
}

.tracks-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 18px;
    align-items: stretch;
}

.tracks-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.tracks-list li {
    position: relative;
    padding-left: 18px;
    font-weight: 700;
    color: var(--text);
}

.tracks-list li::before {
    content: '';
    position: absolute;
    top: 11px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(115, 255, 29, 0.12);
}

.price-main {
    color: var(--text);
    font-weight: 800;
    font-size: 1.25rem;
}

.price-sub {
    font-size: 0.95rem;
}

#services::before {
    background:
        linear-gradient(125deg, rgba(80, 164, 92, 0.2), rgba(38, 116, 148, 0.08) 58%, rgba(217, 164, 81, 0.12) 100%),
        url('../images/bg_forest_trail.jpg') center center / cover no-repeat;
    opacity: 0.34;
}

#gallery::before {
    background:
        linear-gradient(125deg, rgba(64, 146, 83, 0.24), rgba(43, 108, 156, 0.1) 52%, rgba(208, 156, 72, 0.16) 100%),
        url('../images/forest_pine.jpg') center center / cover no-repeat;
    opacity: 0.4;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
}

.gallery-collapsible {
    position: relative;
}

.gallery-collapsible.is-collapsed .photo-grid {
    max-height: 700px;
    overflow: hidden;
}

.gallery-collapsible.is-collapsed::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 68px;
    height: 140px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(4, 8, 6, 0) 0%, rgba(4, 8, 6, 0.96) 100%);
}

.gallery-toggle-wrap {
    margin-top: 14px;
    display: flex;
    justify-content: center;
}

.gallery-toggle {
    min-width: 260px;
}

.gallery-item {
    grid-column: span 4;
    min-height: 260px;
    border: 1px solid rgba(147, 255, 169, 0.12);
    box-shadow: var(--shadow);
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(2) {
    grid-column: span 6;
    min-height: 320px;
}

.gallery-item img {
    height: 100%;
}

.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 0;
    background: #000;
}

.gallery-item-video {
    overflow: hidden;
}

.quarry-banner {
    width: min(var(--container), calc(100% - 36px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr minmax(280px, 340px);
    gap: 18px;
    align-items: stretch;
}

.quarry-banner__img,
.quarry-banner__caption {
    min-height: 380px;
    box-shadow: var(--shadow);
}

.quarry-banner__caption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 30px;
    background: linear-gradient(160deg, rgba(6, 12, 9, 0.96), rgba(12, 28, 18, 0.86));
}

.quarry-banner__caption strong {
    font-size: 2.15rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin-top: 10px;
}

.contact {
    padding-bottom: 130px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 18px;
}

.contact-card p {
    color: var(--text);
}

.contact-card p + p {
    margin-top: 10px;
}

.contact-card a {
    color: var(--accent);
    font-weight: 800;
}

.contact-label {
    margin-top: 16px;
}

.contact-actions {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-actions a.btn {
    text-decoration: none;
}

.contact-actions .btn.btn-primary {
    color: #071108;
}

.contact-actions .btn.btn-ghost {
    color: #d8fbe0;
    border-color: rgba(147, 255, 169, 0.26);
    background: rgba(9, 19, 14, 0.82);
}

.contact-actions .btn.btn-telegram {
    color: #d9f3ff;
    border-color: rgba(80, 188, 255, 0.45);
    background: linear-gradient(135deg, rgba(16, 68, 102, 0.72), rgba(11, 43, 72, 0.76));
    box-shadow: 0 10px 24px rgba(35, 133, 199, 0.2);
}

.contact-actions .btn.btn-telegram:hover,
.contact-actions .btn.btn-telegram:focus-visible {
    color: #f2fbff;
    border-color: rgba(118, 216, 255, 0.72);
    background: linear-gradient(135deg, rgba(20, 95, 140, 0.82), rgba(12, 63, 104, 0.84));
}

.contact-actions .btn {
    min-height: 46px;
    padding: 0 18px;
}

.contact-links {
    margin-top: 16px;
    display: grid;
    gap: 8px;
}

.contact-links a {
    color: #d7f7dc;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(147, 255, 169, 0.35);
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
    color: #f5fff6;
    text-decoration-color: rgba(147, 255, 169, 0.8);
}

.site-footer {
    border-top: 1px solid rgba(147, 255, 169, 0.08);
    background: rgba(6, 10, 8, 0.76);
    backdrop-filter: blur(14px);
}

.footer-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
}

.interactive-card {
    cursor: pointer;
}

.interactive-card:hover,
.interactive-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(147, 255, 169, 0.26);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(147, 255, 169, 0.08) inset;
}

.interactive-card:hover .card-jump,
.interactive-card:focus-visible .card-jump {
    color: #d5ffb4;
}

.interactive-card:focus-visible {
    outline: 2px solid rgba(115, 255, 29, 0.3);
    outline-offset: 2px;
}

.card-jump {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--accent);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.card-jump::after {
    content: '→';
    font-size: 1rem;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 28px;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(12px);
}

.lightbox[hidden] {
    display: none;
}

.lightbox-figure {
    max-width: min(1200px, 100%);
    max-height: calc(100vh - 56px);
    display: grid;
    gap: 12px;
}

.lightbox-image {
    max-width: 100%;
    max-height: calc(100vh - 130px);
    border-radius: 22px;
    border: 1px solid rgba(147, 255, 169, 0.18);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.46);
}

.lightbox-caption {
    text-align: center;
    color: var(--white, #fff);
    font-weight: 600;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 1120px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-layout,
    .welcome-layout,
    .tracks-layout,
    .contact-layout,
    .comfort-layout,
    .hero-visual {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-copy h1,
    .section-head h2 {
        max-width: none;
    }

    .hero-photo-main {
        min-height: 460px;
        clip-path: none;
    }

    .hero-photo-side {
        clip-path: none;
    }

    .hero-cards,
    .pricing-grid,
    .faq-grid,
    .quarry-banner {
        grid-template-columns: 1fr;
    }

    .quarry-banner__img,
    .quarry-banner__caption {
        min-height: 260px;
    }

    .extras-layout,
    .extras-cards {
        grid-template-columns: 1fr;
    }

    .pitbike-modes {
        grid-template-columns: 1fr;
    }

    .extra-detail {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .extra-side {
        width: 100%;
        align-items: stretch;
    }

    .extra-detail-media {
        width: 100%;
        height: 220px;
    }

    .extra-detail .btn {
        min-width: 0;
        width: 100%;
    }

    .extras-menu {
        clip-path: none;
    }

    .extras-promo {
        padding-left: 34px;
    }

    .comfort-copy {
        clip-path: none;
    }

    .comfort-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .comfort-photo:nth-child(4),
    .comfort-photo:nth-child(5) {
        grid-column: span 2;
    }
}

@media (max-width: 980px) {
    .site-header {
        top: 10px;
        width: calc(100% - 16px);
        border-radius: 18px;
    }

    .nav-wrap {
        min-height: 64px;
        grid-template-columns: auto 1fr auto auto;
        padding: 0 16px;
        column-gap: 10px;
    }

    .brand {
        grid-column: 1;
        grid-row: 1;
    }

    .nav-actions {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        grid-column: 4;
        grid-row: 1;
        justify-self: end;
    }

    .nav-call {
        display: none;
    }

    nav {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 0 0 16px;
    }

    .nav-menu a {
        justify-content: flex-start;
        padding: 0 14px;
        border-radius: 14px;
    }

    .nav-menu.open {
        display: flex;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .equipment-grid,
    .photo-grid,
    .comfort-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-item,
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2) {
        grid-column: auto;
        min-height: 240px;
    }
}

@media (max-width: 720px) {
    .brand-text {
        font-size: 1.38rem;
    }

    .lang-btn {
        min-width: 40px;
        min-height: 34px;
        font-size: 0.88rem;
    }

    .section {
        padding: 82px 0;
    }

    .container {
        width: calc(100% - 24px);
    }

    .hero {
        padding-top: 120px;
    }

    .hero-copy {
        padding: 14px 0 0;
    }

    .hero-actions,
    .hero-badges {
        flex-direction: column;
        align-items: stretch;
    }

    .btn,
    .hero-badge-link,
    .hero-badges span {
        width: 100%;
    }

    .service-grid,
    .equipment-grid,
    .photo-grid,
    .comfort-gallery,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .hero-photo-main,
    .hero-photo-side,
    .quarry-banner__img,
    .gallery-item {
        min-height: 220px;
    }

    .hero-photo,
    .quarry-banner__img,
    .gallery-item,
    .comfort-photo,
    .extras-layout,
    .hero-floating-card,
    .welcome-copy,
    .welcome-panel,
    .service-card,
    .equipment-card,
    .price-card,
    .faq-item,
    .contact-card,
    .tracks-list,
    .quarry-banner__caption,
    .hero-cards {
        border-radius: 20px;
    }

    .lightbox {
        padding: 16px;
    }

    .lightbox-image {
        border-radius: 18px;
    }

    .comfort-photo:nth-child(4),
    .comfort-photo:nth-child(5) {
        grid-column: auto;
    }

    .footer-wrap {
        flex-direction: column;
        justify-content: center;
        padding: 14px 0;
    }

    .extras-menu {
        padding: 22px;
    }

    .extras-promo {
        padding: 22px;
    }

    .extras-menu a {
        font-size: clamp(1.15rem, 7vw, 1.45rem);
    }

    .extra-detail {
        padding: 18px;
    }

    .extra-detail h3 {
        font-size: 1.6rem;
    }
}
