/* ==========================================================================
   Weptington College — modern theme
   Fictional institution created for demonstration purposes.
   ========================================================================== */

:root {
  --bg: #faf8f4;
  --surface: #ffffff;
  --surface-2: #f2efe6;
  --ink: #141a33;
  --muted: #565c76;
  --line: #e5e1d6;

  --brand: #232c86;
  --brand-strong: #1a2166;
  --on-brand: #ffffff;
  --link: #2a34a8;

  --accent: #f2a93b;
  --accent-soft: #fdf1da;
  --on-accent: #2a1c02;

  --hero-a: #141b57;
  --hero-b: #3443c2;
  --footer-bg: #0f1440;

  --mark-bg: #232c86;
  --mark-fg: #f2a93b;

  --ok: #1f7a4d;
  --ok-soft: #e3f4ea;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 26, 51, .05), 0 8px 28px rgba(20, 26, 51, .07);
  --shadow-lg: 0 2px 4px rgba(20, 26, 51, .06), 0 24px 60px rgba(20, 26, 51, .16);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --max: 1160px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1020;
    --surface: #151a33;
    --surface-2: #1a2040;
    --ink: #eceef9;
    --muted: #a3a9c6;
    --line: #272d4f;

    --brand: #8f9cff;
    --brand-strong: #a9b3ff;
    --on-brand: #0d1020;
    --link: #a5b0ff;

    --accent-soft: #2b2412;

    --footer-bg: #080a18;
    --mark-bg: #f2a93b;
    --mark-fg: #141a33;

    --ok: #6fd3a0;
    --ok-soft: #12291f;

    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px rgba(0, 0, 0, .28);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 60px rgba(0, 0, 0, .45);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .6em;
  color: var(--ink);
}
h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1.1em; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--on-accent); padding: .6rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.35rem; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: .98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .38); }
.btn-light:hover { background: rgba(255, 255, 255, .18); }
.btn-sm { padding: .55rem 1.05rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
@supports (background: color-mix(in srgb, red 50%, blue)) {
  .site-header { background: color-mix(in srgb, var(--bg) 84%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }

.brand { display: flex; align-items: center; gap: .75rem; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: none; }
.logo-mark { width: 42px; height: 42px; flex: none; }
.logo-mark rect { fill: var(--mark-bg); }
.logo-mark path { stroke: var(--mark-fg); fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; letter-spacing: -.01em; }
.brand-sub { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.primary-nav li { position: relative; }
.primary-nav a:not(.btn) {
  display: block; padding: .5rem .8rem; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem;
}
.primary-nav a:not(.btn):hover { background: var(--surface-2); }
.primary-nav a[aria-current] { background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.primary-nav .btn { margin-left: .5rem; }
.has-sub > a::after { content: ""; display: inline-block; width: .42em; height: .42em; margin-left: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .6; }
.sub {
  position: absolute; left: 0; top: 100%;
  min-width: 250px; padding: .5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.primary-nav .sub { display: block; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a:not(.btn) { border-radius: 10px !important; padding: .55rem .8rem !important; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 12px; width: 46px; height: 46px; cursor: pointer; padding: 0; color: var(--ink); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: .75rem 20px 1.25rem; max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .js .primary-nav { display: none; }
  .js .nav-open .primary-nav { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav a:not(.btn) { padding: .8rem .6rem; border-radius: 10px; }
  .has-sub > a::after { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 .4rem 1rem; min-width: 0; }
  .primary-nav .btn { margin: .75rem 0 0; justify-content: center; width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(242, 169, 59, .28), transparent 60%),
    linear-gradient(135deg, var(--hero-a), var(--hero-b));
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to left, #000, transparent 65%);
  mask-image: linear-gradient(to left, #000, transparent 65%);
}
.hero::after {
  content: ""; position: absolute; width: 640px; height: 640px; right: -180px; bottom: -340px;
  border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .18);
  box-shadow: 0 0 0 60px rgba(255, 255, 255, .03), 0 0 0 120px rgba(255, 255, 255, .025);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1, .hero h2, .hero h3 { color: #fff; }
.hero .lead { color: rgba(255, 255, 255, .86); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 46rem; line-height: 1.6; }

.glass-card {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 22px; padding: 1.75rem; box-shadow: var(--shadow-lg);
}
.glass-card h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.glass-card .tag { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: var(--on-accent); padding: .3rem .7rem; border-radius: 999px; margin-bottom: 1rem; }
.date-list { list-style: none; padding: 0; margin: 1.2rem 0; }
.date-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .96rem; }
.date-list li span:last-child { font-weight: 600; white-space: nowrap; }
.glass-card a.text-link { color: #fff; font-weight: 600; }

@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Page head ---------- */
.page-head {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(700px 320px at 90% 0%, rgba(242, 169, 59, .25), transparent 60%), linear-gradient(135deg, var(--hero-a), var(--hero-b));
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .2) 1.2px, transparent 1.2px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to left, #000, transparent 55%); mask-image: linear-gradient(to left, #000, transparent 55%);
}
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.3rem); margin-bottom: .4em; }
.page-head .lead { color: rgba(255, 255, 255, .86); margin-bottom: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1.25rem; font-size: .88rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .55; }
.crumbs a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.alt { background: var(--surface-2); }
.section-head { max-width: 44rem; margin-bottom: 2.5rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-bottom: 0; }
.section .eyebrow { color: var(--brand); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.top { align-items: start; }
.split > *, .form-shell > *, .grid > *, .hero-grid > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.muted { color: var(--muted); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 1.25rem; }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.cols-majors { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; display: flex; flex-direction: column;
}
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); }
a.card { text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .more { margin-top: auto; padding-top: 1rem; font-weight: 600; color: var(--link); display: inline-flex; align-items: center; gap: .4rem; }
.card .more .icon { transition: transform .18s ease; }
a.card:hover .more .icon { transform: translateX(4px); }

.icon-badge {
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 1.1rem;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--brand);
}
.icon-badge .icon { width: 24px; height: 24px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-top: -3rem; position: relative; z-index: 2; }
.stat { padding: 1.6rem 1.4rem; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1; color: var(--brand); margin-bottom: .45rem; }
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 700px) { .stat { border-right: 0; border-bottom: 1px solid var(--line); } .stat:last-child { border-bottom: 0; } }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.chip { display: inline-block; padding: .28rem .8rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: .85rem; font-weight: 500; color: var(--ink); }
.section.alt .chip { background: var(--surface); }
.chip.hl { background: var(--accent-soft); border-color: transparent; font-weight: 600; }

/* ---------- Spotlight / CTA bands ---------- */
.spotlight {
  position: relative; overflow: hidden; color: #fff; border-radius: 28px;
  background: radial-gradient(600px 300px at 100% 0%, rgba(242, 169, 59, .3), transparent 60%), linear-gradient(135deg, var(--hero-a), var(--hero-b));
  padding: clamp(2rem, 5vw, 3.75rem);
}
.spotlight h2, .spotlight h3 { color: #fff; }
.spotlight p { color: rgba(255, 255, 255, .86); }
.spotlight .eyebrow { color: var(--accent); }
.spotlight-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.spotlight-list li { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 16px; padding: 1rem 1.2rem; }
.spotlight-list code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .8rem; color: var(--accent); letter-spacing: .05em; }
.spotlight-list strong { display: block; font-weight: 600; }
.spotlight-list span { font-size: .93rem; color: rgba(255, 255, 255, .78); }

.cta-band { text-align: center; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Steps / timeline ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: relative; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand); color: var(--on-brand); font-family: var(--font-head); font-weight: 600; margin-bottom: 1rem;
}
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--muted); font-size: .98rem; margin-bottom: 0; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 1.6rem; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.75rem 1.2rem; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.6rem - 7px); top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); box-sizing: content-box; }
.timeline strong { font-family: var(--font-head); font-size: 1.15rem; display: block; }
.timeline span { color: var(--muted); }

/* ---------- Course lists ---------- */
.course-group { margin-bottom: 2.5rem; }
.course-group > h3 { display: flex; align-items: center; gap: .6rem; }
.course-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.course-list li { display: grid; grid-template-columns: 6.5rem 1fr auto; gap: 1rem; padding: 1.1rem 1.4rem; border-top: 1px solid var(--line); align-items: baseline; }
.course-list li:first-child { border-top: 0; }
.course-code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .88rem; font-weight: 600; color: var(--brand); letter-spacing: .03em; }
.course-title { font-weight: 600; display: block; }
.course-desc { color: var(--muted); font-size: .96rem; display: block; margin-top: .15rem; }
.course-credits { color: var(--muted); font-size: .86rem; white-space: nowrap; }
@media (max-width: 640px) { .course-list li { grid-template-columns: 1fr; gap: .25rem; } }

.major-card .degree { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.major-card.featured { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow); }
.badge-new { display: inline-block; background: var(--accent); color: var(--on-accent); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 999px; margin-left: .5rem; vertical-align: middle; }

.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.facts li { display: flex; gap: .8rem; align-items: flex-start; }
.facts .icon { margin-top: .25em; color: var(--brand); }

.checklist { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist .icon { color: var(--ok); margin-top: .3em; stroke-width: 2.4; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .98rem; }
th, td { text-align: left; padding: .95rem 1.25rem; border-bottom: 1px solid var(--line); }
th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
tfoot td { font-weight: 700; background: var(--surface-2); }
.table-note { font-size: .88rem; color: var(--muted); margin-top: .9rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; max-width: 50rem; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
summary { cursor: pointer; padding: 1.05rem 1.3rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details > div { padding: 0 1.3rem 1.2rem; color: var(--muted); }
details > div > :last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-shell { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 980px) { .form-shell { grid-template-columns: minmax(0, 1fr); } }
.form-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3.5vw, 2.4rem); box-shadow: var(--shadow); }
fieldset { border: 0; padding: 0; margin: 0 0 2rem; min-width: 0; }
legend { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; padding: 0 0 .7rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); width: 100%; color: var(--ink); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; margin-top: .3rem; }
.req { color: #c2412d; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 12px; padding: .75rem .9rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 170px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--accent-soft); }
input:user-invalid, select:user-invalid, textarea:user-invalid { border-color: #c2412d; }
.choice { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); cursor: pointer; }
.choice input { margin-top: .3rem; accent-color: var(--brand); width: 1.05rem; height: 1.05rem; flex: none; }
.choice b { display: block; font-weight: 600; }
.choice small { color: var(--muted); }
.choice:has(input:checked) { border-color: var(--brand); background: var(--accent-soft); }
.choice-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .8rem; }

.notice { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: 14px; background: var(--accent-soft); border: 1px solid transparent; margin-bottom: 1.75rem; font-size: .97rem; }
.notice .icon { margin-top: .2em; color: var(--brand); }
.notice p { margin: 0; }
.form-success { display: none; text-align: center; padding: 2.5rem 1rem; }
.form-success.is-visible { display: block; }
.form-success .badge { width: 68px; height: 68px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin: 0 auto 1.25rem; }
.form-success .badge .icon { width: 34px; height: 34px; stroke-width: 2.4; }
.form-success:focus { outline: none; }

.aside-stack { display: grid; gap: 1.25rem; position: sticky; top: 96px; }
@media (max-width: 980px) { .aside-stack { position: static; } }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.aside-card h3 { font-size: 1.15rem; }
.aside-card > :last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-line { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: .8rem; }
.contact-line span { min-width: 0; overflow-wrap: anywhere; }
.contact-line .icon { margin-top: .3em; color: var(--brand); }
.map-card { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.map-card svg { width: 100%; height: auto; }
.map-card .map-bg { fill: var(--surface-2); }
.map-card .map-block { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.map-card .map-park { fill: var(--ok-soft); stroke: none; }
.map-card .map-road { stroke: var(--line); stroke-width: 10; fill: none; stroke-linecap: round; }
.map-card .map-main { stroke: var(--accent); stroke-width: 12; fill: none; stroke-linecap: round; opacity: .9; }
.map-card .map-label { font: 600 12px var(--font-body); fill: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.map-card .map-pin-shape { fill: var(--brand); }
.map-card .map-pin-dot { fill: var(--surface); }
.map-caption { padding: 1.1rem 1.4rem; border-top: 1px solid var(--line); font-size: .95rem; }
.map-caption strong { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: rgba(255, 255, 255, .75); padding: 4rem 0 2rem; font-size: .96rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand-sub { color: rgba(255, 255, 255, .6); }
.site-footer .logo-mark rect { fill: var(--accent); }
.site-footer .logo-mark path { stroke: #141a33; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; color: rgba(255, 255, 255, .6); }
.footer-bottom p { margin: 0; }
.footer-address { font-style: normal; line-height: 1.7; }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .btn-row, .nav-toggle { display: none !important; }
  .hero, .page-head, .spotlight { background: none !important; color: #000 !important; }
  .hero *, .page-head *, .spotlight * { color: #000 !important; }
}
