:root {
  --red: #ed1c24;
  --red-dark: #b81219;
  --ink: #2b2928;
  --text: #373737;
  --muted: #6f767d;
  --line: #e5e7eb;
  --soft: #f5f6f7;
  --white: #ffffff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select {
  font: inherit;
}

.info-strip {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 6px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
  font-weight: 700;
}

.info-strip time {
  color: var(--white);
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 0;
  height: 2px;
  background: var(--red);
  pointer-events: none;
}

.brand img {
  width: 128px;
  height: auto;
}

.brand,
.menu-button,
.site-menu,
.site-search {
  position: relative;
  z-index: 2;
}

.site-search {
  display: flex;
  align-items: center;
  flex: 0 1 300px;
  min-width: 230px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
}

.site-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-search input {
  width: 100%;
  min-height: 38px;
  border: 0;
  padding: 8px 12px;
  color: var(--text);
  outline: 0;
}

.site-search button {
  min-height: 38px;
  border: 0;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.site-search button:disabled {
  cursor: wait;
  opacity: .72;
}

.site-search-results {
  position: fixed;
  z-index: 1000;
  top: 78px;
  right: max(18px, calc((100vw - var(--max)) / 2));
  width: min(560px, calc(100vw - 36px));
  max-height: min(620px, calc(100vh - 104px));
  overflow-y: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 20px 54px rgba(0, 0, 0, .22);
}

.site-search-results > strong {
  display: block;
  padding-right: 34px;
  font-size: 20px;
}

.site-search-results > p {
  margin: 6px 34px 14px 0;
  color: var(--muted);
}

.site-search-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #eceff2;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.site-search-result-list {
  display: grid;
  gap: 8px;
}

.site-search-result-list a {
  display: grid;
  gap: 5px;
  padding: 13px 14px;
  border-radius: 6px;
  background: #f3f5f6;
  color: var(--ink);
  text-decoration: none;
}

.site-search-result-list a:hover,
.site-search-result-list a:focus-visible {
  background: #e8ecee;
  outline: 2px solid var(--red);
}

.site-search-result-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.site-menu a,
.menu-item > a {
  display: block;
  padding: 11px 10px;
  border-bottom: 2px solid transparent;
}

.site-menu a:hover,
.site-menu a:focus-visible,
.menu-item:hover > a,
.menu-item:focus-within > a {
  border-color: var(--red);
}

.menu-item {
  position: relative;
}

.submenu {
  position: absolute;
  left: 0;
  top: calc(100% + 1px);
  z-index: 40;
  display: grid;
  min-width: 245px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  box-shadow: 0 20px 40px rgba(20, 20, 20, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.menu-item:hover .submenu,
.menu-item:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  padding: 10px 12px;
  border-bottom: 0;
  border-radius: 4px;
  color: var(--text);
  font-weight: 700;
}

.submenu a:hover,
.submenu a:focus-visible {
  background: var(--soft);
  color: var(--red);
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 9px 14px;
  border-radius: 6px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 580px;
  background: var(--ink);
}

.slider {
  position: relative;
  min-height: 580px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  min-height: 580px;
  padding: 64px max(24px, calc((100vw - var(--max)) / 2));
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .45s ease, transform .75s ease;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 20, 20, .83), rgba(20, 20, 20, .42) 52%, rgba(20, 20, 20, .12)),
    var(--image) center / cover;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.slide-copy {
  position: relative;
  max-width: 720px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  font-size: 15px;
}

.slide-copy h1,
.slide-copy h2 {
  margin: 0 0 18px;
  max-width: 680px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

.slide-copy p:not(.eyebrow) {
  max-width: 600px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .86);
  font-size: 19px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.document-filter button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary,
.document-filter button {
  background: var(--red);
  color: var(--white);
}

.button.primary:hover,
.document-filter button:hover {
  background: var(--red-dark);
}

.button.secondary {
  background: var(--white);
  color: var(--ink);
}

.slider-controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 0;
  background: rgba(20, 20, 20, .34);
  color: var(--white);
  font-size: 42px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
  background: var(--red);
}

.slider-prev {
  left: 0;
}

.slider-next {
  right: 0;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dots button {
  width: 34px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .42);
}

.slider-dots button.active {
  background: var(--red);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: -56px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}

.quick-links a {
  display: grid;
  gap: 8px;
  min-height: 130px;
  padding: 26px;
  background: var(--white);
  border-right: 1px solid var(--line);
  box-shadow: 0 22px 50px rgba(28, 28, 28, .14);
}

.quick-links a:first-child {
  border-left: 5px solid var(--red);
}

.quick-links strong {
  color: var(--ink);
  font-size: 19px;
}

.quick-links span {
  color: var(--muted);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px 24px;
}

.two-column,
.documents,
.contact {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 60px;
  align-items: start;
}

.section h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.notice-list a {
  display: grid;
  grid-template-columns: 116px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.notice-list time {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.notice-list strong {
  color: var(--ink);
  font-size: 18px;
}

.notice-list span {
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

.services {
  max-width: none;
  background: #eceff2;
}

.red-band {
  background: var(--red);
  color: var(--white);
}

.red-band div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 24px;
}

.red-band strong {
  font-size: 20px;
  line-height: 1.25;
}

.red-band time {
  font-size: 18px;
  font-weight: 800;
}

.services .section-heading,
.services .service-grid {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.service-grid article {
  min-height: 270px;
  padding: 24px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-grid img {
  width: 121px;
  height: 121px;
  object-fit: contain;
  margin-bottom: 22px;
}

.service-grid h3 {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 21px;
  line-height: 1.16;
}

.service-grid h3 a {
  color: inherit;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
}

.subpage-hero {
  padding: 96px max(24px, calc((100vw - var(--max)) / 2)) 74px;
  background:
    linear-gradient(90deg, rgba(20, 20, 20, .83), rgba(20, 20, 20, .42) 52%, rgba(20, 20, 20, .12)),
    url("assets/hero-o-spolocnosti.jpg") center / cover no-repeat;
  color: var(--white);
}

.subpage-hero > div {
  max-width: 780px;
}

.subpage-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: .98;
}

.subpage-hero p:not(.section-kicker) {
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: 20px;
}

.pool-hero {
  background:
    linear-gradient(90deg, rgba(20, 20, 20, .82), rgba(20, 20, 20, .42) 52%, rgba(20, 20, 20, .12)),
    url("assets/plavaren.jpg") center / cover no-repeat;
}

.project-hero {
  background:
    linear-gradient(90deg, rgba(20, 20, 20, .82), rgba(20, 20, 20, .43) 54%, rgba(20, 20, 20, .14)),
    var(--hero-image) center / cover no-repeat;
}

.project-quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--max);
  margin: -56px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}

.project-quick a {
  display: grid;
  gap: 6px;
  min-height: 116px;
  padding: 22px 20px;
  background: var(--white);
  border-right: 1px solid var(--line);
  box-shadow: 0 22px 50px rgba(28, 28, 28, .14);
}

.project-quick a:first-child {
  border-left: 5px solid var(--red);
}

.project-quick a:last-child {
  border-right: 0;
}

.project-quick span,
.link-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 700;
}

.project-quick strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.18;
}

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

.gallery-quick a {
  align-content: center;
  gap: 8px;
}

.gallery-quick strong {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.55;
}

.gallery-quick span {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

.gallery-subtitle {
  display: block;
  margin-top: .4em;
  font-size: 50%;
  line-height: 1.4;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.link-grid a,
.simple-list li {
  padding: 20px;
  border-radius: 8px;
  background: #eceff2;
}

.link-grid a {
  color: var(--ink);
  font-weight: 900;
}

.link-grid a:hover,
.link-grid a:focus-visible {
  background: #fff4f4;
}

.simple-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.simple-list li {
  color: var(--text);
  font-weight: 700;
}

.document-list,
.contact-directory,
.bd-grid {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.document-list a,
.contact-directory div,
.bd-grid span {
  padding: 18px 20px;
  border-radius: 8px;
  background: #eceff2;
}

.document-list a {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  font-weight: 900;
}

.document-list a::after {
  content: "PDF";
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 4px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.button-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.72rem 1rem;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button-link:hover {
  background: var(--red);
}

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

.contact-directory strong {
  display: block;
  margin-bottom: 6px;
  color: var(--red);
}

.contact-directory p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.bd-grid {
  grid-template-columns: repeat(3, 1fr);
}

.bd-grid span {
  color: var(--ink);
  font-weight: 800;
}

.project-photo {
  width: 100%;
  aspect-ratio: 1920 / 700;
  max-height: none;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 24px;
}

.radnica-page-logo {
  display: block;
  width: min(300px, 100%);
  height: auto;
  margin: 0 0 22px;
}

.subpage-contact {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 0;
}

.subpage-contact-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 18px;
  padding: 30px;
  border-radius: 8px;
  background: #eceff2;
}

.subpage-contact-card h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.08;
}

.subpage-contact-card address,
.subpage-contact-card p {
  margin: 0;
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
  line-height: 1.55;
}

.subpage-contact-card a {
  color: var(--red);
  font-weight: 900;
}

.subpage-contact-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.pool-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: -56px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}

.pool-quick a {
  display: grid;
  gap: 8px;
  min-height: 130px;
  padding: 26px;
  background: var(--white);
  border-right: 1px solid var(--line);
  box-shadow: 0 22px 50px rgba(28, 28, 28, .14);
}

.pool-quick a:first-child {
  border-left: 5px solid var(--red);
}

.pool-quick a:last-child {
  border-right: 0;
}

.pool-quick span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 700;
}

.pool-quick strong {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.18;
}

.pool-status-grid,
.pool-service-grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.pool-page-logo {
  display: block;
  width: min(504px, 100%);
  height: auto;
  margin: 0 0 24px;
}

.stadion-content-logo {
  width: min(200px, 100%);
}

.plavaren-content-logo {
  width: min(200px, 100%);
}

.industrial-content-logo {
  display: block;
  width: min(200px, 100%);
  height: auto;
  margin: 0 0 24px;
}

.radnica-content-logo {
  display: block;
  width: min(200px, 100%);
  height: auto;
  margin: 0 0 24px;
}

.nbd-content-logo {
  display: block;
  width: min(200px, 100%);
  height: auto;
  margin: 0 0 24px;
}

.barbakan-content-logo {
  display: block;
  width: min(200px, 100%);
  height: auto;
  margin: 0 0 24px;
}

.prestupne-content-logo {
  display: block;
  width: min(200px, 100%);
  height: auto;
  margin: 0 0 24px;
}

.page-card h2.ownership-heading,
.page-card h2.accent-heading {
  color: var(--red);
}

.pool-status-grid {
  grid-template-columns: repeat(3, 1fr);
}

.pool-status-grid div,
.pool-service-grid div {
  padding: 20px;
  border-radius: 8px;
  background: #eceff2;
}

.pool-status-grid span {
  display: block;
  margin-bottom: 7px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.pool-status-grid strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.pool-service-grid {
  grid-template-columns: repeat(4, 1fr);
}

.pool-service-grid img {
  width: 112px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 16px;
}

.pool-service-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 20px;
  line-height: 1.12;
}

.pool-service-grid p,
.pool-two p,
.pool-contact-card address {
  color: var(--muted);
  font-weight: 700;
}

.pool-gallery {
  display: grid;
  grid-template-columns: 1.35fr .8fr .8fr;
  grid-auto-rows: 190px;
  gap: 14px;
  margin-top: 24px;
}

.pool-gallery button {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: var(--ink);
  cursor: zoom-in;
}

.pool-gallery button:first-child {
  grid-row: span 2;
}

.pool-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .92;
  transition: transform .35s ease, opacity .35s ease;
}

.pool-gallery span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
  text-align: left;
  text-shadow: 0 2px 12px rgba(20, 20, 20, .55);
}

.pool-gallery button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(20, 20, 20, .7));
}

.pool-gallery button:hover img,
.pool-gallery button:focus-visible img {
  opacity: 1;
  transform: scale(1.04);
}

.pool-two,
.pool-contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.pool-two > div {
  padding: 24px;
  border-radius: 8px;
  background: #eceff2;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--red);
  font-weight: 900;
}

.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 2px solid var(--red);
  border-radius: 8px;
  color: var(--red);
  font-weight: 900;
  text-align: center;
}

.button-outline:hover,
.button-outline:focus-visible {
  background: var(--red);
  color: var(--white);
}

.pool-price-card {
  display: grid;
  gap: 24px;
}

.price-head {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}

.price-head p {
  max-width: 760px;
}

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.price-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: var(--white);
}

.price-table th,
.price-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.price-table thead th {
  background: var(--red);
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
}

.price-table tbody th {
  width: 46%;
  color: var(--ink);
  font-weight: 900;
}

.price-table td {
  color: var(--ink);
  font-weight: 800;
}

.price-table tr:last-child th,
.price-table tr:last-child td {
  border-bottom: 0;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.price-grid > div,
.price-note {
  padding: 22px;
  border-radius: 8px;
  background: #eceff2;
}

.price-grid h3 {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 20px;
}

.price-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.price-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: baseline;
}

.price-list dt {
  color: var(--ink);
  font-weight: 800;
}

.price-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  white-space: nowrap;
}

.price-note {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.pool-notice-list {
  display: grid;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.pool-notice-list a {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.pool-notice-list time {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.pool-notice-list strong {
  color: var(--ink);
}

.pool-notice-list span,
.pool-contact-box a {
  color: var(--red);
  font-weight: 900;
}

.pool-contact-card address {
  font-style: normal;
}

.pool-contact-box {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
  border-radius: 8px;
  background: #eceff2;
}

.page-content {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  max-width: var(--max);
}

.page-side-nav {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
  align-self: start;
  padding: 14px;
  background: #eceff2;
  border-radius: 8px;
}

.page-side-nav a {
  padding: 12px 14px;
  background: var(--white);
  border-left: 3px solid transparent;
  color: var(--ink);
  font-weight: 800;
}

.page-side-nav a:hover,
.page-side-nav a:focus-visible {
  border-left-color: var(--red);
}

.page-main {
  position: relative;
  display: grid;
  gap: 22px;
  padding-left: 24px;
}

.page-main::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--red);
}

.page-card {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.page-card h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.05;
}

.page-card p {
  margin: 0;
}

.fact-grid,
.organs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.fact-grid div,
.organs-grid div {
  padding: 18px;
  background: #eceff2;
  border-radius: 8px;
}

.fact-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.fact-grid strong,
.organs-grid h3,
.activity-list h3 {
  color: var(--ink);
}

.activity-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.activity-list div {
  padding: 22px;
  background: #eceff2;
  border-radius: 8px;
}

.activity-list h3,
.organs-grid h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.organs-chart {
  display: grid;
  justify-items: center;
  gap: 42px;
  margin-top: 28px;
  text-align: center;
}

.organs-level {
  position: relative;
  width: min(100%, 760px);
  padding: 24px;
  background: #eceff2;
  border-radius: 8px;
}

.organs-level:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  width: 2px;
  height: 26px;
  background: #c8cbd0;
}

.organs-level h3 {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 24px;
}

.organs-level p + p {
  margin-top: 10px;
}

.organs-members {
  display: grid;
  gap: 18px;
}

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

.organs-members p {
  padding: 16px;
  background: #fff;
  border-radius: 8px;
}

.organs-members strong {
  color: var(--ink);
  font-size: 18px;
}

.organs-members span {
  color: #62666d;
}

.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.scope-grid section {
  padding: 22px;
  background: #eceff2;
  border-radius: 8px;
}

.scope-grid h3 {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 20px;
}

.scope-grid ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
}

.scope-grid li {
  color: var(--text);
}

.interactive-map {
  position: relative;
  margin-top: 22px;
}

.interactive-map img {
  width: 100%;
  border-radius: 8px;
  background: #eceff2;
}

.map-hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid var(--white);
  border-radius: 50%;
  padding: 0;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(20, 20, 20, .28);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.map-hotspot:hover,
.map-hotspot:focus-visible,
.map-hotspot.active {
  background: var(--ink);
  box-shadow: 0 0 0 6px rgba(237, 28, 36, .18), 0 12px 28px rgba(20, 20, 20, .34);
  transform: translate(-50%, -50%) scale(1.18);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.impact-grid div {
  position: relative;
  min-height: 155px;
  padding: 20px;
  background: #eceff2;
  border-radius: 8px;
  border-top: 3px solid var(--red);
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.impact-grid div[data-map-number] {
  padding-top: 54px;
  cursor: pointer;
}

.impact-grid div[data-map-number]:hover,
.impact-grid div[data-map-number].active {
  background: #fff4f4;
  box-shadow: 0 16px 34px rgba(20, 20, 20, .13);
  transform: translateY(-2px);
}

.impact-grid div[data-map-number]::before {
  content: attr(data-map-number);
  position: absolute;
  top: 16px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
}

.impact-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.05;
}

.impact-grid p {
  color: var(--muted);
}

.city-company-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto 34px;
  padding: 22px 0;
  background: #eceff2;
}

.city-company-strip strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
}

.city-company-strip img {
  width: min(230px, 46%);
  max-height: 92px;
  object-fit: contain;
  object-position: center right;
}

.object-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 54px) / 4);
  grid-template-columns: none;
  gap: 18px;
  overflow-x: auto;
  padding: 2px 2px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.object-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.object-controls {
  display: flex;
  gap: 8px;
  padding-top: 8px;
}

.object-controls button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.object-controls button:hover,
.object-controls button:focus-visible {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.object-card {
  display: grid;
  grid-template-rows: 230px 1fr;
  overflow: hidden;
  min-height: 390px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  scroll-snap-align: start;
}

.object-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.object-card div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.object-card p {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.object-card h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.15;
}

.object-card a {
  margin-top: auto;
  color: var(--red);
  font-weight: 800;
}

.documents {
  max-width: none;
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: var(--white);
}

.documents h2 {
  color: var(--white);
}

.documents .section-lead {
  color: rgba(255, 255, 255, .78);
}

.document-filter {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: var(--white);
  border-radius: 8px;
  color: var(--ink);
}

.document-filter label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.document-filter select,
.document-filter input {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--text);
  background: var(--white);
}

.document-results {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.document-results > strong {
  color: var(--ink);
  font-size: 15px;
}

.document-results > p {
  margin: 0;
  padding: 14px 16px;
  border-left: 4px solid var(--red);
  background: #f2f4f6;
  color: var(--text);
  font-weight: 700;
}

.document-result-list {
  display: grid;
  gap: 10px;
}

.document-result-list a {
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  border-left: 4px solid var(--red);
  background: #f2f4f6;
  color: var(--ink);
}

.document-result-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.document-result-list b {
  font-size: 16px;
}

.document-result-list small {
  color: var(--text);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  grid-auto-rows: 220px;
  gap: 14px;
}

.gallery-grid button {
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: var(--soft);
  cursor: zoom-in;
}

.gallery-grid button:first-child {
  grid-row: span 2;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.gallery-grid button:hover img {
  transform: scale(1.04);
}

.gallery-preview-section + .gallery-preview-section {
  margin-top: 24px;
}

.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.gallery-preview-grid button {
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--soft);
  cursor: zoom-in;
}

.gallery-preview-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: var(--soft);
  transition: transform .35s ease;
}

.gallery-preview-grid button:hover img {
  transform: scale(1.04);
}

.contact {
  max-width: none;
  align-items: start;
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  padding-top: 76px;
  padding-bottom: 76px;
  background: #eceff2;
}

.contact address {
  margin: 0;
  color: var(--text);
  font-style: normal;
  font-size: 19px;
  font-weight: 700;
}

.company-details {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
}

.company-details div {
  display: flex;
  gap: 10px;
}

.company-details dt {
  min-width: 72px;
  color: var(--ink);
  font-weight: 900;
}

.company-details dd {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-grid article {
  min-height: 160px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.contact-grid h3 {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 18px;
  line-height: 1.2;
}

.contact-grid p {
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 800;
}

.office-hours {
  display: grid;
  gap: 6px;
  margin: 10px 0 12px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.office-hours li {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
}

.office-hours span {
  color: var(--ink);
  font-weight: 800;
}

.contact-grid a {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-weight: 700;
}

.contact-grid a:hover,
.contact-grid a:focus-visible {
  color: var(--red);
}

.map-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  overflow: hidden;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.map-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(237, 28, 36, .12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(43, 41, 40, .12) 1px, transparent 1px),
    #d8dde2;
  background-size: 58px 58px;
  color: var(--ink);
}

.map-placeholder::before,
.map-placeholder::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, .62);
  transform: rotate(-11deg);
}

.map-placeholder::before {
  width: 120%;
  height: 38px;
  top: 42%;
}

.map-placeholder::after {
  width: 46px;
  height: 120%;
  left: 34%;
}

.map-placeholder span,
.map-placeholder strong,
.map-placeholder small {
  position: relative;
  z-index: 1;
  display: block;
  padding: 4px 10px;
  background: var(--white);
}

.map-placeholder strong {
  color: var(--red);
  font-size: 28px;
}

.map-placeholder span,
.map-placeholder small {
  font-weight: 800;
}

.map-copy {
  padding: 30px;
}

.map-copy h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 24px;
}

.map-copy p {
  margin: 0 0 20px;
  color: var(--muted);
  font-weight: 700;
}

.map-copy a {
  display: inline-flex;
  padding: 11px 14px;
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
}

.map-copy a:hover,
.map-copy a:focus-visible {
  background: var(--ink);
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 36px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 2px solid var(--red);
  background: var(--ink);
  color: rgba(255, 255, 255, .76);
  text-align: center;
}

.site-footer strong {
  display: block;
  color: var(--white);
}

.footer-copy {
  display: grid;
  gap: 4px;
}

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

.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 116px;
}

.footer-logos a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 10px 14px;
  opacity: .84;
  transition: opacity .2s ease, transform .2s ease;
}

.footer-logos a:hover,
.footer-logos a:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-logos img {
  width: 150px;
  max-height: 72px;
  object-fit: contain;
  transition: filter .2s ease;
}

.footer-logos a:hover img,
.footer-logos a:focus-visible img {
  filter: brightness(1.9) contrast(1.08);
}

.footer-logos a:nth-child(2) img {
  width: 118px;
}

.footer-logos a:nth-child(3) img {
  width: 142px;
}

.footer-logos a:nth-child(4) img {
  width: 170px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(20, 20, 20, .86);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(92vw, 1280px);
  max-height: 86vh;
  border-radius: 8px;
}

.lightbox button {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 26px;
  cursor: pointer;
}

.lightbox-close {
  top: 18px;
  right: 18px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, .92);
  font-size: 42px;
  line-height: 1;
}

.lightbox-prev {
  left: 22px;
}

.lightbox-next {
  right: 22px;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 28px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(20, 20, 20, .22);
  font-size: 24px;
  font-weight: 900;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--ink);
}

.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 18px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(43, 41, 40, .98);
  color: rgba(255, 255, 255, .88);
  box-shadow: 0 -16px 40px rgba(20, 20, 20, .18);
}

.cookie-bar[hidden],
.cookie-modal[hidden] {
  display: none !important;
}

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

.cookie-bar p {
  max-width: 790px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}

.cookie-actions button {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 4px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.cookie-actions button:hover,
.cookie-actions button:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, .15);
}

.cookie-actions [data-cookie-accept] {
  border-color: var(--red);
  background: var(--red);
}

.cookie-actions [data-cookie-accept]:hover,
.cookie-actions [data-cookie-accept]:focus-visible {
  background: #c9141b;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 20, 20, .58);
}

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

.cookie-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 34px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 30px 80px rgba(20, 20, 20, .28);
}

.cookie-panel h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.05;
}

.cookie-panel > p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.cookie-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #eceff2;
  color: var(--ink);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.cookie-close:hover,
.cookie-close:focus-visible {
  background: var(--red);
  color: var(--white);
}

.cookie-options {
  display: grid;
  gap: 12px;
  margin: 26px 0;
}

.cookie-options label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eceff2;
}

.cookie-options strong,
.cookie-options small {
  display: block;
}

.cookie-options strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 18px;
}

.cookie-options small {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

.cookie-options input {
  width: 48px;
  height: 26px;
  flex: 0 0 auto;
  accent-color: var(--red);
  cursor: pointer;
}

.cookie-options input:disabled {
  cursor: not-allowed;
}

.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal-actions button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 11px 16px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.cookie-modal-actions button:hover,
.cookie-modal-actions button:focus-visible {
  border-color: var(--ink);
}

.cookie-modal-actions [data-cookie-save],
.cookie-modal-actions [data-cookie-accept] {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.cookie-modal-actions [data-cookie-save]:hover,
.cookie-modal-actions [data-cookie-save]:focus-visible,
.cookie-modal-actions [data-cookie-accept]:hover,
.cookie-modal-actions [data-cookie-accept]:focus-visible {
  background: #c9141b;
}

@media (max-width: 980px) {
  .menu-button {
    display: inline-flex;
  }

  .site-menu {
    position: absolute;
    left: 24px;
    right: 24px;
    top: calc(100% + 1px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(20, 20, 20, .12);
  }

  .site-menu.open {
    display: flex;
  }

  .site-menu a {
    padding: 12px;
  }

  .menu-item > a::after {
    float: right;
    margin-top: 8px;
  }

  .submenu {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 8px 14px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .menu-item:hover .submenu,
  .menu-item:focus-within .submenu,
  .menu-item.open .submenu {
    display: grid;
  }

  .quick-links,
  .pool-quick,
  .project-quick,
  .two-column,
  .documents,
  .contact,
  .page-content,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .page-side-nav {
    position: static;
  }

  .fact-grid,
  .organs-grid,
  .activity-list,
  .scope-grid,
  .pool-status-grid,
  .pool-service-grid,
  .pool-two,
  .pool-contact-card,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .organs-members-two {
    grid-template-columns: 1fr;
  }

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

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

  .contact-directory,
  .bd-grid {
    grid-template-columns: 1fr 1fr;
  }

  .price-head {
    flex-direction: column;
  }

  .price-head .button-outline {
    width: 100%;
  }

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

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

  .object-grid {
    grid-auto-columns: calc((100% - 18px) / 2);
  }

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

  .city-company-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .city-company-strip img {
    width: min(320px, 100%);
    object-position: center left;
  }

  .map-panel {
    grid-template-columns: 1fr;
  }

  .quick-links {
    margin-top: 0;
    padding: 0;
  }

  .pool-quick,
  .project-quick {
    margin-top: 0;
    padding: 0;
  }

  .quick-links a,
  .pool-quick a,
  .project-quick a {
    box-shadow: none;
    border-bottom: 1px solid var(--line);
  }

  .pool-quick a,
  .pool-quick a:first-child,
  .pool-quick a:last-child,
  .project-quick a,
  .project-quick a:first-child,
  .project-quick a:last-child {
    border-radius: 0;
  }

  .notice-list a,
  .pool-notice-list a {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

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

  .cookie-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-actions {
    flex-wrap: wrap;
  }

  .cookie-actions button {
    flex: 1 1 160px;
  }

  .cookie-panel {
    padding: 28px 20px;
  }

  .cookie-options label {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .page-content,
  .page-main,
  .page-card,
  .page-side-nav {
    width: 100%;
    min-width: 0;
  }

  .page-main {
    padding-left: 14px;
  }

  .page-card {
    padding: 24px 20px;
  }

  .page-card a,
  .document-list a {
    overflow-wrap: anywhere;
  }

  .price-table-wrap,
  .objects,
  .object-grid {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .objects {
    overflow: hidden;
  }

  .contact > *,
  .contact-intro,
  .contact-grid {
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .contact-grid a {
    overflow-wrap: anywhere;
  }

  .info-strip {
    flex-direction: column;
    gap: 2px;
    padding: 7px 18px;
  }

  .nav-wrap {
    padding: 14px 18px;
    flex-wrap: wrap;
  }

  .brand img {
    width: 112px;
  }

  .site-search {
    order: 3;
    flex-basis: 100%;
    min-width: 0;
  }

  .site-search-results {
    top: 142px;
    max-height: calc(100vh - 164px);
  }

  .hero,
  .slider,
  .slide {
    min-height: 620px;
  }

  .slide {
    padding: 52px 18px 90px;
  }

  .slide::before {
    background:
      linear-gradient(180deg, rgba(20, 20, 20, .82), rgba(20, 20, 20, .62)),
      var(--image) center / cover;
  }

  .slide-copy h1,
  .slide-copy h2 {
    font-size: 39px;
  }

  .slide-copy p:not(.eyebrow) {
    font-size: 17px;
  }

  .section {
    padding: 64px 18px;
  }

  .section h2 {
    font-size: 31px;
  }

  .subpage-hero {
    padding: 72px 18px 58px;
  }

  .subpage-hero h1 {
    font-size: 42px;
  }

  .slider-controls {
    right: auto;
    bottom: 24px;
  }

  .slider-arrow {
    width: 38px;
    height: 58px;
    font-size: 34px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 210px;
  }

  .pool-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 210px;
  }

  .lightbox {
    padding: 18px;
  }

  .lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 32px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .price-table th,
  .price-table td {
    padding: 12px;
  }

  .price-grid > div,
  .price-note {
    padding: 18px;
  }

  .price-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .red-band div {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 18px;
  }

  .object-grid {
    grid-auto-columns: 86%;
  }

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

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

  .contact-directory,
  .bd-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-grid button:first-child {
    grid-row: span 1;
  }

  .pool-gallery button:first-child {
    grid-row: span 1;
  }

  .site-footer {
    align-items: center;
  }

  .footer-logos {
    justify-content: center;
  }
}


