/* =============================================================
   Master Flooring & Painting — Design System
   Long Island painting contractor (Suffolk & Nassau County, NY)
   ============================================================= */

/* -------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------- */
:root {
  /* Brand — sampled from the Master Flooring & Painting logo */
  --orange: #ff6a13;
  --orange-600: #e2560b;
  --orange-700: #c04708;
  --orange-ink: #a83c04; /* AA-safe orange for small text on light bg */
  --orange-300: #ff9a55;
  --orange-100: #ffe3cf;
  --orange-50: #fff4ec;

  --ink: #101215;
  --ink-800: #171a1f;
  --ink-700: #212630;
  --ink-600: #2e353f;
  --slate: #4d5762;
  --slate-400: #6b7683;
  --slate-300: #9aa3ae;

  --paper: #fbf8f4;
  --paper-2: #f4efe8;
  --paper-3: #ece5db;
  --line: #e3dbd0;
  --line-soft: #efe9e1;
  --white: #fff;

  --green: #1f7a4d;
  --gold: #f2b21a;

  /* Type */
  --font-display: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-eyebrow: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: clamp(1.0625rem, 0.4vw + 0.98rem, 1.1875rem);
  --fs-h6: 1.0625rem;
  --fs-h5: clamp(1.125rem, 0.5vw + 1rem, 1.3125rem);
  --fs-h4: clamp(1.3rem, 0.8vw + 1.1rem, 1.6rem);
  --fs-h3: clamp(1.55rem, 1.3vw + 1.2rem, 2.1rem);
  --fs-h2: clamp(1.95rem, 2.6vw + 1.2rem, 3.1rem);
  --fs-h1: clamp(2.35rem, 4.6vw + 1rem, 4.35rem);

  /* Layout */
  --container: 1240px;
  --container-narrow: 940px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 7.5vw, 7.5rem);

  /* Shape */
  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(16, 18, 21, 0.06);
  --shadow-sm: 0 2px 8px rgba(16, 18, 21, 0.06), 0 1px 2px rgba(16, 18, 21, 0.04);
  --shadow: 0 10px 30px -12px rgba(16, 18, 21, 0.18), 0 2px 8px rgba(16, 18, 21, 0.05);
  --shadow-lg: 0 30px 60px -25px rgba(16, 18, 21, 0.32), 0 8px 20px -12px rgba(16, 18, 21, 0.15);
  --shadow-orange: 0 12px 28px -12px rgba(255, 106, 19, 0.6);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

/* -------------------------------------------------------------
   2. Reset & base
   ------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

img { height: auto; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }
h6 { font-size: var(--fs-h6); }

p { text-wrap: pretty; }

a { color: var(--orange-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-700); }

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

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

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--orange); color: #fff; }

/* -------------------------------------------------------------
   3. Layout helpers
   ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.section--paper { background: var(--paper-2); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: #c9cfd8; }
.section--ink h1, .section--ink h2, .section--ink h3,
.section--ink h4, .section--ink h5, .section--ink h6 { color: #fff; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -70px;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

.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;
}

/* -------------------------------------------------------------
   4. Typography utilities
   ------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-ink);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
}
.section--ink .eyebrow { color: var(--orange-300); }

.lead {
  font-size: var(--fs-lg);
  line-height: 1.65;
  color: var(--slate);
}
h1 + .lead, h2 + .lead, h3 + .lead { margin-top: 1.1rem; }
.section--ink .lead { color: #b9c1cb; }

.section-head { max-width: 720px; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { margin-top: 1.1rem; }

.head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.head-row .section-head { margin-bottom: 0; }

.text-orange { color: var(--orange); }
.u-mark {
  background-image: linear-gradient(transparent 62%, rgba(255, 106, 19, 0.28) 62%);
  padding-inline: 0.06em;
}

/* -------------------------------------------------------------
   5. Buttons
   ------------------------------------------------------------- */
.btn {
  --btn-bg: var(--orange);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
  box-shadow: var(--shadow-orange);
  min-height: 48px;
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  background: var(--orange-600);
  box-shadow: 0 16px 32px -12px rgba(255, 106, 19, 0.7);
}
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--ink { --btn-bg: var(--ink); box-shadow: var(--shadow); }
.btn--ink:hover { background: var(--ink-700); box-shadow: var(--shadow-lg); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
  box-shadow: none;
  background: rgba(255, 255, 255, 0.6);
}
.btn--ghost:hover {
  background: var(--white);
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
  box-shadow: none;
}

.btn--white { --btn-bg: #fff; --btn-fg: var(--ink); box-shadow: var(--shadow); }
.btn--white:hover { background: var(--paper-2); color: var(--ink); }

.btn--lg { padding: 1.15rem 2rem; font-size: 1.02rem; min-height: 56px; }
.btn--sm { padding: 0.6rem 1.05rem; font-size: 0.85rem; min-height: 40px; border-radius: var(--r-xs); }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 28px;
  padding-block: 2px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--orange-ink);
  text-decoration: none;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--ink .link-arrow { color: var(--orange-300); }

/* -------------------------------------------------------------
   6. Header
   ------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: #aab3bf;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  padding-block: 0.35rem;
}
.topbar__left { display: flex; align-items: center; gap: 1.4rem; }
.topbar__item { display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap; }
.topbar__item svg { width: 15px; height: 15px; color: var(--orange); flex: none; }
.topbar a { color: #dfe4ea; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--orange-300); }
.topbar__right { display: flex; align-items: center; gap: 1.25rem; }
.topbar__socials { display: flex; gap: 0.65rem; }
.topbar__socials a {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cfd6de;
}
.topbar__socials a:hover { background: var(--orange); color: #fff; }
.topbar__socials svg { width: 13px; height: 13px; }

@media (max-width: 1023px) {
  .topbar { display: none; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 244, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 6px 24px -14px rgba(16, 18, 21, 0.35); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: auto; height: 46px; }
@media (min-width: 1024px) { .brand img { height: 54px; } }

.primary-nav { display: none; }
@media (min-width: 1024px) {
  .primary-nav { display: block; margin-inline: auto; }
  .primary-nav > ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .primary-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 0.8rem;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink-700);
    text-decoration: none;
    border-radius: var(--r-xs);
    white-space: nowrap;
    transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
  }
  .primary-nav a:hover { color: var(--orange-ink); background: var(--orange-50); }
  .primary-nav a[aria-current="page"] { color: var(--orange-ink); }
  .primary-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
  }
  .primary-nav .nav-item { position: relative; }
  .primary-nav .nav-item > a[aria-current="page"] {
    box-shadow: inset 0 -2px 0 var(--orange);
    border-radius: 0;
  }
  .has-dropdown > button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 0.8rem;
    background: none;
    border: 0;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink-700);
    cursor: pointer;
    border-radius: var(--r-xs);
  }
  .has-dropdown > button:hover { color: var(--orange-ink); background: var(--orange-50); }
  .has-dropdown > button svg { width: 12px; height: 12px; transition: transform 0.2s var(--ease); }
  .has-dropdown.is-open > button svg { transform: rotate(180deg); }

  .dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translate(-50%, 8px);
    width: min(640px, 78vw);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: var(--shadow-lg);
    padding: 0.85rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
  }
  .has-dropdown.is-open .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }
  .dropdown a {
    display: block;
    padding: 0.7rem 0.8rem;
    border-radius: var(--r-sm);
  }
  .dropdown a:hover { background: var(--paper-2); }
  .dropdown strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--ink);
    font-weight: 700;
  }
  .dropdown a:hover strong { color: var(--orange-ink); }
  .dropdown span {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--slate-400);
    line-height: 1.45;
    margin-top: 2px;
  }
}

.header__actions { display: flex; align-items: center; gap: 0.6rem; flex: none; }
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  padding-right: 0.35rem;
}
.header__phone-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--orange-50);
  color: var(--orange-700);
  flex: none;
}
.header__phone-icon svg { width: 18px; height: 18px; }
.header__phone-text { display: none; line-height: 1.15; }
@media (min-width: 1140px) { .header__phone-text { display: block; } }
.header__phone-text small {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--slate-400);
}
.header__phone-text strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.header__phone:hover .header__phone-icon { background: var(--orange); color: #fff; }
.header__cta { display: none; }
@media (min-width: 560px) { .header__cta { display: inline-flex; } }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  cursor: pointer;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle__bars { position: relative; width: 20px; height: 14px; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--paper);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.38s var(--ease), visibility 0.38s;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-nav.is-open { transform: translateY(0); visibility: visible; }
@media (min-width: 1024px) { .mobile-nav { display: none; } }

.mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  border-bottom: 1px solid var(--line);
}
.mobile-nav__close {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  cursor: pointer;
}
.mobile-nav__close svg { width: 18px; height: 18px; }
.mobile-nav__body { padding-block: 1.25rem 2rem; }
.mobile-nav__list { list-style: none; margin: 0; padding: 0; }
.mobile-nav__list > li { border-bottom: 1px solid var(--line-soft); }
.mobile-nav__list > li > a,
.mobile-nav__list > li > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
  padding: 1.05rem 0.15rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.mobile-nav__list > li > a[aria-current="page"] { color: var(--orange-ink); }
.mobile-nav__list button svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); color: var(--slate-400); }
.mobile-nav__list button[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}
.mobile-sub[data-open="true"] { grid-template-rows: 1fr; }
.mobile-sub > div { overflow: hidden; }
.mobile-sub a {
  display: block;
  padding: 0.72rem 0.15rem 0.72rem 1rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  border-left: 2px solid var(--line);
  margin-left: 0.15rem;
}
.mobile-sub a:hover { color: var(--orange-ink); border-color: var(--orange); }
.mobile-sub > div > *:last-child { padding-bottom: 1rem; }
.mobile-nav__foot {
  display: grid;
  gap: 0.7rem;
  padding: 1.25rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--line);
}

/* Sticky mobile action bar */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
  background: rgba(16, 18, 21, 0.96);
  backdrop-filter: blur(10px);
  transform: translateY(110%);
  transition: transform 0.3s var(--ease);
}
.mobile-bar.is-visible { transform: translateY(0); }
@media (min-width: 1024px) { .mobile-bar { display: none; } }
.mobile-bar .btn { padding: 0.8rem 1rem; font-size: 0.9rem; min-height: 48px; }
body.has-mobile-bar { padding-bottom: 0; }
@media (max-width: 1023px) { body { padding-bottom: 0; } }

/* -------------------------------------------------------------
   7. Image placeholders
   ------------------------------------------------------------- */
.ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r);
  background-color: var(--paper-2);
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(255, 106, 19, 0.055) 0 12px,
      rgba(255, 106, 19, 0) 12px 24px
    );
  border: 1.5px dashed var(--orange-300);
  color: var(--slate);
  isolation: isolate;
}
.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
  z-index: -1;
}
.ph--photo {
  background: var(--paper-3);
  background-image: none;
  border-style: solid;
  border-color: rgba(16, 18, 21, 0.08);
}
.ph--photo::after { display: none; }
.ph__inner {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  text-align: center;
  padding: clamp(1.15rem, 3vw, 2rem);
  max-width: 42ch;
}
.ph__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ph__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--white);
  color: var(--orange-600);
  box-shadow: var(--shadow-sm);
}
.ph__icon svg { width: 22px; height: 22px; }
.ph__label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-ink);
}
.ph__num {
  display: inline-block;
  min-width: 2.6em;
  padding: 0.25em 0.55em;
  margin-right: 0.4em;
  border-radius: var(--r-pill);
  background: var(--orange);
  color: #fff;
  font-size: 0.95em;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  vertical-align: middle;
}
.ph__file {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate-400);
}
.ph__file code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95em;
  padding: 0.12em 0.42em;
  border-radius: 4px;
  background: rgba(16, 18, 21, 0.07);
  color: var(--ink-700);
}
.ph__desc {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--slate);
  margin: 0;
}
.ph--sm .ph__icon { width: 36px; height: 36px; }
.ph--sm .ph__icon svg { width: 17px; height: 17px; }
.ph--sm .ph__desc { font-size: 0.78rem; }
.ph--sm .ph__file { font-size: 0.68rem; }

/* Dark variant for use on ink backgrounds */
.ph--dark {
  background-color: #1b1f26;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 106, 19, 0.1) 0 12px,
    rgba(255, 106, 19, 0) 12px 24px
  );
  border-color: rgba(255, 138, 61, 0.45);
}
.ph--dark::after { background: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, 0.06), transparent 60%); }
.ph--dark .ph__icon { background: rgba(255, 255, 255, 0.08); color: var(--orange-300); box-shadow: none; }
.ph--dark .ph__label { color: var(--orange-300); }
.ph--dark .ph__desc { color: #aeb6c1; }
.ph--dark .ph__file { color: #99a2ad; }
.ph--dark .ph__file code { background: rgba(255, 255, 255, 0.12); color: #e6eaee; }

/* Aspect ratios */
.ph--hero { aspect-ratio: 4 / 5; }
.ph--16x9 { aspect-ratio: 16 / 9; }
.ph--4x3 { aspect-ratio: 4 / 3; }
.ph--3x2 { aspect-ratio: 3 / 2; }
.ph--1x1 { aspect-ratio: 1 / 1; }
.ph--3x4 { aspect-ratio: 3 / 4; }
.ph--2x3 { aspect-ratio: 2 / 3; }
.ph--tall { aspect-ratio: 5 / 7; }
.ph--fill { position: absolute; inset: 0; border-radius: inherit; }

/* -------------------------------------------------------------
   8. Hero
   ------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #c9cfd8;
  overflow: hidden;
}

/* Hero background photo layer — shared by .hero and .page-hero.
   Drop an <img> inside .hero-bg and delete the .ph placeholder. */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  opacity: 0.62;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 106, 19, 0.16) 0 14px,
    rgba(255, 106, 19, 0) 14px 28px
  );
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(97deg, rgba(16, 18, 21, 0.97) 0%, rgba(16, 18, 21, 0.94) 36%, rgba(16, 18, 21, 0.76) 60%, rgba(16, 18, 21, 0.92) 100%),
    radial-gradient(80% 60% at 88% 6%, rgba(255, 106, 19, 0.24), transparent 62%);
}
@media (max-width: 1023px) {
  .hero-bg .ph { opacity: 0.35; }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(16, 18, 21, 0.93), rgba(16, 18, 21, 0.97)),
      radial-gradient(90% 50% at 80% 0%, rgba(255, 106, 19, 0.22), transparent 65%);
  }
}
.hero > .container,
.page-hero > .container { position: relative; z-index: 2; }

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(2.25rem, 5vw, 4rem);
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 600;
  color: #e6eaee;
  letter-spacing: 0.01em;
}
.pill svg { width: 14px; height: 14px; color: var(--orange-300); flex: none; }
.pill--light {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink-700);
  box-shadow: var(--shadow-xs);
}
.pill--light svg { color: var(--orange-600); }

.hero h1 { color: #fff; margin-bottom: 1.35rem; }
.hero h1 em {
  font-style: normal;
  color: var(--orange);
  position: relative;
  white-space: nowrap;
}
.hero__sub {
  font-size: clamp(1.05rem, 1vw + 0.85rem, 1.28rem);
  color: #b6bec9;
  max-width: 58ch;
  line-height: 1.62;
}
.hero__points {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  gap: 0.7rem;
}
@media (min-width: 560px) { .hero__points { grid-template-columns: 1fr 1fr; } }
.hero__points li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: #d3d9e1;
}
.hero__points svg { width: 19px; height: 19px; color: var(--orange); flex: none; margin-top: 2px; }

.hero__media { position: relative; }
.hero__media .ph { box-shadow: var(--shadow-lg); }

/* Note describing the hero background photo to be sourced.
   Delete this element once the real photo is in place. */
.hero-note {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  max-width: calc(var(--container) - 2 * var(--gutter));
  border: 1.5px dashed rgba(255, 138, 61, 0.5);
  border-radius: var(--r);
  background: rgba(255, 106, 19, 0.07);
  font-size: 0.82rem;
  line-height: 1.55;
  color: #b3bbc5;
}
.hero-note .ph__icon { width: 32px; height: 32px; background: rgba(255, 255, 255, 0.08); color: var(--orange-300); box-shadow: none; flex: none; }
.hero-note .ph__icon svg { width: 16px; height: 16px; }
.hero-note strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-300);
  margin-bottom: 0.2rem;
}
.hero-note .ph__file { display: block; margin-top: 0.4rem; color: #99a2ad; }
.hero-note .ph__file code { background: rgba(255, 255, 255, 0.12); color: #e6eaee; }
.hero__angi {
  position: absolute;
  right: -8px;
  bottom: -18px;
  width: clamp(96px, 14vw, 132px);
  padding: 0.65rem;
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  transform: rotate(-4deg);
}
.hero__angi img { width: 100%; }

/* Quote card (hero form) */
.quote-card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.4rem, 3vw, 2.15rem);
  color: var(--slate);
  position: relative;
  overflow: hidden;
}
.quote-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--orange), var(--orange-300));
}
.quote-card h2 { font-size: clamp(1.4rem, 1.6vw + 1rem, 1.85rem); margin-bottom: 0.5rem; }
.quote-card__note { font-size: 0.88rem; color: var(--slate-400); margin-bottom: 1.35rem; }
.quote-card__foot {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.85rem;
  color: var(--slate-400);
  text-align: center;
}
.quote-card__foot a { font-weight: 700; }

/* -------------------------------------------------------------
   9. Page hero (interior pages)
   ------------------------------------------------------------- */
.page-hero {
  position: relative;
  background: var(--ink);
  color: #b9c1cb;
  padding-block: clamp(2.75rem, 5vw, 4.5rem) clamp(3rem, 5.5vw, 5rem);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(70% 70% at 88% 0%, rgba(255, 106, 19, 0.2), transparent 62%);
}
.page-hero .hero-note { margin-top: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 0; }
.page-hero h1 { color: #fff; }
.page-hero p { max-width: 62ch; margin-top: 1.15rem; font-size: var(--fs-lg); }
.page-hero__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .page-hero__grid { grid-template-columns: 1.15fr 0.85fr; } }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  font-size: 0.82rem;
  color: var(--slate-300);
}
.breadcrumbs li { display: flex; align-items: center; gap: 0.4rem; }
.breadcrumbs li + li::before { content: "/"; color: rgba(255, 255, 255, 0.3); }
.breadcrumbs a { color: #cfd6de; text-decoration: none; }
.breadcrumbs a:hover { color: var(--orange-300); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--orange-300); }

/* -------------------------------------------------------------
   10. Trust strip
   ------------------------------------------------------------- */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line-soft);
}
.trust-strip__inner {
  display: grid;
  gap: 1.25rem;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 900px) { .trust-strip__inner { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust-item { display: flex; align-items: center; gap: 0.85rem; }
.trust-item__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--orange-50);
  color: var(--orange-700);
  flex: none;
}
.trust-item__icon svg { width: 22px; height: 22px; }
.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.2;
}
.trust-item span { font-size: 0.82rem; color: var(--slate-400); }

/* -------------------------------------------------------------
   11. Google review badge
   ------------------------------------------------------------- */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 1.25rem 0.8rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.google-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.google-badge__logo { width: 30px; height: 30px; flex: none; }
.google-badge__body { line-height: 1.25; }
.google-badge__top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--ink);
}
.google-badge__sub { font-size: 0.78rem; color: var(--slate-400); }
.google-badge--dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.google-badge--dark:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.google-badge--dark .google-badge__top { color: #fff; }
.google-badge--dark .google-badge__sub { color: #a9b2bd; }

.stars { display: inline-flex; gap: 1px; color: var(--gold); }
.stars svg { width: 15px; height: 15px; }
.stars--lg svg { width: 22px; height: 22px; }

/* Review count placeholder styling — replace value in assets/js/main.js */
.rc-placeholder {
  background: rgba(255, 106, 19, 0.14);
  border-radius: 4px;
  padding-inline: 0.2em;
  font-weight: 700;
}

/* Big review panel */
.review-hero {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.6rem, 3.5vw, 2.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
@media (min-width: 820px) { .review-hero { grid-template-columns: auto 1px 1fr auto; } }
.review-hero__score { text-align: center; }
.review-hero__score .num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.04em;
}
.review-hero__divider { background: var(--line); }
@media (max-width: 819px) { .review-hero__divider { height: 1px; } }
.review-hero__badges { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.angi-badge {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  text-decoration: none;
  color: var(--ink);
}
.angi-badge img { width: 46px; flex: none; }
.angi-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  line-height: 1.2;
}
.angi-badge span { font-size: 0.76rem; color: var(--slate-400); }

/* -------------------------------------------------------------
   12. Cards & grids
   ------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); grid-template-columns: 1fr; }
.grid > *, .split > *, .area-grid > *, .steps > *, .testimonials > * { min-width: 0; }
@media (min-width: 700px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--orange-100);
}
.card__media { position: relative; }
.card__media .ph { border-radius: 0; border-width: 0 0 1.5px 0; }
.card__body { padding: clamp(1.15rem, 2vw, 1.6rem); display: flex; flex-direction: column; flex: 1; }
.card__body h3, .card__body h4 { margin-bottom: 0.55rem; }
.card__body p { font-size: 0.94rem; }
.card__body .link-arrow { margin-top: auto; padding-top: 1.1rem; }
.card__tag {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  z-index: 2;
  padding: 0.35rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

/* Service card with paint-chip accent */
.service-card { position: relative; }
.service-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--orange), var(--orange-300));
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  z-index: 3;
}
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--orange-50);
  color: var(--orange-700);
  margin-bottom: 1.05rem;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.service-card__icon svg { width: 25px; height: 25px; }
.service-card:hover .service-card__icon { background: var(--orange); color: #fff; }
.service-card__list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
}
.service-card__list li { display: flex; gap: 0.5rem; align-items: flex-start; }
.service-card__list svg { width: 15px; height: 15px; color: var(--orange); flex: none; margin-top: 4px; }

/* Feature list */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.96rem; }
.check-list svg { width: 20px; height: 20px; color: var(--orange); flex: none; margin-top: 2px; }
.check-list--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0.75rem 1.5rem; }
.section--ink .check-list li { color: #c5ccd5; }

/* Split section */
.split {
  display: grid;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--media-first > *:first-child { order: -1; }
  .split--wide-text { grid-template-columns: 1.1fr 0.9fr; }
}
.split__media { position: relative; }
.split__media .ph { box-shadow: var(--shadow); }

.media-stack { position: relative; padding-bottom: clamp(2.5rem, 6vw, 4rem); padding-right: clamp(2rem, 5vw, 3.5rem); }
.media-stack__main { border-radius: var(--r-lg); overflow: hidden; }
/* Keep the placeholder caption clear of the overlapping inset image. */
.media-stack__main.ph { align-items: flex-start; }
.media-stack__main.ph .ph__inner { padding-top: clamp(1.5rem, 6%, 3rem); }
.media-stack__inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(150px, 38%, 250px);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--paper);
}
.section--white .media-stack__inset { border-color: var(--white); }
.section--ink .media-stack__inset { border-color: var(--ink); }

.stat-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--orange);
  color: #fff;
  padding: 1rem 1.35rem;
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  max-width: 210px;
}
.stat-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-badge span { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.92; }

/* -------------------------------------------------------------
   13. Process steps
   ------------------------------------------------------------- */
.steps { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-top: 1.75rem; }
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--line);
}
.step__num {
  counter-increment: step;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--orange-ink);
  display: block;
  margin-bottom: 0.65rem;
}
.section--ink .step::before { background: rgba(255, 255, 255, 0.14); }
.section--ink .step__num { color: var(--orange-300); }
.step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.93rem; }

/* -------------------------------------------------------------
   14. Testimonials
   ------------------------------------------------------------- */
.testimonials { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
@media (min-width: 780px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-xs);
}
.testimonial blockquote { margin: 0; font-size: 0.98rem; color: var(--ink-700); line-height: 1.65; flex: 1; }
.testimonial__foot { display: flex; align-items: center; gap: 0.75rem; padding-top: 0.9rem; border-top: 1px solid var(--line-soft); }
.testimonial__avatar {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  flex: none;
}
.testimonial__name { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 0.95rem; line-height: 1.2; }
.testimonial__meta { font-size: 0.78rem; color: var(--slate-400); }

/* -------------------------------------------------------------
   15. Before / after slider
   ------------------------------------------------------------- */
.ba {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  touch-action: pan-y;
  user-select: none;
  aspect-ratio: 3 / 2;
  background: var(--paper-2);
}
.ba--4x3 { aspect-ratio: 4 / 3; }
.ba__layer { position: absolute; inset: 0; }
.ba__layer .ph { position: absolute; inset: 0; border-radius: 0; border: 0; height: 100%; }
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__tag {
  position: absolute;
  top: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 3;
  pointer-events: none;
}
.ba__tag--before { left: 1rem; background: rgba(16, 18, 21, 0.82); color: #fff; }
.ba__tag--after { right: 1rem; background: var(--orange); color: #fff; }
.ba__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 4;
  box-shadow: 0 0 0 1px rgba(16, 18, 21, 0.12);
}
.ba__grip {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  display: grid;
  place-items: center;
  cursor: ew-resize;
  box-shadow: var(--shadow);
  color: var(--ink);
}
.ba__grip svg { width: 22px; height: 22px; }
.ba__range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}

/* -------------------------------------------------------------
   16. Gallery
   ------------------------------------------------------------- */
.gallery { display: grid; gap: clamp(0.9rem, 1.8vw, 1.4rem); grid-template-columns: 1fr; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gallery__item {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}
.gallery__item .ph { border: 0; border-radius: 0; }
.gallery__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.05rem;
  border-top: 1px solid var(--line-soft);
}
.gallery__caption strong { font-family: var(--font-display); font-size: 0.92rem; color: var(--ink); }
.gallery__caption span { font-size: 0.78rem; color: var(--slate-400); white-space: nowrap; }
.gallery__item--wide { grid-column: span 2; }
@media (max-width: 700px) { .gallery__item--wide { grid-column: span 1; } }

/* Filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.chip {
  padding: 0.55rem 1.05rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-700);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-decoration: none;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* -------------------------------------------------------------
   17. FAQ accordion
   ------------------------------------------------------------- */
.faq { display: grid; gap: 0.75rem; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.faq__item.is-open { border-color: var(--orange-100); box-shadow: var(--shadow-sm); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: 1.15rem 1.35rem;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.35;
}
.faq__icon {
  position: relative;
  width: 22px; height: 22px;
  flex: none;
  border-radius: 50%;
  background: var(--orange-50);
  display: grid;
  place-items: center;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--orange-700);
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.faq__icon::before { width: 10px; height: 2px; }
.faq__icon::after { width: 2px; height: 10px; }
.faq__item.is-open .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 1.35rem 1.35rem; font-size: 0.95rem; margin: 0; }
.faq__a p + p { padding-top: 0.75rem; }

/* -------------------------------------------------------------
   18. Service areas
   ------------------------------------------------------------- */
.area-grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
@media (min-width: 860px) { .area-grid { grid-template-columns: 1fr 1fr; } }
.area-card {
  padding: clamp(1.35rem, 2.5vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.area-card h3 { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem; }
.area-card h3 svg { width: 22px; height: 22px; color: var(--orange); flex: none; }
.town-list {
  list-style: none;
  padding: 0;
  margin: 1.15rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.town-list li {
  font-size: 0.82rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--paper-2);
  color: var(--slate);
  border: 1px solid var(--line-soft);
}
.section--ink .town-list li { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.1); color: #c2c9d2; }

/* -------------------------------------------------------------
   19. Forms
   ------------------------------------------------------------- */
.form-grid { display: grid; gap: 0.9rem; }
@media (min-width: 560px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.35rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-700);
}
.field label .req { color: var(--orange-600); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.82rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s var(--ease);
  min-height: 48px;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7683' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 106, 19, 0.15);
}
.field input::placeholder, .field textarea::placeholder { color: var(--slate-300); }
.field .error-msg { font-size: 0.78rem; color: #c0392b; font-weight: 600; display: none; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #c0392b; background: #fff6f5; }
.field.has-error .error-msg { display: block; }

.consent {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--slate-400);
  line-height: 1.5;
  cursor: pointer;
}
.consent input {
  width: 24px; height: 24px;
  min-height: 0;
  margin-top: 0;
  flex: none;
  accent-color: var(--orange);
  cursor: pointer;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  line-height: 1.55;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: #eaf6ef; border: 1px solid #b9e0c9; color: #17603c; }
.form-status--err { background: #fdeeec; border: 1px solid #f3c4bd; color: #99271b; }
.form-status strong { display: block; font-family: var(--font-display); margin-bottom: 0.2rem; }

/* Contact split */
.contact-grid { display: grid; gap: clamp(1.75rem, 3.5vw, 3rem); align-items: start; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1fr 0.85fr; } }
.contact-grid > * { min-width: 0; }
.contact-methods { display: grid; gap: 0.85rem; }
.contact-method {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  color: var(--slate);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
a.contact-method:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--orange-100); color: var(--slate); }
.contact-method__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--orange-50);
  color: var(--orange-700);
  flex: none;
}
.contact-method__icon svg { width: 21px; height: 21px; }
.contact-method strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.contact-method span { font-size: 0.86rem; color: var(--slate-400); }

/* -------------------------------------------------------------
   20. CTA band
   ------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--ink);
  color: #c3cad3;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 15% 100%, rgba(255, 106, 19, 0.28), transparent 60%),
    radial-gradient(50% 70% at 95% 0%, rgba(255, 106, 19, 0.16), transparent 60%);
  z-index: -1;
}
.cta-band__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
}
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.2fr auto; } }
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: 0.9rem; font-size: var(--fs-lg); color: #b6bec9; max-width: 55ch; }
.cta-band .btn-row { margin-top: 0; }
@media (min-width: 900px) { .cta-band .btn-row { flex-direction: column; align-items: stretch; } }

.cta-strip {
  background: var(--orange);
  color: #fff;
}
.cta-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: 1.5rem;
}
.cta-strip strong { font-family: var(--font-display); font-size: clamp(1.05rem, 1.5vw, 1.35rem); color: #fff; }
.cta-strip p { font-size: 0.9rem; opacity: 0.92; margin-top: 0.2rem; }

/* -------------------------------------------------------------
   21. Footer
   ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #98a2ae; font-size: 0.92rem; }
.footer__top {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  padding-block: clamp(3rem, 5vw, 4.5rem) clamp(2rem, 3vw, 3rem);
}
@media (min-width: 760px) { .footer__top { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (min-width: 1080px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer__brand img { height: 58px; width: auto; margin-bottom: 1.1rem; }
.footer__brand p { max-width: 38ch; font-size: 0.92rem; line-height: 1.65; }
.footer__badges { display: flex; align-items: center; gap: 0.85rem; margin-top: 1.5rem; flex-wrap: wrap; }
.footer__badges img { width: 62px; background: #fff; border-radius: 10px; padding: 6px; }
.site-footer h3 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
}
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer__list a { color: #a8b2be; text-decoration: none; }
.footer__list a:hover { color: var(--orange-300); }
.footer__contact { display: grid; gap: 1rem; }
.footer__contact a { color: #fff; text-decoration: none; font-weight: 600; overflow-wrap: anywhere; display: inline-block; padding-block: 3px; }
.footer__contact a:hover { color: var(--orange-300); }
.footer__contact small { display: block; font-size: 0.76rem; color: #7d8894; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin-bottom: 0.15rem; }
.footer__socials { display: flex; gap: 0.6rem; margin-top: 0.35rem; }
.footer__socials a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #cfd6de;
}
.footer__socials a:hover { background: var(--orange); color: #fff; }
.footer__socials svg { width: 17px; height: 17px; }
.footer__areas {
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  line-height: 1.9;
  color: #7f8a96;
}
.footer__areas strong { color: #c3cbd4; font-weight: 600; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-block: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #79848f;
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer__bottom a { color: #a8b2be; text-decoration: none; }
.footer__bottom a:hover { color: var(--orange-300); }
@media (max-width: 1023px) { .site-footer { padding-bottom: 72px; } }

/* -------------------------------------------------------------
   22. Prose (legal pages)
   ------------------------------------------------------------- */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.35rem, 1.6vw + 1rem, 1.75rem); margin-top: 2.5rem; margin-bottom: 0.85rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.75rem; margin-bottom: 0.6rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.05rem; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li { margin-bottom: 0.4rem; }
.prose > *:first-child { margin-top: 0; }

/* -------------------------------------------------------------
   23. Animations
   ------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }

body.no-scroll { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------
   24. Print
   ------------------------------------------------------------- */
@media print {
  .site-header, .mobile-bar, .mobile-nav, .topbar, .cta-band, .cta-strip { display: none !important; }
  body { background: #fff; color: #000; }
}
