:root {
  --sd-olive: #505247;
  --sd-dark: #45473a;
  --sd-card: #403b35;
  --sd-paper: #f1f4f7;
  --sd-accent: #1597d1;
}

html {
  scroll-behavior: smooth;
}

body.site {
  margin: 0;
  background: #fff;
  color: #262626;
  font-family: Arial, Helvetica, sans-serif;
}

.container-header,
.footer,
.mod-breadcrumbs,
.article-info {
  display: none !important;
}

.site-grid,
.site-grid > *,
.container-component,
.com-content-article,
.com-content-article__body {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-grid {
  display: block;
}

.sd-site,
.blog {
  width: 100%;
  overflow: visible;
  color: #333;
  font: 16px/1.6 Arial, Helvetica, sans-serif;
}

.sd-site *,
.blog * {
  box-sizing: border-box;
}

.blog,
.blog-items,
.blog-item,
.blog-item .item-content {
  display: block !important;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.blog .page-header,
.blog .article-info,
.blog .pagination {
  display: none !important;
}

.sd-hero {
  position: relative;
  height: clamp(320px, 41.667vw, 620px);
  margin-top: 90px;
  overflow: visible;
  background: #222;
}

.sd-slides,
.sd-slide {
  position: absolute;
  inset: 0;
}

.sd-slide {
  opacity: 0;
  background-position: center;
  background-size: cover;
  animation: sd-crossfade 18s infinite;
}

.sd-slide:nth-child(1) {
  background-image: linear-gradient(#0001, #0002), url('/images/site/slide1.jpg');
}

.sd-slide:nth-child(2) {
  background-image: linear-gradient(#0001, #0002), url('/images/site/slide2.jpg');
  animation-delay: 6s;
}

.sd-slide:nth-child(3) {
  background-image: linear-gradient(#0001, #0002), url('/images/site/slide5.jpg');
  animation-delay: 12s;
}

@keyframes sd-crossfade {
  0% { opacity: 1; }
  30% { opacity: 1; }
  36% { opacity: 0; }
  100% { opacity: 0; }
}

.sd-nav {
  position: absolute;
  z-index: 20;
  top: -90px;
  left: 0;
  right: 0;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding: 0 5vw;
  background: var(--sd-olive);
}

.sd-menu-toggle {
  display: none;
}

.sd-brand {
  margin-right: auto;
  color: #fff;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
}

.sd-nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.sd-offers,
.sd-section {
  padding: 76px max(5vw, calc((100% - 1120px) / 2));
}

.sd-offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 44px;
  background: var(--sd-paper);
}

.sd-offer {
  min-height: 242px;
  overflow: hidden;
  background: #fff;
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 3px 3px #0003;
}

.sd-offer img {
  width: 100%;
  height: 142px;
  display: block;
  object-fit: cover;
  border-radius: 28px 28px 0 0;
}

.sd-offer h2 {
  margin: 24px 18px;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
  text-transform: uppercase;
}

.sd-about {
  min-height: 500px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.sd-about h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.sd-about p {
  font-size: 18px;
  text-align: justify;
}

.sd-about img {
  width: 100%;
  border-radius: 0 28px 0 28px;
}

.sd-title {
  margin: 0 0 48px;
  text-align: center;
  text-transform: uppercase;
  font-size: 34px;
  letter-spacing: .03em;
}

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

.sd-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform .2s ease, filter .2s ease;
}

.sd-gallery img:hover,
.sd-gallery img:focus-visible {
  z-index: 1;
  filter: brightness(1.06);
  transform: scale(1.035);
}

.sd-gallery img:focus-visible {
  outline: 4px solid var(--sd-accent);
  outline-offset: 3px;
}

.sd-lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #111e;
  color: #fff;
}

.sd-lightbox[open] {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 74px;
  grid-template-rows: 72px minmax(0, 1fr) 64px;
  place-items: center;
}

.sd-lightbox::backdrop {
  background: #111e;
}

.sd-lightbox__image {
  grid-column: 2;
  grid-row: 2;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 12px 48px #000b;
}

.sd-lightbox__button {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #000a;
  color: #fff;
  font: 700 38px/1 Arial, sans-serif;
  cursor: pointer;
}

.sd-lightbox__button:hover,
.sd-lightbox__button:focus-visible {
  background: var(--sd-accent);
  outline: 3px solid #fff;
}

.sd-lightbox__close {
  grid-column: 3;
  grid-row: 1;
  font-size: 30px;
}

.sd-lightbox__prev {
  grid-column: 1;
  grid-row: 2;
}

.sd-lightbox__next {
  grid-column: 3;
  grid-row: 2;
}

.sd-lightbox__caption {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 0;
  padding: 12px 24px;
  text-align: center;
  font-weight: 700;
}

body.sd-lightbox-open {
  overflow: hidden;
}

.sd-pricing {
  background: var(--sd-dark);
  color: #fff;
}

.sd-price-grid {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sd-card {
  background: var(--sd-card);
  text-align: center;
}

.sd-card header {
  padding: 34px 20px;
}

.sd-card h3 {
  font-size: 26px;
}

.sd-amount {
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
}

.sd-card ul {
  margin: 0;
  padding: 28px;
  list-style: none;
  background: #fff;
  color: #555;
}

.sd-card li {
  margin: 14px;
}

.sd-card footer {
  padding: 28px;
}

.sd-button {
  display: inline-block;
  padding: 11px 18px;
  background: #fff;
  color: var(--sd-card);
  font-weight: 700;
  text-decoration: none;
}

.sd-contact {
  min-height: 460px;
  background: linear-gradient(#0008, #0008), url('/images/site/hero-03.jpg') center / cover;
  color: #fff;
}

.sd-contact-grid {
  display: grid;
  grid-template-columns: minmax(210px, .7fr) minmax(360px, 1.35fr) minmax(210px, .7fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
}

.sd-contact-details {
  display: grid;
  align-content: center;
  gap: 24px;
  min-height: 390px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 0 28px 0 28px;
  background: rgba(42, 44, 40, .88);
  box-shadow: 0 8px 28px #0006;
}

.sd-contact-details h3 {
  margin-bottom: 6px;
}

.sd-contact-details p {
  margin: 0;
}

.sd-contact-details a {
  text-decoration: none;
}

.sd-contact-map {
  min-height: 390px;
  overflow: hidden;
  border-radius: 0 28px 0 28px;
  box-shadow: 0 8px 28px #0006;
}

.sd-contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 390px;
  display: block;
  border: 0;
}

.sd-contact-poster {
  min-width: 0;
  text-align: center;
}

.sd-poster-button {
  width: 100%;
  height: 390px;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0 28px 0 28px;
  background: #fff;
  box-shadow: 0 8px 28px #0006;
  cursor: zoom-in;
}

.sd-poster-thumb {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: transform .2s ease, filter .2s ease;
}

.sd-poster-button:hover .sd-poster-thumb,
.sd-poster-button:focus-visible .sd-poster-thumb {
  filter: brightness(1.04);
  transform: scale(1.025);
}

.sd-poster-button:focus-visible {
  outline: 4px solid var(--sd-accent);
  outline-offset: 3px;
}

.sd-poster-link {
  display: inline-block;
  margin-top: 14px;
  color: #fff;
  font-weight: 700;
}

.sd-contact-grid h3 {
  font-size: 22px;
}

.sd-contact a {
  color: #fff;
}

.sd-back-to-top {
  position: fixed;
  z-index: 30;
  right: 20px;
  bottom: 28px;
  width: 38px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 2px;
  background: #333;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}

.sd-back-to-top:hover,
.sd-back-to-top:focus-visible {
  background: #1f1f1f;
  color: #fff;
}

@media (max-width: 780px) {
  .sd-hero {
    height: clamp(230px, 56vw, 360px);
  }

  .sd-nav {
    padding: 0 22px;
  }

  .sd-menu-toggle {
    position: absolute;
    top: 23px;
    right: 18px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font: 700 32px/1 Arial, sans-serif;
    appearance: none;
    cursor: pointer;
  }

  .sd-menu-toggle:hover,
  .sd-menu-toggle:focus-visible {
    background: #ffffff1c;
    color: #fff;
    outline: 2px solid #fff;
    outline-offset: 2px;
  }

  .sd-brand {
    max-width: calc(100% - 56px);
    font-size: 20px;
  }

  .sd-nav a:not(.sd-brand) {
    display: none;
  }

  .sd-nav.sd-nav-open {
    align-items: flex-start;
    justify-content: flex-start;
    height: auto;
    min-height: 90px;
    padding-block: 32px 20px;
    flex-direction: column;
    gap: 10px;
  }

  .sd-nav.sd-nav-open .sd-brand {
    margin-bottom: 8px;
  }

  .sd-nav.sd-nav-open a:not(.sd-brand) {
    display: block;
    width: 100%;
    padding: 5px 0;
    text-align: right;
  }

  .sd-offers,
  .sd-about,
  .sd-price-grid,
  .sd-contact-grid {
    grid-template-columns: 1fr;
  }

  .sd-offers {
    gap: 28px;
  }

  .sd-about {
    gap: 30px;
  }

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

  .sd-contact-map,
  .sd-poster-button {
    min-height: 320px;
  }

  .sd-contact-map {
    height: 320px;
    background: #e5e5e5;
  }

  .sd-contact-map iframe {
    height: 100%;
    min-height: 0;
  }

  .sd-poster-button {
    height: min(120vw, 520px);
  }

  .sd-lightbox[open] {
    grid-template-columns: 58px minmax(0, 1fr) 58px;
    grid-template-rows: 64px minmax(0, 1fr) 58px;
  }

  .sd-lightbox__button {
    width: 44px;
    height: 44px;
    font-size: 32px;
  }

  .sd-amount {
    font-size: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sd-slide {
    animation: none;
  }

  .sd-slide:first-child {
    opacity: 1;
  }
}

