:root {
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);

  --bg: #ffffff;
  --text: #111111;
  --muted: #6b6b6b;
  --line: #e9e9e9;
  --soft: #f7f7f7;
  --dark: #111111;

  --locator-height: 960px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
.siteHeader {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,.05);
}

.headerInner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brandLogo {
  height: 72px;
  width: auto;
  object-fit: contain;
}

.mainNav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.mainNav a {
  position: relative;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.mainNav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 2px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.mainNav a:hover::after,
.mainNav a.active::after {
  transform: scaleX(1);
}

.menuToggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 18px;
  align-items: center;
  justify-content: center;
}

/* MOBILE MENU */
.mobileMenuOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 109;
}

.mobileMenu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(88vw, 360px);
  height: 100vh;
  background: #fff;
  box-shadow: -12px 0 30px rgba(0,0,0,.12);
  transform: translateX(100%);
  transition: transform .28s ease;
  z-index: 110;
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.mobileMenu.is-open {
  transform: translateX(0);
}

.mobileMenuOverlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobileMenu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.mobileMenu__close {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 18px;
}

.mobileMenu__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 16px;
}

.mobileMenu__links a {
  text-decoration: none;
  font-weight: 600;
  padding: 14px 12px;
  border-radius: 12px;
  transition: background-color .18s ease;
}

.mobileMenu__links a:hover {
  background: var(--soft);
}

/* BANNER */
.heroBanner {
  width: 100%;
  min-height: 640px;
  background-image: url("../img/banner-home.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.heroBanner__overlay {
  min-height: 640px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.18) 40%,
    rgba(0, 0, 0, 0.08) 100%
  );
  display: flex;
  align-items: center;
}

.heroBanner__content {
  color: #fff;
  padding-top: 40px;
  padding-bottom: 40px;
}

.heroBanner__title {
  margin: 0 0 16px;
  max-width: 620px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.heroBanner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 14px;
  background: #111111;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid #111111;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.heroBanner__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* HERO */
.hero {
  padding: 42px 0 22px;
}

.heroCopy {
  max-width: 760px;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

p.lead {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 62ch;
}

/* SEARCH */
.searchbar {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.searchbar input {
  flex: 1;
  height: 54px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  outline: none;
  font: inherit;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.searchbar input:focus {
  border-color: #bbb;
  box-shadow: 0 0 0 4px rgba(0,0,0,.04);
}

.searchbar button {
  height: 54px;
  padding: 0 22px;
  border-radius: 14px;
  border: 0;
  background: var(--dark);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* LAYOUT */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 420px);
  gap: 20px;
  align-items: stretch;
  margin: 12px 0 48px;
}

.layout > .panel {
  height: var(--locator-height);
  min-width: 0;
}

.panel {
  background: #fff;
  border: 1px solid rgba(0,0,0,.05);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mapWrap {
  position: sticky;
  top: 100px;
  height: var(--locator-height);
}

#map {
  width: 100%;
  height: 100%;
}

/* CAROUSEL */
.carouselWrap {
  height: 100%;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.carouselHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.carouselHeader h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.navBtns {
  display: flex;
  gap: 8px;
}

.navBtns button {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.navBtns button:hover {
  transform: translateY(-1px);
  border-color: #cfcfcf;
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
}

.carousel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y proximity;
  scroll-behavior: smooth;
  padding-right: 6px;
}

.carousel::-webkit-scrollbar {
  width: 8px;
}

.carousel::-webkit-scrollbar-thumb {
  background: #d8d8d8;
  border-radius: 999px;
}

.carousel::-webkit-scrollbar-track {
  background: transparent;
}

.card {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 20px;
  padding: 18px;
  scroll-snap-align: start;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-2px);
  border-color: #d8d8d8;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.card.active {
  border-color: #111;
  background: #fcfcfc;
  box-shadow: 0 14px 28px rgba(0,0,0,.10);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.35;
}

.card.active h3 {
  color: #111;
}

.meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin-top: 4px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.actions a,
.actions button {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.actions a:hover,
.actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
}

.actions .primary {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

/* TABLET */
@media (max-width: 1080px) {
  .mainNav { gap: 18px; }
  .mainNav a { font-size: 14px; }
  .brandLogo { height: 60px; }
}

/* MOBILE / TABLET */
@media (max-width: 940px) {
  .mainNav {
    display: none;
  }

  .menuToggle {
    display: inline-flex;
  }

  .layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .layout > .panel {
    height: auto;
  }

  .mapWrap {
    position: relative;
    top: auto;
    height: auto;
    order: 1;
  }

  .carouselPanel {
    order: 2;
  }

  #map {
    height: 46vh;
    min-height: 360px;
  }

  .carousel {
    height: 420px;
    flex: none;
  }

  .navBtns button {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .headerInner {
    min-height: 74px;
  }

  .brandLogo {
    height: 34px;
  }

  .hero {
    padding-top: 28px;
  }

  .searchbar {
    flex-direction: column;
    align-items: stretch;
  }

  .searchbar button {
    width: 100%;
  }

  .card {
    min-width: 100%;
    max-width: 100%;
    padding: 16px;
  }

  .actions {
    flex-direction: column;
  }

  .actions a,
  .actions button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 940px) {
  .heroBanner,
  .heroBanner__overlay {
    min-height: 500px;
  }
}

@media (max-width: 640px) {
  .heroBanner,
  .heroBanner__overlay {
    min-height: 420px;
  }

  .heroBanner__content {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .heroBanner__title {
    font-size: clamp(30px, 8vw, 42px);
  }

  .heroBanner__cta {
    width: 100%;
  }
}

.phoneLink {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.phoneLink:hover {
  text-decoration: underline;
}