/* ==========================================================================
   TAG Painting and Decorating — Design System
   Navy + Gold premium. Built to the PRD (10 June 2026).
   ========================================================================== */

:root {
  /* Brand colours (matched to the TAG logo: yellow / blue / red / black) */
  --navy: #26316E;        /* brand blue — nav, footer, dark sections, headings */
  --slate: #3846A6;       /* muted blue — links & hovers on light */
  --gold: #F3DC80;        /* softened butter yellow — button/badge fills, accents on dark */
  --gold-hover: #E9CE6B;
  --red: #C25050;         /* muted red — eyebrows, tags, accents on light */
  --bg: #FFFFFF;
  --bg-alt: #EEF1F6;      /* soft light tint for alternating sections */
  --text: #1A1A1A;
  --text-soft: #5B5B66;
  --on-dark: #FFFFFF;
  --success: #2E8B57;
  --error: #C0392B;

  /* Spacing scale (8px base) */
  --xs: 4px;  --sm: 8px;  --md: 16px; --lg: 24px;
  --xl: 48px; --xxl: 80px; --xxxl: 120px;

  /* Radii */
  --r-card: 12px;
  --r-btn: 8px;
  --r-img: 8px;

  --shadow: 0 2px 8px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 32px rgba(27,42,74,.14);

  --maxw: 1200px;
  --pad: 24px;

  --ff-head: "Poppins", system-ui, -apple-system, Segoe UI, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ------------------------------ Reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg, picture { max-width: 100%; display: block; }
a { color: var(--slate); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy); }
ul { padding-left: 1.2em; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); font-weight: 700; }
h1 { font-family: var(--ff-head); font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-family: var(--ff-head); font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
p { max-width: 72ch; }

/* ------------------------------ Layout ---------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--xxl) 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: var(--on-dark); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: rgba(245,245,240,.85); }
.center { text-align: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .8rem;
  font-weight: 700; color: var(--red); margin-bottom: var(--sm);
}
.section-head { max-width: 760px; margin: 0 auto var(--xl); text-align: center; }
.section-head p { margin: var(--md) auto 0; color: var(--text-soft); }
.section-head .eyebrow { color: var(--red); margin: 0 0 var(--sm); }
.section--navy .eyebrow { color: var(--gold); }
.lead { font-size: 1.15rem; color: var(--text-soft); }

/* grids */
.grid { display: grid; gap: var(--lg); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* services list */
.svc-grid { list-style: none; padding: 0; margin: 0 auto; max-width: 920px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 32px; }
.svc-grid li { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 500; }
.svc-grid .ico { color: var(--navy); flex: none; display: flex; }
.svc-grid .ico svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* ------------------------------ Buttons --------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--ff-body); font-weight: 600; font-size: 1rem;
  padding: 14px 28px; border-radius: var(--r-btn); border: 2px solid transparent;
  cursor: pointer; transition: all .2s ease; text-align: center; line-height: 1.2;
}
.btn--primary { background: var(--gold); color: #141414; border-color: #141414; }
.btn--primary:hover { background: var(--gold-hover); color: #141414; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.section--navy .btn--ghost, .hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.section--navy .btn--ghost:hover, .hero .btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--on-dark:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--lg { padding: 16px 36px; font-size: 1.08rem; }
.btn--block { width: 100%; }

/* ------------------------------ Header ---------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--navy);
  color: var(--on-dark); box-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand a { color: #fff; display: inline-flex; flex-direction: column; gap: 4px; }
.logo-badge { display: inline-flex; flex-direction: column; align-items: center; gap: 0; background: var(--gold); border: 2.5px solid #111; border-radius: 10px; padding: 2px 10px 3px; width: max-content; }
.logo-tag { display: inline-flex; align-items: center; gap: 1px; }
.logo-tag span { font-family: "Baloo 2", var(--ff-head), sans-serif; font-weight: 800; font-size: 1.5rem; line-height: 1; letter-spacing: -0.5px; -webkit-text-stroke: 1.2px #111; paint-order: stroke fill; }
.logo-tag .t { color: var(--red); }
.logo-tag .a { color: #fff; }
.logo-tag .g { color: var(--navy); }
.logo-painting { font-family: "Baloo 2", var(--ff-head), sans-serif; font-weight: 800; font-size: .5rem; line-height: 1; letter-spacing: .2em; text-indent: .2em; color: var(--navy); text-transform: uppercase; margin-top: -1px; }
.site-footer .logo-badge { margin-bottom: 6px; }

.main-nav { display: flex; align-items: center; gap: var(--lg); }
.main-nav > ul { display: flex; gap: var(--lg); list-style: none; padding: 0; margin: 0; align-items: center; }
.main-nav a { color: var(--on-dark); font-weight: 500; font-size: .95rem; }
.main-nav a:hover { color: var(--gold); }
.has-sub { position: relative; }
.has-sub > a::after { content: "▾"; font-size: .7em; margin-left: 4px; opacity: .7; }
.submenu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; min-width: 230px; border-radius: var(--r-card); box-shadow: var(--shadow-lg);
  padding: var(--sm) 0; list-style: none; margin: 0; opacity: 0; visibility: hidden;
  transition: all .18s ease; border-top: 3px solid var(--gold);
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
.submenu a { display: block; color: var(--text); padding: 10px 20px; font-size: .92rem; }
.submenu a:hover { background: var(--bg-alt); color: var(--navy); }

.header-cta { display: flex; align-items: center; gap: var(--md); }
.header-phone { color: #fff; font-weight: 600; white-space: nowrap; }
.header-phone:hover { color: var(--gold); }
.header-phone .num { font-size: 1.02rem; }
.header-phone .lbl { display: block; font-size: .62rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(245,245,240,.65); font-weight: 500; }

.nav-toggle { display: none; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; background: none; border: 0; color: #fff; cursor: pointer; padding: 0; }
.nav-toggle svg { width: 26px; height: 26px; max-width: none; flex: none; }

/* mobile nav overlay */
.mobile-nav {
  position: fixed; inset: 0; background: var(--navy); z-index: 200;
  display: none; flex-direction: column; padding: var(--xl) var(--pad);
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav .close { align-self: flex-end; background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; }
.mobile-nav ul { list-style: none; padding: 0; margin: var(--lg) 0 0; }
.mobile-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-nav a { color: #fff; display: block; padding: 14px 0; font-size: 1.15rem; }
.mobile-nav .sub-list { padding-left: var(--md); }
.mobile-nav .sub-list a { font-size: 1rem; color: rgba(245,245,240,.8); padding: 10px 0; }
.mobile-nav .mobile-cta { margin-top: var(--lg); }

/* ------------------------------ Hero ------------------------------------ */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-bg .before, .hero-bg .after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg .after { clip-path: inset(0 100% 0 0); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(38,49,110,.72) 0%, rgba(38,49,110,.5) 45%, rgba(38,49,110,.24) 100%); z-index: 1; }
.hero-inner { position: relative; z-index: 2; padding: var(--xl) 0 calc(var(--xxxl) + 48px); max-width: 720px; }
.hero h1 { color: #fff; }
.hero p { color: rgba(245,245,240,.92); font-size: 1.25rem; margin-top: var(--md); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--md); margin-top: var(--xl); }
.hero-badges {
  position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: var(--lg);
  padding: var(--lg) 0; border-top: 1px solid rgba(255,255,255,.15);
}
.hero-badge { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: .95rem; }
.hero-badge .ico { color: var(--gold); display: flex; }
.hero-page { padding: var(--xxl) 0 var(--xl); }
.hero-page h1 { color: #fff; }
.hero-page p { color: rgba(245,245,240,.9); margin-top: var(--md); font-size: 1.15rem; }

/* breadcrumbs */
.breadcrumb { font-size: .85rem; color: rgba(245,245,240,.7); margin-bottom: var(--md); }
.breadcrumb a { color: rgba(245,245,240,.7); }
.breadcrumb a:hover { color: var(--gold); }

/* ------------------------------ Cards ----------------------------------- */
.card {
  background: #fff; border-radius: var(--r-card); padding: var(--lg);
  box-shadow: var(--shadow); border: 1px solid rgba(27,42,74,.06);
  transition: transform .25s ease, box-shadow .25s ease; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .ico {
  width: 56px; height: 56px; border-radius: 12px; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center; color: var(--navy);
  margin-bottom: var(--md);
}
.card h3 { margin-bottom: var(--sm); }
.card p { color: var(--text-soft); font-size: .98rem; }
.card .more { display: inline-block; margin-top: var(--md); font-weight: 600; color: var(--slate); }
.card .more:hover { color: var(--red); }

/* ------------------------------ Trust / stats --------------------------- */
.stats { display: flex; flex-wrap: wrap; gap: var(--xl); justify-content: center; }
.stat { text-align: center; }
.stat .num { font-family: var(--ff-head); font-size: clamp(2.4rem, 6vw, 3.6rem); color: var(--gold); font-weight: 700; line-height: 1; }
.stat .lbl { display: block; margin-top: var(--sm); font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; }
.section--navy .stat .lbl { color: rgba(245,245,240,.8); }

/* ------------------------------ Reviews carousel ------------------------ */
.rev-carousel { max-width: 760px; margin: 0 auto; text-align: center; }
.rev-track { position: relative; }
.rev-slide { display: none; }
.rev-slide.active { display: block; animation: revFade .5s ease; }
@keyframes revFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rev-slide .stars { color: var(--gold); font-size: 1.4rem; letter-spacing: 3px; }
.rev-slide blockquote { font-size: 1.15rem; line-height: 1.75; color: var(--text); margin: 16px auto; max-width: 640px; }
.rev-source { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-soft); font-weight: 600; }
.rev-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.rev-dots { display: flex; gap: 8px; }
.rev-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(38,49,110,.25); cursor: pointer; transition: background .2s; }
.rev-dot.active { background: var(--navy); }
.rev-arrow { background: none; border: 0; font-size: 1.3rem; line-height: 1; color: var(--navy); cursor: pointer; padding: 4px 10px; border-radius: 6px; }
.rev-arrow:hover { background: var(--bg-alt); }
@media (prefers-reduced-motion: reduce) { .rev-slide.active { animation: none; } }

/* ------------------------------ Reviews --------------------------------- */
.review-card { background: #fff; border-radius: var(--r-card); padding: var(--lg); box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; }
.review-card .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: var(--sm); }
.review-card blockquote { font-size: 1rem; color: var(--text); flex: 1; }
.review-card .who { margin-top: var(--md); font-weight: 600; color: var(--navy); }
.review-card .meta { font-size: .85rem; color: var(--text-soft); }

/* ------------------------------ Gallery --------------------------------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: var(--sm); justify-content: center; margin-bottom: var(--xl); }
.filter-btn {
  background: #fff; border: 1px solid rgba(27,42,74,.15); color: var(--navy);
  padding: 8px 18px; border-radius: 999px; cursor: pointer; font-weight: 500; font-size: .9rem;
  transition: all .2s;
}
.filter-btn:hover { border-color: var(--gold); }
.filter-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--md); }
.gallery-item { border-radius: var(--r-img); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 260px; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: var(--md);
  background: linear-gradient(transparent, rgba(27,42,74,.85)); color: #fff; font-size: .9rem;
}
.gallery-item.is-hidden { display: none; }

/* after-photos carousel (swipe/scroll) */
.carousel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: var(--navy) var(--bg-alt); }
.carousel .slide { flex: 0 0 340px; max-width: 82%; scroll-snap-align: start; background: #fff; border-radius: var(--r-img); overflow: hidden; box-shadow: var(--shadow); }
.carousel .slide img { width: 100%; height: 250px; object-fit: cover; display: block; }
.carousel .slide .cap { padding: 12px 14px; font-size: .9rem; color: var(--text-soft); }
.carousel::-webkit-scrollbar { height: 8px; }
.carousel::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 999px; }
.carousel::-webkit-scrollbar-track { background: var(--bg-alt); border-radius: 999px; }
@media (max-width: 640px) { .carousel .slide { flex-basis: 80%; } .carousel .slide img { height: 220px; } }

/* before/after slider */
.ba-slider { position: relative; border-radius: var(--r-img); overflow: hidden; user-select: none; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-slider .ba-after { clip-path: inset(0 0 0 50%); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; cursor: ew-resize; transform: translateX(-50%); z-index: 3; }
.ba-handle::after {
  content: "⟺"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 1rem; box-shadow: var(--shadow);
}
.ba-tag { position: absolute; top: 12px; padding: 4px 10px; background: rgba(27,42,74,.8); color: #fff; font-size: .72rem; border-radius: 4px; text-transform: uppercase; letter-spacing: .08em; z-index: 2; }
.ba-tag.before { left: 12px; } .ba-tag.after { right: 12px; }

/* ------------------------------ Process / steps ------------------------- */
.steps { counter-reset: step; display: grid; gap: var(--lg); }
.step { display: flex; gap: var(--md); align-items: flex-start; }
.step .n {
  flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--ff-head);
}
.step h4 { color: var(--navy); margin-bottom: 4px; }
.step p { color: var(--text-soft); font-size: .96rem; }

/* ------------------------------ FAQ ------------------------------------- */
.faq-item { border-bottom: 1px solid rgba(27,42,74,.12); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: var(--md) 0; font-size: 1.1rem; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; gap: var(--md); align-items: center; font-family: var(--ff-body); }
.faq-q .pm { color: var(--red); font-size: 1.4rem; transition: transform .2s; flex: none; }
.faq-q[aria-expanded="true"] .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding-bottom: var(--md); color: var(--text-soft); }

/* ------------------------------ Forms ----------------------------------- */
.quote-form { background: #fff; border-radius: var(--r-card); padding: var(--xl); box-shadow: var(--shadow-lg); }
.section--navy .quote-form { color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--md); }
.field { margin-bottom: var(--md); }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
.field label .req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid rgba(27,42,74,.2); border-radius: var(--r-btn);
  font-family: var(--ff-body); font-size: 1rem; color: var(--text); background: #fff; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,.18); }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: .8rem; color: var(--text-soft); margin-top: 4px; }
.field.error input, .field.error select, .field.error textarea { border-color: var(--error); }
.field .err-msg { color: var(--error); font-size: .82rem; margin-top: 4px; display: none; }
.field.error .err-msg { display: block; }
.honeypot { position: absolute; left: -9999px; }
.form-note { font-size: .85rem; color: var(--text-soft); margin-top: var(--sm); }
.form-status { padding: var(--md); border-radius: var(--r-btn); margin-bottom: var(--md); display: none; }
.form-status.show { display: block; }
.form-status.success { background: rgba(74,124,89,.12); color: var(--success); border: 1px solid rgba(74,124,89,.3); }
.form-status.error { background: rgba(196,69,54,.1); color: var(--error); border: 1px solid rgba(196,69,54,.3); }
.is-conditional { display: none; }
.is-conditional.show { display: block; }

/* contact split */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: var(--xl); align-items: start; }
.contact-details { background: var(--bg-alt); border-radius: var(--r-card); padding: var(--xl); }
.contact-details .row { display: flex; gap: var(--md); padding: var(--md) 0; border-bottom: 1px solid rgba(27,42,74,.08); }
.contact-details .row:last-child { border-bottom: 0; }
.contact-details .ico { color: var(--navy); flex: none; }
.contact-details .row strong { display: block; color: var(--navy); }
.contact-details .row a { color: var(--slate); }

/* ------------------------------ About ----------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--xl); align-items: center; }
.value-list { list-style: none; padding: 0; display: grid; gap: var(--md); }
.value-list li { display: flex; gap: var(--md); }
.value-list .ico { color: var(--navy); flex: none; }
.value-list strong { color: var(--navy); }

/* ------------------------------ Map ------------------------------------- */
.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: var(--xl); align-items: center; }
.area-links { display: flex; flex-wrap: wrap; gap: var(--sm); }
.area-chip { background: var(--bg-alt); padding: 8px 16px; border-radius: 999px; font-size: .92rem; color: var(--navy); font-weight: 500; }
.area-chip:hover { background: var(--gold); color: var(--navy); }
.map-frame { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; background: var(--bg-alt); }
.map-frame img, .map-frame iframe { width: 100%; height: 100%; border: 0; object-fit: cover; }

/* ------------------------------ Blog ------------------------------------ */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--lg); }
.post-card { background: #fff; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card img { height: 190px; width: 100%; object-fit: cover; }
.post-card .body { padding: var(--lg); display: flex; flex-direction: column; flex: 1; }
.post-card .tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--red); font-weight: 700; }
.post-card h3 { margin: var(--sm) 0; font-size: 1.2rem; }
.post-card p { color: var(--text-soft); font-size: .94rem; flex: 1; }
.post-card .more { margin-top: var(--md); font-weight: 600; }
.article { max-width: 760px; margin: 0 auto; }
.article p, .article ul, .article h2, .article h3 { margin-bottom: var(--md); }
.article h2 { margin-top: var(--xl); }
.article h3 { margin-top: var(--lg); }
.article img { border-radius: var(--r-img); margin: var(--lg) 0; }
.article .meta { color: var(--text-soft); font-size: .9rem; margin-bottom: var(--lg); }
.callout { background: var(--bg-alt); border-left: 4px solid var(--gold); padding: var(--lg); border-radius: var(--r-btn); margin: var(--lg) 0; }
.callout p { margin: 0; }

/* ------------------------------ CTA band -------------------------------- */
.cta-band { background: var(--navy); color: #fff; text-align: center; padding: var(--xxl) 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(245,245,240,.85); margin: var(--md) auto var(--lg); }
.cta-band .btn-row { display: flex; gap: var(--md); justify-content: center; flex-wrap: wrap; }

/* ------------------------------ Footer ---------------------------------- */
.site-footer { background: var(--navy); color: var(--on-dark); padding: var(--xxl) 0 var(--lg); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--xl); }
.footer-grid h4 { color: #fff; font-family: var(--ff-body); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: var(--md); }
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: rgba(245,245,240,.8); font-size: .94rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand .logo { font-family: var(--ff-head); font-size: 1.6rem; color: #fff; }
.footer-brand .logo span { color: var(--gold); }
.footer-brand p { color: rgba(245,245,240,.7); font-size: .92rem; margin-top: var(--sm); }
.footer-badge { margin-top: var(--md); display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); padding: 8px 14px; border-radius: var(--r-btn); font-size: .85rem; }
.footer-badge .score { color: var(--gold); font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: var(--xl); padding-top: var(--lg); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sm); font-size: .85rem; color: rgba(245,245,240,.6); }
.footer-bottom a { color: rgba(245,245,240,.6); }
.footer-bottom a:hover { color: var(--gold); }

/* ------------------------------ Mobile bottom bar ----------------------- */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: var(--navy); box-shadow: 0 -2px 12px rgba(0,0,0,.2); }
.mobile-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px; color: #fff; font-size: .78rem; font-weight: 600; }
.mobile-bar a + a { border-left: 1px solid rgba(255,255,255,.12); }
.mobile-bar a.quote { background: var(--gold); color: var(--navy); }

/* ------------------------------ Cookie banner --------------------------- */
.cookie {
  position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 520px; margin: 0 auto;
  background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-lg); padding: var(--lg);
  z-index: 150; display: none; border: 1px solid rgba(27,42,74,.1);
}
.cookie.show { display: block; }
.cookie p { font-size: .9rem; color: var(--text-soft); margin-bottom: var(--md); }
.cookie .row { display: flex; gap: var(--sm); }
.cookie .btn { padding: 10px 18px; font-size: .9rem; }

/* ------------------------------ Animations ------------------------------ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.reveal-stagger.in > * { opacity: 1; transform: none; }

/* ------------------------------ Utilities ------------------------------- */
.mt-lg { margin-top: var(--lg); }
.mt-xl { margin-top: var(--xl); }
.mb-0 { margin-bottom: 0; }
.text-soft { color: var(--text-soft); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: 10px 16px; z-index: 300; }
.skip-link:focus { left: 8px; top: 8px; }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--lg); }
  .gallery-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --pad: 20px; --xxl: 56px; }
  .main-nav, .header-cta .header-phone .lbl { display: none; }
  .nav-toggle { display: inline-flex; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .coverage, .contact-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: var(--lg) 0 var(--xxl); }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .grid-2, .grid-3, .grid-4, .gallery-grid, .post-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .quote-form { padding: var(--lg); }
  .stats { gap: var(--lg); }
  .mobile-bar { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .hero-cta .btn, .cta-band .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .hero-bg .after { clip-path: none; }
}
