/* Glory Golf Club - template styles
   1. Tokens
   2. Base
   3. Layout helpers
   4. Header / navigation / drawer
   5. Hero
   6. Sections & content blocks
   7. Cards (events, products, posts, quotes)
   8. Forms
   9. Footer
   10. Responsive
*/

/* 1. Tokens */
:root {
    --bg: #070906;
    --bg-soft: #0b0e0a;
    --surface: #11150f;
    --surface-2: #161b14;
    --line: rgba(255, 255, 255, 0.14);
    --line-soft: rgba(255, 255, 255, 0.08);
    --lime: #cffd5a;
    --lime-soft: rgba(207, 253, 90, 0.16);
    --ink: #ffffff;
    --muted: #cfd7da;
    --muted-2: #93a099;
    --danger: #ffb4a8;
    --radius-s: 12px;
    --radius: 20px;
    --radius-l: 28px;
    --container: 1220px;
    --font: "Kanit", "Helvetica Neue", Arial, sans-serif;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --dur: 0.4s;
    --header-h: 88px;
}

/* 2. Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

p {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    font-family: inherit;
}

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--lime);
    color: #0a0d08;
    padding: 12px 20px;
    border-radius: 0 0 12px 0;
    font-weight: 500;
}

.skip-link:focus {
    left: 0;
}

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

/* 3. Layout helpers */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

.section {
    position: relative;
    padding: clamp(64px, 8vw, 112px) 0;
}

.section--tight {
    padding: clamp(44px, 6vw, 72px) 0;
}

.section--line {
    border-top: 1px solid var(--line-soft);
}

.eyebrow {
    color: var(--lime);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: clamp(32px, 4vw, 48px);
}

.section-head__title {
    font-size: clamp(30px, 4.4vw, 54px);
    margin-top: 10px;
}

.section-head__desc {
    max-width: 46ch;
    color: var(--muted);
    font-size: 15px;
}

.section-head__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    max-width: 46ch;
}

.prose {
    color: var(--muted);
    font-size: 16px;
    font-weight: 300;
    max-width: 70ch;
}

.prose + .prose {
    margin-top: 16px;
}

.prose strong {
    color: var(--ink);
    font-weight: 500;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 4.5vw, 64px);
    align-items: center;
}

.media {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-l);
    border: 1px solid var(--line-soft);
    background: var(--surface);
    aspect-ratio: 4 / 3;
}

.media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media--tall {
    aspect-ratio: 4 / 5;
}

.media--wide {
    aspect-ratio: 16 / 9;
}

.media__caption {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(7, 9, 6, 0.72);
    border: 1px solid var(--line);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--ink);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    cursor: pointer;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
        border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.28);
}

.btn--lime {
    background: var(--lime);
    border-color: var(--lime);
    color: #0a0d08;
    font-weight: 600;
}

.btn--lime:hover {
    background: #ddff8c;
    border-color: #ddff8c;
    color: #0a0d08;
}

.btn--block {
    width: 100%;
}

.btn__arrow {
    display: inline-block;
    transition: transform var(--dur) var(--ease);
}

.btn:hover .btn__arrow {
    transform: translateX(4px);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    padding-bottom: 4px;
    transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.link-arrow:hover {
    color: var(--lime);
    border-color: var(--lime);
}

/* Badges and notices */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.badge--lime {
    border-color: rgba(207, 253, 90, 0.5);
    color: var(--lime);
    background: var(--lime-soft);
}

.badge--archive {
    border-color: rgba(201, 178, 143, 0.45);
    color: #d9c49f;
}

.notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 18px 22px;
    border-radius: var(--radius);
    border: 1px solid var(--line-soft);
    background: var(--surface);
    color: var(--muted);
    font-size: 14px;
}

.notice strong {
    color: var(--ink);
    font-weight: 500;
}

/* 4. Header / navigation / drawer */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(7, 9, 6, 0.9);
    border-bottom: 1px solid var(--line-soft);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: none;
}

.brand__mark {
    display: inline-flex;
    width: 38px;
    height: 38px;
}

.brand__name {
    font-size: 27px;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav__item {
    position: relative;
}

.nav__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: rgba(255, 255, 255, 0.86);
    font-family: var(--font);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.2;
    cursor: pointer;
    transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
    color: var(--lime);
}

.caret {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.3s var(--ease);
}

.nav__item.is-open .caret {
    transform: translateY(1px) rotate(225deg);
}

.nav__menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 232px;
    display: none;
    flex-direction: column;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #0e120d;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    z-index: 70;
}

.nav__item.is-open .nav__menu {
    display: flex;
}

.nav__menu-link {
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 300;
    color: var(--muted);
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav__menu-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--ink);
}

.site-header__cta {
    flex: none;
    border-color: rgba(255, 255, 255, 0.28);
    padding: 12px 24px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 1.5px;
    width: 100%;
    background: var(--ink);
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

.drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 90;
    flex-direction: column;
    padding: 22px 24px 40px;
    background: #070906;
    overflow-y: auto;
}

.drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.drawer__close {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: none;
    color: var(--ink);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.drawer__group + .drawer__group {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--line-soft);
}

.drawer__label {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-bottom: 10px;
}

.drawer__link {
    display: block;
    padding: 11px 0;
    font-size: 22px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.drawer__link:hover {
    color: var(--lime);
}

.drawer__sub {
    display: block;
    padding: 8px 0;
    font-size: 16px;
    color: var(--muted);
}

.drawer__cta {
    margin-top: 28px;
}

/* 5. Hero */
.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: calc(100vh - var(--header-h));
    padding: clamp(40px, 6vw, 72px) 0 clamp(20px, 4vw, 40px);
}

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

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: saturate(0.92) brightness(0.72);
}

.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 9, 6, 0.88) 0%, rgba(7, 9, 6, 0.45) 42%, rgba(7, 9, 6, 0.96) 100%);
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    gap: clamp(24px, 6vh, 64px);
}

.hero__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
    align-items: end;
}

.hero__eyebrow {
    color: var(--lime);
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    line-height: 1.2;
}

.hero__lead {
    margin-top: 18px;
    max-width: 36ch;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
}

.member-badge {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 6px;
}

.member-badge__count {
    color: var(--lime);
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.member-badge__note {
    color: var(--muted);
    font-size: 15px;
    font-weight: 300;
}

.avatars {
    display: flex;
    align-items: center;
    padding-left: 14px;
}

.avatars img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    object-fit: cover;
    margin-left: -14px;
    background: var(--surface);
}

.hero__display {
    padding-bottom: clamp(8px, 2vh, 24px);
}

.hero__title {
    font-size: clamp(58px, 12.2vw, 168px);
    line-height: 0.92;
    letter-spacing: -0.035em;
    font-weight: 700;
}

.hero__line {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 30px);
    white-space: nowrap;
}

.hero__ball {
    width: clamp(58px, 8.6vw, 116px);
    height: clamp(58px, 8.6vw, 116px);
    border-radius: 50%;
    object-fit: cover;
    flex: none;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

/* Inner page hero */
.page-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line-soft);
    padding: clamp(56px, 9vw, 118px) 0 clamp(44px, 6vw, 76px);
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.page-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 9, 6, 0.86) 0%, rgba(7, 9, 6, 0.72) 60%, rgba(7, 9, 6, 0.98) 100%);
}

.page-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 40px;
    align-items: end;
}

.page-hero__title {
    font-size: clamp(40px, 7.4vw, 92px);
    line-height: 0.94;
    letter-spacing: -0.03em;
    margin-top: 16px;
}

.page-hero__lead {
    max-width: 44ch;
    color: var(--muted);
    font-size: 16px;
    font-weight: 300;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.breadcrumb a:hover {
    color: var(--lime);
}

.breadcrumb span[aria-hidden="true"] {
    opacity: 0.5;
}

/* 6. Sections & content blocks */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
}

.about-copy {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.check-list {
    display: grid;
    gap: 12px;
}

.check-list li {
    position: relative;
    padding-left: 26px;
    color: var(--muted);
    font-size: 15px;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--lime);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: clamp(40px, 5vw, 64px);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: var(--line-soft);
    overflow: hidden;
}

.stat {
    background: var(--bg);
    padding: clamp(22px, 3vw, 34px);
}

.stat__value {
    font-size: clamp(30px, 3.8vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--lime);
    line-height: 1;
}

.stat__label {
    margin-top: 10px;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted-2);
}

/* Facility tabs */
.facility {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(28px, 4.5vw, 64px);
    align-items: center;
}

.tabs {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line-soft);
}

.tabs__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: clamp(16px, 2vw, 24px) 4px;
    border: 0;
    border-bottom: 1px solid var(--line-soft);
    background: none;
    color: var(--muted-2);
    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.1;
    text-transform: uppercase;
    text-align: left;
    cursor: pointer;
    transition: color 0.28s var(--ease);
}

.tabs__btn:hover {
    color: var(--ink);
}

.tabs__btn[aria-selected="true"] {
    color: var(--lime);
    padding-left: 10px;
}

.tabs__index {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.16em;
    color: var(--muted-2);
}

.tabs__btn[aria-selected="true"] .tabs__index {
    color: var(--lime);
}

.facility__panels {
    position: relative;
}

.facility__panel {
    display: none;
}

.facility__panel.is-active {
    display: block;
    animation: fade-up 0.5s var(--ease) both;
}

.facility__panel .media {
    margin-bottom: 20px;
}

.facility__text {
    color: var(--muted);
    font-size: 15px;
    max-width: 52ch;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* CTA band */
.cta-band {
    position: relative;
    overflow: hidden;
    padding: clamp(52px, 7vw, 92px) 0;
    border-top: 1px solid var(--line-soft);
    background: radial-gradient(120% 140% at 12% 0%, rgba(207, 253, 90, 0.14) 0%, rgba(7, 9, 6, 0) 62%), var(--bg-soft);
}

.cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-band__title {
    font-size: clamp(30px, 4.6vw, 62px);
    line-height: 0.98;
    letter-spacing: -0.025em;
}

.cta-band__text {
    margin-top: 14px;
    max-width: 44ch;
    color: var(--muted);
    font-size: 15px;
}

.cta-band__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* 7. Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2.4vw, 28px);
}

.card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(207, 253, 90, 0.42);
}

.card__media {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: var(--surface-2);
}

.card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

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

.card__media .badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(7, 9, 6, 0.78);
    backdrop-filter: blur(6px);
}

.card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: clamp(20px, 2.2vw, 28px);
    flex: 1;
}

.card__meta {
    color: var(--lime);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.card__title {
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.12;
}

.card__title a:hover {
    color: var(--lime);
}

.card__text {
    color: var(--muted);
    font-size: 14px;
    font-weight: 300;
}

.card__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 2px;
    color: var(--muted-2);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.card__facts span {
    display: inline-flex;
    gap: 6px;
}

.card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
}

.card__price {
    color: var(--ink);
    font-size: 18px;
    font-weight: 500;
}

.card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
    transition: color 0.25s var(--ease);
}

.card:hover .card__link {
    color: var(--lime);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(18px, 2.2vw, 26px);
}

.quotes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2.2vw, 26px);
}

.quote {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: clamp(24px, 2.6vw, 34px);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: var(--surface);
}

.quote__stars {
    color: var(--lime);
    letter-spacing: 0.24em;
    font-size: 13px;
}

.quote__text {
    color: var(--muted);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
}

.quote__person {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 6px;
}

.quote__person img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--line);
}

.quote__name {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.quote__role {
    font-size: 12px;
    color: var(--muted-2);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Detail layouts */
.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
}

.detail-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: clamp(22px, 2.6vw, 32px);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: var(--surface);
}

.detail-side__title {
    font-size: 18px;
    letter-spacing: 0.02em;
}

.def-list {
    display: grid;
    margin: 0;
}

.def-list > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
}

.def-list > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.def-list dt {
    flex: none;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.def-list dd {
    margin: 0;
    text-align: right;
    font-size: 14px;
    color: var(--ink);
}

/* Membership plans */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2.2vw, 26px);
}

.plan {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: clamp(24px, 2.8vw, 36px);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: var(--surface);
}

.plan--featured {
    border-color: rgba(207, 253, 90, 0.42);
    background: linear-gradient(180deg, rgba(207, 253, 90, 0.08) 0%, rgba(17, 21, 15, 1) 58%);
}

.plan__name {
    font-size: 22px;
}

.plan__price {
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    color: var(--lime);
    letter-spacing: -0.02em;
    line-height: 1;
}

.plan__price small {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.plan__list {
    display: grid;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
}

.plan__list li {
    position: relative;
    padding-left: 20px;
}

.plan__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lime);
}

.plan .btn {
    margin-top: auto;
}

/* FAQ */
.faq {
    border-top: 1px solid var(--line-soft);
}

.faq__item {
    border-bottom: 1px solid var(--line-soft);
}

.faq__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: clamp(18px, 2.2vw, 26px) 0;
    cursor: pointer;
    font-size: clamp(17px, 1.8vw, 21px);
    font-weight: 500;
    color: var(--ink);
    list-style: none;
}

.faq__summary::-webkit-details-marker {
    display: none;
}

.faq__icon {
    position: relative;
    flex: none;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 50%;
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1.5px;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: opacity 0.3s var(--ease);
}

.faq__item[open] .faq__icon {
    transform: rotate(90deg);
    border-color: rgba(207, 253, 90, 0.5);
}

.faq__item[open] .faq__icon::after {
    opacity: 0;
}

.faq__answer {
    padding-bottom: 24px;
    max-width: 76ch;
    color: var(--muted);
    font-size: 15px;
}

.faq-group + .faq-group {
    margin-top: clamp(36px, 4vw, 56px);
}

.faq-group__title {
    font-size: 13px;
    letter-spacing: 0.2em;
    color: var(--muted-2);
    margin-bottom: 12px;
}

/* 8. Forms */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: clamp(28px, 4vw, 60px);
    align-items: start;
}

.form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: clamp(24px, 3vw, 38px);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-l);
    background: var(--surface);
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field--full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--ink);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 300;
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.field textarea {
    min-height: 148px;
    border-radius: 16px;
    resize: vertical;
}

.field select {
    appearance: none;
    padding-right: 46px;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
        linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #6f7a72;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: rgba(207, 253, 90, 0.6);
    background: rgba(255, 255, 255, 0.06);
    outline: none;
}

.field__hint {
    font-size: 12px;
    color: var(--muted-2);
}

.field__error {
    display: none;
    font-size: 12px;
    color: var(--danger);
}

.field.has-error input,
.field.has-error textarea,
.field.has-error select {
    border-color: var(--danger);
}

.field.has-error .field__error {
    display: block;
}

.form__actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.form__note {
    grid-column: 1 / -1;
    font-size: 12px;
    line-height: 1.7;
    color: var(--muted-2);
}

.form-status {
    display: none;
    grid-column: 1 / -1;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--line);
    font-size: 14px;
    line-height: 1.6;
}

.form-status.is-visible {
    display: block;
}

.form-status.is-success {
    border-color: rgba(207, 253, 90, 0.45);
    background: rgba(207, 253, 90, 0.1);
    color: #e8ffb2;
}

.form-status.is-error {
    border-color: rgba(255, 180, 168, 0.45);
    background: rgba(255, 180, 168, 0.08);
    color: var(--danger);
}

.contact-aside {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.info-card {
    padding: clamp(20px, 2.4vw, 28px);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: var(--surface);
}

.info-card__title {
    font-size: 12px;
    letter-spacing: 0.18em;
    color: var(--muted-2);
    margin-bottom: 12px;
}

.info-card p,
.info-card a {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.info-card a:hover {
    color: var(--lime);
}

.info-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 14px;
    color: var(--muted);
}

.info-row:last-child {
    border-bottom: 0;
}

/* 9. Footer */
.site-footer {
    border-top: 1px solid var(--line-soft);
    background: var(--bg-soft);
    padding: clamp(48px, 6vw, 84px) 0 28px;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(28px, 4vw, 64px);
    padding-bottom: clamp(32px, 4vw, 48px);
    border-bottom: 1px solid var(--line-soft);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 46ch;
}

.footer-brand__text {
    color: var(--muted);
    font-size: 15px;
}

.footer-label {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.newsletter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.newsletter input {
    flex: 1 1 220px;
    min-width: 0;
    padding: 13px 20px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--ink);
    font-family: var(--font);
    font-size: 15px;
}

.newsletter input::placeholder {
    color: #6f7a72;
}

.newsletter .btn {
    flex: none;
}

.footer-social {
    display: flex;
    gap: 18px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.footer-social a {
    font-size: 14px;
    color: var(--muted);
    border-bottom: 1px solid transparent;
    transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.footer-social a:hover {
    color: var(--lime);
    border-color: var(--lime);
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    padding: clamp(28px, 3.4vw, 44px) 0;
}

.footer-col h3 {
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--muted-2);
    font-weight: 500;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.footer-col a {
    font-size: 15px;
    color: var(--muted);
    transition: color 0.25s var(--ease);
}

.footer-col a:hover {
    color: var(--lime);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--line-soft);
    color: var(--muted-2);
    font-size: 12px;
    letter-spacing: 0.04em;
}

/* 10. Responsive */
@media (max-width: 1080px) {
    .hero__top {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .member-badge {
        padding-bottom: 0;
    }

    .page-hero__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        align-items: start;
    }

    .card-grid,
    .quotes,
    .plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-grid,
    .facility,
    .split,
    .detail-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .media--tall {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 960px) {
    .nav,
    .site-header__cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .drawer.is-open {
        display: flex;
    }

    .container {
        padding: 0 22px;
    }
}

@media (max-width: 720px) {
    :root {
        --header-h: 74px;
    }

    .hero {
        min-height: calc(100vh - var(--header-h));
        padding-top: 36px;
    }

    .hero__line {
        white-space: normal;
        flex-wrap: wrap;
    }

    .hero__title {
        font-size: clamp(46px, 15vw, 88px);
    }

    .hero__lead {
        font-size: 15px;
    }

    .avatars img {
        width: 46px;
        height: 46px;
    }

    .card-grid,
    .quotes,
    .plan-grid,
    .product-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-top {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-head {
        align-items: flex-start;
    }
}

@media (max-width: 420px) {
    .footer-cols {
        grid-template-columns: minmax(0, 1fr);
    }

    .brand__name {
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}


/* select-inset-fix:20261116:v1 */
/* Single native selects only; keep site colours, borders, sizing and interaction. */
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]){
 -webkit-appearance:none!important; -moz-appearance:none!important; appearance:none!important;
 padding-inline-end:44px!important;
 background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%)!important;
 background-position:right 22px center,right 16px center!important;
 background-size:6px 6px,6px 6px!important; background-repeat:no-repeat!important;
}
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]):dir(rtl){background-position:left 16px center,left 22px center!important}
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]):is(.field select){background-image:linear-gradient(45deg, transparent 50%, var(--muted) 50%),
        linear-gradient(135deg, var(--muted) 50%, transparent 50%)!important;background-position:right 22px center,right 16px center!important;background-size:6px 6px, 6px 6px!important;background-repeat:no-repeat!important}
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]):is(.field select):dir(rtl){background-position:left 16px center,left 22px center!important}
@media (forced-colors:active){select:not([multiple]):is(:not([size]),[size="0"],[size="1"]),select:not([multiple]):is(:not([size]),[size="0"],[size="1"]):is(.field select){-webkit-appearance:auto!important;-moz-appearance:auto!important;appearance:auto!important;background-image:none!important}}
