/*
Theme Name: The Daily Clean Co.
Theme URI: https://thedailycleanco.com
Author: The Daily Clean Co.
Description: Professional commercial, office, apartment, condo and residential cleaning across Toronto, Mississauga, Brampton, Vaughan, Etobicoke and Oakville.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: daily-clean-co
*/

:root {
  --navy: #062b55;
  --navy-deep: #031f3f;
  --blue: #0878d1;
  --blue-dark: #0665b1;
  --mint: #2ebb93;
  --mint-pale: #dff7ef;
  --ink: #10243d;
  --muted: #5c6b7c;
  --line: #d7e1ea;
  --soft: #f4f8fb;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(6, 43, 85, 0.12);
  --header-height: 118px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  stroke-width: 1.9;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: 64px;
  font-weight: 800;
}

h2 {
  margin-bottom: 20px;
  font-size: 46px;
  font-weight: 800;
}

h3 {
  font-size: 24px;
  font-weight: 800;
}

.shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding-block: 108px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: 4px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 28px rgba(6, 43, 85, 0.08);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  width: 245px;
  flex: 0 0 245px;
  align-items: center;
}

.brand-logo {
  width: 100%;
  height: 108px;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 29px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}

.header-contact-link:hover,
.header-contact-link:focus-visible {
  color: var(--navy);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  color: var(--navy);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease,
    transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(8, 120, 209, 0.28);
  outline-offset: 3px;
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 10px 24px rgba(8, 120, 209, 0.2);
}

.button-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 14px 30px rgba(8, 120, 209, 0.27);
}

.button-secondary {
  color: var(--blue);
  background: var(--white);
  border-color: var(--blue);
}

.button-secondary:hover {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.button-small {
  min-height: 44px;
  padding: 11px 16px;
  font-size: 12px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background-color: var(--white);
}

.hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--white) 0%,
    rgba(255, 255, 255, 0.98) 22%,
    rgba(255, 255, 255, 0.82) 37%,
    rgba(255, 255, 255, 0.18) 56%,
    rgba(255, 255, 255, 0) 68%
  );
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slides {
  background: var(--soft);
}

.hero-slide {
  margin: 0;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 900ms ease, transform 6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide:nth-child(1) img {
  object-position: center 35%;
}

.hero-slide:nth-child(2) img {
  object-position: center 54%;
}

.hero-slide:nth-child(3) img {
  object-position: center 48%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 650px;
  align-items: center;
}

.hero-copy {
  width: 54%;
  max-width: 660px;
  padding-block: 72px;
  animation: hero-enter 650ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-copy > p {
  max-width: 600px;
  margin-bottom: 31px;
  color: #304256;
  font-size: 18px;
  line-height: 1.66;
}

.hero-slider-controls {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100vw - 1240px) / 2));
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(3, 31, 63, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 5px;
  backdrop-filter: blur(8px);
}

.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgba(255, 255, 255, 0.58);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: width 180ms ease, background-color 180ms ease;
}

.hero-dots button.is-active {
  width: 25px;
  background: var(--mint);
  border-radius: 5px;
}

.hero-slider-toggle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(3, 31, 63, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 5px;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.hero-slider-toggle:hover {
  color: var(--navy);
  background: var(--white);
}

.trust-rail {
  color: var(--white);
  background: var(--navy);
}

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

.trust-item {
  display: flex;
  min-height: 108px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 22px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item svg {
  width: 29px;
  height: 29px;
  color: var(--mint);
}

.trust-item:nth-child(2) svg {
  color: #61b8f7;
}

.trust-item strong {
  color: var(--white);
  font-size: 14px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 58px;
}

.section-heading h2 {
  max-width: 770px;
  margin-bottom: 0;
}

.section-heading p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 17px;
}

.service-explorer {
  display: grid;
  grid-template-columns: minmax(310px, 0.7fr) minmax(520px, 1.3fr);
  align-items: start;
  gap: 68px;
}

.service-menu {
  border-top: 1px solid var(--line);
}

.service-tab {
  display: grid;
  width: 100%;
  min-height: 80px;
  grid-template-columns: 34px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 16px;
  padding: 14px 8px;
  color: var(--navy);
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, padding 180ms ease;
}

.service-tab > span {
  color: #8a99a9;
  font-size: 11px;
  font-weight: 800;
}

.service-tab > strong {
  font-size: 15px;
  line-height: 1.35;
}

.service-tab > svg {
  justify-self: end;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.service-tab:hover,
.service-tab.is-active {
  padding-left: 16px;
  color: var(--blue);
  background: var(--soft);
}

.service-tab.is-active > span {
  color: var(--mint);
}

.service-tab:hover > svg,
.service-tab.is-active > svg {
  opacity: 1;
  transform: translateX(0);
}

.service-tab-more {
  display: none;
}

.service-menu.is-expanded .service-tab-more {
  display: grid;
}

.service-more-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 0;
  color: var(--blue);
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.service-more-button svg {
  transition: transform 180ms ease;
}

.service-more-button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.service-panel {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.service-media {
  height: 430px;
  overflow: hidden;
  background: var(--soft);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 160ms ease, transform 500ms ease;
}

.service-panel:hover .service-media img {
  transform: scale(1.018);
}

.service-panel.is-switching .service-media img,
.service-panel.is-switching .service-detail {
  opacity: 0.35;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 34px;
  padding: 31px 34px 34px;
  transition: opacity 150ms ease;
}

.service-detail h3 {
  margin-bottom: 0;
}

.service-detail p {
  grid-column: 1 / -1;
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
}

.service-detail .button {
  grid-column: 2;
  grid-row: 1;
}

.protection-section {
  padding-block: 92px;
  color: var(--white);
  text-align: center;
  background: var(--navy-deep);
}

.protection-inner h2 {
  margin-bottom: 19px;
  color: var(--white);
  font-size: 50px;
}

.protection-inner h2 em {
  color: var(--mint);
  font-style: normal;
}

.protection-lead {
  margin-bottom: 42px;
  color: #d5e5f2;
  font-size: 18px;
  font-weight: 700;
}

.protection-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 46px;
}

.protection-points div {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #dce8f2;
  font-size: 13px;
  font-weight: 700;
}

.protection-points svg {
  color: var(--mint);
}

.quote-section {
  color: var(--white);
  background: var(--navy);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.76fr) minmax(560px, 1.24fr);
  align-items: start;
  gap: 72px;
}

.quote-copy {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.quote-copy h2 {
  color: var(--white);
}

.quote-copy > p {
  max-width: 520px;
  margin-bottom: 34px;
  color: #cadae8;
  font-size: 17px;
}

.quote-copy > img {
  width: 100%;
  height: 285px;
  object-fit: cover;
  object-position: center;
  border-radius: 5px;
}

.quote-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin-top: 22px;
}

.quote-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 800;
}

.quote-contacts a:first-child {
  color: var(--mint);
}

.quote-form {
  padding: 38px;
  color: var(--ink);
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.space-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0;
  margin: 0 0 27px;
  border: 0;
}

.space-toggle legend {
  grid-column: 1 / -1;
  margin-bottom: 9px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.space-toggle button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
}

.space-toggle button.is-active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

.field > span {
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.field input,
.field select {
  width: 100%;
  min-height: 51px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #c9d6e2;
  border-radius: 4px;
}

.field input::placeholder {
  color: #8b98a5;
}

.field input:focus,
.field select:focus {
  border-color: var(--blue);
}

.form-submit {
  width: 100%;
  margin-top: 7px;
}

.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.process-rail {
  padding-block: 48px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  list-style: none;
}

.process-grid li {
  position: relative;
  display: grid;
  min-height: 104px;
  grid-template-columns: 27px 43px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  padding: 15px 32px;
  border-right: 1px solid var(--line);
}

.process-grid li:last-child {
  border-right: 0;
}

.process-grid li > span {
  display: inline-flex;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--mint);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

.process-grid li > svg {
  width: 34px;
  height: 34px;
  color: var(--blue);
}

.process-grid strong {
  color: var(--navy);
  font-size: 14px;
  line-height: 1.35;
}

.area-section {
  text-align: center;
  background: var(--soft);
}

.area-heading {
  display: block;
  max-width: 760px;
  margin: 0 auto 54px;
}

.area-heading h2 {
  margin-bottom: 17px;
}

.area-heading p {
  max-width: 650px;
  margin-inline: auto;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1040px;
  margin: 0 auto 42px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.city-grid span {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: var(--navy);
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 19px;
  font-weight: 800;
}

.faq-section {
  background: var(--white);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(520px, 1.3fr);
  align-items: start;
  gap: 88px;
}

.faq-heading {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.faq-heading > p {
  max-width: 380px;
  color: var(--muted);
}

.faq-phones {
  display: grid;
  gap: 4px;
  margin-top: 25px;
}

.faq-phones a {
  width: fit-content;
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 46px 24px 0;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 15px;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

.faq-list summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(0);
}

.faq-list details p {
  max-width: 680px;
  padding: 0 50px 23px 0;
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding-top: 72px;
  color: #cbd9e6;
  background: var(--navy-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 0.7fr);
  gap: 50px;
  padding-bottom: 54px;
}

.footer-brand .brand {
  width: 210px;
  margin-bottom: 19px;
}

.brand-light .brand-logo {
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.footer-brand p {
  max-width: 390px;
  margin: 0;
  color: #9fb3c5;
  font-size: 13px;
}

.footer-grid > div:not(.footer-brand) {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-grid h3 {
  margin-bottom: 9px;
  color: var(--white);
  font-size: 13px;
}

.footer-grid a {
  width: fit-content;
  color: #aebfd0;
  font-size: 12px;
}

.footer-grid a:hover {
  color: var(--mint);
}

.footer-bottom {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #8199ad;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
}

.mobile-bar {
  display: none;
}

.quote-dialog {
  width: min(560px, calc(100% - 32px));
  padding: 38px;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 6px;
  box-shadow: 0 30px 90px rgba(3, 31, 63, 0.32);
}

.quote-dialog::backdrop {
  background: rgba(3, 31, 63, 0.76);
  backdrop-filter: blur(5px);
}

.quote-dialog h2 {
  margin-bottom: 11px;
  font-size: 31px;
}

.quote-dialog > p {
  color: var(--muted);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: var(--soft);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.dialog-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--navy);
  background: var(--mint-pale);
  border-radius: 50%;
}

.quote-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 25px 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.quote-summary div {
  display: grid;
  gap: 2px;
  padding: 13px;
  background: var(--white);
}

.quote-summary small {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.quote-summary strong {
  color: var(--navy);
  font-size: 12px;
}

.quote-dialog > .button {
  width: 100%;
}

.dialog-call {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 9px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 12px;
}

.dialog-call a {
  color: var(--blue);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .brand {
    width: 220px;
    flex-basis: 220px;
  }

  .desktop-nav {
    gap: 20px;
  }

  .header-contact-link {
    display: none;
  }

  .service-explorer {
    gap: 44px;
  }

  .quote-layout {
    gap: 48px;
  }
}

@media (max-width: 940px) {
  :root {
    --header-height: 102px;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 40px;
  }

  .section {
    padding-block: 84px;
  }

  .desktop-nav,
  .header-actions > .button {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .brand-logo {
    height: 94px;
  }

  .mobile-menu {
    position: fixed;
    z-index: 99;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    align-content: start;
    gap: 0;
    padding: 24px;
    background: var(--white);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-menu a {
    padding: 17px 5px;
    color: var(--navy);
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    font-weight: 800;
  }

  .service-explorer,
  .quote-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .service-explorer {
    gap: 42px;
  }

  .quote-layout {
    gap: 50px;
  }

  .quote-copy,
  .faq-heading {
    position: static;
  }

  .quote-copy {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 0 32px;
  }

  .quote-copy h2,
  .quote-copy > p,
  .quote-contacts {
    grid-column: 1;
  }

  .quote-copy > img {
    grid-column: 2;
    grid-row: 1 / span 3;
    height: 100%;
    min-height: 280px;
  }

  .faq-layout {
    gap: 42px;
  }

  .faq-heading > p {
    max-width: 560px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 0.7fr);
    gap: 28px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 98px;
  }

  body {
    padding-bottom: 64px;
  }

  .shell {
    width: min(100% - 32px, 620px);
  }

  .section {
    padding-block: 70px;
  }

  h1 {
    font-size: 43px;
  }

  h2 {
    font-size: 35px;
  }

  .brand {
    width: 188px;
    flex-basis: 188px;
  }

  .brand-logo {
    height: 90px;
  }

  .hero {
    min-height: 0;
    padding-top: 300px;
  }

  .hero-slides,
  .hero-slide {
    inset: 0 0 auto;
    height: 300px;
  }

  .hero::before {
    inset: 0 0 auto;
    height: 301px;
    background: linear-gradient(0deg, var(--white) 0%, rgba(255, 255, 255, 0) 25%);
  }

  .hero-inner {
    min-height: 0;
  }

  .hero-copy {
    width: 100%;
    max-width: none;
    padding-block: 40px 48px;
  }

  .hero-copy > p {
    margin-bottom: 26px;
    font-size: 16px;
  }

  .hero-copy .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-slider-controls {
    top: 238px;
    right: 16px;
    bottom: auto;
  }

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

  .trust-item {
    min-height: 116px;
    flex-direction: column;
    gap: 10px;
    padding: 17px 8px;
    text-align: center;
  }

  .trust-item svg {
    width: 25px;
    height: 25px;
  }

  .trust-item strong {
    font-size: 11px;
    line-height: 1.35;
  }

  .section-heading {
    display: block;
    margin-bottom: 37px;
  }

  .section-heading h2 {
    margin-bottom: 14px;
  }

  .section-heading p {
    font-size: 15px;
  }

  .service-explorer {
    gap: 32px;
  }

  .service-tab {
    min-height: 68px;
    grid-template-columns: 27px minmax(0, 1fr) 20px;
    gap: 11px;
  }

  .service-media {
    height: 255px;
  }

  .service-detail {
    display: block;
    padding: 25px 22px 24px;
  }

  .service-detail h3 {
    margin-bottom: 12px;
    font-size: 21px;
  }

  .service-detail p {
    margin-bottom: 23px;
    font-size: 14px;
  }

  .service-detail .button {
    width: 100%;
  }

  .protection-section {
    padding-block: 70px;
  }

  .protection-inner h2 {
    font-size: 36px;
  }

  .protection-lead {
    margin-bottom: 32px;
    font-size: 16px;
  }

  .protection-points {
    display: grid;
    justify-content: center;
    gap: 14px;
  }

  .protection-points div {
    justify-content: flex-start;
  }

  .quote-copy {
    display: block;
  }

  .quote-copy > img {
    height: 240px;
    margin-top: 28px;
  }

  .quote-form {
    padding: 25px 20px;
  }

  .field-pair {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-rail {
    padding-block: 24px;
  }

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

  .process-grid li {
    min-height: 82px;
    grid-template-columns: 25px 34px minmax(0, 1fr);
    padding: 12px 5px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-grid li:last-child {
    border-bottom: 0;
  }

  .process-grid li > svg {
    width: 28px;
    height: 28px;
  }

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

  .city-grid span {
    min-height: 76px;
    padding: 12px 8px;
    font-size: 15px;
  }

  .faq-phones {
    grid-template-columns: 1fr 1fr;
  }

  .faq-phones a {
    font-size: 14px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    min-height: 90px;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    text-align: center;
  }

  .mobile-bar {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    height: 64px;
    grid-template-columns: 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(6, 43, 85, 0.1);
  }

  .mobile-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
  }

  .mobile-bar a:last-child {
    color: var(--white);
    background: var(--blue);
  }

  .quote-dialog {
    padding: 30px 20px 24px;
  }

  .quote-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 39px;
  }

  h2 {
    font-size: 32px;
  }

  .brand {
    width: 172px;
    flex-basis: 172px;
  }

  .hero {
    padding-top: 270px;
  }

  .hero-slides,
  .hero-slide {
    height: 270px;
  }

  .hero::before {
    height: 271px;
  }

  .hero-slider-controls {
    top: 208px;
  }

  .space-toggle {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 38px 20px;
  }
}

@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 {
    opacity: 1;
    transform: none;
  }
}
