:root {
  --site-accent: #df4949;
  --site-accent-strong: #e31e24;
  --site-text: #444444;
  --site-dark: #3b3b3b;
  --site-muted: #aaaaaa;
  --site-border: #d7d7d7;
  --site-surface: #ffffff;
  --site-map-surface: #e9e8e5;
  --site-content: 1200px;
  --site-header-height: 100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--site-surface);
  color: var(--site-text);
  font-family: Verdana, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.73;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 9px 13px;
  transform: translateY(-160%);
  background: #111111;
  color: #ffffff;
}

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

.site-shell {
  width: min(calc(100% - 48px), var(--site-content));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 50;
  min-height: var(--site-header-height);
  border-bottom: 0;
  background: var(--site-surface);
}

.site-header.is-inner {
  border-bottom: 3px solid #cfcfcf;
}

.header-inner {
  display: flex;
  min-height: var(--site-header-height);
  align-items: stretch;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  padding: 25px 0;
}

.brand-link img {
  width: 258px;
  height: 50px;
}

.main-nav {
  display: flex;
  align-items: stretch;
}

.main-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  position: relative;
  display: flex;
  height: var(--site-header-height);
  align-items: center;
  padding: 0 17px;
  color: #121212;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 20px;
  bottom: 22px;
  left: 20px;
  height: 1px;
  content: "";
  transform: scaleX(0);
  background: rgba(255, 255, 255, 0.75);
  transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-active {
  background: #b9b9b9;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-self: center;
  border: 0;
  background: transparent;
  color: #222222;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 27px;
  height: 2px;
  margin: 6px auto;
  content: "";
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-8px) rotate(-45deg);
}

.hero-slider {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #333333;
  color: #ffffff;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 550ms ease;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.hero-slide::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: rgba(30, 30, 30, 0.49);
}

.hero-image {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.015);
  transition: transform 5s ease;
}

.hero-image.is-slide-1 {
  background-image: url("/assets/images/slides/01.jpg");
}

.hero-image.is-slide-2 {
  background-image: url("/assets/images/slides/02.jpg");
}

.hero-image.is-slide-3 {
  background-image: url("/assets/images/slides/03.jpg");
}

.hero-slide.is-active .hero-image {
  transform: scale(1);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(calc(100% - 200px), 780px);
  min-height: 100svh;
  margin-inline: auto;
  place-content: center;
  text-align: center;
}

.hero-copy h1,
.hero-copy h2 {
  max-width: 780px;
  margin: 0 0 26px;
  color: #ffffff;
  font-size: clamp(2.4rem, 4.6vw, 4.25rem);
  font-weight: 400;
  line-height: 1.12;
}

.hero-copy p {
  max-width: 560px;
  margin: 0 auto;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.45;
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.hero-control:hover,
.hero-control:focus-visible {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

.hero-control::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25px;
  height: 25px;
  content: "";
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.hero-control.is-previous {
  left: max(28px, calc((100% - var(--site-content)) / 2 + 70px));
}

.hero-control.is-previous::before {
  transform: translate(-36%, -50%) rotate(-135deg);
}

.hero-control.is-next {
  right: max(28px, calc((100% - var(--site-content)) / 2 + 70px));
}

.hero-control.is-next::before {
  transform: translate(-64%, -50%) rotate(45deg);
}

.hero-down {
  position: absolute;
  bottom: 22px;
  left: 50%;
  z-index: 5;
  width: 54px;
  height: 38px;
  transform: translateX(-50%);
}

.hero-down::before {
  position: absolute;
  top: 2px;
  left: 50%;
  width: 32px;
  height: 32px;
  content: "";
  transform: translateX(-50%) rotate(135deg);
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}

.intro-section {
  padding: 90px 0 29px;
  text-align: center;
}

.intro-section h2 {
  margin: 0;
  color: var(--site-accent);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 400;
  line-height: 1.25;
}

.intro-section h2 span {
  position: relative;
  color: #a71f20;
}

.intro-section h2 span::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--site-accent);
}

.intro-section h3 {
  max-width: 700px;
  margin: 30px auto 0;
  color: #444444;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
}

.offer-section {
  padding: 20px 0 102px;
}

.offer-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 52px;
  align-items: center;
}

.offer-list {
  display: grid;
  gap: 30px;
}

.offer-item {
  position: relative;
  padding-left: 46px;
}

.offer-item::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 30px;
  height: 30px;
  content: "✓";
  place-items: center;
  border: 1px solid #d5d5d5;
  border-radius: 50%;
  color: var(--site-accent);
  font-size: 16px;
  line-height: 1;
}

.offer-item h3 {
  margin: 0 0 10px;
  color: var(--site-accent);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
}

.offer-item p {
  margin: 0;
}

.offer-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.offer-aside img {
  width: min(100%, 390px);
  height: auto;
}

.outline-button,
.map-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #777777;
  background: #ffffff;
  color: #666666;
  cursor: pointer;
  padding: 7px 20px;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.outline-button:hover,
.outline-button:focus-visible,
.map-button:hover,
.map-button:focus-visible {
  border-color: var(--site-accent-strong);
  background: var(--site-accent-strong);
  color: #ffffff;
}

.gallery-section {
  position: relative;
  padding: 0 0 46px;
  overflow: hidden;
}

.gallery-viewport {
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 20px;
  padding: 0;
  transform: translate3d(0, 0, 0);
  transition: transform 360ms ease;
  will-change: transform;
}

.gallery-card {
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 0;
  aspect-ratio: 1 / 0.94;
  margin: 0;
  overflow: hidden;
  background: #eeeeee;
}

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

.gallery-controls {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.gallery-arrow {
  position: relative;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #999999;
  cursor: pointer;
}

.gallery-arrow::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  content: "";
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.gallery-arrow.is-previous::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.gallery-arrow.is-next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.gallery-dots {
  display: flex;
  align-items: center;
  gap: 9px;
}

.gallery-dot {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c7c7c7;
  cursor: pointer;
}

.gallery-dot.is-active {
  background: #111111;
}

.site-footer {
  min-height: 79px;
  background: var(--site-dark);
  color: var(--site-muted);
  font-size: 12.8px;
}

.footer-inner {
  display: flex;
  min-height: 79px;
  align-items: center;
  justify-content: space-between;
}

.to-top {
  position: relative;
  width: 44px;
  height: 44px;
}

.to-top::before {
  position: absolute;
  top: 18px;
  left: 15px;
  width: 13px;
  height: 13px;
  content: "";
  transform: rotate(-45deg);
  border-top: 1px solid #bdbdbd;
  border-right: 1px solid #bdbdbd;
}

.inner-main {
  min-height: calc(100svh - var(--site-header-height) - 79px);
}

.contact-section {
  padding: 64px 0 68px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 1fr);
  gap: 80px;
  align-items: center;
}

.contact-copy {
  color: #181818;
}

.contact-copy h1 {
  margin: 0 0 9px;
  color: #161616;
  font-size: 25px;
  font-weight: 400;
}

.contact-copy p {
  margin: 0 0 17px;
}

.contact-copy a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color 180ms ease;
}

.contact-copy a:hover,
.contact-copy a:focus-visible {
  text-decoration-color: currentColor;
}

.contact-logo {
  width: min(100%, 475px);
  margin-inline: auto;
}

.map-section {
  position: relative;
  min-height: 450px;
  background: var(--site-map-surface);
}

.map-frame,
.map-frame iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

.map-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}

.map-placeholder[hidden] {
  display: none;
}

.map-placeholder-inner {
  max-width: 500px;
  padding: 26px 30px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.9);
}

.map-placeholder p {
  margin: 0 0 16px;
}

.privacy-section,
.not-found-section {
  width: min(calc(100% - 48px), 800px);
  min-height: calc(100svh - var(--site-header-height) - 79px);
  margin-inline: auto;
  padding: 78px 0 90px;
}

.privacy-section h1,
.not-found-section h1 {
  margin: 0 0 24px;
  color: var(--site-accent);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.25;
}

.privacy-section h2 {
  margin: 32px 0 8px;
  color: #333333;
  font-size: 21px;
  font-weight: 400;
}

.privacy-section p,
.not-found-section p {
  margin: 0 0 17px;
}

.cookie-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 120;
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 14px 28px;
  background: #000000;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.45;
}

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

.cookie-banner p {
  margin: 0;
}

.cookie-banner a {
  margin-left: 6px;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-accept {
  flex: 0 0 140px;
  min-height: 40px;
  border: 1px solid var(--site-accent-strong);
  background: var(--site-accent-strong);
  color: #000000;
  cursor: pointer;
  font-weight: 700;
}

.cookie-accept:hover,
.cookie-accept:focus-visible {
  background: #ff3339;
}

@media (max-width: 1020px) {
  .site-shell {
    width: min(calc(100% - 40px), 960px);
  }

  .hero-control.is-previous {
    left: 34px;
  }

  .hero-control.is-next {
    right: 34px;
  }

  .offer-layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(250px, 1fr);
    gap: 30px;
  }

  .gallery-card {
    flex-basis: calc((100% - 40px) / 3);
  }
}

@media (max-width: 768px) {
  :root {
    --site-header-height: 78px;
  }

  .site-shell {
    width: min(calc(100% - 32px), 700px);
  }

  .site-header {
    min-height: var(--site-header-height);
  }

  .header-inner {
    min-height: var(--site-header-height);
  }

  .brand-link {
    padding: 14px 0;
  }

  .brand-link img {
    width: 206px;
    height: auto;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--site-header-height);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    display: block;
    padding: 18px 24px;
    transform: translateX(100%);
    background: rgba(255, 255, 255, 0.985);
    transition: transform 220ms ease;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav ul {
    display: block;
  }

  .main-nav a {
    height: auto;
    min-height: 58px;
    border-bottom: 1px solid #e5e5e5;
    padding: 12px 16px;
    font-size: 16px;
  }

  .main-nav a::after {
    display: none;
  }

  .hero-copy {
    width: min(calc(100% - 104px), 620px);
  }

  .hero-copy h1,
  .hero-copy h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .hero-copy p {
    font-size: 15px;
  }

  .hero-control {
    width: 58px;
    height: 58px;
  }

  .hero-control::before {
    width: 18px;
    height: 18px;
  }

  .hero-control.is-previous {
    left: 16px;
  }

  .hero-control.is-next {
    right: 16px;
  }

  .intro-section {
    padding: 72px 0 48px;
  }

  .intro-section h3 {
    margin-top: 25px;
    font-size: 16px;
  }

  .offer-section {
    padding-bottom: 68px;
  }

  .offer-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .offer-aside img {
    width: min(75%, 360px);
  }

  .gallery-card {
    flex-basis: calc((100% - 20px) / 2);
  }

  .contact-section {
    padding: 50px 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-logo {
    width: min(75%, 400px);
  }

  .cookie-banner {
    align-items: stretch;
    gap: 14px;
    padding: 14px 16px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 14px;
    line-height: 1.7;
  }

  .site-shell,
  .privacy-section,
  .not-found-section {
    width: min(calc(100% - 28px), 470px);
  }

  .brand-link img {
    width: 180px;
  }

  .hero-copy {
    width: min(calc(100% - 76px), 420px);
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 2rem;
  }

  .hero-control {
    width: 45px;
    height: 45px;
  }

  .hero-control.is-previous {
    left: 10px;
  }

  .hero-control.is-next {
    right: 10px;
  }

  .intro-section h2 {
    font-size: 2rem;
  }

  .offer-item {
    padding-left: 0;
  }

  .offer-item::before {
    display: none;
  }

  .offer-item h3 {
    font-size: 18px;
  }

  .gallery-card {
    flex-basis: 100%;
  }

  .gallery-track {
    gap: 0;
  }

  .gallery-controls {
    min-height: 75px;
  }

  .contact-logo {
    width: min(90%, 360px);
  }

  .map-section,
  .map-frame,
  .map-frame iframe {
    min-height: 380px;
    height: 380px;
  }

  .cookie-banner {
    flex-direction: column;
  }

  .cookie-accept {
    flex-basis: auto;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
