/* ==========================================================================
   Public website
   ========================================================================== */
:root {
  --w-primary: #1d4ed8;
  --w-primary-dark: #1e3a8a;
  --w-accent: #f59e0b;
  --w-ink: #0f172a;
  --w-text: #334155;
  --w-muted: #64748b;
  --w-line: #e2e8f0;
  --w-soft: #f8fafc;
  --w-radius: 14px;
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: #334155;
  --bs-link-color: var(--w-primary);
}
body.site { background: #fff; font-size: 1rem; line-height: 1.65; }
h1, h2, h3, h4, h5, .display-font { font-family: "Plus Jakarta Sans", "Inter", sans-serif; color: var(--w-ink); letter-spacing: -.015em; }
a { text-decoration: none; }
.btn { border-radius: 10px; font-weight: 600; padding: .6rem 1.15rem; }
.btn-sm { padding: .35rem .75rem; }
.btn-primary { --bs-btn-bg: var(--w-primary); --bs-btn-border-color: var(--w-primary); --bs-btn-hover-bg: var(--w-primary-dark); --bs-btn-hover-border-color: var(--w-primary-dark); --bs-btn-active-bg: var(--w-primary-dark); }
.btn-outline-primary { --bs-btn-color: var(--w-primary); --bs-btn-border-color: var(--w-primary); --bs-btn-hover-bg: var(--w-primary); --bs-btn-hover-border-color: var(--w-primary); }
.btn-accent { background: var(--w-accent); color: #1f1300; border: 0; }
.btn-accent:hover { background: #d97706; color: #fff; }
.form-control, .form-select { border-radius: 10px; padding: .6rem .85rem; border-color: #cbd5e1; }
.form-control:focus, .form-select:focus { border-color: #93b4f5; box-shadow: 0 0 0 .2rem rgba(29, 78, 216, .12); }
.form-label { font-weight: 600; font-size: .9rem; color: var(--w-ink); }
.form-label.required::after { content: " *"; color: #dc2626; }
:focus-visible { outline: 3px solid rgba(29, 78, 216, .45); outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 2000; background: #fff; padding: .5rem 1rem; }
.skip-link:focus { left: 1rem; top: .5rem; }

/* ---- Top bar & header ---- */
.topbar { background: var(--w-ink); color: #cbd5e1; font-size: .82rem; }
.topbar a { color: #e2e8f0; }
.topbar a:hover { color: #fff; }
.topbar .social a { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.topbar .social a:hover { background: rgba(255,255,255,.1); }
.site-header { background: #fff; border-bottom: 1px solid var(--w-line); position: sticky; top: 0; z-index: 1030; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15, 23, 42, .07); }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--w-ink); }
.brand img { height: 54px; width: auto; }
.brand .mark { width: 50px; height: 50px; border-radius: 12px; background: var(--w-primary); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; }
.brand .name { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 1.05rem; line-height: 1.15; display: block; max-width: 270px; white-space: normal; }
.brand .tag { display: block; font-size: .76rem; font-weight: 500; color: var(--w-muted); }
.site-nav .nav-link { color: var(--w-ink); font-weight: 600; font-size: .92rem; padding: .5rem .65rem !important; border-radius: 8px; white-space: nowrap; }
.site-nav .btn { white-space: nowrap; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--w-primary); background: #eff6ff; }
.site-nav .dropdown-menu { border: 1px solid var(--w-line); border-radius: 12px; box-shadow: 0 18px 40px rgba(15,23,42,.12); padding: .4rem; }
.site-nav .dropdown-item { border-radius: 8px; padding: .5rem .75rem; font-size: .92rem; }

/* ---- Hero ---- */
.hero { position: relative; color: #fff; background: linear-gradient(120deg, #0b1f4d 0%, var(--w-primary-dark) 55%, var(--w-primary) 100%); }
.hero .carousel-item { min-height: 520px; }
.hero .slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero .slide-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 20, 50, .88) 0%, rgba(8, 20, 50, .55) 60%, rgba(8, 20, 50, .25) 100%); }
.hero .slide-body { position: relative; z-index: 2; padding: 6rem 0 7rem; max-width: 680px; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; line-height: 1.1; }
.hero p.lead { color: #dbeafe; font-size: 1.15rem; }
.hero .eyebrow { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: .3rem .9rem; font-size: .8rem; letter-spacing: .04em; margin-bottom: 1rem; }
.hero .carousel-indicators [data-bs-target] { width: 28px; height: 4px; border-radius: 2px; }

/* ---- Quick services strip over hero ---- */
.quick-services { margin-top: -64px; position: relative; z-index: 5; }
.service-card { background: #fff; border: 1px solid var(--w-line); border-radius: var(--w-radius); padding: 1.4rem; height: 100%; display: flex; gap: 1rem; align-items: flex-start; color: var(--w-text); box-shadow: 0 14px 40px rgba(15,23,42,.08); transition: transform .15s ease, box-shadow .15s ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(15,23,42,.12); color: var(--w-text); }
.service-card .ic { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-size: 1.45rem; flex-shrink: 0; }
.service-card h3 { font-size: 1.06rem; margin: 0 0 .25rem; }
.service-card p { margin: 0; font-size: .9rem; color: var(--w-muted); }
.ic-blue { background: #eff6ff; color: #1d4ed8; } .ic-green { background: #ecfdf5; color: #047857; } .ic-amber { background: #fffbeb; color: #b45309; } .ic-violet { background: #f5f3ff; color: #6d28d9; }

/* ---- Sections ---- */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-soft { background: var(--w-soft); }
.section-head { max-width: 680px; margin-bottom: 2.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; font-weight: 700; color: var(--w-primary); }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; margin: .3rem 0 .6rem; }
.section-head p { color: var(--w-muted); margin: 0; }

.card-x { background: #fff; border: 1px solid var(--w-line); border-radius: var(--w-radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: box-shadow .15s ease, transform .15s ease; }
.card-x:hover { box-shadow: 0 16px 36px rgba(15,23,42,.08); transform: translateY(-2px); }
.card-x .thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #dbeafe, #eff6ff); display: grid; place-items: center; color: var(--w-primary); font-size: 2rem; }
.card-x .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-x .body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.card-x h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.card-x .meta { font-size: .82rem; color: var(--w-muted); }
.chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; background: #eff6ff; color: var(--w-primary); }
.chip-amber { background: #fffbeb; color: #b45309; } .chip-green { background: #ecfdf5; color: #047857; } .chip-red { background: #fef2f2; color: #b91c1c; } .chip-slate { background: #f1f5f9; color: #475569; }

.notice-list { list-style: none; padding: 0; margin: 0; }
.notice-list li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--w-line); }
.notice-list li:last-child { border-bottom: 0; }
.date-badge { flex-shrink: 0; width: 58px; text-align: center; border-radius: 10px; background: #eff6ff; color: var(--w-primary); padding: .35rem 0; line-height: 1.1; }
.date-badge .d { font-size: 1.3rem; font-weight: 800; display: block; }
.date-badge .m { font-size: .7rem; text-transform: uppercase; font-weight: 700; }
.notice-list a { color: var(--w-ink); font-weight: 600; }
.notice-list a:hover { color: var(--w-primary); }

.stats-band { background: var(--w-ink); color: #fff; }
.stat .num { font-family: "Plus Jakarta Sans", sans-serif; font-size: 2.4rem; font-weight: 800; color: #fff; line-height: 1; }
.stat .lbl { color: #94a3b8; font-size: .9rem; }

.cta-band { background: linear-gradient(120deg, var(--w-primary-dark), var(--w-primary)); color: #fff; border-radius: 20px; padding: 2.5rem; }
.cta-band h2 { color: #fff; }

/* ---- Page header ---- */
.page-hero { background: linear-gradient(120deg, #0b1f4d, var(--w-primary-dark)); color: #fff; padding: 3rem 0 2.6rem; }
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; margin: 0; }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: #93c5fd; margin-bottom: .5rem; font-size: .85rem; }
.page-hero .breadcrumb a { color: #bfdbfe; }
.page-hero .breadcrumb-item.active { color: #e0e7ff; }
.page-hero p { color: #c7d2fe; margin: .5rem 0 0; max-width: 720px; }

.prose { color: var(--w-text); font-size: 1.02rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; } .prose h3 { font-size: 1.22rem; margin-top: 1.6rem; }
.prose img { max-width: 100%; height: auto; border-radius: 10px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; } .prose td, .prose th { border: 1px solid var(--w-line); padding: .5rem .7rem; }
.prose iframe { max-width: 100%; border-radius: 10px; }

/* ---- Forms & service panels ---- */
.panel { background: #fff; border: 1px solid var(--w-line); border-radius: var(--w-radius); padding: 1.75rem; box-shadow: 0 10px 30px rgba(15,23,42,.05); }
.panel-soft { background: var(--w-soft); border: 1px solid var(--w-line); border-radius: var(--w-radius); padding: 1.5rem; }
.help-list { padding-left: 1.1rem; color: var(--w-muted); font-size: .92rem; }
.help-list li { margin-bottom: .35rem; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.status-card { border-radius: var(--w-radius); border: 1px solid var(--w-line); overflow: hidden; background: #fff; }
.status-card .status-head { display: flex; gap: 1rem; align-items: center; padding: 1.25rem 1.5rem; }
.status-card .status-head .ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; flex-shrink: 0; }
.status-card .status-head h2 { font-size: 1.3rem; margin: 0; }
.status-valid .status-head { background: #ecfdf5; } .status-valid .ic { background: #059669; color: #fff; } .status-valid h2 { color: #065f46; }
.status-revoked .status-head { background: #fef2f2; } .status-revoked .ic { background: #dc2626; color: #fff; } .status-revoked h2 { color: #991b1b; }
.status-superseded .status-head { background: #fffbeb; } .status-superseded .ic { background: #d97706; color: #fff; } .status-superseded h2 { color: #92400e; }
.status-notfound .status-head { background: #f1f5f9; } .status-notfound .ic { background: #64748b; color: #fff; }
.status-card .rows { padding: 1.25rem 1.5rem; }
.kv { display: grid; grid-template-columns: 190px 1fr; gap: .55rem 1rem; margin: 0; }
.kv dt { color: var(--w-muted); font-weight: 500; }
.kv dd { margin: 0; color: var(--w-ink); font-weight: 600; word-break: break-word; }
@media (max-width: 575.98px) { .kv { grid-template-columns: 1fr; } .kv dd { margin-bottom: .45rem; } }

.result-table th { background: var(--w-soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: var(--w-muted); }
.result-table td, .result-table th { padding: .65rem .8rem; }
.statement-note { font-size: .82rem; color: var(--w-muted); border-left: 3px solid var(--w-accent); padding-left: .75rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.gallery-grid a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: #e2e8f0; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gallery-grid a:hover img { transform: scale(1.04); }

.faq .accordion-button { font-weight: 600; color: var(--w-ink); }
.faq .accordion-button:not(.collapsed) { background: #eff6ff; color: var(--w-primary); box-shadow: none; }
.faq .accordion-item { border-radius: 12px !important; overflow: hidden; border: 1px solid var(--w-line); margin-bottom: .6rem; }

/* ---- Footer ---- */
.site-footer { background: #0b1220; color: #94a3b8; font-size: .92rem; }
.site-footer h5 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; }
.site-footer .social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.06); margin-right: .35rem; }
.site-footer .social a:hover { background: var(--w-primary); }

@media (max-width: 1199.98px) { .site-nav .navbar-collapse { padding: .75rem 0; } .site-nav .btn { margin-top: .5rem; } }
@media (max-width: 991.98px) {
  .hero .carousel-item { min-height: 440px; }
  .hero .slide-body { padding: 4rem 0 6rem; }
  .site-nav { padding: .75rem 0; }
  .section { padding: 3.5rem 0; }
}
@media print {
  .topbar, .site-header, .site-footer, .no-print, .page-hero .breadcrumb { display: none !important; }
  .page-hero { background: none; color: #000; padding: 0 0 1rem; }
  .page-hero h1 { color: #000; }
  .panel { box-shadow: none; border: 0; padding: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
