/* Базовий CSS reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  text-rendering: optimizeSpeed;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

ul, ol {
  list-style: none;
}

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

table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* ----------- */

/* Імпорт шрифтів і кольори вирізані для стислості */
:root {
  --color-primary: #1a73e8;
  --color-secondary: #ffb300;
  --color-accent: #00c853;
  --color-background: #f4f7fd;
  --color-text: #2e3a59;
  --font-base: 'Open Sans', sans-serif;
  --font-heading: 'Poppins', sans-serif;
}
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Poppins:wght@300;500;700&display=swap');
body {
  margin: 0;
  font-family: var(--font-base);
  background: var(--color-background);
  color: var(--color-text);
}

/* ==== HEADER ==== */
.header {
  position: relative;
  overflow: hidden;
  background: var(--color-background);
}
.header__container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}
.header__logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: logo-shimmer 3s infinite;
  cursor: pointer;
}
@keyframes logo-shimmer {
  0%   { background-position: -200px; }
  100% { background-position: 200px; }
}
.header__nav .header__list {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.header__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--color-text);
  position: relative;
  padding: 0.25rem;
  transition: color 0.3s;
}
.header__link i {
  width: 1.2em;
  height: 1.2em;
  stroke-width: 1.5;
  transition: transform 0.3s, opacity 0.3s;
  opacity: 0;
  transform: translateY(-5px);
}
.header__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.4s, left 0.4s;
}
.header__link:hover {
  color: var(--color-primary);
}
.header__link:hover i {
  opacity: 1;
  transform: translateY(0) rotate(360deg);
}
.header__link:hover::after {
  width: 100%;
  left: 0;
}

/* ==== WAVE ==== */
.header__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 60px;
  background: url('../img/placeholder-wave.svg') repeat-x bottom;
  background-size: auto 60px;
  animation: wave-move 8s linear infinite;
  z-index: 0;
}
@keyframes wave-move {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==== ADAPTIVE ==== */
@media (max-width: 768px) {
  .header__container {
    flex-direction: column;
    gap: 1rem;
  }
  .header__list {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.footer {
  background: var(--color-primary);
  color: #fff;
  padding: 2rem 0;
}
.footer__container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 2rem;
}
.footer__col {
  flex: 1;
  min-width: 200px;
}
.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
}
.footer__col h3 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}
.footer__nav,
.footer__info,
.footer__contacts {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__nav a,
.footer__info a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}
.footer__nav a:hover,
.footer__info a:hover {
  color: var(--color-secondary);
}
.footer__contacts li {
  margin-bottom: 0.5rem;
}
.footer__contacts a {
  color: #fff;
  text-decoration: none;
}

/* ==== ADAPTIVE ==== */
@media (max-width: 768px) {
  .header__container {
    flex-direction: column;
    gap: 1rem;
  }
  .header__list {
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer__container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
/* ==== HERO SECTION ==== */
.hero {
  position: relative;
  height: 100vh;
  background: url('../img/hero.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(
    to top left,
    rgba(26,115,232,0.8),
    rgba(255,179,0,0.6)
  );
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin: 0;
  opacity: 0;
  animation: fadeUp 1s ease-out forwards;
}

.hero__subtitle {
  font-size: 1.25rem;
  margin: 1rem 0 0;
  opacity: 0;
  animation: fadeUp 1.2s ease-out forwards;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.75rem 2rem;
  font-weight: 600;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero__btn i {
  width: 1em; height: 1em;
  stroke-width: 2;
  transition: transform 0.3s;
}

.hero__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.hero__btn:hover i {
  transform: translateX(5px) rotate(10deg);
}

/* Анімація появи тексту */
@keyframes fadeUp {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Адаптив */
@media (max-width: 768px) {
  .hero__title {
    font-size: 2.25rem;
  }
  .hero__subtitle {
    font-size: 1rem;
  }
  .hero__btn {
    padding: 0.6rem 1.5rem;
  }
}
/* ==== WHY-US SECTION ==== */
.why-us {
  padding: 4rem 0;
  background: #fff;
}
.why-us__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-text);
  position: relative;
}
.why-us__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-secondary);
  margin: 0.5rem auto 0;
}
.why-us__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.why-us__card {
  background: var(--color-background);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.why-us__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.why-us__icon {
  width: 3rem;
  height: 3rem;
  stroke-width: 1.5;
  color: var(--color-primary);
  margin-bottom: 1rem;
  transition: transform 0.3s;
}
.why-us__card:hover .why-us__icon {
  transform: rotate(20deg) scale(1.1);
}
.why-us__card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}
.why-us__card-text {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
}

/* Адаптив */
@media (max-width: 768px) {
  .why-us__title {
    font-size: 2rem;
  }
  .why-us__card {
    padding: 1.5rem;
  }
  .why-us__icon {
    width: 2.5rem;
    height: 2.5rem;
  }
}
/* ==== IT-INFO SECTION ==== */
.it-info {
  padding: 4rem 0;
  background: var(--color-background);
}
.it-info__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-text);
  position: relative;
}
.it-info__title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-primary);
  margin: 0.5rem auto 0;
}
.it-info__lead {
  max-width: 600px;
  margin: 0.5rem auto 3rem;
  font-size: 1.1rem;
  text-align: center;
  color: var(--color-text);
  opacity: 0;
  animation: fadeUp 1s ease-out forwards;
  animation-delay: 0.2s;
}

.it-info__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.it-info__card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease-out forwards;
}
.it-info__card:nth-child(1) { animation-delay: 0.3s; }
.it-info__card:nth-child(2) { animation-delay: 0.5s; }
.it-info__card:nth-child(3) { animation-delay: 0.7s; }
.it-info__card:nth-child(4) { animation-delay: 0.9s; }

.it-info__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.it-info__icon {
  width: 3rem;
  height: 3rem;
  stroke-width: 1.5;
  color: var(--color-accent);
  margin-bottom: 1rem;
  transition: transform 0.3s;
}
.it-info__card:hover .it-info__icon {
  transform: rotate(15deg) scale(1.1);
}

.it-info__card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}
.it-info__card-text {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
}

.it-info__more {
  text-align: center;
  margin-top: 3rem;
  opacity: 0;
  animation: fadeUp 1s ease-out forwards;
  animation-delay: 1.1s;
}
.it-info__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-weight: 600;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.it-info__btn i {
  width: 1em; height: 1em;
  stroke-width: 2;
  transition: transform 0.3s;
}
.it-info__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.it-info__btn:hover i {
  transform: translateX(5px) rotate(10deg);
}

/* Реиспользуем анимацию */
@keyframes fadeUp {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Адаптив */
@media (max-width: 768px) {
  .it-info__title { font-size: 2rem; }
  .it-info__lead { font-size: 1rem; }
  .it-info__cards { gap: 1.5rem; }
  .it-info__icon { width: 2.5rem; height: 2.5rem; }
}

/* ==== FAQ SECTION ==== */
.faq {
  padding: 4rem 0;
  background: var(--color-background);
}
.faq__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-text);
}
.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq__item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.faq__item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-text);
  position: relative;
  list-style: none;
}
.faq__question::-webkit-details-marker {
  display: none;
}
.faq__icon {
  width: 1.5em;
  height: 1.5em;
  stroke-width: 2;
  transition: transform 0.3s;
  color: var(--color-primary);
}
.faq__answer {
  max-height: 0;
  padding: 0 1.5rem;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq__answer p {
  margin: 0 0 1rem;
  line-height: 1.6;
  color: var(--color-text);
}
/* При раскрытии */
.faq__item[open] .faq__answer {
  max-height: 500px; /* достаточно для любого текста */
  padding: 1rem 1.5rem;
}
.faq__item[open] .faq__icon {
  transform: rotate(180deg);
}

/* Адаптив */
@media (max-width: 768px) {
  .faq__title {
    font-size: 2rem;
  }
  .faq__question {
    font-size: 1rem;
  }
  .faq__answer p {
    font-size: 0.95rem;
  }
}
/* ==== ABOUT HERO ==== */
.about-hero {
  padding: 6rem 0;
  text-align: center;
  background: var(--color-background);
}
.about-hero__title {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}
.about-hero__subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--color-text);
}
.about-hero__img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ==== MISSION ==== */
.mission {
  padding: 4rem 0;
  background: #fff;
  text-align: center;
}
.mission__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.mission__text {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ==== TEAM ==== */
.team {
  padding: 4rem 0;
  background: var(--color-background);
}
.team__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 2rem;
}
.team__card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.team__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.team__photo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.team__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.team__role {
  font-size: 0.95rem;
  color: var(--color-text);
}

/* ==== HISTORY ==== */
.history {
  padding: 4rem 0;
  background: #fff;
}
.history__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
}
.history__list {
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.history__item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.history__year {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-secondary);
  min-width: 60px;
}
.history__event {
  font-size: 1rem;
  color: var(--color-text);
}

/* ==== PARTNERS ==== */
.partners {
  padding: 4rem 0;
  background: var(--color-background);
  text-align: center;
}
.partners__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 2rem;
}
.partners__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.partners__logo {
  max-width: 120px;
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
}
.partners__logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* ==== ABOUT CTA ==== */
.about-cta {
  padding: 4rem 0;
  background: var(--color-primary);
  text-align: center;
  border-bottom: 1px solid var(--color-secondary);
}
.about-cta__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
}
.about-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: var(--color-secondary);
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.about-cta__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.about-cta__btn i {
  width: 1em; height: 1em;
  stroke-width: 2;
  transition: transform 0.3s;
}
.about-cta__btn:hover i {
  transform: translateX(5px) rotate(10deg);
}

/* ==== ADAPTIVE ==== */
@media (max-width: 768px) {
  .about-hero__title { font-size: 2.5rem; }
  .mission__title,
  .team__title,
  .history__title,
  .partners__title,
  .about-cta__title { font-size: 2rem; }
  .team__grid,
  .partners__grid { gap: 1rem; }
  .history__item { flex-direction: column; align-items: flex-start; }
}


/* ==== PROGRAMS HERO ==== */
.programs-hero {
  padding: 6rem 0;
  text-align: center;
  background: var(--color-background);
}
.programs-hero__title {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}
.programs-hero__subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--color-text);
}
.programs-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-weight: 600;
  background: var(--color-secondary);
  color: #fff;
  border-radius: 50px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.programs-hero__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.programs-hero__btn i {
  width: 1em; height: 1em; stroke-width: 2;
  transition: transform 0.3s;
}
.programs-hero__btn:hover i {
  transform: translateX(5px) rotate(10deg);
}

/* ==== PROGRAM OVERVIEW ==== */
.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-text);
}
.program-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 2rem;
}
.program-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.program-card__icon {
  width: 3rem; height: 3rem; stroke-width: 1.5;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.program-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.program-card__text {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}
.program-card__meta {
  display: block;
  font-size: 0.9rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.program-card__btn {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50px;
  transition: background 0.3s;
}
.program-card__btn:hover {
  background: var(--color-secondary);
}

/* ==== CURRICULUM ==== */
.curriculum {
  padding: 4rem 0;
  background: var(--color-background);
}
.curriculum__list {
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.curriculum__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.curriculum__step {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-secondary);
  min-width: 40px;
}
.curriculum__info h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--color-text);
}
.curriculum__info p {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text);
}

/* ==== PRICING ==== */
.pricing {
  padding: 4rem 0;
  background: #fff;
}
.pricing__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 2rem;
}
.pricing-card {
  background: var(--color-background);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.pricing-card--highlight {
  background: var(--color-secondary);
  color: #fff;
}
.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.pricing-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.pricing-card__price {
  font-size: 2rem;
  margin: 0.5rem 0 1rem;
}
.pricing-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.pricing-card__list li {
  margin-bottom: 0.5rem;
}
.pricing-card__btn {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50px;
  transition: background 0.3s;
}
.pricing-card__btn:hover {
  background: var(--color-accent);
}

/* ==== PROGRAMS CTA ==== */
.programs-cta {
  padding: 4rem 0;
  background: var(--color-primary);
  text-align: center;
}
.programs-cta__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
}
.programs-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: var(--color-secondary);
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.programs-cta__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.programs-cta__btn i {
  width: 1em; height: 1em; stroke-width: 2;
  transition: transform 0.3s;
}
.programs-cta__btn:hover i {
  transform: translateX(5px) rotate(10deg);
}

/* ==== АДАПТИВ ==== */
@media (max-width: 768px) {
  .programs-hero__title { font-size: 2.5rem; }
  .section-title, .programs-cta__title { font-size: 2rem; }
  .program-cards, .pricing__cards { gap: 1rem; }
  .curriculum__item { flex-direction: column; }
}

/* ===== Contact Page Styles ===== */
.contact {
  padding: 4rem 0;
  background: var(--color-background);
}
.contact__title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--color-primary);
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.contact-form__group {
  margin-bottom: 1.5rem;
}
.contact-form__group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-text);
}
.contact-form__group input,
.contact-form__group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: var(--font-base);
  resize: vertical;
}
.contact-form__group textarea {
  min-height: 150px;
}
.contact-form__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-weight: 600;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.contact-form__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.contact-form__success {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--color-accent);
  font-weight: 600;
  display: none;
}

/* ==== POLICY PAGES (pages) ==== */
.pages {
  padding: 4rem 0;
  background: var(--color-background);
  color: var(--color-text);
  line-height: 1.8;
}

.pages .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Заголовки */
.pages h1,
.pages h2,
.pages h3 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.pages h1 {
  font-size: 2.5rem;
  border-bottom: 2px solid var(--color-secondary);
  padding-bottom: 0.5rem;
}

.pages h2 {
  font-size: 1.75rem;
}

.pages h3 {
  font-size: 1.5rem;
}

/* Параграфы */
.pages p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

/* Списки */
.pages ul {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style: disc;
}

.pages ul li {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

/* Ссылки */
.pages a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color 0.3s;
}

.pages a:hover {
  color: var(--color-secondary);
}

/* Адаптив для мелких экранов */
@media (max-width: 768px) {
  .pages h1 {
    font-size: 2rem;
  }
  .pages h2 {
    font-size: 1.5rem;
  }
  .pages p,
  .pages ul li {
    font-size: 0.95rem;
  }
}
