/* =========================================================
   EZ Laundry — responsive rules
   Mobile first safeguards + desktop/tablet/mobile breakpoints
   ========================================================= */

/* ---------- Fluid safeguards shared by every viewport ---------- */
html {
  max-width: 100%;
  overflow-x: clip;
}

body {
  width: 100%;
  min-width: 0;
}

.row > *,
.nav-inner > *,
.d-flex > *,
.store-locations-head > *,
.store-grid > * {
  min-width: 0;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

p,
li,
a,
span,
strong,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

.site-header .brand {
  min-width: 0;
  flex: 0 1 auto;
}

.site-header .brand img {
  width: 130px !important;
  max-width: 100%;
  height: auto;
  padding: 0 !important;
}

.site-footer .brand img {
  width: 165px !important;
  max-width: 100%;
  height: auto;
  padding: 0 !important;
}

.header-cta,
.nav-toggle,
.hero-badge .ico,
.lux-card .ico-lg,
.contact-card .ico,
.store-detail-icon {
  flex-shrink: 0;
}

.btn {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  justify-content: center;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-lg);
}

.table-responsive .compare-table {
  min-width: 700px;
}

.mobile-panel {
  height: 100vh;
  height: 100dvh;
  overscroll-behavior: contain;
  padding-bottom: max(32px, env(safe-area-inset-bottom));
}

.contact-card a,
.site-footer li,
.site-footer a {
  overflow-wrap: anywhere;
}

/* ---------- Wide desktop ---------- */
@media (min-width: 1600px) {
  .container-xl-custom {
    max-width: 1440px;
  }

  .hero {
    padding-top: 220px;
  }
}

/* ---------- Desktop / compact laptop ---------- */
@media (max-width: 1399.98px) {
  .site-header .nav-inner {
    gap: 1rem;
  }

  .site-header .brand img {
    width: 150px !important;
  }

  .nav-main {
    gap: 1.2rem;
  }

  .header-cta {
    gap: 0.5rem;
  }

  .header-cta .btn {
    padding-inline: 1rem;
  }
}

/* Switch to the off-canvas menu before navigation becomes cramped. */
@media (max-width: 1199.98px) {
  .nav-main,
  .header-cta .btn-primary-lux,
  .header-cta .btn-outline-lux {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header .nav-inner {
    padding: 8px 8px 8px 20px;
  }

  .hero {
    padding-top: 170px;
  }

  .page-hero {
    padding-top: 160px;
  }

  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-card {
    min-height: 390px;
  }
}

/* ---------- Tablet ---------- */
@media (max-width: 991.98px) {
  .section {
    padding: 88px 0;
  }

  .section-sm {
    padding: 64px 0;
  }

  .section-tight {
    padding: 52px 0;
  }

  .hero {
    padding: 150px 0 88px;
  }

  .page-hero {
    padding: 145px 0 80px;
  }

  .hero-visual {
    width: 100%;
    max-width: 650px;
    margin: 52px auto 0;
    aspect-ratio: 5 / 4;
  }

  .page-hero .hero-visual {
    max-width: 620px;
    margin-top: 24px;
  }

  .hero-badge.tl {
    top: 20px;
    left: 12px;
  }

  .hero-badge.br {
    right: 12px;
    bottom: 20px;
  }

  .timeline::before {
    left: 30px;
  }

  .tl-item {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 20px;
  }

  .tl-item:nth-child(even) .tl-content,
  .tl-item:nth-child(odd) .tl-content {
    grid-column: 2;
    text-align: left;
    padding: 12px 0;
  }

  .tl-item .tl-spacer {
    display: none;
  }

  .tl-dot {
    grid-column: 1;
    width: 60px;
    height: 60px;
    font-size: 1.15rem;
  }

  .feature-split .cell {
    padding: 64px 36px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-form {
    padding: 36px;
  }

  .price-card.featured {
    transform: none;
  }

  .price-card.featured:hover {
    transform: translateY(-6px);
    }

  .stats-strip {
    padding: 76px 0 44px;
  }

  .stat-item {
    margin-bottom: 32px;
  }

  .cta-banner {
    padding: 56px 38px;
    text-align: center;
  }

  .cta-banner .btn {
    margin-top: 12px;
  }

  .site-footer {
    padding-top: 80px;
  }

  .foot-bottom {
    margin-top: 60px;
  }

  .store-card {
    padding: 26px;
  }

  .store-actions {
    flex-wrap: wrap;
  }

  .store-price-link {
    width: 100%;
    margin: 4px 0 0;
    text-align: center;
  }
}

/* ---------- Mobile / portrait tablet ---------- */
@media (max-width: 767.98px) {
  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.6rem;
  }

  .section {
    padding: 70px 0;
  }

  .section-sm {
    padding: 54px 0;
  }

  .section-tight {
    padding: 46px 0;
  }

  .site-header {
    padding: 12px 0;
  }

  .site-header.scrolled {
    padding: 8px 0;
  }

  .site-header .nav-inner {
    gap: 0.75rem;
    padding: 7px 7px 7px 16px;
    border-radius: 22px;
  }

  .site-header .brand img {
    width: 136px !important;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .mobile-panel {
    width: 100%;
    padding: 88px 24px 32px;
  }

  .mobile-panel > a {
    padding: 12px 0;
    font-size: 1.3rem;
  }

  .mobile-panel .sub {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
    padding-left: 0;
  }

  .mobile-panel .sub a {
    padding: 7px 0;
    font-size: 0.88rem;
  }

  .hero {
    padding: 122px 0 68px;
  }

  .page-hero {
    padding: 126px 0 66px;
  }

  .page-hero.photo-hero {
    /* background-position: center; */
            background-position-x: left -500px;
  }

  .page-hero.photo-hero::before {
    background: linear-gradient(
      90deg,
      rgba(11, 20, 22, 0.86),
      rgba(11, 20, 22, 0.56)
    );
  }

  .hero-eyebrow-row {
    max-width: 100%;
    flex-wrap: wrap;
    gap: 9px 11px;
    padding: 8px 10px 8px 14px;
    margin-bottom: 24px;
    background: none;
    border: none;
  }

  .hero-eyebrow-row-2 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 8px 18px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line);
    backdrop-filter: blur(12px);
    margin-bottom: 15px;
    width: 93% !important;
}

html body .u-migrated-inline-016.u-migrated-inline-016.u-migrated-inline-016 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--brand-teal-deep);
}

  .hero h1 br,
  .store-locations-head h2 br {
    display: none;
  }

  .hero .col-lg-7 > .d-flex,
  .page-hero .col-lg-7 > .d-flex {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .hero .col-lg-7 > .d-flex .btn,
  .page-hero .col-lg-7 > .d-flex .btn {
    width: 100%;
  }

  .hero-meta {
    gap: 18px 24px;
    margin-top: 32px;
  }

  .hero-visual,
  .page-hero .hero-visual {
    margin-top: 38px;
    aspect-ratio: 1;
    border-radius: 22px;
  }

  .hero-badge {
    gap: 9px;
    padding: 11px 13px;
  }

  .hero-badge .ico {
    width: 36px;
    height: 36px;
  }

  .hero-badge strong {
    font-size: 1.08rem;
  }

  .hero-badge small {
    font-size: 0.62rem;
  }

  .trust-strip {
    padding: 28px 0;
  }

  .marquee,
  .marquee span {
    gap: 42px;
  }

  .marquee span {
    font-size: 1.2rem;
  }

  .sh-wrap {
    margin-bottom: 42px;
  }

  .lux-card {
    padding: 30px 24px;
  }

  .lux-card .num {
    top: 18px;
    right: 20px;
    font-size: 2rem;
  }

  .service-tile {
    aspect-ratio: 4 / 3;
    padding: 24px;
  }

  .timeline {
    padding: 20px 0;
  }

  .timeline::before {
    left: 24px;
  }

  .tl-item {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 38px;
  }

  .tl-dot {
    width: 48px;
    height: 48px;
    font-size: 0.98rem;
  }

  .tl-item:nth-child(even) .tl-content,
  .tl-item:nth-child(odd) .tl-content {
    padding-top: 6px;
  }

  .t-card {
    padding: 30px 24px;
  }

  .t-card blockquote {
    font-size: 1.15rem;
  }

  .faq-item {
    padding: 20px 0;
  }

  .faq-q {
    gap: 14px;
    font-size: 1.1rem;
  }

  .faq-q .plus {
    width: 36px;
    height: 36px;
  }

  .faq-a {
    padding-right: 0;
  }

  .gallery-filter {
    margin-bottom: 28px;
  }

  .gallery-filter button {
    flex: 1 1 auto;
    padding: 9px 14px;
  }

  .lightbox {
    padding: 64px 18px 20px;
  }

  .ba .label {
    top: 12px;
    padding: 5px 10px;
    font-size: 0.62rem;
  }

  .ba .label.b {
    left: 12px;
  }

  .ba .label.a {
    right: 12px;
  }

  .ba .divider::before {
    width: 38px;
    height: 38px;
  }

  .contact-form,
  .contact-card {
    padding: 26px;
  }

  .map-wrap {
    aspect-ratio: 4 / 3;
  }

  .compare-table {
    font-size: 0.84rem;
  }

  .compare-table th,
  .compare-table td {
    padding: 13px 14px;
  }

  .cta-banner {
    padding: 42px 24px;
    border-radius: 22px;
  }

  .cta-banner .btn {
    width: 100%;
  }

  .site-footer {
    padding: 68px 0 32px;
  }

  .site-footer .brand img {
    width: 170px !important;
  }

  .foot-bottom {
    margin-top: 48px;
    padding-top: 24px;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .u-migrated-inline-035 {
    bottom: 12px;
    left: 12px;
  }

  .u-migrated-inline-014 {
    gap: 14px;
  }

  .store-locations-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .store-locations-intro {
    padding: 0;
    border: 0;
  }

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

  .store-card {
    min-height: 0;
    padding: 26px 22px;
  }

  .store-card h3 {
    min-height: 0;
  }

  .store-meta {
    margin-left: 46px;
  }

  .store-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-action {
    width: 100%;
    white-space: normal;
  }

  .store-price-link {
    grid-column: 1 / -1;
  }

  .scroll-top {
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
  }
}

/* ---------- Small mobile ---------- */
@media (max-width: 575.98px) {
  h1 {
    font-size: 2.18rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .eyebrow {
    gap: 0.45rem;
    letter-spacing: 0.2em;
  }

  .eyebrow::before {
    width: 20px;
  }

  .section {
    padding: 62px 0;
  }

  .section-sm {
    padding: 48px 0;
  }

  .site-header .brand img {
    width: 126px !important;
  }

  .mobile-panel {
    padding-inline: 20px;
  }

  .mobile-panel .sub {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 112px;
  }

  .page-hero {
    padding-top: 116px;
  }

  .hero-eyebrow-row .pill {
    padding-inline: 11px;
    letter-spacing: 0.12em;
  }

  .hero-meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-meta .item {
    width: 100%;
  }

  .hero-badge {
    max-width: calc(100% - 24px);
  }

  #about .row.g-3 > .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .price-card {
    padding: 38px 24px;
  }

  .feature-split .cell {
    padding: 50px 22px;
  }

  .contact-form,
  .contact-card,
  .lux-card {
    padding: 24px 20px;
  }

  .form-lux .form-control,
  .form-lux .form-select {
    padding: 13px 14px;
  }

  .foot-newsletter {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .foot-newsletter input {
    min-width: 0;
    width: 100%;
    text-align: center;
  }

  .foot-newsletter button {
    width: 100%;
  }

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

  .ig-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lightbox .lb-inner {
    aspect-ratio: 1;
  }

  .table-responsive .compare-table {
    min-width: 620px;
  }

  .page-loader .lg-brand {
    width: 190px !important;
  }

  .page-loader .lg-bar {
    width: 190px;
  }
}

/* ---------- Extra-small mobile ---------- */
@media (max-width: 374.98px) {
  h1 {
    font-size: 2rem;
  }
  .hero h1 .underline-hand {
    position: static;
    display: inline-block;
  }
  .hero h1 .underline-hand::after {
    position: static;
  }

  html body .u-migrated-inline-035.u-migrated-inline-035.u-migrated-inline-035 {
    position: absolute;
    bottom: -20px;
    left: 10px;
  }
  .hero-img{
    margin-top: 15px !important;
  }

  h2 {
    font-size: 1.72rem;
  }

  .site-header .nav-inner {
    padding-left: 13px;
  }

  .site-header .brand img {
    width: 112px !important;
  }

  .mobile-panel {
    padding-inline: 18px;
  }

  .hero-eyebrow-row .pill {
    width: 40%;
    text-align: center;
  }

  .hero-badge {
    padding: 9px 10px;
  }

  .store-card-top {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .store-actions {
    grid-template-columns: 1fr;
  }

  .store-price-link {
    grid-column: auto;
  }

  .u-migrated-inline-014 {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Short landscape screens still need a usable, scrollable menu. */
@media (max-width: 1199.98px) and (max-height: 650px) {
  .mobile-panel {
    padding-top: 76px;
  }

  .mobile-panel > a {
    padding-block: 9px;
  }
}

/* Respect device accessibility settings and remove off-screen transforms. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal.left,
  .reveal.right,
  .reveal.zoom {
    opacity: 1;
    transform: none;
  }
}
