.location-page {
  overflow: hidden;
}

.location-hero {
  position: relative;
  padding: var(--subpage-hero-pad-top) 0 var(--subpage-hero-pad-bottom);
}

.location-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(87, 193, 223, 0.22) 1px, transparent 1.5px);
  background-size: 20px 20px;
  opacity: 0.45;
  pointer-events: none;
}

.location-hero-inner {
  position: relative;
  z-index: 1;
}

.location-hero h1 {
  margin: var(--subpage-title-top-gap) 0 var(--subpage-title-bottom-gap);
  font-size: clamp(2rem, 3.8vw, 3.9rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.02em;
  max-width: 840px;
}

.location-hero p {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.22vw, 1.12rem);
  line-height: 1.64;
  max-width: 700px;
}

.location-section {
  position: relative;
  padding: 6px 0 calc(var(--subpage-stack-space) + 18px);
}

.location-section .subpage-info-card {
  min-height: 624px;
}

.location-section .subpage-map-card,
.location-section .map-preview,
.location-section .subpage-map-card iframe {
  min-height: 624px;
}

.branch-actions {
  margin-top: auto;
  padding-top: 6px;
}

.location-gallery {
  padding: 8px 0 calc(var(--subpage-stack-space) + 16px);
}

.location-gallery-head {
  width: min(88%, 1140px);
  max-width: 100%;
  margin: 0 auto 20px;
}

.location-gallery-head h2 {
  margin: 10px 0 0;
  font-size: clamp(1.48rem, 2.1vw, 2rem);
  line-height: 1.2;
  font-weight: 500;
}

.branch-slider {
  position: relative;
  width: min(88%, 1140px);
  max-width: 100%;
  margin: 0 auto;
  padding: 2px 0 0;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(28, 121, 154, 0.2);
  background: rgba(255, 255, 255, 0.94);
  color: #1b607c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px rgba(8, 17, 33, 0.12);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.slider-arrow:hover:not(:disabled) {
  background: #ffffff;
  border-color: rgba(28, 121, 154, 0.38);
  box-shadow: 0 16px 30px rgba(8, 17, 33, 0.16);
}

.slider-arrow:disabled {
  opacity: 0.4;
  cursor: default;
  box-shadow: none;
}

.slider-arrow .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.slider-arrow-prev {
  left: 14px;
}

.slider-arrow-next {
  right: 14px;
}

.branch-slider-stage {
  position: relative;
}

.branch-slider-viewport {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 24px 42px rgba(8, 17, 33, 0.12);
}

.branch-slider-track {
  display: flex;
  transition: transform 0.38s ease;
  will-change: transform;
}

.branch-slide {
  flex: 0 0 100%;
  min-width: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: #d9e5eb;
}

.branch-slide img {
  width: 100%;
  height: min(38vh, 320px);
  object-fit: cover;
  display: block;
}

.branch-slide-reception img {
  object-position: 50% 50%;
}

.branch-slide-lounge img {
  object-position: 46% 50%;
}

.branch-slide-entry img {
  object-position: 54% 50%;
}

.branch-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.branch-slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(27, 96, 124, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.branch-slider-dot.is-active {
  background: var(--accent-dark);
  transform: scale(1.18);
}

.branch-slider-dot:focus-visible {
  outline: 2px solid rgba(27, 96, 124, 0.45);
  outline-offset: 3px;
}

.location-cta {
  padding: 4px 0 14px;
}

.location-cta-inner {
  position: relative;
  overflow: hidden;
  border-radius: var(--subpage-card-radius);
  width: min(88%, 980px);
  max-width: 100%;
  margin: 0 auto;
  border: 1px solid rgba(87, 193, 223, 0.18);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  padding: var(--subpage-card-padding);
  display: grid;
  gap: 14px;
  justify-items: start;
}

.location-cta-inner::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent);
}

.location-cta-inner p {
  margin: 0;
  color: #1e2e3d;
  font-size: 1.02rem;
  line-height: 1.5;
  font-weight: 500;
}

@media (max-width: 1199px) {
  .location-section .subpage-info-card {
    min-height: 528px;
  }

  .location-section .subpage-map-card,
  .location-section .map-preview,
  .location-section .subpage-map-card iframe {
    min-height: 528px;
  }

  .branch-slider {
    width: min(94%, 1040px);
  }

  .location-gallery-head {
    width: min(94%, 1040px);
  }
}

@media (max-width: 767px) {
  .location-section .subpage-info-card,
  .location-section .subpage-map-card,
  .location-section .map-preview,
  .location-section .subpage-map-card iframe {
    min-height: 0;
  }

  .location-section {
    padding-bottom: calc(var(--subpage-stack-space) + 10px);
  }

  .location-hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.45rem);
  }

  .location-hero p {
    font-size: 0.95rem;
    line-height: 1.56;
    max-width: 34ch;
  }

  .branch-actions {
    margin-top: 16px;
  }

  .location-gallery {
    padding-top: 8px;
    padding-bottom: calc(var(--subpage-stack-space) + 10px);
  }

  .location-gallery-head {
    width: 100%;
    margin-bottom: 14px;
  }

  .location-gallery-head h2 {
    font-size: 1.22rem;
  }

  .branch-slider {
    width: 100%;
    max-width: none;
  }

  .branch-slider-dots {
    margin-top: 12px;
  }

  .branch-slider-viewport {
    border-radius: 22px;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
  }

  .slider-arrow-prev {
    left: 10px;
  }

  .slider-arrow-next {
    right: 10px;
  }

  .branch-slide img {
    height: min(28vh, 220px);
  }

  .location-cta-inner {
    border-radius: var(--subpage-card-radius-sm);
    width: 100%;
    padding: var(--subpage-card-padding);
    gap: 12px;
    justify-items: stretch;
  }

  .location-cta-inner p {
    font-size: 0.92rem;
    line-height: 1.46;
  }

  .location-cta .btn-row {
    gap: 10px;
  }
}
