﻿/* â”€â”€ Reset & Base â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a2e;
  background: linear-gradient(180deg, #f8fbff 0%, #eef3fb 100%);
}

a { color: #1a56a0; text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* â”€â”€ Variables â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
:root {
  --navy:   #003087;
  --red:    #c0392b;   /* rust */
  --yellow: #e6a800;   /* amber */
  --orange: #c0392b;   /* alias â†’ rust, used for buttons/badges */
  --light:  #f0f4fa;
  --border: #d1d8e8;
  --text:   #333;
  --muted:  #666;
  --radius: 6px;
}

/* â”€â”€ Flash messages â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.flash {
  position: relative;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
  transform: translateY(0);
  opacity: 1;
  transition: opacity .25s ease, transform .25s ease;
}
.flash::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  font-size: .78rem;
  font-weight: 700;
  border-radius: 999px;
  flex-shrink: 0;
}
.flash-notice {
  background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%);
  color: #065f46;
  border-color: #86efac;
}
.flash-notice::before {
  content: "âœ“";
  background: #10b981;
  color: #fff;
}
.flash-alert {
  background: linear-gradient(180deg, #fff1f2 0%, #fee2e2 100%);
  color: #991b1b;
  border-color: #fca5a5;
}
.flash-alert::before {
  content: "!";
  background: #ef4444;
  color: #fff;
}
.flash-warning {
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
  color: #92400e;
  border-color: #fcd34d;
}
.flash-warning::before {
  content: "!";
  background: #f59e0b;
  color: #fff;
}
.flash.is-hiding {
  opacity: 0;
  transform: translateY(-6px);
}

/* â”€â”€ Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .6rem 1.4rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: opacity .15s;
  white-space: nowrap;
  vertical-align: middle;
}
.btn:hover { opacity: .85; text-decoration: none; }
.btn-primary   { background: var(--orange); color: #fff; }
.btn-secondary { background: var(--navy);   color: #fff; }
.btn-outline   { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-ghost     { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.btn-danger    { background: #dc2626; color: #fff; }
.btn-sm { padding: .35rem .9rem; font-size: .875rem; }
.btn-icon { padding: .3rem .42rem; line-height: 1; }

/* â”€â”€ Forms â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: .3rem; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .55rem .85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--text);
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,39,68,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-hint { font-size: .8rem; color: var(--muted); margin-top: .25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* â”€â”€ Layout helpers â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }

/* â”€â”€ Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.15rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(15, 23, 42, .08); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PUBLIC WEBSITE â€” Industrial Precision
   Fonts: Barlow Condensed (headings) Â· DM Sans (body)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Body scope â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.pub {
  background: #f7f5f0;
  color: #1a2438;
}
.pub .btn-primary { background: #e6a800; color: #001240; }
.pub .btn-primary:hover { background: #ffbe1a; opacity: 1; }
.pub .btn-secondary { background: #00266e; color: #fff; }
.pub .btn-outline { border-color: #00266e; color: #00266e; }

/* â”€â”€ Nav â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.public-nav {
  background: #ffffff;
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid #e5e8f0;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.public-nav .nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 2rem;
  max-width: 1160px; margin: 0 auto;
}
.nav-logo {
  display: flex; flex-direction: column; gap: 2px;
  text-decoration: none; line-height: 1;
}
.nav-logo:hover { opacity: .85; text-decoration: none; }
.nav-logo-main {
  display: flex; align-items: baseline;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 900; font-size: 1.45rem; letter-spacing: .02em; line-height: 1;
}
.pub .nav-logo-main .logo-ehn { color: #003087; }
.pub .nav-logo-main .logo-cor { color: #e6a800; }
.pub .nav-logo-main .logo-rest {
  color: #003087; font-weight: 700; font-size: .88rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  margin-left: .45rem; align-self: center; letter-spacing: .01em;
}
.pub .nav-logo-bar {
  display: block;
  height: 3px;
  background: #c0392b;
  width: 100%;
  border-radius: 0;
}
.pub .nav-logo-tagline {
  font-size: .65rem; color: #003087;
  font-style: italic; letter-spacing: .03em;
  align-self: flex-end;
  text-align: right;
}
.public-nav .nav-links { display: flex; gap: 2rem; align-items: center; }
.public-nav .nav-links a {
  color: #003087; font-weight: 500; font-size: .875rem;
  position: relative; padding-bottom: 3px; transition: color .15s; text-decoration: none;
}
.public-nav .nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: #c0392b; transition: width .2s ease;
}
.public-nav .nav-links a:hover { color: #c0392b; text-decoration: none; }
.public-nav .nav-links a:hover::after { width: 100%; }
.public-nav .nav-links .btn-primary {
  background: #c0392b; color: #fff; font-weight: 700;
  font-size: .85rem; padding: .45rem 1.2rem; border-radius: 4px; letter-spacing: .02em;
  transition: background .15s;
}
.public-nav .nav-links .btn-primary::after { display: none; }
.public-nav .nav-links .btn-primary:hover { background: #a93226; opacity: 1; color: #fff; }

/* â”€â”€ Hero animations â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes heroBgZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
@keyframes heroLineGrow {
  from { width: 0; opacity: 0; }
  to   { width: 28px; opacity: 1; }
}

/* â”€â”€ Hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; display: flex; align-items: center;
  color: #fff; padding: 8rem 0 5rem;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  animation: heroBgZoom 14s ease-out forwards;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0,10,40,.88) 0%,
    rgba(0,10,40,.72) 45%,
    rgba(0,10,40,.35) 100%
  );
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: #e6a800; margin-bottom: 1.5rem;
  opacity: 0;
  animation: heroFadeIn .7s ease forwards;
  animation-delay: .2s;
}
.hero-eyebrow::before {
  content: ''; display: block; height: 2px; background: #e6a800;
  animation: heroLineGrow .6s ease forwards;
  animation-delay: .2s;
}
.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 5.2rem; font-weight: 900; line-height: 1.0;
  margin-bottom: 1.5rem; letter-spacing: .02em; text-transform: uppercase;
  opacity: 0;
  animation: heroFadeUp .9s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: .4s;
}
.hero h1 .hero-accent { color: #e6a800; display: block; }
.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,.78);
  max-width: 520px; margin-bottom: 2.75rem; line-height: 1.8;
  opacity: 0;
  animation: heroFadeUp .9s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: .65s;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp .9s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: .85s;
}
.hero .btn-primary {
  background: #e6a800; color: #001240; font-weight: 700;
  padding: .85rem 2rem; border-radius: 4px; font-size: 1rem; letter-spacing: .02em;
}
.hero .btn-primary:hover { background: #ffbe1a; opacity: 1; text-decoration: none; }
.hero .btn-outline {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45);
  padding: .85rem 2rem; border-radius: 4px; font-size: 1rem; font-weight: 600;
  transition: border-color .15s, background .15s;
}
.hero .btn-outline:hover {
  border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.1);
  opacity: 1; text-decoration: none;
}

/* â”€â”€ Stats bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.stats-bar { background: #001240; border-bottom: 1px solid rgba(230,168,0,.1); }
.stats-bar .container { display: flex; align-items: stretch; }
.stat-item {
  flex: 1; padding: 1.75rem 1.5rem; text-align: center;
  border-right: 1px solid rgba(255,255,255,.06);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.4rem; font-weight: 800; color: #e6a800;
  line-height: 1; display: block; letter-spacing: .02em;
}
.stat-label {
  font-size: .72rem; color: rgba(255,255,255,.45); margin-top: .3rem;
  letter-spacing: .08em; text-transform: uppercase; font-weight: 500;
}

/* â”€â”€ Public sections â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.pub-section { padding: 5rem 0; }
.pub-bg-white { background: #fff; }
.pub-bg-light { background: #f7f5f0; }

.section-label {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: #e6a800; margin-bottom: .75rem;
}
.section-label::before {
  content: ''; display: block; width: 20px; height: 2px;
  background: #e6a800; flex-shrink: 0;
}
.section-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.6rem; font-weight: 800; line-height: 1.05;
  letter-spacing: .03em; color: #00266e; text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-sub { font-size: .975rem; color: #5a6478; max-width: 540px; line-height: 1.75; }

/* â”€â”€ Service cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.service-icon { display: none; }
.service-card {
  background: #fff; border-radius: 6px; padding: 2rem 1.75rem;
  border: 1px solid #e5eaf4; transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: transparent; transition: background .2s;
}
.service-card:hover {
  transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,38,110,.09);
  border-color: #c8d3ec;
}
.service-card:hover::before { background: #e6a800; }
.service-icon-wrap {
  width: 44px; height: 44px; border-radius: 8px; background: #eff2f9;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; transition: background .2s;
}
.service-card:hover .service-icon-wrap { background: rgba(230,168,0,.14); }
.service-icon-wrap svg { width: 22px; height: 22px; color: #003087; transition: color .2s; }
.service-card:hover .service-icon-wrap svg { color: #c89600; }
.service-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem; font-weight: 700; color: #00266e;
  margin-bottom: .45rem; letter-spacing: .04em; text-transform: uppercase;
}
.service-card p { font-size: .9rem; color: #5a6478; line-height: 1.65; }
.service-card ul {
  margin-top: .875rem; padding-left: 0; list-style: none;
  display: flex; flex-direction: column; gap: .3rem;
}
.service-card ul li {
  font-size: .84rem; color: #4b5668; padding-left: 1.1rem; position: relative;
}
.service-card ul li::before {
  content: 'â€”'; position: absolute; left: 0; color: #e6a800; font-weight: 700;
}

/* â”€â”€ Split section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.split-content-body { font-size: .95rem; color: #4b5668; line-height: 1.8; margin-bottom: 1rem; }
.feature-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.75rem; }
.feature-item { display: flex; gap: .875rem; align-items: flex-start; }
.feature-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(230,168,0,.14); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; margin-top: .15rem;
}
.feature-check svg { width: 12px; height: 12px; color: #b88800; }
.feature-item-text { font-size: .9rem; color: #374151; line-height: 1.5; }
.feature-item-text strong { color: #00266e; font-weight: 600; display: block; margin-bottom: .1rem; }
.visual-block {
  background: #00266e; border-radius: 8px; padding: 2.5rem 2rem;
  color: #fff; position: relative; overflow: hidden;
}
.visual-block::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px; border: 1.5px solid rgba(230,168,0,.12); border-radius: 50%;
}
.visual-block::after {
  content: ''; position: absolute; top: -25px; right: -25px;
  width: 110px; height: 110px; border: 1.5px solid rgba(230,168,0,.08); border-radius: 50%;
}
.visual-block-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(230,168,0,.65); margin-bottom: .875rem;
}
.visual-block-title {
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.55rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: .4rem;
}
.visual-block-sub { font-size: .875rem; color: rgba(255,255,255,.5); line-height: 1.5; margin-bottom: 1.75rem; }
.visual-block-divider { width: 36px; height: 2px; background: #e6a800; margin-bottom: 1.5rem; }
.visual-detail-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: .875rem;
}
.visual-detail-row:last-child { border-bottom: none; }
.visual-detail-key { color: rgba(255,255,255,.45); font-size: .78rem; }
.visual-detail-val { color: #fff; font-weight: 600; font-size: .875rem; }
.visual-detail-badge {
  background: rgba(230,168,0,.18); color: #e6a800; font-size: .68rem;
  padding: .15rem .5rem; border-radius: 3px; font-weight: 700; letter-spacing: .06em;
}

/* â”€â”€ CTA band â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cta-band {
  background: #001240; color: #fff; text-align: center;
  padding: 5rem 0; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -55deg, transparent, transparent 40px,
    rgba(255,255,255,.014) 40px, rgba(255,255,255,.014) 41px
  );
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3rem; font-weight: 900; text-transform: uppercase;
  letter-spacing: .03em; margin-bottom: .875rem; line-height: 1.0;
}
.cta-band h2 span { color: #e6a800; }
.cta-band p {
  font-size: .975rem; color: rgba(255,255,255,.55); margin-bottom: 2.5rem;
  max-width: 460px; margin-left: auto; margin-right: auto; line-height: 1.7;
}
.cta-band .btn-secondary {
  background: #e6a800; color: #001240; font-weight: 700;
  padding: .8rem 2rem; border-radius: 4px; font-size: .975rem;
}
.cta-band .btn-secondary:hover { background: #ffbe1a; opacity: 1; text-decoration: none; }
.cta-band .btn-outline {
  background: transparent; color: rgba(255,255,255,.75);
  border: 1.5px solid rgba(255,255,255,.25); padding: .8rem 2rem;
  border-radius: 4px; font-size: .975rem; font-weight: 600;
  transition: border-color .15s, background .15s;
}
.cta-band .btn-outline:hover {
  border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.07);
  opacity: 1; text-decoration: none;
}

/* â”€â”€ Page header (inner pages) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.page-header {
  background: #00266e; color: #fff; padding: 3.5rem 0 3rem;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -55deg, transparent, transparent 40px,
    rgba(255,255,255,.018) 40px, rgba(255,255,255,.018) 41px
  );
}
.page-header .container { position: relative; z-index: 1; }
.page-header-eyebrow {
  font-size: .68rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(230,168,0,.75); margin-bottom: .5rem;
}
.page-header h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.8rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .03em; line-height: 1.05;
}
.page-header p { color: rgba(255,255,255,.6); margin-top: .5rem; font-size: .9rem; }

/* â”€â”€ About page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.mission-card {
  background: #00266e; color: #fff; border-radius: 8px; padding: 2rem;
  position: relative; overflow: hidden; height: 100%;
}
.mission-card::after {
  content: ''; position: absolute; bottom: -30px; right: -30px;
  width: 90px; height: 90px; border: 1.5px solid rgba(230,168,0,.12); border-radius: 50%;
}
.mission-card-tag {
  font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(230,168,0,.7); margin-bottom: .75rem;
}
.mission-card h3 {
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.45rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: .75rem;
}
.mission-card p { font-size: .875rem; color: rgba(255,255,255,.65); line-height: 1.7; margin: 0; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .875rem; margin-top: 1.5rem; }
.value-item {
  padding: 1.25rem 1.5rem; background: #f7f5f0;
  border-radius: 6px; border-left: 3px solid #e6a800;
}
.value-item strong {
  display: block; font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem; font-weight: 700; color: #00266e;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: .25rem;
}
.value-item p { font-size: .84rem; color: #5a6478; margin: 0; }

/* â”€â”€ Contact page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.contact-info-block { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-icon {
  width: 38px; height: 38px; border-radius: 6px;
  background: rgba(0,38,110,.07); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; margin-top: .1rem;
}
.contact-info-icon svg { width: 18px; height: 18px; color: #00266e; }
.contact-info-text strong {
  display: block; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: #00266e; margin-bottom: .2rem;
}
.contact-info-text p, .contact-info-text a {
  font-size: .9rem; color: #374151; margin: 0; line-height: 1.5;
}

/* â”€â”€ Public footer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.public-footer {
  background: #0a0e1a;
  color: rgba(255,255,255,.5);
  padding: 4rem 0 2rem;
  font-size: .875rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 2rem;
}
.footer-brand-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem; font-weight: 900; letter-spacing: .05em;
  text-transform: uppercase; line-height: 1; margin-bottom: .35rem;
}
.footer-brand-logo .logo-ehn { color: #fff; }
.footer-brand-logo .logo-cor { color: #e6a800; }
.footer-brand-tagline { font-size: .72rem; color: rgba(230,168,0,.4); font-style: italic; margin-bottom: 1rem; }
.footer-brand-desc { font-size: .83rem; color: rgba(255,255,255,.32); line-height: 1.7; max-width: 250px; }
.footer-col-title {
  font-size: .68rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(255,255,255,.38); margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
  color: rgba(255,255,255,.42); font-size: .875rem; transition: color .15s; text-decoration: none;
}
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-contact-line { font-size: .875rem; color: rgba(255,255,255,.38); line-height: 1.6; margin-bottom: .4rem; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  color: rgba(255,255,255,.27); font-size: .8rem;
}
.footer-bottom a { color: rgba(255,255,255,.36); text-decoration: none; transition: color .15s; }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* â”€â”€ Narrow content â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.public-content-narrow { max-width: 820px; margin: 0 auto; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PORTAL LAYOUT (Staff / Admin)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.portal-wrap { display: flex; min-height: 100vh; }

.portal-sidebar {
  width: 210px; flex-shrink: 0;
  background: var(--navy);
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
  overflow-y: auto;
}
.sidebar-brand {
  padding: 1rem 1.1rem .7rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.sidebar-brand a {
  color: #fff; font-size: 1.1rem; font-weight: 700; text-decoration: none;
}
.sidebar-brand a span { color: var(--yellow); }
.sidebar-brand .role-badge {
  display: inline-block;
  margin-top: .25rem;
  font-size: .7rem;
  background: var(--orange);
  color: #fff;
  padding: .1rem .5rem;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.sidebar-nav { padding: .6rem 0; flex: 1; }
.sidebar-nav a {
  display: flex; align-items: center; gap: .6rem;
  padding: .42rem 1.1rem;
  color: rgba(255,255,255,.75);
  font-size: .86rem;
  text-decoration: none;
}
.sidebar-nav a:hover,
.sidebar-nav a.active { color: #fff; background: rgba(255,255,255,.08); }
.sidebar-nav .nav-section {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.35);
  padding: .7rem 1.1rem .3rem;
}

.sidebar-footer {
  padding: .7rem 1.1rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}

.portal-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }

/* Slim bar shown only on mobile (hamburger + page title) */
.portal-mobile-bar {
  display: none;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border);
  padding: .55rem 1rem;
}
.portal-mobile-bar .page-title { font-weight: 600; font-size: .95rem; color: var(--navy); }

.portal-content {
  flex: 1;
  padding: 1.5rem;
  background: radial-gradient(circle at top right, #f8fbff 0%, #eef3fb 48%, #e9f0fa 100%);
  overflow-y: auto;
  max-width: 1440px;
  width: 100%;
  align-self: flex-start;
}

/* Stat cards */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--orange);
}
.stat-card .stat-label { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.stat-card .stat-value { font-size: 1.65rem; font-weight: 700; color: var(--navy); line-height: 1.2; }

/* Tables */
.table-wrap {
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
}
table { width: 100%; border-collapse: collapse; }
th { background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%); text-align: left; padding: .55rem .85rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); border-bottom: 1px solid var(--border); }
td { padding: .55rem .85rem; border-bottom: 1px solid var(--border); font-size: .88rem; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--light); }

/* Badges */
.badge { display: inline-block; padding: .2rem .6rem; border-radius: 99px; font-size: .75rem; font-weight: 600; }
.badge-pending   { background: #fef3c7; color: #92400e; }
.badge-confirmed { background: #dbeafe; color: #1e40af; }
.badge-active    { background: #d1fae5; color: #065f46; }
.badge-done      { background: #e5e7eb; color: #374151; }
.badge-cancelled { background: #fee2e2; color: #991b1b; }
.badge-danger    { background: #991b1b; color: #fff; }
.badge-admin     { background: #ede9fe; color: #5b21b6; }
.badge-staff     { background: #dbeafe; color: #1e40af; }
.badge-client    { background: #d1fae5; color: #065f46; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CLIENT PORTAL LAYOUT
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.client-nav {
  background: var(--navy);
  padding: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.client-nav .nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1100px; margin: 0 auto; padding: .9rem 1.5rem;
}
.client-nav .nav-brand { color: #fff; font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.client-nav .nav-brand span { color: var(--yellow); }
.client-nav .nav-links { display: flex; gap: 1.25rem; align-items: center; }
.client-nav .nav-links a { color: rgba(255,255,255,.8); font-size: .9rem; }
.client-nav .nav-links a:hover { color: #fff; text-decoration: none; }
.client-nav .nav-links a.client-nav-active { color: #fff; font-weight: 700; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }

.client-body {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1.5rem 2rem;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PORTAL FORMS & COMPONENT HELPERS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Generic form controls used in portal (outside .form-group) */
.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .3rem;
}
.form-control {
  width: 100%;
  padding: .5rem .8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--text);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.form-control:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,48,135,.1);
}
.form-control-sm { padding: .3rem .65rem; font-size: .82rem; }
select.form-control { appearance: auto; }
textarea.form-control { resize: vertical; min-height: 80px; }

/* â”€â”€ Tom Select overrides (matches app form style) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ts-wrapper { width: 100%; border: none !important; border-radius: 0 !important; box-shadow: none !important; } /* overridden per-instance via JS when inside flex rows */
.ts-control {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: .5rem .8rem !important;
  font-size: .9rem !important;
  color: var(--text) !important;
  background: #fff !important;
  box-shadow: none !important;
  min-height: unset !important;
}
.ts-wrapper.focus .ts-control {
  border-color: var(--navy) !important;
  box-shadow: 0 0 0 3px rgba(0,48,135,.1) !important;
}
.ts-dropdown { border: 1px solid var(--border); border-radius: var(--radius); font-size: .9rem; }
.ts-dropdown .option:hover, .ts-dropdown .option.active { background: var(--navy); color: #fff; }

/* Trip Ticket form: keep selected Driver/Helper tokens compact */
#booking_driver_id_log + .ts-wrapper .ts-control .item,
#booking_helper_ids + .ts-wrapper .ts-control .item {
  font-size: .78rem !important;
  line-height: 1.2 !important;
}
#booking_helper_ids + .ts-wrapper.multi .ts-control > .item {
  padding: .1rem .35rem !important;
}

/* Page-level action bar above card */
.page-actions {
  display: flex; align-items: flex-end; gap: .75rem;
  margin-bottom: .75rem; flex-wrap: wrap;
}
.page-actions-split {
  justify-content: space-between;
}
.page-actions-left,
.page-actions-right {
  display: flex;
  align-items: flex-end;
  gap: .75rem;
  flex-wrap: wrap;
}
.page-actions > form {
  display: flex;
  align-items: flex-end;
  gap: .75rem;
  flex-wrap: wrap;
  margin: 0;
}
.page-actions .btn { min-height: 36px; }
.page-actions .btn-sm { min-height: 32px; }
.page-actions .form-control { min-height: 36px; }
.page-actions .form-control-sm { min-height: 32px; }
.page-actions .btn-group { align-items: flex-end; }

.flash-wrap {
  padding-top: 1rem;
}

/* Centered confirmation modal */
.confirm-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  padding: 1rem;
}
.confirm-modal {
  width: min(460px, 96vw);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 20px 42px rgba(15, 23, 42, .25);
  padding: 1rem;
}
.confirm-modal-title {
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0 0 .3rem;
}
.confirm-modal-message {
  color: var(--text);
  margin: 0 0 1rem;
  line-height: 1.5;
}
.confirm-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
  flex-wrap: wrap;
}

.dashboard-hero {
  padding: 1.25rem 1.4rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  color: #fff;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, #0f766e 100%);
  box-shadow: 0 10px 26px rgba(15, 23, 42, .14);
}
.dashboard-hero h1 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}
.dashboard-hero p {
  margin: .3rem 0 0;
  color: rgba(255,255,255,.85);
}

.split-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stack-list {
  display: flex;
  flex-direction: column;
}
.stack-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
}
.stack-item:last-child { border-bottom: none; }

.quick-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.page-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: .85rem;
}
.page-intro-title {
  color: var(--navy);
  font-size: 1.45rem;
  margin: 0;
}
.page-intro-subtitle {
  color: var(--muted);
  font-size: .9rem;
  margin: .2rem 0 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .86rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.split-layout-main {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.split-layout-primary {
  flex: 2;
  min-width: 300px;
}
.split-layout-side {
  flex: 1;
  min-width: 240px;
}

.status-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.status-tab {
  padding: .42rem .95rem;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--light);
  color: var(--muted);
  border: 1px solid transparent;
}
.status-tab.active {
  background: var(--navy);
  color: #fff;
}

.empty-state-card {
  text-align: center;
  padding: 3rem 1.5rem;
}
.empty-state-title {
  color: var(--navy);
  font-weight: 700;
  margin-bottom: .45rem;
}
.empty-state-text {
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.public-content-narrow {
  max-width: 820px;
  margin: 0 auto;
}

/* Detail key/value pairs inside cards */
.detail-label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
  margin: 0 0 .2rem;
}
.detail-value {
  font-size: .95rem;
  color: var(--text);
  margin: 0;
}

/* Card section headings */
.card-section-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--muted);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}

/* â”€â”€ Content tabs (used on show pages) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.tab-btn {
  padding: .55rem 1.1rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.tab-btn:hover { color: var(--navy); }
.tab-btn.active { color: var(--navy); border-bottom-color: var(--navy); }
.tab-panel { display: block; }
.tab-panel[hidden] { display: none; }
.btn-block { display: block; width: 100%; text-align: center; }

/* â”€â”€ Native <dialog> modals â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
dialog {
  border: none;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 4px 32px rgba(0,0,0,.18);
  max-width: min(480px, 96vw);
  width: 100%;
}
dialog::backdrop { background: rgba(0,0,0,.45); }
dialog[open] {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

/* â”€â”€ "More â–¾" dropdown menu â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dropdown { position:relative; display:inline-flex; }
.dropdown-menu { display:none; position:absolute; right:0; top:calc(100% + 4px); background:#fff; border:1px solid var(--border); border-radius:8px; box-shadow:0 4px 16px rgba(0,0,0,.12); min-width:168px; z-index:200; padding:.25rem 0; }
.dropdown.open .dropdown-menu { display:block; }
.dropdown-menu a,
.dropdown-menu button { display:block; width:100%; text-align:left; padding:.45rem 1rem; font-size:.875rem; color:var(--text); background:none; border:none; cursor:pointer; text-decoration:none; white-space:nowrap; line-height:1.4; }
.dropdown-menu a:hover,
.dropdown-menu button:hover { background:var(--light); }
.dropdown-menu .menu-danger { color:#dc2626; }
.dropdown-menu .menu-danger:hover { background:#fef2f2; }
.dropdown-divider { height:1px; background:var(--border); margin:.25rem 0; }

/* Permission toggle rows */
.permission-row {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid var(--border);
}
.permission-row:hover { background: var(--light); }
.permission-row input[type="checkbox"] {
  width: 1.1rem; height: 1.1rem;
  margin-top: .15rem; flex-shrink: 0;
  accent-color: var(--navy);
}

/* Text helpers */
.text-danger { color: #dc2626; }

/* â”€â”€â”€ Navbar logo branding â”€â”€â”€ */
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}
.nav-logo-main {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: .5px;
  color: #fff;
}
.nav-logo-main .logo-ehn  { color: #fff; }
.nav-logo-main .logo-cor  { color: var(--yellow); }
.nav-logo-main .logo-rest { color: rgba(255,255,255,.85); font-weight: 600; font-size: 1.1rem; }
.nav-logo-tagline {
  font-size: .65rem;
  color: rgba(255,255,255,.55);
  letter-spacing: .5px;
  font-style: italic;
  margin-top: .15rem;
}
.nav-logo-bar {
  height: 2px;
  background: linear-gradient(90deg, var(--yellow), var(--red), transparent);
  margin-top: .25rem;
  border-radius: 1px;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   LOGIN / AUTH PAGES
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.login-page {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  padding: 2.5rem 1rem;
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 32px rgba(0, 48, 135, .12);
  padding: 2.5rem 2.25rem;
  border: 1px solid var(--border);
}

/* Brand / logo section */
.login-brand {
  text-align: center;
  margin-bottom: 1.75rem;
}
.login-logo-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}
.login-logo-text {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: .5px;
  line-height: 1;
}
.login-logo-text .logo-ehn { color: var(--navy); }
.login-logo-text .logo-cor { color: var(--orange); }
.login-logo-bar {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--navy), var(--orange), transparent);
  border-radius: 1px;
  margin: .3rem 0 .2rem;
}
.login-logo-tagline {
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .5px;
}

/* Role header */
.login-header {
  text-align: center;
  padding: 1.25rem 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.75rem;
}
.login-header-client { background: #eef3ff; border: 1px solid #c7d5f5; }
.login-header-staff  { background: #f0fdf4; border: 1px solid #bbf7d0; }
.login-header-admin  { background: #fdf4ff; border: 1px solid #e9d5ff; }

.login-icon { font-size: 2rem; line-height: 1; display: block; margin-bottom: .5rem; }

.login-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 .3rem;
}
.login-header-staff  .login-title { color: #166534; }
.login-header-admin  .login-title { color: #6b21a8; }

.login-subtitle {
  font-size: .85rem;
  color: var(--muted);
  margin: 0;
}

/* Form */
.login-form .form-group { margin-bottom: 1.1rem; }
.login-form .form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .35rem;
}
.login-form .form-control {
  width: 100%;
  padding: .6rem .9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--text);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.login-form .form-control:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,48,135,.1);
}

/* Remember me row */
.login-remember {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 1rem 0 1.5rem;
}
.login-remember input[type="checkbox"] {
  width: 1rem; height: 1rem;
  accent-color: var(--navy);
  cursor: pointer;
}
.login-remember label {
  font-size: .875rem;
  color: var(--muted);
  cursor: pointer;
  margin: 0;
}

/* Submit button */
.login-submit {
  width: 100%;
  padding: .75rem;
  font-size: 1rem;
}

/* Links below form */
.login-footer-links {
  text-align: center;
  margin-top: 1.25rem;
  font-size: .875rem;
}
.login-footer-links a { color: var(--navy); }
.login-footer-links a:hover { text-decoration: underline; }

.login-back-link {
  text-align: center;
  margin-top: .75rem;
  font-size: .82rem;
}
.login-back-link a { color: var(--muted); }
.login-back-link a:hover { color: var(--navy); text-decoration: underline; }

@media (max-width: 480px) {
  .login-card { padding: 1.75rem 1.25rem; }
  .login-page { padding: 1.5rem .75rem; align-items: flex-start; }
}

/* â”€â”€ Button group helper â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn-group {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
/* button_to renders a <form> â€” make it participate in flex */
.btn-group > form { display: contents; }

/* â”€â”€ Collapsible sidebar nav groups (portal only) â”€â”€â”€â”€â”€â”€â”€ */
.nav-group { border: none; }
.nav-group-summary {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.55);
  padding: .65rem 1.1rem .3rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  border: none;
  background: none;
}
.nav-group-summary::-webkit-details-marker { display: none; }
.nav-group-summary::marker { content: ""; display: none; }
.nav-group-chevron {
  font-size: .85rem;
  font-style: normal;
  transition: transform .2s;
  color: rgba(255,255,255,.35);
  flex-shrink: 0;
}
details.nav-group[open] .nav-group-chevron { transform: rotate(90deg); }
.nav-group a,
.nav-group .sidebar-nav-item {
  padding-left: 1.75rem;
}

/* â”€â”€ Mobile hamburger button â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  color: #003087;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.nav-hamburger .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform .2s, opacity .2s;
}

/* Portal mobile hamburger (inside .portal-mobile-bar) */
.portal-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: .3rem;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.portal-hamburger .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

/* Portal sidebar overlay (mobile) */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 199;
}
.sidebar-overlay.open { display: block; }

/* â”€â”€ Responsive â€” tablet & mobile â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 768px) {

  /* â€” Public nav â€” */
  .public-nav .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: .1rem;
    padding: .5rem 1.5rem 1rem;
    border-top: 1px solid rgba(255,255,255,.1);
    width: 100%;
  }
  .public-nav .nav-links.open { display: flex; }
  .public-nav .nav-hamburger { display: flex; }
  .public-nav .nav-inner { flex-wrap: wrap; align-items: center; }
  .public-nav .nav-links a::after { display: none; }

  /* â€” Public hero â€” */
  .hero { padding: 4rem 0 3rem; min-height: auto; }
  .hero h1 { font-size: 3rem; }
  .hero-sub { font-size: 1rem; }

  /* â€” Stats bar â€” */
  .stats-bar .container { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); padding: 1.25rem; }
  .stat-item:last-child { border-bottom: none; }

  /* â€” Public sections â€” */
  .pub-section { padding: 3.5rem 0; }
  .section-heading { font-size: 2.1rem; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .cta-band { padding: 3.5rem 0; }
  .cta-band h2 { font-size: 2.2rem; }

  /* â€” Client nav â€” */
  .client-nav .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: .1rem;
    padding: .5rem 1.5rem 1rem;
    border-top: 1px solid rgba(255,255,255,.1);
    width: 100%;
  }
  .client-nav .nav-links.open { display: flex; }
  .client-nav .nav-hamburger { display: flex; }
  .client-nav .nav-inner { flex-wrap: wrap; align-items: center; }

  /* â€” Portal sidebar â€” */
  .portal-sidebar {
    position: fixed;
    left: -260px;
    top: 0;
    z-index: 200;
    height: 100vh;
    transition: left .25s ease;
  }
  .portal-sidebar.open { left: 0; }
  .portal-mobile-bar { display: flex; }
  .portal-content { padding: 1rem .85rem; max-width: 100%; }

  /* â€” Tables â€” */
  .table-wrap { overflow-x: auto; }

  /* â€” Stat grid â€” */
  .stat-grid { grid-template-columns: 1fr 1fr; }

  /* â€” Card grid â€” */
  .card-grid { grid-template-columns: 1fr; }

  /* â€” Forms â€” */
  .form-row { grid-template-columns: 1fr; }

  /* â€” Page actions â€” */
  .page-actions { flex-direction: column; align-items: flex-start; }
  .page-actions-split { align-items: stretch; }
  .page-actions-right, .page-actions-left { width: 100%; }
  .dashboard-hero h1 { font-size: 1.2rem; }
  .split-grid-2 { grid-template-columns: 1fr; }
  .split-layout-primary,
  .split-layout-side { width: 100%; min-width: 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .page-header h1 { font-size: 2rem; }
  .stat-grid { grid-template-columns: 1fr; }
  .portal-content { padding: 1rem .75rem; }
  .card { padding: 1rem; }
}

.inline-form {
  display: inline-flex;
  align-items: end;
  gap: .5rem;
  flex-wrap: wrap;
}

.filter-bar {
  display: flex;
  gap: 1rem;
  align-items: end;
  flex-wrap: wrap;
}

.filter-bar-compact {
  gap: .75rem;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.filter-field-grow {
  flex: 1;
  min-width: 220px;
}

.filter-label {
  display: block;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .filter-bar { align-items: stretch; }
  .filter-field,
  .filter-field-grow,
  .inline-form { width: 100%; }
  .filter-bar .btn,
  .inline-form .btn { width: 100%; justify-content: center; }
}

/* â”€â”€ Intermediate breakpoint (1200px â€” smaller desktops, 20" monitors) â”€â”€ */
@media (max-width: 1200px) {
  .portal-sidebar { width: 195px; }
  .portal-content { padding: 1.25rem; }
  .split-layout-main { gap: 1rem; }
}

/* â”€â”€ Route strip (Pickup â†’ Delivery on show pages) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.route-strip {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: .1rem 0;
}
.route-point {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
}
.route-dot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: .2rem;
  flex-shrink: 0;
  width: 14px;
}
.route-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid;
  flex-shrink: 0;
}
.route-dot-pickup   { background: #d1fae5; border-color: #059669; }
.route-dot-delivery { background: #dbeafe; border-color: var(--navy); }
.route-connector {
  width: 2px;
  height: 22px;
  background: repeating-linear-gradient(to bottom, #cbd5e1 0px, #cbd5e1 4px, transparent 4px, transparent 8px);
  margin: 2px 0;
}
.route-address {
  font-size: .93rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
}
.route-point-body { padding-bottom: .35rem; }

/* â”€â”€ Flatpickr alt-input â€” match .form-control style â”€â”€ */
.flatpickr-input.form-control[readonly] { background: #fff; cursor: pointer; }
.flatpickr-input.flatpickr-mobile { display: none; }


/* ===== PUBLIC WEBSITE OVERHAUL ===== */
:root {
  --site-bg: #f6f8ff;
  --site-surface: #ffffff;
  --site-surface-soft: #eef2ff;
  --site-primary: #1d4ed8;
  --site-primary-deep: #132f7c;
  --site-accent: #f59e0b;
  --site-ink: #334155;
  --site-heading: #24364f;
  --site-muted: #5b6b82;
  --site-border: #dbe2f4;
  --site-shadow: 0 22px 44px rgba(16, 27, 58, 0.14);
}

.pub {
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--site-ink);
  background:
    radial-gradient(circle at 92% 8%, rgba(29, 78, 216, 0.14), transparent 30%),
    radial-gradient(circle at 10% 10%, rgba(245, 158, 11, 0.12), transparent 25%),
    var(--site-bg);
}

.pub h1,
.pub h2,
.pub h3,
.pub h4 {
  font-family: "Sora", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
  color: var(--site-heading);
}

/* Keep softened typography globally, but restore high contrast on blue-gradient sections */
.site-hero-photo h1,
.site-hero-photo h2,
.site-hero-photo h3,
.site-hero-photo h4,
.site-panel h1,
.site-panel h2,
.site-panel h3,
.site-panel h4,
.site-cta-band h1,
.site-cta-band h2,
.site-cta-band h3,
.site-cta-band h4 {
  color: #f8fbff;
}

.site-wrap {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-shell {
  position: sticky;
  top: 0;
  z-index: 140;
  backdrop-filter: blur(12px);
  background: rgba(246, 248, 255, 0.92);
  border-bottom: 1px solid rgba(219, 226, 244, 0.7);
}

.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
  padding: 0.3rem 0;
}

.site-brand {
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 290px;
}

.site-brand-main,
.site-footer-brand-main {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.site-brand-ehn {
  color: #1b4f94;
}

.site-brand-cor {
  color: #f2ad10;
}

.site-brand-rest {
  color: #1c3f73;
  font-weight: 700;
}

.site-brand-bar {
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #df1414 0%, #ff1f1f 55%, #d31313 100%);
}

.site-brand-sub,
.site-footer-brand-script {
  width: 100%;
  text-align: right;
  padding-right: 0.65rem;
  font-family: "Times New Roman", serif;
  font-size: 0.95rem;
  font-style: italic;
  color: #cf1717;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav-links a {
  color: var(--site-primary-deep);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.92rem;
}

.site-nav-links a:hover {
  color: var(--site-primary);
  text-decoration: none;
}

.site-nav-links a.is-active {
  color: var(--site-primary);
}

.site-btn {
  border-radius: 999px;
  padding: 0.52rem 1rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.site-btn:hover {
  transform: translateY(-1px);
}

.site-btn-primary {
  background: var(--site-primary);
  color: #fff !important;
}

.site-btn-soft {
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--site-border);
}

.site-nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.site-nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--site-primary-deep);
}

.flash-wrap {
  margin-top: 1rem;
}

.site-hero {
  position: relative;
  overflow: hidden;
  padding: 5.6rem 0 3.2rem;
}

@keyframes siteHeroBgZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@keyframes siteHeroFadeUp {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes siteHeroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.site-hero-photo {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: calc(6.2rem + 84px) 0 4.2rem;
  margin-bottom: 1.2rem;
  margin-top: -84px;
}

.site-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
  animation: siteHeroBgZoom 14s ease-out forwards;
}

.site-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    rgba(4, 14, 42, 0.92) 0%,
    rgba(8, 26, 77, 0.78) 42%,
    rgba(10, 33, 94, 0.45) 100%
  );
}

.site-hero::before {
  content: "";
  position: absolute;
  right: -14%;
  top: -36%;
  width: 540px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(245, 158, 11, 0.34), rgba(245, 158, 11, 0));
  pointer-events: none;
}

.site-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: end;
  align-items: end;
}

.site-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  color: var(--site-primary-deep);
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.site-hero-photo .site-kicker {
  color: #f3b61d;
  animation: siteHeroFadeIn .7s ease forwards;
}

.site-hero-photo .site-kicker::before {
  background: #f3b61d;
}

.site-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--site-accent);
}

.site-hero h1 {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.site-hero-copy-wrap {
  opacity: 0;
  animation: siteHeroFadeUp .85s cubic-bezier(.22, 1, .36, 1) .2s forwards;
  justify-self: end;
  max-width: 640px;
}

.site-hero-photo h1 {
  color: #f9fbff;
}

.site-hero h1 span {
  color: var(--site-primary);
}

.site-hero-photo h1 span {
  color: #f3b61d;
}

.site-hero-copy {
  font-size: 1.06rem;
  color: var(--site-muted);
  max-width: 620px;
}

.site-hero-photo .site-hero-copy {
  color: rgba(233, 241, 255, 0.9);
}

.site-hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.site-hero-actions .btn {
  border-radius: 999px;
  padding: 0.78rem 1.3rem;
  font-weight: 700;
}

.site-hero-photo .site-hero-actions {
  opacity: 0;
  animation: siteHeroFadeUp .9s cubic-bezier(.22, 1, .36, 1) .45s forwards;
}

.site-hero-photo .site-hero-actions .btn-primary {
  background: #f3b61d;
  color: #12254f;
}

.site-hero-photo .site-hero-actions .site-btn-ghost {
  color: #f3f8ff;
  border-color: rgba(243, 248, 255, 0.55);
  background: rgba(12, 26, 63, 0.28);
}

.site-hero-photo .site-hero-actions .site-btn-ghost:hover {
  background: rgba(243, 248, 255, 0.16);
}

.site-btn-ghost {
  border: 1px solid var(--site-border);
  color: var(--site-primary-deep);
  background: rgba(255, 255, 255, 0.85);
}

.site-panel {
  background: linear-gradient(155deg, #142d74 0%, #1d4ed8 60%, #3b82f6 100%);
  border-radius: 26px;
  padding: 1.8rem;
  color: #e6eeff;
  box-shadow: var(--site-shadow);
}

.site-panel h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: #fff;
}

.site-panel-list {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.site-panel-list li {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 0.65rem 0.8rem;
  background: rgba(255, 255, 255, 0.09);
  font-size: 0.92rem;
}

.site-panel-hero {
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: siteHeroFadeUp .9s cubic-bezier(.22, 1, .36, 1) .55s forwards;
  border: 1px solid rgba(229, 238, 255, 0.38);
  background:
    linear-gradient(170deg, rgba(9, 22, 56, 0.56) 0%, rgba(13, 30, 74, 0.48) 58%, rgba(26, 53, 121, 0.42) 100%);
  backdrop-filter: blur(10px) saturate(120%);
  box-shadow:
    0 24px 40px rgba(4, 12, 32, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  margin-top: 1.75rem;
}

.site-panel-hero::before {
  content: "";
  position: absolute;
  top: -34%;
  right: -18%;
  width: 230px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 182, 29, 0.26) 0%, rgba(243, 182, 29, 0) 72%);
  pointer-events: none;
}

.site-panel-hero h3 {
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  color: #f6f9ff;
  margin-bottom: 0.95rem;
}

.site-panel-hero .site-panel-list {
  gap: 0.6rem;
}

.site-panel-hero .site-panel-list li {
  border-color: rgba(229, 238, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #e8f0ff;
  font-size: 0.89rem;
  line-height: 1.42;
}

.site-stats {
  padding: 1.2rem 0 3.3rem;
}

.site-section-after-stats {
  padding-top: 2.4rem;
}

.site-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.site-stats .site-stat {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--site-border);
  border-radius: 18px;
  padding: 1.05rem 1.05rem 1rem;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.95) 0%, rgba(238, 244, 255, 0.86) 100%);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.site-stats .site-stat::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, #1d4ed8, #5ea2ff);
}

.site-stats .site-stat:nth-child(2)::before {
  background: linear-gradient(90deg, #1e40af, #2dd4bf);
}

.site-stats .site-stat:nth-child(3)::before {
  background: linear-gradient(90deg, #1d4ed8, #f59e0b);
}

.site-stats .site-stat:nth-child(4)::before {
  background: linear-gradient(90deg, #3b82f6, #7c3aed);
}

.site-stats .site-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 34px rgba(15, 23, 42, 0.12);
}

.site-stats .site-stat-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.18rem 0.56rem;
  background: #e9efff;
  color: #284ea5;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.site-stats .site-stat-value {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  line-height: 1;
  margin-top: 0.72rem;
  display: block;
  letter-spacing: -0.03em;
  color: #0f2d7c;
  text-shadow: 0 4px 12px rgba(29, 78, 216, 0.18);
}

.site-stats .site-stat-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.76rem;
  color: #2e467f;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
}

.site-stats .site-stat-note {
  display: block;
  margin-top: 0.42rem;
  color: #536182;
  font-size: 0.79rem;
  line-height: 1.4;
}

.site-about-metrics .site-stat-value {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.7rem;
  color: var(--site-primary);
  line-height: 1;
}

.site-about-metrics .site-stat-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: var(--site-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-section {
  padding: 4.8rem 0;
}

.site-section-tight {
  padding: 3.4rem 0;
}

.site-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.site-heading h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.35rem);
  line-height: 1.15;
  margin-bottom: 0.8rem;
}

.site-heading p {
  color: var(--site-muted);
}

.site-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.site-card {
  border-radius: 18px;
  border: 1px solid var(--site-border);
  background: var(--site-surface);
  padding: 1.35rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.site-card:hover {
  transform: translateY(-2px);
}

.site-icon-chip {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.95rem;
  color: var(--site-primary-deep);
  background: linear-gradient(145deg, #e4ecff, #f3f6ff);
}

.site-card h3 {
  font-size: 1.04rem;
  margin-bottom: 0.45rem;
}

.site-card p,
.site-card li {
  color: var(--site-muted);
  font-size: 0.93rem;
}

.site-card ul {
  list-style: none;
  margin-top: 0.8rem;
  display: grid;
  gap: 0.3rem;
}

.site-card li::before {
  content: "•";
  color: var(--site-accent);
  margin-right: 0.35rem;
}

.site-split {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 1.2rem;
  align-items: stretch;
}

.site-process {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.site-process li {
  border-radius: 14px;
  border: 1px solid var(--site-border);
  background: #fff;
  padding: 0.86rem;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 0.7rem;
}

.site-process-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(29, 78, 216, 0.12);
  color: var(--site-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.site-process strong {
  display: block;
  margin-bottom: 0.2rem;
}

.site-highlight {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 24px;
  padding: 1.8rem;
  border: 1px solid #b8ccff;
  background: linear-gradient(165deg, #ebf2ff 0%, #ffffff 75%);
}

.site-highlight-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.site-highlight-intro {
  color: #4e5f84;
  font-size: 0.9rem;
  line-height: 1.55;
  margin-top: 0.15rem;
}

.site-highlight-list li {
  border-radius: 12px;
  border: 1px solid var(--site-border);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.7rem 0.8rem;
}

.site-page-head {
  padding: 3rem 0 1.3rem;
}

.site-page-head h1 {
  font-size: clamp(1.8rem, 3.1vw, 2.75rem);
  margin-top: 0.6rem;
  line-height: 1.15;
}

.site-page-head p {
  max-width: 760px;
  color: var(--site-muted);
}

.site-cta {
  padding: 3rem 0;
}

.site-cta-band {
  border-radius: 22px;
  border: 1px solid #b9cbf6;
  background: linear-gradient(120deg, #142d74 0%, #1d4ed8 60%, #6395ff 100%);
  color: #fff;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.site-cta-band h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  margin-bottom: 0.45rem;
}

.site-cta-band p {
  color: rgba(255, 255, 255, 0.86);
}

.site-cta-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-about-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.site-about-metrics .site-stat {
  padding: 0.85rem;
}

.site-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.site-contact-grid,
.site-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 1rem;
}

.site-info-block,
.site-form-card {
  border-radius: 18px;
  border: 1px solid var(--site-border);
  background: #fff;
  padding: 1.3rem;
}

.site-info-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin-top: 0.7rem;
}

.site-info-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.6rem;
  align-items: start;
}

.site-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ebf2ff;
  color: var(--site-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-form-card h2 {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}

.site-form-card p {
  color: var(--site-muted);
  margin-bottom: 1.1rem;
}

.site-form-note {
  margin-top: 1rem;
  padding: 0.8rem;
  border-radius: 12px;
  border: 1px solid #cdd8f5;
  background: #f5f8ff;
  color: var(--site-muted);
  font-size: 0.88rem;
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--site-border);
  background:
    radial-gradient(circle at 12% 0%, rgba(56, 98, 196, 0.12), transparent 32%),
    radial-gradient(circle at 92% 10%, rgba(245, 158, 11, 0.12), transparent 24%),
    #eff3ff;
  padding: 2.6rem 0 1rem;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  gap: 1.1rem;
}

.site-footer-col {
  border: 1px solid #d6e0f5;
  background: rgba(255, 255, 255, 0.84);
  border-radius: 16px;
  padding: 1rem 1.05rem;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.07);
}

.site-footer-brand-col {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94) 0%, rgba(243, 247, 255, 0.88) 100%);
}

.site-footer-copy,
.site-footer-line {
  color: var(--site-muted);
  font-size: 0.9rem;
}

.site-footer-line-icon {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.5rem;
  align-items: start;
  line-height: 1.45;
}

.site-footer-col .site-footer-line + .site-footer-line {
  margin-top: 0.55rem;
}

.site-footer-line-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  color: #2a58bd;
  margin-top: 0.15rem;
}

.site-footer-points {
  list-style: none;
  margin-top: 0.7rem;
  display: grid;
  gap: 0.4rem;
}

.site-footer-points li {
  font-size: 0.86rem;
  color: #41557f;
  position: relative;
  padding-left: 1rem;
}

.site-footer-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2f5cc9;
}

.site-footer-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: #1d3877;
}

.site-footer-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #e7efff;
  color: #244fae;
  flex-shrink: 0;
}

.site-footer-links {
  display: grid;
  gap: 0.3rem;
  margin-left: 0.4rem;
}

.site-footer-links a,
.site-footer-bottom a {
  color: var(--site-primary-deep);
  text-decoration: none;
}

.site-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  border-radius: 999px;
  padding: 0.16rem 0.55rem;
  margin-left: -0.55rem;
}

.site-footer-links a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #456dc8;
}

.site-footer-col .site-footer-line,
.site-footer-col .site-footer-copy,
.site-footer-col .site-footer-points {
  margin-left: 0.4rem;
}

.site-footer-links a:hover {
  background: #e8efff;
  text-decoration: none;
}

.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--site-border);
  color: var(--site-muted);
  font-size: 0.85rem;
}

.site-footer-legal {
  color: #5d6b8f;
}

.site-footer-credit {
  color: #4f5f86;
}

.site-footer-credit a {
  color: #2148a5;
  font-weight: 600;
}

.site-footer-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #cfdaf3;
  background: #ffffff;
  font-weight: 600;
  color: #1f3f8f !important;
  text-decoration: none;
}

.site-footer-login:hover {
  background: #edf3ff;
  text-decoration: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .site-hero-bg,
  .site-hero-copy-wrap,
  .site-hero-photo .site-hero-actions,
  .site-panel-hero,
  .site-hero-photo .site-kicker {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .site-hero-grid,
  .site-split,
  .site-contact-grid,
  .site-form-grid,
  .site-cta-band {
    grid-template-columns: 1fr;
  }

  .site-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .site-hero-photo {
    min-height: auto;
    padding: 5.3rem 0 3rem;
  }

  .site-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-nav-toggle {
    display: inline-flex;
  }

  .site-nav-links {
    display: none;
    width: 100%;
    border-top: 1px solid var(--site-border);
    padding: 0.8rem 0 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  .site-nav-links.is-open {
    display: flex;
  }

  .site-nav-links a {
    padding: 0.24rem 0.2rem;
  }

  .site-btn {
    text-align: center;
    justify-content: center;
  }

  .site-nav-inner {
    flex-wrap: wrap;
    padding: 0.6rem 0;
  }

  .site-brand {
    min-width: 250px;
  }

  .site-brand-main {
    font-size: 0.9rem;
  }

  .site-brand-sub {
    font-size: 0.8rem;
  }

  .site-brand-bar {
    height: 2px;
  }

  .site-cards,
  .site-values,
  .site-about-metrics {
    grid-template-columns: 1fr;
  }

  .site-wrap {
    width: min(1180px, calc(100% - 1.3rem));
  }

  .site-footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }
}

