:root {
  color-scheme: light dark;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --about-accent: #0092df;
  --about-text: #0f172a;
  --about-muted: #5f6f85;
  --about-bg: #f5f8fc;
  --about-card: #ffffff;
  --about-surface: #edf3f9;
  --about-border: #dce5ef;
  --about-shadow: 0 24px 64px rgba(15, 50, 85, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --about-text: #f8fafc;
    --about-muted: #9aa9bd;
    --about-bg: #0c1424;
    --about-card: #172338;
    --about-surface: #1d2b43;
    --about-border: #2d3d57;
    --about-shadow: 0 28px 72px rgba(0, 0, 0, 0.3);
  }
}

[data-theme="dark"] {
  color-scheme: dark;
  --about-text: #f8fafc;
  --about-muted: #9aa9bd;
  --about-bg: #0c1424;
  --about-card: #172338;
  --about-surface: #1d2b43;
  --about-border: #2d3d57;
  --about-shadow: 0 28px 72px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] {
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--about-bg);
  color: var(--about-text);
}

a {
  color: inherit;
}

.about-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0.7rem max(1rem, calc((100vw - 1120px) / 2));
  background: color-mix(in srgb, var(--about-bg) 88%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--about-border) 75%, transparent);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.about-nav__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
}

.about-nav__back span {
  font-size: 1.8rem;
  line-height: 0.8;
  color: var(--about-accent);
}

.about-nav__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

main {
  width: min(calc(100% - 2rem), 1120px);
  margin: 0 auto;
}

.about-hero {
  min-height: 520px;
  margin: 1rem 0 4.5rem;
  padding: clamp(2rem, 6vw, 5rem);
  border-radius: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  overflow: hidden;
  position: relative;
  background: #061b34;
  color: #fff;
  box-shadow: var(--about-shadow);
}

.about-hero__copy {
  position: relative;
  z-index: 3;
  max-width: 620px;
}

.about-eyebrow {
  margin: 0 0 0.65rem;
  color: var(--about-accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-hero .about-eyebrow {
  color: #79d1ff;
}

.about-hero h1 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.about-hero__lead {
  max-width: 560px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.45;
}

.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.about-chips span {
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  font-size: 0.82rem;
  font-weight: 800;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.about-primary-action,
.about-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 1.65rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  background: var(--about-accent);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0, 146, 223, 0.28);
}

.about-hero__visual {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.about-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-hero__visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.about-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 15, 31, 0.94) 0%, rgba(3, 24, 48, 0.76) 45%, rgba(3, 24, 48, 0.24) 100%),
    linear-gradient(0deg, rgba(2, 12, 26, 0.4), transparent 55%);
}

.about-section {
  margin-bottom: 5rem;
}

.about-section__heading {
  max-width: 660px;
  margin-bottom: 1.5rem;
}

.about-section h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.benefit-card {
  min-height: 210px;
  padding: 1.35rem;
  border: 1px solid var(--about-border);
  border-radius: 24px;
  background: var(--about-card);
  box-shadow: 0 12px 34px rgba(15, 50, 85, 0.06);
}

.benefit-card__icon {
  display: block;
  margin-bottom: 1.4rem;
  font-size: 2rem;
}

.benefit-card strong,
.event-strip strong,
.comfort-grid strong {
  font-size: 1.05rem;
}

.benefit-card p,
.comfort-grid p,
.hall-section__copy p,
.contacts-section p {
  margin: 0.55rem 0 0;
  color: var(--about-muted);
  line-height: 1.5;
}

.hall-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(1.4rem, 5vw, 4rem);
  border-radius: 32px;
  background: var(--about-card);
  border: 1px solid var(--about-border);
  box-shadow: var(--about-shadow);
}

.hall-section__visual {
  min-height: 380px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #dff4ff, #92d7fb);
}

[data-theme="dark"] .hall-section__visual {
  background: linear-gradient(145deg, #123659, #086fa9);
}

.hall-section__visual img {
  position: absolute;
  width: 110%;
  max-width: 470px;
  left: 50%;
  bottom: -34%;
  transform: translateX(-50%);
}

.hall-section__copy ul {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.hall-section__copy li {
  display: flex;
  gap: 0.55rem;
  color: var(--about-muted);
}

.hall-section__copy li::before {
  content: "✓";
  color: var(--about-accent);
  font-weight: 900;
}

.about-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.8fr);
  grid-template-rows: repeat(2, minmax(210px, 1fr));
  gap: 1rem;
}

.about-gallery figure {
  min-width: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--about-surface);
  box-shadow: var(--about-shadow);
}

.about-gallery__main {
  grid-row: 1 / 3;
}

.about-gallery img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  display: block;
  object-fit: cover;
  transition: transform 300ms ease;
}

.about-gallery figure:hover img {
  transform: scale(1.02);
}

.about-gallery figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.48rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(2, 12, 26, 0.68);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.about-secondary-action {
  min-height: 44px;
  margin-top: 1.4rem;
  box-shadow: none;
}

.event-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(145px, 1fr));
  gap: 0.8rem;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 0.4rem;
}

.event-strip article {
  min-height: 130px;
  padding: 1.2rem;
  border-radius: 22px;
  background: var(--about-surface);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.event-strip article span {
  font-size: 2rem;
}

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

.comfort-grid article {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-height: 120px;
  padding: 1.25rem;
  border: 1px solid var(--about-border);
  border-radius: 22px;
  background: var(--about-card);
}

.comfort-grid article > span {
  font-size: 1.8rem;
}

.contacts-section {
  padding: clamp(1.5rem, 5vw, 4rem);
  border-radius: 32px;
  background: linear-gradient(145deg, var(--about-card), var(--about-surface));
  border: 1px solid var(--about-border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}

.contacts-section__address {
  color: var(--about-text) !important;
  font-size: 1.15rem;
  font-weight: 800;
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.contact-actions a {
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--about-border);
  border-radius: 15px;
  background: var(--about-card);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
}

.contact-actions__route {
  grid-column: 1 / -1;
  background: var(--about-accent) !important;
  color: #fff;
  border-color: transparent !important;
}

.about-footer {
  width: min(calc(100% - 2rem), 1120px);
  margin: 0 auto;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--about-border);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  color: var(--about-muted);
  font-size: 0.82rem;
}

.about-footer > a {
  color: var(--about-accent);
  font-weight: 800;
  text-decoration: none;
}

.about-theme {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.about-theme > span {
  font-weight: 800;
}

.about-theme__options {
  display: inline-flex;
  padding: 0.18rem;
  border: 1px solid var(--about-border);
  border-radius: 999px;
  background: var(--about-surface);
}

.about-theme__options button {
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 0.65rem;
  background: transparent;
  color: var(--about-muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.about-theme__options button.active {
  background: var(--about-card);
  color: var(--about-text);
  box-shadow: 0 2px 8px rgba(15, 50, 85, 0.08);
}

@media (max-width: 800px) {
  .about-hero {
    min-height: 570px;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .about-hero__visual::after {
    background:
      linear-gradient(90deg, rgba(3, 15, 31, 0.92) 0%, rgba(3, 24, 48, 0.66) 72%, rgba(3, 24, 48, 0.35) 100%),
      linear-gradient(0deg, rgba(2, 12, 26, 0.55), transparent 65%);
  }

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

  .hall-section,
  .contacts-section {
    grid-template-columns: 1fr;
  }

  .about-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(310px, 1fr) minmax(180px, 0.58fr);
  }

  .about-gallery__main {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .hall-section__visual {
    min-height: 300px;
  }
}

@media (max-width: 520px) {
  main,
  .about-footer {
    width: min(calc(100% - 1.25rem), 1120px);
  }

  .about-nav {
    min-height: 56px;
    padding: 0.5rem 0.75rem;
  }

  .about-nav__logo {
    width: 34px;
    height: 34px;
  }

  .about-hero {
    min-height: 540px;
    margin: 0.65rem 0 3.5rem;
    padding: 1.5rem;
    border-radius: 26px;
  }

  .about-hero h1 {
    font-size: clamp(3.4rem, 18vw, 4.8rem);
  }

  .about-hero__lead {
    max-width: 92%;
  }

  .about-hero__visual img {
    object-position: 54% center;
  }

  .about-hero__visual::after {
    background:
      linear-gradient(180deg, rgba(3, 15, 31, 0.88) 0%, rgba(3, 24, 48, 0.56) 58%, rgba(3, 24, 48, 0.46) 100%),
      linear-gradient(90deg, rgba(2, 12, 26, 0.48), transparent);
  }

  .about-section {
    margin-bottom: 3.5rem;
  }

  .benefit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .benefit-card {
    min-height: 190px;
    padding: 1rem;
    border-radius: 20px;
  }

  .benefit-card p {
    font-size: 0.86rem;
  }

  .hall-section,
  .contacts-section {
    padding: 1rem;
    border-radius: 24px;
  }

  .hall-section__visual {
    min-height: 240px;
    border-radius: 18px;
  }

  .hall-section__visual img {
    width: 118%;
    bottom: -44%;
  }

  .about-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 0.7rem;
  }

  .about-gallery__main {
    grid-column: auto;
  }

  .about-gallery figure,
  .about-gallery img {
    min-height: 220px;
  }

  .about-gallery__main,
  .about-gallery__main img {
    min-height: 270px;
  }

  .event-strip {
    grid-template-columns: repeat(5, 155px);
    margin-right: -0.6rem;
  }

  .comfort-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .contact-actions__route {
    grid-column: auto;
  }

  .about-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .about-theme {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-theme__options {
    width: 100%;
  }

  .about-theme__options button {
    flex: 1;
  }
}
