:root {
  --blue-950: #081a39;
  --blue-900: #0b2450;
  --blue-800: #0f2f67;
  --blue-700: #17458d;
  --blue-600: #1f5cad;
  --blue-100: #eaf2fb;
  --blue-50: #f5f8fc;
  --red-600: #e62f3d;
  --red-700: #c91f2d;
  --ink: #172237;
  --muted: #647085;
  --line: #dfe6ef;
  --white: #fff;
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 22px 60px rgba(14, 38, 77, .13);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
svg { display: block; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 9999;
  padding: 12px 18px; color: #fff; background: var(--blue-950); border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 110px 0; }
.section--soft { background: var(--blue-50); }

.topbar { background: var(--blue-950); color: rgba(255,255,255,.76); font-size: 12px; }
.topbar__inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar span { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.topbar__links { display: flex; gap: 24px; }
.topbar a { transition: color .2s ease; }
.topbar a:hover { color: #fff; }

.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(17,47,98,.08);
  backdrop-filter: blur(18px); transition: box-shadow .25s ease;
}
.header.is-scrolled { box-shadow: 0 10px 32px rgba(14,38,77,.08); }
.header__inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 248px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; color: #2e3b51; }
.nav > a:not(.btn) { position: relative; padding: 12px 0; }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 5px; height: 2px; background: var(--red-600); transition: right .25s ease; }
.nav > a:not(.btn):hover::after, .nav > a:not(.btn).is-active::after { right: 0; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--blue-50); cursor: pointer; padding: 12px; }
.menu-toggle span { display: block; width: 100%; height: 2px; background: var(--blue-900); margin: 5px 0; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  min-height: 52px; padding: 14px 24px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid transparent; font-size: 14px; font-weight: 800; letter-spacing: .01em;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--small { min-height: 44px; padding: 10px 19px; }
.btn--primary { color: #fff; background: var(--red-600); box-shadow: 0 12px 28px rgba(230,47,61,.24); }
.btn--primary:hover { background: var(--red-700); box-shadow: 0 16px 30px rgba(230,47,61,.3); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: #fff; color: var(--blue-900); }
.btn--dark { color: #fff; background: var(--blue-900); }
.btn--dark:hover { background: var(--blue-950); }

.hero { min-height: calc(100vh - 122px); position: relative; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; background-position: center 45%; background-size: cover; background-repeat: no-repeat; transform: scale(1.01); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,22,50,.94) 0%, rgba(5,25,57,.78) 45%, rgba(5,22,50,.24) 74%, rgba(5,22,50,.1) 100%), linear-gradient(0deg, rgba(7,22,48,.42), transparent 42%); }
.hero::before { content: ""; position: absolute; z-index: 1; width: 560px; height: 560px; left: -260px; bottom: -260px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.035), 0 0 0 160px rgba(255,255,255,.025); }
.hero__content { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 360px; align-items: end; gap: 80px; padding: 90px 0 120px; }
.hero__copy { max-width: 720px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--red-600); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 900; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.eyebrow--light { color: #fff; }
.hero h1 { margin: 20px 0 22px; max-width: 760px; font-size: clamp(54px, 6.8vw, 94px); line-height: .94; letter-spacing: -.055em; font-weight: 850; }
.hero h1 em { color: #8ec7ff; font-style: normal; }
.hero__copy > p { max-width: 650px; margin: 0; font-size: clamp(17px, 2vw, 21px); color: rgba(255,255,255,.79); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 35px; }
.hero__quick { display: grid; gap: 2px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(16px); box-shadow: 0 28px 64px rgba(0,0,0,.18); }
.hero__quick article { display: flex; align-items: center; gap: 16px; padding: 22px; background: rgba(4,21,47,.52); }
.quick-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: rgba(255,255,255,.12); }
.quick-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero__quick strong, .hero__quick small { display: block; }
.hero__quick strong { font-size: 15px; }
.hero__quick small { margin-top: 2px; color: rgba(255,255,255,.65); }
.hero__scroll { position: absolute; z-index: 3; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.72); font-size: 10px; text-transform: uppercase; letter-spacing: .2em; }
.hero__scroll i { width: 1px; height: 34px; background: linear-gradient(#fff, transparent); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity:.35; transform:scaleY(.75); transform-origin:top; } 50% { opacity:1; transform:scaleY(1); } }

.intro__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 110px; align-items: start; }
.section-heading h2, .section-title-row h2, .structure h2, .schedule h2, .membership h2, .contact h2 { margin: 16px 0 0; font-size: clamp(38px, 4.8vw, 64px); line-height: 1.04; letter-spacing: -.045em; }
.intro__text { padding-top: 34px; }
.intro__text p { margin: 0 0 18px; font-size: 18px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 10px; color: var(--blue-800); font-weight: 850; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 72px; }
.value-card { position: relative; min-height: 250px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.value-card > span { color: var(--red-600); font-size: 13px; font-weight: 900; }
.value-card h3 { margin: 54px 0 8px; font-size: 27px; letter-spacing: -.03em; }
.value-card p { margin: 0; color: var(--muted); }
.value-card::after { content: ""; position: absolute; width: 130px; height: 130px; right: -70px; top: -70px; border-radius: 50%; background: var(--blue-100); transition: transform .35s ease; }
.value-card:hover::after { transform: scale(1.45); }

.section-title-row { display: grid; grid-template-columns: 1.3fr .7fr; gap: 100px; align-items: end; margin-bottom: 44px; }
.section-title-row h2 { max-width: 820px; }
.section-title-row > p { margin: 0 0 8px; color: var(--muted); font-size: 17px; }
.activity-grid { display: grid; grid-template-columns: repeat(3,1fr); grid-auto-rows: 330px; gap: 16px; }
.activity-card { position: relative; border-radius: var(--radius); overflow: hidden; isolation: isolate; }
.activity-card--wide { grid-column: span 2; }
.activity-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.activity-card__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(5,20,45,.9), rgba(5,20,45,.05) 66%); }
.activity-card__content { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 26px; color: #fff; }
.activity-card__content span { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: #abd7ff; }
.activity-card__content h3 { margin: 6px 0 0; font-size: 27px; line-height: 1.1; }
.activity-card__content p { margin: 7px 0 0; color: rgba(255,255,255,.72); }
.activity-card:hover img { transform: scale(1.07); }

.structure__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 86px; align-items: center; }
.structure__copy > p { margin: 24px 0 0; max-width: 540px; color: var(--muted); font-size: 18px; }
.check-list { margin: 34px 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 720; }
.check-list span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: var(--blue-800); background: var(--blue-100); font-size: 13px; }
.gallery { display: grid; grid-template-columns: 1.35fr .85fr; grid-template-rows: 250px 250px; gap: 14px; }
.gallery__item { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--blue-100); }
.gallery__item--large { grid-row: 1 / 3; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item span { position: absolute; left: 18px; bottom: 18px; padding: 8px 13px; color: #fff; border-radius: 999px; background: rgba(6,25,55,.72); backdrop-filter: blur(8px); font-size: 12px; font-weight: 750; }
.gallery__item:hover img { transform: scale(1.05); }

.schedule { position: relative; overflow: hidden; color: #fff; background: var(--blue-950); }
.schedule__background { position: absolute; inset: 0; background-position: center; background-size: cover; opacity: .95; }
.schedule::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(90deg, #000, transparent 70%); }
.schedule__inner { position: relative; z-index: 2; }
.schedule__heading { max-width: 720px; }
.schedule__heading p { max-width: 560px; margin: 20px 0 0; color: rgba(255,255,255,.68); }
.schedule__cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; margin-top: 54px; }
.time-card { display: grid; grid-template-columns: 58px 1fr; gap: 18px; min-height: 330px; padding: 30px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); background: rgba(255,255,255,.07); backdrop-filter: blur(16px); }
.time-card__icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; color: #9fd1ff; background: rgba(255,255,255,.1); }
.time-card__icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.time-card span { display: block; margin: 4px 0 24px; color: #9fd1ff; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 900; }
.time-card h3 { margin: 0; font-size: 16px; }
.time-card p { margin: 2px 0 14px; color: rgba(255,255,255,.68); }
.time-card a { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 800; }
.time-card small { color: rgba(255,255,255,.54); }
.time-card--accent { background: var(--red-600); border-color: transparent; }
.time-card--accent .time-card__icon { color: #fff; }
.time-card--accent span, .time-card--accent p, .time-card--accent small { color: rgba(255,255,255,.8); }
.time-card--accent h3 { margin-bottom: 14px; font-size: 28px; }

.membership { background: var(--white); }
.membership__box { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; border-radius: var(--radius-lg); overflow: hidden; background: var(--blue-50); box-shadow: var(--shadow); }
.membership__image img { width: 100%; height: 100%; object-fit: cover; }
.membership__content { display: flex; flex-direction: column; justify-content: center; padding: 64px; }
.membership__content p { margin: 22px 0 0; color: var(--muted); font-size: 17px; }
.membership__actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; margin-top: 30px; }
.membership__actions .text-link { margin-top: 0; }

.contact { padding-top: 40px; }
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.contact__heading p { max-width: 520px; margin: 22px 0 0; color: var(--muted); font-size: 17px; }
.contact__cards { display: grid; gap: 13px; }
.contact-card { display: grid; grid-template-columns: 55px 1fr auto; align-items: center; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.contact-card:hover { transform: translateX(5px); border-color: transparent; box-shadow: 0 16px 40px rgba(14,38,77,.1); }
.contact-card__icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--blue-800); border-radius: 15px; background: var(--blue-100); }
.contact-card__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-card small, .contact-card strong, .contact-card p { display: block; }
.contact-card small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.contact-card strong { margin-top: 3px; font-size: 17px; }
.contact-card p { margin: 0; color: var(--muted); font-size: 14px; }
.contact-card b { color: var(--red-600); }

.footer { color: rgba(255,255,255,.68); background: var(--blue-950); }
.footer__main { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-top: 68px; padding-bottom: 55px; }
.footer__brand img { width: 245px; padding: 11px 14px; border-radius: 12px; background: #fff; }
.footer__brand p { max-width: 360px; margin: 20px 0 0; }
.footer__nav { display: grid; grid-template-columns: repeat(2,1fr); gap: 50px; }
.footer__nav div { display: grid; align-content: start; gap: 10px; }
.footer__nav strong { margin-bottom: 8px; color: #fff; }
.footer__nav a:hover { color: #fff; }
.footer__bottom { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid rgba(255,255,255,.11); font-size: 13px; }

.lightbox { max-width: min(1000px, calc(100% - 36px)); padding: 0; border: 0; border-radius: 18px; overflow: visible; background: transparent; }
.lightbox::backdrop { background: rgba(5,16,35,.88); backdrop-filter: blur(8px); }
.lightbox img { max-height: 82vh; width: auto; margin: auto; border-radius: 18px; box-shadow: 0 20px 80px rgba(0,0,0,.45); }
.lightbox__close { position: absolute; right: -10px; top: -46px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: rgba(255,255,255,.15); cursor: pointer; font-size: 28px; line-height: 1; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.65,.25,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--delay, .reveal--delay-1 { transition-delay: .12s; }
.reveal--delay-2 { transition-delay: .22s; }

@media (max-width: 1024px) {
  .topbar__links a:last-child { display: none; }
  .nav { gap: 18px; }
  .nav > a:not(.btn) { display: none; }
  .hero { min-height: 760px; }
  .hero__content { grid-template-columns: 1fr 320px; gap: 35px; }
  .hero h1 { font-size: 68px; }
  .intro__grid, .section-title-row { gap: 55px; }
  .structure__grid { grid-template-columns: 1fr; }
  .structure__copy { max-width: 720px; }
  .schedule__cards { grid-template-columns: 1fr 1fr; }
  .time-card--accent { grid-column: 1 / 3; min-height: 250px; }
  .contact__grid { gap: 50px; }
}

@media (max-width: 780px) {
  .container { width: min(100% - 30px, var(--container)); }
  .section { padding: 78px 0; }
  .topbar { display: none; }
  .header__inner { min-height: 72px; }
  .brand img { width: 205px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; left: 0; right: 0; top: 72px; bottom: 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 24px 20px;
    background: #fff; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav > a:not(.btn) { display: block; padding: 18px 6px; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav > a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 22px; }

  .hero { min-height: calc(100svh - 72px); }
  .hero__shade { background: linear-gradient(90deg, rgba(5,22,50,.94), rgba(5,25,57,.73)), linear-gradient(0deg, rgba(7,22,48,.55), transparent 50%); }
  .hero__content { display: block; padding: 80px 0 100px; }
  .hero h1 { font-size: clamp(49px, 15vw, 70px); }
  .hero__copy > p { font-size: 17px; }
  .hero__quick { display: none; }
  .hero__scroll { display: none; }

  .intro__grid, .section-title-row, .contact__grid { grid-template-columns: 1fr; gap: 20px; }
  .intro__text { padding-top: 0; }
  .values { grid-template-columns: 1fr; margin-top: 48px; }
  .value-card { min-height: 210px; }
  .value-card h3 { margin-top: 38px; }
  .section-title-row { margin-bottom: 34px; }
  .activity-grid { grid-template-columns: 1fr; grid-auto-rows: 315px; }
  .activity-card--wide { grid-column: auto; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 330px 190px; }
  .gallery__item--large { grid-column: 1 / 3; grid-row: auto; }
  .schedule__cards { grid-template-columns: 1fr; }
  .time-card, .time-card--accent { grid-column: auto; min-height: auto; }
  .membership__box { grid-template-columns: 1fr; }
  .membership__image { height: 320px; }
  .membership__content { padding: 40px 26px; }
  .footer__main { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 520px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .section-heading h2, .section-title-row h2, .structure h2, .schedule h2, .membership h2, .contact h2 { font-size: 39px; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: 300px 210px 210px; }
  .gallery__item--large { grid-column: auto; }
  .time-card { grid-template-columns: 1fr; }
  .membership__image { height: 260px; }
  .contact-card { grid-template-columns: 50px 1fr; }
  .contact-card b { display: none; }
  .footer__nav { gap: 25px; }
  .footer__bottom { padding: 20px 0; flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
