﻿
:root {
  --ink: #062033;
  --muted: #5e7281;
  --deep: #053d68;
  --blue: #075d91;
  --aqua: #00a8c8;
  --pool: #7ee7ee;
  --foam: #f4fbfa;
  --sand: #f8e7b5;
  --sun: #ffc640;
  --coral: #ff6b4a;
  --white: #ffffff;
  --line: rgba(6, 32, 51, 0.12);
  --shadow: 0 24px 80px rgba(5, 61, 104, 0.18);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: 1160px;
  --font-display: "Aptos Display", "Trebuchet MS", "Gill Sans", sans-serif;
  --font-body: "Candara", "Trebuchet MS", "Lucida Sans Unicode", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 0 0, rgba(126, 231, 238, 0.7), transparent 28rem),
    linear-gradient(180deg, #f7fdff 0%, #eef9f8 40%, #fff8e7 100%);
}

body.menu-open {
  overflow: hidden;
}

body.cookie-modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--deep);
  border-radius: 999px;
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 253, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 74px;
  height: 74px;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(7, 93, 145, 0.12);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(5, 61, 104, 0.08);
}

.brand-mark img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.mobile-call {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--aqua));
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(7, 93, 145, 0.22);
}

.mobile-call svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.mobile-actions {
  display: none;
}

.header-cta {
  min-height: 48px;
  padding-inline: 24px;
  white-space: nowrap;
}

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

.main-nav a {
  padding: 10px 14px;
  color: var(--deep);
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
  transition:
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue);
  background: rgba(0, 168, 200, 0.1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--deep);
  border-radius: 999px;
}

.section-shell {
  position: relative;
  overflow: hidden;
}

.section {
  padding: 104px 0;
}

.section-light {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(244, 251, 250, 0.92)),
    repeating-linear-gradient(135deg, rgba(7, 93, 145, 0.04) 0 1px, transparent 1px 18px);
}

.hero {
  min-height: 740px;
  padding: 94px 0 70px;
}

.hero::before {
  position: absolute;
  inset: -120px -140px auto auto;
  width: 520px;
  height: 520px;
  content: "";
  background:
    radial-gradient(circle, rgba(255, 198, 64, 0.62), transparent 62%),
    radial-gradient(circle at 20% 60%, rgba(0, 168, 200, 0.35), transparent 44%);
  border-radius: 50%;
  filter: blur(4px);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 110px;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(80px 28px at 6% 72%, rgba(0, 168, 200, 0.18) 40%, transparent 42%),
    radial-gradient(80px 28px at 18% 74%, rgba(7, 93, 145, 0.13) 40%, transparent 42%),
    radial-gradient(80px 28px at 30% 72%, rgba(0, 168, 200, 0.18) 40%, transparent 42%),
    radial-gradient(80px 28px at 42% 74%, rgba(7, 93, 145, 0.13) 40%, transparent 42%),
    radial-gradient(80px 28px at 54% 72%, rgba(0, 168, 200, 0.18) 40%, transparent 42%),
    radial-gradient(80px 28px at 66% 74%, rgba(7, 93, 145, 0.13) 40%, transparent 42%),
    radial-gradient(80px 28px at 78% 72%, rgba(0, 168, 200, 0.18) 40%, transparent 42%),
    radial-gradient(80px 28px at 90% 74%, rgba(7, 93, 145, 0.13) 40%, transparent 42%);
  opacity: 0.9;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 600px;
  margin-bottom: 24px;
  color: var(--deep);
  font-size: clamp(3.2rem, 6vw, 5.7rem);
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 4.9vw, 4.9rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 18px;
  color: var(--deep);
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

h3 {
  margin-bottom: 12px;
  color: var(--deep);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.hero-text,
.section-heading p,
.pricing-copy p,
.structure-copy p,
.contact-card p {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  font-weight: 900;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--aqua));
  box-shadow: 0 20px 42px rgba(7, 93, 145, 0.25);
}

.button-ghost {
  color: var(--deep);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(7, 93, 145, 0.16);
}

.button-ghost.light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}

.button-small {
  min-height: 42px;
  padding: 10px 16px;
  color: var(--deep);
  background: var(--sun);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 38px 0 0;
}

.hero-metrics div {
  min-height: 124px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(5, 61, 104, 0.08);
}

.hero-metrics dt {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.3;
}

.hero-visual {
  position: relative;
  min-height: 700px;
}

.hero-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 10px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

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

.hero-photo-main {
  inset: 18px 8px auto 66px;
  height: 500px;
  border-radius: 46px;
  transform: rotate(1.8deg);
}

.hero-photo-small {
  right: 10px;
  bottom: 24px;
  width: min(290px, 54%);
  border-radius: 30px;
  transform: rotate(-7deg);
}

.hero-photo-small img {
  height: 250px;
}

.hero-photo-small figcaption {
  padding: 14px 16px 16px;
  color: var(--deep);
  font-weight: 900;
  line-height: 1.25;
}

.quick-contact {
  position: relative;
  z-index: 3;
  margin-top: -26px;
}

.quick-contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.2fr 1fr 1.08fr 0.92fr;
  gap: 10px;
  padding: 12px;
  background: var(--white);
  border: 1px solid rgba(7, 93, 145, 0.12);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(5, 61, 104, 0.14);
}

.quick-contact a {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 58px;
  padding: 11px 12px;
  overflow: hidden;
  color: var(--deep);
  font-size: 0.95rem;
  font-weight: 900;
  text-decoration: none;
  background: var(--foam);
  border-radius: 20px;
}

.quick-contact span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon {
  display: inline-grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 950;
  background: var(--blue);
  border-radius: 999px;
}

.icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 46px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.modality-card {
  min-height: 282px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 251, 250, 0.9)),
    radial-gradient(circle at 90% 0, rgba(0, 168, 200, 0.18), transparent 42%);
  border: 1px solid rgba(7, 93, 145, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 44px rgba(5, 61, 104, 0.08);
}

.modality-card p,
.achievement-card p,
.price-detail,
.schedule-note,
.address-card span,
.address-card a,
.site-footer p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.modality-card-wide {
  grid-column: span 3;
  min-height: 190px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 22px;
  align-items: center;
}

.modality-card-wide h3,
.modality-card-wide p {
  grid-column: 2;
}

.card-icon {
  position: relative;
  display: inline-block;
  width: 64px;
  height: 64px;
  margin-bottom: 30px;
  background: linear-gradient(135deg, var(--aqua), var(--blue));
  border-radius: 22px;
  box-shadow: 0 14px 28px rgba(0, 168, 200, 0.2);
}

.modality-card-wide .card-icon {
  grid-row: span 2;
  margin-bottom: 0;
}

.card-icon::before,
.card-icon::after {
  position: absolute;
  content: "";
}

.card-icon.swim::before,
.card-icon.hydro::before {
  right: 12px;
  bottom: 17px;
  left: 12px;
  height: 9px;
  background: repeating-radial-gradient(ellipse at center, rgba(255, 255, 255, 0.95) 0 7px, transparent 8px 17px);
  border-radius: 999px;
}

.card-icon.kids::before {
  inset: 13px 20px auto;
  height: 20px;
  background: var(--sun);
  border-radius: 999px 999px 8px 8px;
}

.card-icon.kids::after {
  right: 14px;
  bottom: 14px;
  left: 14px;
  height: 10px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
}

.card-icon.baby::before {
  inset: 13px;
  border: 5px solid var(--sun);
  border-radius: 50%;
}

.card-icon.care::before {
  inset: 14px 28px;
  background: var(--white);
  border-radius: 999px;
}

.card-icon.care::after {
  inset: 28px 14px;
  background: var(--white);
  border-radius: 999px;
}

.card-icon.taf::before {
  right: 13px;
  bottom: 13px;
  left: 13px;
  height: 34px;
  border: 5px solid var(--white);
  border-top: 0;
  border-radius: 0 0 18px 18px;
}

.card-icon.gym::before {
  top: 29px;
  left: 12px;
  width: 40px;
  height: 6px;
  background: var(--white);
  border-radius: 999px;
}

.card-icon.gym::after {
  top: 22px;
  left: 18px;
  width: 8px;
  height: 20px;
  background: var(--sun);
  border-radius: 999px;
  box-shadow: 20px 0 0 var(--sun);
}

.pricing-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 198, 64, 0.42), transparent 24rem),
    linear-gradient(135deg, #052e51 0%, #075d91 52%, #00a8c8 120%);
}

.pricing-section h2,
.pricing-section .eyebrow {
  color: var(--white);
}

.pricing-section .pricing-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1fr);
  gap: 44px;
  align-items: center;
}

.payment-note {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  margin-top: 28px;
  color: var(--deep);
  background: var(--sun);
  border-radius: 20px;
}

.payment-icon {
  display: inline-grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--deep);
  background: rgba(255, 255, 255, 0.38);
  border-radius: 14px;
}

.payment-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.price-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  row-gap: 12px;
  min-height: 300px;
  padding: 28px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}

.price-card-featured {
  color: var(--white);
  background: linear-gradient(135deg, var(--coral), #ff9f43);
}

.price-card-featured .price-detail,
.price-card-featured .price-name {
  color: rgba(255, 255, 255, 0.86);
}

.price-badge {
  display: inline-flex;
  padding: 7px 10px;
  margin-bottom: 16px;
  color: var(--deep);
  font-weight: 900;
  background: var(--sun);
  border-radius: 999px;
}

.price-name {
  margin: 0;
  min-height: 2.4em;
  display: flex;
  align-items: flex-end;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 3.9vw, 3.8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
}

.price-detail {
  margin: 0;
  align-self: end;
}

.schedule-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.schedule-tab {
  min-height: 44px;
  padding: 10px 16px;
  color: var(--deep);
  font-weight: 900;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.schedule-tab.is-active {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.schedule-panels {
  padding: 20px;
  background: var(--white);
  border: 1px solid rgba(7, 93, 145, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(5, 61, 104, 0.1);
}

.schedule-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.schedule-panel[hidden] {
  display: none;
}

.schedule-column {
  padding: 22px;
  background:
    radial-gradient(circle at 90% 8%, rgba(126, 231, 238, 0.3), transparent 44%),
    var(--foam);
  border-radius: 24px;
}

.schedule-column h3 {
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.time-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.time-list span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  color: var(--deep);
  font-weight: 900;
  background: var(--white);
  border: 1px solid rgba(7, 93, 145, 0.12);
  border-radius: 999px;
}

.schedule-note {
  align-self: end;
  margin: 0;
  padding: 20px;
  background: var(--sand);
  border-radius: 22px;
}

.structure-section {
  background:
    linear-gradient(90deg, rgba(5, 61, 104, 0.05), transparent 45%),
    var(--white);
}

.structure-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.structure-media {
  position: relative;
}

.structure-media::before {
  position: absolute;
  inset: -20px 28px 28px -20px;
  z-index: 0;
  content: "";
  background: var(--sand);
  border-radius: 40px;
  transform: rotate(-3deg);
}

.structure-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 10px solid var(--white);
  border-radius: 40px;
  box-shadow: var(--shadow);
}

.feature-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 18px 18px 18px 54px;
  color: var(--deep);
  font-weight: 850;
  line-height: 1.5;
  background: var(--foam);
  border-radius: 20px;
}

.feature-list li::before {
  position: absolute;
  top: 17px;
  left: 18px;
  width: 22px;
  height: 22px;
  content: "";
  background:
    radial-gradient(circle at 50% 65%, var(--white) 0 28%, transparent 30%),
    var(--aqua);
  border-radius: 50%;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.achievement-card {
  display: grid;
  grid-template-columns: minmax(96px, 40%) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  padding: 18px;
  background: var(--white);
  border: 1px solid rgba(7, 93, 145, 0.12);
  border-radius: 30px;
  box-shadow: 0 18px 44px rgba(5, 61, 104, 0.08);
}

.achievement-card-large {
  grid-row: span 2;
  grid-template-columns: 1fr;
}

.achievement-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 22px;
}

.achievement-card-large img {
  aspect-ratio: 16 / 11;
}

.achievement-kicker {
  margin-bottom: 8px;
  color: var(--coral);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 310px;
}

.gallery-strip img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
}

.final-cta {
  color: var(--white);
  background: linear-gradient(135deg, rgba(5, 61, 104, 0.94), rgba(7, 93, 145, 0.94));
}

.final-cta.has-bg {
  background:
    linear-gradient(135deg, rgba(5, 61, 104, 0.94), rgba(7, 93, 145, 0.94)),
    var(--deferred-bg-image) center / cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 22px;
  align-items: stretch;
}

.contact-card,
.address-card {
  padding: clamp(28px, 5vw, 54px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.contact-card h2,
.contact-card .eyebrow {
  color: var(--white);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.78);
}

.address-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  font-style: normal;
}

.address-card strong {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.7rem;
}

.address-card span,
.address-card a {
  color: rgba(255, 255, 255, 0.82);
}

.contact-line {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.contact-line .icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.14);
}

.site-footer {
  padding: 54px 0 28px;
  color: var(--white);
  background: #031d31;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}

.brand-mark-footer {
  width: 110px;
  height: 110px;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.site-footer p {
  max-width: 430px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.site-footer nav a {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
  text-decoration: none;
  border-radius: 999px;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding-top: 24px;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom a {
  color: var(--sun);
  font-weight: 900;
  text-decoration: none;
}

.cookie-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 18px;
  align-items: center;
  width: 100%;
  max-width: none;
  padding: 12px 28px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 252, 245, 0.98), rgba(249, 243, 230, 0.98)),
    radial-gradient(circle at left center, rgba(255, 198, 64, 0.12), transparent 28%);
  border: 1px solid rgba(7, 93, 145, 0.12);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  box-shadow: 0 -10px 24px rgba(5, 61, 104, 0.08);
  backdrop-filter: blur(14px);
  contain: layout paint style;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-copy strong {
  display: block;
  color: var(--deep);
  font-size: 0.88rem;
  line-height: 1.2;
}

.cookie-banner p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.25;
}

.cookie-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.cookie-actions .button {
  flex: 0 0 auto;
  min-width: 0;
  min-height: 40px;
  padding: 8px 16px;
}

.button-cookie-secondary {
  color: var(--deep);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(7, 93, 145, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.cookie-actions .button:not(.button-cookie-secondary),
.cookie-modal-actions .button:not(.button-cookie-secondary) {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--deep));
  box-shadow: 0 14px 28px rgba(7, 93, 145, 0.22);
}

.cookie-banner a {
  color: var(--blue);
  font-weight: 900;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
}

.cookie-modal[hidden] {
  display: none;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 61, 104, 0.26);
  backdrop-filter: blur(6px);
}

.cookie-modal-card {
  position: relative;
  z-index: 1;
  width: min(880px, calc(100% - 28px));
  max-height: calc(100vh - 40px);
  margin: 20px auto;
  padding: clamp(24px, 4vw, 40px);
  overflow: auto;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(247, 253, 255, 0.99), rgba(237, 248, 249, 0.98)),
    radial-gradient(circle at right top, rgba(126, 231, 238, 0.22), transparent 26rem);
  border: 1px solid rgba(7, 93, 145, 0.12);
  border-radius: 28px;
  box-shadow: 0 36px 90px rgba(5, 61, 104, 0.24);
}

.cookie-modal-card h2 {
  max-width: 520px;
  padding-right: 130px;
  color: var(--deep);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.cookie-modal-card p,
.cookie-group p {
  color: var(--muted);
}

.cookie-close {
  position: absolute;
  top: 24px;
  right: 24px;
  min-height: 46px;
  padding: 10px 18px;
  color: var(--deep);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(7, 93, 145, 0.14);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.cookie-groups {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.cookie-group {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(7, 93, 145, 0.1);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.cookie-group-head {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.cookie-group-head strong {
  color: var(--deep);
}

.cookie-status {
  padding: 8px 12px;
  color: var(--deep);
  font-size: 0.88rem;
  font-weight: 900;
  background: rgba(255, 198, 64, 0.24);
  border-radius: 999px;
}

.cookie-switch {
  position: relative;
  display: inline-flex;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-switch span {
  position: relative;
  display: inline-flex;
  width: 56px;
  height: 32px;
  background: rgba(7, 93, 145, 0.12);
  border: 1px solid rgba(7, 93, 145, 0.16);
  border-radius: 999px;
  transition: background 160ms ease;
}

.cookie-switch span::before {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  content: "";
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(5, 61, 104, 0.18);
  transition: transform 160ms ease;
}

.cookie-switch input:checked + span {
  background: linear-gradient(135deg, rgba(0, 168, 200, 0.78), rgba(7, 93, 145, 0.88));
}

.cookie-switch input:checked + span::before {
  transform: translateX(24px);
  background: var(--white);
}

.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.privacy-main {
  padding: 72px 0 100px;
}

.privacy-card {
  max-width: 900px;
  padding: clamp(28px, 6vw, 64px);
  background: var(--white);
  border: 1px solid rgba(7, 93, 145, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.privacy-card h1 {
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.privacy-card h2 {
  margin-top: 34px;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.privacy-card p,
.privacy-card li {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.privacy-card a {
  color: var(--blue);
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: reveal-up 760ms ease forwards;
}

.hero .reveal {
  opacity: 1;
  transform: none;
  animation: none;
}

.delay-1 {
  animation-delay: 120ms;
}

.delay-2 {
  animation-delay: 220ms;
}

.delay-3 {
  animation-delay: 320ms;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .menu-toggle {
    display: inline-block;
  }

  .mobile-call {
    display: inline-grid;
  }

  .mobile-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: 74px;
    right: 14px;
    left: 14px;
    display: grid;
    gap: 6px;
    padding: 14px;
    visibility: hidden;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-10px);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav a {
    min-height: 46px;
  }

  .header-inner {
    min-height: 76px;
  }

  .brand-mark {
    width: 62px;
    height: 62px;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-grid,
  .pricing-layout,
  .structure-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 560px;
  }

  .hero-photo-main {
    left: 0;
    inset-inline-end: 20px;
  }

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

  .cards-grid,
  .schedule-panel,
  .achievements-grid,
  .gallery-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modality-card-wide {
    grid-column: span 2;
  }

  .pricing-layout {
    gap: 28px;
  }

  .contact-grid {
    gap: 16px;
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .hero-copy h1 {
    max-width: 10.5ch;
    font-size: clamp(2.6rem, 13vw, 3.8rem);
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-bottom: 48px;
  }

  .hero-actions,
  .contact-actions,
  .footer-bottom {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-metrics,
  .quick-contact-grid,
  .cards-grid,
  .pricing-cards,
  .schedule-panel,
  .achievements-grid,
  .gallery-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    min-height: 108px;
  }

  .hero-visual {
    min-height: 460px;
  }

  .hero-photo-main {
    height: 380px;
    border-radius: 34px;
    inset: 0 6px auto 0;
  }

  .hero-photo-small {
    right: 4px;
    width: 70%;
  }

  .hero-photo-small img {
    height: 190px;
  }

  .modality-card,
  .price-card {
    min-height: auto;
  }

  .modality-card-wide {
    grid-column: auto;
    display: block;
  }

  .modality-card-wide .card-icon {
    margin-bottom: 30px;
  }

  .structure-media img {
    aspect-ratio: 4 / 3;
  }

  .achievement-card {
    grid-template-columns: 1fr;
  }

  .gallery-strip img {
    min-height: 240px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: calc(100% - 20px);
    max-width: none;
    padding: 12px;
    margin: 0;
    gap: 12px;
    border-right: 1px solid rgba(7, 93, 145, 0.12);
    border-bottom: 1px solid rgba(7, 93, 145, 0.12);
    border-left: 1px solid rgba(7, 93, 145, 0.12);
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(5, 61, 104, 0.12);
  }

  .cookie-copy strong {
    font-size: 0.86rem;
  }

  .cookie-banner p {
    font-size: 0.74rem;
    line-height: 1.3;
  }

  .cookie-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .cookie-actions .button {
    flex: 1 1 8rem;
    width: auto;
    min-height: 38px;
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .cookie-modal-card {
    padding-top: 72px;
  }

  .cookie-modal-card h2 {
    padding-right: 0;
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .cookie-close {
    top: 22px;
    right: 22px;
    min-height: 40px;
    padding: 8px 14px;
  }

  .cookie-modal-card {
    max-height: calc(100vh - 20px);
    margin: 10px auto;
  }
}
