/* =========================================================
   JMAC Roof Restorations & Painting
   Shared stylesheet for every page
   ========================================================= */

:root {
  --maroon: #5b0e21;
  --maroon-dark: #420a18;
  --maroon-soft: #7a1d33;
  --maroon-tint: #f6ecee;
  --cream: #faf7f5;
  --sand: #efe6e1;
  --ink: #1f1a1b;
  --body: #3d3537;
  --muted: #6e6466;
  --line: #e6dcdc;
  --white: #ffffff;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(42, 6, 15, 0.45);
  --wrap: 1200px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--maroon); }

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 14px;
}

.lead { font-size: 1.12rem; color: var(--body); }

.section { padding: 96px 0; position: relative; overflow-x: clip; }
.section--tight { padding: 64px 0; }
.section--cream { background: var(--cream); }
.section--maroon { background: var(--maroon); color: #f3e3e7; }
.section--maroon h2, .section--maroon h3 { color: var(--white); }
.section--maroon .eyebrow { color: #f0c7d1; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--white); color: var(--maroon);
  padding: 10px 16px; border-radius: 8px; z-index: 200;
}
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn--white { background: var(--white); color: var(--maroon); }
.btn--white:hover { background: var(--maroon-tint); }
.btn--maroon { background: var(--maroon); color: var(--white); }
.btn--maroon:hover { background: var(--maroon-dark); }
.btn--ghost { border-color: rgba(255,255,255,0.75); color: var(--white); background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,0.12); }
.btn--outline { border-color: var(--maroon); color: var(--maroon); background: transparent; }
.btn--outline:hover { background: var(--maroon-tint); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--maroon);
  box-shadow: 0 2px 18px rgba(0,0,0,0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}
.logo img { height: 58px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list > li { position: relative; }
.nav-list a,
.nav-list .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: 8px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-list a:hover,
.nav-list .dropdown-toggle:hover,
.nav-list a[aria-current="page"] { background: rgba(255,255,255,0.1); }
.dropdown-toggle svg { width: 12px; height: 12px; transition: transform 0.2s; }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  list-style: none;
  margin: 0;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.dropdown::before {
  content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
}
.dropdown a {
  display: block;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
}
.dropdown a:hover,
.dropdown a[aria-current="page"] { background: var(--maroon-tint); color: var(--maroon); }

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.has-dropdown:hover .dropdown-toggle svg,
.has-dropdown.open .dropdown-toggle svg { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--white); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; }
.header-actions .btn { padding: 13px 22px; }

.nav-toggle {
  display: none;
  background: none; border: 0; color: var(--white);
  padding: 8px; cursor: pointer;
}
.nav-toggle svg { width: 30px; height: 30px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(25,6,11,0.78) 0%, rgba(25,6,11,0.45) 50%, rgba(25,6,11,0.1) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 620px; padding: 80px 0; }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero p { font-size: 1.15rem; color: #f1e6e8; max-width: 520px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero--page { min-height: 440px; }
.hero--page .hero__content { padding: 70px 0; }
.breadcrumb { font-size: 0.85rem; margin-bottom: 16px; color: #e9d4d9; }
.breadcrumb a { color: #e9d4d9; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Trust strip ---------- */
.trust {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.trust-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0; padding: 0;
}
.trust-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 26px 20px;
  font-weight: 600; font-size: 0.95rem; color: var(--ink);
  line-height: 1.35;
}
.trust-list li + li { border-left: 1px solid var(--line); }
.trust-list strong { display: block; font-size: 1.6rem; color: var(--maroon); line-height: 1; }
.trust-list small { display: block; font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.trust-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--maroon-tint); color: var(--maroon);
  display: grid; place-items: center;
}
.trust-icon svg { width: 22px; height: 22px; }

/* ---------- Intro (overlapping card, from mockup) ---------- */
.swirl {
  position: absolute;
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}
.swirl--left { left: -60px; top: 40px; width: 420px; }
.swirl--right { right: -40px; bottom: 20px; width: 360px; transform: scaleX(-1); }

.intro-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.intro-card {
  position: relative;
  z-index: 2;
  background: var(--maroon);
  color: #f3e3e7;
  border-radius: 34px;
  padding: 56px 52px;
  margin-right: -90px;
  box-shadow: var(--shadow);
}
.intro-card h2 { color: var(--white); }
.intro-card .eyebrow { color: #f0c7d1; }
.intro-card .btn { margin-top: 10px; }
.intro-photo {
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}
.intro-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.service-card:hover .service-card__img img { transform: scale(1.04); }
.service-card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.service-card__body p { color: var(--muted); font-size: 0.96rem; }
.service-card__link {
  margin-top: auto;
  font-weight: 600; font-size: 0.88rem; color: var(--maroon);
  display: inline-flex; align-items: center; gap: 8px;
}
.service-card__link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

.services-grid--featured { grid-template-columns: repeat(3, 1fr); margin-bottom: 26px; }
.service-card--featured .service-card__img { aspect-ratio: 5 / 4; }
.tag {
  display: inline-block; align-self: flex-start;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--maroon-tint); color: var(--maroon);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}

/* ---------- Before / after ---------- */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.ba {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow);
  user-select: none;
  background: var(--sand);
}
.ba img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba__after { clip-path: inset(0 0 0 50%); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; background: var(--white);
  transform: translateX(-50%);
  pointer-events: none;
}
.ba__handle::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 48px; height: 48px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b0e21' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 24px no-repeat;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.ba__range {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; margin: 0;
  -webkit-appearance: none; appearance: none;
}
.ba__label {
  position: absolute; top: 16px;
  background: rgba(31,26,27,0.75); color: var(--white);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  pointer-events: none;
}
.ba__label--before { left: 16px; }
.ba__label--after { right: 16px; background: var(--maroon); }
.ba-caption { margin-top: 14px; font-size: 0.92rem; color: var(--muted); }
.ba-caption strong { color: var(--ink); }
.section--maroon .ba-caption { color: #e9d4d9; }
.section--maroon .ba-caption strong { color: var(--white); }

/* ---------- Split content ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
.split__img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.split__img img { width: 100%; height: 100%; object-fit: cover; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.check-list li {
  position: relative; padding-left: 34px; margin-bottom: 12px;
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--maroon-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b0e21' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.check-list--2col { columns: 2; column-gap: 32px; }
.check-list--2col li { break-inside: avoid; }

/* ---------- Feature boxes ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  border: 1px solid var(--line);
}
.section--maroon .feature { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }
.section--maroon .feature p { color: #e9d4d9; }
.feature__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--maroon); color: var(--white);
  display: grid; place-items: center; margin-bottom: 18px;
}
.section--maroon .feature__icon { background: var(--white); color: var(--maroon); }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.1rem; }
.feature p { font-size: 0.95rem; color: var(--muted); margin: 0; }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
  list-style: none;
  padding: 0; margin: 0;
}
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.steps--6 { grid-template-columns: repeat(3, 1fr); }
.steps li {
  counter-increment: step;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--line);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 1.9rem; font-weight: 700; color: var(--maroon);
  line-height: 1; margin-bottom: 14px;
}
.steps h3 { font-size: 1.05rem; margin-bottom: 8px; }
.steps p { font-size: 0.93rem; color: var(--muted); margin: 0; }

/* ---------- Heritage band ---------- */
.heritage-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 30px;
  overflow: hidden;
  background: var(--maroon);
  color: #f3e3e7;
}
.heritage-band__img img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.heritage-band__body { padding: 60px 56px; }
.heritage-band h2 { color: var(--white); }
.heritage-band .eyebrow { color: #f0c7d1; }
.heritage-band .check-list li::before { background-color: rgba(255,255,255,0.92); }

/* ---------- Reviews ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review {
  background: var(--white);
  border: 1px dashed #cdb9bd;
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex; flex-direction: column;
}
.review__stars { color: #c99a2e; letter-spacing: 3px; font-size: 1.1rem; margin-bottom: 14px; }
.review__text { font-size: 0.98rem; color: var(--muted); font-style: italic; flex: 1; }
.review__name { font-weight: 600; color: var(--ink); font-size: 0.92rem; margin: 0; }
.review__meta { font-size: 0.82rem; color: var(--muted); margin: 0; }
.reviews-cta { text-align: center; margin-top: 36px; }

/* ---------- Service area ---------- */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.area-regions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.area-region {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
}
.area-region h3 { font-size: 1rem; color: var(--maroon); margin-bottom: 8px; }
.area-region p { font-size: 0.9rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; }
.faq-list.center { margin: 0 auto; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 1.5rem; margin-bottom: 18px; }
.faq {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 48px 22px 0;
  position: relative;
  font-weight: 600;
  color: var(--ink);
  font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute; right: 4px; top: 50%;
  width: 28px; height: 28px; margin-top: -14px;
  border-radius: 50%;
  background: var(--maroon-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b0e21' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.2s;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 48px 22px 0; color: var(--body); }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--maroon);
  border-radius: 30px;
  padding: 64px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #f3e3e7;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { margin: 0; max-width: 560px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; flex-shrink: 0; position: relative; z-index: 1; }
.cta-band .swirl { opacity: 0.18; right: -80px; top: -40px; width: 380px; }

/* ---------- Other services links ---------- */
.mini-services {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.mini-service {
  display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: 0.95rem;
}
.mini-service img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm);
  transition: transform 0.2s;
}
.mini-service:hover img { transform: translateY(-3px); }
.mini-service:hover span { color: var(--maroon); }

/* ---------- Project placeholders ---------- */
.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}
.project img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project__body { padding: 22px 24px 26px; }
.project__body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.project__body p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ---------- Contact / quote form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 48px;
  align-items: start;
}
.form-card {
  background: var(--white);
  border-radius: 26px;
  padding: 44px 42px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  background: var(--cream);
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none; border-color: var(--maroon); background: var(--white);
}
.file-drop {
  border: 1.5px dashed #cdb9bd;
  border-radius: 12px;
  padding: 22px;
  text-align: center;
  background: var(--cream);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.file-drop:hover { border-color: var(--maroon); background: var(--maroon-tint); }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop__text { font-size: 0.92rem; color: var(--muted); }
.file-drop__text strong { color: var(--maroon); }
.form-note { font-size: 0.83rem; color: var(--muted); margin: 18px 0 0; }
.form-card .btn { margin-top: 24px; width: 100%; padding: 18px; }

.contact-aside { display: flex; flex-direction: column; gap: 20px; }
.contact-box {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.contact-box h3 { font-size: 1.1rem; margin-bottom: 14px; }
.contact-line {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 0;
  text-decoration: none; color: var(--ink); font-weight: 500;
}
.contact-line svg { width: 20px; height: 20px; color: var(--maroon); flex-shrink: 0; }
.contact-box p { font-size: 0.94rem; margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: #1d0a0f;
  color: #cbb8bd;
  padding: 76px 0 0;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
}
.site-footer h4 {
  color: var(--white); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #cbb8bd; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-logo { height: 54px; width: auto; margin-bottom: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 0.84rem; color: #9c868b;
}

/* ---------- Mobile call bar ---------- */
.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .nav-toggle { display: block; }
  .header-phone span { display: none; }
  .main-nav {
    position: fixed;
    top: 84px; left: 0; right: 0; bottom: 0;
    background: var(--maroon-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 120px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-list a, .nav-list .dropdown-toggle {
    width: 100%; justify-content: space-between;
    padding: 16px 6px; font-size: 1.05rem;
  }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: transparent; padding: 0 0 10px 12px;
    display: none;
  }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown:hover .dropdown { opacity: 1; }
  .dropdown a { color: #f3e3e7; padding: 12px 10px; }
  .dropdown a:hover, .dropdown a[aria-current="page"] { background: rgba(255,255,255,0.08); color: var(--white); }
  .has-dropdown:hover .dropdown-toggle svg { transform: none; }
  .has-dropdown.open .dropdown-toggle svg { transform: rotate(180deg); }
  .header-actions .btn { display: none; }
  .main-nav .btn { margin-top: 24px; }
}
@media (min-width: 1141px) {
  .main-nav .nav-quote { display: none; }
}

@media (max-width: 980px) {
  .section { padding: 72px 0; }
  .trust-list { grid-template-columns: repeat(2, 1fr); }
  .trust-list li:nth-child(3) { border-left: 0; }
  .trust-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-card { margin-right: 0; margin-bottom: -60px; order: 2; padding: 44px 34px; }
  .intro-photo { order: 1; aspect-ratio: 4 / 3; margin-left: 40px; }
  .services-grid, .services-grid--featured { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse > :first-child { order: 0; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps--4, .steps--6 { grid-template-columns: repeat(2, 1fr); }
  .heritage-band { grid-template-columns: 1fr; }
  .heritage-band__img img { min-height: 280px; }
  .heritage-band__body { padding: 44px 34px; }
  .reviews { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 48px 36px; }
  .mini-services { grid-template-columns: repeat(3, 1fr); }
  .projects { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 66px; }
  .wrap { padding: 0 16px; }
  .header-inner { height: 72px; }
  .main-nav { top: 72px; }
  .logo img { height: 42px; }
  .hero { min-height: 560px; }
  .hero--page { min-height: 380px; }
  .hero::after { background: linear-gradient(180deg, rgba(25,6,11,0.55) 0%, rgba(25,6,11,0.8) 100%); }
  .hero__ctas .btn { flex: 1 1 100%; }
  .trust-list li { padding: 18px 12px; gap: 10px; font-size: 0.85rem; }
  .trust-icon { width: 38px; height: 38px; }
  .trust-list strong { font-size: 1.3rem; }
  .intro-photo { margin-left: 0; }
  .intro-card { padding: 36px 24px; margin-bottom: -40px; }
  .services-grid, .services-grid--featured { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .steps, .steps--4, .steps--6 { grid-template-columns: 1fr; }
  .check-list--2col { columns: 1; }
  .area-regions { grid-template-columns: 1fr; }
  .mini-services { grid-template-columns: repeat(2, 1fr); }
  .projects { grid-template-columns: 1fr; }
  .form-card { padding: 30px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; border-radius: 24px; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1 1 100%; }
  .heritage-band__body { padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .swirl { display: none; }

  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    box-shadow: 0 -4px 18px rgba(0,0,0,0.15);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 20px 10px;
    font-weight: 600; font-size: 0.92rem; text-decoration: none;
    text-transform: uppercase; letter-spacing: 0.05em;
  }
  .mobile-bar a:first-child { background: var(--white); color: var(--maroon); }
  .mobile-bar a:last-child { background: var(--maroon); color: var(--white); }
  .mobile-bar svg { width: 18px; height: 18px; }
}

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

/* keep nav labels and buttons on one line */
.nav-list a, .nav-list .dropdown-toggle, .btn { white-space: nowrap; }

/* homepage hero: keep the kitchen island in frame on narrow screens */
.hero:not(.hero--page) .hero__bg { object-position: 72% center; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.team-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.team-card__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.team-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-card__body { padding: 24px 26px 28px; }
.team-card__body h3 { margin-bottom: 2px; }
.team-card__role { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--maroon); margin-bottom: 12px; }
.team-card__body p:last-child { font-size: 0.95rem; color: var(--muted); margin: 0; }
@media (max-width: 980px) { .team { grid-template-columns: repeat(2, 1fr); } .team-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 13px); justify-self: center; } }
@media (max-width: 640px) { .team { grid-template-columns: 1fr; } .team-card:last-child { max-width: none; } }

/* centre an odd last before/after slider on two-column layouts */
@media (min-width: 981px) { .ba-grid > figure:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 16px); justify-self: center; } }

/* hero-faq-pos: keep heads in frame on the FAQ header */
.hero__bg[src$="hero-faq.jpg"] { object-position: center top; }
