:root{
  --navy:#081B3A;
  --blue:#0F5FB3;
  --blue-2:#1478D4;
  --sky:#4FB6E8;
  --ice:#EEF6FC;
  --ice-2:#DCEEFA;
  --white:#FFFFFF;
  --ink:#0B1F3A;
  --ink-soft:#4A5A72;
  --red:#D0233A;
  --line:rgba(11,31,58,0.10);
  --shadow: 0 20px 50px -25px rgba(8,27,58,0.35);
  --radius: 18px;
  --wrap: 1180px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Inter',sans-serif;
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,.font-display{
  font-family:'Fraunces',serif;
  font-weight:600;
  letter-spacing:-0.01em;
  margin:0;
}
.mono{
  font-family:'IBM Plex Mono',monospace;
  letter-spacing:0.02em;
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 28px;}
section{position:relative;}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-family:'IBM Plex Mono',monospace;
  font-size:12.5px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--blue-2);
  font-weight:600;
}
.eyebrow::before{
  content:'';
  width:7px;height:7px;border-radius:50%;
  background:var(--red);
  box-shadow:0 0 0 4px rgba(208,35,58,0.15);
}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:15px 28px;
  border-radius:100px;
  font-weight:600;
  font-size:15px;
  cursor:pointer;
  border:1.5px solid transparent;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space:nowrap;
}
.btn-primary{
  background:var(--red);
  color:var(--white);
  box-shadow:0 14px 30px -12px rgba(208,35,58,0.55);
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 18px 34px -10px rgba(208,35,58,0.6);}
.btn-ghost{
  background:rgba(255,255,255,0.08);
  border-color:rgba(255,255,255,0.35);
  color:var(--white);
}
.btn-ghost:hover{background:rgba(255,255,255,0.18);transform:translateY(-2px);}
.btn-outline{
  background:transparent;
  border-color:var(--line);
  color:var(--ink);
}
.btn-outline:hover{border-color:var(--blue);color:var(--blue);}

/* ---------- NAV ---------- */
header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  padding:18px 0;
  transition:background .3s ease, box-shadow .3s ease, padding .3s ease;
  background:var(--navy);
}
header.scrolled{
  background:rgba(255,255,255,0.85);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:0 1px 0 var(--line);
  padding:12px 0;
}
.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;}
.brand{display:flex;align-items:center;gap:12px;}
.brand-mark{width:42px;height:42px;flex-shrink:0;}
.brand-text{display:flex;flex-direction:column;line-height:1.05;}
.brand-text b{
  font-family:'Fraunces',serif;font-weight:700;font-size:17px;
  color:var(--white);transition:color .3s ease;
}
header.scrolled .brand-text b{color:var(--ink);}
.brand-text span{
  font-size:10.5px;letter-spacing:0.08em;text-transform:uppercase;
  color:rgba(255,255,255,0.75);font-weight:600;transition:color .3s ease;
}
header.scrolled .brand-text span{color:var(--ink-soft);}
nav.links{display:flex;align-items:center;gap:34px;}
nav.links a{
  font-size:14.5px;font-weight:600;color:rgba(255,255,255,0.88);
  position:relative;transition:color .3s ease;
}
header.scrolled nav.links a{color:var(--ink-soft);}
nav.links a:hover{color:var(--white);}
header.scrolled nav.links a:hover{color:var(--blue);}
.nav-cta{display:flex;align-items:center;gap:14px;}
.nav-phone{
  font-family:'IBM Plex Mono',monospace;font-size:13.5px;font-weight:600;
  color:rgba(255,255,255,0.9);transition:color .3s ease;
}
header.scrolled .nav-phone{color:var(--ink);}
.burger{display:none;width:26px;height:20px;position:relative;cursor:pointer;flex-direction:column;justify-content:space-between;}
.burger span{display:block;height:2px;width:100%;background:var(--white);transition:.3s;}
header.scrolled .burger span{background:var(--ink);}
.mobile-panel{
  display:none;
  position:fixed;inset:0;z-index:99;
  background:var(--navy);
  padding:110px 28px 40px;
  flex-direction:column;gap:26px;
}
.mobile-panel.open{display:flex;}
.mobile-panel a{color:var(--white);font-size:22px;font-family:'Fraunces',serif;font-weight:600;}
.mobile-panel .nav-phone{color:var(--sky);}

/* ---------- GENERIC SECTION ---------- */
.section{padding:110px 0;}
.section-tight{padding:90px 0;}
.section-head{max-width:640px;margin-bottom:56px;}
.section-head h2{font-size:clamp(30px,3.4vw,44px);margin-top:14px;line-height:1.12;}
.section-head p{font-size:16.5px;color:var(--ink-soft);line-height:1.65;margin-top:16px;}
.bg-ice{background:var(--ice);}
.bg-navy{background:var(--navy);color:var(--white);}
.bg-navy .section-head p{color:rgba(255,255,255,0.72);}
.bg-navy .eyebrow{color:var(--sky);}

/* Page Header Hero Sub-pages */
.page-hero{
  background:linear-gradient(180deg,#081B3A 0%, #0F5FB3 100%);
  color:var(--white);
  padding:140px 0 70px;
}
.page-hero h1{font-size:clamp(36px, 4vw, 52px);margin-top:10px;}

/* ---------- FOOTER ---------- */
footer{background:var(--navy);color:rgba(255,255,255,0.7);padding:60px 0 30px;}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px;padding-bottom:44px;border-bottom:1px solid rgba(255,255,255,0.12);}
.foot-brand .brand-text b{color:var(--white);}
.foot-brand p{font-size:14px;line-height:1.6;margin-top:16px;max-width:280px;color:rgba(255,255,255,0.6);}
footer h5{font-size:12.5px;letter-spacing:0.08em;text-transform:uppercase;color:var(--sky);margin-bottom:16px;}
footer ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:11px;}
footer ul a{font-size:14px;color:rgba(255,255,255,0.68);}
footer ul a:hover{color:var(--white);}
.foot-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:26px;font-size:12.5px;color:rgba(255,255,255,0.5);flex-wrap:wrap;gap:12px;}

@media (max-width:980px){
  nav.links{display:none;}
  .burger{display:flex;}
  .foot-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:560px){
  .foot-grid{grid-template-columns:1fr;}
  .nav-phone{display:none;}
}

/* ---------- SERVICES GRID & CARDS ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 4px 12px rgba(8,27,58,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ice);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-time {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue-2);
  background: var(--ice);
  padding: 6px 12px;
  border-radius: 100px;
  white-space: nowrap;
  display: inline-block;
  margin-top: 16px;
}
.service-card h3 {
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.2;
}
.service-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
