/* Safe Stack Chimney Services — production styles
   Brand values, spacing, and domain-dependent assets are intentionally centralized here. */

:root {
  --navy: #14213d;
  --navy-deep: #0b1429;
  --navy-soft: #223354;
  --ember: #f45d2a;
  --ember-dark: #cb4317;
  --cream: #fff8ef;
  --paper: #fffdf9;
  --sand: #f3e6d4;
  --sand-light: #faf2e7;
  --charcoal: #242424;
  --muted: #636871;
  --green: #3f5f1f;
  --white: #ffffff;
  --line: rgba(20, 33, 61, 0.13);
  --shadow-sm: 0 12px 36px rgba(20, 33, 61, 0.09);
  --shadow-md: 0 24px 70px rgba(13, 24, 48, 0.16);
  --shadow-ember: 0 15px 35px rgba(244, 93, 42, 0.27);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --page: min(1180px, calc(100% - 40px));
  --header-height: 86px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

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

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

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--cream);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid #ff9a75;
  outline-offset: 4px;
}

::selection {
  color: var(--white);
  background: var(--ember);
}

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

h1,
h2,
h3,
h4 {
  color: var(--navy);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(3rem, 7vw, 6.2rem);
  font-weight: 800;
  line-height: 0.98;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 5vw, 4.55rem);
  font-weight: 800;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 750;
}

p {
  margin-bottom: 1.25em;
}

.container {
  width: var(--page);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(82px, 10vw, 138px) 0;
}

.section--paper {
  background: var(--paper);
}

.section--sand {
  background: var(--sand-light);
}

.section--navy {
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.section[id],
.service-detail[id],
.faq-item[id] {
  scroll-margin-top: calc(var(--header-height) + 22px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--ember-dark);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 3px;
  content: "";
  border-radius: 999px;
  background: var(--ember);
}

.eyebrow--light {
  color: #ffb79e;
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(38px, 6vw, 64px);
}

.section-heading p {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section--navy .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  border-radius: 8px;
  background: var(--navy);
  transform: translateY(-160%);
  transition: transform 180ms var(--ease-out);
}

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

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  color: var(--navy);
  border-bottom: 1px solid rgba(20, 33, 61, 0.1);
  background: rgba(255, 248, 239, 0.96);
  box-shadow: 0 6px 28px rgba(20, 33, 61, 0.05);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms var(--ease-out), background-color 180ms var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(255, 253, 249, 0.985);
  box-shadow: 0 10px 40px rgba(20, 33, 61, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1360px, calc(100% - 34px));
  height: 100%;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  width: 238px;
  text-decoration: none;
}

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

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  color: var(--navy);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

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

.nav-links a:hover::after,
.nav-links a[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-phone {
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  color: var(--navy);
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 23px;
  color: var(--white);
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--ember);
  box-shadow: var(--shadow-ember);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: color 180ms var(--ease-out), background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 160ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.btn:hover {
  background: var(--ember-dark);
  box-shadow: 0 18px 42px rgba(244, 93, 42, 0.34);
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(0.97);
}

.btn--sm {
  min-height: 44px;
  padding: 11px 17px;
  font-size: 0.82rem;
}

.btn--light {
  color: var(--navy);
  border-color: rgba(255, 255, 255, 0.44);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn--light:hover {
  color: var(--white);
  border-color: var(--ember);
  background: var(--ember);
}

.btn--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.btn--navy {
  background: var(--navy);
  box-shadow: 0 14px 34px rgba(20, 33, 61, 0.21);
}

.btn--navy:hover {
  background: var(--navy-deep);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ember-dark);
  font-weight: 800;
  text-underline-offset: 4px;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(880px, 100vh);
  align-items: end;
  padding: calc(var(--header-height) + 92px) 0 88px;
  color: var(--white);
  background: var(--navy-deep);
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background-image:
    radial-gradient(circle at 78% 22%, rgba(244, 93, 42, 0.18), transparent 28%),
    linear-gradient(118deg, #091123 0%, #14213d 58%, #203455 100%);
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -8vw;
  bottom: -19vw;
  width: 60vw;
  height: 48vw;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(145deg, transparent 49.5%, rgba(244, 93, 42, 0.32) 50% 50.7%, transparent 51%);
  transform: rotate(-3deg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.48fr);
  align-items: end;
  gap: clamp(42px, 7vw, 100px);
}

.hero-copy {
  max-width: 780px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 8px 11px;
  color: #ffe1d5;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.hero-kicker::before {
  width: 9px;
  height: 9px;
  content: "";
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 5px rgba(244, 93, 42, 0.17);
}

.hero h1 span {
  color: #ff9e7c;
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.07rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.hero-proof {
  display: grid;
  align-self: stretch;
  align-content: end;
  gap: 13px;
}

.hero-photo-card {
  position: relative;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.hero-photo-card::after {
  position: absolute;
  inset: 8px;
  content: "";
  border-radius: 12px;
  box-shadow: inset 0 -90px 70px rgba(9, 17, 35, 0.24);
  pointer-events: none;
}

.hero-photo-card img {
  width: 100%;
  height: clamp(240px, 33vw, 390px);
  border-radius: 12px;
  object-fit: cover;
}

.availability-card {
  padding: 23px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(10, 20, 41, 0.82);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
}

.availability-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1.1rem;
}

.availability-card span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
}

.trust-strip {
  position: relative;
  z-index: 2;
  color: var(--white);
  background: var(--ember);
}

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

.trust-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 13px;
  min-height: 122px;
  padding: 24px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

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

.trust-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.13);
}

.trust-icon svg,
.icon-box svg,
.contact-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.trust-item strong {
  display: block;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.96rem;
  line-height: 1.25;
}

.trust-item span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.79rem;
  line-height: 1.4;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  align-items: center;
  gap: clamp(52px, 9vw, 120px);
}

.about-visual {
  position: relative;
  min-height: 550px;
}

.about-image {
  width: calc(100% - 34px);
  height: 520px;
  border-radius: 12px 80px 12px 12px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.about-visual::before {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 2px;
  width: 55%;
  height: 48%;
  content: "";
  border-radius: 12px;
  background: var(--sand);
}

.about-badge {
  position: absolute;
  right: 0;
  bottom: 34px;
  width: 182px;
  padding: 22px;
  color: var(--white);
  border-radius: var(--radius-md) 6px var(--radius-md) var(--radius-md);
  background: var(--navy);
  box-shadow: var(--shadow-md);
}

.about-badge strong {
  display: block;
  margin-bottom: 5px;
  color: #ffb79e;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.about-badge span {
  font-size: 0.84rem;
  line-height: 1.45;
}

.about-copy .pull-quote {
  margin: 30px 0;
  padding-left: 24px;
  color: var(--navy);
  border-left: 4px solid var(--ember);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.5;
}

.field-gallery {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 18px;
  margin-top: 24px;
}

.field-gallery figure {
  position: relative;
  min-height: 270px;
  margin: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.field-gallery img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  transition: transform 300ms var(--ease-out);
}

.field-gallery figure:hover img {
  transform: scale(1.025);
}

.field-gallery figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 12px 14px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9px;
  background: rgba(9, 17, 35, 0.78);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(9px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.service-card {
  position: relative;
  min-height: 100%;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
}

.feature-card::after,
.service-card::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 72px;
  height: 72px;
  content: "";
  border-radius: 0 0 0 90px;
  background: var(--sand-light);
  transition: background-color 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.feature-card:hover,
.feature-card:focus-within,
.service-card:hover,
.service-card:focus-within {
  border-color: rgba(244, 93, 42, 0.36);
  box-shadow: 0 24px 58px rgba(20, 33, 61, 0.13);
  transform: translateY(-6px);
}

.feature-card:hover::after,
.service-card:hover::after {
  background: #ffe3d7;
  transform: scale(1.14);
}

.icon-box {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 36px;
  place-items: center;
  color: var(--white);
  border-radius: 12px;
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(20, 33, 61, 0.16);
}

.feature-card p,
.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.services-intro {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  margin-bottom: 58px;
}

.services-intro p {
  align-self: end;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.7);
}

.service-card {
  background: rgba(255, 255, 255, 0.97);
}

.service-photo {
  width: calc(100% + 60px);
  max-width: none;
  aspect-ratio: 16 / 10;
  margin: -30px -30px 20px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.03);
  transition: filter 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.service-card:hover .service-photo {
  filter: saturate(1) contrast(1.04);
  transform: scale(1.018);
}

.service-card .icon-box {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  margin-top: -49px;
  margin-bottom: 18px;
  color: var(--ember);
  border: 4px solid var(--white);
  background: #fff0e9;
  box-shadow: none;
}

.service-card h3 {
  padding-right: 40px;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  color: var(--ember-dark);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  text-underline-offset: 4px;
}

.service-details {
  position: relative;
  background: var(--paper);
}

.service-details::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(740px, 74vw);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  transform: translateX(-50%);
}

.detail-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-detail {
  display: grid;
  grid-template-columns: 0.34fr 1fr auto;
  align-items: start;
  gap: clamp(24px, 5vw, 70px);
  padding: 35px 0;
  border-bottom: 1px solid var(--line);
}

.service-detail .detail-number {
  color: var(--ember);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.service-detail h3 {
  margin-bottom: 9px;
}

.service-detail p {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
}

.detail-cta {
  align-self: center;
  color: var(--navy);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.detail-cta:hover {
  color: var(--ember-dark);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.safety-cta {
  position: relative;
  padding: clamp(72px, 10vw, 118px) 0;
  color: var(--white);
  background: var(--ember);
  overflow: hidden;
}

.safety-cta::before,
.final-cta::before {
  position: absolute;
  right: -130px;
  bottom: -165px;
  width: 520px;
  height: 360px;
  content: "";
  border: 46px solid rgba(255, 255, 255, 0.12);
  transform: rotate(45deg);
}

.safety-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: 70px;
}

.safety-cta h2 {
  color: var(--white);
}

.safety-cta p {
  color: rgba(255, 255, 255, 0.82);
}

.safety-visual {
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  background: rgba(11, 20, 41, 0.2);
  box-shadow: 0 24px 64px rgba(109, 36, 12, 0.18);
}

.safety-visual > img {
  width: 100%;
  height: 280px;
  border-radius: 11px;
  object-fit: cover;
}

.symptom-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
}

.symptom-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.89rem;
  line-height: 1.4;
}

.symptom-list li::before {
  margin-top: 0.45em;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  content: "";
  border-radius: 50%;
  background: var(--white);
}

.area-grid {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  align-items: stretch;
  gap: 42px;
}

.neighborhoods {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.neighborhoods li {
  padding: 8px 11px;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
}

.location-card {
  display: flex;
  flex-direction: column;
  min-height: 610px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.map-frame {
  width: 100%;
  min-height: 476px;
  flex: 1;
  border: 0;
  border-radius: 20px;
  filter: saturate(0.74) contrast(1.02);
}

.location-address {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 18px 14px 8px;
}

.location-address strong {
  display: block;
  color: var(--navy);
  font-family: "Manrope", system-ui, sans-serif;
}

.location-address span {
  color: var(--muted);
  font-size: 0.88rem;
}

.location-address a {
  color: var(--ember-dark);
  font-size: 0.83rem;
  font-weight: 800;
  text-underline-offset: 4px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  align-items: start;
  gap: clamp(50px, 9vw, 120px);
}

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

.faq-aside p {
  color: var(--muted);
}

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

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

.faq-question {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 25px 0;
  color: var(--navy);
  border: 0;
  background: transparent;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1.04rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: left;
}

.faq-question::after {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  content: "+";
  color: var(--white);
  border-radius: 7px;
  background: var(--navy);
  font-size: 1.25rem;
  font-weight: 500;
  transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.faq-question[aria-expanded="true"]::after {
  background: var(--ember);
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 58px 25px 0;
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact {
  position: relative;
  overflow: hidden;
}

.contact::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 44%;
  height: 100%;
  content: "";
  background: linear-gradient(140deg, transparent 42%, rgba(244, 93, 42, 0.08) 42.4%, transparent 42.8%);
  pointer-events: none;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  align-items: start;
  gap: clamp(48px, 8vw, 100px);
}

.contact-panel {
  color: rgba(255, 255, 255, 0.76);
}

.contact-panel h2 {
  color: var(--white);
}

.contact-panel > p {
  max-width: 480px;
}

.contact-list {
  display: grid;
  gap: 13px;
  margin-top: 34px;
}

.contact-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffb79e;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-row span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-row a,
.contact-row strong {
  color: var(--white);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.form-card {
  padding: clamp(26px, 5vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 30px 84px rgba(0, 0, 0, 0.24);
}

.form-card h3 {
  margin-bottom: 8px;
  font-size: 1.8rem;
}

.form-intro {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.form-field {
  min-width: 0;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 750;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  color: var(--charcoal);
  border: 1px solid rgba(20, 33, 61, 0.2);
  border-radius: 9px;
  background: var(--white);
  outline: none;
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--ember);
  box-shadow: 0 0 0 4px rgba(244, 93, 42, 0.14);
}

.form-field [aria-invalid="true"] {
  border-color: #a91f1f;
  box-shadow: 0 0 0 3px rgba(169, 31, 31, 0.12);
}

.error-text {
  display: block;
  min-height: 19px;
  margin-top: 5px;
  color: #a91f1f;
  font-size: 0.76rem;
  font-weight: 700;
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: start;
  margin: 5px 0 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--sand-light);
}

.consent input {
  width: 19px;
  height: 19px;
  margin: 3px 0 0;
  accent-color: var(--ember);
}

.consent label {
  color: #4f535b;
  font-size: 0.76rem;
  line-height: 1.55;
}

.form-status {
  display: none;
  margin: 18px 0 0;
  padding: 13px 15px;
  color: var(--navy);
  border: 1px solid #d6b878;
  border-radius: 9px;
  background: #fff7df;
  font-size: 0.84rem;
  font-weight: 700;
}

.form-status.is-visible {
  display: block;
}

.final-cta {
  position: relative;
  padding: 78px 0;
  color: var(--white);
  background: var(--ember);
  overflow: hidden;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 50px;
}

.final-cta h2 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.final-cta p {
  max-width: 700px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  padding: 68px 0 26px;
  color: rgba(255, 255, 255, 0.68);
  background: var(--navy-deep);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 0.9fr;
  gap: 70px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-wordmark {
  display: inline-flex;
  flex-direction: column;
  margin-bottom: 20px;
  color: var(--white);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-decoration: none;
}

.footer-wordmark span {
  margin-top: 5px;
  color: #ffb79e;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-tagline {
  max-width: 430px;
  font-size: 0.91rem;
}

.footer-column h3 {
  margin-bottom: 20px;
  color: var(--white);
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  font-size: 0.87rem;
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #ffb79e;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-contact {
  display: grid;
  gap: 11px;
  font-size: 0.87rem;
}

.footer-contact a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.footer-disclaimer {
  padding: 28px 0 22px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.68rem;
  line-height: 1.62;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.74rem;
}

.mobile-call {
  display: none;
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
  }

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

@media (max-width: 1180px) {
  .primary-nav {
    gap: 16px;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a,
  .header-phone {
    font-size: 0.78rem;
  }

  .brand {
    width: 205px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 76px;
  }

  body {
    padding-bottom: 76px;
  }

  .brand {
    width: 205px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    z-index: 99;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    align-content: start;
    gap: 24px;
    padding: 34px 24px 110px;
    color: var(--white);
    background: rgba(11, 20, 41, 0.985);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 220ms var(--ease-out), visibility 220ms;
  }

  .primary-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-links {
    display: grid;
    gap: 0;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .nav-links a {
    display: block;
    padding: 16px 0;
    color: var(--white);
    font-size: 1.1rem;
  }

  .header-phone {
    color: #ffb79e;
    font-size: 1.1rem;
  }

  .primary-nav .btn {
    justify-self: start;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .about-grid,
  .safety-grid,
  .area-grid,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    grid-template-columns: 0.8fr 1.2fr;
  }

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

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }

  .services-intro {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .service-detail {
    grid-template-columns: 80px 1fr;
  }

  .detail-cta {
    grid-column: 2;
    justify-self: start;
  }

  .faq-aside {
    position: static;
  }

  .location-card {
    min-height: 530px;
  }

  .final-cta-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .footer-top > :first-child {
    grid-column: 1 / -1;
  }

  .mobile-call {
    position: fixed;
    z-index: 120;
    right: 14px;
    bottom: 12px;
    left: 14px;
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    background: var(--ember);
    box-shadow: 0 18px 46px rgba(11, 20, 41, 0.3);
    font-family: "Manrope", system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
  }
}

@media (max-width: 680px) {
  :root {
    --page: min(100% - 30px, 1180px);
  }

  body {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(2.82rem, 15vw, 4.35rem);
  }

  h2 {
    font-size: clamp(2.08rem, 10vw, 3.1rem);
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    padding-top: calc(var(--header-height) + 72px);
  }

  .hero::before {
    background-image: radial-gradient(circle at 82% 12%, rgba(244, 93, 42, 0.16), transparent 28%), linear-gradient(155deg, #091123, #14213d 68%, #203455);
  }

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

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .trust-grid,
  .card-grid,
  .symptom-list,
  .form-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:nth-child(2) {
    min-height: 102px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }

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

  .about-visual {
    min-height: 440px;
  }

  .about-image {
    width: calc(100% - 16px);
    height: 410px;
    border-radius: 10px 50px 10px 10px;
  }

  .about-badge {
    right: -2px;
    bottom: 10px;
    width: 164px;
  }

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

  .field-gallery figure,
  .field-gallery img {
    min-height: 230px;
  }

  .service-photo {
    aspect-ratio: 16 / 9;
  }

  .safety-visual > img {
    height: 230px;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 28px 0;
  }

  .detail-cta {
    grid-column: 1;
    margin-top: 8px;
  }

  .location-card {
    min-height: 470px;
    border-radius: 20px;
  }

  .map-frame {
    min-height: 360px;
    border-radius: 13px;
  }

  .location-address {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .faq-question {
    gap: 14px;
    font-size: 0.97rem;
  }

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

  .form-card {
    border-radius: 18px;
  }

  .form-field--full {
    grid-column: auto;
  }

  .final-cta {
    padding: 68px 0;
  }

  .footer-top,
  .footer-top > :first-child {
    grid-column: auto;
  }

  .footer-top {
    gap: 38px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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