/* ==========================================================================
   Lenvar Group — Corporate Design System v2
   Light hero, two-column layout, numbered steps, ecosystem footer
   Typography: Inter
   ========================================================================== */

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

:root {
  /* Brand */
  --navy: #00459D;
  --navy-dark: #003374;
  --navy-darker: #002455;
  --navy-tint: #eaf1fb;
  --gold: #c8971b;

  /* Neutrals */
  --ink: #0f172a;
  --ink-2: #1e293b;
  --muted: #64748b;
  --muted-2: #475569;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --paper: #ffffff;
  --paper-alt: #f8fafc;
  --paper-alt-2: #f1f5f9;

  /* Dark footer */
  --dark-bg: #1a2332;
  --dark-line: #2a3547;
  --dark-text: #b7bfd1;
  --dark-text-muted: #8892a8;

  /* System */
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --max: 1200px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.06);
  --shadow-md: 0 4px 14px rgba(15,23,42,0.08);
  --shadow-lg: 0 12px 32px rgba(15,23,42,0.10);
  --section-pad: 96px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 { font-size: 3rem;    font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem;    font-weight: 600; }
p  { margin: 0 0 1em; color: var(--muted-2); font-size: 1rem; line-height: 1.7; }
small, .small { font-size: 0.875rem; color: var(--muted); }
a { color: inherit; }
strong { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
section { padding: var(--section-pad) 0; }
section.alt { background: var(--paper-alt); }
section.alt-2 { background: var(--paper-alt-2); }

.section-head { max-width: 780px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: var(--navy-tint);
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--navy-tint);
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
header.site {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 32px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
}

nav.primary { display: flex; gap: 4px; align-items: center; }
nav.primary a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: var(--radius);
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  position: relative;
  border: 1.5px solid transparent;
}
nav.primary a:hover { color: var(--navy); }
nav.primary a.active {
  color: var(--navy);
  font-weight: 600;
  border-color: var(--navy);
  background: var(--paper);
}
.nav-cta {
  background: var(--navy) !important;
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  margin-left: 10px;
  border-color: var(--navy) !important;
}
.nav-cta:hover { background: var(--navy-dark) !important; color: #fff !important; border-color: var(--navy-dark) !important; }
.nav-cta.active { background: var(--navy) !important; border-color: var(--navy) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { display: block; width: 26px; height: 26px; }

/* ==========================================================================
   HERO — full-bleed background image with dark scrim (v1 style, preserved)
   ========================================================================== */
.hero {
  position: relative;
  padding: 120px 0 100px;
  color: #fff;
  background-color: var(--navy-darker);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,36,85,0.88) 0%, rgba(0,52,116,0.75) 55%, rgba(0,69,157,0.55) 100%);
  z-index: -1;
}
.hero .wrap { position: relative; z-index: 1; }
.hero .eyebrow,
.hero .hero-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffd166;
  margin-bottom: 18px;
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.hero h1 { color: #fff; max-width: 820px; margin-bottom: 20px; font-size: 3rem; line-height: 1.12; letter-spacing: -0.03em; }
.hero p.lede { font-size: 1.15rem; color: rgba(255,255,255,0.92); max-width: 680px; line-height: 1.6; margin-bottom: 0; }
.hero p.lede + p.lede { margin-top: 14px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero .breadcrumb { color: rgba(255,255,255,0.85); margin-bottom: 18px; font-size: 0.9rem; }
.hero .breadcrumb a { color: #fff; text-decoration: none; opacity: 0.9; font-weight: 500; }
.hero .breadcrumb a:hover { text-decoration: underline; }

/* Home hero — brand logo placed above the eyebrow */
.hero-logo {
  display: block;
  height: 96px;
  width: auto;
  margin-bottom: 26px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
@media (max-width: 900px) {
  .hero-logo { height: 76px; margin-bottom: 20px; }
}
@media (max-width: 480px) {
  .hero-logo { height: 60px; margin-bottom: 16px; }
}

/* Hero background variants */
.hero-home     { background-image: url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=2000&q=80"); }
.hero-about    { background-image: url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=2000&q=80"); }
.hero-mission  { background-image: url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=2000&q=80"); }
.hero-products { background-image: url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=2000&q=80"); }
.hero-services { background-image: url("https://images.unsplash.com/photo-1600880292203-757bb62b4baf?auto=format&fit=crop&w=2000&q=80"); }
.hero-culture  { background-image: url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=2000&q=80"); }
.hero-careers  { background-image: url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=2000&q=80"); }
.hero-contact  { background-image: url("https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&w=2000&q=80"); }
.hero-service  { padding: 90px 0 70px; background-image: url("https://images.unsplash.com/photo-1600880292203-757bb62b4baf?auto=format&fit=crop&w=2000&q=80"); }
.hero-legal    { background: linear-gradient(135deg, var(--navy-darker) 0%, var(--navy-dark) 100%); padding: 90px 0 70px; }
.hero-legal::before { display: none; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  min-height: 44px;
  line-height: 1.2;
  font-family: inherit;
}
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.hero .btn-outline { color: #fff; border-color: #fff; background: transparent; }
.hero .btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--paper);
  color: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.925rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn-back:hover { background: var(--navy); color: #fff; }

.btn-text {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.94rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-text::after { content: " →"; transition: transform 0.15s ease; }
.btn-text:hover::after { transform: translateX(3px); }

/* ==========================================================================
   GRIDS & CARDS
   ========================================================================== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card h3 { margin-bottom: 10px; color: var(--ink); }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.service-card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); transform: translateY(-2px); }
.service-card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.service-card .tag { font-size: 0.75rem; font-weight: 600; color: var(--navy); background: var(--navy-tint); padding: 5px 12px; border-radius: 999px; }
.service-card p { color: var(--muted); font-size: 0.94rem; margin-bottom: 20px; }
.service-card .btn-text { margin-top: auto; }

/* Service Card v2 — blue accent, blue icon (services grid + recruiting sub-cards) */
.service-card-v2 {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}
.service-card-v2::before {
  content: "";
  position: absolute;
  top: 4px; left: 0; right: 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(0,69,157,0.06) 0%, rgba(0,69,157,0) 100%);
  pointer-events: none;
  z-index: 0;
}
.service-card-v2 > * { position: relative; z-index: 1; }
.service-card-v2:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,69,157,0.16);
  border-top-color: var(--navy-dark);
}
.svc-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--navy-tint);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.2s ease, color 0.2s ease;
}
.svc-icon svg { width: 28px; height: 28px; }
.service-card-v2:hover .svc-icon { background: var(--navy); color: #fff; }
.service-card-v2 h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: var(--ink);
}
.service-card-v2 .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.service-card-v2 .tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted-2);
  background: var(--paper-alt-2);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.service-card-v2 p { color: var(--muted-2); font-size: 0.94rem; margin: 0 0 20px; line-height: 1.6; }
.service-card-v2 .btn-text { margin-top: auto; }

.outcome-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.outcome-card h3 { margin: 0; font-size: 1.05rem; }

.cap-group { border-top: 1px solid var(--line); padding: 24px 0; }
.cap-group h4 { margin: 0 0 10px; font-size: 1rem; font-weight: 700; color: var(--ink); }
.cap-group ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 0.95rem; }
.cap-group li { margin-bottom: 6px; }

.quote-block {
  border-left: 3px solid var(--gold);
  padding: 6px 0 6px 24px;
  font-size: 1.15rem;
  color: var(--ink);
  max-width: 720px;
  font-style: italic;
  margin: 0;
}
.quote-block p { font-size: 1.15rem; color: var(--ink); margin: 0; }

.belief-grid .card h3 { font-size: 1rem !important; margin: 0; }

/* ==========================================================================
   PHILOSOPHY belief cards (home page, two-col with image)
   ========================================================================== */
.two-col-philosophy { align-items: center; }
.belief-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.belief-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.belief-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.belief-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy-tint);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.belief-icon svg { width: 22px; height: 22px; }
.belief-item h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .belief-grid-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .belief-grid-2 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   REASON CARDS (Why Businesses Choose Lenvar — service pages)
   ========================================================================== */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 8px;
}
.reason-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: 32px 26px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.reason-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0,69,157,0.04) 0%, rgba(0,69,157,0) 60%);
  pointer-events: none;
}
.reason-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,69,157,0.14);
  border-top-color: var(--navy-dark);
}
.reason-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,69,157,0.28);
  position: relative;
}
.reason-badge svg { width: 22px; height: 22px; }
.reason-card h3 {
  margin: 0;
  font-size: 1.05rem !important;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  position: relative;
}

@media (max-width: 1024px) {
  .reasons-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 640px) {
  .reasons-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   TWO-COLUMN LAYOUT (About "Our Purpose")
   ========================================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.two-col .col-image {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
}
.info-card {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 24px;
}
.info-card .icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-card .icon svg { width: 26px; height: 26px; }
.info-card h4 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.info-card .sub { color: var(--muted-2); font-size: 0.9rem; margin-bottom: 8px; font-weight: 500; }
.info-card p { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* Section icon (used at top of a section heading) */
.section-icon {
  width: 60px;
  height: 60px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 6px 18px rgba(0,69,157,0.25);
}
.section-icon svg { width: 30px; height: 30px; }

/* ==========================================================================
   NUMBERED STEPS
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.step-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.step-card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-tint);
  color: var(--navy);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step-card p { color: var(--muted-2); margin: 0; }

/* ==========================================================================
   BIG CALLOUT (Our Outlook)
   ========================================================================== */
.callout {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.callout .callout-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}
.callout .callout-icon svg { width: 32px; height: 32px; }
.callout h3 { color: #fff; font-size: 1.75rem; margin-bottom: 14px; letter-spacing: -0.02em; }
.callout p { color: rgba(255,255,255,0.9); font-size: 1.05rem; max-width: 680px; margin: 0 auto; }

/* ==========================================================================
   White quote card
   ========================================================================== */
.quote-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 40px auto 0;
  text-align: center;
}
.quote-card p {
  font-size: 1.2rem;
  color: var(--ink);
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  background: linear-gradient(135deg, var(--navy-darker) 0%, var(--navy) 100%);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 620px; margin: 0 auto 28px; font-size: 1.05rem; }
.cta-band .btn-primary { background: #fff; color: var(--navy); border-color: #fff; }
.cta-band .btn-primary:hover { background: var(--paper-alt); color: var(--navy); }
.cta-band .btn-outline { color: #fff; border-color: #fff; }
.cta-band .btn-outline:hover { background: #fff; color: var(--navy); }

/* ==========================================================================
   FOOTER — matches screenshot exactly
   ========================================================================== */
footer.site {
  background: var(--dark-bg);
  color: var(--dark-text);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-brand { max-width: 360px; }
.footer-logo { margin-bottom: 24px; }
.footer-logo img {
  height: 56px;
  width: auto;
  background: transparent;
  padding: 0;
  border-radius: 0;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-brand p { color: var(--dark-text); font-size: 0.95rem; line-height: 1.65; margin: 0 0 24px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 42px; height: 42px;
  border-radius: var(--radius);
  background: #2a3547;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-text);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.footer-socials a:hover { background: var(--navy); color: #fff; }
.footer-socials svg { width: 20px; height: 20px; }

footer.site h4 {
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 22px;
  font-weight: 700;
}
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 14px; font-size: 0.95rem; line-height: 1.4; }
footer.site a { color: var(--dark-text); text-decoration: none; transition: color 0.15s ease; }
footer.site a:hover { color: #fff; }

.ecosystem-item { color: var(--dark-text); font-size: 0.95rem; }
.ecosystem-item .brand-name { color: #fff; font-weight: 600; }
.ecosystem-item .brand-desc { color: var(--dark-text-muted); }
.ecosystem-item a:hover .brand-name { color: var(--navy-tint); }

.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--dark-text);
}
.contact-item .icon-wrap {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--dark-text-muted);
  margin-top: 2px;
}
.contact-item .icon-wrap svg { width: 100%; height: 100%; }
.contact-item a { color: var(--dark-text); }
.contact-item strong { color: #fff; font-weight: 500; }

.footer-divider {
  border: 0;
  border-top: 1px solid var(--dark-line);
  margin: 0 0 28px;
}
.footer-legal {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.88rem;
  padding-bottom: 24px;
}
.footer-legal a { color: var(--dark-text); }
.footer-bottom {
  border-top: 1px solid var(--dark-line);
  padding-top: 24px;
  font-size: 0.88rem;
  color: var(--dark-text-muted);
  text-align: center;
}

/* ==========================================================================
   MISC
   ========================================================================== */
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--navy); text-decoration: none; font-weight: 500; }
.legal-updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 30px; }

/* ==========================================================================
   FORMS (Contact)
   ========================================================================== */
.contact-form { display: grid; gap: 18px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.field label .req { color: #c0392b; font-weight: 700; margin-left: 2px; }
.field .hint { font-size: 0.78rem; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 44px;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(0,69,157,0.12);
}
.field input[type="file"] {
  padding: 8px 10px;
  cursor: pointer;
  background: var(--paper-alt);
}
.field input[type="file"]::file-selector-button {
  border: 0;
  padding: 8px 14px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  margin-right: 12px;
}
.form-actions { margin-top: 8px; }
.form-actions .btn { min-width: 220px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin: 0; }
.form-note a { color: var(--navy); }

.form-success {
  background: #e8f5e9;
  border: 1.5px solid #66bb6a;
  color: #1b5e20;
  padding: 18px 22px;
  border-radius: var(--radius);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.form-success strong { color: #1b5e20; font-weight: 700; }
.form-success svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.hidden { display: none !important; }

@media (max-width: 720px) {
  .contact-form .form-row { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; min-width: 0; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }
  .hero h1 { font-size: 2.75rem; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.9rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .callout { padding: 52px 36px; }
}

@media (max-width: 900px) {
  nav.primary {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 20px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  nav.primary.open { display: flex; }
  nav.primary a {
    padding: 12px 14px;
    border-radius: var(--radius);
    font-size: 1rem;
    border: 0;
  }
  nav.primary a.active { background: var(--paper-alt); }
  .nav-cta { margin-left: 0; margin-top: 6px; text-align: center; }
  .nav-toggle { display: block; }
  .nav-row { position: relative; padding: 14px 22px; }

  .hero { padding: 80px 0 64px; }
  .hero h1 { font-size: 2.5rem; }

  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; max-width: 100%; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; }
  .wrap { padding: 0 22px; }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 2.1rem; }
  .hero p.lede { font-size: 1rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.15rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 16px; }
  .section-head { margin-bottom: 36px; }
  .btn { width: 100%; }
  .hero-actions .btn { max-width: 340px; }
  .cta-band { padding: 56px 0; }
  .callout { padding: 44px 28px; }
  .callout h3 { font-size: 1.4rem; }
  .quote-card { padding: 28px 24px; }
  .quote-card p { font-size: 1.05rem; }
  footer.site { padding: 56px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
  .footer-legal { gap: 18px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 1.75rem; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
  .wrap { padding: 0 18px; }
  .nav-row { padding: 12px 18px; }
  .logo img { height: 44px; }
}
