/* Responsive */
@media (max-width: 1280px) {
  :root {
    --wL: 330px;
    --wC: 600px;
    --wR: 330px;
  }

  .menuCard {
    height: 58px;
  }
}

@media (max-width: 1120px) {
  body {
    overflow: auto;
  }

  /* RESET LAYOUT from grid to single column */
  .layout {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 0 !important;
    /* Force remove top gap */
    padding-top: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: block !important;
    /* Ensure block flow */
  }

  .side {
    display: none !important;
  }

  /* HIDE HEADER VISUALLY */
  .siteHeader {
    display: none !important;
  }

  /* RESET CENTER COLUMN */
  .center {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    overflow: visible;
    padding-top: 0 !important;
    /* NO padding at top */
    margin: 0 auto !important;
    text-align: left !important;
    /* Left assign */
  }

  /* Hero Text - Left Aligned & Vertically Centered */
  .heroText {
    position: absolute !important;
    /* Restore absolute for vertical center */
    top: 50% !important;
    left: 5% !important;
    /* Left align with margin */
    transform: translateY(-50%) !important;
    margin: 0 !important;
    text-align: left !important;
    max-width: 90% !important;
    width: auto !important;
    pointer-events: none;
    /* Let clicks pass through */
  }

  .heroText a,
  .heroText button {
    pointer-events: auto;
    /* Re-enable clicks for links/buttons */
  }

  /* Hero Title Adjustments */
  .heroTitle {
    text-align: left !important;
    margin-bottom: 20px !important;
  }

  .heroLead {
    text-align: left !important;
  }

  .centerScroll {
    height: auto;
    overflow: visible;
    border-radius: 0;
    box-shadow: none !important;
  }

  .floatCta {
    position: fixed;
    bottom: 14px;
    z-index: 90;
  }

  /* Hero - Full Screen Height */
  .hero {
    height: 100vh !important;
    /* Full Screen */
    min-height: 100vh !important;
  }

  /* HAMBURGER VISIBLE */
  #hamburgerBtn,
  .hamburgerBtn {
    display: flex !important;
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 999;
  }

  .heroMenu--mobile {
    display: none;
  }

  /* MOBILE MENU OVERLAY */
  .mobileMenuOverlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
  }

  .mobileMenuOverlay.is-open {
    transform: translateY(0);
  }

  /* Hide hamburger button when menu is open - using ID selector for specificity */
  #hamburgerBtn.is-hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  /* MOBILE CTA STYLE */
  /* Uses .btn--line for visual style, here we only handle positioning */
  .hero-cta-mobile {
    display: inline-flex !important;
    margin-top: 24px;
    margin-left: 0 !important;
    /* Align left */
    /* Remove custom visual overrides to match other LINE CTAs */
  }

  .hero-cta-mobile:active {
    transform: scale(0.96);
  }

  .mobileMenu__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .mobileMenu__link {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
  }

  .mobileMenu__close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--navy);
  }

  /* FORCE 3 COLUMNS FOR TAP GRID */
  .tapSection {
    padding: 50px 16px 0;
  }

  .tapGrid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 0 34px;
  }

  .tapCard {
    width: 100% !important;
    max-width: unset !important;
    margin: 0 !important;
    height: 250px !important;
  }

  .tapCard__inner {
    height: 100%;
  }

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

  .photoStrip__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Make carousel vertical on mobile */
  .carousel {
    padding: 18px 0 56px;
  }

  .carousel__viewport {
    overflow: visible;
  }

  .carousel__track {
    display: flex;
    flex-direction: column;
    gap: 24px;
    transform: none !important;
  }

  .carousel__btn {
    display: none !important;
  }

  .reasonCard {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }

  .reasonCard__box {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* Mobile 480px Refinements */
@media (max-width: 480px) {

  /* Restore 3 Columns for Tap Cards but ensuring fit */
  .tapGrid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    /* Smaller gap */
    padding: 10px 4px 34px;
  }

  /* Compact Tap Cards */
  .tapCard__backTitle {
    font-size: 11px !important;
    /* Smaller font to fit */
    margin-bottom: 2px !important;
    white-space: nowrap;
    /* Prevent wrapping causing alignment issues */
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .tapCard__backText {
    font-size: 9px !important;
    line-height: 1.2 !important;
  }

  .tapCard__icon {
    font-size: 24px !important;
    margin-bottom: 2px !important;
  }

  .tapCard__back {
    padding: 8px 4px !important;
  }

  /* Hero Text Size */
  .heroTitle {
    font-size: 28px !important;
  }

  /* Unhide Scroll Indicator */
  .scrollIndicator {
    display: flex !important;
  }

  /* Float Area Mobile adjustments */
  .floatCta {
    bottom: 14px !important;
    right: 14px !important;
    pointer-events: auto !important;
    /* Enable interaction */
    z-index: 9999 !important;
    /* Ensure on top of everything */
    gap: 10px;
  }
}

/* Back to Top Button */
.backToTop {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Position handled by .floatCta wrapper now */
  width: 48px;
  height: 48px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  color: var(--navy);
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  /* z-index handled by wrapper */
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.backToTop.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.backToTop:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Hamburger Button Style */
.hamburgerBtn {
  display: none;
  /* Hidden on desktop */
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 60;
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.hamburgerBtn__bar {
  width: 20px;
  height: 2px;
  background: #333;
}

/* =========================================================
   TOP remake (Hero / Left contact / Right menu) - pixel copy
   ========================================================= */
:root {
  --foldH: calc(100vh - 78px);
}

/* Center hero */
.hero {
  height: var(--foldH);
  min-height: 640px;
  border-radius: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 35% 45%, rgba(0, 0, 0, .22), rgba(0, 0, 0, 0) 60%),
    linear-gradient(90deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, 0) 55%);
  pointer-events: none;
}

.hero__bg {
  filter: none;
  background-position: center;
}

.heroText {
  position: absolute;
  left: 44px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 560px;
}

.heroTitle {
  margin: 0;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.12;
  font-size: clamp(30px, 3.2vw, 44px);
  text-shadow: 0 14px 34px rgba(0, 0, 0, .45);
}

.heroLead {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.85;
  font-weight: 600;
  opacity: .95;
  text-shadow: 0 10px 26px rgba(0, 0, 0, .45);
}

/* Left contact (White Text as requested) */
.contactMini {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  left: 18px;
  right: 18px;
  bottom: 22px;
  color: #fff;
  /* White text */
}

.contactMini__title {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.contactMini__list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  /* Custom bullets */
}

.contactMini__list li {
  position: relative;
  padding-left: 14px;
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.8;
}

/* Dot indicator */
.contactMini__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.6);
}

/* Right panel (paper + tilted cards) */
.side__bg--paper {
  opacity: .22;
  background-size: cover;
  background-position: center;
}

.rightBlock {
  padding: 26px 18px 10px;
  /* Adjust if needed for layout.css conflict */
}

.rightBlock__title {
  text-align: center;
  margin-bottom: 14px;
  font-size: 13px;
  color: rgba(15, 23, 42, .55);
}



/* Gallery 4 images grid */
.gallery {
  background: rgba(255, 255, 255, .00);
  padding: 0;
  /* Positioned in layout.css */
}

.gallery__title {
  color: rgba(15, 23, 42, .55);
  text-align: center;
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  /* 2 rows */
  gap: 8px;
}

.gallery__thumbs img {
  border-radius: 6px;
  width: 100%;
  height: 70px;
  /* Shorten for 4 grid */
  object-fit: cover;
}