/* ==========================================================================
   JLG Electrical Solutions — main stylesheet
   Edit brand colours/fonts in :root below.
   ========================================================================== */

:root {
  /* Brand colours */
  --navy-900: #0b1220;
  --navy-800: #111a2c;
  --navy-700: #1a2540;
  --navy-600: #2a3658;
  --accent: #ffc21a;          /* electric amber/yellow */
  --accent-600: #f2ac00;
  --accent-ink: #1a1300;      /* text on accent */
  --ink: #141a26;             /* body text on light */
  --ink-soft: #4a5468;        /* secondary text on light (AA on white) */
  --line: #e3e6ec;
  --bg: #ffffff;
  --bg-soft: #f5f6f9;
  --on-dark: #f4f6fb;
  --on-dark-soft: #b9c1d4;    /* AA on navy-900 */
  --danger: #b42318;
  --success: #067647;

  /* Type */
  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -12px rgba(11, 18, 32, .25);
  --header-h: 72px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
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: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; color: inherit; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Placeholder marker — search the code for "TBC" to find every one */
.tbc { background: #fff3c4; color: #5c4400; font-weight: 600; padding: 0 .3em; border-radius: 4px; font-size: .9em; }
.section--dark .tbc, .hero .tbc, .site-footer .tbc, .cta-band .tbc { background: rgba(255, 194, 26, .18); color: var(--accent); }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font-head); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 20px -6px rgba(255, 194, 26, .6); }
.btn--accent:hover { background: var(--accent-600); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-700); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--navy-900);

  color: var(--on-dark); border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }

/* Logo: hexagon mark + "JLG" wordmark images (assets/logo/, made by tools/make-logo-assets.py)
   with "Electrical Solutions" as live text so it stays sharp and readable at small sizes */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; margin-right: auto; }
.logo__mark { display: block; width: auto; height: 44px; }
.logo__text { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.logo__name { display: block; width: auto; height: 22px; }
.logo__sub {
  font: 500 .62rem/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase;
  color: #d4bf92; white-space: nowrap;
}
.site-footer .logo__mark { height: 52px; }
.site-footer .logo__name { height: 26px; }
@media (max-width: 359px) { .site-header .logo__sub { display: none; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: #fff; cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.primary-nav { display: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav a { text-decoration: none; font-weight: 600; white-space: nowrap; }
.primary-nav a[aria-current="page"] { color: var(--accent); }

.header-call {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 700 1rem/1 var(--font-head);
  color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 12px 14px; min-height: 46px; white-space: nowrap;
}
.header-call:hover { background: var(--accent-600); }
.header-call__num { display: none; }

/* Mobile nav panel */
@media (max-width: 1079px) {
  .nav-open .primary-nav {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy-900);
    padding: 24px var(--gutter) 40px; overflow-y: auto;
  }
  .primary-nav li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .primary-nav a { display: block; padding: 18px 4px; font-size: 1.25rem; font-family: var(--font-head); }
  .primary-nav .nav-cta { border: 0; margin-top: 24px; }
  .primary-nav .nav-cta a { display: flex; justify-content: center; padding: .85em 1.4em; font-size: 1.05rem; background: var(--accent); color: var(--accent-ink); border-radius: 999px; }
  .nav-open { overflow: hidden; }
}
@media (min-width: 420px) { .header-call__num { display: inline; } }
@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block; }
  .primary-nav ul { display: flex; align-items: center; gap: 4px; }
  .primary-nav a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--on-dark); }
  .primary-nav a:hover { background: rgba(255, 255, 255, .06); }
  .primary-nav .nav-cta { margin-left: 8px; }
  .primary-nav .nav-cta a { border: 2px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 10px 18px; }
  .primary-nav .nav-cta a:hover { border-color: var(--accent); background: transparent; color: var(--accent); }
  .header-call { padding: 12px 20px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy-900); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 32, .55) 0%, rgba(11, 18, 32, .45) 40%, rgba(11, 18, 32, .92) 100%),
              linear-gradient(90deg, rgba(11, 18, 32, .75) 0%, rgba(11, 18, 32, 0) 70%);
}
.hero__inner { padding-block: clamp(88px, 16vw, 180px) clamp(48px, 8vw, 96px); max-width: 760px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font: 700 .8rem/1 var(--font-head); letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.eyebrow .icon { width: 16px; height: 16px; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .accent { color: var(--accent); }
.hero__lead { font-size: clamp(1.08rem, 2vw, 1.25rem); color: #dfe4ef; max-width: 46ch; margin-bottom: 1.6em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__area { display: flex; align-items: center; gap: 8px; margin-top: 28px; color: var(--on-dark-soft); font-size: .95rem; }
.hero__area .icon { color: var(--accent); }

/* Inner page hero */
.page-hero { position: relative; background: var(--navy-900); color: #fff; isolation: isolate; overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,18,32,.95), rgba(11,18,32,.55)); }
.page-hero .container { padding-block: clamp(56px, 9vw, 104px); }
.page-hero p { color: #dfe4ef; max-width: 60ch; font-size: 1.12rem; margin: 0; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--navy-800); color: var(--on-dark); border-top: 1px solid rgba(255,255,255,.06); }
.trust-strip ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 20px; }
.trust-strip li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.trust-strip .icon { color: var(--accent); width: 22px; height: 22px; }
@media (min-width: 860px) { .trust-strip ul { grid-template-columns: repeat(4, auto); justify-content: space-between; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 9vw, 112px); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-900); color: var(--on-dark); }
.section--dark p { color: var(--on-dark-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 5vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.section--dark .section-head p { color: var(--on-dark-soft); }
.kicker { display: inline-block; font: 700 .8rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: #8a6400; margin-bottom: 12px; }
.section--dark .kicker { color: var(--accent); }

/* Intro split */
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; } .split--reverse > :first-child { order: 2; } }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__media .img-secondary {
  position: absolute; width: 46%; right: -4%; bottom: -8%; aspect-ratio: 1; border: 6px solid #fff; display: none;
}
@media (min-width: 900px) { .split__media .img-secondary { display: block; } .split__media img:first-child { width: 86%; } }
.ticks { list-style: none; padding: 0; margin: 1.2em 0 1.6em; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--success); margin-top: 4px; }
.section--dark .ticks .icon { color: var(--accent); }

/* ---------- Service cards ---------- */
.card-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.service-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; height: 100%;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-800); }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-card__img img { transform: scale(1.04); }
.service-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.service-card__icon {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px;
  background: #fff6d6; color: #8a6400; margin-bottom: 14px;
}
.service-card__icon .icon { width: 24px; height: 24px; }
.service-card p { color: var(--ink-soft); margin-bottom: .8em; }
.service-card ul { margin: 0 0 1em; padding-left: 1.1em; color: var(--ink-soft); font-size: .97rem; }
.service-card ul li { margin-bottom: 4px; }
.service-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); text-decoration: none; }
.service-card .more:hover { color: #8a6400; }
.service-card .more .icon { width: 18px; height: 18px; }
.service-card--compact .service-card__body { padding: 24px; }

/* Services page: detailed rows */
.service-row { display: grid; gap: 24px; align-items: center; padding-block: clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-row img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
@media (min-width: 860px) {
  .service-row { grid-template-columns: 1fr 1fr; gap: 56px; }
  .service-row:nth-child(even) > :first-child { order: 2; }
}
.service-row .service-card__icon { margin-bottom: 16px; }
.service-row p { color: var(--ink-soft); }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-btn {
  min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font: 600 .95rem/1 var(--font-body); color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s;
}
.filter-btn:hover { border-color: var(--navy-600); }
.filter-btn[aria-pressed="true"] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

.gallery-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item { margin: 0; position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--navy-800); }
.gallery-item[hidden] { display: none; }
.gallery-item button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; position: relative; }
.gallery-item button:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.gallery-item img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.gallery-item--wide { grid-column: span 2; }
.gallery-item--wide img { aspect-ratio: 3 / 2; }
@media (min-width: 700px) { .gallery-item--wide img { aspect-ratio: auto; } }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 32px 14px 12px; color: #fff; font-size: .9rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(11, 18, 32, .85)); pointer-events: none;
}
.gallery-item figcaption span { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.gallery-empty { padding: 40px; text-align: center; color: var(--ink-soft); }

/* Home gallery preview */
.preview-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) {
  .preview-grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 240px); gap: 16px; }
  .preview-grid .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
  .preview-grid .gallery-item img { aspect-ratio: auto; height: 100%; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  background: rgba(6, 10, 18, .96); color: #fff;
}
.lightbox::backdrop { background: rgba(6, 10, 18, .9); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 64px 12px 12px; min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; user-select: none; }
.lightbox__caption { padding: 12px var(--gutter) 24px; text-align: center; color: var(--on-dark-soft); font-size: .98rem; }
.lightbox__caption strong { color: #fff; display: block; font-family: var(--font-head); font-size: 1.05rem; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff; border: 0; cursor: pointer; z-index: 2;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__btn .icon { width: 26px; height: 26px; }
.lightbox__close { top: 10px; right: 10px; }
.lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; top: 24px; left: 20px; font-size: .9rem; color: var(--on-dark-soft); }
@media (max-width: 600px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 8px; transform: none; } .lightbox__stage { padding-bottom: 72px; } }

/* ---------- Why choose us ---------- */
.features { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.feature { padding: 26px; border-radius: var(--radius); background: var(--navy-800); border: 1px solid rgba(255, 255, 255, .06); }
.feature__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 194, 26, .12); color: var(--accent); margin-bottom: 16px; }
.feature__icon .icon { width: 24px; height: 24px; }
.feature h3 { color: #fff; }
.feature p { margin: 0; }

/* ---------- Reviews (empty slots — do not invent reviews) ---------- */
.reviews { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.review-slot {
  border: 2px dashed #cfd5df; border-radius: var(--radius); padding: 28px; background: #fff; min-height: 200px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; color: var(--ink-soft);
}
.review-slot .stars { display: flex; gap: 4px; color: #c9cfd9; }
.review-slot .stars .icon { width: 20px; height: 20px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(600px 300px at 85% 20%, rgba(255, 194, 26, .22), transparent 70%),
              radial-gradient(500px 260px at 10% 100%, rgba(255, 194, 26, .1), transparent 70%);
}
.cta-band .container { padding-block: clamp(56px, 8vw, 96px); display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .cta-band .container { grid-template-columns: 1.4fr 1fr; } .cta-band__actions { justify-content: flex-end; } }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: var(--on-dark-soft); margin: 0; font-size: 1.1rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- About ---------- */
.prose { max-width: 68ch; }
.prose p { color: var(--ink-soft); }
.prose h2 { margin-top: 1.4em; }
.values { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-top: 32px; }
.value { padding: 22px; border-radius: var(--radius); background: var(--bg-soft); }
.value h3 { display: flex; gap: 10px; align-items: center; font-size: 1.05rem; }
.value h3 .icon { color: #8a6400; }
.value p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.accreditations { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.accreditation {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 18px; border: 1px dashed #cfd5df;
  border-radius: var(--radius-sm); font-weight: 600; color: var(--ink-soft); background: #fff;
}
.accreditation .icon { color: #8a6400; }

/* ---------- Contact / form ---------- */
.contact-layout { display: grid; gap: 32px; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; font-size: .97rem; }
.field .req { color: var(--danger); }
.field .hint { display: block; font-weight: 400; color: var(--ink-soft); font-size: .88rem; margin-top: 2px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid #c3c9d4; border-radius: var(--radius-sm); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23141a26' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-900); box-shadow: 0 0 0 3px rgba(255, 194, 26, .55); }
.field input[type="file"] { padding: 10px; min-height: auto; cursor: pointer; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .9rem; margin-top: 6px; font-weight: 600; }
.field-error:empty { display: none; }
.field .checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; font-weight: 400; color: var(--ink-soft); }
.checkbox input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--navy-900); }
.form-note { font-size: .88rem; color: var(--ink-soft); margin: 14px 0 0; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.form-status:empty { display: none; }
.form-status--ok { background: #e7f6ee; color: var(--success); }
.form-status--err { background: #fdecea; color: var(--danger); }
.hp { position: absolute; left: -9999px; }

.contact-aside { display: grid; gap: 16px; }
.contact-card { padding: 26px; border-radius: var(--radius); background: var(--navy-900); color: var(--on-dark); }
.contact-card h2 { font-size: 1.3rem; color: #fff; }
.contact-card p { color: var(--on-dark-soft); }
.contact-link { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; color: #fff; padding: 10px 0; word-break: break-word; }
.contact-link .icon { color: var(--accent); width: 22px; height: 22px; }
.contact-link--big { font-size: 1.5rem; font-family: var(--font-head); }
.info-card { padding: 24px; border-radius: var(--radius); background: var(--bg-soft); }
.info-card h2 { font-size: 1.15rem; }
.info-card p, .info-card li { color: var(--ink-soft); font-size: .97rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-soft); font-size: .95rem; border-top: 1px solid rgba(255, 255, 255, .06); }
.footer-grid { display: grid; gap: 32px; padding-block: 56px 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h2 { color: #fff; font-size: 1rem; letter-spacing: .02em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 20px 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.footer-contact .icon { color: var(--accent); }

/* Mobile sticky action bar */
.mobile-bar { position: fixed; inset: auto 0 0 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(11, 18, 32, .97); border-top: 1px solid rgba(255,255,255,.08); }
.mobile-bar .btn { min-height: 48px; padding: .6em 1em; font-size: .98rem; }
.mobile-bar .btn--ghost { color: #fff; }
body { padding-bottom: 76px; }
@media (min-width: 960px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

/* Reveal-on-scroll (progressive enhancement) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
