/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Variables ── */
:root {
  --navy:    #0F172A;
  --navy2:   #1E293B;
  --blue:    #2563EB;
  --blue-d:  #1D4ED8;
  --blue-bg: #EFF6FF;
  --slate:   #475569;
  --muted:   #94A3B8;
  --light:   #F1F5F9;
  --border:  #E2E8F0;
  --white:   #FFFFFF;
  --font-d: 'Playfair Display', Georgia, serif;
  --font-s: 'DM Sans', system-ui, sans-serif;
}

/* ── Base ── */
body {
  background: var(--white);
  color: var(--slate);
  font-family: var(--font-s);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { line-height: 1.75; margin-bottom: .75rem; }
h2 {
  font-family: var(--font-d);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1rem;
}
h3 {
  font-family: var(--font-d);
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: .6rem;
}

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 1rem 0; gap: 1rem; flex-wrap: wrap;
}
.logo { height: 36px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.site-nav a {
  font-size: .84rem;
  color: var(--slate);
  transition: color .2s;
  white-space: nowrap;
  font-weight: 500;
}
.site-nav a:hover,
.site-nav a.active { color: var(--blue); }
.site-nav .nav-cta {
  border: 1.5px solid var(--blue);
  color: var(--blue);
  background: transparent;
  padding: .4rem 1.1rem;
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 600;
  transition: all .2s;
}
.site-nav .nav-cta:hover { background: var(--blue); color: var(--white); }

/* ── Page Hero ── */
.page-hero {
  padding: 5rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(150deg, #F0F6FF 0%, #FFFFFF 55%, #F8FAFC 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(37,99,235,.07) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #60A5FA, var(--blue));
}
.hero-home { padding: 7rem 0 5rem; }

.lbl {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--blue);
  margin-bottom: 1rem;
  display: block;
}
.page-hero h1 {
  font-family: var(--font-d);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.page-hero h1 em { font-style: italic; color: var(--blue); }
.page-hero .sub {
  font-size: 1.05rem;
  color: var(--slate);
  max-width: 580px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.25rem; }

/* ── Sections ── */
.section { padding: 4.5rem 0; }
.section-alt {
  background: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── Stats band ── */
.stats-band {
  background: var(--navy);
  padding: 3rem 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }
.stat-val {
  font-family: var(--font-d);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-desc { font-size: .82rem; color: rgba(255,255,255,.5); line-height: 1.5; }

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card:hover {
  border-color: rgba(37,99,235,.25);
  box-shadow: 0 8px 28px rgba(37,99,235,.09);
  transform: translateY(-2px);
}
.card p { color: var(--slate); }
.card-teal {
  background: var(--blue-bg);
  border: 1.5px solid rgba(37,99,235,.18);
  border-radius: 14px; padding: 2rem;
  transition: border-color .2s, box-shadow .2s;
}
.card-teal:hover {
  border-color: rgba(37,99,235,.4);
  box-shadow: 0 6px 24px rgba(37,99,235,.1);
}
.card-numbered { position: relative; padding-top: 2.5rem; }
.card-num {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-family: var(--font-d); font-size: 2.5rem; font-weight: 700;
  color: rgba(37,99,235,.1); line-height: 1;
}
.card-icon { font-size: 1.5rem; margin-bottom: .75rem; }

/* ── Grids ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ── Tags / meta ── */
.tag {
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--blue); background: var(--blue-bg);
  padding: .2rem .65rem; border-radius: 2rem;
}
.meta { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; }
.date { font-size: .8rem; color: var(--muted); }
.read { font-size: .85rem; font-weight: 600; color: var(--blue); }

/* ── Buttons ── */
.btn {
  display: inline-block; padding: .78rem 1.9rem;
  border-radius: 6px; font-size: .9rem; font-weight: 600;
  font-family: var(--font-s);
  background: var(--blue); color: var(--white);
  border: 1.5px solid var(--blue);
  transition: all .2s; cursor: pointer;
  box-shadow: 0 2px 8px rgba(37,99,235,.25);
}
.btn:hover {
  background: var(--blue-d);
  border-color: var(--blue-d);
  box-shadow: 0 4px 16px rgba(37,99,235,.35);
}
.btn-ghost {
  background: transparent;
  color: var(--blue);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--blue-bg); box-shadow: none; }

/* ── CTA Band ── */
.cta-band {
  background: var(--navy);
  padding: 5rem 0;
  text-align: center;
}
.cta-band h2 { margin-bottom: .75rem; color: var(--white); }
.cta-band p {
  font-size: .97rem;
  color: rgba(255,255,255,.6);
  max-width: 500px;
  margin: 0 auto 1.75rem;
  line-height: 1.7;
}
.cta-band .btn {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.cta-band .btn:hover {
  background: var(--blue-bg);
  border-color: var(--blue-bg);
  color: var(--blue);
}

/* ── Footer ── */
.site-footer { background: var(--navy2); padding-top: 3.5rem; }
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 2fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-logo {
  height: 32px;
  margin-bottom: .75rem;
  filter: brightness(0) invert(1);
  opacity: .85;
}
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.38); line-height: 1.7; }
.footer-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
@media (max-width: 500px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
.footer-col h4 {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255,255,255,.65); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { font-size: .85rem; color: rgba(255,255,255,.38); transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding: 1.25rem 0;
  font-size: .8rem;
  color: rgba(255,255,255,.22);
  text-align: center;
}

/* ── Services page ── */
@media (max-width: 800px) {
  .services-card-grid { grid-template-columns: 1fr !important; }
}

/* ── Contact page ── */
@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr !important; }
}

/* ── Hero two-column layout ── */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

.hero-visual {
  position: relative;
  height: 320px;
}
.hv-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 1.5px solid rgba(37,99,235,.12);
  box-shadow: 0 0 0 40px rgba(37,99,235,.03), 0 0 0 80px rgba(37,99,235,.02);
}
.hv-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .85rem 1.2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 140px;
}
.hv-card span { font-size: .72rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.hv-card strong { font-size: 1.35rem; font-family: var(--font-d); color: var(--navy); }
.hv-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-bottom: .1rem;
}
.hv-dot-green  { background: #22C55E; box-shadow: 0 0 6px rgba(34,197,94,.5); }
.hv-dot-blue   { background: var(--blue); box-shadow: 0 0 6px rgba(37,99,235,.5); }
.hv-dot-amber  { background: #F59E0B; box-shadow: 0 0 6px rgba(245,158,11,.5); }

.hv-card-1 { top: 20px; left: 10px; }
.hv-card-2 { top: 50%; right: 0; transform: translateY(-50%); }
.hv-card-3 { bottom: 20px; left: 30px; }
