/* ==========================================================================
   Liberty Tree Service — site styles
   Palette and type taken from the logo: weathered flag navy and crimson,
   parchment banner, wood brown, slab-serif lettering.
   ========================================================================== */

:root {
  --navy: #182c4a;
  --navy-deep: #0f1d33;
  --navy-soft: #2a4166;
  --red: #a8262d;
  --red-dark: #861c22;
  --parchment: #f6efe1;
  --parchment-dark: #e9dcc1;
  --tan: #d6bf94;
  --wood: #6b4a2f;
  --ink: #1d1b19;
  --text: #2f2c28;
  --muted: #645d54;
  --white: #ffffff;
  --line: #e4dccd;

  --font-head: "Bitter", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(15, 29, 51, .08);
  --shadow: 0 14px 34px rgba(15, 29, 51, .14);
  --container: 1200px;
  --header-h: 84px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
svg { width: 1em; height: 1em; flex-shrink: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.hidden { display: none !important; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Eyebrow / section headings ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: .85rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--red);
  margin: 0 0 14px;
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 9px; height: 9px;
  background: currentColor;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.eyebrow.light { color: var(--tan); }

.section-heading { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-heading p { color: var(--muted); font-size: 1.1rem; }

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 1.02rem; font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(168, 38, 45, .3); }
.btn-primary:hover { background: var(--red-dark); color: #fff; }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }

.btn-outline { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn-outline-dark { border-color: var(--navy); color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn-row.center { justify-content: center; }

/* ---------- Top bar ---------- */

.topbar {
  background: var(--navy-deep);
  color: #dfe5ee;
  font-size: .92rem;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 40px;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--tan); }
.topbar-alert { display: inline-flex; align-items: center; gap: 8px; }
.topbar-alert svg { color: #f2c14e; width: 16px; height: 16px; }
.topbar-contact { display: flex; gap: 22px; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 7px; }
.topbar-contact svg { width: 15px; height: 15px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15,29,51,.12); }
.site-header::after {
  /* thin flag stripe under the header */
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px;
  background: linear-gradient(90deg, var(--navy) 0 33.3%, var(--tan) 33.3% 66.6%, var(--red) 66.6%);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 68px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-size: 1.32rem; font-weight: 800; color: var(--red); letter-spacing: .02em; }
.brand-text span { font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--navy); text-decoration: none; font-weight: 700; font-size: 1rem;
  padding: 10px 14px; border-radius: 6px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.nav .nav-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); margin-left: 8px; }
.nav .nav-phone svg { width: 18px; height: 18px; color: var(--red); }
.nav .btn { padding: 11px 20px; margin-left: 6px; }
.nav .btn, .nav .btn:hover { color: #fff; box-shadow: none; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px; border: 0; border-radius: 8px;
  background: var(--navy); cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 12px; width: 22px; height: 2.5px; background: #fff; border-radius: 2px;
  transition: transform .2s, opacity .2s; content: "";
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  color: #fff;
  background: var(--navy-deep) url("../images/hero.jpg") center 40% / cover no-repeat;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15,29,51,.94) 0%, rgba(15,29,51,.82) 42%, rgba(15,29,51,.35) 100%),
    linear-gradient(0deg, rgba(15,29,51,.55), transparent 40%);
}
.hero .container { padding-top: 110px; padding-bottom: 150px; }
.hero-content { max-width: 680px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--tan); }
.hero-text { font-size: 1.2rem; color: #e6eaf0; max-width: 600px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  padding: 7px 16px 7px 8px; border-radius: 999px;
  font-size: .92rem; font-weight: 700; letter-spacing: .04em;
  margin-bottom: 22px;
  flex-wrap: wrap; max-width: 100%;
}
.hero-badge b {
  background: var(--red); color: #fff; padding: 3px 10px; border-radius: 999px;
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
}

.hero-checks {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  list-style: none; padding: 0; margin: 30px 0 0;
  font-weight: 600; color: #e6eaf0;
}
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks svg { color: var(--tan); width: 18px; height: 18px; stroke-width: 3; }

/* ---------- Inner page hero ---------- */

.page-hero {
  position: relative; color: #fff; text-align: center;
  background: var(--navy-deep) url("../images/hero.jpg") center 35% / cover no-repeat;
  isolation: isolate;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15,29,51,.88), rgba(15,29,51,.93));
}
.page-hero .container { padding-top: 78px; padding-bottom: 82px; max-width: 860px; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.page-hero p { color: #e1e6ee; font-size: 1.15rem; margin: 0 auto; max-width: 700px; }
.page-hero .btn-row { justify-content: center; }

.breadcrumb { font-size: .9rem; margin-bottom: 14px; color: var(--tan); }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Trust bar ---------- */

.trust-bar { position: relative; z-index: 5; margin-top: -78px; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  overflow: hidden;
  border-bottom: 5px solid var(--red);
}
.trust-item {
  display: flex; align-items: center; gap: 16px;
  padding: 28px 26px;
}
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-icon {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--parchment); color: var(--red);
  flex-shrink: 0;
}
.trust-icon svg { width: 26px; height: 26px; }
.trust-item strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.1rem; line-height: 1.2; }
.trust-item div span { font-size: .93rem; color: var(--muted); line-height: 1.35; display: block; margin-top: 3px; }

/* ---------- Sections ---------- */

.section { padding: 100px 0; }
.section-tight { padding: 70px 0; }
.section-parchment { background: var(--parchment); }
.section-navy { background: var(--navy); color: #dbe2ec; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .lead { color: #c9d2df; }

/* ---------- Service cards (home) ---------- */

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
  text-decoration: none; color: inherit;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: inherit; }
.service-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--parchment-dark); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-card-media img { transform: scale(1.05); }
.service-card-icon {
  position: absolute; left: 22px; bottom: -26px;
  width: 56px; height: 56px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--red); color: #fff;
  box-shadow: 0 8px 18px rgba(168,38,45,.35);
}
.service-card-icon svg { width: 28px; height: 28px; }
.service-card-body { padding: 42px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card-body p { color: var(--muted); flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--red); }
.card-link svg { width: 18px; height: 18px; transition: transform .2s; }
.service-card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Split layout ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }

.photo-frame { position: relative; isolation: isolate; }
.photo-frame img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.photo-frame::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1;
  border: 3px solid var(--tan); border-radius: var(--radius-lg);
}
.est-seal {
  position: absolute; right: -14px; top: -24px;
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: grid; place-content: center; text-align: center;
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
  border: 5px solid #fff; outline: 2px dashed rgba(255,255,255,.55); outline-offset: -12px;
  font-family: var(--font-head);
}
.est-seal small { font-size: .78rem; letter-spacing: .2em; font-family: var(--font-body); font-weight: 700; }
.est-seal strong { font-size: 2.2rem; line-height: 1; font-weight: 800; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0 6px; }
.stat {
  background: var(--parchment); border-radius: var(--radius); padding: 18px 16px; text-align: center;
  border-top: 4px solid var(--navy);
}
.stat strong { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--red); line-height: 1.1; }
.stat span { font-size: .9rem; font-weight: 600; color: var(--navy); }

.check-list { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.check-list li::before {
  content: ""; flex-shrink: 0; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.check-list.two-col { grid-template-columns: 1fr 1fr; }
.section-navy .check-list li { color: #fff; }

/* ---------- Process steps ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step {
  position: relative; background: #fff; border-radius: var(--radius-lg); padding: 34px 26px 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.step-num {
  position: absolute; top: -22px; left: 26px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
  border: 3px solid var(--parchment);
}
.step svg { width: 34px; height: 34px; color: var(--red); margin-bottom: 14px; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }

.service-cards { row-gap: 26px; }
.service-cards .step { padding-top: 28px; scroll-margin-top: calc(var(--header-h) + 20px); }
.service-cards .step a { font-weight: 700; }

/* ---------- Gallery preview ---------- */

.preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; margin-bottom: 40px; }
.preview-grid a { border-radius: var(--radius); overflow: hidden; display: block; background: var(--parchment-dark); }
.preview-grid a:first-child { grid-column: span 2; grid-row: span 2; }
.preview-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.preview-grid a:hover img { transform: scale(1.05); }

/* ---------- Emergency band ---------- */

.emergency {
  position: relative; overflow: hidden; color: #fff;
  background: var(--red);
  isolation: isolate;
}
.emergency::before {
  /* faint flag stripes */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .12;
  background: repeating-linear-gradient(0deg, #fff 0 22px, transparent 22px 44px);
}
.emergency::after {
  content: ""; position: absolute; z-index: -1; left: 0; top: 0; bottom: 0; width: 32%;
  background: var(--navy);
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}
.emergency .container { display: grid; grid-template-columns: 30% 1fr; gap: 50px; align-items: center; padding-top: 70px; padding-bottom: 70px; }
.emergency-icon { display: grid; place-items: center; }
.emergency-icon svg { width: 110px; height: 110px; color: #fff; stroke-width: 1.5; }
.emergency h2 { color: #fff; margin-bottom: 10px; }
.emergency p { font-size: 1.15rem; color: #fbe9ea; margin: 0; max-width: 640px; }
.emergency .btn-primary { background: #fff; color: var(--red); box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.emergency .btn-primary:hover { background: var(--parchment); color: var(--red-dark); }

/* ---------- Service area ---------- */

.town-list { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.town-list li {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 15px; font-weight: 600; color: var(--navy); font-size: .96rem;
}
.town-list svg { width: 15px; height: 15px; color: var(--red); }

.area-card {
  background: var(--navy); color: #dbe2ec; border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow);
  background-image: radial-gradient(circle at 100% 0, rgba(255,255,255,.08), transparent 55%);
}
.area-card h3 { color: #fff; font-size: 1.6rem; }
.area-card .county { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); }
.area-card .county svg { width: 24px; height: 24px; color: var(--tan); margin-top: 3px; }
.area-card .county strong { color: #fff; display: block; font-size: 1.08rem; }
.area-card .county span { font-size: .95rem; }

/* ---------- Service pages ---------- */

.h-icon-inline {
  display: inline-flex; align-items: center; justify-content: center; vertical-align: middle;
  width: 46px; height: 46px; border-radius: 12px; background: var(--red); color: #fff; margin-right: 14px;
}
.h-icon-inline svg { width: 24px; height: 24px; display: block; }
.info-card h3 + p { margin-bottom: 18px; color: var(--muted); }
.info-card p:last-child { margin-bottom: 0; }
.gallery-grid.three { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin: 0 auto; }
.other-services { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.other-services a {
  display: inline-block; padding: 12px 20px; border-radius: 999px; border: 2px solid var(--line);
  background: #fff; color: var(--navy); font-weight: 700; text-decoration: none;
}
.other-services a:hover { border-color: var(--navy); }
.service-cards .step h3 a { color: inherit; text-decoration: none; }
.service-cards .step h3 a:hover { color: var(--red); }

/* ---------- Reviews ---------- */

.review-summary { display: inline-flex; align-items: center; gap: 10px; font-size: 1.1rem; color: var(--ink); }
.review-stars { display: inline-flex; gap: 2px; color: #e3a008; }
.review-stars svg { width: 18px; height: 18px; }
.review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 36px; }
.review-card {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--red);
  display: flex; flex-direction: column; gap: 12px;
}
.review-card blockquote { margin: 0; color: var(--text); flex: 1; }
.review-card figcaption { font-weight: 700; color: var(--navy); font-size: .95rem; }
/* ---------- FAQ ---------- */

.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--parchment); color: var(--red);
  font-family: var(--font-body); font-size: 1.4rem; font-weight: 700; line-height: 1;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 22px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--parchment); border-top: 1px solid var(--line); }
.cta-inner {
  display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center;
  padding-top: 60px; padding-bottom: 60px;
}
.cta-inner img { width: 150px; }
.cta-inner h2 { margin-bottom: 8px; }
.cta-inner p { margin: 0; color: var(--muted); font-size: 1.1rem; }
.cta-inner .btn-row { margin: 0; flex-direction: column; }

/* ---------- Services page ---------- */

.service-nav {
  background: #fff; border-bottom: 1px solid var(--line);
  position: sticky; top: var(--header-h); z-index: 50;
}
.service-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
}
.service-nav ul::-webkit-scrollbar { display: none; }
.service-nav a {
  display: block; white-space: nowrap;
  padding: 16px 14px; text-decoration: none; font-weight: 700; color: var(--navy); font-size: .96rem;
}
.service-nav a:hover { color: var(--red); }

.service-detail { padding: 90px 0; }
.service-detail:nth-of-type(even) { background: var(--parchment); }
.service-detail .split { gap: 70px; }
.service-detail .photo-frame img { aspect-ratio: 4 / 3; object-fit: cover; }
.service-detail h2 { display: flex; align-items: center; gap: 14px; }
.service-detail h2 .h-icon {
  width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--red); color: #fff;
}
.service-detail h2 .h-icon svg { width: 26px; height: 26px; }

/* ---------- Firewood page ---------- */

.info-card {
  background: #fff; border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow); border-top: 5px solid var(--red);
}
.info-card h3 { font-size: 1.45rem; }
.info-card ol { padding-left: 1.2em; margin: 0 0 24px; }
.info-card ol li { padding: 6px 0; font-weight: 600; color: var(--ink); }
.info-card ol li::marker { color: var(--red); font-weight: 800; }

/* ---------- Gallery page ---------- */

.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.filter-bar button {
  font: inherit; font-weight: 700; font-size: .98rem;
  padding: 10px 20px; border-radius: 999px; cursor: pointer;
  background: #fff; color: var(--navy); border: 2px solid var(--line);
  transition: .2s;
}
.filter-bar button:hover { border-color: var(--navy); }
.filter-bar button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-bar button span { opacity: .65; font-weight: 600; margin-left: 4px; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item {
  display: block; position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: var(--radius); background: var(--parchment-dark);
}
.gallery-item[hidden] { display: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,29,51,.55), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(10,18,32,.94);
  display: none; align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-figure { margin: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 70px 80px; }
.lightbox-image { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox button {
  position: absolute; border: 0; cursor: pointer;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff;
  display: grid; place-items: center;
  transition: background .2s;
}
.lightbox button:hover { background: var(--red); }
.lightbox button svg { width: 26px; height: 26px; }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-counter { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #cfd6e1; font-weight: 600; }
body.no-scroll { overflow: hidden; }

/* ---------- Quote page ---------- */

.quote-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; gap: 16px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm); transition: .2s;
}
a.contact-card:hover { border-color: var(--red); transform: translateY(-2px); color: inherit; }
.contact-card .ci {
  width: 50px; height: 50px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--navy); color: #fff;
}
.contact-card .ci svg { width: 24px; height: 24px; }
.contact-card small { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { font-family: var(--font-head); font-size: 1.18rem; color: var(--navy); word-break: break-word; }
.contact-card.highlight { background: var(--navy); border-color: var(--navy); }
.contact-card.highlight .ci { background: var(--red); }
.contact-card.highlight small { color: var(--tan); }
.contact-card.highlight strong { color: #fff; }

.tip-box {
  margin-top: 22px; padding: 22px 24px; border-radius: var(--radius);
  background: var(--parchment); border-left: 5px solid var(--red);
}
.tip-box h3 { font-size: 1.1rem; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.tip-box h3 svg { color: var(--red); width: 22px; height: 22px; }
.tip-box p { margin: 0; color: var(--muted); font-size: .98rem; }

.quote-form {
  background: #fff; border-radius: var(--radius-lg); padding: 42px;
  box-shadow: var(--shadow); border-top: 6px solid var(--red);
}
.quote-form h2 { font-size: 2rem; }
.form-note { color: var(--muted); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; color: var(--navy); margin-bottom: 7px; font-size: .97rem; }
.field label span { color: var(--red); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid #d5ccbb; border-radius: 8px; background: #fffdf9;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field label.consent { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-weight: 400; font-size: .92rem; color: var(--text); line-height: 1.5; cursor: pointer; }
.field label.consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; padding: 0; accent-color: var(--navy); }
.field label.consent span { color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(24,44,74,.15); background: #fff;
}
.field-error { display: none; color: var(--red); font-size: .9rem; font-weight: 600; margin: 6px 0 0; }
.field.invalid input { border-color: var(--red); }
.field.invalid .field-error { display: block; }
.form-captcha { margin: 24px 0; }
.quote-form .btn { width: 100%; font-size: 1.1rem; padding: 17px; }
.form-fineprint { font-size: .9rem; color: var(--muted); text-align: center; margin: 14px 0 0; }

/* ---------- Thank you / 404 ---------- */

.message-page { min-height: 62vh; display: grid; place-items: center; padding: 80px 0; background: var(--parchment); }
.message-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 50px 44px; text-align: center; max-width: 620px; margin: 0 auto;
  border-top: 6px solid var(--red);
}
.message-card img { width: 170px; margin: 0 auto 18px; }
.message-card p { color: var(--muted); font-size: 1.1rem; }
.message-card .btn-row { justify-content: center; }

/* ---------- Privacy / Terms ---------- */

.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { font-size: 1.4rem; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 8px; }
.legal-date { color: var(--muted); font-size: .95rem; }
.footer-bottom a { color: #b9c3d2; }
.footer-bottom a:hover { color: var(--tan); }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-deep); color: #b9c3d2; font-size: .97rem; }
.site-footer::before {
  content: ""; display: block; height: 6px;
  background: linear-gradient(90deg, var(--navy) 0 33.3%, var(--tan) 33.3% 66.6%, var(--red) 66.6%);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding: 70px 0 50px; }
.footer-brand img { width: 150px; margin-bottom: 16px; }
.footer-brand p { max-width: 320px; }
.site-footer h3 { color: #fff; font-size: 1.1rem; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: #dbe2ec; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.footer-links a:hover { color: var(--tan); }
.footer-links svg { width: 17px; height: 17px; color: var(--tan); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .9rem; color: #8f9bb0;
}

/* Icon badges: center the icon inside its circle/square */
.trust-icon, .service-card-icon, .service-detail h2 .h-icon, .contact-card .ci, .step-num, .emergency-icon {
  display: flex; align-items: center; justify-content: center;
}
.trust-icon svg, .service-card-icon svg, .h-icon svg, .ci svg { display: block; }

/* ---------- Mobile call bar ---------- */

.mobile-cta { display: none; }

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .nav .nav-phone { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .brand img { height: 56px; }

  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 4px solid var(--red);
    box-shadow: 0 16px 30px rgba(15,29,51,.15);
    padding: 10px 24px 22px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav .nav-phone { display: inline-flex; margin: 0; }
  .nav .btn { margin: 16px 0 0; padding: 15px; border: 0; }

  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }

  .service-grid, .review-grid { grid-template-columns: 1fr 1fr; }
  .split, .quote-layout { grid-template-columns: 1fr; gap: 50px; }
  .split.reverse > :first-child { order: 0; }
  .preview-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
  .preview-grid a:first-child { grid-column: span 2; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }

  .emergency::after { display: none; }
  .emergency .container { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .emergency-icon svg { width: 70px; height: 70px; }
  .emergency p { margin: 0 auto; }
  .emergency .btn-row { justify-content: center; }

  .cta-inner { grid-template-columns: 1fr; text-align: center; gap: 22px; }
  .cta-inner img { margin: 0 auto; width: 120px; }
  .cta-inner .btn-row { flex-direction: row; justify-content: center; }
}

@media (max-width: 680px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .container { padding: 0 18px; }
  .section { padding: 70px 0; }
  .section-heading { margin-bottom: 36px; }

  .topbar .container { justify-content: center; min-height: 36px; }
  .topbar-contact { display: none; }
  .topbar { font-size: .86rem; }

  .brand img { height: 50px; }
  .brand-text strong { font-size: 1.12rem; }
  .brand-text span { font-size: .68rem; }

  .hero { background-image: url("../images/hero-mobile.jpg"); background-position: center; }
  .hero::before { background: linear-gradient(180deg, rgba(15,29,51,.78), rgba(15,29,51,.92)); }
  .hero .container { padding-top: 64px; padding-bottom: 118px; }
  .hero-text { font-size: 1.06rem; }
  .hide-sm { display: none; }
  .hero h1 { font-size: 2.15rem; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero-checks { gap: 8px 18px; font-size: .95rem; }

  .trust-bar { margin-top: -64px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { padding: 18px 20px; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .trust-icon { width: 46px; height: 46px; }

  .service-grid, .steps, .review-grid { grid-template-columns: 1fr; }
  .check-list.two-col { grid-template-columns: 1fr; }
  .stat-row { gap: 10px; }
  .stat { padding: 14px 8px; }
  .stat strong { font-size: 1.5rem; }
  .est-seal { width: 104px; height: 104px; right: -6px; top: -20px; }
  .est-seal strong { font-size: 1.7rem; }
  .photo-frame::before { inset: 14px -10px -14px 14px; }

  .preview-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery-grid, .gallery-grid.three { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lightbox-figure { padding: 70px 10px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 12px; transform: none; }
  .lightbox-counter { bottom: 28px; }

  .area-card, .info-card, .quote-form { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .service-detail { padding: 64px 0; }
  .service-detail h2 { font-size: 1.75rem; }
  .message-card { padding: 38px 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding: 54px 0 34px; }

  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    background: var(--navy-deep);
    box-shadow: 0 -6px 20px rgba(0,0,0,.2);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-cta a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    padding: 9px 4px 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: .82rem;
  }
  .mobile-cta a + a { border-left: 1px solid rgba(255,255,255,.12); }
  .mobile-cta svg { width: 21px; height: 21px; }
  .mobile-cta a:last-child { background: var(--red); }
}

/* ==========================================================================
   Simplified layout (2026-10-10): fewer boxes, bigger photos, more space.
   Delete this block to return to the previous look.
   ========================================================================== */

.section { padding: 120px 0; }
.section-heading { margin-bottom: 56px; }

/* Badge bar: a quiet row instead of a floating card */
.trust-bar { margin-top: 0; background: var(--navy-deep); }
.trust-grid { background: transparent; box-shadow: none; border-radius: 0; border-bottom: 0; }
.trust-item { padding: 24px 22px; justify-content: center; }
.trust-item + .trust-item { border-left: 1px solid rgba(255,255,255,.12); }
.trust-icon { background: transparent; color: var(--tan); width: auto; height: auto; }
.trust-item strong { color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; letter-spacing: .02em; }
.hero .container { padding-bottom: 120px; }

/* Service cards: photo-led, no frames */
.service-card { border: 0; box-shadow: none; background: transparent; border-radius: 0; }
.service-card:hover { box-shadow: none; transform: none; }
.service-card-media { border-radius: var(--radius-lg); aspect-ratio: 4 / 3.2; }
.service-card-icon { display: none; }
.service-card-body { padding: 20px 2px 0; }
.service-card-body h3 { font-size: 1.4rem; margin-bottom: 6px; }
.service-grid { gap: 48px 32px; }

/* Emergency: full-width photo instead of stripes */
.emergency {
  background: linear-gradient(90deg, rgba(15,29,51,.92) 0%, rgba(15,29,51,.78) 55%, rgba(15,29,51,.45) 100%),
              url("../images/work/37.jpg") center 30% / cover no-repeat;
}
.emergency::before, .emergency::after { display: none; }
.emergency .container { grid-template-columns: 1fr; padding-top: 110px; padding-bottom: 110px; }
.emergency-icon { display: none; }
.emergency .btn-primary { background: var(--red); color: #fff; }
.emergency .btn-primary:hover { background: var(--red-dark); color: #fff; }

/* Towns: plain text instead of pills */
.town-list { gap: 10px 0; max-width: 900px; margin: 0 auto; }
.town-list li { background: none; border: 0; padding: 0 16px; border-radius: 0; font-size: 1.05rem; }
.town-list li + li { border-left: 1px solid var(--tan); }
.town-list svg { display: none; }

/* Reviews: open quotes, no cards */
.review-card { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0 0 0 20px; border-left: 3px solid var(--red); }
.review-card blockquote { font-size: 1.05rem; }

/* FAQ: simple dividers */
.faq { gap: 0; }
.faq details { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.faq summary { padding: 22px 0; }
.faq details > div { padding: 0 0 22px; }

/* Other-services links and service-page steps: lighter */
.other-services a { border: 0; background: none; padding: 6px 14px; text-decoration: underline; text-underline-offset: 4px; }
.service-cards .step { box-shadow: none; }

@media (max-width: 960px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .trust-item:nth-child(3) { border-left: 0; }
}
@media (max-width: 680px) {
  .section { padding: 80px 0; }
  .trust-bar { margin-top: 0; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 16px 10px; gap: 8px; flex-direction: column; text-align: center; }
  .trust-item + .trust-item { border-top: 0; }
  .trust-item:nth-child(2n+1) { border-left: 0; }
  .trust-item:nth-child(2n) { border-left: 1px solid rgba(255,255,255,.12); }
  .trust-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .hero .container { padding-bottom: 72px; }
  .emergency .container { padding-top: 80px; padding-bottom: 80px; }
  .town-list li { padding: 0 10px; font-size: .98rem; }
}
/* ---------- Site credit ---------- */
.site-credit { flex-basis: 100%; margin: 0; font-size: .78rem; opacity: .7; }
.site-credit a { display: inline; color: inherit; text-decoration: underline; text-underline-offset: 2px; }
