:root {
  --ink: #07131f;
  --navy: #0d2233;
  --slate: #1a3648;
  --steel: #3d5a6c;
  --mist: #e8eef2;
  --paper: #f7f4ee;
  --cream: #fffdf8;
  --line: rgba(13, 34, 51, 0.12);
  --copper: #c45c26;
  --copper-deep: #9a4318;
  --gold: #d4a574;
  --text: #1c2a33;
  --muted: #5a6b75;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(7, 19, 31, 0.14);
  --radius: 18px;
  --max: 1160px;
  --header: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(7, 19, 31, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--copper), #e07a3d);
  color: var(--white);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 18px;
}

.brand-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.brand-tag {
  display: block;
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 8px 11px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover,
.nav a.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(7, 19, 31, 0.28) 0%, rgba(7, 19, 31, 0.82) 100%),
    var(--hero-image) center/cover no-repeat;
}

.hero-inner {
  padding: 72px 0 80px;
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(42px, 7vw, 78px);
  color: var(--white);
}

.hero p {
  max-width: 62ch;
  color: rgba(255, 253, 248, 0.86);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-hero {
  min-height: 46vh;
  padding-top: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--copper);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--copper-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-muted {
  background: var(--cream);
}

.section-ink {
  background: var(--ink);
  color: rgba(255, 253, 248, 0.86);
}

.section-ink h2,
.section-ink h3 {
  color: var(--white);
}

.grid-3,
.grid-2,
.grid-4 {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 26px;
}

.card p:last-child {
  margin-bottom: 0;
}

.icon-chip {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(196, 92, 38, 0.1);
  color: var(--copper);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.media-frame {
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--navy) center/cover no-repeat;
  box-shadow: var(--shadow);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.stat {
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 32px;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--line);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper);
}

.course {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}

.course-code {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--gold);
  font-weight: 800;
}

.banner {
  border-radius: 28px;
  padding: 48px;
  background:
    linear-gradient(135deg, rgba(7, 19, 31, 0.82), rgba(196, 92, 38, 0.72)),
    var(--banner-image) center/cover no-repeat;
  color: var(--white);
}

.banner h2 {
  color: var(--white);
  max-width: 16ch;
}

.form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--white);
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(42, 157, 143, 0.12);
  color: var(--navy);
  font-weight: 600;
}

.form-status.is-error {
  background: rgba(196, 92, 38, 0.14);
  color: var(--copper-deep);
}

.product-list {
  display: grid;
  gap: 22px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.contact-card {
  background: var(--ink);
  color: rgba(255, 253, 248, 0.84);
  border-radius: 24px;
  padding: 36px;
}

.contact-card h3,
.contact-card a {
  color: var(--white);
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 253, 248, 0.72);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer h4 {
  color: var(--white);
  font-size: 18px;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    padding: 12px;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
  }

  .nav.is-open {
    display: flex;
  }

  .grid-3,
  .grid-2,
  .grid-4,
  .split,
  .form-row,
  .footer-grid,
  .stat-row,
  .course {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 78vh;
    align-items: center;
  }

  .banner,
  .card {
    padding: 24px;
  }
}
