/* ==========================================================================
   H&W Alarm - Design System
   Clean, modern rebuild replacing the legacy Astra/Elementor stylesheet.
   Palette: H&W green (#537e4d, from the site's own logo/theme) + white,
   with a green-tinted charcoal for neutrals and dark sections.
   ========================================================================== */

:root {
  /* Neutrals (a faint green undertone, not navy/blue) */
  --ink-950: #10140f;
  --ink-900: #161b14;
  --ink-800: #212821;
  --ink-700: #333b32;
  --ink-600: #4c554a;
  --ink-500: #69726a;
  --ink-400: #8d958c;
  --ink-300: #b1b8ae;
  --ink-200: #d6dad2;
  --ink-100: #eaece7;

  /* Paper / surfaces */
  --paper: #ffffff;
  --mist: #f5f7f4;
  --line: #e2e7e0;
  --line-dark: rgba(255, 255, 255, 0.12);

  /* Brand green (H&W's own brand color) */
  --brand-300: #8fb086;
  --brand: #537e4d;
  --brand-600: #446840;
  --brand-700: #365233;
  --brand-tint: #eaf1e7;
  --brand-ink: #ffffff;

  /* Semantic */
  --success: #3f7a3a;
  --success-bg: #e9f4e7;
  --danger: #b3413a;
  --danger-bg: #fbeceb;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(10, 16, 10, 0.06), 0 1px 1px rgba(10, 16, 10, 0.04);
  --shadow: 0 8px 24px -8px rgba(10, 16, 10, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(10, 16, 10, 0.35);

  --container: 1180px;
  --header-h: 84px;

  /* Spacing scale - used for section rhythm, card padding, and layout gaps */
  --pad-compact: 24px;  /* small supporting blocks, e.g. media-card captions */
  --pad-card: 32px;     /* standard card/panel padding (card, form-card, testimonial-card) */
  --pad-band: 48px;     /* large feature bands (cta-band) and the sections that host them */
  --gap-content: 24px;  /* gap within a content grid of cards */
  --gap-split: 48px;    /* gap between two major layout columns (form-shell, footer-grid) */
  --section-y: 96px;    /* standard section vertical padding */
  --section-y-sm: 56px; /* compact section vertical padding (e.g. trust strips) */
  --band-y: 80px;       /* page-header banner vertical padding */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-800);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.01em; color: var(--ink-900); line-height: 1.15; }
p { margin: 0 0 1em; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; background: var(--ink-900); color: #fff;
  padding: 8px 16px; border-radius: var(--radius-sm); z-index: 1000; transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Type scale ---------- */
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.35rem); }
h3 { font-size: 1.25rem; }
.lead { font-size: 1.15rem; color: var(--ink-600); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 14px;
}
.on-dark .eyebrow { color: var(--brand-300); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0.85em 1.6em;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-600); box-shadow: var(--shadow); }
.btn-navy { background: var(--ink-900); color: #fff; }
.btn-navy:hover { background: var(--ink-800); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--ink-900); border-color: var(--ink-200); }
.btn-outline:hover { border-color: var(--ink-900); }
.btn-ghost-light { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.16); }
.btn-lg { padding: 1em 2em; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
/* backdrop-filter lives on a pseudo-element (not .site-header itself) so this
   element never becomes a containing block for its position:fixed mobile nav */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -12px rgba(16, 20, 15, 0.12); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 64px; width: auto; }
.brand-name { color: var(--ink-900); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }

.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--line);
  border-radius: var(--radius-sm); width: 44px; height: 40px; color: var(--ink-900); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav a.nav-link {
  position: relative; display: flex; align-items: center; gap: 6px;
  padding: 12px 15px; color: var(--ink-700); font-weight: 500; font-size: 0.94rem;
  transition: color .15s ease;
}
/* An underline indicator (not a filled pill) marks hover/open/active state */
.main-nav a.nav-link::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 6px;
  height: 2px; border-radius: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: center; transition: transform .18s ease;
}
.main-nav a.nav-link:hover, .main-nav .has-dropdown.is-open > a.nav-link { color: var(--brand-700); }
.main-nav a.nav-link[aria-current="page"] { color: var(--brand-700); }
.main-nav a.nav-link:hover::after,
.main-nav .has-dropdown.is-open > a.nav-link::after,
.main-nav a.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.main-nav .has-dropdown { position: relative; }
.main-nav .caret { width: 10px; height: 10px; transition: transform .15s ease; opacity: .55; }
.main-nav .has-dropdown.is-open .caret { transform: rotate(180deg); }
.header-divider { width: 1px; height: 28px; background: var(--line); flex-shrink: 0; margin: 0 10px; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px;
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
/* Bridges the visual gap between a trigger and its panel so hover doesn't drop mid-crossing */
.dropdown::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.main-nav .has-dropdown.is-open .dropdown,
.main-nav .has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--ink-800); font-size: 0.94rem; font-weight: 500; }
.dropdown a:hover { background: var(--mist); color: var(--brand-700); }

/* Mega menu (e.g. Security & Automation) - a single panel, two columns, icon-led links.
   Specificity note: selectors are written as "a.mega-link" (not ".mega-link") so they
   reliably beat the generic ".dropdown a { display: block }" rule above. */
.mega-panel { padding: 0; min-width: 600px; overflow: hidden; }
.mega-columns { display: grid; grid-template-columns: 1fr 1fr; padding: 12px; gap: 4px; }
.mega-col:first-child { border-right: 1px solid var(--line); padding-right: 10px; }
.mega-col:last-child { padding-left: 10px; }
.mega-heading {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-500); padding: 8px 10px 8px;
}
a.mega-link {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 9px 10px; border-radius: var(--radius); color: var(--ink-800);
  transition: background-color .15s ease, transform .15s ease;
}
a.mega-link:hover { background: var(--mist); transform: translateX(2px); }
a.mega-link:hover .mega-link-icon { background: var(--brand); color: #fff; }
.mega-link-icon {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0; margin-top: 1px;
  background: var(--brand-tint); color: var(--brand-700);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .15s ease, color .15s ease;
}
.mega-link-icon svg { width: 16px; height: 16px; }
.mega-link-text { display: flex; flex-direction: column; gap: 2px; padding-top: 2px; }
.mega-link-title { font-size: 0.92rem; font-weight: 600; color: var(--ink-800); line-height: 1.25; }
a.mega-link:hover .mega-link-title { color: var(--brand-700); }
.mega-link-desc { font-size: 0.78rem; color: var(--ink-500); line-height: 1.3; }
.mega-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 18px; background: var(--mist); border-top: 1px solid var(--line);
  font-size: 0.86rem; color: var(--ink-600);
}
.mega-footer a { color: var(--brand-700); font-weight: 700; }
.mega-footer a:hover { color: var(--brand); }

.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0; flex-direction: column; align-items: stretch;
    background: var(--paper); padding: 12px 20px 32px; overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .site-header.nav-open .main-nav { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .main-nav > ul { flex-direction: column; align-items: stretch; width: 100%; gap: 2px; }
  .main-nav a.nav-link { padding: 14px 12px; }
  .dropdown {
    position: static; box-shadow: none; background: var(--mist); opacity: 1; visibility: visible;
    transform: none; display: none; margin: 2px 0 8px; border: 1px solid var(--line);
  }
  .main-nav .has-dropdown.is-open .dropdown { display: block; }
  .dropdown a { color: var(--ink-700); }
  .dropdown a:hover { background: var(--brand-tint); color: var(--brand-700); }
  .mega-panel { min-width: auto; }
  .mega-columns { grid-template-columns: 1fr; padding: 8px; }
  .mega-col:first-child { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 8px; margin-bottom: 8px; }
  .mega-col:last-child { padding-left: 0; }
  a.mega-link:hover { transform: none; }
  .mega-link-title { color: var(--ink-700); }
  .mega-footer { flex-direction: column; align-items: flex-start; gap: 4px; }
  .header-divider { display: none; }
  .header-cta { width: 100%; margin-top: 14px; }
  .header-cta .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 140% at 15% 0%, #1c2919 0%, var(--ink-950) 60%);
  padding: var(--section-y) 0;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,20,15,0.75) 0%, rgba(16,20,15,0.92) 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; }
.hero h1 { color: #fff; }
.hero p.lead { color: var(--ink-200); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill); font-size: 0.85rem; color: var(--ink-100);
}
.hero-badge svg { width: 15px; height: 15px; color: var(--brand-300); }

/* Simple page header for interior pages - optionally carries a background photo via .page-header-media */
.page-header { position: relative; overflow: hidden; background: var(--ink-950); color: #fff; padding: var(--band-y) 0; }
.page-header h1 { color: #fff; }
.page-header .lead { color: var(--ink-300); max-width: 640px; }
.page-header .container { position: relative; z-index: 1; }
.page-header-media { position: absolute; inset: 0; z-index: 0; }
.page-header-media img { width: 100%; height: 100%; object-fit: cover; }
.page-header-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(16,20,15,0.94) 0%, rgba(16,20,15,0.86) 45%, rgba(16,20,15,0.6) 100%);
}
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--ink-400); margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-sm { padding: var(--section-y-sm) 0; }
.section-alt { background: var(--mist); }
.section-dark { background: var(--ink-950); color: #fff; }
.section-dark .lead { color: var(--ink-300); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin: 0 0 40px; text-align: left; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: var(--gap-content); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--pad-card); box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.icon-tile {
  width: 52px; height: 52px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  background: var(--brand-tint); color: var(--brand-700);
  margin-bottom: 20px; flex-shrink: 0;
}
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile.navy { background: var(--ink-900); color: var(--brand-300); }
.card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.card p:last-child { margin-bottom: 0; color: var(--ink-600); }
.card p { color: var(--ink-600); }

.media-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--paper); }
.media-card img, .media-card video { aspect-ratio: 16/10; object-fit: cover; }
.media-card .body { padding: var(--pad-compact); }
.media-card h3 { margin-bottom: 8px; }
.media-card p { color: var(--ink-600); margin-bottom: 0; }

/* Feature checklist */
.feature-list { display: grid; gap: 14px; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-700); }
.feature-list li svg { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.section-dark .feature-list li { color: var(--ink-200); }
.section-dark .feature-list li svg { color: var(--brand-300); }

/* Stats */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 720px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat-number { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); font-weight: 800; color: var(--brand-300); }
.stat-label { color: var(--ink-300); font-size: 0.92rem; margin-top: 4px; }

/* A percentage/figure called out above a heading, on a light background (e.g. "85% Advanced Technology...") */
.stat-block + .stat-block { margin-top: var(--gap-content); }
.stat-figure { font-size: 1.8rem; font-weight: 800; color: var(--brand); margin-bottom: 4px; }
.stat-block h3 { margin-bottom: 4px; }
.stat-block p { margin-bottom: 0; }

/* Testimonials */
.testimonial-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--pad-card); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; height: 100%; }
.testimonial-quote-mark { color: var(--brand-tint); margin-bottom: 8px; }
.testimonial-quote-mark svg { width: 32px; height: 32px; }
.testimonial-quote { color: var(--ink-700); flex-grow: 1; }
.testimonial-name { font-weight: 700; color: var(--ink-900); margin-top: 16px; font-size: 0.95rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--ink-950), var(--brand-700));
  color: #fff; border-radius: var(--radius-lg); padding: var(--pad-band); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
/* Sections whose only job is to host a CTA band don't need full section padding */
.section:has(> .container > .cta-band) { padding: var(--pad-band) 0; }
.cta-band h2, .cta-band h3 { color: #fff; margin-bottom: 4px; }
.cta-band p { color: var(--ink-200); max-width: 560px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.cta-divider { width: 100%; max-width: 320px; height: 1px; background: var(--line-dark); margin: 8px 0; }

/* ---------- Forms ---------- */
.form-shell { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--gap-split); align-items: start; }
@media (max-width: 900px) { .form-shell { grid-template-columns: 1fr; } }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--pad-card); box-shadow: var(--shadow-sm); }
.form-side .card + .card { margin-top: 20px; }
.form-side ul { display: grid; gap: 12px; }
.form-side li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-600); }
.form-side li svg { width: 18px; height: 18px; color: var(--brand-600); margin-top: 2px; flex-shrink: 0; }

.hw-fs-form { text-align: left; }
.hw-fs-field { margin-bottom: 18px; display: flex; flex-direction: column; }
.hw-fs-field label { margin-bottom: 7px; font-weight: 600; font-size: 0.92rem; color: var(--ink-800); }
.hw-fs-field input, .hw-fs-field select, .hw-fs-field textarea {
  padding: 0.75em 0.9em; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 0.98rem; font-family: inherit; background: var(--paper); color: var(--ink-900);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.hw-fs-field input:focus, .hw-fs-field select:focus, .hw-fs-field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(83, 126, 77, 0.2);
}
.hw-fs-field textarea { min-height: 120px; resize: vertical; }
.hw-fs-row { display: flex; gap: 16px; flex-wrap: wrap; }
.hw-fs-row .hw-fs-field { flex: 1; min-width: 160px; }
.hw-fs-radio-group label.hw-fs-radio {
  flex-direction: row; align-items: center; gap: 10px; font-weight: 400; color: var(--ink-700);
  margin-top: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer;
}
.hw-fs-radio-group label.hw-fs-radio:hover { border-color: var(--brand); }
.hw-fs-radio-group input { width: auto; }
.hw-fs-checkbox { flex-direction: row !important; align-items: flex-start; gap: 10px; font-weight: 400 !important; color: var(--ink-700); }
.hw-fs-checkbox input { width: auto; margin-top: 3px; }
.hw-fs-submit {
  background: var(--brand); color: #fff; border: none; border-radius: var(--radius-pill);
  padding: 0.9em 2em; font-size: 1rem; font-weight: 700; cursor: pointer; transition: background-color .15s ease, transform .15s ease;
}
.hw-fs-submit:hover { background: var(--brand-600); transform: translateY(-1px); }
.hw-fs-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
[data-fs-error] { color: var(--danger); font-size: 0.84rem; margin-top: 6px; display: block; }
[data-fs-success] {
  color: var(--success); font-weight: 600; margin-bottom: 18px; padding: 12px 14px;
  background: var(--success-bg); border-radius: var(--radius-sm);
}
[data-fs-success]:empty, [data-fs-error]:empty { display: none; }
.form-note { font-size: 0.82rem; color: var(--ink-500); margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); color: var(--ink-600); padding: 72px 0 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: var(--gap-split); padding-bottom: var(--section-y-sm); border-bottom: 1px solid var(--line); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 58px; margin-bottom: 16px; }
.footer-brand p { color: var(--ink-500); font-size: 0.92rem; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; background: var(--mist);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink-700);
}
.footer-social a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.footer-social svg { width: 16px; height: 16px; }
.footer-heading { color: var(--ink-900); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a, .footer-col span { font-size: 0.94rem; color: var(--ink-600); }
.footer-col a:hover { color: var(--brand-700); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: 0.94rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--brand); margin-top: 2px; flex-shrink: 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 0.85rem; color: var(--ink-500); flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); }

/* ---------- Reveal-on-scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
