/* Microsite base stylesheet. Plain CSS, no build step.
   One brand color drives the whole site: build.mjs writes project.brandColor into --brand
   and derives --brand-dark. Fonts are system stacks (no third-party requests). */
:root {
  --brand: #0f766e;
  --brand-dark: #0c5e58;
  --ink: #15212e;
  --ink-soft: #46566a;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --bg-dark: #15212e;
  --max: 1160px;
  --radius: 10px;
  --font-head: Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); line-height: 1.65; background: var(--bg); -webkit-font-smoothing: antialiased; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: .6em; }
h3 { font-size: 1.22rem; margin-bottom: .35em; }
p { margin-bottom: 1rem; color: var(--ink-soft); }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { padding-left: 1.2rem; }
.mt { margin-top: 24px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); font-size: .92rem; }
.prose h2 { margin-top: 1.4em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.1em; }
.prose ul { margin: 0 0 1rem 1.2rem; color: var(--ink-soft); }

/* buttons */
.btn { display: inline-block; background: var(--brand); color: #fff; padding: 14px 28px; border-radius: var(--radius); font-weight: 600; font-family: var(--font-body); border: 2px solid var(--brand); cursor: pointer; transition: background .15s ease; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--lg { padding: 17px 36px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 20px; max-width: var(--max); margin: 0 auto; }
.nav__logo { color: var(--ink); font-size: 1.1rem; }
.nav__logo img { max-height: 46px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 22px; list-style: none; padding: 0; }
.nav__links a { color: var(--ink); font-weight: 500; font-size: .97rem; }
.nav__links a:hover { color: var(--brand); text-decoration: none; }
.has-dropdown { position: relative; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); min-width: 250px; padding: 8px 0; box-shadow: 0 12px 30px rgba(0,0,0,.08); list-style: none; }
.has-dropdown::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px; display: none; }
.has-dropdown:hover::after, .has-dropdown:focus-within::after { display: block; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
.dropdown a { display: block; padding: 9px 18px; font-size: .92rem; }
.dropdown a:hover { background: var(--bg-alt); }
.nav__call { background: var(--brand); color: #fff !important; padding: 10px 18px; border-radius: var(--radius); font-weight: 600; }
.nav__call:hover { background: var(--brand-dark); }
.nav__toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }
@media (max-width: 900px) {
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px; }
  .nav__links.open { display: flex; }
  .nav__links li { width: 100%; padding: 8px 0; }
  .dropdown { position: static; display: block; box-shadow: none; border: 0; padding: 4px 0 4px 14px; min-width: 0; }
  .nav__toggle { display: block; }
}

/* hero */
.hero { position: relative; color: #fff; background: var(--bg-dark); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,33,46,.55), rgba(21,33,46,.8)); z-index: 1; }
.hero--plain::after { background: linear-gradient(135deg, var(--bg-dark), var(--brand-dark)); }
.hero__inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 92px 20px; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; font-weight: 700; color: rgba(255,255,255,.88); margin-bottom: 12px; }
.hero h1 { color: #fff; max-width: 820px; }
.hero p { color: rgba(255,255,255,.9); font-size: 1.15rem; max-width: 680px; margin-top: 16px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* sections */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section--img { padding: 18px 0; }
.section--img img { width: 100%; border-radius: var(--radius); }
.section__lead { font-size: 1.06rem; }
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { margin-bottom: .6rem; }
.linklist { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 24px; }
.linklist a { display: block; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); }
.linklist a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.faq { max-width: 820px; margin: 28px auto 0; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq details p { margin: 12px 0 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
th { background: var(--bg-dark); color: #fff; font-weight: 600; }

/* cta band */
.cta-band { background: var(--brand); color: #fff; text-align: center; padding: 64px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); }
.cta-band__btn { margin-top: 20px; }
.cta-band .btn { background: #fff; color: var(--brand); border-color: #fff; }
.cta-band .btn:hover { background: var(--bg-alt); }
.cta-band__note { margin-top: 10px; font-size: .9rem; }

/* forms */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 30px rgba(0,0,0,.05); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; font: inherit; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.field textarea { min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.consent { font-size: .82rem; }
.hp { position: absolute; left: -9999px; }

/* footer */
.site-footer { background: var(--bg-dark); color: #fff; padding: 56px 0 24px; }
.site-footer h4 { color: #fff; margin-bottom: 12px; font-size: 1.05rem; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: rgba(255,255,255,.85); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-about { color: rgba(255,255,255,.8); }
.footer-disclaimer { font-size: .8rem; color: rgba(255,255,255,.6); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; font-size: .85rem; color: rgba(255,255,255,.6); }
