/* ================================================================
   North Coast Pressure Washing
   Mobile-first static site styles
   ================================================================ */

/* 1. Design tokens and reset */
:root {
  --navy-950: #061e37;
  --navy-900: #082b4f;
  --navy-800: #0b3a66;
  --blue-600: #066fa9;
  --blue-500: #168fe5;
  --blue-300: #7cccf2;
  --blue-100: #dff3fc;
  --cool-50: #f6f8fa;
  --cool-100: #eef3f6;
  --cool-200: #d8e2e8;
  --cool-400: #718896;
  --slate-700: #334b5c;
  --slate-800: #273746;
  --white: #ffffff;
  --success: #176b52;
  --error: #a12b2b;
  --warning-bg: #fff8e7;
  --warning-border: #d49b22;
  --font-display: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 1180px;
  --measure: 68ch;
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-sm: 0 8px 24px rgba(6, 30, 55, 0.08);
  --transition: 160ms ease;
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--slate-800);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button,
select {
  cursor: pointer;
}

a {
  color: var(--navy-900);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue-600);
}

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
}

::selection {
  color: var(--navy-950);
  background: var(--blue-100);
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy-950);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.4rem, 7.5vw, 4.65rem);
  max-width: 15ch;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.15rem);
  max-width: 19ch;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  letter-spacing: -0.015em;
}

p {
  margin-bottom: 1.25rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

/* 2. Layout utilities */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(100% - 2rem, 820px);
  margin-inline: auto;
}

.section {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.section-tight {
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
}

.section-cool {
  background: var(--cool-50);
}

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

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  color: var(--blue-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.5rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.section-navy .eyebrow {
  color: var(--blue-300);
}

.section-heading {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-heading > p:not(.eyebrow) {
  max-width: var(--measure);
  margin-bottom: 0;
  color: var(--slate-700);
  font-size: 1.08rem;
}

.lede {
  max-width: 61ch;
  color: var(--slate-700);
  font-size: clamp(1.05rem, 2.3vw, 1.25rem);
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  transition: transform var(--transition);
}

.text-link:hover::after {
  transform: translateX(0.2rem);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--navy-950);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform var(--transition);
}

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

/* 3. Buttons */
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.2rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition);
}

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

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

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

.button-dark {
  color: var(--white);
  background: var(--navy-900);
  border-color: var(--navy-900);
}

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

.button-outline {
  color: var(--navy-900);
  background: transparent;
  border-color: var(--navy-900);
}

.button-outline:hover {
  color: var(--white);
  background: var(--navy-900);
}

.button-light {
  color: var(--navy-950);
  background: var(--white);
  border-color: var(--white);
}

.button-light:hover {
  color: var(--navy-950);
  background: var(--blue-100);
  border-color: var(--blue-100);
}

.button-outline-light {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.72);
}

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

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* 4. Utility bar and main header */
.utility-bar {
  color: rgba(255, 255, 255, 0.85);
  background: var(--navy-950);
  font-size: 0.82rem;
  line-height: 1.2;
}

.utility-inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.utility-points {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.utility-points span + span {
  display: none;
}

.utility-bar a {
  color: var(--white);
  font-weight: 750;
  text-decoration: none;
}

.site-header {
  position: relative;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--cool-200);
}

.header-inner {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  min-width: 0;
  flex: 0 1 240px;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  object-fit: contain;
  border-radius: 50%;
}

.brand-label {
  display: grid;
  min-width: 0;
  color: var(--navy-900);
  font-family: var(--font-display);
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-label strong {
  font-size: 1.04rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.brand-label small {
  margin-top: 0.35rem;
  color: var(--slate-700);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.menu-toggle {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--navy-900);
  background: var(--white);
  border: 1px solid var(--cool-200);
  border-radius: var(--radius-sm);
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform var(--transition), opacity var(--transition);
}

.menu-icon {
  position: relative;
}

.menu-icon::before {
  position: absolute;
  top: -7px;
}

.menu-icon::after {
  position: absolute;
  top: 7px;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.primary-nav {
  position: absolute;
  z-index: 40;
  top: 100%;
  right: 0;
  left: 0;
  visibility: hidden;
  padding: 0.5rem 1rem 1rem;
  background: var(--white);
  border-bottom: 1px solid var(--cool-200);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(-0.4rem);
  transition: visibility var(--transition), opacity var(--transition), transform var(--transition);
  max-height: calc(100dvh - 112px - 56px - env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
}

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

.nav-list {
  display: grid;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 0.65rem 0;
  color: var(--navy-900);
  border-bottom: 1px solid var(--cool-100);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-list a[aria-current="page"] {
  color: var(--blue-600);
}

.nav-cta {
  margin-top: 0.65rem;
}

.header-call {
  display: none;
}

/* 5. Home hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 4.5rem);
  background: linear-gradient(90deg, var(--white) 0%, var(--white) 62%, var(--cool-50) 62%);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-900) 0 27%, var(--blue-500) 27% 75%, var(--blue-300) 75% 100%);
  content: "";
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero .lede {
  max-width: 57ch;
  margin-bottom: 1.75rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.25rem;
  margin-top: 1.35rem;
  color: var(--slate-700);
  font-size: 0.92rem;
  font-weight: 650;
}

.hero-meta span {
  position: relative;
  padding-left: 1rem;
}

.hero-meta span::before {
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--blue-500);
  border-radius: 50%;
  content: "";
}

.hero-visual {
  position: relative;
  max-width: 620px;
  margin-inline: auto;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  top: -1rem;
  right: -1rem;
  width: 52%;
  height: 58%;
  background: var(--blue-100);
  content: "";
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border: 1px solid var(--cool-200);
}

.visual-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  color: var(--slate-700);
  border-bottom: 1px solid var(--cool-200);
  font-size: 0.78rem;
  line-height: 1.35;
}

.visual-note strong {
  color: var(--navy-900);
}

/* 6. Trust strip */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--cool-200);
}

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

.trust-item {
  min-height: 82px;
  padding: 1rem 0.8rem;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
}

.trust-item:nth-child(odd) {
  border-right: 1px solid var(--cool-200);
}

.trust-item:nth-child(-n + 2) {
  border-bottom: 1px solid var(--cool-200);
}

.trust-item span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 0.55rem auto 0;
  background: var(--blue-500);
}

/* 7. Services preview and detailed services */
.service-grid {
  display: grid;
  border-top: 1px solid var(--cool-200);
}

.service-preview {
  padding: 2rem 0;
  border-bottom: 1px solid var(--cool-200);
}

.service-preview p {
  max-width: 46ch;
  color: var(--slate-700);
}

.service-mark {
  position: relative;
  display: block;
  width: 50px;
  height: 42px;
  margin-bottom: 1.25rem;
  color: var(--blue-600);
}

.service-mark::before,
.service-mark::after {
  position: absolute;
  display: block;
  content: "";
}

.mark-house::before {
  top: 10px;
  left: 9px;
  width: 28px;
  height: 28px;
  border: 2px solid currentColor;
  border-top: 0;
}

.mark-house::after {
  top: 2px;
  left: 10px;
  width: 28px;
  height: 28px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
}

.mark-surface::before {
  inset: 5px 0 auto 0;
  height: 30px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: skewX(-18deg);
}

.mark-surface::after {
  top: 19px;
  left: 6px;
  width: 38px;
  border-top: 2px solid currentColor;
}

.mark-patio::before {
  inset: 3px 5px 4px 5px;
  border: 2px solid currentColor;
  background: linear-gradient(90deg, transparent 48%, currentColor 48% 52%, transparent 52%), linear-gradient(transparent 48%, currentColor 48% 52%, transparent 52%);
}

.mark-deck::before {
  inset: 5px 2px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  background: repeating-linear-gradient(90deg, transparent 0 8px, currentColor 8px 10px);
}

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

.service-detail {
  display: grid;
  gap: 1.5rem;
  padding-block: clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--cool-200);
}

.service-detail h2 {
  font-size: clamp(1.75rem, 4vw, 2.45rem);
}

.service-detail-copy p:last-child {
  margin-bottom: 0;
}

.fact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact-list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.4rem;
  border-bottom: 1px solid var(--cool-200);
}

.fact-list li::before {
  position: absolute;
  top: 1.25rem;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--blue-500);
  content: "";
}

.limitation-note {
  padding: 1.2rem 1.3rem;
  background: var(--cool-50);
  border-left: 3px solid var(--blue-500);
  font-size: 0.94rem;
}

.limitation-note strong {
  color: var(--navy-900);
}

/* 8. Before and after */
.comparison-grid,
.gallery-grid {
  display: grid;
  gap: 1.25rem;
}

.comparison-image {
  position: relative;
  overflow: hidden;
  background: var(--cool-100);
  border: 1px solid var(--cool-200);
}

.comparison-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-label {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.35rem 0.65rem;
  color: var(--white);
  background: var(--navy-950);
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.image-label.after {
  background: var(--blue-600);
}

.comparison-caption {
  margin-top: 0.75rem;
  color: var(--slate-700);
  font-size: 0.85rem;
}

.comparison-caption code {
  overflow-wrap: anywhere;
}

.gallery-pair {
  margin: 0;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--cool-200);
}

.gallery-pair > figcaption {
  margin-bottom: 1rem;
}

.gallery-pair h2 {
  margin-bottom: 0.35rem;
  font-size: 1.45rem;
}

.gallery-pair p {
  margin-bottom: 0;
  color: var(--slate-700);
  font-size: 0.92rem;
}

/* 9. Why choose, process, and service area */
.split-layout {
  display: grid;
  gap: clamp(2rem, 7vw, 6rem);
}

.principles {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--cool-200);
}

.principles li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--cool-200);
}

.principles .number {
  color: var(--blue-600);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.principles h3 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.principles p {
  margin-bottom: 0;
  color: var(--slate-700);
  font-size: 0.94rem;
}

.process-grid {
  display: grid;
  counter-reset: process;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.process-step {
  position: relative;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  counter-increment: process;
}

.process-step::before {
  display: block;
  margin-bottom: 1rem;
  color: var(--blue-300);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  content: "0" counter(process);
}

.process-step h3 {
  color: var(--white);
}

.process-step p {
  max-width: 36ch;
  margin-bottom: 0;
}

.area-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1.75rem 0 0;
  padding: 0;
  border-top: 1px solid var(--cool-200);
  list-style: none;
}

.area-list li {
  padding: 0.75rem 0;
  color: var(--navy-900);
  border-bottom: 1px solid var(--cool-200);
  font-weight: 700;
}

.area-list li:nth-child(odd) {
  padding-right: 0.75rem;
}

.area-list li:nth-child(even) {
  padding-left: 0.75rem;
  border-left: 1px solid var(--cool-200);
}

/* 10. Page heroes and editorial content */
.page-hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
  background: var(--cool-50);
  border-bottom: 1px solid var(--cool-200);
}

.page-hero::after {
  position: absolute;
  right: -12%;
  bottom: 1.5rem;
  width: 54%;
  height: 1px;
  background: var(--blue-300);
  box-shadow: 0 12px 0 var(--blue-100), 0 24px 0 var(--cool-200);
  content: "";
  transform: rotate(-2deg);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.35rem, 7vw, 4.2rem);
}

.page-hero p:last-child {
  margin-bottom: 0;
}

.breadcrumb {
  margin-bottom: 1.25rem;
  color: var(--slate-700);
  font-size: 0.82rem;
}

.breadcrumb a {
  font-weight: 700;
}

.editorial h2 {
  margin-top: 2.8rem;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
}

.editorial h2:first-child {
  margin-top: 0;
}

.editorial p,
.editorial li {
  max-width: var(--measure);
}

.plain-grid {
  display: grid;
  gap: 2rem;
}

.plain-panel {
  padding-top: 1.5rem;
  border-top: 3px solid var(--blue-500);
}

.plain-panel p:last-child {
  margin-bottom: 0;
}

/* 11. Estimate form */
.form-layout {
  display: grid;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.estimate-form {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--cool-200);
  box-shadow: var(--shadow-sm);
}

.form-status {
  display: none;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-left: 4px solid var(--warning-border);
  background: var(--warning-bg);
  font-size: 0.92rem;
}

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

.form-status.error {
  color: var(--error);
  background: #fff2f2;
  border-color: var(--error);
}

.form-section {
  margin: 0 0 2rem;
  padding: 0;
  border: 0;
}

.form-section legend {
  width: 100%;
  margin-bottom: 1.2rem;
  padding-bottom: 0.55rem;
  color: var(--navy-950);
  border-bottom: 1px solid var(--cool-200);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 750;
}

.field-grid {
  display: grid;
  gap: 1rem;
}

.field {
  min-width: 0;
}

.field label,
.field-label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--navy-950);
  font-size: 0.9rem;
  font-weight: 700;
}

.required {
  color: var(--error);
}

.optional {
  color: var(--slate-700);
  font-size: 0.82rem;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.72rem 0.8rem;
  background: var(--white);
  border: 1px solid var(--cool-400);
  border-radius: var(--radius-sm);
}

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

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--navy-800);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-600);
  outline: 3px solid rgba(22, 143, 229, 0.25);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--error);
}

.help-text,
.error-message {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  line-height: 1.45;
}

.help-text {
  color: var(--slate-700);
}

.error-message {
  color: var(--error);
  font-weight: 650;
}

.choice-grid {
  display: grid;
  gap: 0.45rem 1.25rem;
}

.choice {
  display: flex;
  min-height: 44px;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.45rem 0;
}

.choice input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin: 0.17rem 0 0;
  accent-color: var(--blue-600);
}

.consent {
  padding: 1rem;
  background: var(--cool-50);
  border: 1px solid var(--cool-200);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.field-spaced {
  margin-top: 1rem;
}

.top-reset {
  margin-top: 0;
}

.form-actions button {
  border: 0;
}

.form-disclaimer {
  margin-top: 1.5rem;
  color: var(--slate-700);
  font-size: 0.82rem;
}

.contact-aside {
  align-self: start;
}

.contact-aside h2 {
  font-size: clamp(1.65rem, 4vw, 2.3rem);
}

.contact-lines {
  margin: 1.75rem 0;
  padding: 0;
  border-top: 1px solid var(--cool-200);
  list-style: none;
}

.contact-lines li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--cool-200);
}

.contact-lines a {
  font-weight: 750;
}

/* 12. Final call to action */
.final-cta {
  position: relative;
  overflow: hidden;
}

.final-cta::after {
  position: absolute;
  right: -3rem;
  bottom: 2rem;
  width: min(40vw, 480px);
  height: 1px;
  background: rgba(124, 204, 242, 0.55);
  box-shadow: 0 18px 0 rgba(124, 204, 242, 0.28), 0 36px 0 rgba(124, 204, 242, 0.14);
  content: "";
  transform: rotate(-4deg);
}

.cta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  align-items: end;
}

.cta-grid h2 {
  margin-bottom: 0.75rem;
}

.cta-grid p {
  max-width: 55ch;
  margin-bottom: 0;
}

/* 13. Footer */
.site-footer {
  color: rgba(255, 255, 255, 0.74);
  background: #041626;
  padding-block: 3.5rem 6.5rem;
}

.footer-grid {
  display: grid;
  gap: 2.25rem;
}

.footer-brand img {
  width: 132px;
  height: 132px;
  margin-bottom: 1.25rem;
  object-fit: contain;
  border-radius: 50%;
}

.footer-brand p {
  max-width: 42ch;
}

.site-footer h2 {
  margin-bottom: 0.9rem;
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
}

.site-footer a:hover {
  color: var(--blue-300);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  margin-top: 2.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
}

/* 14. Sticky mobile contact bar */
.mobile-contact-bar {
  position: fixed;
  z-index: 60;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 0 max(0px, env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--cool-200);
  box-shadow: 0 -5px 18px rgba(6, 30, 55, 0.12);
}

.mobile-contact-bar a {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  border-right: 1px solid var(--cool-200);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.mobile-contact-bar a:last-child {
  color: var(--white);
  background: var(--blue-600);
  border-right: 0;
}

/* 15. 404 page */
.error-page {
  display: grid;
  min-height: calc(100vh - 112px);
  place-items: center;
  padding-block: 4rem 8rem;
  background: var(--cool-50);
}

.error-card {
  max-width: 720px;
}

.error-code {
  margin-bottom: 1rem;
  color: var(--blue-600);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* 16. Responsive layout */
@media (min-width: 560px) {
  .utility-points span + span {
    display: inline;
  }

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

  .trust-item,
  .trust-item:nth-child(odd),
  .trust-item:nth-child(-n + 2) {
    border-right: 1px solid var(--cool-200);
    border-bottom: 0;
  }

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

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

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

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

@media (min-width: 760px) {
  .container,
  .narrow {
    width: min(100% - 3rem, var(--container));
  }

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

  .service-preview {
    padding: 2.25rem;
  }

  .service-preview:nth-child(odd) {
    padding-left: 0;
    border-right: 1px solid var(--cool-200);
  }

  .service-preview:nth-child(even) {
    padding-right: 0;
  }

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

  .process-step {
    padding: 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 0;
  }

  .process-step:first-child {
    padding-left: 0;
  }

  .process-step:last-child {
    padding-right: 0;
    border-right: 0;
  }

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

  .service-detail {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 6vw, 5rem);
  }

  .service-detail:nth-child(even) .service-detail-heading {
    order: 2;
  }

  .cta-grid {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(150px, 0.65fr));
  }
}

@media (min-width: 920px) {
  body {
    padding-bottom: 0;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .header-inner {
    min-height: 104px;
  }

  .brand {
    flex-basis: 250px;
  }

  .brand img {
    width: 84px;
    height: 84px;
    flex-basis: 84px;
  }

  .menu-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: block;
    visibility: visible;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    max-height: none;
    overflow: visible;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: clamp(0.7rem, 1.7vw, 1.5rem);
  }

  .nav-list a {
    min-height: 44px;
    padding: 0.4rem 0;
    border: 0;
    font-size: 0.9rem;
  }

  .nav-list a:not(.nav-cta)::after {
    position: absolute;
    right: 0;
    bottom: 0.2rem;
    left: 0;
    height: 2px;
    background: var(--blue-500);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
  }

  .nav-list a:not(.nav-cta) {
    position: relative;
  }

  .nav-list a:not(.nav-cta):hover::after,
  .nav-list a[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .nav-cta {
    min-height: 44px !important;
    margin: 0 0 0 0.25rem;
    padding: 0.65rem 0.9rem !important;
    color: var(--white) !important;
    background: var(--blue-600);
    border: 2px solid var(--blue-600) !important;
    border-radius: var(--radius-sm);
  }

  .nav-cta:hover {
    background: var(--navy-900);
    border-color: var(--navy-900) !important;
  }

  .header-call {
    display: inline-flex;
    min-height: 44px;
    flex: 0 0 auto;
    align-items: center;
    padding: 0.55rem 0.85rem;
    color: var(--navy-900);
    border: 1px solid var(--navy-900);
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
  }

  .header-call:hover {
    color: var(--white);
    background: var(--navy-900);
  }

  .split-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .form-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
  }

  .contact-aside {
    position: sticky;
    top: 7.5rem;
  }

  .mobile-contact-bar {
    display: none;
  }

  .site-footer {
    padding-bottom: 3.5rem;
  }
}

@media (min-width: 1180px) {
  .benefits-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  }

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

  .service-preview,
  .service-preview:nth-child(odd),
  .service-preview:nth-child(even) {
    padding: 2.4rem 2rem;
    border-right: 1px solid var(--cool-200);
  }

  .service-preview:first-child {
    padding-left: 0;
  }

  .service-preview:last-child {
    padding-right: 0;
    border-right: 0;
  }
}

@media (max-width: 919px) {
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 420px) {
  .utility-inner {
    gap: 0.5rem;
  }

  .utility-points {
    font-size: 0.76rem;
  }

  .utility-bar a {
    font-size: 0.78rem;
  }

  .brand {
    flex-basis: 218px;
  }

  .brand img {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
  }

  .brand-label strong {
    font-size: 0.9rem;
  }

  .brand-label small {
    font-size: 0.58rem;
  }

  .actions .button {
    width: 100%;
  }
}

/* 17. Motion preferences and print */
@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;
  }
}

@media print {
  .utility-bar,
  .site-header,
  .mobile-contact-bar,
  .final-cta,
  .site-footer {
    display: none !important;
  }

  body {
    color: #000;
    padding: 0;
  }

  a {
    color: #000;
  }
}
