/* Hanes Home Improvements — site styles */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #0b1033;
  --navy-900: #111850;
  --navy-800: #18216a;
  --navy-700: #1b2a8a;
  --navy-100: #e9ebf7;
  --green-500: #2fc244;
  --green-400: #52d465;
  --green-700: #1b7f31;
  --green-100: #e6f7e9;
  --amber: #f2a900;

  --ink: #1b2033;
  --ink-soft: #4a5168;
  --line: #e2e4ec;
  --bg: #ffffff;
  --bg-soft: #f5f6f2;

  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 6px;
  --radius-sm: 4px;
  --shadow-sm: 0 1px 2px rgb(17 24 80 / 0.06), 0 2px 8px rgb(17 24 80 / 0.06);
  --shadow: 0 2px 4px rgb(17 24 80 / 0.06), 0 12px 32px rgb(17 24 80 / 0.10);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 8vw, 96px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--green-700); }
p > a:has(> .icon:last-child) { display: inline-flex; align-items: center; gap: 0.35em; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--navy-900);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 750; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 650; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--green-500); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--green-500); color: var(--navy-950); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.85em 1.4em; border-radius: var(--radius); border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--green-500); color: var(--navy-950); }
.btn--primary:hover { background: var(--green-400); color: var(--navy-950); }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }
.btn--outline { border-color: currentColor; color: var(--navy-800); background: transparent; }
.btn--outline:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.btn--light { border-color: rgb(255 255 255 / 0.6); color: #fff; background: transparent; }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--navy-900); }
.btn--lg { font-size: 1.075rem; padding: 1em 1.6em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) { .btn-row .btn { flex: 1 1 100%; } }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy-950); color: #d6d9ee; font-size: 0.875rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; }
.topbar p { margin: 0; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.topbar a:hover { color: var(--green-400); }
.topbar a { white-space: nowrap; }
@media (max-width: 1000px) {
  .topbar__inner { justify-content: flex-end; }
  .topbar__inner p:first-child { display: none; }
}

.site-header {
  background: #fff; border-bottom: 1px solid var(--line);
  position: relative; z-index: 50;
}
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); margin-right: auto; }
.brand img { width: 92px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-head); font-weight: 750; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand__tag { font-size: 0.78rem; color: var(--ink-soft); font-style: italic; }
.brand:hover { color: var(--navy-900); }

.site-nav { display: flex; align-items: center; gap: 20px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list a {
  display: block; padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--navy-900); font-weight: 600; text-decoration: none;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--green-700); }
.nav-list a.is-section { color: var(--green-700); }
.nav-list a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.sub-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; margin-left: -8px; border: 0; background: none; color: var(--navy-900);
  cursor: pointer; border-radius: 6px;
}
.sub-toggle .icon { transition: transform .15s ease; }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sub-menu {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: 100%; left: 0; min-width: 270px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.sub-menu a { padding: 9px 12px; font-weight: 500; }
.sub-menu a:hover { background: var(--bg-soft); }
.has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1001px) {
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
}

.nav-toggle {
  display: none; align-items: center; gap: 8px;
  padding: 10px 14px; border: 2px solid var(--line); border-radius: var(--radius); background: #fff;
  font: 700 0.95rem/1 var(--font-body); color: var(--navy-900); cursor: pointer;
}
.nav-toggle__icon { position: relative; width: 18px; height: 12px; }
.nav-toggle__icon span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle__icon span:nth-child(1) { top: 0; }
.nav-toggle__icon span:nth-child(2) { top: 5px; }
.nav-toggle__icon span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (min-width: 1001px) {
  .site-header { position: sticky; top: 0; }
}

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 12px var(--gutter) 24px; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-list > li > a { flex: 1; padding: 14px 4px; font-size: 1.05rem; }
  .sub-toggle { width: 44px; height: 44px; margin: 0; }
  .sub-menu {
    position: static; flex-basis: 100%; min-width: 0; display: none;
    opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; padding: 0 0 10px 12px;
  }
  .has-sub.is-open .sub-menu { display: block; }
  .header-cta { width: 100%; }
}
@media (max-width: 720px) {
  .topbar { display: none; }
  .header__inner { min-height: 66px; gap: 12px; }
  .brand img { width: 70px; }
  .brand__name { font-size: 1.05rem; }
  .brand__tag { display: none; }
}
@media (max-width: 380px) {
  .brand img { display: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--soft { background: var(--bg-soft); }
/* Back-to-back sections on the same background share one gap instead of stacking two */
.section:not(.section--soft):not(.section--navy) + .section:not(.section--soft):not(.section--navy),
.section--soft + .section--soft { padding-top: 0; }
.section--navy { background: var(--navy-900); color: #d6d9ee; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: 10px;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-700);
}
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--green-400); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.2rem); color: var(--ink-soft); }
.section--navy .lead { color: #c9cde6; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.3em; }
.prose > :first-child { margin-top: 0; }

/* ---------- Photo heroes (home + inner pages) ----------
   The photo fills the space right of the text and is shown whole, centered on its subject;
   only its left edge is softened into the navy.
   --photo-start: where the photo begins (larger = narrower photo, less cropping). It never
   starts under the text, so on smaller laptops it begins just past the text instead.
   --photo-fade: how wide the soft left edge is, as a share of the screen width so it scales. */
:root {
  --hero-gutter: clamp(16px, 5vw, 96px); --hero-text: 580px;
  --photo-start: max(35%, var(--hero-gutter) + var(--hero-text) + 24px);
  --photo-fade: 10%;
}
@media (min-width: 901px) and (max-width: 1100px) { :root { --hero-text: 480px; } }
.hero__media, .page-hero__media { position: absolute; inset: 0 0 0 var(--photo-start); z-index: 0; margin: 0; }
.hero__media img, .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before, .page-hero:not(.page-hero--simple)::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--navy-950) var(--photo-start), rgb(11 16 51 / 0.7) calc(var(--photo-start) + var(--photo-fade) * 0.3), rgb(11 16 51 / 0.3) calc(var(--photo-start) + var(--photo-fade) * 0.65), rgb(11 16 51 / 0) calc(var(--photo-start) + var(--photo-fade)));
}
.hero__inner, .page-hero__inner { max-width: none; padding-inline: var(--hero-gutter); align-content: center; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-950); color: #d6d9ee; }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, var(--hero-text)); min-height: clamp(560px, 40vw, 780px); padding-block: clamp(64px, 9vw, 128px); }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--green-400); }
.hero .lead { color: #c9cde6; max-width: 36em; }
.hero .btn-row { margin-top: 28px; }

.trust-bar { background: var(--green-500); color: var(--navy-950); }
.trust-list {
  list-style: none; margin: 0; padding: 16px 0;
  display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 10px 24px;
}
.trust-list li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.trust-list .icon { width: 1.3em; height: 1.3em; }

@media (max-width: 900px) {
  .hero::before { content: none; }
  .hero__media { inset: 0 0 auto; height: 300px; }
  .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(11 16 51 / 0.1) 30%, var(--navy-950) 100%); }
  .hero__inner { min-height: 0; padding-top: 276px; }
  .trust-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 14px 0; }
  .trust-list li { font-size: 0.92rem; gap: 7px; }
}

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy-950); color: #c9cde6; }
.page-hero--simple {
  background: radial-gradient(900px 400px at 90% -20%, rgb(47 194 68 / 0.16), transparent 60%), var(--navy-950);
}
.page-hero__inner { display: grid; grid-template-columns: minmax(0, var(--hero-text)); padding-block: clamp(48px, 7vw, 96px); }
.page-hero:not(.page-hero--simple) .page-hero__inner { min-height: clamp(460px, 34vw, 660px); }
.page-hero__inner > div { position: relative; z-index: 2; }
.page-hero--simple .page-hero__inner { grid-template-columns: minmax(0, 760px); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.page-hero .lead { color: #c9cde6; }
.page-hero .btn-row { margin-top: 24px; }
@media (max-width: 860px) {
  .page-hero:not(.page-hero--simple)::before { content: none; }
  .page-hero__media { inset: 0 0 auto; height: 260px; }
  .page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(11 16 51 / 0.1) 30%, var(--navy-950) 100%); }
  .page-hero:not(.page-hero--simple) .page-hero__inner { min-height: 0; padding-top: 238px; }
}

.breadcrumbs { font-size: 0.875rem; margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; color: #aab0d4; }
.breadcrumbs li + li::before { content: "/"; color: #6c74a8; }
.breadcrumbs a { color: #d6d9ee; text-decoration: none; }
.breadcrumbs a:hover { color: var(--green-400); text-decoration: underline; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-100); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.card__body :is(h2, h3) { margin-bottom: 0.35em; font-size: 1.3rem; font-weight: 650; }
.card__body :is(h2, h3) a { color: inherit; text-decoration: none; }
.card__body :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card__body p { color: var(--ink-soft); margin-bottom: 1em; }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--green-700); }
.card:hover .card__more .icon { transform: translateX(3px); }
.card__more .icon { transition: transform .2s ease; }

.tiles .card { aspect-ratio: 6 / 5; justify-content: flex-end; border: 0; box-shadow: none; background: var(--navy-900); isolation: isolate; }
.tiles .card__media { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; }
.tiles .card__body { flex: 0 0 auto; padding: 90px 24px 22px; background: linear-gradient(180deg, transparent, rgb(11 16 51 / 0.92) 55%); }
.tiles .card__body h3 { color: #fff; margin: 0 0 4px; }
.tiles .card__more { color: var(--green-400); }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--wide-text { grid-template-columns: 1.15fr 1fr; }
.split__media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split__media img { width: 100%; }
.split__media--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; box-shadow: none; border-radius: 0; }
.split__media--pair img { border-radius: var(--radius); box-shadow: var(--shadow-sm); aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .split, .split--wide-text { grid-template-columns: 1fr; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 22px; height: 22px; 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='%231b7f31' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / 14px;
}
.checklist--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.split .checklist--cols { grid-template-columns: 1fr; }
@media (max-width: 640px) { .checklist--cols { grid-template-columns: 1fr; } }
.section--navy .checklist li::before { background-color: rgb(47 194 68 / 0.18); }

.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.feature { display: flex; gap: 14px; }
.feature__icon {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--radius);
  background: var(--green-100); color: var(--green-700);
}
.feature__icon .icon { width: 24px; height: 24px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 0.25em; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 560px) { .feature-list { grid-template-columns: 1fr; } }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.panel h2, .panel h3 { margin-top: 0; }
.list-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(18px, 2.4vw, 28px); }

/* ---------- Quote & stats ---------- */
.quote {
  margin: 0; padding: calc(clamp(24px, 3.5vw, 40px) + 34px) clamp(24px, 3.5vw, 40px) clamp(24px, 3.5vw, 40px);
  border-radius: var(--radius); background: var(--navy-900); color: #e6e8f6; position: relative;
}
.quote::before {
  content: "\201C"; position: absolute; top: clamp(10px, 1.6vw, 18px); left: clamp(22px, 3.3vw, 37px);
  font: 800 5rem/1 var(--font-head); color: var(--green-500);
}
.quote p { font-family: var(--font-head); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.5; margin: 0 0 0.8em; color: #fff; }
.quote footer { font-weight: 700; color: var(--green-400); }
.quote footer span { display: block; font-weight: 500; color: #c9cde6; font-size: 0.95rem; }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: clamp(28px, 4vw, 44px); }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; }
.stat strong { display: block; font: 750 clamp(1.5rem, 3vw, 2rem)/1.1 var(--font-head); color: var(--navy-800); }
.stat span { font-size: 0.92rem; color: var(--ink-soft); }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.review {
  margin: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
}
/* Longer review lists flow into columns so short reviews don't leave gaps */
.reviews--stack { display: block; columns: 3 290px; column-gap: clamp(18px, 2.4vw, 28px); }
.reviews--stack .review { break-inside: avoid; margin-bottom: clamp(18px, 2.4vw, 28px); }
.review blockquote { margin: 0 0 16px; color: var(--ink); }
.review blockquote p { margin: 0; }
.review figcaption { margin-top: auto; font-weight: 700; color: var(--navy-900); }
.review figcaption span { font-weight: 500; color: var(--ink-soft); }

/* ---------- Gallery ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.photo-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .photo-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.photo { margin: 0; }
.photo a { display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--navy-100); aspect-ratio: 4 / 3; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.photo a:hover img { transform: scale(1.05); }
.photo figcaption { font-size: 0.88rem; color: var(--ink-soft); margin-top: 8px; line-height: 1.45; }
@media (max-width: 520px) {
  .photo-grid, .photo-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .photo figcaption { font-size: 0.8rem; }
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters a, .filters button {
  padding: 9px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
  font: 600 0.95rem/1.2 var(--font-body); color: var(--navy-900); text-decoration: none; cursor: pointer;
}
.filters a:hover, .filters button:hover { border-color: var(--navy-700); color: var(--navy-700); }
.filters [aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.gallery-section + .gallery-section { margin-top: clamp(40px, 6vw, 64px); }
.gallery-section h2 { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.gallery-section h2 small { font: 500 0.95rem var(--font-body); color: var(--ink-soft); }
.gallery-section[hidden] { display: none; }

.lightbox {
  width: min(1000px, 94vw); max-height: 94vh; padding: 0; border: 0; border-radius: var(--radius);
  background: var(--navy-950); color: #fff; overflow: hidden;
}
.lightbox::backdrop { background: rgb(5 8 30 / 0.88); }
.lightbox__figure { margin: 0; }
.lightbox__figure img { width: 100%; max-height: 78vh; object-fit: contain; background: #000; }
.lightbox__figure figcaption { padding: 14px 64px 16px 18px; font-size: 0.95rem; color: #d6d9ee; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgb(255 255 255 / 0.92); color: var(--navy-950); cursor: pointer; box-shadow: var(--shadow-sm);
}
.lightbox__btn:hover { background: #fff; }
.lightbox__close { top: 10px; right: 10px; }
.lightbox__prev { left: 10px; top: 40%; }
.lightbox__next { right: 10px; top: 40%; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq--center { margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
  font: 650 1.08rem/1.4 var(--font-head); color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--green-700); border-bottom: 2.5px solid var(--green-700);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 22px 18px; color: var(--ink-soft); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Service area ---------- */
.area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.area-grid h3 { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; }
.area-grid h3 .icon { color: var(--green-700); }
.area-grid ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 16px; color: var(--ink-soft); }
.area-grid li { padding: 3px 0; break-inside: avoid; }
@media (max-width: 860px) { .area-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 10% 120%, rgb(47 194 68 / 0.22), transparent 60%),
    var(--navy-900);
  color: #c9cde6;
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: clamp(40px, 6vw, 64px); flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 0.2em; }
.cta-band p { margin: 0; font-size: 1.1rem; }

/* ---------- Contact ---------- */
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 28px); }
.contact-action {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0;
  padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.contact-action:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green-500); }
.contact-action .feature__icon { margin-bottom: 14px; }
.contact-action__label { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-700); }
.contact-action__value { font: 700 clamp(1.3rem, 3vw, 1.9rem)/1.2 var(--font-head); color: var(--navy-900); overflow-wrap: anywhere; }
.contact-action__note { color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 760px) { .contact-actions { grid-template-columns: 1fr; } }

.contact-details {
  list-style: none; margin: clamp(28px, 4vw, 40px) 0 0; padding: clamp(20px, 3vw, 28px) 0 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.contact-details li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.contact-details .icon { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--green-700); }
.contact-details strong { display: block; color: var(--navy-900); }
@media (max-width: 760px) { .contact-details { grid-template-columns: 1fr; } }
.pill-list.pill-list--center { justify-content: center; max-width: 760px; margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #b9bedb; font-size: 0.95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; padding-block: clamp(44px, 6vw, 64px); }
.site-footer h2 { font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 14px; font-family: var(--font-body); font-weight: 800; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #dfe2f3; text-decoration: none; }
.site-footer a:hover { color: var(--green-400); text-decoration: underline; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: #fff; font: 750 1.2rem/1.2 var(--font-head); }
.footer__brand img { width: 74px; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 14px; }
.footer__social { display: inline-flex; align-items: center; gap: 8px; }
.footer__bottom { border-top: 1px solid rgb(255 255 255 / 0.1); padding-block: 18px; font-size: 0.85rem; color: #9097c0; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Mobile call bar ---------- */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgb(255 255 255 / 0.96); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgb(17 24 80 / 0.12);
    backdrop-filter: blur(6px);
  }
  .mobile-cta .btn { padding: 0.8em 0.6em; font-size: 0.98rem; }
  body { padding-bottom: 76px; }
}

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-lg { margin-top: clamp(28px, 4vw, 44px); }
.note { font-size: 0.95rem; color: var(--ink-soft); }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1em; }
.pill-list li { padding: 6px 12px; border-radius: var(--radius-sm); background: var(--navy-100); color: var(--navy-800); font-weight: 600; font-size: 0.92rem; }
.related { display: flex; flex-wrap: wrap; gap: 10px; }

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

@media print {
  .topbar, .site-nav, .nav-toggle, .mobile-cta, .cta-band { display: none !important; }
  .hero, .page-hero { background: none; color: #000; }
  .hero h1, .page-hero h1 { color: #000; }
}
