/* ==========================================================================
   CNC Property Services — homepage prototype
   Palette derived from the CNC logo (navy #004188, green #09793c).
   ========================================================================== */

:root {
  --navy: #004188;
  --navy-700: #00336b;
  --navy-900: #0a1c36;
  --green: #09793c;
  --green-600: #0b8a45;
  --green-100: #e5f3eb;
  --sun: #f2b42a;          /* small accent, taken from client photo tones */
  --ink: #142033;
  --body: #46536a;
  --muted: #6b778c;
  --line: #dfe5ee;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;

  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(10, 28, 54, .06), 0 2px 8px rgba(10, 28, 54, .05);
  --shadow: 0 10px 30px -12px rgba(10, 28, 54, .25);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 112px);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: .85em 1.5em; border-radius: 8px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 6px 18px -8px rgba(9, 121, 60, .7); }
.btn--primary:hover { background: var(--green-600); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--outline { color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--sm { padding: .65em 1.15em; font-size: .95rem; }
.btn--lg { padding: 1em 1.75em; font-size: 1.05rem; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--font-head); font-weight: 700; color: var(--navy); text-decoration: none;
}
.text-link::after { content: "→"; transition: transform .2s; }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- Section scaffolding ---------- */
.section { padding-block: var(--section-y); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-head); font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 1em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: #7fd6a5; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; }
.section-title--light { color: #fff; }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head--split .section-intro { max-width: 420px; margin: 0; }
.section-head--split .section-title { margin: 0; }
.section-intro { font-size: 1.125rem; color: var(--muted); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #c6d2e4; font-size: .9rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar p { margin: 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__sep { color: var(--green-600); }
.topbar__contact { gap: 22px !important; }
.topbar__phone { font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px -12px rgba(10, 28, 54, .35); }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.site-logo img { height: 62px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav__list { list-style: none; display: flex; gap: 4px; }
.main-nav__list a {
  display: block; padding: 10px 14px; border-radius: 6px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  color: var(--ink); text-decoration: none; transition: color .2s, background-color .2s;
}
.main-nav__list a:hover { color: var(--navy); background: var(--bg-soft); }
.main-nav__mobile-cta { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; }
.header-phone .icon { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--green-100); fill: var(--green); }
.header-phone span { display: flex; flex-direction: column; line-height: 1.15; }
.header-phone small { font-family: var(--font-body); font-weight: 600; font-size: .78rem; color: var(--muted); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  position: absolute; left: 12px; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s;
}
.nav-toggle__bars { top: 21px; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #d5deeb;
  background: var(--navy-900);
  padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 120px);
  overflow: hidden;
}
.hero::before { /* subtle brand-blue wash from the right */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, var(--navy-900) 40%, var(--navy-700) 100%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.hero__title { color: #fff; font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; margin-bottom: .45em; }
.hero__title-accent { color: #4fc283; }
.hero__lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); max-width: 34em; margin-bottom: 1.8em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2rem; }
.hero__points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 600; color: #fff; }
.hero__points li { display: flex; align-items: center; gap: 8px; }
.hero__points li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.hero__media { position: relative; padding: 0 0 48px 0; }
.hero__photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--main { aspect-ratio: 4 / 3.4; }
.hero__photo--inset {
  position: absolute; left: -36px; bottom: 0; width: 34%; aspect-ratio: 3 / 4;
  border: 5px solid #fff; border-radius: 12px;
}
.hero__tag {
  position: absolute; right: 18px; top: 18px; margin: 0;
  background: rgba(255, 255, 255, .95); color: var(--navy); border-radius: 999px;
  padding: 8px 16px; font-family: var(--font-head); font-size: .85rem; font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.hero__photo { position: relative; }
.hero__photo--inset { position: absolute; }
.hero__label {
  position: absolute; left: 10px; bottom: 10px; margin: 0;
  background: rgba(0, 32, 70, .82); color: #fff; border-radius: 999px;
  padding: 4px 12px; font-family: var(--font-head); font-size: .75rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}
.hero__label--after { left: auto; right: 14px; bottom: 14px; background: var(--green); }

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.intro__media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.intro__contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.intro__contact-item {
  display: block; padding: 16px 18px; border: 1px solid var(--line); border-left: 4px solid var(--green);
  border-radius: 8px; background: var(--bg-soft);
  font-family: var(--font-head); font-weight: 700; color: var(--ink); text-decoration: none;
}
a.intro__contact-item:hover { border-color: var(--navy); border-left-color: var(--green); }
.intro__contact-label { display: block; font-family: var(--font-body); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* ---------- Services ---------- */
.services { background: var(--bg-soft); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.service-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-card:hover .service-card__media img { transform: scale(1.04); }
.service-card__body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; flex: 1; }
.service-card__title { font-size: 1.6rem; font-weight: 800; }
.service-card__body .text-link { margin-top: auto; }

.check-list { list-style: none; display: grid; gap: 10px; margin: 6px 0 26px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 600; }
.check-list li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2309793c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Why choose us ---------- */
.why { background: var(--navy); color: #d6e1f0; }
.why__grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.why__intro p { font-size: 1.125rem; margin-bottom: 1.6em; }
.why__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.why-card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius); padding: 26px 24px; transition: background-color .25s, border-color .25s;
}
.why-card:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); }
.why-card__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: .9rem; color: #7fd6a5; letter-spacing: .08em; margin-bottom: 12px; }
.why-card h3 { color: #fff; font-size: 1.2rem; }
.why-card p { margin: 0; font-size: 1rem; }

/* ---------- Gallery ---------- */
.gallery__grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gallery__item { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft); min-height: 0; }
.gallery__item--wide { grid-row: 1 / span 2; aspect-ratio: 1122 / 1027; } /* keeps both before & after halves visible */
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__item:not(.gallery__item--wide) img { position: absolute; inset: 0; }
.gallery__item:hover.gallery__item--wide img { transform: none; }
.gallery__item figcaption {
  position: absolute; left: 14px; bottom: 14px; background: rgba(10, 28, 54, .85); color: #fff;
  font-family: var(--font-head); font-size: .85rem; font-weight: 700; padding: 7px 12px; border-radius: 6px;
}
.gallery__item--wide figcaption { left: auto; right: 14px; }

/* ---------- Service areas ---------- */
.areas { border-top: 1px solid var(--line); }
.areas__grid { display: grid; grid-template-columns: .85fr 1.4fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.area-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.area-list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.area-list a {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px; height: 100%;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .98rem; text-decoration: none;
  transition: border-color .2s, box-shadow .2s, color .2s;
}
.area-list a:hover { border-color: var(--green); box-shadow: var(--shadow-sm); color: var(--navy); }
.area-list a::before {
  content: ""; flex: none; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2309793c'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Contact / quote ---------- */
.contact { background: var(--navy-900); color: #c6d2e4; }
.contact__grid { display: grid; grid-template-columns: .9fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact__info > p { font-size: 1.125rem; }
.contact-list { list-style: none; margin-top: 32px; border-top: 1px solid rgba(255, 255, 255, .12); }
.contact-list li { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.contact-list__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #8ea3c0; padding-top: 3px; }
.contact-list a { color: #fff; text-decoration: none; }
.contact-list a:hover { color: #7fd6a5; }

.quote-form { background: #fff; color: var(--body); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .55); border-top: 5px solid var(--green); }
.quote-form__title { font-size: 1.5rem; margin-bottom: 1em; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-family: var(--font-head); font-size: .88rem; font-weight: 600; color: var(--ink); }
.field label span { color: var(--green); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--bg-soft);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(0, 65, 136, .15); }
.field.has-error input, .field.has-error select { border-color: #c0392b; background: #fdf3f2; }
.field__error { font-size: .85rem; color: #b03a2e; font-weight: 600; }
.quote-form__note { margin: 14px 0 0; font-size: .95rem; text-align: center; color: var(--muted); }
.quote-form__note.is-demo { background: #fff8e6; border: 1px solid #f2d48a; color: #6b4e00; padding: 12px 14px; border-radius: 8px; text-align: left; }

/* ---------- Footer ---------- */
.site-footer { background: #071426; color: #a9b8cd; font-size: .98rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr .9fr 1.5fr 1.2fr; gap: 40px; padding-block: 64px 40px; }
.site-footer__logo { display: inline-block; background: #fff; border-radius: 10px; padding: 10px 14px; margin-bottom: 18px; }
.site-footer__logo img { height: 64px; width: auto; }
.site-footer__brand p { max-width: 300px; }
.site-footer__heading { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 16px; }
.site-footer__links { list-style: none; display: grid; gap: 10px; }
.site-footer__links a { color: #a9b8cd; text-decoration: none; transition: color .2s; overflow-wrap: anywhere; }
.site-footer__links a:hover { color: #fff; }
.site-footer__contact a { color: #fff; font-weight: 600; }
.site-footer__areas { padding-bottom: 32px; }
.site-footer__areas p { margin: 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .92rem; }
.site-footer__areas strong { color: #fff; }
.site-footer__bottom { background: #050f1d; font-size: .88rem; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; flex-wrap: wrap; }
.site-footer__bottom p { margin: 0; }
.back-to-top { color: #a9b8cd; text-decoration: none; }
.back-to-top:hover { color: #fff; }

.site-footer__heading a { color: inherit; text-decoration: none; }
.site-footer__heading a:hover { color: #7fd6a5; }
.site-footer__links--cols { grid-template-columns: 1fr 1fr; column-gap: 20px; font-size: .94rem; }
.site-footer__links--cols a { white-space: nowrap; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; color: #d5deeb; overflow: hidden;
  background: linear-gradient(105deg, var(--navy-900) 45%, var(--navy-700) 100%);
  padding-block: clamp(40px, 6vw, 72px) clamp(48px, 7vw, 88px);
}
.page-hero::after { /* thin brand stripe */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--green);
}
.page-hero__title { color: #fff; font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; max-width: 22ch; margin-bottom: .4em; }
.page-hero--article .page-hero__title { max-width: 28ch; font-size: clamp(1.9rem, 4vw, 3rem); }
.page-hero__lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 46em; margin: 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 22px; font-size: .92rem; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; color: #8ea3c0; }
.breadcrumbs li + li::before { content: "/"; color: #4e6788; }
.breadcrumbs a { color: #c6d2e4; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current] { color: #fff; font-weight: 600; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- City pages ---------- */
.area-intro__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.area-intro__content p { font-size: 1.1rem; }
.area-intro__content .hero__actions { margin-top: 28px; margin-bottom: 0; }
.area-facts { background: var(--bg-soft); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius-lg); padding: 28px; }
.area-facts__title { font-size: 1.15rem; margin-bottom: 14px; }
.area-facts dl { margin: 0; display: grid; }
.area-facts dl > div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.area-facts dt { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-top: 2px; }
.area-facts dd { margin: 0; color: var(--ink); font-weight: 600; }
.area-facts a { text-decoration: none; }
.services--compact .service-card__media { aspect-ratio: 21 / 9; }
.area-local__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.area-local__media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.faq { background: var(--bg-soft); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; position: relative;
  font-family: var(--font-head); font-weight: 700; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--green-100); color: var(--green);
  display: grid; place-items: center; font-size: 1.2rem; line-height: 1; transition: transform .2s;
}
.faq__item[open] summary::after { content: "–"; }
.faq__item p { margin: 0; padding: 0 22px 20px; }
.nearby { padding-top: 0; }
.faq + .nearby { padding-top: var(--section-y); }

/* ---------- Service-area hub ---------- */
.area-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.area-card {
  display: flex; flex-direction: column; gap: 6px; padding: 24px; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--body);
  transition: border-color .2s, box-shadow .25s, transform .25s;
}
.area-card:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-3px); }
.area-card__county { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--green); }
.area-card__name { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; color: var(--ink); }
.area-card__text { font-size: .98rem; margin-bottom: 8px; }
.area-card__link { margin-top: auto; font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.area-card__link::after { content: " →"; }

/* ---------- Blog cards ---------- */
.blog-teaser { background: var(--bg-soft); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 28px); }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.post-card__meta span { color: var(--green); font-weight: 700; }
.post-card__title { font-size: 1.22rem; line-height: 1.25; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--navy); }
.post-card__body > p:not(.post-card__meta) { font-size: .98rem; }
.post-card__body .text-link { margin-top: auto; }
.pagination { margin-top: 36px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.pagination .current { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Article ---------- */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.article__image { margin: 0 0 36px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.article__image img { width: 100%; max-height: 520px; object-fit: cover; }
.prose { font-size: 1.12rem; line-height: 1.75; color: #34405a; max-width: 720px; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.25rem; margin: 1.5em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--green); }
.prose a { color: var(--navy); font-weight: 600; }
.prose strong { color: var(--ink); }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--radius); width: 100%; }
.prose figcaption { font-size: .92rem; color: var(--muted); margin-top: 10px; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: #fff; }
.aside-card h2 { font-size: 1.15rem; margin-bottom: 12px; }
.aside-card--cta { background: var(--navy); border-color: var(--navy); color: #d6e1f0; display: grid; gap: 10px; }
.aside-card--cta h2 { color: #fff; margin-bottom: 0; }
.aside-card--cta p { margin: 0 0 6px; }
.aside-card--cta .btn--outline { color: #fff; border-color: rgba(255, 255, 255, .5); }
.aside-card--cta .btn--outline:hover { background: #fff; color: var(--navy); }
.aside-links { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; font-size: .95rem; }
.aside-links a { text-decoration: none; color: var(--body); }
.aside-links a:hover { color: var(--navy); text-decoration: underline; }
.related { background: var(--bg-soft); }
.related .section-title { margin-bottom: 32px; }

/* ---------- Google rating / trust ---------- */
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.stars svg { width: 1em; height: 1em; fill: var(--sun); }

.trust-strip { position: relative; z-index: 2; margin-top: -52px; }
.trust-strip__list {
  list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.trust-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 26px 18px; text-align: center; }
.trust-stat + .trust-stat { border-left: 1px solid var(--line); }
.trust-stat--google { padding: 0; }
.trust-stat--google a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 100%; padding: 26px 18px; text-decoration: none; border-radius: var(--radius-lg) 0 0 var(--radius-lg); transition: background-color .2s; }
.trust-stat--google a:hover { background: var(--bg-soft); }
.trust-stat--google a:hover .trust-stat__label { text-decoration: underline; }
.trust-stat__value { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; color: var(--navy); }
.trust-stat__value .stars { font-size: .62em; }
.trust-stat__label { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--body); }
.trust-strip + .intro { padding-top: clamp(56px, 7vw, 88px); }

.reviews { background: #fff; border-top: 1px solid var(--line); }
.reviews__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.reviews__score {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; text-decoration: none;
  padding: clamp(32px, 4vw, 48px) 24px; border-radius: var(--radius-lg);
  background: var(--navy-900); color: #fff; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.reviews__score:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgba(10, 28, 54, .55); }
.reviews__google { font-family: var(--font-head); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; color: #8ea3c0; }
.reviews__rating { font-family: var(--font-head); font-weight: 800; font-size: clamp(3.5rem, 7vw, 5rem); line-height: 1; }
.reviews__score .stars { font-size: 1.9rem; gap: 4px; }
.reviews__caption { font-weight: 600; color: #c6d2e4; }
.reviews__score:hover .reviews__caption { color: #fff; text-decoration: underline; }
.reviews__content > p:not(.eyebrow) { font-size: 1.1rem; }
.reviews__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 6px 0 28px; color: var(--ink); font-weight: 600; }
.reviews__facts li { display: flex; align-items: center; gap: 8px; }
.reviews__facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.reviews__facts strong { font-family: var(--font-head); color: var(--navy); font-size: 1.15rem; }
.reviews__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.reviews__actions .btn--primary .stars { font-size: .85em; }
.reviews__actions .btn--primary .stars svg { fill: #fff; }

.footer-rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; color: #fff; font-weight: 600; text-decoration: none; }
.footer-rating:hover span { text-decoration: underline; }
.aside-rating { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; text-decoration: none; margin-bottom: 6px; }
.aside-rating:hover { text-decoration: underline; }
.area-facts dd a .stars { font-size: .9em; margin-left: 4px; }

/* ---------- Form extras ---------- */
/* Quote buttons link to #quote-form. html's scroll-padding-top already clears the sticky
   header, so this only adds a little air. The form is not animated, so it doesn't move after the jump. */
.quote-form { scroll-margin-top: 8px; }
@media (min-width: 961px) and (max-height: 820px) { /* laptops: keep the submit button on screen */
  .quote-form { padding-block: 26px; }
  .quote-form__title { font-size: 1.3rem; margin-bottom: .7em; }
  .quote-form .field { margin-bottom: 12px; }
  .quote-form .field input, .quote-form .field select { padding-block: 10px; }
  .quote-form .field textarea { min-height: 76px; }
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-form { position: relative; }
.quote-form__note.is-success { background: var(--green-100); border: 1px solid #a8d8bb; color: #0b5a2f; padding: 12px 14px; border-radius: 8px; text-align: left; }

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

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .header-phone span small { display: none; }
  .main-nav__list a { padding: 10px 10px; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .topbar__info { display: none !important; }
  .topbar__inner { justify-content: center; }
  .site-logo img { height: 52px; }

  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .site-header__actions { margin-left: auto; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, var(--header-h)); bottom: 0;
    background: #fff; padding: 20px var(--gutter) 32px; overflow-y: auto;
    border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s; }
  .main-nav__list { flex-direction: column; gap: 0; }
  .main-nav__list a { font-size: 1.2rem; padding: 16px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav__mobile-cta { display: grid; gap: 12px; margin-top: 24px; }
  body.nav-open { overflow: hidden; }

  .hero__grid, .intro__grid, .why__grid, .areas__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__media { padding: 0 0 40px 28px; max-width: 640px; }
  .hero__photo--inset { left: 0; width: 32%; }
  .intro__media { max-width: 640px; }
  .gallery__grid { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery__item--wide { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 1122 / 1027; }
  .gallery__item:not(.gallery__item--wide) { aspect-ratio: 4 / 3.6; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .area-intro__grid, .area-local__grid, .faq__grid, .article-grid { grid-template-columns: 1fr; }
  .area-local__media { max-width: 560px; }
  .area-cards, .post-grid { grid-template-columns: 1fr 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .reviews__score { max-width: 420px; width: 100%; }
  .area-list--4 { grid-template-columns: 1fr 1fr; }
  .article-aside { position: static; }

  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    box-shadow: 0 -6px 20px -10px rgba(0, 0, 0, .4);
  }
  .mobile-cta a { padding: 15px 10px; text-align: center; font-family: var(--font-head); font-weight: 700; color: #fff; text-decoration: none; }
  .mobile-cta__call { background: var(--navy); }
  .mobile-cta__quote { background: var(--green); }
  body { padding-bottom: 54px; }
}

@media (max-width: 640px) {
  .header-quote { display: none; }
  .topbar__contact a:first-child { display: none; }
  .hero__actions .btn { width: 100%; }
  .hero__tag { display: none; }
  .hero__media { padding-left: 16px; }
  .service-grid, .why__list, .form-row { grid-template-columns: 1fr; }
  .form-row { gap: 0; }
  .area-list { grid-template-columns: 1fr 1fr; }
  .intro__contact { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .section-head--split { display: block; }
  .section-head--split .section-title { margin-bottom: .4em; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .area-cards, .post-grid { grid-template-columns: 1fr; }
  .trust-strip { margin-top: -36px; }
  .trust-strip__list { grid-template-columns: 1fr 1fr; }
  .trust-stat--google { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .trust-stat--google + .trust-stat { border-left: 0; }
  .trust-stat, .trust-stat--google a { padding: 18px 12px; }
  .trust-stat--google a { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .reviews__actions .btn { width: 100%; }
  .area-intro__content .hero__actions .btn { width: 100%; }
  .area-facts dl > div { grid-template-columns: 80px 1fr; }
  .breadcrumbs [aria-current] { max-width: 22ch; }
}

@media (max-width: 380px) {
  .area-list { grid-template-columns: 1fr; }
}
