/* ===== Section 02: Address & contact ===== */
.landing-address {
  position: relative;
  direction: rtl;
  color: var(--landing-text);
  background-color: var(--landing-white);
  padding-block: clamp(48px, 7vw, 96px);
}
.landing-address *,
.landing-address *::before,
.landing-address *::after { box-sizing: border-box; }

.landing-address__inner {
  max-width: var(--landing-wrap);
  margin-inline: auto;
  padding-inline: var(--landing-gutter);
}

.landing-address h2.landing-address__title {
  margin: 0 0 clamp(28px, 3.5vw, 44px);
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem);
  font-weight: 800;
  line-height: 1.5;
  color: var(--landing-navy);
}
.landing-address h2.landing-address__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 14px;
  border-radius: 1px;
  background: var(--landing-yellow);
}

/* --- layout --- */
.landing-address__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
  align-items: stretch;
}
.landing-address__map-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.landing-address__info-col {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 20px);
  min-width: 0;
}

/* --- cards --- */
.landing-card {
  background: var(--landing-gray);
  border-radius: 8px;
  padding: clamp(20px, 2.4vw, 30px);
}
.landing-address h3.landing-card__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.5;
  color: var(--landing-navy);
}
.landing-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--landing-yellow);
  color: var(--landing-navy);
}
.landing-card__icon svg { width: 20px; height: 20px; }

.landing-address address { margin: 0; font-style: normal; }
.landing-address h3.landing-card__title--after-list { margin-top: 22px; }
/* when the block after the contact list is hidden, do not leave an empty gap under the list */
.landing-address ul.landing-contact-list:has(+ [hidden]) { margin-bottom: 0; }
.landing-address p.landing-address__text {
  margin: 0 0 2px;
  font-size: 1.0625rem;
  line-height: 2;
  color: var(--landing-navy);
}
.landing-address p.landing-address__hint {
  margin: 0 0 20px;
  font-size: .9rem;
  line-height: 1.9;
  color: var(--landing-text-soft);
}

.landing-address ul.landing-contact-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(12, 31, 56, .12);
}
.landing-contact-list li {
  container-type: inline-size;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(12, 31, 56, .12);
}
.landing-contact-list__label { flex: none; font-size: .9rem; color: var(--landing-text-soft); }
.landing-contact-list__values {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  row-gap: 4px;
  min-width: 0;
}
/* divider between items on the same row */
.landing-address .landing-contact-list__values a + a {
  margin-right: 16px;   /* the anchors are direction:ltr, so use physical sides: the second item sits to the left of the first */
  padding-right: 16px;
  border-right: 1px solid rgba(12, 31, 56, .25);
}
.landing-address .landing-contact-list a {
  direction: ltr;
  unicode-bidi: isolate;
  min-width: 0;
  overflow-wrap: anywhere;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--landing-navy);
  text-decoration: none;
}
.landing-address .landing-contact-list a:hover,
.landing-address .landing-contact-list a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--landing-yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

/* --- buttons (same look as the hero) --- */
.landing-address a.landing-addr-btn,
.landing-address button.landing-map__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid var(--landing-navy);
  border-radius: 8px;
  background: transparent;
  color: var(--landing-navy);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.landing-address a.landing-addr-btn svg { width: 20px; height: 20px; flex: none; }
.landing-address a.landing-addr-btn:hover,
.landing-address a.landing-addr-btn:focus-visible {
  background: var(--landing-navy);
  color: var(--landing-white);
}
.landing-address a.landing-addr-btn:focus-visible,
.landing-address button.landing-map__btn:focus-visible {
  outline: 3px solid var(--landing-navy);
  outline-offset: 3px;
}
.landing-msg {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
}
.landing-address .landing-msg a.landing-addr-btn {
  min-height: 48px;
  padding-inline: 8px;
  gap: 8px;
  font-size: .95rem;
}
.landing-address .landing-msg a.landing-addr-btn svg { width: 22px; height: 22px; flex: none; }
/* route buttons: logos */
.landing-address .landing-address__routes a.landing-addr-btn svg.landing-route__logo { width: 24px; height: 24px; flex: none; }
.landing-address .landing-address__routes a.landing-addr-btn svg.landing-route__logo--google { width: 17px; }
/* keep the coloured logos readable on hover (no navy fill) */
.landing-address .landing-msg a.landing-addr-btn:hover,
.landing-address .landing-msg a.landing-addr-btn:focus-visible,
.landing-address .landing-address__routes a.landing-addr-btn:hover,
.landing-address .landing-address__routes a.landing-addr-btn:focus-visible {
  background: var(--landing-white);
  color: var(--landing-navy);
}

.landing-address__routes { display: flex; gap: 12px; }
.landing-address__routes a.landing-addr-btn { flex: 1 1 0; min-width: 0; padding-inline: 12px; }

/* --- hours --- */
.landing-hours { width: 100%; border-collapse: collapse; }
.landing-hours caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.landing-hours th,
.landing-hours td {
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(12, 31, 56, .12);
  background: transparent;
  font-size: 1rem;
  line-height: 1.7;
}
.landing-hours tr:first-child th,
.landing-hours tr:first-child td { border-top: 1px solid rgba(12, 31, 56, .12); }
.landing-hours th {
  padding-inline-start: 14px;
  border-inline-start: 4px solid transparent;
  font-weight: 400;
  text-align: start;
  color: var(--landing-text-soft);
}
.landing-hours td { font-weight: 700; text-align: end; color: var(--landing-navy); }
.landing-hours tr.is-today th { border-inline-start-color: var(--landing-yellow); font-weight: 800; color: var(--landing-navy); }
.landing-hours tr.is-today td { font-weight: 800; }
.landing-address .landing-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 18px;
}
.landing-address .landing-card__head h3.landing-card__title,
.landing-address .landing-card__head p.landing-hours__date { margin: 0; }
.landing-address p.landing-hours__date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 4px 16px;
  border-radius: 999px;
  background: var(--landing-navy);
  color: var(--landing-white);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.8;
}
.landing-address p.landing-hours__date[hidden] { display: none; }
.landing-hours__date-label { color: var(--landing-yellow); }

/* --- click-to-load map --- */
.landing-map {
  position: relative;
  flex: 1;
  min-height: clamp(280px, 32vw, 380px);
  border-radius: 8px;
  overflow: hidden;
  background: var(--landing-navy);
  box-shadow: 0 24px 48px -24px rgba(12, 31, 56, .45);
}
.landing-map__poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
  color: var(--landing-white);
  background-color: var(--landing-navy);
  background-image:
    linear-gradient(115deg, transparent 46%, rgba(255, 255, 255, .07) 46%, rgba(255, 255, 255, .07) 51%, transparent 51%),
    linear-gradient(35deg, transparent 62%, rgba(255, 255, 255, .05) 62%, rgba(255, 255, 255, .05) 65%, transparent 65%),
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: auto, auto, 40px 40px, 40px 40px;
}
.landing-map__pin {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--landing-yellow);
  color: var(--landing-navy);
}
.landing-map__pin::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--landing-yellow);
  animation: landing-map-ping 2.4s ease-out infinite;
  z-index: -1;
}
.landing-map__pin svg { width: 30px; height: 30px; }
.landing-address p.landing-map__label {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, .85);
}
.landing-address button.landing-map__btn {
  border-color: var(--landing-yellow);
  background: var(--landing-yellow);
  color: var(--landing-navy);
}
.landing-address button.landing-map__btn:hover,
.landing-address button.landing-map__btn:focus-visible {
  background: var(--landing-white);
  border-color: var(--landing-white);
  outline-color: var(--landing-white);
}
.landing-map__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@keyframes landing-map-ping {
  0%   { transform: scale(1);   opacity: .6; }
  80%, 100% { transform: scale(2.2); opacity: 0; }
}

/* --- photo slider --- */
.landing-address__gallery {
  margin: clamp(24px, 3vw, 40px) 0 0;
}
.landing-address__gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.landing-address h3.landing-address__gallery-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.5;
  color: var(--landing-navy);
}
.landing-address__gallery-nav { display: flex; gap: 8px; }
.landing-address button.landing-address__gallery-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid var(--landing-navy);
  border-radius: 50%;
  background: transparent;
  color: var(--landing-navy);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.landing-address button.landing-address__gallery-btn svg { width: 18px; height: 18px; }
.landing-address button.landing-address__gallery-btn:hover,
.landing-address button.landing-address__gallery-btn:focus-visible {
  background: var(--landing-navy);
  color: var(--landing-white);
}
.landing-address button.landing-address__gallery-btn:disabled {
  opacity: .35;
  cursor: default;
  pointer-events: none;
}

.landing-address ul.landing-address__gallery-track {
  display: flex;
  gap: clamp(14px, 1.6vw, 20px);
  margin: 0;
  padding: 4px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  cursor: grab;
  /* scrollbar hidden: navigation is via the prev/next buttons, drag, swipe, and autoplay */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.landing-address ul.landing-address__gallery-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.landing-address ul.landing-address__gallery-track::-webkit-scrollbar { display: none; }

.landing-address__gallery-item {
  flex: 0 0 auto;
  width: clamp(200px, 26vw, 300px);
  scroll-snap-align: start;
  margin: 0;
  padding: 0;
}
.landing-address__gallery-item figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(12, 31, 56, .1);
  box-shadow: 0 18px 36px -22px rgba(12, 31, 56, .45);
}
.landing-address__gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  pointer-events: none;
}
.landing-address__gallery-item figcaption {
  padding: 12px 14px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--landing-navy);
  background: var(--landing-gray);
}

/* Narrow rows: items stack, the divider turns horizontal */
@container (max-width: 420px) {
  .landing-contact-list__values { flex-direction: column; align-items: stretch; }
  .landing-address .landing-contact-list__values a + a {
    margin: 4px 0 0;
    padding: 4px 0 0;
    border-right: 0;
    border-top: 1px solid rgba(12, 31, 56, .18);
  }
}
@container (max-width: 560px) {
  .landing-contact-list__row--wide .landing-contact-list__values { flex-direction: column; align-items: stretch; }
  .landing-address .landing-contact-list__row--wide .landing-contact-list__values a + a {
    margin: 4px 0 0;
    padding: 4px 0 0;
    border-right: 0;
    border-top: 1px solid rgba(12, 31, 56, .18);
  }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .landing-address__grid { grid-template-columns: minmax(0, 1fr); }
  .landing-address__info-col { order: -1; }
  .landing-map { flex: none; min-height: 300px; }
}
@media (max-width: 600px) {
  .landing-address__gallery-item { width: 78vw; }
}
@media (max-width: 520px) {
  .landing-address__routes { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-map__pin::after { animation: none; opacity: 0; }
  .landing-address a.landing-addr-btn,
  .landing-address button.landing-map__btn { transition: none; }
  .landing-address ul.landing-address__gallery-track { scroll-behavior: auto; }
}
