/* ==========================================================================
   Prestige Roofing Company — Premium Design System
   Mobile-first, conversion-focused, accessible
   Palette: Brand Black #0a0a0a · Golden Yellow #ffb300 · Light Gold #ffd24d · White / Warm Off-White #f8f6ef
   ========================================================================== */

:root {
  /* Brand palette: black, golden yellow, white (matches original site) */
  --navy: #0a0a0a;         /* brand black */
  --navy-2: #161616;       /* dark charcoal */
  --steel: #3a3a3a;
  --slate: #6f6f6f;
  --orange: #ffb300;       /* brand golden yellow (bright, clean, reads as gold) */
  --orange-dark: #e69c00;  /* deeper gold for hover / gradient */
  --orange-light: #ffd24d; /* light gold accent on dark backgrounds */
  --cream: #f8f6ef;        /* warm off-white */
  --white: #ffffff;
  --line: #e7e2d6;
  --success: #1e9e6a;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(10, 10, 10, 0.10);
  --shadow-lg: 0 18px 48px rgba(10, 10, 10, 0.18);
  --maxw: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--steel);
  background: var(--white);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; font-weight: 800; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons / CTAs ---------- */
.btn {
  display: inline-block;
  background: var(--orange);
  color: #161616;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
  text-align: center;
}
.btn:hover { background: var(--orange-dark); color: #161616; text-decoration: none; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--orange-light); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--cream); }
.btn-block { display: block; width: 100%; }
.btn-lg { padding: 17px 34px; font-size: 1.1rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); font-size: 1.15rem; }
.brand .brand-mark {
  background: var(--navy);
  color: var(--orange);
  width: 42px; height: 42px;
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 1.3rem;
}
.brand small { display: block; font-size: 0.7rem; color: var(--slate); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.brand img.brand-logo { display: block; height: 52px; width: auto; max-width: 240px; object-fit: contain; }

.nav { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav a {
  color: var(--navy);
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.95rem;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--cream); color: var(--orange-dark); text-decoration: none; }
.nav .nav-cta { background: var(--orange); color: #161616 !important; font-weight: 800; padding: 12px 18px !important; border-radius: 8px !important; }
.nav .nav-cta:hover { background: var(--orange-dark); color: #161616 !important; }

/* Non-clickable nav label (e.g. "Blog" - placeholder, no page yet) */
.nav .nav-text {
  color: var(--navy);
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.95rem;
  display: inline-block;
  cursor: default;
}
.nav .nav-text:hover { background: var(--cream); color: var(--orange-dark); text-decoration: none; }

/* Nav dropdown (Services) */
.nav .nav-item { position: relative; }
.nav .dropdown-toggle {
  background: none;
  border: 0;
  font: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.nav .dropdown-toggle:hover,
.nav .dropdown-toggle[aria-current="page"],
.nav .has-dropdown:hover .dropdown-toggle,
.nav .has-dropdown.open .dropdown-toggle { background: var(--cream); color: var(--orange-dark); }
.nav .caret { font-size: 0.85rem; color: var(--orange); transition: transform 0.2s; }
.nav .has-dropdown.open .caret { transform: rotate(180deg); }
.nav .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  list-style: none;
  z-index: 120;
}
.nav .has-dropdown:hover .dropdown,
.nav .has-dropdown:focus-within .dropdown,
.nav .has-dropdown.open .dropdown { display: block; }
.nav .dropdown li { margin: 0; }
.nav .dropdown a { display: block; padding: 10px 12px; border-radius: 6px; font-size: 0.92rem; white-space: nowrap; }
.nav .dropdown a:hover { background: var(--cream); color: var(--orange-dark); }

/* Two-column categorized Services dropdown (desktop) */
.nav .dropdown--cols {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  min-width: 460px;
  padding: 14px;
}
.nav .has-dropdown:hover .dropdown--cols,
.nav .has-dropdown:focus-within .dropdown--cols,
.nav .has-dropdown.open .dropdown--cols { display: grid; }
.nav .dropdown-col { min-width: 0; }
.nav .dropdown-col + .dropdown-col { border-left: 1px solid var(--line); padding-left: 4px; }
.nav .dropdown-heading {
  margin: 0 0 4px;
  padding: 2px 12px 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}
.nav .dropdown-list { list-style: none; }
.nav .dropdown-list a { display: block; padding: 9px 12px; border-radius: 6px; font-size: 0.92rem; white-space: nowrap; }
.nav .dropdown-list a:hover { background: var(--cream); color: var(--orange-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.7rem;
  color: var(--navy);
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .brand img.brand-logo { height: 44px; }
  .nav {
    display: none;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    box-shadow: var(--shadow-lg);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); }
  .nav .nav-text { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .nav .nav-item { width: 100%; }
  .nav .dropdown-toggle { width: 100%; justify-content: space-between; padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .dropdown { position: static; box-shadow: none; border: 0; padding: 0 0 6px 14px; min-width: 0; }
  .nav .has-dropdown.open .dropdown { display: block; }
  .nav .dropdown a { border-bottom: 0; padding: 10px 8px; white-space: normal; }
  .nav .dropdown--cols { display: none; grid-template-columns: 1fr; gap: 8px; min-width: 0; padding: 0 0 6px 14px; }
  .nav .has-dropdown.open .dropdown--cols { display: grid; }
  .nav .dropdown-col + .dropdown-col { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
  .nav .dropdown-list a { padding: 10px 8px; white-space: normal; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 70%);
  color: #fff;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-video::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.82) 0%, rgba(10,10,10,0.55) 100%);
}
.hero::after {
  content: "";
  position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,179,0,0.20), transparent 70%);
  border-radius: 50%;
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .hero-video video { display: none; }
}
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero h1 .accent { color: var(--orange-light); }
.hero p.lead { font-size: 1.15rem; color: #d9d4c8; max-width: 620px; margin-bottom: 24px; }
.hero-trust .trust-item .star { color: var(--orange-light); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero-trust { display: flex; gap: 24px; margin-top: 26px; flex-wrap: wrap; }
.hero-trust .trust-item { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; }
.hero-trust .trust-item .star { color: var(--orange-light); }

.hero-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-lg);
  color: var(--steel);
}
.hero-form h3 { color: var(--navy); margin-bottom: 4px; font-size: 1.3rem; }
.hero-form p { font-size: 0.9rem; margin-bottom: 14px; }

@media (max-width: 860px) {
  .hero { padding: 48px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Forms ---------- */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-weight: 700; font-size: 0.85rem; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.98rem;
  font-family: inherit;
  background: var(--cream);
  color: var(--navy);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: 2px solid var(--orange);
  border-color: var(--orange);
  background: #fff;
}
.form-note { font-size: 0.8rem; color: var(--slate); margin-top: 10px; }
.form-success { display: none; background: #e9f9f1; color: var(--success); border: 1px solid #b9e8d2; padding: 12px 14px; border-radius: 8px; font-weight: 600; margin-bottom: 12px; }
.form-success.show { display: block; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section--slim { padding: 32px 0; }
.section--slim .badges { gap: 12px; }
.section--slim .badge-pill { padding: 8px 16px; font-size: 0.86rem; }
.section.cream { background: var(--cream); }
.section.navy { background: var(--navy); color: #d9d4c8; }
.section.navy h2, .section.navy h3 { color: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-weight: 800; color: var(--orange); font-size: 0.8rem; margin-bottom: 8px; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 { margin-bottom: 10px; }
.section-head p { font-size: 1.05rem; }

/* ---------- Feature / value props ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card .icon { font-size: 2rem; margin-bottom: 12px; }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }
.card.center { text-align: center; }
.card .btn { margin-top: 14px; }

/* ---------- Why Choose Us — featured stat card + hover lift ---------- */
.why-us .card { transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.why-us .card:not(.card--feature):hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--orange-light); }
.why-us .card:not(.card--feature):hover .icon { color: var(--orange); }
.card--feature {
  border: 2px solid var(--orange);
  background: linear-gradient(180deg, #fffdf4, #fff6df);
}
.card.card--feature .icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--orange); color: var(--navy);
}
.card.card--feature .icon .svg-ico { width: 42px; height: 42px; }
.card--feature h3 .feature-stat { color: var(--orange-dark); }
.why-us .card--feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
@media (prefers-reduced-motion: reduce) {
  .why-us .card { transition: none; }
  .why-us .card:hover { transform: none; }
}

/* ---------- Services grid ---------- */
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.service-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { flex: 1; font-size: 0.95rem; }
.service-card .btn { align-self: flex-start; }
.service-card .thumb { background: var(--navy); color: var(--orange); font-size: 2.2rem; padding: 22px; text-align: center; }
.service-card .service-card__img,
.service-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform 0.4s; }
.service-card:hover .service-card__img,
.service-card:hover > img { transform: scale(1.05); }

/* ---------- Services — featured spotlight + photo mosaic (home) ---------- */
.service-feature {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 26px;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.25s, transform 0.25s;
}
.service-feature:hover { box-shadow: 0 22px 56px rgba(10, 10, 10, 0.22); transform: translateY(-3px); }
.service-feature__img { width: 50%; object-fit: cover; aspect-ratio: 4 / 3; }
.service-feature__body { flex: 1; padding: 34px 36px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.service-feature__body h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 12px 0 12px; }
.service-feature__body p { font-size: 1.05rem; margin-bottom: 16px; }
.service-feature__checks { list-style: none; margin: 0 0 24px; padding: 0; }
.service-feature__checks li { padding-left: 26px; position: relative; margin-bottom: 8px; font-weight: 600; color: var(--navy); }
.service-feature__checks li::before { content: "✓"; position: absolute; left: 0; color: var(--orange-dark); font-weight: 800; }
.tag { display: inline-block; background: var(--orange); color: #161616; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; padding: 5px 11px; border-radius: 4px; }

/* ---------- Services — roof systems (choose your material) ---------- */
.roof-systems { margin-top: 40px; }

.sub-head { max-width: 660px; margin: 0 0 24px; }
.sub-head h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 8px; }

.roof-systems__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .roof-systems__grid { grid-template-columns: 1fr; } }

.system-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.25s, transform 0.25s;
}
.system-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.system-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.4s; }
.system-card:hover img { transform: scale(1.05); }
.system-card__body { padding: 20px 22px 22px; }
.system-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--orange);
  font-weight: 800;
  font-size: 0.8rem;
  margin-bottom: 12px;
}
.system-card h4 { font-size: 1.15rem; margin-bottom: 6px; }
.system-card p { font-size: 0.92rem; margin-bottom: 14px; }
.system-card .more { font-weight: 800; color: var(--orange-dark); font-size: 0.9rem; }
.system-card .more .arrow { display: inline-block; transition: transform 0.2s; }
.system-card:hover .more .arrow { transform: translateX(4px); }

/* ---------- Services — more services (homeowner band + commercial panel) ---------- */
.more-services { margin-top: 40px; }
.more-services__row { display: grid; grid-template-columns: 1fr 0.9fr; gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .more-services__row { grid-template-columns: 1fr; } }

.more-services__band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ms-cell {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: background 0.2s;
}
.ms-cell:hover { background: var(--cream); text-decoration: none; }
.ms-cell:nth-child(2), .ms-cell:nth-child(4) { border-left: 1px solid var(--line); }
.ms-cell:nth-child(3), .ms-cell:nth-child(4) { border-top: 1px solid var(--line); }
.ms-cell__img { width: 100%; height: 132px; object-fit: cover; display: block; transition: transform 0.4s; }
.ms-cell:hover .ms-cell__img { transform: scale(1.05); }
/* Photo framing: object-position picks which part of the source photo shows in the 132px crop (1=Inspection, 2=Repair, 4=Maintenance) */
.more-services__band .ms-cell:nth-child(1) .ms-cell__img { object-position: 50% 65%; }
.more-services__band .ms-cell:nth-child(2) .ms-cell__img { object-position: 50% 35%; }
.more-services__band .ms-cell:nth-child(4) .ms-cell__img { object-position: 50% 35%; }
.ms-cell__body { padding: 16px 18px 18px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.ms-cell__title { font-weight: 800; color: var(--navy); font-size: 1.05rem; line-height: 1.25; }
.ms-cell__desc { font-size: 0.86rem; color: var(--slate); margin-top: 6px; flex: 1; }
.ms-cell__more { font-weight: 800; color: var(--orange-dark); font-size: 0.92rem; margin-top: 12px; }
.ms-cell__more .arrow { display: inline-block; transition: transform 0.2s; }
.ms-cell:hover .ms-cell__more .arrow { transform: translateX(4px); }

@media (max-width: 560px) {
  .ms-cell__img { height: 96px; }
  .ms-cell__body { padding: 12px 14px 14px; }
  .ms-cell__title { font-size: 0.98rem; }
  .ms-cell__desc { font-size: 0.8rem; }
}

.free {
  display: inline-block;
  background: var(--orange);
  color: #161616;
  font-style: normal;
  font-weight: 800;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: 2px;
}

.commercial-panel {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.25s, transform 0.25s;
}
.commercial-panel:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.commercial-panel__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.commercial-panel__body { padding: 20px 22px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; flex: 1; }
.commercial-panel h4 { font-size: 1.2rem; }
.commercial-panel p { font-size: 0.92rem; flex: 1; margin-bottom: 0; }
.commercial-panel .btn { margin-top: 10px; padding: 12px 22px; font-size: 0.95rem; }

@media (max-width: 760px) {
  .service-feature { flex-direction: column; }
  .service-feature__img { width: 100%; }
  .service-feature__body { padding: 26px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-feature, .system-card, .system-card img, .system-card .more .arrow, .ms-cell, .ms-cell .ms-cell__img, .ms-cell .ms-cell__more .arrow, .commercial-panel { transition: none; transform: none; }
}

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat .num { font-size: 2.4rem; font-weight: 800; color: var(--orange); }
.stat .lbl { font-weight: 700; color: var(--navy); }
.section.navy .stat .lbl { color: #fff; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; } }
.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.review .stars { color: var(--orange); margin-bottom: 10px; font-size: 1.05rem; }
.review blockquote { font-size: 0.95rem; font-style: italic; color: var(--steel); margin-bottom: 14px; flex: 1; }
.review .author { font-weight: 800; color: var(--navy); font-size: 0.9rem; }
.review .meta { font-size: 0.78rem; color: var(--slate); }
/* Review head: avatar slot (Google G placeholder now, real photo in Phase 2) + name + meta */
/* Author row sits BELOW the review text: visual order = stars → quote → author row */
.review .stars { order: 1; }
.review blockquote { order: 2; }
.review__head { order: 3; display: flex; align-items: center; gap: 12px; margin-top: 14px; margin-bottom: 0; }
.review__avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.review__avatar .g-icon { width: 26px; height: 26px; }
.review__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; } /* Phase 2: real avatar photo */
.review__who { min-width: 0; }
.review__who .author { margin: 0 0 2px; }
.review__who .meta { margin: 0; }
.review__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Process (shared base — service pages) ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 860px) { .process { grid-template-columns: 1fr; } }
.process .step { text-align: center; padding: 20px 12px; }
.process .step .num {
  width: 48px; height: 48px; margin: 0 auto 12px;
  background: var(--orange); color: #161616;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.2rem;
}
.process .step h3 { font-size: 1rem; margin-bottom: 6px; }
.process .step p { font-size: 0.85rem; margin: 0; }

/* ---------- Process (homepage timeline) ---------- */
.process--timeline { gap: 18px; grid-template-columns: repeat(6, 1fr); position: relative; }
.process--timeline .step { position: relative; text-align: left; padding: 0 2px; }
.process--timeline .num {
  width: 48px; height: 48px; margin: 0 0 12px;
  font-size: 1.1rem;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(10, 10, 10, 0.14);
  position: relative;
  z-index: 1;
}
.process--timeline .step h3 { font-size: 0.97rem; margin-bottom: 6px; }
.process--timeline .step p { font-size: 0.84rem; margin-bottom: 0; }
/* desktop connector line behind the numbered nodes */
.process--timeline::before {
  content: "";
  position: absolute;
  top: 24px; left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange-light) 0%, var(--orange) 50%, var(--orange-light) 100%);
  z-index: 0;
}

/* mobile: vertical timeline rail */
@media (max-width: 860px) {
  .process--timeline { gap: 26px; grid-template-columns: 1fr; }
  .process--timeline::before {
    top: 24px; bottom: 24px; left: 23px; right: auto;
    width: 2px; height: auto;
    background: linear-gradient(var(--orange-light), var(--orange));
  }
  .process--timeline .step { padding: 0 0 0 64px; }
  .process--timeline .num { position: absolute; left: 0; top: 0; margin: 0; }
}

/* closing CTA */
.process__cta {
  margin-top: 40px;
  padding: 26px 32px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.process__cta-title { margin: 0 0 4px; font-size: 1.1rem; font-weight: 800; color: var(--navy); }
.process__cta-note { margin: 0; font-size: 0.85rem; font-weight: 600; color: var(--steel); }

/* ---------- Trust badges ---------- */
.badges { display: flex; gap: 18px; align-items: center; justify-content: center; flex-wrap: wrap; }
.badge-pill {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 10px 18px;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
/* Verified pills: links to live profiles get a refined hover affordance */
.badges a.badge-pill {
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s, color 0.2s;
}
.badges a.badge-pill:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.badges a.badge-pill .svg-ico { color: var(--orange-dark); }
.badge-pill .stars { color: var(--orange); font-size: 0.85rem; letter-spacing: 0.02em; }

/* ---------- Trust logo marquee (pure CSS, right-to-left) ---------- */
.trust-marquee {
  margin-top: 0;
  max-width: 1100px;
  margin-inline: auto;
  overflow: hidden;
  padding: 40px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.trust-marquee__track {
  display: flex;
  width: max-content;
  animation: trust-marquee 32s linear infinite;
  will-change: transform;
}
.trust-marquee:hover .trust-marquee__track,
.trust-marquee:focus-within .trust-marquee__track { animation-play-state: paused; }
.trust-marquee__group {
  display: flex;
  align-items: center;
  column-gap: 64px;
  row-gap: 20px;
  padding-right: 64px;
}
.trust-marquee__item {
  display: inline-flex;
  align-items: center;
  flex: none;
  color: var(--navy);
  transition: opacity 0.2s, transform 0.2s;
  text-decoration: none;
}
a.trust-marquee__item:hover,
a.trust-marquee__item:focus {
  opacity: 0.75;
  transform: translateY(-2px);
  text-decoration: none;
}
.trust-marquee__item .trust-logo { height: 88px; width: auto; flex: none; object-fit: contain; }
.trust-marquee__item .trust-logo--member { max-width: 240px; height: auto; max-height: 88px; }

@keyframes trust-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .trust-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .trust-marquee__track {
    animation: none;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
  }
  .trust-marquee__group[aria-hidden="true"] { display: none; }
}

@media (max-width: 720px) {
  .trust-marquee__group { column-gap: 36px; padding-right: 36px; }
  .trust-marquee__item .trust-logo { height: 64px; }
  .trust-marquee__item .trust-logo--member { max-width: 180px; max-height: 64px; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--orange);
  font-weight: 800;
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--orange-dark); }
.faq-item[open] summary { color: var(--orange-dark); }
.faq-item .faq-body { padding: 0 20px 18px; font-size: 0.98rem; }
.faq-item[open] .faq-body { animation: faq-reveal 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes faq-reveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .faq-item[open] .faq-body { animation: none; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #161616;
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 { color: #161616; margin-bottom: 10px; }
.cta-band p { font-size: 1.1rem; margin-bottom: 24px; }
.cta-band .btn-light { font-size: 1.05rem; }

/* ---------- Location grid (service-area pages) ---------- */
.location-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .location-grid { grid-template-columns: 1fr 1fr; } }
.location-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.location-card:hover { border-color: var(--orange); box-shadow: var(--shadow); text-decoration: none; }
.location-card .arrow { color: var(--orange); }

/* ---------- Location grid compact (homepage) ---------- */
.location-grid--compact { grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 1024px) { .location-grid--compact { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .location-grid--compact { grid-template-columns: 1fr 1fr; } }
.location-grid--compact .location-card {
  padding: 10px 12px;
  font-size: 0.92rem;
  font-weight: 700;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 0.82rem; color: #d9d4c8; padding: 16px 0 0; }
.breadcrumbs a { color: #d9d4c8; }
.breadcrumbs span.sep { margin: 0 8px; color: rgba(217, 212, 200, 0.55); }

/* ---------- Page hero (inner) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 56px 0; }
.page-hero h1 { color: #fff; margin: 6px 0 10px; }
.page-hero p { color: #d9d4c8; max-width: 680px; font-size: 1.08rem; }

/* ---------- Hero trust micro-line (service pages) ---------- */
.hero-trust-line { margin-top: 16px; font-size: 0.92rem; max-width: 680px; }

/* Tile Roofing hero — photo background behind the H1 with dark overlay for readability */
.page-hero--tile {
  background-image:
    linear-gradient(180deg, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.82) 100%),
    url('../img/services/newtile.png');
  background-size: cover;
  background-position: center;
}

/* Shingle Roofing hero — photo background behind the H1 with dark overlay for readability */
.page-hero--shingle {
  background-image:
    linear-gradient(180deg, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.82) 100%),
    url('../img/services/newshingle.png');
  background-size: cover;
  background-position: center;
}

/* Metal Roofing hero — photo background behind the H1 with dark overlay for readability */
.page-hero--metal {
  background-image:
    linear-gradient(180deg, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.82) 100%),
    url('../img/services/newmetal.png');
  background-size: cover;
  background-position: center;
}

/* Roof Inspection hero — photo background behind the H1 with dark overlay for readability */
.page-hero--inspection {
  background-image:
    linear-gradient(180deg, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.82) 100%),
    url('../img/services/newinspection.png');
  background-size: cover;
  background-position: center;
}

/* Roof Repair hero — photo background behind the H1 with dark overlay for readability */
.page-hero--repair {
  background-image:
    linear-gradient(180deg, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.82) 100%),
    url('../img/services/newrepair.png');
  background-size: cover;
  background-position: center;
}

/* Roof Maintenance hero — photo background behind the H1 with dark overlay for readability */
.page-hero--maintenance {
  background-image:
    linear-gradient(180deg, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.82) 100%),
    url('../img/services/newmaintenance.png');
  background-size: cover;
  background-position: center;
}

/* Storm Damage hero — photo background behind the H1 with dark overlay for readability */
.page-hero--storm {
  background-image:
    linear-gradient(180deg, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.82) 100%),
    url('../img/services/newstorm.png');
  background-size: cover;
  background-position: center;
}

/* City hub (location) hero — photo background behind the H1 with dark overlay.
   The per-city photo is applied inline by the generator; this sets sizing/position. */
.page-hero--location {
  background-size: cover;
  background-position: center;
  padding: 64px 0;
}
/* hero-grid + inline lead form inside the location hero (homepage-style) */
.page-hero--location .container { position: relative; z-index: 2; }
.page-hero--location .hero-grid { align-items: center; }
.page-hero--location .hero-form p { color: var(--slate); }
@media (max-width: 860px) {
  .page-hero--location { padding: 44px 0; }
}

/* City hub — compact per-service SEO text blocks (low on the page, subtle) */
.services-seo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 44px; }
@media (max-width: 860px) { .services-seo-grid { grid-template-columns: 1fr; } }
.service-seo h3 { margin: 0 0 4px; font-size: 1rem; }
.service-seo p { margin: 0 0 4px; font-size: 0.9rem; }
.service-seo .more { font-weight: 600; color: var(--orange-dark); font-size: 0.85rem; }


/* ---------- Tile photo band + black placeholders (owner supplies photos later) ---------- */
.photo-band { padding: 0 20px 8px; }
.photo-band .photo-ph { border-radius: var(--radius); }
@media (max-width: 760px) { .photo-band { padding: 0 16px 4px; } }

.photo-img { display: block; width: 100%; height: auto; }
.photo-ph {
  background: var(--navy);
  color: #8f8f8f;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 24px;
  width: 100%;
}
.photo-ph__label { font-weight: 700; color: #cfc9bd; font-size: 0.95rem; }
.photo-ph__file { font-size: 0.74rem; color: #6f6f6f; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* Photo card (photo on top + padded body) — used for clay/concrete comparison */
.photo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.photo-card .photo-img { border-radius: 0; }
.photo-card__body { padding: 22px; flex: 1; }
.photo-card h3 { margin-bottom: 8px; }
.photo-card ul.checks { margin-bottom: 0; }
.photo-card ul.checks li { margin-bottom: 8px; }

/* ---------- Tile page — loosened layout ---------- */
.section.tile-page { padding-top: 40px; }
.tile-page h2 { margin: 46px 0 14px; }
.tile-page h2:first-child { margin-top: 0; }
.tile-page p { line-height: 1.75; }
.tile-page ul.checks { margin: 6px 0 30px; }
.tile-page ul.checks li { margin-bottom: 12px; }
.tile-page .grid-3 { margin: 6px 0 10px; }
.tile-page .two-col { margin: 6px 0 18px; }
.tile-page .faq-grid { margin-top: 6px; }
.tile-page .review { padding: 28px; }
.tile-page .card.mt-2 { margin-top: 30px; }

/* Tile page — gold section divider + spacing before the quote form */
.section-rule {
  border: 0;
  height: 1px;
  margin: 46px 0 40px;
  background: linear-gradient(90deg, transparent, var(--orange-light) 25%, var(--orange) 50%, var(--orange-light) 75%, transparent);
  opacity: 0.55;
}
.tile-page .quote-inline { margin-top: 8px; }

/* Tile page — full-width "Why Tile" photo strips (reduced crop vs. old 4:1) */
.photo-strip { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: center center; }

/* Tile page — clay vs. concrete comparison table */
.compare-table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; }
.compare-table th, .compare-table td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; font-size: 0.94rem; }
.compare-table thead th { background: var(--navy); color: #fff; font-weight: 800; }
.compare-table tbody th { background: var(--cream); font-weight: 700; color: var(--navy); width: 22%; }
.compare-table tbody tr:nth-child(even) { background: #fffdf4; }

/* Tile page — reviews trust badges, consistent subheads, post-FAQ CTA */
.tile-badges { justify-content: center; margin: 6px 0 34px; }
.tile-page .subhead { max-width: 780px; margin: 46px 0 14px; }
.tile-page .subhead:first-child { margin-top: 0; }
.tile-page .subhead .eyebrow { margin-bottom: 8px; }
.tile-page .subhead h2 { margin: 0; }
.repair-col .subhead { margin-top: 0; }
.faq-cta {
  max-width: 680px;
  margin: 40px auto 0;
  padding: 30px 26px;
  text-align: center;
  background: var(--cream);
  border: 1px solid var(--orange);
  border-radius: var(--radius);
}
.faq-cta h3 { margin-bottom: 8px; }
.faq-cta p { margin-bottom: 18px; }

/* Tile page — Service Areas grid: 4 × 4 (16 cities) */
.tile-service-areas .location-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .tile-service-areas .location-grid { grid-template-columns: 1fr 1fr; } }

/* Tile page — "Repair & Replacement" image aligned to the text block (heading top → last line) */
.tile-page .repair-col { margin-top: 46px; }
.repair-col h2 { margin-top: 0; }
.repair-col .repair-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 260px;
}
.repair-col .repair-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 760px) {
  .repair-col .repair-media { min-height: 240px; }
  .repair-col .repair-media img { position: static; height: 240px; }
}

/* ---------- Tile advantages (editorial list, detailed) ---------- */
.advantage-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 44px;
  margin: 8px 0 6px;
}
@media (max-width: 860px) { .advantage-list { grid-template-columns: 1fr; } }
.advantage-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.advantage-item__icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--orange); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
}
.advantage-item__icon .svg-ico { width: 26px; height: 26px; }
.advantage-item h3 { font-size: 1.55rem; margin: 4px 0 10px; color: var(--navy); font-weight: 800; }
.advantage-item p { margin: 0; color: var(--steel); font-size: 1.05rem; line-height: 1.75; }
/* Photo slots inside the list break the text; span full width */
.advantage-list .photo-img { grid-column: 1 / -1; margin: 8px 0 2px; }
.advantage-list .photo-ph { grid-column: 1 / -1; margin: 8px 0 2px; }

/* ---------- Combined "Why Tile" advantage block (info-first, no box) ---------- */
.tile-advantage { margin: 46px 0 34px; }
.tile-advantage .advantage-list { margin-top: 2px; }

/* ---------- Shingle page — mirrors the Tile page layout (parallel selectors) ---------- */
.section.shingle-page { padding-top: 40px; }
.shingle-page h2 { margin: 46px 0 14px; }
.shingle-page h2:first-child { margin-top: 0; }
.shingle-page p { line-height: 1.75; }
.shingle-page ul.checks { margin: 6px 0 30px; }
.shingle-page ul.checks li { margin-bottom: 12px; }
.shingle-page .grid-3 { margin: 6px 0 10px; }
.shingle-page .two-col { margin: 6px 0 18px; }
.shingle-page .faq-grid { margin-top: 6px; }
.shingle-page .review { padding: 28px; }
.shingle-page .card.mt-2 { margin-top: 30px; }
.shingle-page .quote-inline { margin-top: 8px; }
.shingle-page .subhead { max-width: 780px; margin: 46px 0 14px; }
.shingle-page .subhead:first-child { margin-top: 0; }
.shingle-page .subhead .eyebrow { margin-bottom: 8px; }
.shingle-page .subhead h2 { margin: 0; }
.shingle-page .repair-col { margin-top: 46px; }
.shingle-advantage { margin: 46px 0 34px; }
.shingle-advantage .advantage-list { margin-top: 2px; }
.shingle-badges { justify-content: center; margin: 6px 0 34px; }
.shingle-service-areas .location-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .shingle-service-areas .location-grid { grid-template-columns: 1fr 1fr; } }
.repair-col .repair-media .photo-ph { height: 100%; min-height: 260px; }

/* ---------- Metal page — mirrors the Tile/Shingle page layout (parallel selectors) ---------- */
.section.metal-page { padding-top: 40px; }
.metal-page h2 { margin: 46px 0 14px; }
.metal-page h2:first-child { margin-top: 0; }
.metal-page p { line-height: 1.75; }
.metal-page ul.checks { margin: 6px 0 30px; }
.metal-page ul.checks li { margin-bottom: 12px; }
.metal-page .grid-3 { margin: 6px 0 10px; }
.metal-page .two-col { margin: 6px 0 18px; }
.metal-page .faq-grid { margin-top: 6px; }
.metal-page .review { padding: 28px; }
.metal-page .card.mt-2 { margin-top: 30px; }
.metal-page .quote-inline { margin-top: 8px; }
.metal-page .subhead { max-width: 780px; margin: 46px 0 14px; }
.metal-page .subhead:first-child { margin-top: 0; }
.metal-page .subhead .eyebrow { margin-bottom: 8px; }
.metal-page .subhead h2 { margin: 0; }
.metal-page .repair-col { margin-top: 46px; }
.metal-advantage { margin: 46px 0 34px; }
.metal-advantage .advantage-list { margin-top: 2px; }
.metal-badges { justify-content: center; margin: 6px 0 34px; }
.metal-service-areas .location-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .metal-service-areas .location-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Inspection page — mirrors the Tile/Shingle/Metal page layout (parallel selectors) ---------- */
.section.inspection-page { padding-top: 40px; }
.inspection-page h2 { margin: 46px 0 14px; }
.inspection-page h2:first-child { margin-top: 0; }
.inspection-page p { line-height: 1.75; }
.inspection-page ul.checks { margin: 6px 0 30px; }
.inspection-page ul.checks li { margin-bottom: 12px; }
.inspection-page .grid-3 { margin: 6px 0 10px; }
.inspection-page .two-col { margin: 6px 0 18px; }
.inspection-page .faq-grid { margin-top: 6px; }
.inspection-page .review { padding: 28px; }
.inspection-page .card.mt-2 { margin-top: 30px; }
.inspection-page .quote-inline { margin-top: 8px; }
.inspection-page .subhead { max-width: 780px; margin: 46px 0 14px; }
.inspection-page .subhead:first-child { margin-top: 0; }
.inspection-page .subhead .eyebrow { margin-bottom: 8px; }
.inspection-page .subhead h2 { margin: 0; }
.inspection-page .repair-col { margin-top: 46px; }
.inspection-badges { justify-content: center; margin: 6px 0 34px; }
.inspection-service-areas .location-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .inspection-service-areas .location-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Roof Maintenance page — mirrors the Inspection/Repair page layout (parallel selectors) ---------- */
.section.maintenance-page { padding-top: 40px; }
.maintenance-page h2 { margin: 46px 0 14px; }
.maintenance-page h2:first-child { margin-top: 0; }
.maintenance-page p { line-height: 1.75; }
.maintenance-page ul.checks { margin: 6px 0 30px; }
.maintenance-page ul.checks li { margin-bottom: 12px; }
.maintenance-page .grid-3 { margin: 6px 0 10px; }
.maintenance-page .two-col { margin: 6px 0 18px; }
.maintenance-page .faq-grid { margin-top: 6px; }
.maintenance-page .review { padding: 28px; }
.maintenance-page .card.mt-2 { margin-top: 30px; }
.maintenance-page .quote-inline { margin-top: 8px; }
.maintenance-page .subhead { max-width: 780px; margin: 46px 0 14px; }
.maintenance-page .subhead:first-child { margin-top: 0; }
.maintenance-page .subhead .eyebrow { margin-bottom: 8px; }
.maintenance-page .subhead h2 { margin: 0; }
.maintenance-page .repair-col { margin-top: 46px; }
.maintenance-badges { justify-content: center; margin: 6px 0 34px; }
.maintenance-service-areas .location-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .maintenance-service-areas .location-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Roof Repair page — premium full-width editorial layout ---------- */
.section.repair-page { padding-top: 40px; }
.repair-page h2 { margin: 46px 0 14px; }
.repair-page h2:first-child { margin-top: 0; }
.repair-page p { line-height: 1.75; }
.repair-page ul.checks { margin: 6px 0 30px; }
.repair-page ul.checks li { margin-bottom: 12px; }
.repair-page .grid-3 { margin: 6px 0 10px; }
.repair-page .two-col { margin: 6px 0 18px; }
.repair-page .faq-grid { margin-top: 6px; }
.repair-page .review { padding: 28px; }
.repair-page .card.mt-2 { margin-top: 30px; }
.repair-page .quote-inline { margin-top: 8px; }
.repair-page .subhead { max-width: 780px; margin: 46px 0 14px; }
.repair-page .subhead:first-child { margin-top: 0; }
.repair-page .subhead .eyebrow { margin-bottom: 8px; }
.repair-page .subhead h2 { margin: 0; }
.repair-page .repair-col { margin-top: 46px; }
.repair-page .repair-col h3 { margin: 26px 0 8px; }
.repair-page .repair-col h3:first-child { margin-top: 0; }
.repair-badges { justify-content: center; margin: 6px 0 34px; }
.repair-service-areas .location-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .repair-service-areas .location-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Storm Damage page (mirrors the repair-page selectors) ---------- */
.section.storm-page { padding-top: 40px; }
.storm-page h2 { margin: 46px 0 14px; }
.storm-page h2:first-child { margin-top: 0; }
.storm-page p { line-height: 1.75; }
.storm-page ul.checks { margin: 6px 0 30px; }
.storm-page ul.checks li { margin-bottom: 12px; }
.storm-page .grid-3 { margin: 6px 0 10px; }
.storm-page .grid-4 { margin: 6px 0 10px; }
.storm-page .two-col { margin: 6px 0 18px; }
.storm-page .faq-grid { margin-top: 6px; }
.storm-page .review { padding: 28px; }
.storm-page .card.mt-2 { margin-top: 30px; }
.storm-page .quote-inline { margin-top: 8px; }
.storm-page .subhead { max-width: 780px; margin: 46px 0 14px; }
.storm-page .subhead:first-child { margin-top: 0; }
.storm-page .subhead .eyebrow { margin-bottom: 8px; }
.storm-page .subhead h2 { margin: 0; }
.storm-page .repair-col { margin-top: 46px; }
.storm-page .repair-col h3 { margin: 26px 0 8px; }
.storm-page .repair-col h3:first-child { margin-top: 0; }
.storm-advantage { margin: 46px 0 34px; }
.storm-advantage .advantage-list { margin-top: 2px; }
.storm-badges { justify-content: center; margin: 6px 0 34px; }
.storm-service-areas .location-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .storm-service-areas .location-grid { grid-template-columns: 1fr 1fr; } }

/* Storm page — numbered emergency action steps (navy circle + gold number, matches process style) */
.action-steps { list-style: none; margin: 0 0 18px; padding: 0; }
.action-steps li { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.action-steps li:last-child { margin-bottom: 0; }
.action-steps__num {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--orange);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.action-steps__body { flex: 1; }
.action-steps__body strong { display: block; margin-bottom: 4px; }
.action-steps__body p { margin: 0; line-height: 1.6; }
.action-steps a { font-weight: 700; }

/* Storm page — advantage rows: 2 text items + photo, alternating sides */
.storm-advantage .advantage-rows { margin-top: 6px; }
.advantage-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.advantage-row:last-child { border-bottom: 0; }
.advantage-row__text { display: flex; flex-direction: column; gap: 22px; }
.advantage-row__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 860px) {
  .advantage-row { grid-template-columns: 1fr; gap: 18px; padding: 20px 0; }
  .advantage-row--flip .advantage-row__text { order: -1; }
}

/* Storm page — team grid (owner supplies headshots later; circular crop) */
.team-intro { margin: 18px 0 16px; font-weight: 600; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 6px 0 10px; }
@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { text-align: center; }
.team-card .team-photo { border-radius: 50%; }
.team-card h3 { margin: 14px 0 2px; font-size: 1.1rem; }
.team-card .team-role { margin: 0; color: var(--orange-dark); font-weight: 700; font-size: 0.95rem; }

/* Photo CTA band — homepage hero aerial behind the closing CTA with dark overlay for readability */
.cta-band--photo {
  background-image:
    linear-gradient(180deg, rgba(10,10,10,0.78) 0%, rgba(10,10,10,0.82) 100%),
    url('../img/hero-poster.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
}
.cta-band--photo h2 { color: #fff; }
.cta-band--photo p { color: #e6e1d6; }
.cta-band--photo .btn-light { color: #161616; }

/* ---------- Quote blocks (in-flow, non-sticky lead capture) ---------- */
.quote-inline {
  background: var(--cream);
  border: 1px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(255, 179, 0, 0.30), 0 14px 44px rgba(230, 156, 0, 0.28);
  padding: 36px;
  margin: 34px 0;
}
@media (max-width: 560px) { .quote-inline { padding: 24px; } }
.quote-inline .quote-grid { gap: 36px; }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 860px) { .quote-grid { grid-template-columns: 1fr; } }
.quote-copy h2 { margin: 0 0 12px; }
.quote-copy p { max-width: 520px; }
.quote-call { margin-top: 18px; font-size: 1rem; font-weight: 600; }
.quote-call a { font-weight: 800; }
.quote-form .card h3 { margin-bottom: 14px; }

/* ---------- Content split (text + sidebar) ---------- */
.split { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.sidebar { position: sticky; top: 96px; }
.sidebar .card { margin-bottom: 20px; }

/* ---------- Checklist / lists ---------- */
ul.checks { list-style: none; margin: 0 0 18px; }
ul.checks li { padding-left: 30px; position: relative; margin-bottom: 10px; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 800; }

/* ---------- Two col text ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

/* Repair-or-Replace decision cards — gold icon badges, equal height, bottom-aligned CTAs */
#new-roof .decision-cards {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
#new-roof .decision-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
#new-roof .decision-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy);
  margin-bottom: 16px;
  flex: 0 0 auto;
}
#new-roof .decision-card .icon .svg-ico { width: 30px; height: 30px; }
#new-roof .decision-card .checks { flex: 1; }
#new-roof .decision-card .btn { margin-top: 18px; }
#new-roof .decision-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--orange-light); }

/* Centered "or" divider between the two decision cards */
#new-roof .decision-or {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--orange-light);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
  z-index: 1;
}

/* Stat cards — gold icon in the left corner, number + text beside it */
#new-roof .stat-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
}
#new-roof .stat-card .icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}
#new-roof .stat-card .icon .svg-ico { width: 32px; height: 32px; }
#new-roof .stat-card .stat-body .num { line-height: 1.1; }

@media (prefers-reduced-motion: reduce) {
  #new-roof .decision-card { transition: none; }
  #new-roof .decision-card:hover { transform: none; }
}
@media (max-width: 760px) {
  #new-roof .decision-cards { grid-template-columns: 1fr; gap: 22px; }
  #new-roof .decision-or { position: static; transform: none; justify-self: center; }
}

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1100px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-grid figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--navy); }
.gallery-grid .gallery-item { display: block; position: relative; overflow: hidden; }
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform 0.4s ease; }
.gallery-grid .gallery-item:hover img { transform: scale(1.05); }
.gallery-grid .gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(8,8,8,0);
  transition: background 0.3s ease;
  pointer-events: none;
}
.gallery-grid .gallery-item:hover::after { background: rgba(8,8,8,0.12); }
@media (prefers-reduced-motion: reduce) {
  .gallery-grid img, .gallery-grid .gallery-item::after { transition: none; transform: none; }
}

/* ---------- Recent Projects band (homepage) ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(10,10,10,0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
}
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.project-card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform 0.4s; }
.project-card:hover .project-card__img { transform: scale(1.05); }
@media (max-width: 900px) { .projects-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .projects-grid { grid-template-columns: 1fr; } }

/* ---------- Project photo lightbox (Recent Projects band) ---------- */
body.no-scroll { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0;
  background: rgba(8, 8, 8, 0.92);
  display: flex; align-items: center; justify-content: center;
  z-index: 200;
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 92vw; max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  object-fit: contain;
}
.lightbox__close,
.lightbox__nav {
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,0.2); }
.lightbox__close:focus-visible, .lightbox__nav:focus-visible { outline: 3px solid var(--orange-light); outline-offset: 2px; }
.lightbox__close {
  position: absolute; top: 18px; right: 20px;
  width: 44px; height: 44px;
  font-size: 1.2rem; line-height: 1;
}
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  font-size: 1.6rem; line-height: 1;
}
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
@media (max-width: 560px) {
  .lightbox__nav { width: 40px; height: 40px; font-size: 1.3rem; }
  .lightbox__close { top: 12px; right: 14px; }
}

/* ---------- Before & After comparison slider (homepage) ---------- */
.ba-slider { margin: 0 auto; max-width: 1180px; }
.ba-stage {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  box-shadow: var(--shadow-lg);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y; /* vertical page scroll stays native; horizontal drag drives the slider */
}
/* Live slider layers — hidden until both before/after photos load (JS adds .is-live) */
.ba-img, .ba-divider, .ba-label { display: none; }
.ba-slider.is-live .ba-img,
.ba-slider.is-live .ba-divider,
.ba-slider.is-live .ba-label { display: block; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-img--after { clip-path: inset(0 0 0 calc(var(--ba-pos, 50) * 1%)); }
.ba-label {
  position: absolute; top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.76rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  background: rgba(10,10,10,0.55); color: #fff;
  z-index: 2;
}
.ba-label--before { left: 14px; }
.ba-label--after { right: 14px; }
.ba-divider {
  position: absolute; top: 0; bottom: 0;
  left: calc(var(--ba-pos, 50) * 1%);
  width: 2px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(10,10,10,0.25);
  transform: translateX(-1px);
  cursor: ew-resize;
  z-index: 3;
}
.ba-handle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--navy);
  box-shadow: 0 2px 10px rgba(10,10,10,0.35);
  display: flex; align-items: center; justify-content: center;
  cursor: ew-resize;
}
.ba-handle__grip { position: relative; width: 22px; height: 22px; }
.ba-handle__grip::before,
.ba-handle__grip::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; }
.ba-handle__grip::before { left: 0; border-left: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: translateY(-50%) rotate(45deg); }
.ba-handle__grip::after { right: 0; border-right: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: translateY(-50%) rotate(-45deg); }
.ba-handle:focus-visible { outline: 3px solid var(--orange-light); outline-offset: 2px; }
.ba-caption { margin-top: 12px; text-align: center; font-size: 0.9rem; color: var(--slate); }

/* Default state: labeled placeholder shown until the owner supplies a real
   before/after pair (one-file swap — no code changes). No-JS safe. */
.ba-placeholder { max-width: 560px; text-align: center; color: #d9d4c8; padding: 24px; }
.ba-slider.is-live .ba-placeholder { display: none; }
.ba-placeholder__title { color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 8px; }
.ba-placeholder code { color: var(--orange-light); background: rgba(255,255,255,0.08); padding: 2px 6px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  .project-card, .project-card .project-card__img { transition: none; transform: none; }
  .ba-slider .ba-img, .ba-slider .ba-divider { transition: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #bfb9ab; padding: 56px 0 0; }
.site-footer a { color: #d9d4c8; }
/* Universal 4-column footer: widened Locations column on every page */
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr 1fr; gap: 32px; padding-bottom: 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 8px; font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid #2a2a2a; padding: 18px 0; font-size: 0.82rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.footer-badges .badge-pill { background: #1a1a1a; border-color: #2a2a2a; color: #d9d4c8; font-size: 0.78rem; }

/* Footer social icons (brand logos in gold) */
.site-footer .footer-social { display: flex; gap: 16px; margin-top: 16px; }
.site-footer .footer-social a { color: var(--orange); transition: color 0.2s, transform 0.2s; }
.site-footer .footer-social a:hover { color: var(--orange-light); transform: translateY(-2px); text-decoration: none; }
.site-footer .footer-social .svg-ico { width: 30px; height: 30px; }
.site-footer .footer-social .footer-social__img { width: 30px; height: 30px; display: block; }
.site-footer .footer-social a:hover .footer-social__img { filter: brightness(1.15); }

/* Footer Contact column: wrapped lines align with the first letter of the
   text (after the icon), not with the icon/symbol start */
.footer-grid > div:nth-child(4) ul li { display: flex; align-items: flex-start; gap: 8px; }
.footer-grid > div:nth-child(4) ul li .svg-ico { flex: 0 0 auto; margin: 3px 0 0; }

/* Footer Locations list: two columns (compact) on every footer */
.footer-locations { column-count: 2; column-gap: 24px; }

/* The widened Locations layout above is now the universal default for every
   page, so the former homepage-only .footer--home override is no longer needed. */

/* ---------- Sticky mobile CTA (removed from mobile view) ---------- */
.sticky-cta {
  display: none;
}

/* ---------- SVG line icons ---------- */
.svg-ico { display: inline-block; width: 1.2em; height: 1.2em; vertical-align: -0.22em; }
.thumb .svg-ico { width: 44px; height: 44px; margin: 0 auto; }
.card .icon { color: var(--orange-dark); }
.card .icon .svg-ico { width: 42px; height: 42px; }
.badge-pill .svg-ico { width: 16px; height: 16px; }
.trust-item .svg-ico { width: 20px; height: 20px; }
.hero-trust .trust-item .svg-ico { color: var(--orange-light); }
.site-footer li .svg-ico, .checks li .svg-ico { width: 16px; height: 16px; margin-right: 6px; vertical-align: -2px; }

/* ---------- Scroll reveal (premium, subtle) ----------
   Elements below the fold fade + rise into view the first time they
   scroll into view (driven by assets/js/main.js).
   - .js-reveal on <html> only exists when JS runs (no-JS safe)
   - .reveal is added to target blocks by JS
   - .is-visible triggers the reveal animation
   - .is-initial keeps on-load content visible without animating
   Uses the standalone `translate` property so existing hover transforms
   (card lifts, image zooms) are never overridden. */
.js-reveal .reveal {
  opacity: 0;
  translate: 0 26px;
}
.js-reveal .reveal.is-visible {
  animation: reveal-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.js-reveal .reveal.is-initial {
  opacity: 1;
  translate: 0 0;
  animation: none;
}
@keyframes reveal-up {
  from { opacity: 0; translate: 0 26px; }
  to   { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; translate: 0 0; animation: none; }
}

/* ---------- About page ---------- */
/* About hero — photo background behind the H1 with dark overlay for readability */
.page-hero--about {
  background-image:
    linear-gradient(180deg, rgba(10,10,10,0.78) 0%, rgba(10,10,10,0.86) 100%),
    url('../img/about/about-hero.jpg');
  background-size: cover;
  background-position: center;
}

/* About page — loosened editorial layout (matches service-page template) */
.section.about-page { padding-top: 40px; }
.about-page h2 { margin: 46px 0 14px; }
.about-page h2:first-child { margin-top: 0; }
.about-page p { line-height: 1.75; }
.about-page ul.checks { margin: 6px 0 30px; }
.about-page ul.checks li { margin-bottom: 12px; }
.about-page .grid-3 { margin: 6px 0 10px; }
.about-page .grid-4 { margin: 6px 0 10px; }
.about-page .two-col { margin: 6px 0 18px; }
.about-page .review { padding: 28px; }
.about-page .card.mt-2 { margin-top: 30px; }
.about-page .subhead { max-width: 780px; margin: 46px 0 14px; }
.about-page .subhead:first-child { margin-top: 0; }
.about-page .subhead .eyebrow { margin-bottom: 8px; }
.about-page .subhead h2 { margin: 0; }

/* Story / workmanship photo frame (About page) */
.story-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy);
}
.story-media img,
.story-media .photo-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Values cards (About) — accent icon on hover, mirroring why-us cards */
.about-page .value-card { text-align: left; }
.about-page .value-card .icon { font-size: 2rem; }
.about-page .value-card .icon .svg-ico { color: var(--orange-dark); }

/* Credentials band (About) */
.credentials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 6px 0 10px; }
@media (max-width: 860px) { .credentials-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .credentials-grid { grid-template-columns: 1fr; } }
.credential-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
}
.credential-card .icon { flex: none; }
.credential-card .icon .svg-ico { color: var(--orange-dark); }

/* About team grid — 3 members, circular headshots (falls back to team-grid styles) */
.about-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 6px 0 10px; }
@media (max-width: 620px) { .about-team-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.about-team-grid .team-card .team-photo { border-radius: 50%; }
.about-team-grid .team-card .team-photo-ph {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
}

/* About service-area cards */
.about-page .location-grid { margin: 6px 0 10px; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 20px; }
.mb-2 { margin-bottom: 20px; }
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--orange); color: #161616;
  padding: 10px 16px; border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
