/* ═══════════════════════════════════════════
   CH & Associates — Shared Design System
   Blue (#1a3f6f) + Orange (#e8640c) Corporate
   Font: Libre Baskerville + DM Sans
═══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --blue:        #1a3f6f;
  --blue-dark:   #122d52;
  --blue-mid:    #1e4d87;
  --blue-light:  #2563a8;
  --blue-pale:   #e8f0f9;
  --orange:      #e8640c;
  --orange-dark: #c8540a;
  --orange-light:#f07830;
  --orange-pale: #fff3ec;
  --white:       #ffffff;
  --off-white:   #f8f7f4;
  --cream:       #f2ede6;
  --text:        #1a1a1a;
  --text-2:      #3d3d3d;
  --muted:       #6b6b6b;
  --border:      #d8d0c4;
  --border-light:#ede8e0;
  --shadow-sm:   0 2px 8px rgba(26,63,111,0.08);
  --shadow-md:   0 6px 24px rgba(26,63,111,0.12);
  --shadow-lg:   0 16px 48px rgba(26,63,111,0.15);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family:'DM Sans', sans-serif;
  background:var(--white);
  color:var(--text);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
.serif { font-family:'Libre Baskerville', serif; }
img { max-width:100%; }
a { color:inherit; }
.container { max-width:1160px; margin:0 auto; padding:0 48px; }

/* ── TOPBAR ── */
.topbar {
  background:var(--blue-dark);
  border-bottom:2px solid var(--orange);
  padding:9px 0;
}
.topbar-inner {
  max-width:1160px; margin:0 auto; padding:0 48px;
  display:flex; justify-content:space-between; align-items:center;
}
.topbar-left { font-size:12px; color:rgba(255,255,255,0.5); letter-spacing:0.3px; }
.topbar-right { display:flex; gap:24px; align-items:center; }
.topbar-right a { font-size:12px; color:rgba(255,255,255,0.6); text-decoration:none; display:flex; align-items:center; gap:5px; transition:color 0.2s; }
.topbar-right a:hover { color:var(--orange-light); }

/* ── NAVBAR ── */
.navbar {
  position:sticky; top:0; z-index:300;
  background:var(--white);
  border-bottom:1px solid var(--border-light);
  box-shadow:var(--shadow-sm);
}
.navbar-inner {
  max-width:1160px; margin:0 auto; padding:0 48px;
  display:flex; align-items:center; justify-content:space-between;
  height:74px;
}
.nav-logo { display:flex; align-items:center; gap:16px; text-decoration:none; }
.nav-emblem {
  width:50px; height:50px;
  background:var(--blue);
  border-radius:4px;
  display:flex; align-items:center; justify-content:center;
  position:relative; overflow:hidden;
}
.nav-emblem::after {
  content:'';
  position:absolute; bottom:0; right:0;
  width:16px; height:16px;
  background:var(--orange);
  clip-path:polygon(100% 0,100% 100%,0 100%);
}
.nav-emblem span {
  font-family:'Libre Baskerville',serif;
  font-size:17px; font-weight:700;
  color:var(--white); letter-spacing:0.5px;
  position:relative; z-index:1;
}
.nav-brand { border-left:2px solid var(--border-light); padding-left:16px; }
.nav-brand strong { display:block; font-family:'Libre Baskerville',serif; font-size:17px; font-weight:700; color:var(--blue); line-height:1.2; }
.nav-brand small { font-size:11px; color:var(--muted); letter-spacing:1.5px; text-transform:uppercase; }

.nav-links { display:flex; align-items:center; gap:2px; }
.nav-links a {
  font-size:13.5px; font-weight:500; color:var(--text-2);
  text-decoration:none; padding:8px 16px;
  border-radius:4px;
  border-bottom:2px solid transparent;
  transition:all 0.18s;
  white-space:nowrap;
}
.nav-links a:hover { color:var(--blue); }
.nav-links a.active { color:var(--blue); border-bottom-color:var(--orange); font-weight:600; }
.nav-links .nav-btn {
  background:var(--orange); color:var(--white) !important;
  padding:9px 22px; border-radius:4px; font-weight:600;
  margin-left:10px; border-bottom:none !important;
  transition:background 0.2s, transform 0.15s, box-shadow 0.2s !important;
  box-shadow:0 4px 12px rgba(232,100,12,0.3);
}
.nav-links .nav-btn:hover { background:var(--orange-dark) !important; transform:translateY(-1px); box-shadow:0 6px 18px rgba(232,100,12,0.4) !important; }

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  background:var(--blue);
  padding:72px 0 64px;
  position:relative; overflow:hidden;
}
.page-header::before {
  content:'';
  position:absolute; top:0; right:0; bottom:0; left:60%;
  background:linear-gradient(135deg, rgba(232,100,12,0.12) 0%, transparent 60%);
}
.page-header::after {
  content:'';
  position:absolute; bottom:0; left:0; right:0;
  height:3px;
  background:linear-gradient(90deg, var(--orange) 0%, var(--orange-light) 50%, var(--orange) 100%);
}
.page-header-inner { position:relative; z-index:1; }
.breadcrumb { display:flex; align-items:center; gap:8px; margin-bottom:16px; }
.breadcrumb a { font-size:13px; color:rgba(255,255,255,0.5); text-decoration:none; transition:color 0.2s; }
.breadcrumb a:hover { color:var(--orange-light); }
.breadcrumb span { font-size:13px; color:rgba(255,255,255,0.3); }
.breadcrumb .current { font-size:13px; color:rgba(255,255,255,0.6); }
.page-header h1 {
  font-family:'Libre Baskerville',serif;
  font-size:clamp(32px,4vw,48px); font-weight:700;
  color:var(--white); line-height:1.2; margin-bottom:14px;
}
.page-header p { font-size:17px; color:rgba(255,255,255,0.6); font-weight:300; max-width:560px; line-height:1.8; }

/* ── SECTION HELPERS ── */
.section { padding:88px 0; }
.bg-white { background:var(--white); }
.bg-off { background:var(--off-white); }
.bg-cream { background:var(--cream); }
.bg-blue { background:var(--blue); }

.kicker {
  display:block; font-size:11px; font-weight:700;
  letter-spacing:2.5px; text-transform:uppercase;
  color:var(--orange); margin-bottom:12px;
}
.kicker-line {
  display:flex; align-items:center; gap:10px;
  font-size:11px; font-weight:700; letter-spacing:2px;
  text-transform:uppercase; color:var(--orange); margin-bottom:14px;
}
.kicker-line::before { content:''; width:28px; height:2px; background:var(--orange); flex-shrink:0; }

.sec-title {
  font-family:'Libre Baskerville',serif;
  font-size:clamp(28px,3.2vw,40px); font-weight:700;
  color:var(--blue); line-height:1.25; letter-spacing:-0.3px;
}
.sec-title.white { color:var(--white); }
.sec-sub { font-size:16px; color:var(--muted); margin-top:14px; line-height:1.85; font-weight:300; }

/* ── BUTTONS ── */
.btn {
  display:inline-block; text-decoration:none;
  padding:13px 30px; border-radius:4px;
  font-size:14px; font-weight:600; letter-spacing:0.3px;
  transition:all 0.2s; border:2px solid transparent;
}
.btn-orange { background:var(--orange); color:var(--white); border-color:var(--orange); box-shadow:0 4px 14px rgba(232,100,12,0.3); }
.btn-orange:hover { background:var(--orange-dark); border-color:var(--orange-dark); transform:translateY(-1px); box-shadow:0 6px 20px rgba(232,100,12,0.4); }
.btn-blue { background:var(--blue); color:var(--white); border-color:var(--blue); }
.btn-blue:hover { background:var(--blue-dark); border-color:var(--blue-dark); transform:translateY(-1px); }
.btn-outline { background:transparent; color:var(--blue); border-color:var(--blue); }
.btn-outline:hover { background:var(--blue); color:var(--white); }
.btn-outline-w { background:transparent; color:var(--white); border-color:rgba(255,255,255,0.4); }
.btn-outline-w:hover { border-color:var(--white); background:rgba(255,255,255,0.08); }

/* ── CARDS ── */
.card {
  background:var(--white); border:1px solid var(--border-light);
  border-radius:6px; padding:32px;
  box-shadow:var(--shadow-sm);
  transition:box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.card:hover { box-shadow:var(--shadow-md); transform:translateY(-3px); border-color:var(--border); }
.card-orange-top { border-top:3px solid var(--orange); }
.card-blue-top { border-top:3px solid var(--blue); }

/* ── SERVICE PILLS ── */
.pill-row { display:flex; flex-wrap:wrap; gap:7px; margin-top:16px; }
.pill { font-size:11.5px; padding:4px 12px; border-radius:3px; font-weight:500; }
.pill-orange { background:var(--orange-pale); color:var(--orange-dark); border:1px solid rgba(232,100,12,0.2); }
.pill-blue { background:var(--blue-pale); color:var(--blue); border:1px solid rgba(26,63,111,0.2); }
.pill-grey { background:var(--off-white); color:var(--muted); border:1px solid var(--border-light); }

/* ── DIVIDERS ── */
.orange-rule { height:3px; background:linear-gradient(90deg, var(--orange) 0%, var(--orange-light) 50%, transparent 100%); }
.hr { height:1px; background:var(--border-light); }

/* ── FOOTER ── */
footer {
  background:var(--blue-dark);
  border-top:3px solid var(--orange);
  padding:64px 0 28px;
}
.footer-grid {
  display:grid; grid-template-columns:2.2fr 1fr 1fr 1.5fr; gap:56px;
  margin-bottom:48px;
}
.footer-logo { display:flex; align-items:center; gap:14px; margin-bottom:18px; }
.footer-emblem {
  width:44px; height:44px; background:var(--orange); border-radius:4px;
  display:flex; align-items:center; justify-content:center;
  font-family:'Libre Baskerville',serif; font-size:16px; font-weight:700; color:var(--white);
}
.footer-logo strong { font-family:'Libre Baskerville',serif; font-size:17px; color:var(--white); }
.footer-logo small { font-size:11px; color:rgba(255,255,255,0.4); letter-spacing:1px; text-transform:uppercase; display:block; }
.footer-desc { font-size:13.5px; color:rgba(255,255,255,0.35); line-height:1.85; max-width:270px; }
.footer-col h5 { font-size:11px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--orange-light); margin-bottom:18px; }
.footer-col a { display:block; font-size:13.5px; color:rgba(255,255,255,0.45); text-decoration:none; margin-bottom:10px; transition:color 0.18s; }
.footer-col a:hover { color:rgba(255,255,255,0.9); }
.footer-col p { font-size:13px; color:rgba(255,255,255,0.3); line-height:1.75; }
.footer-col address { font-style:normal; font-size:13.5px; color:rgba(255,255,255,0.45); line-height:1.8; }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,0.07);
  padding-top:24px; display:flex; justify-content:space-between; align-items:center;
}
.footer-bottom p { font-size:12.5px; color:rgba(255,255,255,0.2); }
.footer-icai { font-size:12px; padding:5px 14px; background:rgba(232,100,12,0.15); border:1px solid rgba(232,100,12,0.3); border-radius:3px; color:var(--orange-light); font-weight:600; }

/* ── CONTACT INFO ROWS ── */
.cinfo-row { display:flex; gap:14px; align-items:flex-start; margin-bottom:22px; }
.cinfo-icon { width:40px; height:40px; flex-shrink:0; background:var(--blue-pale); border-radius:5px; display:flex; align-items:center; justify-content:center; font-size:17px; }
.cinfo-row h5 { font-size:10.5px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--muted); margin-bottom:3px; }
.cinfo-row p { font-size:14px; color:var(--text-2); line-height:1.5; }

/* ── FORM ── */
.form-wrap { background:var(--white); border:1px solid var(--border-light); border-radius:6px; padding:40px; box-shadow:var(--shadow-md); }
.form-wrap h3 { font-family:'Libre Baskerville',serif; font-size:22px; color:var(--blue); margin-bottom:28px; font-weight:700; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.fg { margin-bottom:18px; }
.fg label { display:block; font-size:12px; font-weight:700; color:var(--text-2); margin-bottom:7px; letter-spacing:0.3px; text-transform:uppercase; }
.fg input, .fg select, .fg textarea {
  width:100%; padding:11px 14px;
  border:1.5px solid var(--border);
  border-radius:4px; font-size:14px;
  font-family:'DM Sans',sans-serif;
  color:var(--text); background:var(--white); outline:none;
  transition:border-color 0.2s, box-shadow 0.2s;
  appearance:none;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(26,63,111,0.1); }
.fg textarea { resize:vertical; min-height:110px; }
.form-submit { width:100%; background:var(--orange); color:var(--white); border:none; padding:14px; border-radius:4px; font-size:15px; font-weight:700; font-family:'DM Sans',sans-serif; cursor:pointer; letter-spacing:0.3px; transition:background 0.2s, transform 0.15s; box-shadow:0 4px 14px rgba(232,100,12,0.3); }
.form-submit:hover { background:var(--orange-dark); transform:translateY(-1px); }

/* ── STAT NUMBERS ── */
.stat-box { text-align:center; }
.stat-n { font-family:'Libre Baskerville',serif; font-size:42px; font-weight:700; color:var(--orange); display:block; line-height:1; margin-bottom:6px; }
.stat-l { font-size:13px; color:var(--muted); font-weight:400; }

/* ── QUAL TAG ── */
.qual { display:inline-block; font-size:12px; padding:4px 12px; background:var(--orange-pale); border:1px solid rgba(232,100,12,0.25); border-radius:3px; color:var(--orange-dark); font-weight:600; margin:3px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from{opacity:0;transform:translateY(24px);}to{opacity:1;transform:translateY(0);} }
.fade-up { animation:fadeUp 0.7s ease forwards; }
.fade-up-2 { animation:fadeUp 0.7s 0.15s ease both; }
.fade-up-3 { animation:fadeUp 0.7s 0.3s ease both; }

/* ── RESPONSIVE ── */
@media(max-width:1024px){ .container{padding:0 32px;} .footer-grid{grid-template-columns:1fr 1fr;gap:36px;} }
@media(max-width:768px){
  .container{padding:0 20px;}
  .topbar{display:none;}
  .nav-links{display:none;}
  .section{padding:64px 0;}
  .footer-grid{grid-template-columns:1fr;gap:28px;}
  .footer-bottom{flex-direction:column;gap:10px;text-align:center;}
  .form-row{grid-template-columns:1fr;}
  .topbar-inner,.navbar-inner{padding:0 20px;}
}
