:root {
  --ink: #202521;
  --muted: #687068;
  --paper: #f7f6f2;
  --surface: #fbfaf7;
  --line: #d9dbd4;
  --blue: #526458;
  --blue-dark: #39473e;
  --green: #526458;
  --warm: #9a806b;
  --max: 1120px;
  --shadow: 0 14px 40px rgba(32, 37, 33, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 15.5px/1.72 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.wrap { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; padding: 10px 14px; background: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(217, 219, 212, .85);
  background: rgba(247, 246, 242, .95);
  backdrop-filter: blur(14px);
}
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; line-height: 1.15; letter-spacing: .01em; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 500; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--blue); }
.nav-links .nav-cta { padding: 7px 12px; border: 1px solid var(--ink); border-radius: 2px; color: var(--ink); background: transparent; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.nav-toggle span { display: block; width: 19px; height: 2px; margin: 4px auto; background: currentColor; }

.hero { position: relative; overflow: hidden; padding: 122px 0 108px; background: var(--paper); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .65;
  background: linear-gradient(90deg, transparent 0 68%, rgba(82,100,88,.06) 68% 68.1%, transparent 68.1%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .75fr; align-items: center; gap: 56px; }
.hero-grid-single { grid-template-columns: minmax(0, 820px); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; color: var(--blue-dark); font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { max-width: 780px; margin-bottom: 26px; font-size: clamp(43px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -.035em; }
.identity-title { font-size: clamp(42px, 6vw, 68px); letter-spacing: .01em; }
.identity-title span { display: block; margin-top: 14px; font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--muted); font-size: clamp(13px, 1.5vw, 17px); font-weight: 500; letter-spacing: .18em; }
h2 { margin-bottom: 20px; font-size: clamp(31px, 4vw, 46px); line-height: 1.12; letter-spacing: -.025em; }
h3 { margin-bottom: 10px; line-height: 1.3; font-size: 21px; }
.hero-lead { max-width: 620px; color: var(--muted); font-size: clamp(17px, 1.8vw, 19px); }
.hero-slider { position: relative; max-width: 620px; min-height: 128px; margin-top: 30px; padding: 18px 18px 40px; border: 1px solid var(--line); background: rgba(255,255,255,.38); overflow: hidden; }
.hero-slide { position: absolute; inset: 18px 18px 40px; opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.hero-slide span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 11px; letter-spacing: .15em; }
.hero-slide strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 400; line-height: 1.2; }
.hero-slide p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.slider-dots { position: absolute; left: 18px; bottom: 15px; display: flex; gap: 7px; }
.slider-dots button { width: 22px; height: 2px; padding: 0; border: 0; background: var(--line); cursor: pointer; }
.slider-dots button.active { background: var(--blue); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 9px 16px; border: 1px solid transparent; border-radius: 2px; font-size: 13px; font-weight: 600; letter-spacing: .02em; text-decoration: none; transition: color .16s ease, background .16s ease, border-color .16s ease; }
.button:hover { transform: none; }
.button.primary { color: #fff; background: var(--blue); }
.button.secondary { border-color: var(--line); background: transparent; }
.button.light { color: var(--ink); background: #fff; }

.program-alert { position: relative; z-index: 2; margin-top: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.alert-inner { padding: 22px 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; color: var(--ink); background: transparent; box-shadow: none; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: none; }
.alert-inner strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 400; }
.alert-inner p { margin: 0; color: var(--muted); font-size: 13px; }

section { padding: 108px 0; }
.reveal-section { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal-section.is-visible { opacity: 1; transform: translateY(0); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head p, .lead { color: var(--muted); font-size: 17px; }
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.card { padding: 30px 24px 30px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.card:nth-child(odd) { border-right: 1px solid var(--line); }
.card:nth-child(even) { padding-left: 30px; }
.card-number { display: block; width: auto; height: auto; margin-bottom: 16px; border: 0; border-radius: 0; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .12em; }
.card p { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.dark-section { color: #fff; background: #36443a; }
.dark-section .eyebrow { color: rgba(255,255,255,.7); }
.dark-section .lead { color: rgba(255,255,255,.68); }
.program-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 70px; align-items: start; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.22); }
.stat { min-height: 130px; padding: 24px 20px 20px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.22); border-radius: 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.22); }
.stat strong { display: block; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 34px; font-weight: 400; line-height: 1.1; }
.stat span { color: rgba(255,255,255,.62); font-size: 14px; }
.steps { margin: 30px 0 0; padding: 0; list-style: none; counter-reset: steps; }
.steps li { position: relative; padding: 0 0 28px 48px; color: rgba(255,255,255,.72); counter-increment: steps; }
.steps li::before { content: counter(steps); position: absolute; left: 0; top: 0; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: #fff; font-size: 12px; font-weight: 900; }
.steps li::after { content: ""; position: absolute; left: 14px; top: 35px; bottom: 5px; width: 1px; background: rgba(255,255,255,.18); }
.steps li:last-child::after { display: none; }

.updates-section { background: #f1f0eb; overflow: hidden; }
.updates-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.update-card { min-height: 260px; padding: 24px; border: 1px solid var(--line); background: var(--surface); scroll-snap-align: start; transition: transform .2s ease, border-color .2s ease; }
.update-card:hover { transform: translateY(-4px); border-color: rgba(82,100,88,.45); }
.update-card span { display: inline-block; margin-bottom: 24px; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.update-card h3 { font-size: 24px; }
.update-card p { color: var(--muted); }
.update-card a { color: var(--blue-dark); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.faq-section { background: var(--paper); }

.about-grid, .contact-grid { display: grid; grid-template-columns: .8fr 1.1fr; gap: 64px; align-items: start; }
.about-grid-single { grid-template-columns: minmax(0, 850px); }
.contact-section { background: #eeeee9; }
.seo-section { background: #eef2f4; }
.seo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.seo-grid > div:first-child p:not(.lead) { color: var(--muted); }
.seo-grid > div > h3 { margin-bottom: 18px; font-size: 22px; }
.check-list { display: grid; gap: 12px; margin: 26px 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 29px; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.contact-box { padding: 0; border: 0; border-radius: 0; background: transparent; }
.contact-meta { margin-bottom: 26px; }
.contact-link { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 600; text-decoration: none; }
.contact-link span { color: var(--muted); font-size: 13px; font-weight: 700; }
.facebook-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border: 1px solid rgba(24, 119, 242, .18); border-radius: 4px; color: var(--ink); background: rgba(24, 119, 242, .06); text-decoration: none; transition: background .16s ease, border-color .16s ease; }
.facebook-link:hover { border-color: rgba(24, 119, 242, .32); background: rgba(24, 119, 242, .1); }
.facebook-icon, .footer-facebook-icon { display: inline-grid; place-items: center; flex: 0 0 auto; color: #fff; background: #1877f2; font-family: Arial, sans-serif; font-weight: 800; line-height: 1; }
.facebook-icon { width: 32px; height: 32px; border-radius: 50%; font-size: 23px; padding-top: 6px; }
.facebook-link strong { display: block; font-size: 14px; line-height: 1.2; }
.facebook-link small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.2; }
.facebook-link-light { margin-top: 16px; color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.08); }
.facebook-link-light:hover { border-color: rgba(255,255,255,.36); background: rgba(255,255,255,.14); }
.facebook-link-light small { color: rgba(255,255,255,.7); }
.fineprint { color: var(--muted); font-size: 13px; }
.contact-form { display: grid; gap: 15px; }
.contact-form label { display: grid; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 45px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); background: transparent; font: inherit; }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid rgba(23,92,143,.22); border-color: var(--blue); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-status { min-height: 22px; margin: 0; color: var(--blue-dark); font-size: 14px; font-weight: 800; }
.hidden-field { display: none; }
.floating-contact { position: fixed; right: 18px; bottom: 18px; z-index: 35; display: flex; gap: 8px; align-items: center; }
.floating-contact a { min-width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid rgba(32,37,33,.12); border-radius: 999px; color: #fff; background: var(--blue); box-shadow: var(--shadow); font-size: 13px; font-weight: 700; text-decoration: none; }
.floating-contact a:last-child { width: 46px; padding: 0; background: #1877f2; font-family: Arial, sans-serif; font-size: 25px; padding-top: 6px; }
.site-footer { padding: 30px 0; color: var(--muted); background: var(--paper); border-top: 1px solid var(--line); font-size: 12px; }
.footer-grid { display: flex; justify-content: space-between; gap: 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--ink); }
.footer-social { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.footer-facebook-icon { width: 18px; height: 18px; border-radius: 50%; font-size: 14px; padding-top: 4px; }

/* Program detail page */
.page-hero { padding: 92px 0 78px; color: #fff; background: #36443a; }
.breadcrumbs { margin-bottom: 25px; color: rgba(255,255,255,.55); font-size: 13px; }
.breadcrumbs a { color: #fff; }
.page-hero h1 { max-width: 920px; font-size: clamp(40px, 6vw, 68px); }
.page-hero .hero-lead { color: rgba(255,255,255,.7); }
.status-pill { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 2px; color: #fff; background: transparent; font-size: 12px; font-weight: 500; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 58px; align-items: start; }
.article h2 { margin-top: 54px; font-size: clamp(27px, 3vw, 38px); }
.article h2:first-child { margin-top: 0; }
.article h3 { margin-top: 30px; }
.article p, .article li { color: #43505d; }
.article ul { padding-left: 22px; }
.info-table { width: 100%; border-collapse: collapse; margin: 24px 0; background: #fff; }
.info-table th, .info-table td { padding: 15px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 34%; color: var(--blue-dark); background: #eef3f6; }
.sidebar { position: sticky; top: 94px; display: grid; gap: 14px; }
.sidebar-card { padding: 22px; border-radius: 0; background: var(--surface); border: 1px solid var(--line); }
.sidebar-card.green { color: #fff; background: #526458; border-color: #526458; }
.sidebar-card p { margin-bottom: 14px; font-size: 14px; }
.sidebar-card.green p { color: rgba(255,255,255,.76); }
.official-links { display: grid; gap: 10px; }
.official-links a { color: var(--blue); font-weight: 800; }
.faq { display: grid; gap: 10px; }
.faq-item { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.faq-button { width: 100%; padding: 18px 0; display: flex; justify-content: space-between; gap: 20px; border: 0; color: var(--ink); background: transparent; font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.faq-button::after { content: "+"; color: var(--blue); font-size: 22px; }
.faq-item.open .faq-button::after { content: "−"; }
.faq-panel { display: none; padding: 0 18px 18px; }
.faq-item.open .faq-panel { display: block; }
.faq-panel p { margin: 0; color: var(--muted); }
.note { padding: 18px 20px; border-left: 4px solid var(--warm); background: #fff8f1; color: #64452f; }

@media (max-width: 900px) {
  .hero-grid, .program-grid, .about-grid, .contact-grid, .article-layout, .seo-grid { grid-template-columns: 1fr; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .sidebar { position: static; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 68px; left: 16px; right: 16px; display: none; padding: 12px; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--line); border-radius: 2px; background: #fff; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .hero { padding-top: 62px; }
  .hero-slider { min-height: 160px; }
  .alert-inner { grid-template-columns: auto 1fr; }
  .alert-inner .button { grid-column: 1 / -1; }
  section { padding: 72px 0; }
  .footer-grid { flex-direction: column; }
  .floating-contact { left: 16px; right: 16px; justify-content: flex-end; }
}

@media (max-width: 540px) {
  .services, .stats { grid-template-columns: 1fr; }
  h1 { font-size: 41px; }
  .actions { display: grid; }
  .button { width: 100%; }
  .updates-track { grid-auto-columns: 86%; }
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: 100%; }
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide, .reveal-section, .update-card { transition: none; }
  .reveal-section { opacity: 1; transform: none; }
}
