:root {
  --white: #ffffff;
  --gray-050: #fafafa;
  --gray-100: #f3f3f3;
  --gray-200: #e8e8e8;
  --gray-300: #d8d8d8;
  --gray-500: #7d7d7d;
  --gray-700: #555555;
  --gray-900: #222222;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.06);
  --radius-md: 16px;
  --radius-sm: 10px;
  --container-width: 1480px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-background, var(--white));
  color: var(--gray-700);
  font-family: "Helvetica Neue", "Arial Narrow", Arial, sans-serif;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

.site-shell {
  width: min(100%, var(--container-width));
  margin: 0 auto;
  padding: 18px 18px 36px;
}

.mobile-nav-wrap {
  display: none;
}

.topbar {
  display: grid;
  grid-template-columns: 260px minmax(320px, 1fr) 360px;
  gap: 22px;
  align-items: center;
}

.brand {
  display: block;
}

.brand img {
  max-width: 250px;
}

.promo-banner {
  display: block;
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.contact-block {
  text-align: right;
  color: var(--gray-500);
}

.language-line,
.hours-line {
  margin: 0;
}

.language-line {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.phone-link {
  display: inline-block;
  font-size: clamp(2rem, 2.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.address-link {
  display: inline-block;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.25;
  color: #8ca187;
  margin-bottom: 16px;
}

.phone-link:hover,
.address-link:hover {
  color: var(--gray-900);
}

.hours-box {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: #f7f1e7;
  border-radius: 18px;
  padding: 16px 20px;
  min-width: 255px;
  text-align: center;
}

.hours-label,
.hours-line {
  margin: 0;
}

.hours-label {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--gray-700);
}

.hours-line {
  font-style: italic;
  font-size: 0.94rem;
  color: var(--gray-700);
}

.section-nav {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  margin-top: 16px;
}

.section-nav a {
  min-height: 74px;
  display: grid;
  place-items: center;
  text-align: center;
  text-transform: uppercase;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  line-height: 1.15;
  color: var(--gray-700);
  padding: 10px 8px;
  border-right: 3px solid #ffffff;
  background: #e7f4e2;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.section-nav a:last-child {
  border-right: 0;
}

.section-nav a:hover {
  background: #d6ebcf;
  color: var(--gray-900);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: 18px;
  margin-top: 34px;
  align-items: start;
}

.qr-mobile {
  display: none;
}

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

.hero-gallery--single {
  grid-template-columns: 1fr;
  gap: 24px;
}

.hero-gallery--single .hero-card__image-wrap img {
  aspect-ratio: 1.28 / 1;
}

.hero-card {
  min-width: 0;
}

.hero-card__image-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--gray-050);
}

.hero-card__image-wrap img {
  aspect-ratio: 1.28 / 1;
  object-fit: cover;
}

.hero-card__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  background: #18b970;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-card__copy {
  padding-top: 10px;
}

.hero-card__copy h2 {
  margin: 0 0 2px;
  color: var(--gray-900);
  font-size: 1.05rem;
  font-weight: 700;
}

.hero-card__copy p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--gray-500);
}

.qr-sidebar {
  position: sticky;
  top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.qr-card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: var(--gray-100);
  box-shadow: var(--shadow-soft);
}

.qr-card--featured {
  grid-column: 1 / -1;
}

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

.qr-card--featured img {
  height: 128px;
  object-fit: contain;
  background: var(--gray-100);
}

.info-panels {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 0;
  margin-top: 42px;
  padding: 38px 0 44px;
  border-top: 1px solid var(--gray-300);
}

.info-panel {
  padding: 0 18px;
  color: var(--gray-500);
}

.info-panel + .info-panel {
  border-left: 1px solid var(--gray-300);
}

.info-panel h2 {
  margin: 0 0 14px;
  text-transform: uppercase;
  color: #8ca187;
  font-size: calc(1.05rem + 4px);
  letter-spacing: 0.05em;
}

.info-panel p {
  margin: 0 0 12px;
  font-size: 0.97rem;
  line-height: 1.7;
}

.page-main-column {
  min-width: 0;
}

.page-title {
  margin: 0 0 24px;
  text-align: center;
  text-transform: uppercase;
  color: #8ca187;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  letter-spacing: 0.06em;
}

.bottom-photo-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.bottom-photo-strip__item {
  overflow: hidden;
  background: var(--gray-050);
}

.bottom-photo-strip__item img {
  height: 460px;
  object-fit: cover;
}

.back-to-top-wrap {
  display: flex;
  justify-content: center;
  margin: 10px 0 18px;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #f8f1e7;
  color: #54433c;
  font-size: 2rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.back-to-top:hover {
  background: #e7f4e2;
  color: var(--gray-900);
  transform: translateY(-2px);
}

.site-footer-wrap {
  margin-top: 20px;
}

.footer-contact {
  display: grid;
  grid-template-columns: 260px minmax(260px, 1fr) 280px;
  gap: 34px;
  align-items: center;
  background: #e7f4e2;
  border-radius: 28px;
  padding: 34px 32px;
}

.footer-brand img {
  max-width: 230px;
}

.footer-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
  text-align: right;
}

.footer-phone {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--gray-700);
}

.footer-address {
  font-size: 1.1rem;
  line-height: 1.45;
  color: #6f8b67;
  font-weight: 700;
}

.map-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(85, 85, 85, 0.18);
  color: var(--gray-700);
  font-weight: 700;
}

.map-button:hover,
.footer-phone:hover,
.footer-address:hover {
  color: var(--gray-900);
}

.footer-hours {
  background: rgba(255, 255, 255, 0.65);
  border-radius: 22px;
  padding: 22px 24px;
  text-align: center;
}

.footer-hours__label,
.footer-hours p {
  margin: 0;
}

.footer-hours__label {
  margin-bottom: 10px;
  font-size: 1.08rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-700);
  text-align: center;
}

.footer-hours p + p {
  margin-top: 8px;
}

.footer-hours p {
  font-size: 1.04rem;
  text-align: center;
}

.site-footer {
  padding-top: 24px;
  text-align: center;
  color: #b5b5b5;
  font-size: 0.92rem;
}

.subpage-body {
  min-height: 100vh;
}

.subpage-shell {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 40px 18px 64px;
}

.subpage-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 36px;
  background: linear-gradient(180deg, #ffffff, #fafafa);
  box-shadow: var(--shadow-soft);
}

.subpage-card h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gray-900);
}

.subpage-card p {
  margin: 0 0 14px;
  line-height: 1.7;
}

.subpage-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--gray-300);
  color: var(--gray-700);
  background: var(--white);
}

.button-link:hover {
  color: var(--gray-900);
  border-color: var(--gray-500);
}

.gallery-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.gallery-pagination__status {
  color: var(--gray-500);
  font-size: 0.95rem;
}

@media (max-width: 1240px) {
  .topbar {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .brand img {
    margin: 0 auto;
  }

  .contact-block {
    text-align: center;
  }

  .language-line,
  .phone-link,
  .address-link {
    display: block;
    width: 100%;
    text-align: center;
  }

  .hours-box {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }

  .section-nav {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

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

  .qr-sidebar {
    display: none;
  }

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

  .qr-mobile--top {
    order: 0;
    margin-bottom: 20px;
  }

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

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

  .qr-card--featured img {
    height: 205px;
  }

  .qr-mobile--bottom {
    order: 2;
    margin-top: 20px;
  }
}

@media (max-width: 860px) {
  .site-shell {
    padding-left: 12px;
    padding-right: 12px;
  }

  .section-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }

  .hero-gallery {
    order: 1;
  }

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

  .qr-card--featured img {
    height: 205px;
  }

  .info-panels {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-contact {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand img {
    margin: 0 auto;
  }

  .footer-details {
    align-items: center;
    text-align: center;
  }

  .footer-hours {
    max-width: 420px;
    margin: 0 auto;
  }

  .info-panel {
    padding: 0;
  }

  .info-panel + .info-panel {
    border-left: 0;
    border-top: 1px solid var(--gray-300);
    padding-top: 28px;
  }

  .bottom-photo-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    text-align: center;
  }

  .brand {
    justify-self: center;
  }

  .brand img {
    margin: 0 auto;
    max-width: 210px;
  }

  .promo-banner img {
    min-height: 0;
    object-fit: contain;
  }

  .promo-banner {
    grid-column: 1 / -1;
  }

  .contact-block {
    grid-column: 1 / -1;
  }

  .section-nav {
    display: none;
  }

  .mobile-nav-wrap {
    display: block;
    margin-top: 16px;
  }

  .mobile-nav-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 0 16px;
    border: 0;
    border-radius: 16px;
    background: #e7f4e2;
    color: var(--gray-700);
    font-family: "Arial Narrow", Arial, sans-serif;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .mobile-nav-toggle__label {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
    font-size: 1.15rem;
    color: #54433c;
  }

  .mobile-nav-toggle__icon {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
  }

  .mobile-nav-toggle__icon span {
    display: block;
    width: 24px;
    height: 2px;
    background: #54433c;
    border-radius: 999px;
  }

  .mobile-nav-menu {
    display: none;
    margin-top: 10px;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid #ffffff;
  }

  .mobile-nav-menu.is-open {
    display: grid;
  }

  .mobile-nav-menu a {
    min-height: 54px;
    display: grid;
    place-items: center;
    padding: 10px 12px;
    text-align: center;
    background: #e7f4e2;
    color: var(--gray-700);
    font-family: "Arial Narrow", Arial, sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom: 3px solid #ffffff;
  }

  .mobile-nav-menu a:last-child {
    border-bottom: 0;
  }

  .mobile-nav-menu a:hover {
    background: #d6ebcf;
  }

  .contact-block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .phone-link {
    display: block;
    font-size: clamp(2.7rem, 10vw, 4rem);
    margin-bottom: 12px;
  }

  .address-link {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 18px;
  }

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

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

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

  .qr-card--featured {
    grid-column: 1 / -1;
  }

  .qr-card--featured img {
    height: 205px;
  }

  .subpage-card {
    padding: 24px;
  }
}
