/* ============================================================
   IronGate Managed IT — "Corporate Trust" design system
   Source: design handoff (IronGate - Corporate Trust)
   Note: teal usage for text/buttons is shifted one step darker
   than the prototype (#1A8F9E → #127684) to meet WCAG 2.1 AA
   contrast (4.5:1). #1A8F9E remains for icons/large display.
   ============================================================ */

:root {
  --navy-950: #08131f;
  --navy-900: #0b1a2c;
  --navy-800: #10243a;
  --navy-700: #122a42;
  --navy-border: #1d3a56;

  --teal-500: #1a8f9e; /* icons, chips, large display only */
  --teal-600: #127684; /* buttons, links, small text (AA on white) */
  --teal-700: #0e6b77;
  --teal-300: #7fd4dd; /* accents on dark */
  --teal-tint: #e4f4f6;

  --slate-800: #2c4157;
  --slate-700: #33475b;
  --slate-600: #3f5567;
  --slate-550: #4f6478;
  --slate-500: #5b7086;

  --mist-50: #f5f8fa;
  --border-100: #eef2f5;
  --border-200: #e6ebf0;
  --border-300: #dbe3ea;
  --border-400: #cfd9e2;

  --footer-text: #9db0c0;
  --dark-body: #b9c7d4;

  --font-display: "Libre Franklin", "Segoe UI", sans-serif;
  --font-body: "Public Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", Consolas, monospace;

  --radius-card: 12px;
  --radius-card-lg: 14px;
  --radius-btn: 9px;

  --pad-x: 48px;
  --pad-section: 72px;
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mist-50);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy-800);
  -webkit-font-smoothing: antialiased;
}

.page {
  width: 100%;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-600);
  text-decoration: none;
}

a:hover {
  color: var(--teal-700);
}

:focus-visible {
  outline: 3px solid var(--teal-600);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  background: var(--navy-900);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
  top: 0;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- typography ---------- */
h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--navy-900);
  margin: 0;
}

.display-1 {
  font-weight: 900;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.display-2 {
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 38px);
  letter-spacing: -0.02em;
}

.eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-600);
}

.eyebrow--mono {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: none;
}

.eyebrow--light {
  color: var(--teal-300);
}

.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--slate-600);
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate-500);
}

/* ---------- layout ---------- */
.section {
  padding: var(--pad-section) var(--pad-x);
}

.section--mist {
  background: var(--mist-50);
}

.section--navy {
  background: var(--navy-900);
  color: #fff;
}

.section--navy h2,
.section--navy h3 {
  color: #fff;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  margin-top: 12px;
}

.section-head p {
  font-size: 17px;
  color: var(--slate-550);
  margin: 14px 0 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: var(--radius-btn);
  border: 0;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: var(--teal-600);
  color: #fff;
}

.btn--primary:hover {
  background: var(--teal-700);
  color: #fff;
}

.btn--outline {
  background: #fff;
  color: var(--navy-800);
  border: 1.5px solid var(--border-400);
}

.btn--outline:hover {
  color: var(--navy-900);
  border-color: var(--slate-500);
}

.btn--white {
  background: #fff;
  color: var(--teal-700);
  font-weight: 800;
  font-size: 17px;
  padding: 16px 34px;
  border-radius: 10px;
}

.btn--white:hover {
  background: var(--teal-tint);
  color: var(--teal-700);
}

.btn--sm {
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 8px;
}

.text-link {
  color: var(--teal-600);
  font-weight: 700;
  font-size: 15px;
}

/* ---------- pills / chips ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-tint);
  color: var(--teal-700);
  font-weight: 700;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.icon-chip {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--teal-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-chip svg {
  width: 20px;
  height: 20px;
  stroke: var(--teal-500);
  fill: none;
  stroke-width: 2;
}

/* ---------- top bar ---------- */
.topbar {
  background: var(--navy-900);
  color: #c8d4e0;
  font-size: 13px;
  font-weight: 500;
  padding: 9px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar__status {
  display: flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
}

.topbar__dot {
  color: var(--teal-300);
}

.topbar a {
  color: #c8d4e0;
}

.topbar a:hover {
  color: #fff;
}

/* ---------- nav ---------- */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px var(--pad-x);
  border-bottom: 1px solid var(--border-200);
  background: #fff;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}

.brand:hover {
  color: inherit;
}

.brand__mark {
  width: 40px;
  height: 40px;
  background: var(--navy-800);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand__mark span {
  width: 16px;
  height: 16px;
  border: 2.5px solid var(--teal-300);
  border-radius: 3px;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--navy-800);
}

.brand__tag {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-top: 3px;
  line-height: 1;
}

.nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--slate-800);
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--teal-600);
}

.nav__toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--border-400);
  border-radius: 8px;
  padding: 9px 11px;
  cursor: pointer;
}

.nav__toggle-bars {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy-800);
  position: relative;
}

.nav__toggle-bars::before,
.nav__toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--navy-800);
}

.nav__toggle-bars::before {
  top: -6px;
}

.nav__toggle-bars::after {
  top: 6px;
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  padding: var(--pad-section) var(--pad-x) 64px;
  align-items: center;
  background: linear-gradient(180deg, var(--mist-50), #fff);
}

.hero h1 {
  margin: 22px 0 0;
}

.hero .lead {
  margin: 22px 0 0;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  align-items: center;
  flex-wrap: wrap;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--navy-900);
}

.hero__stat-label {
  font-size: 13px;
  color: var(--slate-500);
  font-weight: 600;
}

.hero__divider {
  width: 1px;
  height: 38px;
  background: var(--border-300);
}

.img-placeholder {
  border-radius: var(--radius-card-lg);
  background: repeating-linear-gradient(45deg, #dce6ed 0 14px, #e9f0f4 14px 28px);
  border: 1px solid #d3dde5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.img-placeholder--hero {
  min-height: 420px;
}

/* real photos (uploaded via admin) share placeholder geometry */
.photo {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  border-radius: var(--radius-card-lg);
  border: 1px solid #d3dde5;
}

.photo--hero {
  min-height: 420px;
  max-height: 520px;
}

.photo--map {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  max-height: 380px;
  min-height: 280px;
}

.brand__logo {
  height: 40px;
  width: auto;
  border-radius: 8px;
  flex-shrink: 0;
}

.footer__brand .brand__logo {
  height: 34px;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-placeholder span {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--slate-500);
  background: rgba(255, 255, 255, 0.85);
  padding: 8px 14px;
  border-radius: 6px;
}

/* ---------- badge strip ---------- */
.badge-strip {
  padding: 26px var(--pad-x);
  border-top: 1px solid var(--border-100);
  border-bottom: 1px solid var(--border-100);
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;
  background: #fff;
}

.badge-strip__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-500);
}

.badge-strip__item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--slate-700);
}

/* ---------- cards ---------- */
.card {
  border: 1px solid var(--border-200);
  border-radius: var(--radius-card);
  padding: 28px;
  background: #fff;
}

.card h3 {
  font-weight: 700;
  font-size: 20px;
  margin: 18px 0 8px;
}

.card p {
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.6;
  margin: 0;
}

.card--dashed {
  border-style: dashed;
  border-color: #cdd8e0;
  background: #fafcfd;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card--dashed h3 {
  margin-top: 0;
}

.card--dashed p {
  margin-bottom: 14px;
}

.card--navy {
  border: 0;
  background: var(--navy-900);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card--navy .card__big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.15;
  color: #fff;
}

.card--navy .card__big--teal {
  color: var(--teal-300);
}

.card--navy p {
  color: var(--dark-body);
  margin-top: 12px;
}

/* ---------- industries ---------- */
.industry-card {
  background: var(--navy-700);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-card-lg);
  padding: 32px;
}

.industry-card__index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--teal-300);
}

.industry-card h3 {
  font-weight: 700;
  font-size: 23px;
  margin: 14px 0 10px;
  color: #fff;
}

.industry-card p {
  font-size: 15px;
  color: var(--dark-body);
  line-height: 1.6;
  margin: 0;
}

/* Industries grid: 1-4 items share one row; 5+ fall back to
   3 columns (3x2, 3x3, ...). Count class is set at build time. */
.grid-industries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-industries--1 {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin-inline: auto;
}

.grid-industries--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-industries--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1080px) {
  .grid-industries,
  .grid-industries--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .grid-industries,
  .grid-industries--2,
  .grid-industries--4 {
    grid-template-columns: 1fr;
  }
}

/* ---------- testimonials ---------- */
.quote-card {
  background: #fff;
  border: 1px solid var(--border-200);
  border-radius: var(--radius-card-lg);
  padding: 32px;
}

.quote-card blockquote {
  margin: 0;
}

.quote-card blockquote p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.5;
  color: #1a2e40;
  margin: 0;
}

.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.quote-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: repeating-linear-gradient(45deg, #dce6ed 0 8px, #e9f0f4 8px 16px);
  flex-shrink: 0;
}

.quote-card__name {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy-900);
}

.quote-card__role {
  font-size: 13px;
  color: var(--slate-500);
}

/* ---------- news / blog cards ---------- */
.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.news-card {
  border: 1px solid var(--border-200);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

/* Source "logo card" header — one consistent brand per outlet,
   generated locally (no external images). Accent set per source. */
.news-card__thumb {
  --source-accent: var(--teal-300);
  height: 130px;
  background: var(--navy-900);
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.03) 0 12px,
    transparent 12px 24px
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px;
  border-bottom: 3px solid var(--source-accent);
  text-align: center;
}

.news-card__wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.1;
}

.news-card__wordmark span {
  color: var(--source-accent);
}

.news-card__tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8ba0b4;
}

.news-card__thumb--cisa {
  --source-accent: #6ea8fe;
}

.news-card__thumb--thn {
  --source-accent: #ff8b8b;
}

.news-card__thumb--bleeping {
  --source-accent: var(--teal-300);
}

.news-card__thumb--krebs {
  --source-accent: #ffc86b;
}

.news-card__body {
  padding: 22px;
}

.news-card__date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate-500);
}

.news-card h3 {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.35;
  margin: 8px 0 0;
}

.news-card h3 a {
  color: var(--navy-900);
}

.news-card h3 a:hover {
  color: var(--teal-600);
}

/* ---------- CTA band ---------- */
.cta-band {
  padding: 64px var(--pad-x);
  background: linear-gradient(120deg, var(--teal-600), var(--teal-700));
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  font-weight: 900;
  font-size: clamp(30px, 4vw, 40px);
  letter-spacing: -0.02em;
  color: #fff;
}

.cta-band p {
  font-size: 18px;
  color: #ffffff;
  margin: 14px 0 28px;
}

/* ---------- footer ---------- */
.footer {
  background: var(--navy-950);
  color: var(--footer-text);
  padding: 48px var(--pad-x);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer h2 {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
}

.footer a {
  color: var(--footer-text);
}

.footer a:hover {
  color: #fff;
}

.footer__blurb {
  font-size: 14px;
  line-height: 1.6;
  margin: 16px 0 0;
  max-width: 240px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__brand .brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}

.footer__brand .brand__mark span {
  width: 13px;
  height: 13px;
  border-width: 2px;
}

.footer__brand strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: #fff;
}

.footer__legal {
  grid-column: 1 / -1;
  border-top: 1px solid #16283c;
  padding-top: 20px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- stats band (About) ---------- */
.stats-band {
  padding: 44px var(--pad-x);
  background: var(--navy-900);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stats-band__item {
  text-align: center;
}

.stats-band__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  color: var(--teal-300);
}

.stats-band__label {
  font-size: 14px;
  color: var(--dark-body);
  margin-top: 4px;
}

/* ---------- split rows (Services / About story) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: var(--pad-section) var(--pad-x);
  align-items: center;
}

.split--mist {
  background: var(--mist-50);
}

/* every other split row swaps image to the left */
.split--flip > *:last-child {
  order: -1;
}

.split h2 {
  font-weight: 800;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.02em;
  margin: 12px 0 0;
}

.split .body-copy {
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate-550);
  margin: 16px 0 0;
}

.split__index {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--teal-600);
}

.feature-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  color: var(--slate-700);
}

.feature-list li::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--teal-tint)
    radial-gradient(circle at center, var(--teal-600) 0 4px, transparent 5px);
}

/* ---------- quick index chips ---------- */
.chip-row {
  padding: 0 var(--pad-x) 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  background: #fff;
}

.chip {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-800);
  border: 1px solid var(--border-200);
  border-radius: 999px;
  padding: 8px 16px;
}

.chip:hover {
  color: var(--teal-600);
  border-color: var(--teal-600);
}

/* ---------- team ---------- */
.team-card {
  border: 1px solid var(--border-200);
  border-radius: var(--radius-card-lg);
  overflow: hidden;
  background: #fff;
}

.team-card__photo {
  height: 220px;
  background: repeating-linear-gradient(45deg, #dce6ed 0 12px, #e9f0f4 12px 24px);
}

.team-card__body {
  padding: 20px;
}

.team-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy-900);
}

.team-card__role {
  font-size: 14px;
  color: var(--teal-600);
  margin-top: 2px;
}

.team-card__bio {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.55;
  margin: 10px 0 0;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  padding: var(--pad-section) var(--pad-x);
  background: linear-gradient(180deg, var(--mist-50), #fff);
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-item__title {
  font-weight: 700;
  font-size: 16px;
  color: var(--navy-900);
}

.contact-item__value {
  font-size: 16px;
  color: var(--slate-550);
}

.contact-item__note {
  font-size: 14px;
  color: var(--slate-500);
}

.client-callout {
  margin-top: 32px;
  padding: 22px;
  background: var(--navy-900);
  border-radius: var(--radius-card-lg);
  color: #fff;
}

.client-callout__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
}

.client-callout p {
  font-size: 14px;
  color: var(--dark-body);
  line-height: 1.6;
  margin: 8px 0 0;
}

.client-callout strong {
  color: var(--teal-300);
  font-weight: 600;
}

.form-card {
  background: #fff;
  border: 1px solid var(--border-200);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(11, 26, 44, 0.06);
}

.form-card h2 {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.01em;
}

.form-card__hint {
  font-size: 14px;
  color: var(--slate-500);
  margin: 6px 0 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}

.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 7px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--navy-900);
  border: 1.5px solid #d3dde5;
  border-radius: var(--radius-btn);
  background: #fff;
}

.form-field textarea {
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #6e8294;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(18, 118, 132, 0.2);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--slate-500);
  line-height: 1.5;
}

.form-check input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--teal-600);
}

.form-disclaimer {
  font-size: 12px;
  color: var(--slate-500);
  text-align: center;
  margin: 14px 0 0;
  line-height: 1.5;
}

.form-success {
  text-align: center;
  padding: 48px 12px;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.form-success__icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--teal-600);
  stroke-width: 3;
  fill: none;
}

.map-placeholder {
  min-height: 280px;
  border-top: 1px solid var(--border-200);
}

.map-placeholder,
.map-placeholder .img-placeholder {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  :root {
    --pad-x: 32px;
    --pad-section: 56px;
  }

  .hero,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* stacked layout: text always above image, flipped rows included */
  .split > .img-placeholder,
  .split > .photo,
  .split--flip > *:last-child {
    order: 1;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --pad-x: 20px;
    --pad-section: 48px;
  }

  .topbar {
    justify-content: center;
    text-align: center;
  }

  .topbar__left {
    display: none;
  }

  .nav__toggle {
    display: block;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border-200);
    box-shadow: 0 20px 40px rgba(11, 26, 44, 0.12);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    z-index: 40;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links li a {
    display: block;
    padding: 14px var(--pad-x);
  }

  .nav .btn--sm {
    display: none;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .stats-band {
    grid-template-columns: 1fr 1fr;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .img-placeholder--hero {
    min-height: 260px;
  }

  .hero__divider {
    display: none;
  }
}
