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

:root {
  --text: #1f2937;
  --muted: #667085;
  --green: #33b24a;
  --yellow: #f3c640;
  --pink: #e44f8e;
  --blue: #159fcd;
  --orange: #f07b22;
  --bg: #ffffff;
  --soft: #f7fbff;
  --line: rgba(31, 41, 55, .13);
  --shadow: 0 22px 55px rgba(15, 23, 42, .13);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(1150px, calc(100% - 34px));
  margin: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 82px;
  padding: 12px 28px;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(21, 159, 205, .18);
}

.brand strong {
  display: block;
  font-size: 1.05rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  font-size: .78rem;
}

.menu {
  display: flex;
  gap: 8px;
}

.menu a {
  padding: 9px 13px;
  border-radius: 999px;
  font-weight: 800;
  color: #344054;
}

.menu a:hover {
  background: #eaf8fd;
  color: #0878a1;
}

.menu-btn {
  display: none;
  border: 0;
  background: #eef8fc;
  color: #1f2937;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.4rem;
  cursor: pointer;
}

.hero {
  min-height: 690px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 70px 18px;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image img {
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.88) 45%, rgba(255,255,255,.32) 100%),
    radial-gradient(circle at 20% 30%, rgba(51,178,74,.25), transparent 32%),
    radial-gradient(circle at 82% 40%, rgba(21,159,205,.20), transparent 32%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1040px, 100%);
  margin: auto;
  padding: 48px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.tag,
.section-label {
  display: inline-block;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
  color: #0878a1;
  margin-bottom: 14px;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(2.7rem, 8vw, 6.3rem);
  line-height: .93;
  letter-spacing: -.06em;
  margin-bottom: 20px;
}

.subtitle {
  max-width: 700px;
  color: #344054;
  font-size: 1.16rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: .25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: white;
  box-shadow: 0 14px 35px rgba(21,159,205,.28);
}

.btn-light {
  background: white;
  border: 1px solid var(--line);
  color: #0b6c3a;
}

.section {
  padding: 82px 0;
}

.intro,
.courses,
.gallery {
  background: var(--soft);
}

.intro-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 28px;
  align-items: center;
}

.intro-text,
.poster-card,
.card,
.area-box,
.institution-box,
.gallery-grid figure {
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 28px;
}

.intro-text {
  padding: 42px;
}

.intro-text h2,
.section-title h2,
.institution h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  margin-bottom: 16px;
}

.intro-text p,
.section-title p,
.area-box p,
.institution p {
  color: var(--muted);
  font-size: 1.04rem;
}

.poster-card {
  padding: 12px;
}

.poster-card img {
  border-radius: 20px;
  object-fit: contain;
}

.section-title {
  text-align: center;
  max-width: 790px;
  margin: 0 auto 42px;
}

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

.card {
  min-height: 415px;
  color: white;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  width: 165px;
  height: 165px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  position: absolute;
  right: -60px;
  top: -55px;
}

.card.green {
  background: linear-gradient(145deg, #34b64e, #0e7f45);
}

.card.yellow {
  background: linear-gradient(145deg, #f4cf47, #e9961b);
  color: #35260c;
}

.card.pink {
  background: linear-gradient(145deg, #e95692, #a51d5d);
}

.card.blue {
  background: linear-gradient(145deg, #18a9d5, #06678d);
}

.icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,.22);
  font-size: 2rem;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.5rem;
  line-height: 1.1;
  margin-bottom: 16px;
}

.card ul {
  list-style: none;
  display: grid;
  gap: 9px;
}

.card li {
  position: relative;
  padding-left: 20px;
  font-weight: 700;
}

.card li::before {
  content: "•";
  position: absolute;
  left: 0;
}

.course-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 32px;
  background: white;
  border-radius: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.course-list span {
  padding: 14px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(51,178,74,.12), rgba(21,159,205,.12));
  border: 1px solid rgba(21,159,205,.15);
  font-weight: 900;
  color: #164e63;
}

.course-list span:nth-child(even) {
  background: linear-gradient(135deg, rgba(228,79,142,.12), rgba(240,123,34,.12));
  color: #7c2048;
}

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

.area-box {
  padding: 28px;
}

.area-box h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.gallery-grid figure {
  padding: 10px;
  overflow: hidden;
}

.gallery-grid img {
  height: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 20px;
  background: #eef2f7;
}

.institution {
  background: white;
}

.institution-box {
  padding: 46px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(243,198,64,.22), transparent 30%),
    radial-gradient(circle at 85% 25%, rgba(21,159,205,.18), transparent 32%),
    white;
}

.seal {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 7px solid rgba(21,159,205,.2);
  background: white;
  color: #0878a1;
  font-size: 2.2rem;
  font-weight: 900;
}

.footer {
  padding: 34px 18px;
  text-align: center;
  color: white;
  background: #111827;
}

.footer p + p {
  color: rgba(255,255,255,.72);
}

@media (max-width: 980px) {
  .cards,
  .area-grid,
  .intro-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    padding: 12px 18px;
  }

  .menu-btn {
    display: block;
  }

  .menu {
    display: none;
    position: absolute;
    top: 78px;
    left: 18px;
    right: 18px;
    flex-direction: column;
    padding: 12px;
    border: 1px solid var(--line);
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    text-align: center;
  }

  .hero {
    min-height: 610px;
    padding: 55px 17px;
  }

  .hero-content {
    padding: 32px 24px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .section {
    padding: 60px 0;
  }

  .cards,
  .area-grid,
  .intro-grid,
  .gallery-grid,
  .institution-box {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .seal {
    margin: auto;
  }
}

@media (max-width: 430px) {
  .brand small {
    display: none;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .course-list span {
    width: 100%;
    text-align: center;
  }
}
