@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/inter-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* ==========================================================================
   I. H. Khan and Associates — site stylesheet
   Palette: deep navy primary, gold accent, white background, dark-grey text
   ========================================================================== */

:root {
  --navy: #0b1f3a;
  --navy-2: #14315c;
  --navy-3: #1e4275;
  --gold: #c9a227;
  --gold-dark: #a8861c;
  --gold-soft: #fbf5df;
  --text: #2b2f36;
  --muted: #5f6672;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --border: #e3e7ee;
  --success: #1b7f3b;
  --error: #c0392b;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06), 0 1px 3px rgba(11, 31, 58, .08);
  --shadow-md: 0 6px 18px rgba(11, 31, 58, .10);
  --shadow-lg: 0 18px 40px rgba(11, 31, 58, .14);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-3); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
strong { font-weight: 600; color: var(--navy); }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.skip-link { position: absolute; top: 8px; left: 8px; transform: translateY(-200%); opacity: 0; pointer-events: none; background: var(--gold); color: var(--navy); padding: .5rem 1rem; border-radius: 6px; z-index: 2000; font-weight: 600; }
.skip-link:focus { transform: none; opacity: 1; pointer-events: auto; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 8px; font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  text-decoration: none !important; line-height: 1.2; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #d8b23a; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--border);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none !important; }
.logo-mark { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 10px; }
.footer-logo { display: inline-block; margin-bottom: .25rem; }
.footer-logo img { width: 240px; height: auto; max-width: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 1.15rem; color: var(--navy); letter-spacing: -.01em; }
.brand-sub { font-size: .78rem; color: var(--muted); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-sub { color: rgba(255,255,255,.7); }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav-list > li { position: relative; }
.nav-list a, .dropdown-toggle {
  display: inline-flex; align-items: center; gap: .35rem; padding: .55rem .8rem; border-radius: 8px;
  color: var(--navy); font-weight: 500; font-size: .95rem; text-decoration: none !important;
  background: none; border: 0; font-family: inherit; cursor: pointer; transition: background .2s, color .2s;
}
.nav-list a:hover, .dropdown-toggle:hover, .nav-list a.active, .dropdown-toggle.active { background: var(--bg-soft); color: var(--navy-3); }
.nav-list a.active { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 8px 8px 0 0; }
.chev { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.has-dropdown[aria-expanded="true"] .chev, .has-dropdown:hover .chev { transform: rotate(225deg) translateY(-2px); }
.dropdown {
  list-style: none; margin: 0; padding: .5rem; position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown, .has-dropdown.open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: .55rem .8rem; width: 100%; font-size: .92rem; }
.dropdown-divider { height: 1px; background: var(--border); margin: .4rem .5rem; }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.btn-phone { padding: .6rem 1rem; font-size: .9rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); background: #fff; border-radius: 8px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(201,162,39,.28), transparent 60%),
              linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #1a3d6e 100%);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
.hero::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 59.5h60M59.5 0v60' stroke='rgba(255,255,255,.05)' fill='none'/%3E%3C/svg%3E"); pointer-events: none; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero .eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.hero .lead { font-size: 1.15rem; color: rgba(255,255,255,.86); max-width: 58ch; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 1.25rem; backdrop-filter: blur(4px); }
.stat strong { display: block; font-size: 1.7rem; color: var(--gold); font-weight: 800; line-height: 1.1; margin-bottom: .25rem; }
.stat span { font-size: .88rem; color: rgba(255,255,255,.82); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.page-hero h1 { color: #fff; margin-bottom: .5rem; }
.page-hero .lead { font-size: 1.1rem; color: rgba(255,255,255,.85); max-width: 70ch; margin: 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0 0 1rem; font-size: .85rem; color: rgba(255,255,255,.7); }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .5; }
.breadcrumbs a { color: rgba(255,255,255,.85); }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section.soft { background: var(--bg-soft); }
.section.tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section-head { max-width: 72ch; margin-bottom: 2.25rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-sub { color: var(--muted); font-size: 1.05rem; margin: 0; }
.prose { max-width: 76ch; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul li, .prose ol li { margin-bottom: .35rem; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 1.5rem; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(201,162,39,.5); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .96rem; flex: 1; }
.card-link { font-weight: 600; font-size: .92rem; margin-top: .5rem; }
.card-icon { width: 46px; height: 46px; border-radius: 10px; background: var(--gold-soft); color: var(--gold-dark); display: grid; place-items: center; margin-bottom: 1rem; }
.card-icon svg { width: 24px; height: 24px; }
.soft .card { box-shadow: none; }

/* ---------- Jurisdiction strip ---------- */
.jur-strip { background: var(--navy); color: #fff; padding: 1.25rem 0; border-top: 3px solid var(--gold); }
.jur-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1.25rem; }
.jur-strip .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); font-weight: 600; margin-right: .5rem; }
.jur-strip a { color: #fff; font-weight: 500; font-size: .95rem; padding: .3rem .6rem; border-radius: 6px; transition: background .2s; }
.jur-strip a:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.jur-strip .dot { color: var(--gold); opacity: .8; }

/* ---------- Checklists, steps, FAQ, tables ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem 1.5rem; }
.checklist li { position: relative; padding-left: 1.8rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-soft); border: 1.5px solid var(--gold); }
.checklist li::after { content: ""; position: absolute; left: 6px; top: calc(.35em + 4px); width: 5px; height: 8px; border-right: 2px solid var(--gold-dark); border-bottom: 2px solid var(--gold-dark); transform: rotate(45deg); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.timeline li { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: start; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 800; display: grid; place-items: center; font-size: 1rem; }
.timeline h3 { margin-bottom: .25rem; font-size: 1.05rem; }
.timeline p { color: var(--muted); margin: 0; }
.faq { display: grid; gap: .75rem; max-width: 860px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 0 1.25rem; transition: box-shadow .3s var(--ease); }
.faq-item[open] { box-shadow: var(--shadow-md); border-color: rgba(201,162,39,.5); }
.faq-item summary { cursor: pointer; padding: 1rem 2rem 1rem 0; font-weight: 600; color: var(--navy); list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--gold-dark); font-weight: 400; transition: transform .25s var(--ease); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-body { padding: 0 0 1.1rem; color: var(--muted); }
.faq-body p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 1.5rem; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--bg-soft); color: var(--navy); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.info-box { background: var(--gold-soft); border-left: 4px solid var(--gold); border-radius: 8px; padding: 1.1rem 1.3rem; margin: 1.5rem 0; }
.info-box p:last-child { margin: 0; }
.pill { display: inline-block; background: var(--gold-soft); color: var(--gold-dark); font-weight: 600; font-size: .78rem; padding: .25rem .65rem; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Why us / features ---------- */
.feature { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; align-items: start; }
.feature-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--navy); color: var(--gold); display: grid; place-items: center; }
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: .3rem; }
.feature p { color: var(--muted); margin: 0; }

/* ---------- Testimonials ---------- */
.testimonial { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; position: relative; }
.testimonial::before { content: "\201C"; position: absolute; top: .4rem; left: 1.2rem; font-size: 4rem; color: var(--gold); opacity: .35; font-family: Georgia, serif; line-height: 1; }
.testimonial blockquote { margin: 1.25rem 0 1rem; font-style: italic; color: var(--text); }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--navy); font-size: .92rem; display: block; }
.testimonial cite span { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 4px solid var(--gold); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: .35rem; }
.cta-inner p { margin: 0; color: rgba(255,255,255,.85); max-width: 60ch; }
.cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.25rem; box-shadow: var(--shadow-sm); }
.contact-card h3 { margin-bottom: .5rem; }
.contact-card p { margin-bottom: .4rem; }
.map-embed { aspect-ratio: 16 / 10; border: 0; width: 100%; border-radius: 10px; background: var(--bg-soft); margin-top: .75rem; }
.map-placeholder { aspect-ratio: 16 / 9; border-radius: 10px; background: repeating-linear-gradient(45deg, #eef1f6 0 12px, #f6f8fb 12px 24px); display: grid; place-items: center; color: var(--muted); font-size: .9rem; text-align: center; padding: 1rem; margin-top: .75rem; border: 1px dashed var(--border); }
.form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .9rem; border: 1px solid #cfd6e0; border-radius: 8px; font: inherit; color: var(--text); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--navy-3); box-shadow: 0 0 0 3px rgba(30,66,117,.15); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.field .error-msg { display: none; color: var(--error); font-size: .83rem; margin-top: .3rem; }
.field.invalid .error-msg { display: block; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: 8px; font-size: .95rem; display: none; }
.form-status.ok { display: block; background: #e8f6ec; color: var(--success); }
.form-status.err { display: block; background: #fdecea; color: var(--error); }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }


/* ---------- Phone field with country code selector ---------- */
.phone-input { display: flex; align-items: stretch; border: 1px solid #cfd6e0; border-radius: 8px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.phone-input:focus-within { border-color: var(--navy-3); box-shadow: 0 0 0 3px rgba(30,66,117,.15); }
.field.invalid .phone-input { border-color: var(--error); }
.phone-input input[type="tel"] { border: 0 !important; box-shadow: none !important; border-radius: 0 8px 8px 0; flex: 1; min-width: 0; }
.cc { position: relative; flex: 0 0 auto; }
.cc-btn { height: 100%; display: inline-flex; align-items: center; gap: .4rem; padding: 0 .75rem; background: var(--bg-soft); border: 0; border-right: 1px solid #cfd6e0; border-radius: 8px 0 0 8px; font: inherit; color: var(--navy); cursor: pointer; white-space: nowrap; }
.cc-btn:hover { background: #eef1f6; }
.cc-btn .chev { margin-left: .1rem; width: 7px; height: 7px; }
.cc-flag { font-size: 1.2rem; line-height: 1; }
.cc-code { font-weight: 600; font-size: .95rem; }
.cc-menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 50; width: 300px; max-width: calc(100vw - 2rem); background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-lg); padding: .5rem; }
.cc-menu[hidden] { display: none; }
.cc-search { width: 100%; padding: .6rem .75rem; border: 1px solid #cfd6e0; border-radius: 6px; font: inherit; font-size: .92rem; margin-bottom: .4rem; }
.cc-search:focus { outline: 0; border-color: var(--navy-3); box-shadow: 0 0 0 3px rgba(30,66,117,.15); }
.cc-list { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow-y: auto; }
.cc-list li { display: flex; align-items: center; gap: .6rem; padding: .5rem .6rem; border-radius: 6px; cursor: pointer; font-size: .92rem; }
.cc-list li:hover, .cc-list li[aria-selected="true"], .cc-list li.focus { background: var(--bg-soft); }
.cc-list li .cc-name { flex: 1; }
.cc-list li .cc-dial { color: var(--muted); font-variant-numeric: tabular-nums; }
.cc-list .cc-empty { color: var(--muted); cursor: default; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-thumb { position: relative; height: 150px; overflow: hidden; background: radial-gradient(420px 160px at 100% 0%, rgba(201,162,39,.22), transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%); color: var(--gold); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; }
.post-thumb::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1.4px); background-size: 14px 14px; opacity: .5; }
.post-thumb .thumb-art { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 84px; height: 84px; }
.post-thumb .thumb-art svg { width: 100%; height: 100%; filter: drop-shadow(0 6px 12px rgba(0,0,0,.35)); }
.post-thumb > span { position: absolute; left: 1.1rem; bottom: .9rem; padding: .3rem .6rem; border: 1px solid rgba(201,162,39,.5); border-radius: 999px; background: rgba(11,31,58,.55); }
.post-card:hover .thumb-art { transform: translateY(-50%) scale(1.06); transition: transform .4s var(--ease); }
.post-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .82rem; color: var(--muted); margin-bottom: .5rem; }
.post-body h3 { font-size: 1.1rem; }
.post-body p { color: var(--muted); font-size: .94rem; flex: 1; }
.article { max-width: 76ch; }
.article .post-meta { margin-bottom: 1.5rem; }
.article h2 { margin-top: 2.2rem; }
.article h3 { margin-top: 1.6rem; }
.article table { font-size: .92rem; }
.author-box { background: var(--bg-soft); border-radius: 10px; padding: 1.25rem; margin-top: 2.5rem; display: flex; gap: 1rem; align-items: center; }
.author-box .logo-mark { width: 48px; height: 48px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.team-card { text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem 1.25rem; }
.avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 1rem; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%); color: var(--gold); display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; }
.team-card h3 { margin-bottom: .2rem; }
.team-card .role { color: var(--gold-dark); font-weight: 600; font-size: .9rem; margin-bottom: .6rem; }
.team-card p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.82); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
.footer-col h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .45rem; }
.footer-col a { color: rgba(255,255,255,.82); font-size: .93rem; }
.footer-col a:hover { color: var(--gold); }
.footer-about p { font-size: .93rem; margin: 1rem 0 1.25rem; }
.footer-contact address { font-style: normal; font-size: .9rem; }
.footer-contact p { margin-bottom: .8rem; }
.footer-contact strong { color: #fff; }
.social { display: flex; gap: .6rem; }
.social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.08); transition: background .2s; }
.social a:hover { background: var(--gold); }
.social svg { width: 18px; height: 18px; fill: #fff; }
.social a:hover svg { fill: var(--navy); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.25rem 0; }
.footer-bottom-inner { display: grid; gap: .75rem; }
.disclaimer { font-size: .8rem; color: rgba(255,255,255,.6); margin: 0; max-width: 100ch; }
.disclaimer a { color: rgba(255,255,255,.85); text-decoration: underline; }
.copyright { font-size: .85rem; margin: 0; }
.copyright a { color: rgba(255,255,255,.82); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 900; display: inline-flex; align-items: center; gap: .5rem;
  background: #25d366; color: #fff; padding: .7rem 1rem .7rem .8rem; border-radius: 999px; font-weight: 600; font-size: .9rem;
  box-shadow: 0 8px 24px rgba(37,211,102,.4); text-decoration: none !important; transition: transform .25s var(--ease), box-shadow .25s;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 30px rgba(37,211,102,.5); }
.whatsapp-float svg { width: 26px; height: 26px; fill: #fff; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 1; transform: none; }
@keyframes reveal-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  .reveal { animation: reveal-in .7s var(--ease) both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; animation: none; }
  .btn, .card, .post-card, .whatsapp-float { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .post-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-stats { max-width: 560px; }
  .btn-phone span { display: none; }
  .btn-phone { padding: .6rem .7rem; }
}
@media (max-width: 860px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; } /* backdrop-filter would make the header the containing block for the fixed nav */
  .nav-toggle { display: flex; }
  .nav { position: fixed; top: var(--header-h); left: 0; width: 100%; bottom: 0; background: #fff; overflow-y: auto; padding: 1rem; clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .3s var(--ease), visibility 0s .3s; border-top: 1px solid var(--border); }
  .nav.open { clip-path: inset(0); visibility: visible; transition: clip-path .3s var(--ease), visibility 0s; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .15rem; }
  .nav-list a, .dropdown-toggle { width: 100%; justify-content: space-between; padding: .85rem 1rem; font-size: 1.02rem; }
  .nav-list a.active { box-shadow: inset 3px 0 0 var(--gold); border-radius: 8px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 2px solid var(--border); border-radius: 0; margin: .25rem 0 .5rem 1rem; padding: 0; display: none; }
  .has-dropdown.open > .dropdown { display: block; }
  .has-dropdown:hover .chev { transform: rotate(45deg) translateY(-2px); }
  .has-dropdown.open .chev { transform: rotate(225deg) translateY(-2px); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .cols-2, .cols-3, .cols-4, .post-grid, .team-grid, .footer-grid, .two-col, .contact-grid, .form-row { grid-template-columns: 1fr; }
  .checklist.cols-2 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: .75rem; }
  .cta-actions .btn { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .brand-sub { display: none; }
}
@media print {
  .site-header, .whatsapp-float, .cta-band, .nav { display: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 640px) { .article .table-wrap table { min-width: 600px; } }

/* ---- Tools / calculators ---- */
.tool-card { padding: 1.6rem; }
.tool-card h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.tool-card h3 { font-size: 1.05rem; margin: 1rem 0 .6rem; }
.tool-result ul { padding-left: 1.2rem; margin: .8rem 0; }
.tool-result li { margin-bottom: .4rem; }
.tool-result .pill { font-size: .9rem; text-transform: none; letter-spacing: 0; padding: .4rem .8rem; margin-bottom: .8rem; }
.tool-result .btn { margin-top: 1rem; }
.trip-x { position: absolute; right: -.2rem; top: 0; background: none; border: 0; color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer; padding: .1rem .4rem; }
.trip-x:hover { color: var(--error); }
@media (max-width: 860px) { .tool-grid { grid-template-columns: 1fr; } }
.tool-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.tool-grid > * { min-width: 0; }
.tool-card .field select, .tool-card .field input { width: 100%; max-width: 100%; }
.tool-result .pill { white-space: normal; line-height: 1.4; }
@media (max-width: 860px) { .tool-grid { grid-template-columns: minmax(0,1fr); } }

/* ---------- Resources: calendar, charts, checklists ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.25rem; }
.chip { border: 1px solid var(--border); background: #fff; color: var(--navy); font: inherit; font-size: .88rem; font-weight: 600; padding: .45rem .9rem; border-radius: 999px; cursor: pointer; }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.res-search { max-width: 520px; margin: 1rem 0; }
.res-search input { width: 100%; }
.res-group { margin: 2rem 0 .6rem; color: var(--navy); }
.res-table th:last-child, .res-table td:last-child { white-space: nowrap; }
#gst-table td:last-child { white-space: normal; }
.cal-actions { margin: 1rem 0 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
.cal-jump { position: sticky; top: 64px; z-index: 5; background: #fff; display: flex; flex-wrap: wrap; gap: .25rem; padding: .5rem 0; margin: .5rem 0 1rem; border-bottom: 1px solid var(--border); }
.cal-jump a { font-size: .85rem; font-weight: 600; padding: .3rem .6rem; border-radius: 6px; text-decoration: none; color: var(--navy); }
.cal-jump a:hover { background: var(--gold-soft); }
.cal-month { padding: .5rem 0 1rem; }
.cal-month h2 { font-size: 1.35rem; margin: 1rem 0 .75rem; padding-bottom: .4rem; border-bottom: 2px solid var(--gold); display: inline-block; }
.cal-list { list-style: none; margin: 0; padding: 0; }
.cal-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--border); }
.cal-item.past { opacity: .55; }
.cal-date { text-align: center; background: var(--bg-soft); border-radius: 10px; padding: .5rem 0; height: fit-content; }
.cal-day { display: block; font-size: 1.5rem; font-weight: 800; line-height: 1.1; color: var(--navy); }
.cal-dow { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.cal-body h3 { font-size: 1.02rem; margin: .3rem 0 .2rem; }
.cal-body p { margin: 0 0 .25rem; font-size: .92rem; }
.cal-who { color: var(--muted); }
.cal-detail { color: var(--text); }
.cal-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 999px; background: var(--gold-soft); color: var(--gold-dark); }
.cal-it { background: #e8eef8; color: #0b1f3a; }
.cal-gst { background: #e8f6ec; color: #1e6b34; }
.cal-roc { background: #f3e8f8; color: #5b2a7a; }
.cal-pay { background: #fdf1e2; color: #8a4b00; }
.cal-fema { background: #e6f4f6; color: #0b5a66; }
.cal-add { font-size: .85rem; font-weight: 600; display: inline-block; padding: .4rem 0; }
.lead-p { font-size: 1.08rem; }
.checklist.cols-1 { grid-template-columns: 1fr; }
@media (max-width: 640px) {
  .cal-item { grid-template-columns: 52px minmax(0, 1fr); gap: .75rem; }
  .cal-day { font-size: 1.25rem; }
  .cal-jump { top: 60px; }
  .res-table th:last-child, .res-table td:last-child { white-space: normal; }
}
@media (min-width: 1025px) {
  .nav-list a, .dropdown-toggle { padding: .55rem .62rem; font-size: .92rem; white-space: nowrap; }
  .btn-phone { white-space: nowrap; }
  .header-inner { flex-wrap: nowrap; }
}
@media (min-width: 1025px) and (max-width: 1120px) { .btn-phone span { display: none; } .btn-phone { padding: .6rem .7rem; } }
@media (min-width: 1025px) { .has-dropdown.drop-right > .dropdown { left: auto; right: 0; } }

/* ---------- Notice strip, PDF gate, tool-send ---------- */
.notice-strip { display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; background: var(--navy); color: #fff; border-radius: 14px; padding: 1.6rem 1.8rem; }
.notice-strip h2 { color: #fff; font-size: 1.35rem; margin: .4rem 0 .4rem; }
.notice-strip p { margin: 0; color: rgba(255,255,255,.85); max-width: 60ch; }
.notice-strip .btn-navy { background: #fff; color: var(--navy); }
.gate { position: fixed; inset: 0; background: rgba(11,31,58,.55); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.gate[hidden] { display: none; }
.gate-box { position: relative; background: #fff; border-radius: 14px; padding: 1.6rem 1.6rem 1.4rem; width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); }
.gate-box h3 { margin: 0 0 .4rem; }
.gate-x { position: absolute; top: .5rem; right: .7rem; background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); }
.tool-send { margin-top: 1.25rem; }
.tool-send h3 { margin-top: 0; }
@media (max-width: 640px) { .notice-strip { flex-direction: column; align-items: flex-start; } }
@media (max-width: 1024px) { .notice-cols > div:last-child { order: -1; } }
/* accessibility + calendar performance */
.info-box a, .faq-body a, .article p a, .article li a, .cal-body a, .tool-result a:not(.btn), .section p a:not(.btn):not(.card-link), .section li a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }
.cal-item.past { opacity: 1; }
.cal-item.past .cal-body h3, .cal-item.past .cal-body p, .cal-item.past .cal-day { color: #5a6474; }
.cal-item.past .cal-tag { filter: grayscale(1); }
.cal-dow { color: #4b5563; }
.cal-month { content-visibility: auto; contain-intrinsic-size: auto 3000px; }


/* ---------- Illustrations ---------- */
.hero-side { display: grid; gap: 1.1rem; }
.hero-art { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.28)); }
.hero-side .hero-stats { gap: .8rem; }
.hero-side .stat { padding: .9rem 1rem; }
.hero-side .stat strong { font-size: 1.4rem; }
.page-hero .container { position: relative; }
.page-hero.has-art h1, .page-hero.has-art .lead { max-width: min(70ch, calc(100% - 200px)); }
.page-hero-art { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: clamp(120px, 14vw, 180px); opacity: .22; pointer-events: none; }
.page-hero-art svg { width: 100%; height: auto; }
.card-grid + .section-head { margin-top: 2.75rem; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .9rem; }
.card-top .card-icon { margin-bottom: 0; }
.flow-fig { margin: 2.25rem 0 0; }
.flow-fig figcaption { color: var(--muted); margin-bottom: 1rem; font-size: .95rem; }
.flow { display: grid; grid-template-columns: 1fr 1.25fr; gap: .9rem 1.4rem; align-items: stretch; }
.flow-foot { grid-template-columns: 1fr 1fr; margin-top: .9rem; }
.flow-box { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: .9rem 1rem; font-size: .93rem; line-height: 1.5; box-shadow: var(--shadow-sm); }
.flow-box.q { border-left: 4px solid var(--navy); }
.flow-box.a { border-left: 4px solid var(--gold); background: var(--gold-soft); }
.flow-box.a.yes { background: #eaf6ee; border-left-color: var(--success); }
.flow-box.r { border-left: 4px solid var(--navy-3); background: var(--bg-soft); }
.flow-box.r.alt { background: #fff; }
.flow-k { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.flow-box.a .flow-k, .flow-box.a.yes .flow-k { color: #7a6516; }
.flow-box.a.yes .flow-k { color: var(--success); }
.flow-box.q::after { content: "No \2193"; position: absolute; right: .8rem; bottom: -.85rem; font-size: .7rem; font-weight: 700; color: var(--muted); background: #fff; border: 1px solid var(--border); padding: 0 .4rem; border-radius: 4px; }
.flow-box.q:nth-last-child(2)::after { content: none; }
.journey-fig { margin: 0 0 2rem; }
.journey-fig figcaption { color: var(--muted); font-size: .92rem; margin-top: .5rem; }
.journey-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: .25rem; }
.journey-scroll svg { display: block; width: 100%; min-width: 760px; height: auto; }
@media (max-width: 1024px) { .hero-side { max-width: 560px; } }
@media (max-width: 860px) {
  .page-hero-art { display: none; }
  .page-hero.has-art h1, .page-hero.has-art .lead { max-width: 70ch; }
  .flow, .flow-foot { grid-template-columns: 1fr; }
  .flow-box.q::after { content: none; }
}
@media (prefers-reduced-motion: reduce) { .post-card:hover .thumb-art { transition: none; transform: translateY(-50%); } }
