:root {
  --bg: #070a0f;
  --bg-2: #0d131c;
  --panel: rgba(18, 25, 35, 0.82);
  --panel-soft: rgba(255, 255, 255, 0.055);
  --line: rgba(232, 220, 190, 0.16);
  --line-strong: rgba(232, 220, 190, 0.28);
  --text: #f7f1e7;
  --muted: #bdb3a5;
  --gold: #d4ad62;
  --gold-2: #f0d795;
  --steel: #b9c0c4;
  --blue: #8ecbd5;
  --ink: #080b10;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 32px 110px rgba(0, 0, 0, 0.48);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 4%, rgba(212, 173, 98, .14), transparent 28rem),
    radial-gradient(circle at 86% 16%, rgba(142, 203, 213, .12), transparent 34rem),
    linear-gradient(135deg, #06080d 0%, #0a1018 44%, #11131a 76%, #161009 100%);
  font-family: Aptos, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .27;
  background:
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(120deg, transparent 0 48%, rgba(212,173,98,.08) 49%, transparent 51% 100%);
  background-size: 72px 72px, 72px 72px, 100% 100%;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .07;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.46'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
li { margin: .32rem 0; }
button, input, textarea, select { font: inherit; }

.sr-only, .hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 50; background: var(--gold); color: var(--ink); padding: .75rem 1rem; border-radius: 999px; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  padding: .72rem clamp(1rem, 4vw, 4rem);
  background: rgba(5, 8, 13, 0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .9rem; min-width: 270px; }
.brand-mark { width: 62px; height: 46px; display: grid; place-items: center; overflow: visible; flex: 0 0 auto; }
.brand-mark img { height: 46px; width: auto; object-fit: contain; filter: drop-shadow(0 7px 18px rgba(212,173,98,.22)); }
.brand-text { display: grid; gap: .05rem; line-height: 1; text-transform: uppercase; letter-spacing: .12em; }
.brand-text strong { font-size: .98rem; color: var(--text); font-weight: 800; white-space: nowrap; }
.brand-text small { font-size: .58rem; color: var(--muted); letter-spacing: .26em; white-space: nowrap; }
.site-nav { display: flex; justify-content: center; align-items: center; gap: 1.08rem; color: var(--muted); font-size: .92rem; }
.site-nav a { position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.38rem; height: 1px; transform: scaleX(0); transform-origin: left; background: var(--gold); transition: transform .2s ease; }
.site-nav a:hover, .site-nav a:focus { color: var(--text); }
.site-nav a:hover::after, .site-nav a:focus::after { transform: scaleX(1); }
.header-cta, .btn {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: .78rem 1.05rem;
  font-weight: 750;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.header-cta { color: var(--gold-2); background: rgba(212,173,98,.12); white-space: nowrap; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; cursor: pointer; }
.btn:hover, .header-cta:hover, .form-tabs button:hover { transform: translateY(-2px); border-color: rgba(212,173,98,.62); }
.primary { background: linear-gradient(135deg, #b38337 0%, #f2d99a 53%, #c99d4b 100%); color: #11100c; border: 0; box-shadow: 0 16px 42px rgba(212,173,98,.2); }
.secondary { background: rgba(255,255,255,.052); color: var(--text); }
.ghost { background: transparent; color: var(--gold-2); }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--line); border-radius: 10px; padding: .48rem; color: var(--text); }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px; border-radius: 99px; }

.section { padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem); max-width: 1440px; margin: 0 auto; }
.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(330px, .86fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  isolation: isolate;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: 8%; right: 3%;
  width: min(48vw, 660px);
  aspect-ratio: 1.1;
  background: radial-gradient(circle, rgba(212,173,98,.12), transparent 70%);
  filter: blur(8px);
  z-index: -1;
}
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; font-weight: 850; }
h1, h2, h3 { line-height: 1.02; margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { font-size: clamp(3rem, 7vw, 6.7rem); max-width: 13ch; letter-spacing: -.045em; }
h2 { font-size: clamp(2.15rem, 5vw, 4.8rem); max-width: 13.5ch; letter-spacing: -.035em; }
h3 { font-size: clamp(1.18rem, 2vw, 1.55rem); }
.hero-sub, .split-heading > p, .tender-copy p, .about-section p, .contact-copy p, .form-note { color: var(--muted); max-width: 720px; font-size: 1.04rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .78rem; margin: 2rem 0; }
.positioning { color: #a9d5df; border-left: 2px solid var(--blue); padding-left: 1rem; max-width: 660px; }

.hero-panel, .service-card, .process-grid article, .pathway-grid article, .health-card, .health-result, .health-lead-card, .form-shell, .location-panel, .readiness-meter, .document-grid span, .principles span {
  background:
    linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.025)),
    linear-gradient(180deg, rgba(212,173,98,.035), transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.hero-panel { padding: 1.1rem; position: relative; overflow: hidden; }
.hero-panel::before {
  content: ""; position: absolute; inset: 0; opacity: .14;
  background:
    linear-gradient(90deg, transparent 35px, rgba(240,215,149,.25) 36px, transparent 37px),
    linear-gradient(transparent 35px, rgba(240,215,149,.22) 36px, transparent 37px);
  background-size: 72px 72px;
}
.hero-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent, rgba(212,173,98,.14), transparent); transform: translateX(-100%); animation: scan 5.8s infinite; }
.brand-plaque { position: relative; z-index: 1; display: grid; place-items: center; padding: 1.1rem; margin-bottom: .9rem; border-radius: 18px; background: linear-gradient(180deg, rgba(0,0,0,.54), rgba(0,0,0,.16)); border: 1px solid rgba(232,220,190,.14); }
.brand-plaque img { max-height: 185px; object-fit: contain; opacity: .96; }
.panel-top { display: flex; justify-content: space-between; align-items: start; position: relative; z-index: 1; }
.panel-label, .status-grid span, .readiness-meter span { color: var(--muted); font-size: .78rem; display: block; }
.panel-top strong { font-size: 3rem; font-family: Georgia, serif; color: var(--gold); }
.live-dot { color: var(--blue); font-size: .78rem; padding: .36rem .62rem; border: 1px solid rgba(142,203,213,.24); border-radius: 999px; }
.score-ring { width: 184px; height: 184px; border-radius: 50%; margin: .8rem auto 1rem; display: grid; place-items: center; background: conic-gradient(var(--gold) 0 82%, rgba(255,255,255,.08) 82%); color: #14100a; position: relative; z-index: 1; }
.score-ring span { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--text); font-weight: 850; }
.status-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .68rem; position: relative; z-index: 1; }
.status-grid div { padding: .88rem; background: rgba(0,0,0,.28); border: 1px solid rgba(232,220,190,.14); border-radius: 16px; }
.status-grid b { display: block; margin-top: .16rem; }

.intro-band { max-width: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(7,10,15,.94), rgba(20,25,32,.82), rgba(7,10,15,.94)); padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 5vw, 5rem); }
.intro-band p { max-width: 1120px; margin: auto; font-size: clamp(1.45rem, 3vw, 2.55rem); font-family: Georgia, serif; line-height: 1.18; color: var(--text); }
.section-heading { margin-bottom: 2rem; }
.split-heading { display: grid; grid-template-columns: minmax(0, .86fr) minmax(300px, .58fr); gap: 2rem; align-items: end; }

.service-accordion { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.service-card { padding: 0; overflow: hidden; box-shadow: none; }
.service-card summary { display: grid; grid-template-columns: 58px 1fr 28px; align-items: center; gap: 1rem; list-style: none; cursor: pointer; padding: 1.2rem; }
.service-card summary::-webkit-details-marker { display: none; }
.service-card summary::after { content: "+"; color: var(--gold); font-size: 1.7rem; line-height: 1; justify-self: end; }
.service-card[open] summary::after { content: "−"; }
.service-card summary span, .process-grid span { color: var(--gold); font-family: Georgia, serif; font-size: 1.8rem; }
.service-card ul { columns: 2; column-gap: 2rem; padding: 0 1.2rem 1.4rem 5.85rem; }
.service-card.premium { background: linear-gradient(145deg, rgba(212,173,98,.14), rgba(255,255,255,.035)); }

.process-grid, .pathway-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.process-grid article, .pathway-grid article { padding: 1.25rem; box-shadow: none; }
.process-grid p, .pathway-grid p { color: var(--muted); margin-bottom: 0; }
.pathway-grid { grid-template-columns: repeat(3, 1fr); }

.tender-section, .about-section, .contact-section { display: grid; grid-template-columns: .86fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; position: relative; }
.tender-stack { display: grid; gap: 1rem; }
.readiness-meter { padding: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; box-shadow: none; }
.readiness-meter strong { color: var(--gold-2); }
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; list-style: none; padding: 0; }
.checklist li, .principles span { padding: .92rem 1rem; background: rgba(255,255,255,.055); border: 1px solid var(--line); border-radius: 16px; color: var(--text); backdrop-filter: blur(8px); }
.checklist li::before { content: ""; display: inline-block; width: .54rem; height: .54rem; border-radius: 50%; background: var(--gold); margin-right: .62rem; box-shadow: 0 0 18px rgba(212,173,98,.42); }

.document-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.document-grid span { padding: 1rem; box-shadow: none; color: var(--text); }

.question-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin: 1rem 0; }
.health-card, .health-result, .health-lead-card { padding: clamp(1.1rem, 3vw, 1.6rem); box-shadow: none; }
.health-card label { display: grid; grid-template-columns: 1fr 160px; align-items: center; gap: 1rem; padding: .95rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(0,0,0,.18); color: var(--text); }
.health-result { margin-top: 1rem; }
.health-result ul { padding-left: 1.1rem; }
.health-lead-card { margin-top: 1rem; }
.health-lead-card[hidden], .health-result[hidden] { display: none; }
.form-note, .privacy-note, .professional-note { color: var(--muted); font-size: .92rem; }
.privacy-note, .professional-note { border-left: 2px solid var(--gold); padding-left: .85rem; }

input, textarea, select, .request-form select, .health-card select {
  width: 100%; border: 1px solid var(--line); background: rgba(8, 11, 16, .84); color: var(--text); border-radius: 12px; padding: .82rem; min-height: 46px;
}
textarea { min-height: 110px; resize: vertical; }
label { color: var(--muted); font-size: .92rem; }
input:focus, textarea:focus, select:focus, button:focus, a:focus { outline: 2px solid var(--blue); outline-offset: 2px; }

.form-shell { display: grid; grid-template-columns: 250px 1fr; overflow: hidden; }
.form-tabs { display: flex; flex-direction: column; gap: .45rem; padding: 1rem; border-right: 1px solid var(--line); background: rgba(0,0,0,.24); }
.form-tabs button { text-align: left; border: 1px solid transparent; border-radius: 12px; color: var(--muted); background: transparent; padding: .85rem; cursor: pointer; }
.form-tabs button.active { color: #14100a; background: linear-gradient(135deg, #c79d4e, #efd99c); }
.forms { padding: clamp(1rem, 3vw, 2rem); }
.request-form { display: none; }
.request-form.active { display: block; animation: rise .35s ease both; }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1rem 0; }
.field-grid label { display: grid; gap: .35rem; }
.full { grid-column: 1 / -1; }

.principles { display: grid; gap: .8rem; }
.contact-line a, .site-footer a { color: var(--gold-2); }
.location-panel {
  margin: 0;
  min-height: 0;
  display: grid;
  gap: .85rem;
  position: relative;
}
.location-panel img {
  width: 100%;
  min-height: 340px;
  max-height: 520px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(232,220,190,.24);
  box-shadow: 0 30px 90px rgba(0,0,0,.36);
}
.location-panel figcaption {
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
}
.footer-logo { width: min(320px, 100%); max-height: 170px; object-fit: contain; margin-bottom: 1rem; }
.site-footer h3 { color: var(--text); font-family: inherit; font-size: 1rem; margin-top: 0; }
.site-footer a { display: block; margin: .25rem 0; }
.copyright { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1rem; }

.reveal { opacity: 0; transform: translateY(18px); animation: rise .75s ease forwards; }
.reveal:nth-child(2) { animation-delay: .16s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes scan { 55%, 100% { transform: translateX(100%); } }

.thank-you-page { min-height: 100vh; display: grid; place-items: center; padding: 1rem; }
.thank-you-card { width: min(860px, 100%); padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); box-shadow: var(--shadow); }
.thank-you-card img { width: min(390px, 100%); margin-bottom: 2rem; }
.thank-you-card h1 { font-size: clamp(2.1rem, 5vw, 4.8rem); max-width: 14ch; }
.thank-you-card p { color: var(--muted); max-width: 640px; }
.thank-you-card a:not(.btn) { color: var(--gold-2); text-decoration: underline; text-underline-offset: .18em; }

@media (max-width: 1120px) {
  .hero, .tender-section, .about-section, .contact-section, .split-heading { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .service-accordion { grid-template-columns: 1fr; }
  .site-nav { display: none; }
}
@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; }
  .brand { min-width: 0; gap: .65rem; }
  .brand-mark { width: 50px; height: 40px; }
  .brand-mark img { height: 40px; }
  .brand-text strong { font-size: .78rem; }
  .brand-text small { font-size: .48rem; letter-spacing: .16em; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .site-header.open .site-nav, .site-header.open .header-cta { display: flex; grid-column: 1 / -1; }
  .site-header.open .site-nav { flex-direction: column; align-items: stretch; gap: .45rem; }
  .site-header.open .header-cta { justify-content: center; }
  .hero { min-height: auto; padding-top: 3.2rem; }
  h1 { font-size: clamp(2.65rem, 14vw, 4.6rem); }
  h2 { font-size: clamp(2.1rem, 10vw, 3.6rem); }
  .hero-panel { padding: .8rem; }
  .brand-plaque img { max-height: 145px; }
  .status-grid, .pathway-grid, .process-grid, .question-grid, .field-grid, .checklist, .document-grid { grid-template-columns: 1fr; }
  .service-card ul { columns: 1; padding-left: 1.2rem; }
  .service-card summary { grid-template-columns: 48px 1fr 24px; }
  .form-shell { grid-template-columns: 1fr; }
  .form-tabs { border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, 1fr); }
  .health-card label { grid-template-columns: 1fr; }
  .location-panel img { min-height: 260px; }
  .site-footer { grid-template-columns: 1fr; }
  .copyright, .full { grid-column: auto; }
}
@media (max-width: 520px) {
  .section { padding-left: 1rem; padding-right: 1rem; }
  .hero-actions .btn { width: 100%; }
  .form-tabs { grid-template-columns: 1fr; }
}
