:root {
  --maroon: #240000;
  --ink: #111;
  --text: #333;
  --accent: #ff9600;
  --gold: #fff498;
  --light: #f4f4f4;
  --footer: #1c141f;
  --footer-bottom: #100b13;
  --container: 1080px;
  --font: "Roboto", system-ui, sans-serif;
  --font-head: "Roboto Condensed", "Roboto", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.7 var(--font); color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 15px; }
.grid { display: grid; gap: 30px; }
.grid > * { min-width: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.btn { display: inline-block; padding: 12px 28px; font-weight: 700; letter-spacing: .03em; text-decoration: none; border-radius: 2px; transition: opacity .25s, background .25s; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #e68700; color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--maroon); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: 90px; }
.brand img { height: 56px; width: auto; }
.header-phone { margin-left: auto; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--gold); }
.primary-nav ul { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.primary-nav a { color: #fff; font-family: var(--font-head); font-size: .95rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; }
.primary-nav a:hover { color: var(--gold); }
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; display: flex; align-items: center; justify-content: center; min-height: 540px; padding: 80px 0; overflow: hidden; text-align: center; color: #fff; background: var(--maroon); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 57% 43%; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.hero__inner { position: relative; z-index: 1; max-width: 700px; }
.hero h1 { color: #f2f2f2; text-transform: uppercase; margin-bottom: .3em; }
.kicker { font-family: var(--font-head); font-size: 1.4rem; margin-bottom: .3em; }
.hero__lead { font-size: 1.05rem; margin-bottom: 1.6em; }
.hero a { color: #fff; }

/* Sections */
.section { padding: 60px 0; }
.section--light { background: var(--light); }
.section--dark { position: relative; background: var(--maroon); color: #e8dfe4; }
.section--dark::before { content: ""; position: absolute; inset: 0; background: rgba(147, 70, 238, .233); pointer-events: none; }
.section--contact { background: var(--footer); }
.section--contact::before { display: none; }
.section--dark .container { position: relative; z-index: 1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a { color: var(--gold); }

.section-title { display: flex; align-items: center; gap: 20px; justify-content: center; text-align: center; text-transform: uppercase; letter-spacing: .02em; margin-bottom: .8em; }
.section-title::before, .section-title::after { content: ""; flex: 1; height: 2px; background: currentColor; opacity: .12; }
.section-title--left { justify-content: flex-start; }
.section-title--left::before { display: none; }
.section-lead { text-align: center; margin-bottom: 2em; }

/* About */
.about { grid-template-columns: 1fr; align-items: center; }
.about__media img { width: 100%; }

/* Cards */
.cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards--two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: #fff; color: var(--text); overflow: hidden; }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card__body { padding: 18px 20px 22px; text-align: center; }
.card__body h3 { color: var(--ink); margin-bottom: .3em; }
.card__body p { margin: 0; }

/* Vision */
.vision { grid-template-columns: 1fr; align-items: start; }
.vision__media img { width: 100%; }
.vision h3 { margin-top: .8em; }
.mission { margin: 0; }
.mission dt { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.mission dd { margin: 0 0 1em; }

/* Posts */
.posts { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.post { background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .08); }
.post img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post h3 { font-size: 1rem; line-height: 1.4; margin: 0; padding: 16px 18px 20px; }

/* Contact */
.contact { grid-template-columns: 1fr; }
.contact__info { font-style: normal; }
.contact__info p { margin: 0 0 .6em; }
.contact strong { color: #fff; }

/* Footer */
.site-footer { background: var(--footer-bottom); color: rgba(255, 255, 255, .8); font-size: .92rem; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 24px; padding-bottom: 24px; }
.site-footer p { margin: 0; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

@media (min-width: 850px) {
  .about { grid-template-columns: 5fr 7fr; }
  .vision { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 1023px) {
  .nav-toggle { display: block; margin-left: auto; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; z-index: 60; }
  .nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 11px; width: 22px; height: 2px; background: #fff; }
  .nav-toggle__bar { top: 21px; }
  .nav-toggle__bar::before { top: -7px; left: 0; }
  .nav-toggle__bar::after { top: 7px; left: 0; }
  .brand { position: relative; z-index: 60; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--maroon); padding: 10px 15px 20px; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; margin: 0; }
  .primary-nav li + li { border-top: 1px solid rgba(255, 255, 255, .12); }
  .primary-nav a { display: block; padding: 13px 0; }
  .header-phone { margin-left: 0; order: 3; font-size: 1rem; }
}

@media (max-width: 549px) {
  .site-header__inner { min-height: 70px; }
  .brand img { height: 42px; }
  .hero { min-height: 380px; padding: 60px 0; }
  .hero::after { background: rgba(0, 0, 0, .68); }
  .section { padding: 42px 0; }
  .section-title { gap: 12px; }
}
