:root {
  --bg: #f6f8fb;
  --card: #fff;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --main: #4f46e5;
  --main-700: #4338ca;
  --line: #e2e8f0;
  --success-bg: #ecfdf5;
  --success-line: #a7f3d0;
  --success-text: #065f46;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow: 0 10px 36px rgba(2, 6, 23, 0.08);
  --pad-xs: 8px;
  --pad-sm: 12px;
  --pad: 20px;
  --pad-lg: 28px;
  --pad-xl: 40px;
  --container: 1180px;
}

section {
  padding: clamp(56px, 6vw, 86px) 0;
}
h1 {
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.15;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -0.023em;
  margin: 0;
}
h2 {
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.2;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.023em;
  margin: 0;
}
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(23px, 2vw, 27px);
}
p {
  margin: 0;
  font-size: 18px;
}
.muted {
  color: var(--muted);
}
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 800;
}
.btn-primary {
  background: var(--main);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  background: var(--main-700);
}
.btn-ghost {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover {
  background: #f8fafc;
}
/* Icons (Lucide) */
.lucide {
  width: 20px;
  height: 20px;
  stroke-width: 1.9;
  flex: 0 0 auto;
}
.btn .lucide {
  width: 20px;
  height: 20px;
}
.list .lucide {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}
.feature .lucide {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}
/* Grid helpers */
.grid {
  display: grid;
  gap: clamp(20px, 3.5vw, 40px);
}
.grid-2 {
  grid-template-columns: 1fr;
}
.grid-3 {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 20px;
  }
}
/* Hero */
#home {
  position: relative;
  overflow: hidden;
  height: 100vh;
  background-position-x: 100%;
  background: url(../img/mainm.jpg);
  background-size: cover;
}

#home .lead {
  margin-top: 24px;
  font-size: clamp(16px, 1.7vw, 20px);
  color: #475569;
  margin-bottom: 3rem;
}
#home .actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
#home .container {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 100px;
}

.feature {
  font-size: 16px;
}

@media (min-width: 768px) {
  #home {
    height: 900px;
      background: url(../img/main.jpg);
  }
  .cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .feature {
  font-size: 18px;
}
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #d1fae5;
  color: #047857;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 2rem;
}
.hero-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  text-align: center;
}
.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  font-size: 19px;
  color: #475569;
}
.feature {
  display: flex;
  align-items: center;
}
/* Cards */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 768px) {
  .cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: clamp(18px, 2.4vw, 24px);
  box-shadow: 0 2px 10px rgba(2, 6, 23, 0.04);
}
.card_big {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: clamp(28px, 2.4vw, 39px);
  box-shadow: 0 2px 10px rgba(2, 6, 23, 0.04);
}

.card_big h2 {
  margin-bottom: 2rem;
}

/* About */
#about h2 {
  padding-bottom: 2rem;
}
#about p + p {
  margin-top: 10px;
}
#about .actions {
  margin-top: 33px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

#about b {
  color: #5252ff;
}

/* Programs */
#programs .cards {
  margin-top: 22px;
}

/* slogan */
#slogan {
  padding: 111px 0;
  text-align: center;
  background: url(../img/slogan_bg.jpg) center;
  background-size: cover;
}
/* program2 */
.grid-3 .chip {
  margin-bottom: 10px;
}

.card .img {
  height: 140px;
  margin-bottom: 1.3rem;
  background-size: cover !important;
  background-position: center !important;
  margin-top: 1rem;
}

.grid .card:nth-child(1) .img {
  background: url(../img/program2_1.jpg);
}

.grid .card:nth-child(2) .img {
  background: url(../img/program2_2.jpg);
}

.grid .card:nth-child(3) .img {
  background: url(../img/program2_3.jpg);
}

.grid .card:nth-child(4) .img {
  background: url(../img/program_4.jpg);
}

.grid .card:nth-child(5) .img {
  background: url(../img/program_5.jpg);
}

.grid .card:nth-child(6) .img {
  background: url(../img/program_6.jpg);
}

/* cs */
#cs {
  background: url(../img/cs_bg.jpg) center;
  background-size: cover;
}

#cs .container {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 50px;
}

#cs .container div:nth-child(2) {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .schedule {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #cs .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/* Schedule */
.schedule {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}
@media (min-width: 640px) {
  .schedule {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .schedule {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.slot {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.slot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.slot-no {
  font-size: 13px;
  font-weight: 800;
  color: #4338ca;
}
.slot-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#schedule .note {
  margin-top: 18px;
  border: 1px solid var(--success-line);
  background: var(--success-bg);
  color: var(--success-text);
  border-radius: var(--radius);
  padding: 14px;
  font-size: 15px;
}
/* Voucher */
#voucher .list {
  margin-top: 20px;
  margin-bottom: 2rem;
  font-weight: 700;
  font-size: 20px;
}
#voucher .list li {
  margin-bottom: 2px;
}
#voucher .cta {
  margin-top: 16px;
}
#voucher .banner {
  display: grid;
  place-items: center;
  height: 260px;
  color: #94a3b8;
}
/* Contact */
#contact .list {
  margin-top: 10px;
}
#contact .actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
#mapwrap {
  padding: 0;
  overflow: hidden;
}
#mapwrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
}


/* Small device tuning */
@media (max-width: 459px) {
  #voucher .list {
    font-size: 17px;
  }
  .btn,
  .btn-call {
    padding: 12px 14px;
  }
  .menu {
    gap: 18px;
  }
  .features {
    grid-template-columns: 1fr;
  }
}
