/*
 * Site-wide readability scale.
 * A 120% root size enlarges rem-based type, spacing, controls, and icons
 * without changing the content hierarchy on individual pages.
 */
html {
  font-size: 120%;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 0;
  font-size: 1rem;
}

body.auto-detailing-customer-page,
body.house-cleaning-customer-page {
  font-size: 1rem;
}

button,
input,
select,
textarea {
  font-size: 1rem;
}

p,
li,
label,
input,
select,
textarea,
button {
  overflow-wrap: anywhere;
}

small {
  line-height: 1.45;
}

@media (min-width: 920px) and (max-width: 1199px) {
  .site-header.home-nav .menu-toggle {
    display: inline-flex;
  }

  .site-header.home-nav .nav-links {
    position: fixed;
    inset: 78px 1rem auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    max-height: calc(100vh - 94px);
    margin: 0;
    padding: 0.8rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-card);
    overflow-y: auto;
  }

  .site-header.home-nav .nav-links.is-open {
    display: flex;
  }

  .site-header.home-nav .nav-dropdown {
    position: static;
    display: grid;
  }

  .site-header.home-nav .nav-dropdown-toggle {
    width: 100%;
    padding: 0.85rem 0.95rem;
  }

  .site-header.home-nav .nav-dropdown-menu {
    position: static;
    min-width: 0;
    padding: 0.3rem 0 0.3rem 0.75rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-width: 1199px) {
  .home-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 1200px) {
  .home-hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(590px, 1.1fr);
  }
}

@media (max-width: 560px) {
  .site-header.home-nav .brand {
    font-size: 0.9rem;
  }

  .site-header.home-nav .brand-mark {
    width: 42px;
    height: 42px;
  }
}
