/* ==========================================================================
   Progmenta Management Solutions — Design System
   Brand blue (primary, interactive) + clay (secondary, editorial emphasis).
   Blue = anything clickable. Clay = kickers, numerals, quiet emphasis.
   Dark surfaces use one restrained gradient (--surface-dark) for depth;
   no drop shadows/glassmorphism/decorative blobs on top of it.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,500;9..144,600&display=swap');

:root {
  /* Palette */
  --ink: #0d1420;
  --ink-soft: #2a3242;
  --paper: #ffffff;
  --paper-tint: #f5f6f8;
  --line: #e3e6ec;
  --muted: #626b7d;

  /* Brand blue — #09A3D3 is the identity mark color (logo, large decorative
     surfaces). It fails WCAG AA on white (~2.9:1), so --blue is a deepened
     variant of the same hue for text, links, buttons, and focus states. */
  --blue-bright: #09a3d3;
  --blue-btn: #3ab6dc;
  --blue: #0678a3;
  --blue-dark: #055e82;
  --blue-tint: #e9f4f9;

  /* Clay — secondary accent, used only for kickers/eyebrows and numerals */
  --clay: #c8632a;
  --clay-dark: #a34f1f;
  --clay-tint: #fbeee3;

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --maxw: 1180px;
  --pad: clamp(1.5rem, 4vw, 3rem);
  --radius: 4px;

  /* One shared background for dark surfaces: a soft ambient glow (diffuse,
     no hard edge — reads as light, not a shape) layered over a wider-range
     diagonal sweep for more visible depth than a flat fill. */
  --surface-dark:
    radial-gradient(130% 100% at 88% -12%, rgba(9, 163, 211, 0.22) 0%, rgba(9, 163, 211, 0) 58%),
    linear-gradient(155deg, #05080d 0%, #0d1420 40%, #123a5c 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 2px;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0; color: var(--ink); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--blue-btn); color: var(--ink); }
.btn-primary:hover { filter: brightness(0.93); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.4); color: inherit; }
.btn-outline:hover { border-color: var(--blue-bright); color: var(--blue-bright); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.9rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand img { height: 34px; width: auto; }

.nav-desktop { display: flex; align-items: center; gap: 2.2rem; }
.nav-desktop a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 0.3rem 0;
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--ink); }
.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-desktop a:hover::after, .nav-desktop a.active::after { transform: scaleX(1); }
.has-dropdown { position: relative; }
/* .dropdown's own box starts flush against the trigger (top:100%) and the
   visual gap is padding-top instead of a position offset, so the hoverable
   area is continuous from the trigger down into the panel — no dead zone
   for the cursor to fall through and close the menu prematurely. */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-inner {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(16,22,31,0.12);
  padding: 0.5rem;
  min-width: 300px;
}
.dropdown a {
  display: block;
  padding: 0.65rem 0.9rem;
  font-size: 0.88rem;
  border-radius: 3px;
  color: var(--ink-soft);
}
.dropdown a:hover { background: var(--paper-tint); color: var(--blue); }

.header-cta { display: flex; align-items: center; gap: 1.5rem; }
.lang-switch {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.lang-switch:hover, .lang-switch:focus-visible { border-color: var(--blue); color: var(--blue); }
.mobile-lang-switch {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: all 0.25s ease;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 82px 0 0 0;
  background: var(--paper);
  z-index: 99;
  overflow-y: auto;
  padding: 1rem var(--pad) 3rem;
}
.mobile-nav.open { display: block; }
.mobile-nav > a:not(.btn):not(.mobile-lang-switch) {
  display: block;
  padding: 0.9rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

/* Solutions accordion inside the mobile menu */
.mobile-solutions { border-bottom: 1px solid var(--line); }
.mobile-solutions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.mobile-solutions summary::-webkit-details-marker { display: none; }
.mobile-solutions summary::marker { content: ''; }
.mobile-solutions summary svg { width: 18px; height: 18px; color: var(--muted); transition: transform 0.2s ease; }
.mobile-solutions[open] summary svg { transform: rotate(180deg); }
.mobile-solutions-list { padding-bottom: 0.5rem; }
.mobile-solutions-list a {
  display: block;
  padding: 0.75rem 0 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-left: 2px solid var(--line);
}
.mobile-solutions-list a:hover, .mobile-solutions-list a:focus-visible { color: var(--blue); border-left-color: var(--blue); }

.mobile-nav .btn {
  display: flex;
  margin-top: 1.5rem;
  width: 100%;
  justify-content: center;
  border-bottom: none;
}

@media (max-width: 900px) {
  .nav-desktop, .header-cta .btn { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--surface-dark);
  color: #fff;
}
.hero .container {
  padding-top: clamp(4.5rem, 9vw, 7.5rem);
  padding-bottom: clamp(4.5rem, 9vw, 7.5rem);
}
.hero-inner { max-width: 660px; }
.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  color: #fff;
  margin-bottom: 1.4rem;
}
.hero p.lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-bottom: 2.2rem;
}
.hero .cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Page header (interior pages) — fixed height so it never reflows between pages */
.page-hero {
  background: var(--surface-dark);
  color: #fff;
  padding-top: clamp(3.5rem, 8vw, 5.5rem);
  min-height: 384px;
  box-sizing: border-box;
}
.page-hero .breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.2rem;
}
.page-hero .breadcrumb a:hover { color: var(--blue-bright); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 780px; }
.page-hero p.lead { color: rgba(255,255,255,0.7); max-width: 680px; margin-top: 1.1rem; font-size: 1.05rem; }

/* ---------- Sections ---------- */
section { padding: clamp(3.5rem, 7vw, 6rem) 0; scroll-margin-top: 90px; }
.section-tint { background: var(--paper-tint); }
.section-dark { background: var(--ink); color: #fff; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.section-head p { color: var(--muted); margin-top: 0.9rem; font-size: 1.02rem; }
.section-dark .section-head p { color: rgba(255,255,255,0.65); }
.section-dark .section-head h2 { color: #fff; }

/* ---------- Grids & Cards ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-6 { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-3, .grid-6 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 16px 32px rgba(13,20,32,0.08); }
.card .num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--clay);
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}
.card h3 { font-size: 1.15rem; margin-bottom: 0.7rem; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.card-link:hover, .card-link:focus-visible {
  color: var(--blue-dark);
  text-decoration-color: currentColor;
}

.solution-card { display: flex; flex-direction: column; height: 100%; }

/* Process timeline — sequential steps (e.g. solution-page approach), given
   as a connected vertical line rather than cards. This content is an
   ordered methodology, so the layout says so instead of implying a set of
   interchangeable, browsable tiles. */
.process { position: relative; max-width: 720px; }
.process::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: var(--line);
}
.process-item { position: relative; padding-left: 76px; padding-bottom: 2.75rem; }
.process-item:last-child { padding-bottom: 0; }
.process-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue);
  z-index: 1;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.process-item:hover .process-num { border-color: var(--blue); background: var(--blue); color: #fff; }
.process-item h3 { font-size: 1.15rem; margin-bottom: 0.6rem; padding-top: 0.6rem; }
.process-item p { color: var(--muted); }

/* Service accordion — "What We Do". All six titles are always visible and
   scannable; only the supporting description collapses. Native <details>,
   so it's keyboard- and screen-reader-operable with no JS required. */
.service-accordion { border-top: 1px solid var(--line); }
.service-row { border-bottom: 1px solid var(--line); }
.service-row summary {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 0;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.service-row summary::-webkit-details-marker { display: none; }
.service-row summary::marker { content: ''; }
.service-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clay);
  flex: none;
  width: 1.6rem;
}
.service-title {
  flex: 1;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s ease;
}
.chevron { flex: none; width: 20px; height: 20px; color: var(--muted); transition: transform 0.2s ease; }
.chevron svg { width: 100%; height: 100%; }
.service-row[open] .chevron { transform: rotate(180deg); }
.service-row:hover .service-title, .service-row[open] .service-title { color: var(--blue); }
.service-row-body {
  padding: 0 0 1.75rem calc(1.6rem + 1.25rem);
  max-width: 620px;
}
.service-row-body p { color: var(--muted); margin-bottom: 0.8rem; }
@media (max-width: 640px) {
  .service-row summary { gap: 0.85rem; }
  .service-num { display: none; }
  .service-row-body { padding-left: 0; }
}

/* Sector tiles — "Who We Serve". Icon-led grid, hover affordance even
   though the tiles aren't links, to feel considered rather than flat. */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.sector-tile {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.6rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--paper);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.sector-tile:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(13, 20, 32, 0.08);
}
.sector-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--blue-tint);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.sector-icon svg { width: 22px; height: 22px; }
.sector-tile:hover .sector-icon { background: var(--blue); color: #fff; }
.sector-name { font-size: 0.98rem; font-weight: 600; color: var(--ink-soft); }
@media (max-width: 760px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sector-grid { grid-template-columns: 1fr; } }

/* Spec grid — static, non-interactive lists (sectors, areas of focus).
   Hairline dividers instead of pill shapes so it reads as information,
   never as a clickable filter. */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.spec-item {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
}
@media (max-width: 760px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .spec-grid { grid-template-columns: 1fr; } }

/* Link tiles — genuinely clickable references (e.g. related solutions).
   Rectangular with a visible arrow, so they never read as static tags. */
.link-tiles { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.link-tile {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.7rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.link-tile .arrow { color: var(--blue); transition: transform 0.15s ease; }
.link-tile:hover, .link-tile:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-tint);
}
.link-tile:hover .arrow, .link-tile:focus-visible .arrow { transform: translateX(3px); }

/* ---------- Stats ---------- */
.stat-row { display: flex; gap: clamp(1.5rem, 5vw, 4rem); flex-wrap: wrap; }
.stat { max-width: 220px; }
.stat .num {
  font-family: var(--font-body);
  font-size: clamp(1.7rem, 3.2vw, 2.25rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  color: var(--clay);
}
.stat .label { color: var(--muted); font-size: 0.88rem; margin-top: 0.3rem; }

/* Floating stats banner — bridges the hero and the next section */
.stats-strip {
  position: relative;
  z-index: 5;
  margin-top: clamp(-44px, -4vw, -32px);
  padding: 0 var(--pad);
}
.stats-card {
  max-width: var(--maxw);
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(13, 20, 32, 0.12), 0 1px 0 rgba(13, 20, 32, 0.04);
  padding: clamp(1.25rem, 3.5vw, 2.25rem) clamp(1.25rem, 4vw, 2.75rem);
  display: flex;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  flex-wrap: wrap;
}
.stats-card .stat { flex: 1 1 180px; max-width: none; }
@media (max-width: 560px) {
  .stats-strip { margin-top: 0; padding-left: 0; padding-right: 0; }
  .stats-card {
    flex-direction: column;
    gap: 1.1rem;
    padding: 1.5rem 1.25rem;
    border-radius: 0;
    box-shadow: none;
    border-top: 1px solid var(--line);
  }
  .stats-card .stat { flex: none; }
}

/* ---------- About / leadership ---------- */
.leader-block { display: grid; grid-template-columns: 300px 1fr; gap: 3rem; align-items: start; }
.leader-block img { border-radius: var(--radius); }
.leader-block h3 { font-size: 1.4rem; margin-bottom: 0.2rem; }
.leader-block .role { color: var(--blue); font-weight: 600; font-size: 0.92rem; margin-bottom: 1.2rem; display: block; }
.leader-block p { color: var(--muted); margin-bottom: 1rem; }
@media (max-width: 760px) { .leader-block { grid-template-columns: 1fr; } .leader-block img { max-width: 260px; } }

.mvv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
@media (max-width: 700px) { .mvv-grid { grid-template-columns: 1fr; } }
.mvv-card {
  background: var(--ink);
  color: #fff;
  padding: 2.4rem 2rem;
  border-radius: var(--radius);
}
.mvv-card h3 { color: var(--clay); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.mvv-card p { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; line-height: 1.4; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); max-width: 500px; }

/* ---------- Contact ---------- */
.contact-panel {
  background: var(--surface-dark);
  color: #fff;
  border-radius: 10px;
  padding: clamp(2rem, 4vw, 3.25rem);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 4rem);
}
@media (max-width: 860px) { .contact-panel { grid-template-columns: 1fr; } }

.contact-details {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding-right: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 860px) {
  .contact-details {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-right: 0;
    padding-bottom: 2rem;
  }
}
.contact-details .eyebrow { margin-bottom: 1.6rem; }
.contact-details .item { padding: 1.2rem 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.contact-details .item:first-of-type { border-top: none; padding-top: 0; }
.contact-details .item h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.6rem;
}
.contact-details .item p, .contact-details .item a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  display: block;
  transition: color 0.15s ease;
}
.contact-details .item a:hover, .contact-details .item a:focus-visible { color: var(--blue-bright); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-tint);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.8rem; }
.form-status { margin-top: 1rem; font-size: 0.92rem; font-weight: 600; display: none; }
.form-status.success { color: #1a7f4a; display: block; }
.form-status.error { color: #b3261e; display: block; }

/* Dark-panel form variant */
.contact-panel .field label { color: rgba(255, 255, 255, 0.85); }
.contact-panel .field input,
.contact-panel .field textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.contact-panel .field input::placeholder,
.contact-panel .field textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.contact-panel .field input:focus,
.contact-panel .field textarea:focus {
  border-color: var(--blue-btn);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(58, 182, 220, 0.18);
}
.contact-panel .form-note { color: rgba(255, 255, 255, 0.5); }
.contact-panel .form-status.success { color: #6ee7a0; }
.contact-panel .form-status.error { color: #ff8f8f; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.75); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; align-items: start; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; height: 100%; }
.footer-brand img {
  height: 46px;
  filter: brightness(0) invert(1);
}
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col a, .footer-col p { display: block; font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 0.7rem; }
.footer-col a:hover { color: var(--blue-bright); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
