/* Ikeja Golf Club: main stylesheet */

:root {
  --forest: #0b3d24;
  --forest-2: #0f5130;
  --green: #14783f;
  --green-2: #1c9450;
  --gold: #f2c230;
  --gold-2: #d9a917;
  --cream: #f7f3e8;
  --sand: #ece4cf;
  --ink: #13231a;
  --muted: #5b6b61;
  --line: rgba(19, 35, 26, .12);
  --white: #fff;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -20px rgba(11, 61, 36, .35);
  --shadow-sm: 0 6px 20px -10px rgba(11, 61, 36, .3);
  --wrap: 1200px;
  --nav-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--forest); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.8rem, 6.5vw, 5.6rem); }
h2, .h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1.1em; }
address { font-style: normal; }
.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 860px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .7em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--gold); }
.eyebrow--gold { color: var(--gold); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.4em;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 700 .95rem/1 var(--sans);
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 1.05em 1.9em; font-size: 1rem; }
.btn--gold { background: var(--gold); color: var(--forest); box-shadow: 0 10px 30px -12px rgba(242, 194, 48, .8); }
.btn--gold:hover { background: #ffd247; color: var(--forest); }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--forest); color: var(--white); }
.btn--ghost { background: transparent; color: var(--forest); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--outline-light { color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { background: var(--white); color: var(--forest); border-color: var(--white); }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; }
.link-arrow .ico { transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ─── Top bar & navigation ──────────────────────────────── */
.topbar { background: var(--forest); color: rgba(255,255,255,.8); font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar__addr { display: inline-flex; align-items: center; gap: .5em; }
.topbar__addr svg { width: 14px; height: 14px; fill: var(--gold); }
.topbar__phones { display: flex; gap: 1.6rem; }
.topbar__phones a { color: var(--white); font-weight: 600; }
.topbar__phones a span { color: var(--gold); font-weight: 500; margin-right: .3em; }
.topbar__phones a:hover { color: var(--gold); }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.nav.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.35); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--nav-h); gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .8rem; color: var(--forest); }
.brand img { width: 52px; height: auto; filter: drop-shadow(0 4px 8px rgba(0,0,0,.15)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; }
.brand__text small { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 3px; }
.brand--light { color: var(--white); }
.brand--light small { color: rgba(255,255,255,.6); }

.nav__links { display: flex; align-items: center; gap: .3rem; }
.nav__links a:not(.btn) {
  color: var(--ink); font-weight: 600; font-size: .95rem;
  padding: .55em .85em; border-radius: 999px; position: relative;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 0; height: 2px;
  background: var(--gold); transition: width .3s var(--ease), left .3s var(--ease);
}
.nav__links a:not(.btn):hover::after,
.nav__links a[aria-current="page"]::after { width: 40%; left: 30%; }
.nav__links a[aria-current="page"] { color: var(--green); }
.nav__cta { margin-left: .8rem; }
.nav__cta svg { width: 16px; height: 16px; fill: currentColor; }

.nav__toggle { display: none; width: 46px; height: 46px; border: 0; background: var(--cream); border-radius: 12px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--forest); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav__toggle span:nth-child(3) { top: 28px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ─── Home hero ─────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate; color: var(--white);
  min-height: calc(100svh - var(--nav-h) - 40px);
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: kenburns 22s ease-out both; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(100deg, rgba(8,40,24,.92) 0%, rgba(8,40,24,.65) 42%, rgba(8,40,24,.1) 75%),
  linear-gradient(0deg, rgba(8,40,24,.85) 0%, transparent 35%); }
.hero__inner { padding: 6rem 0 9rem; }
.hero h1 { max-width: 16ch; text-shadow: 0 4px 30px rgba(0,0,0,.25); }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero .lead { color: rgba(255,255,255,.85); font-size: 1.2rem; max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero__stats { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(255,255,255,.15); background: rgba(8,40,24,.55); backdrop-filter: blur(6px); }
.hero__stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero__stats-inner div { padding: 1.3rem 0; display: flex; flex-direction: column; border-left: 1px solid rgba(255,255,255,.12); padding-left: 1.5rem; }
.hero__stats-inner div:first-child { border-left: 0; padding-left: 0; }
.hero__stats strong { font-family: var(--serif); font-size: 2.1rem; line-height: 1; color: var(--gold); }
.hero__stats span { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-top: .35rem; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }

/* ─── Inner page hero ───────────────────────────────────── */
.phero { position: relative; isolation: isolate; color: var(--white); padding: 8rem 0 6rem; overflow: hidden; }
.phero--short { min-height: 70vh; display: flex; align-items: center; }
.phero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: kenburns 18s ease-out both; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8,40,24,.92), rgba(8,40,24,.55) 60%, rgba(8,40,24,.3)); }
.phero h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); max-width: 16ch; }
.phero .lead { color: rgba(255,255,255,.85); }

/* ─── Sections ──────────────────────────────────────────── */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--top { padding-top: clamp(3rem, 6vw, 5rem); }
.section--cream { background: var(--cream); }
.section--green { background: radial-gradient(1200px 500px at 85% -10%, rgba(242,194,48,.12), transparent 60%), var(--forest); color: var(--white); }
.section--green h2 { color: var(--white); }
.section--green .lead { color: rgba(255,255,255,.75); }
.section__head { margin-bottom: 3rem; max-width: 720px; }
.section__head--center { text-align: center; margin-inline: auto; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--center .lead { margin-inline: auto; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; }
.section__head--row h2 { margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.split--top { align-items: start; }
.split__media { position: relative; padding: 0 2.5rem 3.5rem 0; }
.split__media--single { padding: 0; }
.split__media .img-main { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; box-shadow: var(--shadow); }
.split__media--single .img-main { aspect-ratio: 4 / 4.6; }
.split__media .img-float {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius); border: 8px solid var(--white); box-shadow: var(--shadow);
}
.badge-year {
  position: absolute; left: -18px; top: 30px; width: 120px; height: 120px; border-radius: 50%;
  background: var(--gold); color: var(--forest); display: grid; place-content: center; text-align: center;
  box-shadow: var(--shadow); border: 6px solid var(--white);
}
.badge-year span { font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; font-weight: 700; }
.badge-year strong { font-family: var(--serif); font-size: 2.2rem; line-height: 1; }

.ticks { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.5rem; }
.ticks li { position: relative; padding-left: 1.9rem; font-weight: 600; font-size: .97rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center / 75% no-repeat;
}

/* ─── Feature cards ─────────────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.feature { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; display: flex; flex-direction: column; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: transform .8s var(--ease); }
.feature:hover img { transform: scale(1.05); }
.feature__body { padding: 1.8rem 1.8rem 2rem; position: relative; flex: 1; display: flex; flex-direction: column; }
.feature__body > .ico {
  position: absolute; top: -28px; left: 1.8rem; width: 56px; height: 56px; padding: 15px; border-radius: 50%;
  background: var(--gold); fill: var(--forest); box-shadow: var(--shadow-sm);
}
.feature__body h3 { margin-top: 1.2rem; }
.feature__body p { color: var(--muted); font-size: .97rem; }
.feature__body .link-arrow { margin-top: auto; }

/* ─── Quote band ────────────────────────────────────────── */
.quote { position: relative; isolation: isolate; color: var(--white); padding: clamp(5rem, 11vw, 9rem) 0; text-align: center; overflow: hidden; }
.quote__bg { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; z-index: -2; }
.quote::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8,40,24,.78); }
.quote__inner { max-width: 900px; }
.quote__inner > .ico { width: 46px; height: 46px; fill: var(--gold); margin: 0 auto 1.5rem; }
.quote blockquote { margin: 0 0 1.5rem; font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.2; font-style: italic; }
.quote cite { font-style: normal; letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; font-weight: 700; color: var(--gold); }

/* ─── News ──────────────────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 1.8rem; }
.news-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.news-list .ncard--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
.ncard { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.ncard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ncard__media { position: relative; display: block; overflow: hidden; background: var(--sand); }
.ncard__media img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--ease); }
.ncard:hover .ncard__media img { transform: scale(1.05); }
.ncard__tag { position: absolute; top: 1rem; left: 1rem; background: var(--gold); color: var(--forest); font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; padding: .45em .9em; border-radius: 999px; }
.ncard__body { padding: 1.6rem 1.7rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.ncard time { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.ncard h3 { font-size: 1.45rem; margin: .5rem 0 .7rem; }
.ncard h3 a { color: var(--ink); }
.ncard h3 a:hover { color: var(--green); }
.ncard p { color: var(--muted); font-size: .95rem; }
.ncard__more { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; font-weight: 700; font-size: .9rem; }
.ncard__more .ico { transition: transform .25s var(--ease); }
.ncard__more:hover .ico { transform: translateX(4px); }
.news-grid .ncard--featured h3, .news-list .ncard--featured h3 { font-size: 1.9rem; }
.news-list .ncard--featured .ncard__media img { aspect-ratio: auto; min-height: 100%; }
.news-list .ncard--featured .ncard__body { padding: 2.4rem; justify-content: center; }

/* ─── Contact cards ─────────────────────────────────────── */
.ccards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
.ccard {
  display: flex; gap: 1.4rem; align-items: flex-start;
  background: var(--white); border-radius: var(--radius); padding: 2rem;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.ccard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--green), var(--gold)); }
.ccard__logo { width: 64px; height: auto; flex: none; }
.ccard__body { flex: 1; min-width: 0; }
.ccard__label { margin: 0; font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--green); }
.ccard h3 { margin: .25rem 0 .4rem; font-size: 1.7rem; }
.ccard__number { display: inline-block; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; color: var(--forest); letter-spacing: .01em; }
.ccard__number:hover { color: var(--green); }
.ccard__about { color: var(--muted); font-size: .95rem; margin: .5rem 0 1.3rem; }
.ccard__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.ccard__actions .btn { padding: .7em 1.15em; font-size: .88rem; }
.ccard__actions .btn .ico { width: 1.05em; height: 1.05em; }

.ccards--dark .ccard { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); box-shadow: none; color: var(--white); backdrop-filter: blur(4px); }
.ccards--dark .ccard h3, .ccards--dark .ccard__number { color: var(--white); }
.ccards--dark .ccard__label { color: var(--gold); }
.ccards--dark .ccard__about { color: rgba(255,255,255,.7); }
.ccards--dark .btn--green { background: var(--gold); color: var(--forest); }
.ccards--dark .btn--green:hover { background: #ffd247; }
.ccards--dark .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.3); }
.ccards--dark .btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.ccards--lg .ccard { padding: 2.6rem; }
.ccards--lg .ccard__number { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }

/* ─── Visit / map ───────────────────────────────────────── */
.visit { padding: clamp(4.5rem, 9vw, 7rem) 0; background: var(--cream); }
.visit--flush { padding-top: 0; background: linear-gradient(var(--white) 0 0) top / 100% 0 no-repeat, var(--white); }
.visit__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.visit__addr { display: flex; gap: .8rem; font-size: 1.1rem; font-weight: 600; color: var(--forest); }
.visit__addr .ico { width: 28px; height: 28px; fill: var(--gold); margin-top: 2px; }
.visit__text > p:not(.visit__addr):not(.eyebrow) { color: var(--muted); }
.visit__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--sand); border: 6px solid var(--white); }
.visit__map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ─── About: timeline & pillars ─────────────────────────── */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 920px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--gold), var(--green)); transform: translateX(-50%); }
.timeline__item { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; margin-bottom: 2.5rem; position: relative; }
.timeline__item::after { content: ""; position: absolute; left: 50%; top: 1.2rem; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); border: 4px solid var(--cream); box-shadow: 0 0 0 2px var(--green); transform: translateX(-50%); }
.timeline__year { font-family: var(--serif); font-size: 3rem; font-weight: 700; color: var(--green); text-align: right; line-height: 1; padding-top: .4rem; }
.timeline__card { background: var(--white); border-radius: var(--radius); padding: 1.5rem 1.7rem; box-shadow: var(--shadow-sm); }
.timeline__card h3 { font-size: 1.4rem; margin-bottom: .35rem; }
.timeline__card p { margin: 0; color: var(--muted); font-size: .95rem; }
.timeline__item:nth-child(even) .timeline__year { order: 2; text-align: left; }
.timeline__item:nth-child(even) .timeline__card { order: 1; }

.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.pillars--4 { grid-template-columns: repeat(4, 1fr); }
.pillar { padding: 2rem; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); transition: transform .4s var(--ease), background .4s; }
.pillar:hover { transform: translateY(-4px); background: var(--sand); }
.pillar > .ico { width: 52px; height: 52px; padding: 13px; border-radius: 14px; background: var(--forest); fill: var(--gold); margin-bottom: 1.2rem; }
.pillar p { color: var(--muted); margin: 0; font-size: .96rem; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 1rem; }
.gallery__item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.gallery__item--wide { grid-column: span 2; grid-row: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1.1rem .9rem;
  background: linear-gradient(transparent, rgba(8,40,24,.85)); color: var(--white);
  font-weight: 700; font-size: .85rem; letter-spacing: .08em;
}

.cta-band { position: relative; isolation: isolate; color: var(--white); text-align: center; padding: clamp(5rem, 11vw, 8.5rem) 0; overflow: hidden; }
.cta-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,40,24,.85), rgba(8,40,24,.45)); }
.cta-band p { color: rgba(255,255,255,.85); font-size: 1.15rem; }

/* ─── Course ────────────────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.stats-row div { padding: 1.8rem; text-align: center; border-left: 1px solid var(--line); }
.stats-row div:first-child { border-left: 0; }
.stats-row strong { display: block; font-family: var(--serif); font-size: 2.8rem; line-height: 1; color: var(--green); }
.stats-row span { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.tips { background: var(--forest); color: var(--white); border-radius: var(--radius); padding: 2.4rem; box-shadow: var(--shadow); }
.tips h3 { color: var(--gold); }
.tips ul { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: 1.1rem; }
.tips li { display: flex; gap: .9rem; color: rgba(255,255,255,.85); font-size: .96rem; }
.tips li .ico { width: 22px; height: 22px; fill: var(--gold); margin-top: 3px; }
.tips strong { color: var(--white); }
.tips .btn--green { background: var(--gold); color: var(--forest); }

.scorecard { background: var(--white); border-radius: var(--radius); padding: clamp(1rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.scorecard__scroll { overflow-x: auto; margin-bottom: 1.2rem; -webkit-overflow-scrolling: touch; }
.scorecard__table { width: 100%; min-width: 640px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.scorecard__table th, .scorecard__table td { padding: .75rem .4rem; text-align: center; border-bottom: 1px solid var(--line); font-size: .95rem; }
.scorecard__table thead th { background: var(--forest); color: var(--white); font-weight: 700; }
.scorecard__table thead th:first-child { border-radius: 10px 0 0 10px; }
.scorecard__table thead th:last-child { border-radius: 0 10px 10px 0; }
.scorecard__table tbody th { text-align: left; color: var(--muted); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; padding-left: 1rem; }
.scorecard__table thead th:first-child { text-align: left; padding-left: 1rem; }
.scorecard__table tr.par td { font-weight: 800; color: var(--green); }
.scorecard__table .tot { background: rgba(242,194,48,.18); font-weight: 800; color: var(--forest); }
.scorecard__table thead .tot { background: var(--gold); color: var(--forest); }
.scorecard__total { text-align: right; margin: 0; color: var(--muted); }
.scorecard__total strong { color: var(--forest); }

/* ─── Membership ────────────────────────────────────────── */
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.6rem; }
.steps li { display: flex; gap: 1.3rem; }
.steps li > span { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--forest); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.6rem; }
.steps h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.steps p { color: var(--muted); margin: 0; }
.join-card { background: var(--forest); color: var(--white); border-radius: var(--radius); padding: 2.6rem; text-align: center; box-shadow: var(--shadow); position: sticky; top: calc(var(--nav-h) + 24px); }
.join-card img { margin: 0 auto 1.2rem; }
.join-card .ccard__label { color: var(--gold); }
.join-card__number { display: block; font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 700; color: var(--white); margin: .3rem 0 .6rem; }
.join-card__number:hover { color: var(--gold); }
.join-card p { color: rgba(255,255,255,.75); }
.join-card .ccard__actions { justify-content: center; }

/* ─── Credits ───────────────────────────────────────────── */
.credits { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin-top: 2rem; }
.credits li { display: flex; gap: 1rem; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem; }
.credits img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; }
.credits div { display: flex; flex-direction: column; font-size: .88rem; line-height: 1.4; }
.credits span { color: var(--muted); }

/* ─── Footer ────────────────────────────────────────────── */
.footer { background: #082818; color: rgba(255,255,255,.7); padding: 5rem 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3.5rem; }
.footer__brand p { margin-top: 1.2rem; max-width: 34ch; }
.footer h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; font-weight: 700; }
.footer a { color: var(--white); }
.footer a:hover { color: var(--gold); }
.footer__link { display: inline-block; margin-top: .8rem; font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer__contacts li { display: flex; flex-direction: column; }
.footer__contacts small { color: rgba(255,255,255,.5); font-size: .78rem; }
.footer__contacts a { font-weight: 700; font-size: 1.05rem; }
.footer__base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0; font-size: .85rem; }
.footer__base a { color: rgba(255,255,255,.7); }

/* ─── WhatsApp button ───────────────────────────────────── */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.7); transition: transform .3s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 32px; height: 32px; fill: var(--white); }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.4s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

/* ─── Reveal on scroll ──────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 1rem 20px 1.6rem; border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(0,0,0,.4);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a:not(.btn) { padding: .9rem .4rem; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__cta { margin: 1.2rem 0 0; }
  .features, .news-grid { grid-template-columns: 1fr 1fr; }
  .news-grid .ncard--featured { grid-column: 1 / -1; }
  .pillars--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .topbar__addr { display: none; }
  .topbar__inner { justify-content: center; }
  .split, .visit__grid, .ccards { grid-template-columns: 1fr; }
  .split__media { max-width: 560px; }
  .news-list, .news-list .ncard--featured { grid-template-columns: 1fr; }
  .join-card { position: static; }
  .timeline::before { left: 22px; }
  .timeline__item { grid-template-columns: 1fr; gap: .6rem; padding-left: 56px; }
  .timeline__item::after { left: 22px; }
  .timeline__year, .timeline__item:nth-child(even) .timeline__year { order: 0; text-align: left; font-size: 2.3rem; }
  .timeline__item:nth-child(even) .timeline__card { order: 1; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stats-row div:nth-child(3) { border-left: 0; }
  .stats-row div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --nav-h: 72px; }
  .wrap { width: calc(100% - 32px); }
  .topbar__phones { gap: 1rem; font-size: .78rem; }
  .topbar__phones a span { display: none; }
  .brand img { width: 44px; height: auto; }
  .brand__text strong { font-size: 1.25rem; }
  .hero__inner { padding: 4rem 0 11rem; }
  .hero__shade { background: linear-gradient(180deg, rgba(8,40,24,.55) 0%, rgba(8,40,24,.82) 45%, rgba(8,40,24,.92) 100%); }
  .hero__stats-inner { grid-template-columns: 1fr 1fr; }
  .hero__stats-inner div { padding: .9rem 0 .9rem 1rem; }
  .hero__stats-inner div:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero__stats strong { font-size: 1.6rem; }
  .phero { padding: 5.5rem 0 4.5rem; }
  .features, .news-grid, .pillars, .pillars--4, .footer__grid { grid-template-columns: 1fr; }
  .ticks { grid-template-columns: 1fr; }
  .ccard { flex-direction: column; padding: 1.6rem; }
  .ccards--lg .ccard { padding: 1.8rem; }
  .split__media { padding: 0 1.5rem 2.5rem 0; }
  .badge-year { width: 92px; height: 92px; left: -8px; }
  .badge-year strong { font-size: 1.7rem; }
  .fab { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .scorecard__total { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .nav, .footer, .fab, .phero, .btn, #practice { display: none !important; }
  .section { padding: 1rem 0; }
  .scorecard { box-shadow: none; }
}
