/* Williams Electrical — shared stylesheet for all sub-pages */
:root {
  --cream:        #F7F4ED;
  --cream-soft:   #FBF9F4;
  --sage:         #8AA38E;
  --sage-dark:    #5C7762;
  --sage-deeper:  #3F5645;
  --sage-pale:    #DCE5DB;
  --leaf:         #6F8C73;
  --bone:         #FFFFFF;
  --charcoal:    #2C3A2F;
  --muted:        #7B8579;
  --line:         #E5E1D6;
  --gold:         #D4A574;
  --gold-soft:    #E8B575;
  --google-gold:  #FBBC04;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-display: 'Fraunces', 'DM Sans', serif;
  --radius:       14px;
  --radius-pill:  999px;
  --shadow-sm:    0 2px 12px rgba(63, 86, 69, 0.06);
  --shadow:       0 10px 40px rgba(63, 86, 69, 0.10);
  --shadow-lg:    0 24px 64px rgba(63, 86, 69, 0.14);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body); color: var(--charcoal); background: var(--cream);
  line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── NAV ─── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(247, 244, 237, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s, background 0.3s;
}
#navbar.scrolled { border-bottom-color: var(--line); background: rgba(247, 244, 237, 0.95); }
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 18px 28px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.nav-logo-wrap { display: flex; justify-content: center; }
.nav-logo { height: 54px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; justify-self: end; }
.nav-links a {
  color: var(--charcoal); font-weight: 500; font-size: 0.95rem;
  letter-spacing: 0.01em; transition: color 0.2s; position: relative;
}
.nav-links a.active { color: var(--sage-dark); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: var(--sage-dark); transform: scaleX(0); transform-origin: center; transition: transform 0.25s;
}
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover { color: var(--sage-dark); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-left { justify-self: start; }
.nav-call {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--charcoal); font-weight: 600; font-size: 0.95rem;
}
.nav-call svg { width: 16px; height: 16px; stroke: var(--sage-dark); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; background: transparent; border: none; }
.hamburger span { width: 24px; height: 1.8px; background: var(--charcoal); border-radius: 2px; transition: all 0.3s; }
.mobile-menu {
  display: none; flex-direction: column; gap: 0;
  background: var(--cream); border-top: 1px solid var(--line);
  padding: 16px 28px 24px;
}
.mobile-menu a {
  display: block; padding: 14px 0; font-weight: 500; font-size: 1rem;
  color: var(--charcoal); border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border: none; }
.mobile-menu.open { display: flex; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; font-size: 0.95rem; font-weight: 600;
  border-radius: var(--radius-pill); border: 1.5px solid transparent;
  transition: all 0.25s; white-space: nowrap; cursor: pointer; font-family: var(--font-body);
}
.btn svg { width: 16px; height: 16px; stroke-width: 2; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--sage-dark); color: var(--bone); }
.btn-primary:hover { background: var(--sage-deeper); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--sage-deeper); border-color: var(--sage); }
.btn-outline:hover { background: var(--sage); color: var(--bone); border-color: var(--sage); }

/* ─── SUB-PAGE HERO ─── */
.page-hero {
  position: relative; padding: 160px 28px 80px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-soft) 100%);
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: var(--sage-pale); filter: blur(70px); opacity: 0.6; z-index: 0;
}
.page-hero-inner {
  max-width: 1180px; margin: 0 auto; position: relative; z-index: 1;
}
.breadcrumbs {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 0.84rem; color: var(--muted); margin-bottom: 22px;
}
.breadcrumbs a { color: var(--sage-dark); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span.sep { color: var(--line); }
.page-hero h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.08;
  color: var(--charcoal); letter-spacing: -0.01em; margin-bottom: 18px; max-width: 820px;
}
.page-hero h1 em { font-style: italic; color: var(--sage-dark); font-weight: 500; }
.page-hero p.lead {
  font-size: 1.12rem; color: var(--muted); max-width: 680px; line-height: 1.7; margin-bottom: 30px;
}
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ─── SECTION FRAME ─── */
section { position: relative; }
.section-inner { max-width: 1180px; margin: 0 auto; padding: 80px 28px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage-dark); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--sage); }
.section-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.8rem, 3.8vw, 2.6rem); line-height: 1.12;
  color: var(--charcoal); letter-spacing: -0.01em; margin-bottom: 18px;
}
.section-title em { font-style: italic; color: var(--sage-dark); font-weight: 500; }
.section-sub { font-size: 1.05rem; color: var(--muted); max-width: 680px; line-height: 1.7; }

/* ─── PROSE (article body) ─── */
.prose { max-width: 760px; }
.prose h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.2;
  color: var(--charcoal); margin: 48px 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.18rem; color: var(--sage-deeper); margin: 32px 0 10px;
}
.prose p, .prose li {
  font-size: 1.02rem; color: var(--charcoal); line-height: 1.78; margin-bottom: 18px;
}
.prose p strong { color: var(--sage-deeper); font-weight: 600; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 24px; }
.prose ul li { list-style: disc; padding-left: 6px; margin-bottom: 10px; }
.prose ol li { list-style: decimal; padding-left: 6px; margin-bottom: 10px; }
.prose a { color: var(--sage-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--sage-deeper); }
.prose blockquote {
  border-left: 3px solid var(--sage); padding: 4px 0 4px 22px;
  margin: 28px 0; font-style: italic; color: var(--sage-deeper);
}

/* ─── TWO-COLUMN BODY LAYOUT (article + sidebar) ─── */
.body-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px;
  gap: 64px; align-items: start;
}
.sidebar { position: sticky; top: 120px; }
.sidebar-card {
  background: var(--bone); border: 1px solid var(--line);
  border-radius: 18px; padding: 26px; margin-bottom: 18px;
}
.sidebar-card h4 {
  font-family: var(--font-display); font-weight: 500; font-size: 1.1rem;
  color: var(--charcoal); margin-bottom: 14px;
}
.sidebar-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.sidebar-card .btn { width: 100%; }
.sidebar-list { display: flex; flex-direction: column; gap: 4px; }
.sidebar-list a {
  display: block; padding: 9px 12px; border-radius: 8px;
  font-size: 0.92rem; color: var(--charcoal); transition: all 0.2s;
}
.sidebar-list a:hover, .sidebar-list a.active {
  background: var(--sage-pale); color: var(--sage-deeper);
}

/* ─── GRID CARDS (service/area tiles) ─── */
.grid-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  background: var(--bone); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px; transition: all 0.3s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); border-color: var(--sage); box-shadow: var(--shadow); }
.card .card-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--sage-pale);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card .card-icon svg { width: 22px; height: 22px; stroke: var(--sage-deeper); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 {
  font-family: var(--font-display); font-weight: 500; font-size: 1.18rem;
  color: var(--charcoal); margin-bottom: 8px; line-height: 1.3;
}
.card p { font-size: 0.92rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.card-link {
  font-size: 0.88rem; color: var(--sage-dark); font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.card-link::after { content: '→'; transition: transform 0.2s; }
.card:hover .card-link::after { transform: translateX(4px); }

/* ─── FAQ ─── */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 24px 4px; font-size: 1.04rem; font-weight: 500;
  color: var(--charcoal); font-family: var(--font-display); text-align: left; transition: color 0.2s;
}
.faq-q:hover { color: var(--sage-dark); }
.faq-icon { width: 24px; height: 24px; position: relative; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: var(--sage-dark);
  left: 50%; top: 50%; transition: transform 0.3s;
}
.faq-icon::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 1.5px; height: 14px; transform: translate(-50%, -50%); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; padding: 0 4px; }
.faq-item.open .faq-a { max-height: 380px; padding: 0 4px 24px; }
.faq-a p { font-size: 0.95rem; color: var(--muted); line-height: 1.75; }

/* ─── CTA SECTION ─── */
.cta-final {
  position: relative; overflow: hidden;
  padding: 100px 28px; text-align: center;
  background-image: url('/assets/img/cta-hero.jpg');
  background-size: cover; background-position: center;
}
.cta-final::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, rgba(20,28,22,0.44) 0%, rgba(44,58,47,0.40) 50%, rgba(63,86,69,0.35) 100%);
}
.cta-final-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-final-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 20px;
}
.cta-final-eyebrow::before, .cta-final-eyebrow::after {
  content: ''; width: 28px; height: 1px; background: rgba(232,181,117,0.5);
}
.cta-final h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.12;
  color: var(--bone); margin-bottom: 16px;
}
.cta-final h2 em { font-style: italic; color: var(--gold-soft); font-weight: 500; }
.cta-final p { font-size: 1.05rem; color: rgba(255,255,255,0.85); line-height: 1.65; margin-bottom: 32px; }
.cta-final-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-final-actions .btn-primary { background: var(--bone); color: var(--sage-deeper); }
.cta-final-actions .btn-primary:hover { background: var(--gold-soft); color: var(--charcoal); }
.cta-final-actions .btn-outline { border-color: rgba(255,255,255,0.5); color: var(--bone); }
.cta-final-actions .btn-outline:hover { background: var(--bone); color: var(--sage-deeper); border-color: var(--bone); }

/* ─── FOOTER ─── */
#footer { background: var(--charcoal); color: rgba(255,255,255,0.7); padding: 70px 28px 32px; }
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 28px;
}
.footer-brand img { height: 56px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 320px; margin-bottom: 22px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.footer-socials a:hover { background: var(--sage-dark); }
.footer-socials svg { width: 16px; height: 16px; stroke: var(--bone); fill: none; stroke-width: 2; }
.footer-col h5 {
  font-family: var(--font-display); font-weight: 500; font-size: 0.92rem;
  color: var(--bone); margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold-soft); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 12px;
}

/* ─── FEATURED CASE STUDIES (work page) ─── */
.case-study {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
  margin-bottom: 80px;
}
.case-study.case-study-reverse { grid-template-columns: 1fr 1.1fr; }
.case-study.case-study-reverse .case-study-body { order: -1; }
.case-study-photos-double {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.case-study-photos-single { display: block; }
.case-study-photos figure {
  position: relative; border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow); background: var(--sage-pale);
  aspect-ratio: 3/2;
}
.case-study-photos figure img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.case-study-photos figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  color: var(--bone); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.03em;
  background: linear-gradient(to top, rgba(20,28,22,0.82) 0%, rgba(20,28,22,0.3) 70%, transparent 100%);
}
.case-study-body { padding: 4px 0; }
.case-study-meta {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px;
}
.case-chip {
  font-family: var(--font-body); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.04em; padding: 5px 12px; border-radius: var(--radius-pill);
  background: var(--cream); border: 1px solid var(--line); color: var(--charcoal);
}
.case-chip-service { background: var(--sage-pale); border-color: var(--sage); color: var(--sage-deeper); }
.case-study-body h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.2;
  color: var(--charcoal); margin-bottom: 16px;
}
.case-study-body p {
  font-size: 1rem; color: var(--charcoal); line-height: 1.75; margin-bottom: 14px;
}
.case-study-body p strong { color: var(--sage-deeper); font-weight: 600; }

@media (max-width: 880px) {
  .case-study, .case-study.case-study-reverse {
    grid-template-columns: 1fr; gap: 28px; margin-bottom: 60px;
  }
  .case-study.case-study-reverse .case-study-body { order: 0; }
}

/* Reuse work-page BA + gallery grids — these classes are defined inline on the
   homepage but the work page links to pages.css, so duplicate the key rules: */
.ba-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.ba-slider {
  position: relative; aspect-ratio: 3/2; border-radius: 18px; overflow: hidden;
  background: var(--sage-pale); box-shadow: var(--shadow-sm);
  --pos: 50%; user-select: none; touch-action: none; cursor: ew-resize;
}
.ba-slider:hover { box-shadow: var(--shadow); }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba-after { z-index: 1; }
.ba-before { z-index: 2; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-tag {
  position: absolute; top: 14px; z-index: 4;
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 4px;
  background: rgba(20, 28, 22, 0.72); color: var(--bone);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.ba-tag-before { left: 14px; }
.ba-tag-after  { right: 14px; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; z-index: 5;
  left: var(--pos); transform: translateX(-50%);
  width: 44px; display: flex; align-items: center; justify-content: center;
  cursor: ew-resize; touch-action: none;
}
.ba-handle-line {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px;
  background: rgba(255, 255, 255, 0.95); box-shadow: 0 0 10px rgba(0,0,0,0.4);
}
.ba-handle-dot {
  position: relative; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bone); color: var(--sage-deeper);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.ba-handle-dot svg { width: 18px; height: 18px; }
.ba-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 18px 22px 16px; color: var(--bone);
  background: linear-gradient(to top, rgba(20,28,22,0.78) 0%, rgba(20,28,22,0.4) 60%, transparent 100%);
  pointer-events: none;
}
.ba-caption h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.18rem; margin-bottom: 2px; line-height: 1.25; }
.ba-caption p { font-size: 0.85rem; opacity: 0.85; line-height: 1.4; }
.gallery-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.gallery-tile {
  position: relative; flex: 1 1 calc(33.333% - 12px);
  min-width: 280px; max-width: 380px; aspect-ratio: 4/3;
  border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none; color: var(--bone);
}
.gallery-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gallery-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-tile:hover img { transform: scale(1.06); }
.gallery-tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,28,22,0.82) 0%, rgba(20,28,22,0.35) 45%, transparent 70%);
}
.gallery-tile-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 18px 20px 16px; z-index: 1; }
.gallery-tile-label h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.08rem; margin-bottom: 3px; line-height: 1.25; }
.gallery-tile-label span { font-size: 0.8rem; opacity: 0.85; line-height: 1.4; display: block; }
.work-header { text-align: center; margin-bottom: 42px; }
.work-header .eyebrow { justify-content: center; }
.work-header .eyebrow::before { display: none; }
.work-header .section-sub { margin: 0 auto; }

@media (max-width: 960px) {
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  /* Gallery tiles: hide sub-caption + tighter gradient so the image breathes */
  .gallery-tile::after {
    background: linear-gradient(to top, rgba(20,28,22,0.78) 0%, rgba(20,28,22,0.3) 30%, transparent 50%);
  }
  .gallery-tile-label { padding: 12px 14px; }
  .gallery-tile-label h4 { font-size: 0.9rem; margin-bottom: 0; }
  .gallery-tile-label span { display: none; }
}
@media (max-width: 600px) {
  .ba-grid { grid-template-columns: 1fr; gap: 18px; }
  .gallery-tile { flex: 1 1 calc(50% - 9px); min-width: 0; }
}

/* ─── COOKIE BANNER ─── */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999;
  max-width: 720px; margin: 0 auto;
  background: var(--charcoal); color: rgba(255,255,255,0.9);
  border-radius: 14px; padding: 16px 20px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  font-size: 0.88rem; line-height: 1.45;
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner p { margin: 0; flex: 1 1 200px; min-width: 0; }
.cookie-banner a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner a:hover { color: var(--bone); }
.cookie-btn {
  background: var(--bone); color: var(--sage-deeper);
  border: none; padding: 10px 22px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 600; font-size: 0.88rem;
  cursor: pointer; transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.cookie-btn:hover { background: var(--gold-soft); transform: translateY(-1px); }
@media (max-width: 540px) {
  .cookie-banner { padding: 14px 16px; font-size: 0.82rem; }
  .cookie-btn { width: 100%; }
}

/* ─── FOOTER POLICY LINKS ─── */
.footer-policies {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  font-size: 0.82rem;
}
.footer-policies a {
  color: rgba(255,255,255,0.65); transition: color 0.2s;
}
.footer-policies a:hover { color: var(--gold-soft); }
.footer-policies span { color: rgba(255,255,255,0.3); }

/* ─── FOOTER CREDIT (Made by …) ─── */
.footer-credit {
  text-align: center; margin-top: 18px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.74rem; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.35);
}
.footer-credit a {
  color: rgba(255,255,255,0.5); transition: color 0.2s;
  text-decoration: none; border-bottom: 1px dotted rgba(255,255,255,0.2);
}
.footer-credit a:hover { color: var(--gold-soft); border-bottom-color: var(--gold-soft); }

/* ─── FLOATING ACTIONS ─── */
.float-actions {
  position: fixed; right: 22px; bottom: 22px; z-index: 999;
  display: flex; flex-direction: column; gap: 12px;
}
.float-btn {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); transition: transform 0.2s;
}
.float-btn:hover { transform: scale(1.08); }
.float-wa { background: #25D366; }
.float-wa svg { width: 26px; height: 26px; fill: var(--bone); }
.float-call { background: var(--sage-dark); }
.float-call svg { width: 22px; height: 22px; stroke: var(--bone); fill: none; stroke-width: 2; }

/* ─── CONTACT FORM (used on contact + service/area pages) ─── */
.contact-form {
  background: var(--bone); border-radius: 22px; padding: 36px;
  box-shadow: var(--shadow-lg); max-width: 580px; margin: 0 auto;
}
.contact-form h3 {
  font-family: var(--font-display); font-weight: 500; font-size: 1.4rem;
  color: var(--charcoal); margin-bottom: 6px;
}
.contact-form > p { font-size: 0.92rem; color: var(--muted); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 0.78rem; font-weight: 500; color: var(--charcoal); letter-spacing: 0.04em;
}
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body); padding: 13px 14px;
  border: 1.5px solid var(--sage-pale); border-radius: 10px;
  background: var(--cream-soft); font-size: 0.95rem; color: var(--charcoal);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(123,133,121,0.7); }
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: var(--sage); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--sage-dark); background: var(--bone);
  box-shadow: 0 0 0 3px rgba(138, 163, 142, 0.18);
}
/* Override Chrome/Safari autofill yellow/white background */
.form-field input:-webkit-autofill,
.form-field input:-webkit-autofill:hover,
.form-field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 30px var(--cream-soft) inset !important;
  -webkit-text-fill-color: var(--charcoal) !important;
  caret-color: var(--charcoal);
}
.form-field textarea { resize: vertical; min-height: 110px; font-family: var(--font-body); }
.form-single { margin-bottom: 14px; }
.btn-submit {
  width: 100%; margin-top: 10px;
  background: var(--sage-deeper); color: var(--bone);
  padding: 14px; border-radius: var(--radius-pill); font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background 0.25s;
}
.btn-submit:hover { background: var(--sage-dark); }
.btn-submit svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ─── AREA PILLS ─── */
.areas-pills {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px;
}
.area-pill {
  background: var(--cream); border: 1px solid var(--line);
  padding: 9px 16px; border-radius: var(--radius-pill);
  font-size: 0.88rem; color: var(--charcoal);
  display: inline-flex; align-items: center; gap: 6px; transition: all 0.2s;
}
.area-pill svg { width: 13px; height: 13px; stroke: var(--sage-dark); fill: none; stroke-width: 2; }
.area-pill:hover { background: var(--sage-pale); border-color: var(--sage); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .body-layout { grid-template-columns: 1fr; gap: 40px; }
  .sidebar { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .nav-inner { grid-template-columns: auto 1fr auto; padding: 14px 20px; }
  .nav-logo-wrap { justify-self: start; }
  .nav-logo { height: 44px; }
  .nav-links, .nav-left { display: none; }
  .hamburger { display: flex; }
  .page-hero { padding: 130px 22px 60px; }
  .page-hero h1 { font-size: 2rem; }
  .section-inner { padding: 60px 22px; }
  .cta-final { padding: 80px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 26px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
