/* =====================================================================
   Northline HVAC — style.css
   1.  Tokens & reset
   2.  Base typography & shared components
   3.  Top information strip
   4.  Header & navigation
   5.  Hero
   6.  Problem → solution
   7.  About
   8.  Services
   9.  How service works
   10. Seasonal maintenance
   11. HVAC tips
   12. Contact
   13. Footer
   14. Entrance animations
   15. Responsive
   ===================================================================== */

/* ---------- 1. Tokens & reset ---------- */
:root {
  --navy: #123B5D;
  --blue: #2E86AB;
  --mist: #F4F7F9;
  --amber: #E9B949;
  --ink: #17212B;

  --white: #ffffff;
  --line: #d7dfe6;
  --line-soft: #e5ebf0;
  --muted: #5b6a78;

  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-head: "Barlow Condensed", "Inter", "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: 28px;
  --sect-y: 92px;
  --head-weight: 700;
  --radius: 2px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover { color: var(--navy); }

ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: var(--head-weight); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

figure { margin: 0; }

button { font: inherit; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 999;
  padding: 12px 18px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.9rem;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- 2. Base typography & shared components ---------- */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

h1 {
  font-family: var(--font-head);
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--navy);
}

h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.1vw, 2.55rem);
  letter-spacing: -0.3px;
  text-transform: uppercase;
  color: var(--navy);
}

h3 {
  font-family: var(--font-body);
  font-size: 1.09rem;
  font-weight: 600;
  letter-spacing: -0.1px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 0.735rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--amber);
  flex: none;
}
.eyebrow--light { color: var(--amber); }

.section-head { margin-bottom: 54px; }
.section-head__note {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1rem;
}
.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px 64px;
  align-items: end;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.section-head--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-head--center .eyebrow { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.855rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.22s var(--ease),
              border-color 0.22s var(--ease),
              color 0.22s var(--ease);
}
.btn--sm { padding: 11px 18px; font-size: 0.78rem; }
.btn--lg { padding: 17px 34px; }

.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--blue); color: var(--white); }

.btn--ghost {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn--ghost:hover { background: var(--navy); color: var(--white); }

.btn--accent { background: var(--amber); color: var(--ink); }
.btn--accent:hover { background: var(--navy); color: var(--white); }

/* ---------- 3. Top information strip ---------- */
.topbar {
  background: var(--ink);
  color: #c3ced7;
  font-size: 0.79rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
  padding-block: 8px;
  flex-wrap: wrap;
}
.topbar__msg {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #dbe4ea;
}
.topbar__msg i { color: var(--amber); font-size: 0.8rem; }
.topbar__list {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.topbar__list li {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.topbar__list i { color: var(--blue); font-size: 0.76rem; }

/* ---------- 4. Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-stuck {
  box-shadow: 0 6px 18px rgba(23, 33, 43, 0.07);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  background: var(--navy);
  color: var(--white);
  font-size: 1.05rem;
  border-radius: var(--radius);
  transition: background-color 0.22s var(--ease);
}
.brand:hover .brand__mark { background: var(--blue); }
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__text strong {
  font-family: var(--font-head);
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.brand__text span {
  font-size: 0.655rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle__bar {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.26s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle__bar:nth-child(1) { top: 15px; }
.nav-toggle__bar:nth-child(2) { top: 21px; }
.nav-toggle__bar:nth-child(3) { top: 27px; }
.nav-toggle.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.primary-nav__list > li { position: relative; }
.primary-nav__list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  font-size: 0.855rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.primary-nav__list > li > a:hover,
.primary-nav__list > li > a.is-current {
  color: var(--navy);
  border-bottom-color: var(--amber);
}
.primary-nav__list > li > a i {
  font-size: 0.6rem;
  color: var(--blue);
  transition: transform 0.22s var(--ease);
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 234px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--amber);
  box-shadow: 0 12px 24px rgba(23, 33, 43, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.22s var(--ease),
              transform 0.22s var(--ease),
              visibility 0.22s;
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu a {
  display: block;
  padding: 9px 12px;
  font-size: 0.83rem;
  color: var(--ink);
  border-left: 2px solid transparent;
  transition: background-color 0.18s var(--ease),
              border-color 0.18s var(--ease),
              color 0.18s var(--ease);
}
.submenu a:hover {
  background: var(--mist);
  border-left-color: var(--blue);
  color: var(--navy);
}

/* ---------- 5. Hero ---------- */
.hero {
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 60px;
  align-items: center;
  padding-block: 72px;
}
.hero__text h1 { margin-bottom: 22px; }
.hero__lead {
  max-width: 58ch;
  font-size: 1.055rem;
  color: var(--muted);
}

.symptom-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  margin: 30px 0 36px;
  background: var(--line-soft);
  border: 1px solid var(--line);
  max-width: 620px;
}
.symptom-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  background: var(--white);
  font-size: 0.875rem;
  color: var(--ink);
  transition: background-color 0.2s var(--ease);
}
.symptom-list li:hover { background: #eef3f7; }
.symptom-list i { color: var(--blue); font-size: 0.92rem; flex: none; }
.symptom-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__media { position: relative; }
.hero__figure { overflow: hidden; background: #dde4ea; }
.hero__figure img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.hero__figure:hover img { transform: scale(1.03); }
.hero__figure--inset {
  position: absolute;
  right: -18px;
  bottom: -26px;
  width: 46%;
  border: 6px solid var(--white);
}
.hero__figure--inset img { height: 190px; }

.hero__facts {
  display: grid;
  gap: 1px;
  margin-top: 26px;
  background: var(--line);
  border: 1px solid var(--line);
}
.hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 18px;
  background: var(--white);
}
.hero__facts strong {
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
}
.hero__facts span { font-size: 0.83rem; color: var(--muted); }

/* ---------- 6. Problem → solution ---------- */
.problems { padding-block: var(--sect-y); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.problem-item {
  position: relative;
  padding: 34px 30px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s var(--ease);
}
.problem-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width 0.35s var(--ease);
}
.problem-item:hover { background: var(--mist); }
.problem-item:hover::after { width: 100%; }
.problem-item__num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: #cdd8e0;
  margin-bottom: 14px;
  transition: color 0.25s var(--ease);
}
.problem-item:hover .problem-item__num { color: var(--blue); }
.problem-item h3 { margin-bottom: 11px; color: var(--navy); }
.problem-item p { font-size: 0.925rem; color: var(--muted); }
.problem-item__fix {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 0.845rem;
  font-weight: 500;
  color: var(--navy);
}
.problem-item__fix i { color: var(--amber); margin-top: 3px; }

/* ---------- 7. About ---------- */
.about {
  padding-block: var(--sect-y);
  background: var(--mist);
  border-block: 1px solid var(--line);
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 60px;
  align-items: center;
}
.about__media { position: relative; padding-bottom: 54px; padding-right: 40px; }
.about__figure { overflow: hidden; background: #dde4ea; }
.about__figure img { width: 100%; height: 470px; object-fit: cover; transition: transform 0.6s var(--ease); }
.about__figure:hover img { transform: scale(1.03); }
.about__figure--small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  border: 6px solid var(--white);
}
.about__figure--small img { height: 176px; }

.about__text h2 { margin-bottom: 20px; }
.about__text > p { color: var(--muted); max-width: 60ch; }

.equip-list {
  display: grid;
  gap: 1px;
  margin-top: 32px;
  background: var(--line);
  border: 1px solid var(--line);
}
.equip-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  transition: background-color 0.2s var(--ease);
}
.equip-list li:hover { background: #eaf0f5; }
.equip-list i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  border-radius: var(--radius);
}
.equip-list span { display: flex; flex-direction: column; font-size: 0.885rem; color: var(--muted); }
.equip-list strong { color: var(--navy); font-size: 0.96rem; font-weight: 600; }

/* ---------- 8. Services ---------- */
.services {
  padding-block: var(--sect-y);
  background: var(--navy);
  color: #d9e3ea;
}
.services h2 { color: var(--white); }
.services .section-head__note { color: #b6c8d4; }

.services__band {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 0;
  align-items: stretch;
  margin-bottom: 46px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.services__image { overflow: hidden; }
.services__image img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.services__intro {
  display: flex;
  align-items: center;
  padding: 34px 32px;
  background: rgba(23, 33, 43, 0.32);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.945rem;
  color: #c5d4de;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.service-item {
  display: flex;
  flex-direction: column;
  padding: 30px 26px 32px;
  background: var(--navy);
  transition: background-color 0.25s var(--ease);
}
.service-item:hover { background: #16456d; }
.service-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.service-item__top i {
  font-size: 1.35rem;
  color: var(--amber);
  transition: transform 0.3s var(--ease);
}
.service-item:hover .service-item__top i { transform: translateY(-3px); }
.service-item__tag {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9fb6c6;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 4px 8px;
  white-space: nowrap;
}
.service-item h3 { color: var(--white); margin-bottom: 11px; }
.service-item p { font-size: 0.895rem; color: #b3c5d2; }

.service-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 46px;
}
.service-thumbs img {
  width: 100%;
  height: 172px;
  object-fit: cover;
  background: #dde4ea;
}
.service-thumbs figcaption {
  padding-top: 11px;
  font-size: 0.795rem;
  color: #9fb6c6;
}

/* ---------- 9. How service works ---------- */
.process { padding-block: var(--sect-y); }
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  counter-reset: step;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.process-step { position: relative; padding-top: 66px; }
.process-step__marker {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: var(--white);
  border: 2px solid var(--navy);
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background-color 0.25s var(--ease),
              color 0.25s var(--ease),
              border-color 0.25s var(--ease);
}
.process-step:hover .process-step__marker {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}
.process-step h3 { margin-bottom: 11px; color: var(--navy); }
.process-step p { font-size: 0.925rem; color: var(--muted); }

/* ---------- 10. Seasonal maintenance ---------- */
.seasonal {
  padding-block: var(--sect-y);
  background: var(--ink);
  color: #c7d3dc;
}
.seasonal h2 { color: var(--white); }
.seasonal__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 60px;
  align-items: start;
}
.seasonal__text > p { color: #aebdca; max-width: 46ch; }
.seasonal__text .btn { margin-top: 16px; }

.seasonal__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.13);
}
.seasonal-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 26px 24px;
  background: var(--ink);
  transition: background-color 0.25s var(--ease);
}
.seasonal-item:hover { background: #1d2b38; }
.seasonal-item > i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid var(--amber);
  color: var(--amber);
  font-size: 0.95rem;
  transition: background-color 0.25s var(--ease);
}
.seasonal-item:hover > i { background: var(--amber); color: var(--ink); }
.seasonal-item h3 { color: var(--white); margin-bottom: 7px; }
.seasonal-item p { font-size: 0.875rem; color: #a4b4c1; }

.seasonal__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}
.seasonal__gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #2a3743;
  filter: grayscale(0.28);
  transition: filter 0.35s var(--ease), transform 0.5s var(--ease);
}
.seasonal__gallery figure:hover img { filter: grayscale(0); transform: scale(1.02); }

/* ---------- 11. HVAC tips ---------- */
.tips { padding-block: var(--sect-y); }
.tips__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 60px;
  align-items: start;
}
.tips__lead h2 { margin-bottom: 20px; }
.tips__lead > p { color: var(--muted); }
.tips__figure { margin-top: 30px; }
.tips__figure img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background: #dde4ea;
}

.tips__list { border-top: 1px solid var(--line); }
.tips__list li {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s var(--ease);
}
.tips__list li:hover { background: var(--mist); }
.tips__num {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  color: var(--amber);
  flex: none;
  width: 34px;
}
.tips__list h3 { color: var(--navy); margin-bottom: 7px; }
.tips__list p { font-size: 0.92rem; color: var(--muted); max-width: 66ch; }

/* ---------- 12. Contact ---------- */
.contact {
  padding-block: 96px;
  background: var(--navy);
  text-align: center;
}
.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 780px;
}
.contact h2 { color: var(--white); margin-bottom: 20px; }
.contact__text { color: #c2d3de; max-width: 66ch; }
.contact .btn { margin-top: 34px; }

/* ---------- 13. Footer ---------- */
.site-footer { background: #121a22; color: #9aa9b6; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 46px;
  padding-block: 62px 50px;
}
.brand--footer { color: var(--white); margin-bottom: 18px; }
.brand--footer .brand__mark { background: var(--blue); }
.brand--footer .brand__text span { color: #8496a4; }
.footer__col--brand p { font-size: 0.885rem; color: #8496a4; max-width: 40ch; }

.footer__col h3 {
  font-family: var(--font-body);
  font-size: 0.735rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__col ul { display: grid; gap: 9px; }
.footer__col ul a { font-size: 0.885rem; color: #9aa9b6; }
.footer__col ul a:hover { color: var(--amber); }
.footer__info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.885rem;
  color: #9aa9b6;
}
.footer__info i { color: var(--blue); font-size: 0.8rem; margin-top: 5px; }

.footer__base { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer__base-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 22px;
  font-size: 0.81rem;
  color: #7a8a98;
}
.footer__base-inner p { margin: 0; }

/* ---------- 14. Entrance animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__figure:hover img,
  .about__figure:hover img,
  .seasonal__gallery figure:hover img { transform: none; }
}

/* ---------- 15. Responsive ---------- */
@media (max-width: 1160px) {
  .primary-nav { gap: 16px; }
  .primary-nav__list > li > a { padding-inline: 9px; font-size: 0.82rem; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  :root { --sect-y: 76px; }

  .nav-toggle { display: block; }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    max-height: 0;
    overflow: hidden;
    background: var(--white);
    border-bottom: 1px solid transparent;
    transition: max-height 0.32s var(--ease), border-color 0.2s var(--ease);
  }
  .primary-nav.is-open {
    max-height: min(78vh, 620px);
    overflow-y: auto;
    border-bottom-color: var(--line);
    box-shadow: 0 14px 24px rgba(23, 33, 43, 0.07);
  }
  .primary-nav__list { display: block; padding: 8px var(--gutter) 4px; }
  .primary-nav__list > li { border-bottom: 1px solid var(--line-soft); }
  .primary-nav__list > li > a {
    width: 100%;
    justify-content: space-between;
    padding: 14px 2px;
    font-size: 0.95rem;
    border-bottom: none;
  }
  .primary-nav__list > li > a:hover,
  .primary-nav__list > li > a.is-current { border-bottom-color: transparent; }
  .primary-nav__list > li > a i { transform: rotate(90deg); }

  .submenu {
    position: static;
    min-width: 0;
    padding: 0 0 10px 14px;
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: grid;
    gap: 2px;
  }
  .submenu a {
    padding: 9px 12px;
    font-size: 0.86rem;
    background: var(--mist);
    border-left: 2px solid var(--blue);
  }

  .primary-nav__cta { margin: 18px var(--gutter) 26px; width: calc(100% - var(--gutter) * 2); }

  .hero__grid,
  .about__grid,
  .seasonal__grid,
  .tips__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
  }
  .hero__grid { padding-block: 58px; }
  .hero__figure--inset { right: 12px; }

  .section-head--split { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .section-head--split .section-head__note { max-width: none; }

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

  .services__band { grid-template-columns: minmax(0, 1fr); }
  .services__intro { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.14); }

  .process-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 34px; }
  .process-track::before { display: none; }

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

  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; --sect-y: 62px; }

  .topbar__msg { display: none; }
  .topbar__inner {
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 0;
    min-height: 38px;
    padding-block: 7px;
  }
  .topbar__list { gap: 0; }
  .topbar__hide-sm { display: none; }
  .topbar__list li {
    font-size: 0.8rem;
    font-weight: 500;
    color: #e2eaef;
  }
  .topbar__list li i { color: var(--amber); }

  .hero__grid { padding-block: 44px 56px; }
  .symptom-list { grid-template-columns: minmax(0, 1fr); }
  .hero__figure img { height: 380px; }
  .hero__figure--inset { position: static; width: 100%; border: none; margin-top: 12px; }
  .hero__figure--inset img { height: 190px; }

  .problem-grid { grid-template-columns: minmax(0, 1fr); }
  .problem-item { padding: 28px 24px; }

  .about__media { padding-right: 0; padding-bottom: 84px; }
  .about__figure img { height: 360px; }
  .about__figure--small { width: 62%; border-width: 5px; }
  .about__figure--small img { height: 150px; }

  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .service-item { padding: 26px 22px; }
  .service-thumbs { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .service-thumbs img { height: 200px; }

  .process-track { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .process-step { padding-top: 0; padding-left: 70px; }
  .process-step__marker { width: 46px; height: 46px; font-size: 1.15rem; }

  .seasonal__items { grid-template-columns: minmax(0, 1fr); }
  .seasonal__gallery { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .seasonal__gallery img { height: 200px; }

  .tips__figure img { height: 240px; }
  .tips__list li { gap: 16px; padding-block: 20px; }
  .tips__num { width: 28px; font-size: 1.3rem; }

  .contact { padding-block: 70px; }

  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-block: 46px 38px; }
  .footer__base-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 420px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .process-step { padding-left: 0; padding-top: 60px; }
}
