:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-muted: #f5f7f6;
  --text: #202424;
  --muted: #5d6664;
  --soft: #dfe6e3;
  --line: #d7dfdc;
  --accent: #1c6f68;
  --accent-strong: #0c514c;
  --accent-soft: #dcebea;
  --surface: #ffffff;
  --shadow: 0 20px 60px rgba(20, 35, 35, 0.12);
  --radius: 8px;
  --container: min(1120px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--accent-strong);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: var(--container);
  margin: 0 auto;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(215, 223, 220, 0.86);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  text-decoration: none;
}

.brand-mark {
  width: 50px;
  height: 50px;
  display: block;
  flex: 0 0 auto;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-title,
.brand-subtitle {
  display: block;
}

.brand-title {
  font-weight: 700;
  line-height: 1.2;
}

.brand-subtitle {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  max-width: 100%;
  color: #35413f;
  font-size: 14px;
  white-space: nowrap;
}

.site-nav a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--accent-strong);
  border-color: var(--accent-strong);
}

.hero {
  padding: 76px 0 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1fr);
  align-items: center;
  gap: 64px;
}

.hero-grid > *,
.split > *,
.legal-grid > *,
.contact-box > *,
.activity-list article > *,
.kved-row > * {
  min-width: 0;
}

.hero-copy {
  max-width: 620px;
  min-width: 0;
}

.section-label {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: #18201f;
  line-height: 1.12;
}

h1 {
  max-width: 680px;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 700;
}

h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 700;
}

h3 {
  font-size: 20px;
  font-weight: 700;
}

p {
  margin: 16px 0 0;
  color: var(--muted);
}

.lead {
  color: #2f3937;
  font-size: clamp(18px, 2.4vw, 23px);
  line-height: 1.45;
}

.hero-media {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-auto-rows: 265px;
  gap: 14px;
}

.photo-tile,
.gallery figure {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  background: var(--soft);
  border-radius: var(--radius);
}

.photo-tile {
  box-shadow: var(--shadow);
}

.section {
  padding: 86px 0;
}

.section-muted {
  background: var(--bg-muted);
  border-top: 1px solid rgba(215, 223, 220, 0.72);
  border-bottom: 1px solid rgba(215, 223, 220, 0.72);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.activity-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.activity-list article {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.activity-list p {
  margin-top: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.kved-table {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.kved-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 28px;
  padding: 26px 30px;
  border-bottom: 1px solid var(--line);
}

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

.kved-row strong {
  color: var(--accent-strong);
  font-size: 26px;
  line-height: 1.1;
}

.kved-row h3 a {
  text-decoration-color: rgba(28, 111, 104, 0.32);
  text-underline-offset: 4px;
}

.kved-row h3 a:hover,
.kved-row h3 a:focus {
  color: var(--accent-strong);
  text-decoration-color: var(--accent-strong);
}

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

.gallery figure {
  position: relative;
  min-height: 292px;
  border: 1px solid var(--line);
}

.gallery figure.wide {
  grid-column: span 2;
  min-height: 260px;
}

.gallery figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.92);
  color: #26302f;
  border: 1px solid rgba(215, 223, 220, 0.88);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.legal-list {
  margin: 0;
  display: grid;
  gap: 12px;
}

.legal-list div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.legal-list dt {
  color: #313d3b;
  font-weight: 700;
}

.legal-list dd {
  margin: 0;
  color: var(--muted);
}

.contact-section {
  padding-bottom: 96px;
}

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.56fr);
  gap: 48px;
  align-items: center;
  padding: 42px;
  background: var(--accent-soft);
  border: 1px solid #c9dfdc;
  border-radius: var(--radius);
}

address {
  margin: 0;
  display: grid;
  gap: 12px;
  color: #263331;
  font-style: normal;
  font-weight: 600;
}

address a {
  color: var(--accent-strong);
  text-decoration-color: rgba(28, 111, 104, 0.36);
  text-underline-offset: 4px;
}

address a:hover,
address a:focus {
  text-decoration-color: var(--accent-strong);
}

.site-footer {
  padding: 28px 0;
  background: #18201f;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 960px) {
  .header-inner {
    min-height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-grid,
  .split,
  .legal-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-media {
    min-height: 480px;
  }

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

@media (max-width: 640px) {
  :root {
    --container: min(calc(100vw - 28px), 1120px);
  }

  .container {
    width: calc(100vw - 28px);
  }

  .brand {
    min-width: 0;
  }

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

  .site-nav {
    gap: 16px;
    font-size: 13px;
  }

  .site-header,
  .header-inner,
  .hero-grid {
    overflow: hidden;
  }

  .hero-copy,
  .hero-media {
    width: 100%;
    max-width: 100%;
  }

  .hero-copy h1,
  .hero-copy p,
  .hero-copy .section-label {
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  .hero,
  .section {
    padding: 58px 0;
  }

  h1 {
    font-size: clamp(38px, 13vw, 54px);
  }

  .hero-media {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 10px;
  }

  .photo-tile {
    height: 260px;
  }

  .activity-list article,
  .kved-row,
  .legal-list div,
  .contact-box {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .kved-row {
    padding: 22px 18px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery figure,
  .gallery figure.wide {
    grid-column: auto;
    min-height: 310px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
