/* ============================================================
 * Warehouse Landing Page styles
 * Shared by Ontario / Union City / Cerritos pages.
 * Mobile-first, Bootstrap-compatible.
 * Uses the site-wide global navbar from _Layout.cshtml.
 * ============================================================ */

:root {
  --wh-bg: #ffffff;
  --wh-surface: #f5f5f5;
  --wh-surface-dark: #1a1a1a;
  --wh-text: #475467;
  --wh-text-muted: #828282;
  --wh-accent: #f5b400; /* yellow CTA pill */
  --wh-border: #e5e7eb;
  --wh-radius: 12px;
  --wh-radius-lg: 20px;
}

.wh-page {
  color: var(--wh-text);
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: var(--wh-bg);
  overflow-x: clip;
}

.wh-page section {
  padding: 64px 0;
}

.wh-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 12px;
}
@media (min-width: 576px) {
  .wh-container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .wh-container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .wh-container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .wh-container {
    max-width: 1140px;
  }
} 

@media (min-width: 1400px) {
  .wh-container {
    max-width: 1320px;
  }
} 

.wh-container-contact {
  background: #f5f5f5;
  padding: 24px;
}

.wh-section-title {
  font-size: clamp(48px, 3vw, 60px);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  color: #344054;
}

.wh-section-subtitle {
  color: #475467;
  margin: 0 0 40px;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.5;
}

/* ---------------- 1. Hero ---------------- */
.wh-hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 90vh;
  background: var(--wh-surface-dark);
  color: #fff;
  overflow: hidden;
  padding: 0;
}
@media (max-width: 900px) {
  .wh-hero {
    aspect-ratio: auto;
    height: 60vh;
    min-height: 360px;
  }
}
.wh-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.wh-hero__media img,
.wh-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  opacity: 0.9;
}

/* Teal brand gradient — covers full hero */
.wh-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(1, 97, 127, 1),
    rgba(2, 175, 229, 1)
  );
  z-index: 0;
  pointer-events: none;
}

/* Bottom gradient — extra darkening so text stays readable */
.wh-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(to bottom, transparent, rgba(1, 50, 70, 0.75));
  z-index: 0;
  pointer-events: none;
}

/* Content pinned to bottom-left */
.wh-hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding-bottom: 44px;
}

/* "Welcome" small label */
.wh-hero__welcome {
  font-size: clamp(20px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 20px;
}

/* Giant ALL-CAPS warehouse title */
.wh-hero h1 {
  font-size: clamp(48px, 5.5vw, 100px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 0;
}

.wh-hero__sub {
  display: none; /* hidden in bottom-left layout — text kept in model for SEO use elsewhere */
}

/* Centered play-button overlay (matches video hero design) */
.wh-hero__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease;
}
.wh-hero__play:hover {
  transform: translate(-50%, -50%) scale(1.06);
}
.wh-hero__play:disabled {
  cursor: default;
  opacity: 0.85;
}
.wh-hero__play::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 14px solid #111;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 3px;
}
.wh-hero__play.is-playing::before {
  /* pause icon */
  border: none;
  width: 12px;
  height: 14px;
  margin-left: 0;
  background:
    linear-gradient(#111, #111) left / 4px 14px no-repeat,
    linear-gradient(#111, #111) right / 4px 14px no-repeat;
}

/* ---------------- 2. Overview — full-width image card, all overlays on photo ---------------- */
.wh-overview__card {
  position: relative;
  border-radius: 48px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 7;
}
@media (max-width: 768px) {
  .wh-overview__card {
    aspect-ratio: 4 / 3;
    border-radius: 48px 0 48px 0;
  }
}
@media (max-width: 425px) {
  .wh-overview__card {
    aspect-ratio: 1;
  }
}

.wh-overview__card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
@media (max-width: 768px) {
  .wh-overview__card > img {
    top: 25px;
    height: 88%;
  }
}
/* wh-overview call */
.wh-overview__call {
  transform: translateY(-50%);
}
@media (max-width: 768px) {
  .wh-overview__call {
    transform: translateY(50%);
  }
}
/* Top-left stacked group: distance badge above Open Location pill */
.wh-overview__topleft {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 220px;
}

/* White distance badge */
.wh-overview__overlay-card {
  background: #008db9;
  padding: 30px 48px;
  border-radius: 0 0 48px 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-right: 4px solid white;
  border-bottom: 4px solid white;
}
.wh-overview__topleft .wh-btn-cta {
  margin-left: 48px;
  transform: translateY(-50%);
}
@media (max-width: 480px) {
  .wh-overview__topleft .wh-btn-cta {
    margin-left: 24px;
  }
}
.wh-dist__stat {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.wh-dist__label {
  margin: 3px 0 6px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.3;
  white-space: nowrap;
}

/* Bottom-right: dark glass card — CTA button on top, cyan stats below */
.wh-overview__overlay-stats {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #008db9;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 48px 0 48px 0;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  min-width: 190px;
  /* max-width: 260px; */
  border-left: 4px solid white;
  border-top: 4px solid white;
}
.wh-overview__overlay-stats .wh-stat-big {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}
/* Inline unit label — "SF" and "pallet positions" small next to big number */
.wh-unit-sm {
  font-size: 24px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.01em;
}

/* Scale overlays down on very small screens so they don't collide */
@media (max-width: 480px) {
  .wh-overview__overlay-card {
    padding: 24px 24px;
  }
  .wh-overview__overlay-stats {
    min-width: 140px;
    /* max-width: 155px; */
    gap: 7px;
  }
}
.wh-stat-big {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}
.wh-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #111;
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  align-self: flex-start;
  border: none;
  cursor: pointer;
}
.wh-cta-pill:hover {
  background: #f0f0f0;
  color: #f0f0f0;
}
.wh-cta-pill--light {
  background: #fff;
  color: #111;
}
.wh-cta-pill--small {
  padding: 8px 16px;
  font-size: 13px;
  align-self: flex-end;
}

/* ---------------- 3. Detail Information ---------------- */
.wh-detail__floorplan {
  padding: 24px;
}
.wh-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  justify-content: center;
}
.wh-tabs button {
  background: transparent;
  border: none;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  color: var(--wh-text-muted);
}
.wh-tabs button.is-active {
  background: #008db9;
  color: #fff;
}
.wh-floorplan__img {
  border: 4px solid #008db9;
  padding: 6px;
}
.wh-floorplan__img img {
  width: 100%;
  height: auto;
  display: block;
}
.wh-detail__highlights {
  list-style: none;
  padding: 24px 0 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 32px;
}
@media (min-width: 640px) {
  .wh-detail__highlights {
    grid-template-columns: 1fr 1fr;
  }
}
.wh-detail__highlights li {
  position: relative;
  padding-left: 24px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
  transform-origin: left center;
  transition: transform 0.2s ease;
  cursor: default;
}
.wh-detail__highlights li:hover {
  transform: scale(1.06) translateX(4px);
}
.wh-detail__highlights li::before {
  content: "•";
  color: var(--wh-accent);
  position: absolute;
  left: 6px;
  top: 0;
  font-weight: 700;
}

/* ---------------- 4. Gallery — Swiper carousel ---------------- */
.wh-gallery__swiper {
  /* Bleed past the container's right edge to the viewport edge so the carousel
     never appears clipped — the keeps left aligned with the section title. */
  width: calc(100% + (50vw - 50%));
  padding-bottom: 36px !important; /* room for pagination dots */
}
.wh-gallery__swiper .swiper-slide img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--wh-radius);
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  cursor: zoom-in;
}
.wh-gallery__swiper .swiper-pagination-bullet {
  background: #008db9;
  opacity: 0.4;
}
.wh-gallery__swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: #01617f;
}

/* ---------------- 5. Why Choose Us — 80% width image card, stat overlays inside ---------------- */
.wh-why__card {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  aspect-ratio: 16 / 8;
}
@media (max-width: 900px) {
  .wh-why__card {
    width: 95%;
  }
}
@media (max-width: 600px) {
  .wh-why__card {
    width: 100%;
    aspect-ratio: 4 / 3;
  }
}
.wh-why__card > img {
  width: 87%;
  height: 88%;
  object-fit: cover;
  object-position: right;
  display: block;
  position: absolute;
  top: 25px;
  left: 5%;
  border-radius: 15px;
}
@media (max-width: 768px) {
  .wh-why__card > img {
    height: 82%;
    left: 0;
    width: 100%;
  }
}
/* Top-left blue stat overlay */
.wh-why__overlay-tl {
  position: absolute;
  top: 0px;
  left: 0px;
  background: #008db9;
  border-radius: 0 20px 20px 20px;
  padding: 18px 24px;
  min-width: 150px;
  border: 4px solid white;
}

/* Bottom-right blue stat overlay */
.wh-why__overlay-br {
  position: absolute;
  bottom: 0px;
  right: 0px;
  background: #008db9;
  border-radius: 20px 0 20px 20px;
  padding: 18px 24px;
  min-width: 150px;
  border: 4px solid white;
}

/* Shared stat typography */
.wh-why__stat {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
}
.wh-why__label {
  margin: 5px 0 0;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
}

/* Scale overlays down on very small screens */
@media (max-width: 480px) {
  .wh-why__overlay-tl {
    top: 0;
    left: 0;
    padding: 12px 16px;
    min-width: 110px;
  }
  .wh-why__overlay-br {
    bottom: 0px;
    right: 0px;
    padding: 12px 16px;
    min-width: 110px;
  }
}

.wh-ceo-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  background: #fff;
  overflow: hidden;
}
@media (max-width: 600px) {
  .wh-ceo-card {
    flex-direction: column;
  }
}
@media (min-width: 768px) {
  .wh-ceo-card {
    grid-template-columns: 380px 1fr;
  }
}
@media (min-width: 1200px) {
  .wh-ceo-card {
    grid-template-columns: 440px 1fr;
  }
}

/* Portrait photo — fills its grid cell, rounded */
.wh-ceo-card > img {
  flex: 1;
  width: 100%;
  height: 100%;
  /* min-height: 240px; */
  max-height: 520px;
  object-fit: contain;
  object-position: top center;
  border-radius: var(--wh-radius);
  display: block;
}

/* Right-side content column */
.wh-ceo-card__body {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (max-width: 600px) {
  .wh-ceo-card__body > .wh-mt.wh-ceo-btn {
    text-align: left;
  }
}

/* Large prominent quote */
.wh-ceo-card h4 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: #344054;
}

.wh-ceo-card p {
  color: #475467;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.65;
  margin: 0 2px 0 0;
}

/* CEO identity block */
.wh-ceo-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}
.wh-ceo-meta__role {
  font-size: 18px;
  color: #475467;
  font-weight: 400;
}
.wh-ceo-meta__name {
  font-size: 24px;
  font-weight: 700;
  color: #000;
}

/* ── Unified "Request a call!" button — all sections ─────────────────── */
.wh-btn-cta,
.wh-ceo-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: var(--wh-radius);
  padding: 13px 20px;
  font-size: 18px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
  min-width: 200px;
  white-space: nowrap;
}
.wh-btn-cta:hover,
.wh-ceo-card__btn:hover {
  background: #4a4a4a;
  color: #fff !important;
}
.wh-btn-cta .fa,
.wh-ceo-card__btn .fa {
  color: #4caf50;
  font-size: 16px;
}
.wh-btn-cta .fa-map-marker-alt {
  color: #eec30e;
}
/* CEO card — extra margin + max-width cap */
.wh-ceo-card__btn {
  margin-top: 8px;
  max-width: 220px;
  min-width: unset;
}

/* Inside overlay cards / testimonials → fill the container width */
.wh-overview__overlay-card .wh-btn-cta,
.wh-overview__overlay-stats .wh-btn-cta,
.wh-testimonial .wh-btn-cta {
  width: 100%;
  min-width: unset;
  box-sizing: border-box;
}

/* ---------------- 6. Testimonials — Swiper carousel, full-image card, slide-up overlay on hover ---------------- */
.wh-testimonials__swiper {
  width: 100%;
}
.wh-testimonials__swiper .swiper-slide {
  height: auto;
}
.wh-testimonial {
  width: 100%;
  height: 100%;
}

/* Disabled state for prev/next arrows (HTML disabled attr + Swiper class) */
.wh-arrows button:disabled,
.wh-arrows button.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

.wh-testimonial {
  position: relative;
  overflow: hidden;
  border-radius: var(--wh-radius-lg);
  aspect-ratio: 3 / 4;
  max-height: 450px;
  background: var(--wh-surface-dark);
}

/* Full-bleed portrait photo */
.wh-testimonial > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}
.wh-testimonial:hover > img {
  transform: scale(1.05);
}

/* Gradient overlay covers card on hover (via ::before) */
.wh-testimonial::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(1, 97, 127, 0.88),
    rgba(2, 175, 229, 0.72)
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}
.wh-testimonial:hover::before {
  opacity: 1;
}

/* White content box — stays at bottom:10px always (gap always visible),
   clips to header only by default; expands on hover via max-height */
.wh-testimonial__overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  z-index: 2;
  background: #fff;
  border-radius: var(--wh-radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  max-height: 86px; /* show only name + role header */
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.wh-testimonial:hover .wh-testimonial__overlay {
  max-height: 350px;
}

.wh-testimonial__header {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.wh-testimonial h5 {
  margin: 0;
  font-weight: 700;
  font-size: 20px;
  color: #344054;
}
.wh-testimonial small {
  color: var(--wh-text-muted);
  font-size: 16px;
}

/* Quote — dark text on white bg */
.wh-testimonial p {
  margin: 0;
  color: #475467;
  font-size: 16px;
  line-height: 1.55;
}

/* CTA button — dark on white box */
.wh-testimonial .wh-btn-cta {
  background: #111;
  color: #fff;
  width: 100%;
  min-width: unset;
  box-sizing: border-box;
  justify-content: center;
}
.wh-testimonial .wh-btn-cta:hover {
  background: #4a4a4a;
  color: #fff;
}

/* ---------------- 7. Other warehouses — full-image card (same style as testimonials) ---------------- */
.wh-other__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 640px) {
  .wh-other__grid {
    grid-template-columns: 1fr;
  }
}

/* Full-image vertical card */
.wh-other-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--wh-radius-lg);
  aspect-ratio: 4 / 3;
  background: var(--wh-surface-dark);
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Full-bleed photo */
.wh-other-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.wh-other-card:hover > img {
  transform: scale(1.05);
}

/* Gradient overlay on hover */
.wh-other-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(1, 97, 127, 0.88),
    rgba(2, 175, 229, 0.72)
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}
.wh-other-card:hover::before {
  opacity: 1;
}

/* White content box — default shows name+address; hover expands to show link */
.wh-other-card__body {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  z-index: 2;
  background: #fff;
  border-radius: var(--wh-radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  max-height: 94px; /* clips to show name + address only */
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.wh-other-card:hover .wh-other-card__body {
  max-height: 200px;
}

.wh-other-card__body h4 {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 700;
  margin: 0;
  color: #344054;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.wh-other-card__body address {
  font-style: normal;
  font-size: clamp(14px, 1vw, 16px);
  color: var(--wh-text-muted);
  margin: 0;
  line-height: 1.4;
}

/* "Visit to discover more" — pill with border, self-aligned to the right */
.wh-other-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-end;
  border: 1.5px solid #d1d5db;
  border-radius: 999px;
  padding: 5px 5px 5px 14px;
  font-weight: 600;
  font-size: 13px;
  color: var(--wh-text);
  text-decoration: none;
  margin-top: 18px;
  transition: border-color 0.2s ease;
}
.wh-other-card__link:hover {
  border-color: #008db9;
}

/* Outlined circle — matches image 2 */
.wh-other-card__arrow {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1.5px solid #111;
  background: transparent;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
.wh-other-card__link:hover .wh-other-card__arrow {
  background: #008db9;
  border-color: #008db9;
  color: #fff;
}

/* ---------------- 8. FAQ ---------------- */
.wh-faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wh-faq details {
  border: 1px solid #01617f;
  padding: 24px;
  background: #fff;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}
.wh-faq details[open] {
  background: #01617f;
  border-color: #01617f;
}
.wh-faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  font-size: clamp(18px, 2vw, 24px);
  color: #01617f;
  transition: color 0.2s ease;
}
.wh-faq details[open] summary {
  color: #fff;
}
.wh-faq summary::before {
  content: "+";
  font-size: 20px;
  line-height: 1;
  color: #008db9;
  transition: color 0.2s ease;
  flex-shrink: 0;
}
.wh-faq details[open] summary::before {
  content: "−";
  color: #fff;
}
.wh-faq details > div {
  padding-top: 10px;
  color: var(--wh-text-muted);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.6;
  transition: color 0.2s ease;
}
.wh-faq details[open] > div {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------------- 9. Contact ---------------- */
.wh-contact {
  overflow: hidden; /* clip photo to card corners */
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .wh-contact {
    grid-template-columns: 1fr 1.5fr;
  }
}

/* Image column — bleeds flush to the card edge, stretches to full row height */
.wh-contact__img {
  height: 100%;
  min-height: 0; /* allow grid stretch to override intrinsic image height */
}
.wh-contact__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 24px;
}
@media (max-width: 767px) {
  .wh-contact__img {
    max-height: 300px;
  }
}

/* Form column — padded white area */
.wh-contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wh-contact__form label {
  font-size: 20px;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
.wh-contact__form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--wh-radius);
  border: 1px solid var(--wh-border);
  background: #f9fafb;
  font-size: 20px;
  box-sizing: border-box;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}
.wh-contact__form input:focus {
  outline: none;
  border-color: #008db9;
  background: #fff;
}

/* Full-width submit button — dark rect, text left / arrow right */
.wh-contact__form button[type="submit"] {
  width: 100%;
  margin-top: 4px;
  padding: 15px 20px;
  background: #008db9;
  color: #fff;
  border: none;
  border-radius: var(--wh-radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  gap: 5px;
}
.wh-contact__form button[type="submit"]:hover {
  background: #2c2c2c;
}

.wh-contact__success {
  background: #e6f7ee;
  color: #136f3a;
  padding: 10px 14px;
  border-radius: var(--wh-radius);
  font-size: 14px;
}

/* ---------------- Footer mini ---------------- */
.wh-footer-mini {
  border-top: 1px solid var(--wh-border);
  padding: 48px 0 24px;
  background: var(--wh-surface);
}
.wh-footer-mini__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
@media (min-width: 768px) {
  .wh-footer-mini__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
.wh-footer-mini h4 {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  margin: 0;
}
.wh-footer-mini__phone {
  font-size: 22px;
  font-weight: 700;
}
.wh-footer-mini__social a {
  color: #111;
  margin-right: 12px;
  font-size: 18px;
}

/* ---------------- Utilities ---------------- */
.wh-mt-32 {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}
.wh-text-center {
  text-align: center;
}
.wh-arrows {
  display: flex;
  gap: 8px;
}
.wh-arrows button {
  border: 1px solid var(--wh-border);
  background: #fff;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  cursor: pointer;
}

/* ---------------- Location Map Modal ---------------- */
.wh-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wh-modal[hidden] {
  display: none;
}

.wh-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.wh-modal__box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--wh-radius-lg);
  border: 3px solid rgba(255, 255, 255, 0.9);
  overflow: visible; /* allow × button to sit outside the box */
  max-width: min(90vw, 860px);
  max-height: 88vh;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  animation: wh-modal-in 0.18s ease;
}
@keyframes wh-modal-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scrollable + drag-to-pan zoom wrapper */
.wh-modal__img-wrap {
  overflow: auto;
  max-height: 80vh;
  border-radius: var(--wh-radius-lg);
  cursor: zoom-in;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.wh-modal__img-wrap.is-zoomed {
  cursor: grab; /* Google-Maps-style grab handle when zoomed in */
}
.wh-modal__img-wrap.is-zoomed.is-dragging {
  cursor: grabbing;
}

.wh-modal__img {
  display: block;
  width: 100%;
  height: auto;
  transition: width 0.25s ease;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none; /* let wrap handle mouse events for pan */
}
.wh-modal__img-wrap.is-zoomed .wh-modal__img {
  width: 220%; /* zooms 2.2× — scrollable + draggable inside wrapper */
}

.wh-modal__close {
  position: absolute;
  top: -35px;
  right: -16px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.wh-modal__close:hover {
  background: rgba(0, 0, 0, 0.82);
}
