:root {
  --red: #b91522;
  --red-dark: #8f0f19;
  --gold: #f6c65b;
  --ink: #171717;
  --muted: #626262;
  --cream: #fbf7f2;
  --line: #e9e3dc;
  --white: #ffffff;
  --dark: #111111;
  --shadow: 0 18px 50px rgba(16, 16, 16, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.65;
  background: var(--white);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--red);
  color: var(--white);
  font-size: 14px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: transparent;
  color: var(--white);
  flex: 0 0 auto;
}

.brand-mark img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin-top: 3px;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--ink);
  color: var(--white);
  width: 44px;
  height: 44px;
  font-size: 0;
  position: relative;
}

.nav-toggle::before,
.nav-toggle::after,
.nav-toggle span {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--white);
}

.nav-toggle::before {
  top: 14px;
}

.nav-toggle span {
  top: 21px;
}

.nav-toggle::after {
  top: 28px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 800;
  font-size: 15px;
  align-items: baseline;

}

.menu a {
  padding: 28px 0;
}

.menu a:hover,
.menu a.active {
  color: var(--red);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  left: -18px;
  top: 100%;
  width: 265px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  list-style: none;
  margin: 0;
  padding: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  color: var(--ink);
  font-weight: 700;
}

.dropdown-menu a:hover {
  background: var(--cream);
  color: var(--red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 24px;
  border: 2px solid transparent;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
}

.btn:hover {
  background: var(--red-dark);
}

.btn.light {
  background: var(--white);
  color: var(--red);
}

.btn.outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.85);
}

.btn.dark-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.35)),
    url("../images/hero-campus.jpg") center/cover;
}

.hero.alt {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.35)),
    url("../images/hero-campus.jpg") center/cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 9px;
  background: var(--red);
}

.hero-content {
  max-width: 790px;
  padding: 90px 0 120px;
}

.eyebrow {
  color: var(--red);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.hero .eyebrow {
  color: var(--white);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0;
  color: inherit;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 82px);
  max-width: 840px;
  margin: 14px 0 22px;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 52px);
  margin-top: 8px;
}

h3 {
  font-size: 22px;
  font-weight: 900;
}

p {
  margin: 0;
}

p+p {
  margin-top: 16px;
}

h1+p,
h2+p,
h3+p,
.eyebrow+h1,
.eyebrow+h2,
.eyebrow+h3 {
  margin-top: 14px;
}

p+.btn,
p+.hero-actions,
.lead+.hero-actions,
.lead+.tabs,
.lead+.accordion,
.lead+.check-list {
  margin-top: 28px;
}

ul,
ol {
  margin: 18px 0 0;
  padding-left: 22px;
}

li+li {
  margin-top: 9px;
}

main ul:not(.menu):not(.dropdown-menu):not(.check-list),
main ol {
  color: var(--muted);
}

main ul:not(.menu):not(.dropdown-menu):not(.check-list) li::marker {
  color: var(--red);
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 760px;
  line-height: 1.65;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 22px);
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.section {
  padding: 95px 0;
}

.section.soft {
  background: var(--cream);
}

.section.dark {
  background: var(--dark);
  color: var(--white);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.section-head .lead {
  max-width: 520px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: -80px;
  position: relative;
  z-index: 3;
}

.quick-card,
.card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 30px;
  border-radius: 0;
}

.quick-card {
  min-height: 210px;
}

.icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
  box-shadow: inset 0 -5px 0 rgba(246, 198, 91, 0.35);
}

.quick-card p,
.card p {
  color: var(--muted);
}

.quick-card p+.text-link,
.card p+.text-link,
.service-card p+.text-link {
  display: inline-block;
  margin-top: 18px;
}

.text-link {
  color: var(--red);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: center;
}

.image-stack {
  position: relative;
  min-height: 470px;
}

.image-stack img {
  position: absolute;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.image-stack img:first-child {
  width: 78%;
  height: 420px;
  left: 0;
  top: 0;
}

.image-stack img:last-child {
  width: 55%;
  height: 250px;
  right: 0;
  bottom: 0;
  border: 10px solid var(--white);
}

.tabs {
  margin: 28px 0 0;
}

.tab-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.tab-button {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 10px 18px;
  font-weight: 900;
  cursor: pointer;
}

.tab-button.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.tab-panel {
  display: none;
  color: var(--muted);
}

.tab-panel.active {
  display: block;
}

.check-list {
  display: grid;
  gap: 9px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  color: var(--ink);
  line-height: 1.55;
}

.check-list li::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: 0.2s ease;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card .number {
  color: rgba(185, 21, 34, 0.17);
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--muted);
}

.cta-band {
  background: var(--red);
  color: var(--white);
  padding: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2 {
  max-width: 720px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step {
  border-top: 5px solid var(--red);
  padding: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.step p,
.study-card p,
.testimonial p,
.blog-body p {
  color: var(--muted);
}

.step strong {
  color: var(--red);
  font-weight: 900;
}

.study-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.study-card {
  padding: 24px;
  min-height: 145px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(16, 16, 16, 0.06);
}

.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 30px;
}

.testimonial .stars {
  color: var(--red);
  font-weight: 900;
  margin-bottom: 16px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.blog-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.blog-body {
  padding: 24px;
}

.blog-body .meta+h3 {
  margin-top: 10px;
}

.meta {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.inner-hero {
  color: var(--white);
  padding: 115px 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.45)),
    url("../images/hero-campus.jpg") center/cover;
}

.inner-hero h1 {
  font-size: clamp(38px, 5vw, 68px);
}

.inner-hero .lead {
  color: rgba(255, 255, 255, 0.9);
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 34px;
  border-top: 5px solid var(--red);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

textarea {
  min-height: 125px;
  resize: vertical;
}

.note {
  padding: 16px;
  background: var(--cream);
  border-left: 4px solid var(--red);
  color: var(--muted);
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion-item {
  border: 1px solid var(--line);
  background: var(--white);
}

.accordion-button {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 18px 22px;
  text-align: left;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.accordion-panel {
  display: none;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.65;
}

.accordion-item.open .accordion-panel {
  display: block;
}

.footer {
  background: #0f0f0f;
  color: rgba(255, 255, 255, 0.82);
  padding: 70px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 34px;
}

.footer h3 {
  color: var(--white);
  margin-bottom: 18px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.footer a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 40px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

.article {
  max-width: 850px;
  margin: 0 auto;
}

.article h2 {
  margin: 34px 0 14px;
}

.article p {
  color: var(--muted);
  margin-bottom: 16px;
}

@media (max-width: 1040px) {

  .grid,
  .study-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .steps,
  .quick-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .topbar .container {
    flex-direction: column;
    gap: 4px;
  }

  .nav-toggle {
    display: block;
  }

  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    padding: 12px 20px 18px;
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    padding: 12px 0;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 14px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .quick-grid,
  .split,
  .steps {
    grid-template-columns: 1fr !important;
  }

  .quick-grid {
    margin-top: 0;
    padding-top: 32px;
  }

  .section-head,
  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .image-stack {
    min-height: 390px;
  }

  .image-stack img:first-child {
    height: 330px;
  }

  .image-stack img:last-child {
    height: 210px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 70px 0;
  }

  .hero-content {
    padding: 70px 0 90px;
  }

  .grid,
  .study-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .cta-band {
    padding: 34px 24px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}