* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #1a2332;
  --navy-dark: #10161f;
  --slate: #5a6c7e;
  --gold: #b9a888;
  --ink: #1c1d1f;
  --gray: #6a6f73;
  --line: #e6e8ea;
  --bg: #f7f9fa;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #ffffff;
  color: var(--ink);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { display: block; }

/* Construction bar */

.construction-bar {
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 20px;
  font-size: 13px;
  text-align: center;
}

.construction-badge {
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 999px;
}

.construction-text {
  font-weight: 600;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-dark); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-ghost:hover { background: #f2f0ec; }

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

/* Navbar */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.navbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand-logo {
  height: 46px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-right: auto;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.nav-links a:hover { color: var(--navy); }

/* Hero */

.hero {
  background: linear-gradient(180deg, #f8f6f2 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 56px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.pill-outline {
  border: 1px solid var(--navy);
  color: var(--navy);
}

.hero-copy h1 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--ink);
}

.hero-copy p {
  font-size: 17px;
  color: var(--gray);
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-size: 26px;
  color: var(--navy);
  font-weight: 800;
}

.stat span {
  font-size: 13px;
  color: var(--gray);
  margin-top: 2px;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 48px 36px;
  box-shadow: 0 20px 50px rgba(26,35,50,0.10);
}

.hero-logo {
  width: 100%;
  max-width: 340px;
  height: auto;
}

/* Notice */

.notice {
  background: #f8f5ee;
  border-top: 1px solid #ecdfc6;
  border-bottom: 1px solid #ecdfc6;
}

.notice-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 36px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

.notice .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 8px;
  box-shadow: 0 0 0 5px rgba(185,168,136,0.25);
}

.notice-copy h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.notice-copy p {
  font-size: 15px;
  color: #7a6f57;
}

/* Section headings */

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 44px;
}

.section-head h2, .about h2, .contact h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--ink);
}

.section-head p {
  color: var(--gray);
  font-size: 15px;
}

/* Courses */

.courses {
  background: var(--bg);
}

.courses-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.course-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.course-card:hover {
  box-shadow: 0 14px 32px rgba(26,35,50,0.14);
  transform: translateY(-3px);
}

.course-thumb {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.course-card:hover .course-thumb img {
  transform: scale(1.05);
}

.course-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,22,31,0) 40%, rgba(16,22,31,0.78) 100%);
}

.thumb-label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.course-body {
  padding: 20px;
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  background: #f1ede3;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.course-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.course-body p {
  font-size: 13.5px;
  color: var(--gray);
}

/* About */

.about {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.about-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 72px 24px;
  text-align: center;
}

.about p {
  color: var(--gray);
  font-size: 16px;
}

/* Contact */

.contact {
  background: var(--navy);
  color: #fff;
}

.contact-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 72px 24px;
  text-align: center;
}

.contact h2 { color: #fff; }

.contact p {
  color: #cfd3d8;
  margin-bottom: 26px;
  font-size: 15px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.contact .btn-primary {
  background: #fff;
  color: var(--navy);
}
.contact .btn-primary:hover { background: #e8edf9; }

.contact .btn-ghost {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.contact .btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* Footer */

.site-footer {
  background: var(--navy-dark);
  color: #b0a892;
  text-align: center;
  padding: 22px;
  font-size: 13px;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual { order: -1; max-width: 220px; margin: 0 auto; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}

@media (max-width: 560px) {
  .course-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
}
