/* PLAIN PATH HR — Luxury Blue Design System */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Source+Sans+3:wght@300;400;500;600&display=swap');

:root {
  /* Core palette — deep sapphire luxury */
  --navy:      #06091A;
  --navy-lt:   #0D1F3C;
  --blue:      #1456D4;
  --blue-lt:   #2E7BFF;
  --blue-pale: rgba(20,86,212,.08);
  --blue-glow: rgba(46,123,255,.4);
  --silver:    #6E8CAD;
  --silver-lt: #A5BFDA;
  --cream:     #EBF0FF;
  --warm-white:#F4F7FF;
  --stone:     #6E8CAD;
  --charcoal:  #1A2B40;

  /* Alias mapping — keeps existing HTML class names working */
  --teal:      #1456D4;
  --teal-lt:   #2E7BFF;
  --teal-pale: rgba(20,86,212,.08);
  --ochre:     #1456D4;
  --ochre-lt:  #2E7BFF;
  --sage:      #1A4A8A;
  --sage-deep: #0E2E60;
  --terra:     #0A44A0;
  --copper:    #0A44A0;
  --copper-lt: #1456D4;
  --gold:      #2E7BFF;

  --bg:        #F9FBFF;
  --bg2:       #F0F5FF;
  --bg3:       #E5EDFF;
  --card:      #F0F5FF;
  --card2:     #E5EDFF;
  --white:     #F9FBFF;

  --text:      #1A2B40;
  --text-mid:  #5A7090;
  --text-lt:   #8AA0BB;

  --border:    rgba(20,86,212,.1);
  --border2:   rgba(20,86,212,.2);
  --shadow:    0 2px 16px rgba(6,9,26,.08);
  --shadow-lg: 0 8px 32px rgba(6,9,26,.15);
  --radius:    6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Source Sans 3', sans-serif; background: var(--bg); color: var(--text); line-height: 1.65; overflow-x: hidden; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes shimmerOnce {
  from { transform: translateX(-200%) skewX(-20deg); }
  to   { transform: translateX(350%) skewX(-20deg); }
}
@keyframes gradientFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes diagonalDrift {
  from { background-position: 0 0; }
  to   { background-position: 60px 60px; }
}
@keyframes heroSweep {
  0%   { transform: translateX(-120%) skewX(-12deg); opacity: 0; }
  6%   { opacity: 1; }
  94%  { opacity: 1; }
  100% { transform: translateX(130vw) skewX(-12deg); opacity: 0; }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 12px 40px rgba(20,86,212,.2); }
  50%       { box-shadow: 0 12px 50px rgba(46,123,255,.5), 0 0 80px rgba(46,123,255,.1); }
}
@keyframes lineExtend {
  from { transform: scaleX(0); transform-origin: left; }
  to   { transform: scaleX(1); transform-origin: left; }
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: 72px;
  background: var(--navy);
  border-bottom: 1px solid rgba(46,123,255,.15);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.3); }

.logo {
  display: flex; align-items: center; text-decoration: none; cursor: pointer;
  border-left: 2px solid var(--blue-lt); padding-left: .75rem;
}
.logo-icon { display: none; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: 'DM Serif Display', serif; font-size: 1.2rem; font-weight: 400; color: var(--cream); line-height: 1.1; }
.logo-tag  { font-size: .6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-lt); }

.nav-menu { display: flex; list-style: none; gap: .1rem; align-items: center; }
.nav-menu a {
  display: block; padding: .4rem .72rem;
  font-size: .78rem; font-weight: 500;
  color: var(--stone); text-decoration: none;
  border-radius: 4px; cursor: pointer;
  text-transform: uppercase; letter-spacing: .06em;
  transition: color .15s, background .15s;
  position: relative;
}
.nav-menu a::after {
  content: ''; position: absolute; bottom: 0; left: .72rem; right: .72rem;
  height: 1.5px; background: var(--blue-lt);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-menu a:hover           { color: var(--blue-lt); background: rgba(255,255,255,.04); }
.nav-menu a:hover::after    { transform: scaleX(1); }
.nav-menu a.active          { color: var(--blue-lt); }
.nav-menu a.active::after   { transform: scaleX(1); }
.nav-menu .cta a {
  background: var(--blue); color: #fff !important;
  border-radius: 4px; padding: .4rem .9rem !important; font-weight: 600 !important;
  transition: background .2s, box-shadow .2s !important;
}
.nav-menu .cta a::after { display: none; }
.nav-menu .cta a:hover  { background: var(--blue-lt) !important; box-shadow: 0 2px 14px var(--blue-glow) !important; }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--stone); border-radius: 2px; }

/* ─── Layout ─── */
main { padding-top: 72px; min-height: 100vh; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }
.sec  { padding: 4.5rem 2rem; }

/* ─── Typography ─── */
.eyebrow {
  display: inline-block; font-size: .7rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-lt); margin-bottom: .6rem;
}
h2.big {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400; color: var(--navy); line-height: 1.2; margin-bottom: .8rem;
}
.sub { font-size: 1rem; color: var(--text-mid); max-width: 580px; line-height: 1.75; margin-bottom: 2rem; font-weight: 300; }

/* ─── Buttons ─── */
.btn {
  display: inline-block; padding: .75rem 1.6rem; border-radius: 4px;
  font-size: .9rem; font-weight: 600; font-family: 'Source Sans 3', sans-serif;
  cursor: pointer; text-decoration: none; border: none;
  transition: all .18s; letter-spacing: .03em;
  position: relative; overflow: hidden;
}
.btn-teal { background: var(--blue); color: #fff; }
.btn-teal::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 45%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: translateX(-200%) skewX(-20deg); pointer-events: none;
}
.btn-teal:hover            { background: var(--blue-lt); transform: translateY(-2px); box-shadow: 0 6px 24px var(--blue-glow); }
.btn-teal:hover::after     { animation: shimmerOnce .55s ease forwards; }
.btn-copper                { background: var(--terra); color: #fff; }
.btn-copper:hover          { background: var(--copper-lt); transform: translateY(-1px); }
.btn-outline               { background: transparent; color: var(--cream); border: 1.5px solid rgba(165,191,218,.4); }
.btn-outline:hover         { border-color: var(--blue-lt); color: var(--blue-lt); }
.btn-ghost                 { background: transparent; color: var(--blue-lt); border: 1px solid var(--blue); }
.btn-ghost:hover           { background: var(--blue-pale); }

/* ─── Page Hero (dark) ─── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-lt) 60%, var(--sage-deep) 100%);
  padding: 5rem 2rem 4rem; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: -20%; pointer-events: none;
  opacity: .06;
  background-image: repeating-linear-gradient(
    55deg, transparent, transparent 40px, #2E7BFF 40px, #2E7BFF 41px
  );
  animation: diagonalDrift 10s linear infinite;
}
.page-hero .eyebrow { color: var(--blue-lt); position: relative; }
.page-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 400;
  color: var(--cream); margin-bottom: .6rem; position: relative; line-height: 1.15;
}
.page-hero p { font-size: 1rem; color: var(--silver); font-weight: 300; max-width: 540px; margin: .5rem auto 0; position: relative; line-height: 1.7; }

/* ─── Cards ─── */
.card {
  background: var(--bg2); border: 1px solid rgba(20,86,212,.1);
  border-radius: var(--radius); padding: 1.75rem;
  transition: box-shadow .25s, transform .25s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--blue), var(--blue-lt));
  transition: width .35s ease;
  border-radius: var(--radius) var(--radius) 0 0;
}
.card:hover           { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card:hover::before   { width: 100%; }
.card-icon {
  width: 44px; height: 44px; border-radius: 6px;
  background: var(--navy); display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem; margin-bottom: 1rem;
}
.card h3 { font-family: 'DM Serif Display', serif; font-size: 1.15rem; font-weight: 400; color: var(--navy); margin-bottom: .35rem; }
.card p  { font-size: .85rem; color: var(--text-mid); line-height: 1.6; font-weight: 300; }

/* ─── Checklist ─── */
.chk { list-style: none; display: flex; flex-direction: column; gap: .4rem; margin-top: .8rem; }
.chk li { font-size: .83rem; color: var(--text-mid); display: flex; align-items: flex-start; gap: .5rem; }
.chk li::before { content: '◆'; color: var(--blue-lt); flex-shrink: 0; font-size: .48rem; margin-top: .3rem; }

/* ─── Forms ─── */
.form-section {
  background: var(--bg2); border: 1px solid rgba(20,86,212,.1);
  border-radius: 8px; padding: 2rem;
}
.form-section > h3 {
  font-family: 'DM Serif Display', serif; font-size: 1.4rem;
  color: var(--navy); margin-bottom: 1.25rem; font-weight: 400;
}
.fg { margin-bottom: 1rem; }
.fg label {
  display: block; font-size: .7rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--charcoal); margin-bottom: .35rem;
}
.fg input, .fg select, .fg textarea {
  width: 100%; background: var(--bg); border: 1px solid rgba(20,86,212,.15);
  border-radius: 4px; padding: .65rem .9rem;
  font-size: .9rem; color: var(--text); font-family: 'Source Sans 3', sans-serif;
  outline: none; transition: border-color .18s, box-shadow .18s; font-weight: 300;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--blue-lt); box-shadow: 0 0 0 3px rgba(46,123,255,.15);
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--stone); }
.fg textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.fg input[type="file"] { padding: .5rem .8rem; color: var(--text-mid); cursor: pointer; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.btn-submit {
  width: 100%; background: var(--blue); color: #fff;
  border: none; border-radius: 4px; padding: .85rem;
  font-size: .95rem; font-weight: 600; font-family: 'Source Sans 3', sans-serif;
  cursor: pointer; transition: background .18s, transform .18s, box-shadow .18s;
  letter-spacing: .03em; position: relative; overflow: hidden;
}
.btn-submit:hover    { background: var(--blue-lt); transform: translateY(-1px); box-shadow: 0 4px 20px var(--blue-glow); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ─── Confirm box ─── */
.confirm-box {
  display: none; background: rgba(20,86,212,.06);
  border: 1.5px solid var(--blue); border-radius: 8px;
  padding: 2.5rem; text-align: center; margin-bottom: 2rem;
}
.confirm-box .icon { font-size: 2.2rem; margin-bottom: .8rem; }
.confirm-box h3    { font-family: 'DM Serif Display', serif; font-size: 1.5rem; color: var(--navy); margin-bottom: .6rem; font-weight: 400; }
.confirm-box p     { font-size: .9rem; color: var(--text-mid); line-height: 1.65; }

/* ─── Diagnostic pills ─── */
.f-box { background: var(--bg2); border: 1px solid rgba(20,86,212,.1); border-radius: 6px; padding: 1.3rem; margin-bottom: .85rem; }
.f-q   { font-size: .9rem; font-weight: 500; color: var(--text); margin-bottom: .8rem; line-height: 1.5; }
.f-opts { display: flex; gap: .5rem; flex-wrap: wrap; }
.f-opt {
  padding: .35rem .85rem; border: 1.5px solid rgba(20,86,212,.15);
  border-radius: 99px; cursor: pointer; font-size: .82rem;
  color: var(--text-mid); transition: all .13s; user-select: none;
}
.f-opt:hover { border-color: var(--blue-lt); color: var(--blue-lt); }
.f-opt.on    { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ─── CTA Strip ─── */
.cta-strip {
  background: var(--bg2); border: 1px solid rgba(20,86,212,.1);
  border-radius: 8px; padding: 2.5rem 2rem; text-align: center;
  margin: 0 auto; max-width: 820px;
}
.cta-strip h3 { font-family: 'DM Serif Display', serif; font-size: 1.65rem; color: var(--navy); margin-bottom: .5rem; font-weight: 400; }
.cta-strip p  { color: var(--text-mid); font-size: .9rem; margin-bottom: 1.3rem; font-weight: 300; }
.cta-strip .btn-outline       { color: var(--charcoal); border-color: rgba(20,86,212,.25); }
.cta-strip .btn-outline:hover { border-color: var(--blue-lt); color: var(--blue-lt); }

/* ─── Pattern strip ─── */
.pattern-strip {
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-lt) 50%, var(--blue) 100%);
  background-size: 200% 100%;
  animation: gradientFlow 2.5s ease infinite;
}

/* ─── Footer ─── */
footer { background: var(--navy); padding: 3rem 2rem 2rem; border-top: 3px solid var(--blue); }
.footer-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand .fn { font-family: 'DM Serif Display', serif; font-size: 1.3rem; font-weight: 400; color: var(--cream); margin-bottom: .25rem; }
.footer-brand .ft { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-lt); margin-bottom: .8rem; }
.footer-brand p   { font-size: .82rem; color: var(--stone); line-height: 1.6; }
.footer-col h4    { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-lt); margin-bottom: .85rem; }
.footer-col a     { display: block; font-size: .82rem; color: var(--stone); text-decoration: none; margin-bottom: .4rem; transition: color .15s; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  max-width: 1080px; margin: 1.8rem auto 0; padding-top: 1.3rem;
  border-top: 1px solid rgba(46,123,255,.15);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem;
}
.footer-bottom p { font-size: .72rem; color: var(--stone); }

/* ─── PREMIUM LAYER: Glow, Glass & Ambient ─── */

/* Brighter animated pattern strip */
.pattern-strip {
  height: 4px;
  box-shadow: 0 0 14px rgba(46,123,255,.65), 0 0 32px rgba(46,123,255,.25);
}

/* Glass morphism cards */
.card {
  background: rgba(240,245,255,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(46,123,255,.1);
  box-shadow: 0 1px 3px rgba(6,9,26,.04), inset 0 1px 0 rgba(255,255,255,.6);
}
.card:hover {
  box-shadow: 0 12px 36px rgba(20,86,212,.14), inset 0 1px 0 rgba(255,255,255,.6);
}

/* Eyebrow glow */
.eyebrow, .section-eyebrow {
  text-shadow: 0 0 18px rgba(46,123,255,.55);
}

/* Stronger button glow on hover */
.btn-teal:hover {
  box-shadow: 0 6px 32px rgba(46,123,255,.55), 0 0 0 1px rgba(46,123,255,.25);
}
.btn-submit:hover {
  box-shadow: 0 6px 28px rgba(46,123,255,.5);
}

/* Nav logo accent glow */
.logo {
  transition: filter .25s;
}
.logo:hover {
  filter: drop-shadow(0 0 10px rgba(46,123,255,.4));
}

/* Ambient radial glow — "who we serve" section */
.who-section { overflow: hidden; }
.who-inner { position: relative; }
.who-inner::before {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 120%; height: 120%;
  background: radial-gradient(ellipse at center, rgba(46,123,255,.07) 0%, transparent 65%);
  border-radius: 50%; pointer-events: none; z-index: 0;
}
.who-grid { position: relative; z-index: 1; }

/* Ambient glow — mission section */
.mission-section { position: relative; overflow: hidden; }
.mission-section::after {
  content: '';
  position: absolute; bottom: -10%; right: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(46,123,255,.06) 0%, transparent 65%);
  border-radius: 50%; pointer-events: none;
}

/* Footer top glow */
footer {
  box-shadow: 0 -6px 40px rgba(46,123,255,.18);
}

/* Confirm box glow */
.confirm-box {
  box-shadow: 0 0 30px rgba(20,86,212,.15);
}

/* f-opt.on glow */
.f-opt.on {
  box-shadow: 0 0 12px rgba(46,123,255,.4);
}

/* ─── Misc helpers ─── */
.fade-up { animation: fadeUp .6s ease both; }

/* ─── Responsive ─── */
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) {
  nav { padding: 0 1.2rem; }
  .nav-menu {
    display: none; flex-direction: column; position: fixed;
    top: 75px; left: 0; right: 0;
    background: var(--navy); padding: 1rem;
    border-bottom: 1px solid rgba(46,123,255,.15);
    box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 998;
  }
  .nav-menu.open { display: flex; }
  .burger { display: flex; }
  .f-row  { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
