/* ============================================================
   Logical Chaos Solutions — design system + components
   Art direction: LOCAL PRO CONTRACTOR
   ============================================================ */

:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.85rem + 0.15vw, 0.9375rem);
  --text-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem);
  --text-2xl: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);
  --text-3xl: clamp(2.4rem, 1.5rem + 3.6vw, 4.25rem);

  /* Spacing (4px system) */
  --space-1: 0.25rem;  --space-2: 0.5rem;   --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.25rem;  --space-6: 1.5rem;
  --space-8: 2rem;     --space-10: 2.5rem;  --space-12: 3rem;
  --space-16: 4rem;    --space-20: 5rem;    --space-24: 6rem;
  --space-32: 8rem;

  /* Brand palette */
  --navy-900: #071523;
  --navy-800: #0b1e31;
  --navy-700: #10293f;
  --navy-600: #17364f;
  --teal-600: #0a636a;
  --teal-500: #0d7a82;
  --teal-400: #14969f;
  --teal-300: #3fb9c2;
  --royal-600: #1e46b8;
  --royal-500: #2b5fd9;
  --royal-300: #7ea6ff;
  --silver-200: #d9e5f7;

  /* Semantic — light surfaces */
  --color-bg: #ffffff;
  --color-surface: #f4f6f8;
  --color-surface-2: #e9edf2;
  --color-border: #d5dce4;
  --color-divider: #e4e9ef;
  --color-text: #10202e;
  --color-text-muted: #4b5c6b;
  --color-text-inverse: #ffffff;
  --color-focus: #14969f;

  /* Radius / shadow */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(7, 21, 35, 0.08);
  --shadow-md: 0 8px 24px rgba(7, 21, 35, 0.10);
  --shadow-lg: 0 20px 48px rgba(7, 21, 35, 0.16);

  --content: 1180px;
  --content-narrow: 760px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: 'Cabinet Grotesk', 'Satoshi', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', 'Helvetica Neue', sans-serif;
}

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--content); margin-inline: auto; padding-inline: var(--space-5); }
@media (min-width: 768px) { .wrap { padding-inline: var(--space-8); } }

.section { padding-block: clamp(var(--space-12), 7vw, var(--space-24)); }
.section--tight { padding-block: clamp(var(--space-10), 5vw, var(--space-16)); }

.section--dark { background: var(--navy-800); color: #eaf1f7; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p, .section--dark li { color: #c3d2e0; }
.section--deep { background: var(--navy-900); color: #eaf1f7; }
.section--alt { background: var(--color-surface); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal-600);
}
.section--dark .eyebrow, .section--deep .eyebrow { color: var(--teal-300); }
.eyebrow::before { content: ''; width: 22px; height: 3px; background: currentColor; border-radius: 2px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; }
.h-hero { font-size: var(--text-3xl); line-height: 1.03; }
.h-page { font-size: var(--text-2xl); line-height: 1.05; }
.h-sec { font-size: var(--text-xl); }
.h-card { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); letter-spacing: -0.01em; }
.lede { font-size: var(--text-lg); color: var(--color-text-muted); line-height: 1.5; max-width: 60ch; }
.section--dark .lede, .section--deep .lede { color: #bdcedd; }
.muted { color: var(--color-text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 52px; padding: var(--space-3) var(--space-6);
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm);
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--radius-md); transition: transform 150ms var(--ease), background-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--teal-500); color: #fff; box-shadow: 0 6px 18px rgba(13, 122, 130, 0.32); }
.btn--primary:hover { background: var(--teal-600); }
.btn--ghost { border: 2px solid rgba(255, 255, 255, 0.5); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn--outline { border: 2px solid var(--navy-700); color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: #fff; }
.btn--lg { min-height: 60px; font-size: var(--text-base); padding-inline: var(--space-8); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- Logo ---------- */
.logo { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; color: inherit; }
.logo__mark { width: 42px; height: auto; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-display); font-weight: 800; font-size: 1.0625rem; letter-spacing: -0.015em; color: #fff; white-space: nowrap; }
@media (max-width: 559.98px) { .header .logo__tag { display: none; } }
.logo__tag { font-size: 0.625rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-300); font-weight: 700; margin-top: 3px; }

/* ---------- Top bar + header ---------- */
.topbar {
  background: var(--navy-900); color: #a9bece; font-size: var(--text-xs);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); padding-block: var(--space-2); }
.topbar__item { display: inline-flex; align-items: center; gap: var(--space-2); }
.topbar__item svg { flex: none; color: var(--teal-300); }
.topbar strong { color: #e3edf5; font-weight: 700; }
@media (max-width: 640px) { .topbar__inner { justify-content: center; text-align: center; } .topbar__item--hide { display: none; } }

.header { position: sticky; top: 0; z-index: 60; background: var(--navy-800); box-shadow: 0 2px 0 rgba(255,255,255,0.06), var(--shadow-md); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 72px; }
.nav { display: none; }
@media (min-width: 1000px) {
  .nav { display: flex; align-items: center; gap: var(--space-1); }
  .nav a {
    display: block; padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm);
    font-size: var(--text-sm); font-weight: 600; color: #cfdcea; text-decoration: none;
    transition: color 150ms var(--ease), background-color 150ms var(--ease);
  }
  .nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
  .nav a[aria-current='page'] { color: #fff; box-shadow: inset 0 -3px 0 var(--teal-400); }
}
.header__cta { display: none; white-space: nowrap; }
@media (min-width: 700px) { .header__cta { display: inline-flex; } }

.header__phone {
  display: none; align-items: center; gap: var(--space-2); text-decoration: none;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: #fff;
  white-space: nowrap; flex: none;
}
@media (min-width: 1180px) { .header__phone { display: inline-flex; } }
.header__phone:hover { color: var(--teal-300); }

.burger {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-width: 48px; min-height: 44px; padding-inline: var(--space-3); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28); border-radius: var(--radius-sm);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
@media (min-width: 1000px) { .burger { display: none; } }

.mobilenav { display: none; background: var(--navy-700); border-top: 1px solid rgba(255,255,255,0.1); }
.mobilenav[data-open='true'] { display: block; }
.mobilenav ul { list-style: none; padding: var(--space-2) 0 var(--space-4); }
.mobilenav a {
  display: block; padding: var(--space-4) var(--space-5); color: #dbe7f2; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-base);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mobilenav a[aria-current='page'] { color: #fff; border-left: 4px solid var(--teal-400); }

/* Sticky mobile call bar */
.callbar {
  position: fixed; inset: auto 0 0 0; z-index: 70; display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: rgba(255,255,255,0.16);
  box-shadow: 0 -6px 22px rgba(7, 21, 35, 0.28);
  padding-bottom: env(safe-area-inset-bottom);
}
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 58px; text-decoration: none; font-family: var(--font-display); font-weight: 800;
  font-size: 0.95rem; letter-spacing: 0.02em;
}
.callbar__call { background: var(--teal-500); color: #fff; }
.callbar__quote { background: var(--navy-800); color: #fff; }
@media (min-width: 700px) { .callbar { display: none; } }
body { padding-bottom: 58px; }
@media (min-width: 700px) { body { padding-bottom: 0; } }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; color: var(--navy-900);
  padding: var(--space-3) var(--space-4); font-weight: 700;
}
.skip:focus { left: var(--space-4); top: var(--space-4); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,21,35,0.82) 0%, rgba(7,21,35,0.72) 45%, rgba(7,21,35,0.94) 100%);
}
@media (min-width: 900px) {
  .hero__scrim { background: linear-gradient(96deg, rgba(7,21,35,0.96) 0%, rgba(7,21,35,0.88) 46%, rgba(7,21,35,0.55) 100%); }
}
.hero__inner { position: relative; padding-block: clamp(var(--space-12), 8vw, var(--space-24)); }
.hero__content { max-width: 44rem; }
.hero .lede { color: #c8d8e6; }
.hero__badges { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-6); }
.badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-3); border-radius: var(--radius-full);
  background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.18);
  font-size: var(--text-xs); font-weight: 600; color: #dbe8f3;
}
.badge svg { color: var(--teal-300); flex: none; }

.hero__phone {
  display: inline-flex; flex-direction: column; text-decoration: none; color: #fff;
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-md);
  border: 2px solid rgba(255,255,255,0.28); background: rgba(255,255,255,0.05);
  transition: border-color 150ms var(--ease), background-color 150ms var(--ease);
}
.hero__phone:hover { border-color: var(--teal-300); background: rgba(20,150,159,0.16); }
.hero__phone span { font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-300); font-weight: 700; }
.hero__phone strong { font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2rem); letter-spacing: -0.02em; line-height: 1.1; }

/* Page hero (interior) */
.pagehero { position: relative; background: var(--navy-800); color: #fff; overflow: hidden; }
.pagehero__media { position: absolute; inset: 0; }
.pagehero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.34; }
.pagehero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,30,49,0.86), rgba(7,21,35,0.94)); }
.pagehero__inner { position: relative; padding-block: clamp(var(--space-10), 6vw, var(--space-20)); }
.pagehero .lede { color: #c3d3e2; }
.crumbs { font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: #8fa8bd; margin-bottom: var(--space-4); }
.crumbs a { color: #b7cadb; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--teal-600); color: #fff; }
.trustbar ul { list-style: none; display: grid; gap: var(--space-4); grid-template-columns: 1fr; padding-block: var(--space-6); }
@media (min-width: 640px) { .trustbar ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trustbar ul { grid-template-columns: repeat(4, 1fr); } }
.trustbar li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-sm); line-height: 1.45; }
.trustbar svg { flex: none; margin-top: 2px; }
.trustbar strong { display: block; font-family: var(--font-display); font-size: var(--text-base); font-weight: 800; }
.trustbar span { color: #d3edef; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Seven-item service grid: 1 col mobile, 2 cols tablet (last spans full),
   4 + 3 on desktop via a 12-column track. */
.grid--svc { grid-template-columns: 1fr; }
@media (min-width: 640px) and (max-width: 999.98px) {
  .grid--svc { grid-template-columns: repeat(2, 1fr); }
  .grid--svc > :last-child { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .grid--svc { grid-template-columns: repeat(12, 1fr); }
  .grid--svc > * { grid-column: span 3; }
  .grid--svc > :nth-child(n+5) { grid-column: span 4; }
}

.card {
  display: flex; flex-direction: column; gap: var(--space-3);
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: var(--space-6); box-shadow: var(--shadow-sm);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
}
.card p { font-size: var(--text-sm); color: var(--color-text-muted); max-width: none; }
.card--link { text-decoration: none; color: inherit; }
.card--link:hover .h-card { text-decoration: underline; text-underline-offset: 3px; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--teal-400); }
.card__icon {
  width: 48px; height: 48px; border-radius: var(--radius-md); flex: none;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--royal-500), var(--royal-600));
}
.card__more { margin-top: auto; font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); color: var(--teal-600); text-decoration: none; display: inline-flex; align-items: center; gap: var(--space-2); }
.card--link:hover .card__more { gap: var(--space-3); }
.card--dark { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.14); box-shadow: none; }
.card--dark p { color: #b9cadb; }
.card--dark .card__more { color: var(--teal-300); }

/* Service media cards */
.svc { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 900px) { .svc { grid-template-columns: 1.05fr 1fr; gap: var(--space-12); } .svc--flip .svc__media { order: 2; } }
.svc__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--color-surface-2); }
.svc__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc__body h3 { margin-bottom: var(--space-3); }
.svc__body p + p { margin-top: var(--space-3); }
.ticks { list-style: none; display: grid; gap: var(--space-2); margin-top: var(--space-5); }
.ticks li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-sm); }
.ticks svg { flex: none; margin-top: 4px; color: var(--teal-500); }
.section--dark .ticks svg, .section--deep .ticks svg { color: var(--teal-300); }

/* Numbered process */
.steps { list-style: none; counter-reset: s; display: grid; gap: var(--space-5); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; border-top: 3px solid var(--teal-500); padding-top: var(--space-4); }
.steps li::before {
  content: counter(s, decimal-leading-zero); display: block;
  font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); color: var(--teal-500); margin-bottom: var(--space-1);
}
.section--dark .steps li { border-top-color: var(--teal-300); }
.section--dark .steps li::before { color: var(--teal-300); }
.steps h3 { font-size: var(--text-base); font-family: var(--font-display); margin-bottom: var(--space-2); }
.steps p { font-size: var(--text-sm); }

/* ---------- Service area ---------- */
.area { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .area { grid-template-columns: 0.9fr 1.1fr; gap: var(--space-12); align-items: start; } }
.region { border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius-lg); padding: var(--space-5); background: rgba(255,255,255,0.04); }
.region + .region { margin-top: var(--space-4); }
.region h3 { font-size: var(--text-base); font-family: var(--font-display); display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); }
.region h3 svg { color: var(--teal-300); flex: none; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chips li {
  font-size: var(--text-xs); font-weight: 600; color: #d6e4f0;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  padding: 5px var(--space-3); border-radius: var(--radius-full); white-space: nowrap;
}
.area__note {
  margin-top: var(--space-5); padding: var(--space-4) var(--space-5);
  border-left: 4px solid var(--teal-400); background: rgba(20,150,159,0.14);
  border-radius: 0 var(--radius-md) var(--radius-md) 0; font-size: var(--text-sm);
}
.area__note a { color: #fff; font-weight: 700; }

/* Light variant of regions (used on light sections) */
.section--alt .region, .section:not(.section--dark):not(.section--deep) .region {
  border-color: var(--color-border); background: #fff;
}
.section--alt .region h3 svg, .section:not(.section--dark):not(.section--deep) .region h3 svg { color: var(--teal-600); }
.section--alt .chips li, .section:not(.section--dark):not(.section--deep) .chips li {
  color: var(--navy-700); background: var(--color-surface); border-color: var(--color-border);
}

/* ---------- Plans ---------- */
.plan { display: flex; flex-direction: column; gap: var(--space-3); background: #fff; border: 1px solid var(--color-border); border-top: 5px solid var(--teal-500); border-radius: var(--radius-lg); padding: var(--space-6); }
.plan--feature { border-top-color: var(--royal-500); box-shadow: var(--shadow-md); }
.plan__name { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); }
.plan__price { font-family: var(--font-display); font-weight: 800; font-size: var(--text-base); color: var(--teal-600); }
.plan ul { list-style: none; display: grid; gap: var(--space-2); }
.plan li { display: flex; gap: var(--space-2); font-size: var(--text-sm); color: var(--color-text-muted); }
.plan li svg { flex: none; margin-top: 4px; color: var(--teal-500); }
.plan .btn { margin-top: auto; }

/* ---------- Quote strip / CTA ---------- */
.ctaband { background: linear-gradient(135deg, var(--navy-800), var(--navy-900) 60%); color: #fff; }
.ctaband__inner { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 900px) { .ctaband__inner { grid-template-columns: 1.3fr 1fr; } }
.ctaband .lede { color: #bfd0df; }
.ctacard { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius-lg); padding: var(--space-6); display: grid; gap: var(--space-4); }
.ctacard dl { display: grid; gap: var(--space-3); }
.ctacard dt { font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-300); font-weight: 700; }
.ctacard dd { font-size: var(--text-base); font-weight: 600; }
.ctacard a { color: #fff; text-decoration: none; }
.ctacard a:hover { text-decoration: underline; }

/* ---------- Quote / callout ---------- */
.pullquote {
  border-left: 5px solid var(--teal-500); padding: var(--space-4) 0 var(--space-4) var(--space-6);
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); line-height: 1.35; max-width: 40ch;
}
.section--dark .pullquote, .section--deep .pullquote { border-left-color: var(--teal-300); }

/* ---------- Prose / FAQ ---------- */
.prose { max-width: 68ch; }
.prose p + p { margin-top: var(--space-4); }
.prose h3 { margin-top: var(--space-8); margin-bottom: var(--space-3); font-size: var(--text-lg); }
.faq { border-top: 1px solid var(--color-border); }
.faq details { border-bottom: 1px solid var(--color-border); }
.faq summary {
  cursor: pointer; list-style: none; padding: var(--space-5) var(--space-8) var(--space-5) 0; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-base);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--teal-600); line-height: 1;
}
.faq details[open] summary::after { content: '–'; }
.faq p { padding-bottom: var(--space-5); font-size: var(--text-sm); color: var(--color-text-muted); }

/* ---------- Form ---------- */
.form { display: grid; gap: var(--space-4); }
@media (min-width: 700px) { .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); } }
.field { display: grid; gap: var(--space-2); }
.field label { font-size: var(--text-sm); font-weight: 700; }
.field .hint { font-size: var(--text-xs); color: var(--color-text-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: var(--space-3) var(--space-4);
  background: #fff; border: 1.5px solid var(--color-border); border-radius: var(--radius-md);
  font-size: var(--text-base);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal-500); outline: 2px solid rgba(13,122,130,0.28); outline-offset: 1px; }
.formnote { font-size: var(--text-xs); color: var(--color-text-muted); }

/* ---------- Contact tiles ---------- */
.tiles { display: grid; gap: var(--space-4); }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-5); display: grid; gap: var(--space-2); text-decoration: none; }
.tile__label { font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-600); font-weight: 700; }
.tile__value { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); color: var(--navy-800); word-break: break-word; }
.tile__meta { font-size: var(--text-sm); color: var(--color-text-muted); }
a.tile:hover { border-color: var(--teal-400); box-shadow: var(--shadow-md); }

/* ---------- Figure ---------- */
.figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.figure img { width: 100%; object-fit: cover; }
.fullbleed { position: relative; }
.fullbleed img { width: 100%; height: clamp(220px, 34vw, 420px); object-fit: cover; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #a9bece; padding-block: var(--space-12) var(--space-8); font-size: var(--text-sm); }
.footer__grid { display: grid; gap: var(--space-8); }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer h2 { font-family: var(--font-display); font-size: var(--text-sm); letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: var(--space-4); }
.footer ul { list-style: none; display: grid; gap: var(--space-2); }
.footer a { color: #bfd2e2; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer p { max-width: 34ch; }
.footer__phone { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); color: #fff !important; }
.footer__bottom {
  margin-top: var(--space-10); padding-top: var(--space-5); border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: space-between; font-size: var(--text-xs); color: #8ba2b6;
}
.footer .logo__name { font-size: 1rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Utilities ---------- */
.stack > * + * { margin-top: var(--space-4); }
.stack-lg > * + * { margin-top: var(--space-8); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.center { text-align: center; margin-inline: auto; }
.center p { margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
