@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --color-bg: #F5F5F5;
  --color-text: #073E4A;
  --color-muted: #767a81;
  --color-accent: #2a68ff;
  --color-hover: #f3f6ff;
  --color-border: #e6e8eb;
  --grad-active: linear-gradient(90deg, #6a5af9 0%, #2a68ff 50%, #00c2ff 100%);
  --font-family: 'Muller', 'Manrope', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  --container: 1200px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--color-text);
  font-size: 24px;
  font-weight: 500;
  text-align: left;
  background: var(--color-bg);
}

.section-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
}
.section-subtext {
  font-size: 18px;
  color: var(--color-muted);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Typography */
h1, h2, h3, h4, h5, h6 { margin: 0 0 var(--space-4); font-weight: 700; }
h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; font-weight: 900;}
h2 { font-size: clamp(22px, 3vw, 40px); line-height: 1.15; font-weight: 900;}
h3 { font-size: clamp(18px, 2.2vw, 24px); line-height: 1.2; font-weight: 900;}
p { margin: 0 0 var(--space-4); color: var(--color-text); }
small { color: var(--color-muted); }

/* Sections */
.section { padding: var(--space-10) 0; }
.section-sm { padding: var(--space-6) 0; }
.section-lg { padding: var(--space-12) 0; }
.section-sm.no-pad { padding: 0; }

/* Grids */
.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}

.site-header {
  position: sticky;
  top: 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  z-index: 10;
}
.site-header .topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
}
.logo { font-weight: 800; letter-spacing: 0.2px; }

.nav-list, .sub-list {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 12px 0;
}

/* removed unused dropdown styles */

.sub-list .sub-link {
  appearance: none;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--color-text);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.sub-list .sub-link:hover { background: var(--color-hover); }
.sub-list .sub-link:hover:not(.is-active) {
  background: linear-gradient(90deg, rgba(7,62,74,0.14) 0%, rgba(1,160,142,0.14) 100%);
  border-color: rgba(39,182,182,0.35);
}
.sub-list .sub-link.is-active {
  background: linear-gradient(90deg, #073E4A 0%, #01A08E 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(39, 182, 182, 0.35);
}

.site-main { padding: 24px 0 60px; }

.grid-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  grid-template-rows: repeat(2, auto); 
  gap: 10px; 
}

.carousel {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 16px 48px;
  overflow: hidden;
  margin-bottom: var(--space-8);
}
.carousel-viewport { overflow: hidden; }
.carousel-track {
  display: flex;
  gap: 16px;
  transform: translateX(0);
  transition: transform .4s ease;
}
.carousel-slide {
  flex: 0 0 100%;
  display: grid;
  place-items: center;
  height: 240px;
  background: var(--color-hover);
  border-radius: 12px;
  border: 1px dashed var(--color-border);
  font-weight: 600;
}
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  cursor: pointer;
}
.carousel-control.prev { left: 8px; }
.carousel-control.next { right: 8px; }
.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding-top: 12px;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--color-border);
  cursor: pointer;
}
.carousel-dots button.is-active { background: var(--color-accent); }

/* removed old dynamic-content styles */

/* Local dynamic subcontent under second sub-nav */
.dynamic-subcontent .content-subpanel {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 20px;
}


.program-header__button.h-button.h-button--fill{
  background: transparent;
  border: 1px solid #073E4A;
  border-radius: 40px;
  padding: 10px 20px;
  font-family: 'Muller', 'Manrope', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  font-weight: 500;
  font-size: 20px;
  line-height: 1em;
  color: #073E4A;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  min-width: 236px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.program-header__button.h-button.h-button--fill:hover {
  background: linear-gradient(90deg, rgba(7,62,74,0.14) 0%, rgba(1,160,142,0.14) 100%);
  border-color: rgba(39,182,182,0.35);
}


/* Teachers carousel */
.teachers-carousel {
  position: relative;
  max-width: 100%;
  margin: 20px 0;
}

.teachers-viewport {
  overflow: hidden;
  border-radius: 16px;
}

.teachers-track {
  display: flex;
  gap: 0;
  transform: translateX(0);
  transition: transform .4s ease;
}

.teachers-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 0 10px;
}

.teacher-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 16px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}

.teacher-photo {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-info {
  flex: 1;
  position: relative;
  z-index: 2;
}

.teacher-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: var(--color-text);
}

.teacher-position {
  font-size: 14px;
  color: var(--color-text);
  margin: 0 0 8px 0;
  font-weight: 500;
}

.teacher-description {
  font-size: 16px;
  line-height: 1.4;
  color: #000;
  margin: 0;
}

.teachers-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  color: var(--color-text);
  transition: background .2s ease, border-color .2s ease;
  z-index: 2;
}

.teachers-control:hover {
  background: var(--color-hover);
  border-color: rgba(39, 182, 182, 0.35);
}

.teachers-control.prev {
  left: -20px;
}

.teachers-control.next {
  right: -20px;
}

.teachers-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding-top: 20px;
}

.teachers-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--color-border);
  cursor: pointer;
  transition: background .2s ease;
}

.teachers-dots button.is-active {
  background: #01A08E;
}

/* Teachers Grid */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.teachers-grid .card-wrapper {
  display: flex;
  justify-content: center;
}

.teachers-grid .teacher-card {
  width: auto;
  max-width: none;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.teachers-grid .teacher-photo {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
}

.teachers-grid .teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teachers-grid .teacher-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.teachers-grid .teacher-info h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
}

.teachers-grid .teacher-position {
  margin: 0;
  font-size: 14px;
  color: var(--color-text);
  font-weight: 500;
}

.teachers-grid .teacher-description {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.5;
}

.teachers-grid .teacher-description li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.teachers-grid .teacher-description li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

.teachers-grid .teacher-description li:last-child {
  margin-bottom: 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #073E4A 0%, #01A08E 100%);
  color: #fff;
  margin: 40px 0;
  border-radius: 20px;
  overflow: hidden;
}

.cta-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
}

.cta-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cta-text h2 {
  font-size: 32px;
  font-weight: 900;
  margin: 0 0 16px 0;
  color: #fff;
  line-height: 1.2;
}

.cta-text p {
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 24px 0;
  color: rgba(255, 255, 255, 0.9);
}

.cta-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cta-stat {
  text-align: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.stat-number {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.cta-action {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-button {
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  border: none;
}

.cta-button.primary {
  background: #fff;
  color: #073E4A;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-button.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 8px;
}

.guarantee-icon {
  width: 20px;
  height: 20px;
  background: #01A08E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #fff;
  font-weight: bold;
}

.cta-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.cta-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.cta-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.cta-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.badge-icon {
  font-size: 16px;
}

/* Resume Section */
.resume-section {
  margin: 40px 0;
}

.resume-header {
  margin-bottom: 40px;
}

.resume-header-content {
  display: grid;
  grid-template-columns: 1fr 416px;
  gap: 40px;
  align-items: center;
}

.resume-text h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 20px 0;
  line-height: 1.1;
}

.resume-text p {
  font-size: 24px;
  font-weight: 500;
  color: var(--color-text);
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.resume-badge-wrapper {
  display: inline-block;
  background: linear-gradient(148deg, rgba(79, 254, 239, 1) 0%, rgba(52, 179, 163, 1) 100%);
  border-radius: 20px;
  padding: 2px;
  margin-top: 20px;
}

.resume-badge {
  display: flex;
  justify-content: center; 
  align-items: center;    
  text-align: center;
  background: #3EA098;
  border-radius: 18px;
  padding: 16px 32px;
}

.resume-badge span {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.sub-nav-container {
  background: #fff;
  border-radius: 40px;
  padding: 40px;
  margin-bottom: 40px;
}

.sub-nav-container h2 {
  font-family: 'Muller', 'Manrope', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  font-weight: 500;
  font-size: 40px;
  line-height: 1em;
  color: #073E4A;
  margin: 0 0 40px 0;
  text-align: left;
}

.sub-nav-container .sub-nav {
  margin-bottom: 40px;
}

.sub-nav-container .sub-list {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.sub-nav-container .sub-link {
  background: transparent;
  border: 1px solid #073E4A;
  border-radius: 40px;
  padding: 10px 20px;
  font-family: 'Muller', 'Manrope', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  font-weight: 500;
  font-size: 20px;
  line-height: 1em;
  color: #073E4A;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  min-width: 236px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-nav-container .sub-link:hover {
  background: rgba(7, 62, 74, 0.1);
}

.sub-nav-container .sub-link.active {
  background: linear-gradient(153deg, rgba(79, 254, 239, 1) 0%, rgba(47, 152, 143, 1) 23%);
  border: none;
  color: #fff;
}

/* Стили для Group 2087328063 (вопросы) - такие же как у Group 2087328062 */
nav.sub-nav[data-group="Group 2087328063"] {
  background: #fff;
  border-radius: 40px;
  padding: 40px;
  margin-bottom: 40px;
}

nav.sub-nav[data-group="Group 2087328063"] h2 {
  font-family: 'Muller', 'Manrope', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  font-weight: 500;
  font-size: 40px;
  line-height: 1em;
  color: #073E4A;
  margin: 0 0 40px 0;
  text-align: left;
}

nav.sub-nav[data-group="Group 2087328063"] .sub-list {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

nav.sub-nav[data-group="Group 2087328063"] .sub-link {
  background: transparent;
  border: 1px solid #073E4A;
  border-radius: 40px;
  padding: 10px 20px;
  font-family: 'Muller', 'Manrope', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  font-weight: 500;
  font-size: 20px;
  line-height: 1em;
  color: #073E4A;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

nav.sub-nav[data-group="Group 2087328063"] .sub-link:hover {
  background: rgba(7, 62, 74, 0.1);
}

nav.sub-nav[data-group="Group 2087328063"] .sub-link.active {
  background: linear-gradient(153deg, rgba(79, 254, 239, 1) 0%, rgba(47, 152, 143, 1) 23%);
  border: none;
  color: #fff;
}

/* Стили для content-subpanel как expand-list */
.content-subpanel {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  margin-top: 20px;
}

.content-subpanel h2 {
  font-family: 'Muller', 'Manrope', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  font-weight: 600;
  font-size: 28px;
  line-height: 1.2em;
  color: #073E4A;
  margin: 0 0 30px 0;
  text-align: left;
}

.content-subpanel .expand-list {
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.content-subpanel .expand-item {
  background: #fff;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.content-subpanel .expand-item:hover {
  border-color: #01A08E;
  box-shadow: 0 4px 12px rgba(1, 160, 142, 0.1);
}

.content-subpanel .expand-trigger {
  width: 100%;
  padding: 20px 24px;
  background: #fff;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Muller', 'Manrope', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  font-weight: 500;
  font-size: 16px;
  color: #073E4A;
  transition: all 0.3s ease;
}

.content-subpanel .expand-trigger:hover {
  background: #F8F9FA;
}

.content-subpanel .expand-trigger span:first-child {
  flex: 1;
  margin-right: 16px;
}

.content-subpanel .expand-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #01A08E;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.content-subpanel .expand-item.active .expand-icon {
  transform: rotate(45deg);
  background: #073E4A;
}

.content-subpanel .expand-content {
  padding: 0 24px 20px 24px;
  background: #fff;
}

.content-subpanel .expand-content p {
  margin: 0;
  font-family: 'Muller', 'Manrope', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: #666;
}

/* Responsive для Group 2087328063 */
@media (max-width: 768px) {
  nav.sub-nav[data-group="Group 2087328063"] {
    padding: 20px;
  }
  
  nav.sub-nav[data-group="Group 2087328063"] h2 {
    font-size: 24px;
  }
  
  nav.sub-nav[data-group="Group 2087328063"] .sub-list {
    gap: 12px;
  }
  
  nav.sub-nav[data-group="Group 2087328063"] .sub-link {
    padding: 8px 16px;
    font-size: 16px;
  }
  
  .content-subpanel {
    padding: 20px;
  }
  
  .content-subpanel h2 {
    font-size: 22px;
  }
  
  .content-subpanel .expand-trigger {
    padding: 16px 20px;
    font-size: 15px;
  }
  
  .content-subpanel .expand-content {
    padding: 0 20px 16px 20px;
  }
}

/* Стили для карточек преподавателей */
.card-wrapper {
  background: linear-gradient(155deg, rgba(82,229,221,1) 0%, rgba(1,156,139,1) 100%);
  border-radius: 20px;
  padding: 2px;
}

.teacher-card {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  position: relative;
  width: 375px;
  height: 456px;
  display: flex;
  flex-direction: column;
}

.teacher-photo {
  width: 129px;
  height: 129px;
  border-radius: 80px;
  overflow: hidden;
  margin-bottom: 20px;
  align-self: flex-start;
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-info h3 {
  font-family: 'Muller', 'Manrope', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  font-weight: 500;
  font-size: 20px;
  line-height: 1em;
  color: #000;
  margin: 0 0 10px 0;
}

.teacher-position {
  font-family: 'Muller', 'Manrope', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  font-weight: 500;
  font-size: 15px;
  line-height: 1em;
  color: #000;
  margin: 0 0 20px 0;
}

.teacher-description {
  font-family: 'Muller', 'Manrope', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  font-weight: 500;
  font-size: 15px;
  line-height: 1em;
  color: #000;
  margin: 0;
  flex-grow: 1;
}

/* Стили для карусели преподавателей */
.teachers-carousel {
  position: relative;
  margin-top: 40px;
}

.teachers-viewport {
  overflow: hidden;
  border-radius: 20px;
}

.teachers-track {
  display: flex;
  transition: transform 0.3s ease;
}

.teachers-slide {
  display: flex;
  gap: 30px;
  min-width: 100%;
  justify-content: center;
}

.teachers-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #073E4A;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: #073E4A;
  z-index: 10;
}

.teachers-control.prev {
  left: -20px;
}

.teachers-control.next {
  right: -20px;
}

.teachers-control:hover {
  background: rgba(7, 62, 74, 0.1);
}

.teachers-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.teachers-dots button {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(180deg, rgba(12, 255, 231, 0.5) 0%, rgba(1, 160, 142, 1) 100%);
  cursor: pointer;
  transition: all 0.3s ease;
}

.teachers-dots button.is-active {
  background: linear-gradient(180deg, rgba(12, 255, 93, 0.5) 0%, rgba(1, 160, 142, 1) 100%);
  transform: scale(1.2);
}

/* Стили для блока программы курса */
.course-program-section {
  margin: 40px 0;
}

.course-program-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  background-color: #073E4A;
  border: 1px;
  border-radius: 20px;
}

.course-program-section-header {
  background: #073E4A;
  border-radius: 40px 40px 0 0;
  padding: 40px 40px 0 40px;
}

.course-program-section-header h2 {
  font-family: 'Muller', 'Manrope', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  font-weight: 800;
  font-size: 40px;
  line-height: 1em;
  color: #fff;
}

.course-program-block {
  background: #073E4A;
  padding: 0 40px 40px 40px;
}

.course-program-content {
  position: relative;
  min-height: 131px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-program-header {
  flex: 1;
}

.course-duration {
  display: flex;
  align-items: center;
  gap: 30px;
}

.duration-label {
  font-family: 'Muller', 'Manrope', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  font-weight: 500;
  font-size: 24px;
  line-height: 1em;
  color: #fff;
}

.duration-separator {
  width: 22px;
  height: 1.26px;
  background: #fff;
  border-radius: 1px;
}

.duration-value {
  font-family: 'Muller', 'Manrope', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  font-weight: 500;
  font-size: 24px;
  line-height: 1em;
  color: #fff;
}

.course-program-badge-wrapper {
  background: linear-gradient(148deg, rgba(79, 254, 239, 1) 0%, rgba(52, 179, 163, 1) 100%);
  border-radius: 20px;
  padding: 2px;
  margin: 0 20px;
  min-width: 479px;
}

.course-program-badge {
  background: #3EA098;
  border-radius: 18px;
  padding: 22px 11px;
  text-align: center;
}

.course-program-badge span {
  font-family: 'Muller', 'Manrope', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  font-weight: 500;
  font-size: 24px;
  line-height: 1em;
  color: #fff;
}

/* Адаптивность для блока программы курса */
@media (max-width: 1024px) {
  .course-program-section-header {
    padding: 30px 20px 0 20px;
  }
  
  .course-program-section-header h2 {
    font-size: 32px;
    margin-bottom: 30px;
  }
  
  .course-program-block {
    padding: 0 20px 30px 20px;
  }
  
  .course-program-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .course-program-badge-wrapper {
    min-width: auto;
    width: 100%;
    max-width: 479px;
    margin: 0;
  }
  
  .course-program-icon {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .course-program-section-header h2 {
    font-size: 28px;
  }
  
  .duration-label,
  .duration-value {
    font-size: 20px;
  }
  
  .course-program-badge span {
    font-size: 20px;
  }
  
  .course-duration {
    flex-direction: column;
    gap: 15px;
  }
  
  .duration-separator {
    width: 30px;
    height: 2px;
  }
}

/* Стили для формы записи на курс */
.signup-section {
  margin: 40px 0;
}

.signup-container {
  max-width: 1200px;
  margin: 0 auto;
}

.signup-content {
  background: linear-gradient(180deg, rgba(1, 160, 142, 1) 0%, rgba(7, 62, 74, 1) 91%);
  border-radius: 40px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  min-height: 387px;
  display: flex;
  align-items: center;
}

.signup-text {
  flex: 1;
  z-index: 2;
  position: relative;
}

.signup-text h2 {
  font-family: 'Muller', 'Manrope', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  font-weight: 800;
  font-size: 40px;
  line-height: 1em;
  color: #fff;
  margin: 0 0 40px 0;
}

.signup-text .discount-text {
  background: #073E4A;
  border-radius: 40px;
  padding: 4px 12px;
  display: inline-block;
  margin-left: 8px;
}

.signup-form {
  max-width: 600px;
}

.form-fields {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
}

.form-field {
  flex: 1;
}

.form-field input {
  width: 100%;
  height: 63px;
  background: #ACFFFD;
  border: none;
  border-radius: 40px;
  padding: 0 24px;
  font-family: 'Muller', 'Manrope', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  font-weight: 500;
  font-size: 20px;
  line-height: 1em;
  color: #000;
  opacity: 0.51;
  box-sizing: border-box;
}

.form-field input::placeholder {
  color: #000;
  opacity: 0.51;
}

.form-field input:focus {
  outline: none;
  opacity: 1;
}

.signup-button-wrapper {
  background: linear-gradient(90deg, rgba(45, 255, 230, 1) 0%, rgba(52, 179, 163, 1) 100%);
  border-radius: 20px;
  padding: 2px;
  margin-bottom: 20px;
  display: inline-block;
}

.signup-button {
  background: linear-gradient(90deg, rgba(46, 212, 195, 1) 0%, rgba(52, 179, 163, 1) 100%);
  border: none;
  border-radius: 18px;
  padding: 19px 40px;
  font-family: 'Muller', 'Manrope', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  font-weight: 700;
  font-size: 24px;
  line-height: 1em;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.signup-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46, 212, 195, 0.3);
}

.privacy-text {
  font-family: 'Muller', 'Manrope', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  font-weight: 700;
  font-size: 13px;
  line-height: 1em;
  color: #fff;
  margin: 0;
  max-width: 471px;
}

.signup-visual {
  position: absolute;
  right: 0;
  top: 0;
  width: 258px;
  height: 387px;
  z-index: 1;
}

.signup-bg-circle {
  position: absolute;
  right: 50px;
  top: 13px;
  width: 311px;
  height: 311px;
  background: #4FFEEF;
  border-radius: 50%;
  filter: blur(73.3px);
  z-index: 1;
}

.signup-bg-image {
  position: absolute;
  right: 0;
  top: 0;
  width: 258px;
  height: 387px;
  object-fit: cover;
  z-index: 2;
}

/* Адаптивность для формы */
@media (max-width: 768px) {
  .signup-content {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  
  .signup-text h2 {
    font-size: 32px;
    margin-bottom: 30px;
  }
  
  .form-fields {
    flex-direction: column;
    gap: 20px;
  }
  
  .signup-visual {
    position: relative;
    width: 100%;
    height: 200px;
    margin-top: 30px;
  }
  
  .signup-bg-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  .signup-bg-circle {
    display: none;
  }
}

.resume-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  align-items: stretch;
}

.resume-visual {
  position: relative;
}

.resume-card {
  background: #fff;
  border-radius: 20px;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.resume-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.resume-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 492px;
  height: 398px;
  z-index: 1;
}

.resume-rings img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.resume-line {
  position: absolute;
  top: 327px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-text);
  z-index: 2;
}

.resume-avatar {
  position: relative;
  z-index: 3;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: #01A08E;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 53px rgba(1, 160, 142, 0.3);
}

.resume-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.resume-info {
  text-align: center;
  z-index: 3;
  position: relative;
}

.resume-info h3 {
  font-size: 24px;
  font-weight: 500;
  color: var(--color-text);
  margin: 0 0 8px 0;
}

.resume-info p {
  font-size: 16px;
  color: #BAB9B9;
  margin: 0;
}

.resume-skills {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
}

.skills-section h3,
.tools-section h3 {
  font-size: 24px;
  font-weight: 500;
  color: var(--color-text);
  margin: 0 0 20px 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  margin-bottom: 40px;
}

.skill-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.skill-dot {
  width: 24px;
  height: 24px;
  background: #4FFEEF;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}

.skill-item span {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.2;
}

.unsplash-style {
  width: 150px; 
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  image-rendering: optimizeQuality;
  transition: all 0.3s ease;
}

.unsplash-style:hover {
  opacity: 0.9; /* Чуть затемняем при наведении, для понта */
  transform: scale(1.02); /* Лёгкое увеличение, как будто фотка оживает */
}

.tools-section {
  margin-top: 40px;
}

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

.tool-item {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text);
  text-align: center;
  padding: 16px;
  background: rgba(79, 254, 239, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(79, 254, 239, 0.2);
  display: flex;
  gap: 5px;
  align-items: center;
}

/* Hero */
.hero-intro { text-align: left; }
.hero-intro p { color: var(--color-muted); }

/* Features */
.feature-card-wrapper {
  background: linear-gradient(155deg, rgba(82, 229, 221, 1) 0%, rgba(1, 156, 139, 1) 100%);
  border-radius: 14px;
  padding: 2px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(39, 182, 182, 0.12);
}

.features .feature-card {
  background: #fff;
  border: none;
  border-radius: 12px;
  padding: var(--space-6);
  transition: background .2s ease, color .2s ease;
  text-align: center;
  height: 100%;
}

.features .feature-card:hover {
  background: linear-gradient(90deg, #073E4A 0%, #01A08E 100%);
  color: #ffffff;
}

.features .feature-card:hover h3,
.features .feature-card:hover p {
  color: #ffffff;
}

/* Custom expandable list */
.expand-list { width: 100%; }
.expand-item { background: #fff; border: 1px solid var(--color-border); border-radius: 35px; overflow: hidden; }
.expand-item + .expand-item { margin-top: 10px; }
.expand-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 25px 25px; background: linear-gradient(90deg, #073E4A 0%, #01A08E 100%); border: 0; cursor: pointer; color: #ffffff;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 16px rgba(1,160,142,0.15);
}
.expand-head:hover { 
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(1,160,142,0.25);
}
.expand-head .section-subtext {
  color: #ffffff;
}
.expand-plus { position: relative; width: 14px; height: 14px; flex: 0 0 auto; margin-left: 12px; }
.expand-plus::before, .expand-plus::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: currentColor; transform: translateY(-50%); }
.expand-plus::after { transform: translateY(-50%) rotate(90deg); }
.expand-item.is-open .expand-plus::after { opacity: 0; }
.expand-panel { padding: 16px; border-top: 1px solid var(--color-border); margin: 0 10px 12px; border-radius: 10px; background: #fff; }
.expand-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.expand-col { background: transparent; border: 0; border-radius: 0; padding: 0; text-align: center;}
.expand-col-3 { background: #01A08E; color: #ffffff; border: 0; border-radius: 10px; padding: 12px; margin: 0px; font-size: 20px;}
@media (max-width: 768px) { .expand-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .acc-grid { grid-template-columns: 1fr; } }

/* About illustration under heading */
.about .about-illustration { 
  display: inline-block; 
  width: 48px; 
  height: 48px; 
  margin: 0; 
  vertical-align: middle;
}

/* Product cards */
.section.products {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  text-align: left;
}
.products .card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.products .card-media {
  aspect-ratio: 4 / 3;
  background: var(--color-hover);
  border-bottom: 1px solid var(--color-border);
}
.products .card-body { 
  padding: var(--space-5); 
  text-align: left; 
  display: flex;
  flex-direction: column;
  height: 100%;
}

.products .card-body .card-pricing {
  margin-top: auto;
}
.products .card-title { margin-bottom: var(--space-2); text-align: center;}
.products .card-text { color: var(--color-muted); }

.card-more {
  font-size: 16px;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 20px;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s ease;
  text-align: center;
}

.card-more:hover {
  color: var(--color-text);
}
.products .card-services {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  font-size: 18px;
}
.products .card-services li {
  padding: 4px 0;
  color: #ffffff;
}

/* Стили для card-services в неактивных карточках */
.products .card:not(.is-active) .card-services li {
  color: var(--color-text);
}

.products .card-services li::before {
  content: "•";
  color: #01A08E;
  margin-right: 8px;
}
.products .card-pricing {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.products .card-price {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--color-text);
  display: flex;
  justify-content: center;
}
.products .card-discount {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}
.products .card-discount-container1 {
  grid-area: 1 / 1 / 2 / 2;
}
.products .card-discount-container11 {
  grid-area: 2 / 1 / 3 / 2;
}
.products .card-discount-container2 {
  grid-area: 1 / 2 / 3 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.products .old-price {
  grid-area: 1 / 2 / 3 / 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.products .discount-badge {
  background: #FF4D00;
  color: #ffffff;
  padding: 4px 8px;
  border-radius: 15px;
  font-size: 20px;
  font-weight: 600;
}
.products .discount-text {
  font-size: 14px;
  color: var(--color-text);
}
.products .card.is-active .discount-text {
  color: #ffffff;
}
.products .old-price {
  font-size: 25px;
  color: #32B1A3;
  text-decoration: line-through;
}
/* Hover effect like feature cards, but in teal (#27B6B6) */
.products .card:hover {
  transform: translateY(-2px);
  border-color: rgba(39, 182, 182, 0.35);
  box-shadow: 0 10px 24px rgba(39, 182, 182, 0.12);
}
/* Active press gradient from #01A08E to #073E4A */
/* Active (pressed) visual while mouse is down */
.products .card:active {
  transform: translateY(0) scale(0.80);
}

/* Persistent active state (set via JS) with reversed gradient: #073E4A -> #01A08E */
.products .card.is-active {
  background: linear-gradient(90deg, #073E4A 0%, #01A08E 100%);
  border-color: transparent;
  color: #ffffff;
  transform: scale(1.14);
}
.products .card.is-active .card-price{
  color: #ffffff;
}
.products .card.is-active .old-price{
  color: rgba(255, 255, 255, 0.5);
}
.products .card.is-active .card-title,
.products .card.is-active .card-text {
  color: #ffffff;
}

/* When any card is active, slightly shrink the rest */
.products .grid.has-active .card:not(.is-active) {
  transform: scale(0.80);
  opacity: 0.96;
}

/* About */
.about .about-box {
  min-height: 180px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
}
.about .about-box h2 { margin-top: 0; }
/* 3-column benefits grid */
.about .about-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.about-title {width: 100%; display: flex; justify-content: center; margin-bottom: 30px;}
.about .about-benefit { text-align: center;}
.about .about-benefit .text { color: var(--color-muted); }

/* Testimonials carousel */


.testimonials-container {
  padding: 40px 20px;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.testimonial-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h4 {
  font-family: 'Muller', 'Manrope', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  color: var(--color-text);
  margin: 0 0 4px 0;
}

.graduation-date {
  font-family: 'Muller', 'Manrope', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  color: var(--color-muted);
}

.testimonials-navigation {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
}

.testimonials-navigation .testimonials-control {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials-navigation .testimonials-control:hover {
  background: rgba(7, 62, 74, 0.1);
  transform: scale(1.1);
}

.testimonials-navigation .testimonials-control img {
  width: 24px;
  height: 24px;
}
.testimonials h2 {
  text-align: center;
  margin-bottom: 40px;
}
.testimonials-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.testimonials-viewport {
  overflow: hidden;
  border-radius: 16px;
}
.testimonials-track {
  display: flex;
  gap: 24px;
  transform: translateX(0);
  transition: transform .4s ease;
}
.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.testimonial-content p {
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
}
.testimonials-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding-top: 20px;
}
.testimonials-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--color-border);
  cursor: pointer;
  transition: background .2s ease;
}
.testimonials-dots button.is-active {
  background: #01A08E;
}
@media (max-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 12px);
  }
}
@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 100%;
  }
  .testimonials-navigation {
    display: flex;
  }
  
  /* Исправление каруселей для мобильных */
  .testimonials-track {
    display: flex;
    transition: transform 0.3s ease;
  }
  
  .teachers-track {
    display: flex;
    transition: transform 0.3s ease;
  }
  
  /* Resume section мобильная версия */
  .resume-section {
    margin: 20px 0;
    padding: 0 20px;
  }
  
  .resume-header {
    margin-bottom: 30px;
  }
  
  .resume-header-content {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  
  .resume-text h2 {
    font-size: 24px;
    margin-bottom: 15px;
  }
  
  .resume-text p {
    font-size: 16px;
  }
  
  .resume-container {
    padding: 0;
  }
  
  .resume-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .resume-card {
    height: auto;
    padding: 20px;
    min-height: 300px;
  }
  
  .resume-card img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 15px;
  }
  
  .resume-skills {
    padding: 10px;
  }
  
  .skills-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .skill-item {
    padding: 15px;
  }
  
  .skill-item span {
    font-size: 14px;
  }
}
@media (max-width: 1024px) {
  .about .about-benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .about .about-benefits { grid-template-columns: 1fr; }
}

/* Tax Return Section */


.tax-return-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.tax-return-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.tax-return-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tax-return-card {
  border: 2px solid #073E4A;
  border-radius: 20px;
  padding: 20px;
  background: #fff;
}

.tax-return-card h3 {
  font-family: 'Muller', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1em;
  color: #073E4A;
  margin-bottom: 20px;
}

.tax-return-card p {
  font-family: 'Muller', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1em;
  color: #073E4A;
  margin: 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.benefit-icon {
  width: 14px;
  height: 14px;
  background: #073E4A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-item span {
  font-family: 'Muller', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1em;
  color: #073E4A;
}

.tax-return-form {
  background: #fff;
  border-radius: 40px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.tax-return-form h3 {
  font-family: 'Muller', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1em;
  color: #073E4A;
  margin-bottom: 20px;
}

.tax-return-form p {
  font-family: 'Muller', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1em;
  color: #073E4A;
  margin-bottom: 30px;
}

.tax-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.tax-form .form-field {
  position: relative;
}

.tax-form .form-field input {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 20px;
  background: #B8E5DF;
  font-family: 'Muller', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #073E4A;
  outline: none;
}

.tax-form .form-field input::placeholder {
  color: rgba(0, 0, 0, 0.57);
}

.tax-form-button {
  background: linear-gradient(90deg, #01A08E 0%, #073E4A 100%);
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-family: 'Muller', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.tax-form-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(79, 254, 239, 0.3);
}

.tax-form .privacy-text {
  font-family: 'Muller', sans-serif;
  font-weight: 700;
  font-size: 10px;
  line-height: 1em;
  color: #073E4A;
  margin-top: 15px;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .tax-return-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .tax-return-card h3 {
    font-size: 20px;
  }
  
  .tax-return-form h3 {
    font-size: 20px;
  }
}

/* Notification System */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(90deg, #01A08E 0%, #073E4A 100%);
  color: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(1, 160, 142, 0.3);
  z-index: 10000;
  transform: translateX(400px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  font-family: 'Muller', sans-serif;
  font-weight: 500;
  font-size: 16px;
  max-width: 300px;
}

.notification.show {
  transform: translateX(0);
  opacity: 1;
}

.notification.hide {
  transform: translateX(400px);
  opacity: 0;
}

[hidden] {
  display: none !important;
}

/* Promo card extracted styles */
.promo-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 32px 32px 28px 32px;
  position: relative;
  overflow: hidden;
}
.promo-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: linear-gradient(90deg, #01A08E 0%, #073E4A 100%);
  color: #fff;
  font-weight: 700;
  font-size: 24px;
  padding: 7px 18px;
  border-radius: 999px;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(1,160,142,0.10);
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
}
.promo-badge::after {
  content: '';
  width: 36px;
  height: 36px;
  margin-left: 8px;
  background: url('/upload/courses/mingcute_fire-line.svg') no-repeat center / contain;
  filter: invert(1);
}
.promo-body {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 56px;
  flex-wrap: wrap;
}
.promo-left { flex: 1 1 320px; min-width: 280px; }
.promo-info { display: grid; gap: 18px; }
.promo-title { margin: 0 0 4px 0; }
.promo-subtext { color: var(--color-muted); font-size: 18px; line-height: 1.6; }
.promo-cta {
  background: linear-gradient(90deg, #073E4A 0%, #01A08E 100%);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 14px 32px;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(1,160,142,0.10);
  transition: all 0.3s ease;
  position: relative;
  min-width: 200px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.promo-cta:hover { 
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(1,160,142,0.20);
}

.promo-cta-central{
  display: flex;
  justify-content: center;
  align-items: center;
 margin: 8px auto 0 auto;
  margin-top: 8px;
  background: #073E4A;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 14px 32px;
  font-size: 24px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(1,160,142,0.10);
  transition: background .2s;
}
.promo-cta-central:hover { filter: brightness(1.22); }


/* Контейнер для кнопок */
.promo-buttons {
    display: inline-flex;
    gap: 16px;
    width: auto;
    white-space: nowrap;
}

.promo-right { flex: 1 1 320px; min-width: 240px; display: flex; justify-content: center; }
.promo-image { max-width: 320px; width: 100%; border-radius: 16px; box-shadow: 0 6px 24px rgba(42,104,255,0.10); object-fit: cover; }
.promo-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.promo-benefit { text-align: center; }
.promo-benefit img { width: 48px; height: 48px; margin-bottom: 10px; }
.promo-benefit .text { font-size: 15px; color: var(--color-text); }

/* Footer */
.site-footer { border-top: 1px solid var(--color-border); padding: var(--space-8) 0 var(--space-6); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-8);
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { margin-bottom: var(--space-3); }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: var(--space-2); }
.footer-list a { color: inherit; text-decoration: none; }
.footer-list a:hover { text-decoration: underline; }
.footer-bottom { margin-top: var(--space-6); color: var(--color-muted); font-size: 14px; }

/* Rectangle 240646956: белый по умолчанию, меняет цвет на ховере */
#rect-240646956.hover-box {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
#rect-240646956.hover-box:hover {
  background: var(--grad-active);
  border-color: transparent;
  box-shadow: 0 10px 32px rgba(42,104,255,0.35);
}

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
  color: var(--color-muted);
}

@media (min-width: 640px) {
  .carousel-slide { height: 320px; }
}

/* ===== АДАПТИВНЫЕ СТИЛИ ===== */

/* Мобильные устройства (до 768px) */
@media (max-width: 767px) {
  /* Контейнер и отступы */
  .container {
    padding: 0 var(--space-4);
  }
  
  /* Типографика */
  body {
    font-size: 20px;
    line-height: 1.5;
  }
  
  h1 {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 900;
  }
  
  h2 {
    font-size: 28px;
    line-height: 1.25;
    font-weight: 900;
  }
  
  h3 {
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
  }
  
  /* Секции */
  .section {
    padding: var(--space-6) 0;
  }
  
  .section-sm {
    padding: var(--space-4) 0;
  }
  
  /* Промо-карточка */
  .promo-card {
    padding: 20px;
    margin: 0 -var(--space-4);
    border-radius: 16px;
  }
  
  .promo-badge {
    top: 16px;
    left: 16px;
    font-size: 13px;
    padding: 6px 14px;
  }
  
  .promo-body {
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
  }
  
  .promo-left {
    flex: none;
    min-width: auto;
  }
  
  .promo-right {
    flex: none;
    min-width: auto;
  }
  
  .promo-image {
    max-width: 280px;
  }
  
  .promo-benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
  }
  
  .promo-benefit .text {
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-text);
  }
  
  /* Карусель */
  .carousel {
    padding: 12px 32px;
    margin: 0 -var(--space-4) var(--space-6);
  }
  
  .carousel-slide {
    height: 200px;
    font-size: 18px;
  }
  
  .carousel-control {
    width: 32px;
    height: 32px;
  }
  
  .carousel-control.prev {
    left: 4px;
  }
  
  .carousel-control.next {
    right: 4px;
  }
  
  /* Карточки преимуществ */
  .grid-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .features .feature-card {
    padding: var(--space-5);
  }
  
  .features .feature-card h3 {
    font-size: 20px;
    margin-bottom: var(--space-3);
  }
  
  .features .feature-card p {
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-text);
  }
  
  /* О нас секция */
  .about .about-benefits {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .about .about-box {
    padding: 24px;
  }
  
  .about .about-benefit h3 {
    font-size: 20px;
    margin-bottom: var(--space-3);
  }
  
  .about .about-benefit .text {
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-text);
  }
  
  .about-title {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
  }
  
  .about-title h2 {
    margin: 0;
  }
  
  .about .about-illustration {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
  
  /* Карточки тарифов */
  .section.products .grid.grid-3 {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .products .card {
    width: 100%;
    margin-bottom: var(--space-4);
  }
  
  .products .card-body {
    padding: var(--space-5);
  }
  
  .products .card-title {
    font-size: 22px;
    margin-bottom: var(--space-3);
  }
  
  .products .card-text {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: var(--space-4);
  }
  
  .products .card-price {
    font-size: 32px;
  }
  
  .products .discount-badge {
    font-size: 18px;
    padding: 4px 8px;
  }
  
  .products .old-price {
    font-size: 22px;
  }
  
  .products .discount-text {
    font-size: 16px;
  }
  
  /* Убираем эффекты масштабирования на мобильных */
  .products .card:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  .products .card.is-active {
    transform: none;
    box-shadow: 0 6px 20px rgba(1,160,142,0.2);
  }
  
  .products .grid.has-active .card:not(.is-active) {
    transform: none;
    opacity: 1;
  }
  
  /* Отзывы */
  .testimonials-container {
    padding: 24px 16px;
  }
  
  .testimonials-carousel {
    max-width: 100%;
  }
  
  .testimonials-viewport {
    overflow: hidden;
    border-radius: 16px;
  }
  
  .testimonials-track {
    display: flex;
    gap: 0;
    transform: translateX(0);
    transition: transform .4s ease;
  }
  
  .testimonial-card {
    flex: 0 0 100%;
    padding: 20px;
    margin: 0 8px;
  }

.agreement{
color: #fff;
}
  
  .testimonial-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: var(--space-4);
  }
  
  .author-info h4 {
    font-size: 18px;
    margin-bottom: 4px;
  }
  
  .author-info span {
    font-size: 16px;
  }
  
  .testimonials-navigation {
    display: flex;
  }
  
  .testimonials-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding-top: 20px;
  }
  
  .testimonials-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--color-border);
    cursor: pointer;
    transition: background .2s ease;
  }
  
  .testimonials-dots button.is-active {
    background: #01A08E;
  }
  
  /* Навигация */
  .sub-list {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .sub-list .sub-link {
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 500;
  }
  
  /* Расширяемые элементы */
  .expand-head {
    padding: 20px 24px;
  }
  
  .expand-head h3 {
    font-size: 20px;
    margin-bottom: var(--space-2);
  }
  
  .expand-head .section-subtext {
    font-size: 18px;
    line-height: 1.5;
  }
  
  .expand-panel {
    padding: 16px;
    margin: 0 12px 12px;
  }
  
  .expand-col h3 {
    font-size: 18px;
    margin-bottom: var(--space-2);
  }
  
  .expand-col {
    font-size: 16px;
    line-height: 1.5;
  }
  
  /* Плавающая кнопка */
  #rect-240646956.hover-box {
    width: 48px;
    height: 48px;
    right: 16px;
    bottom: 16px;
  }
  
  /* Преподаватели */
  .teachers-slide {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 5px;
    justify-content: center;
  }

  .teachers-slide .card-wrapper {
    max-width: 100%;
    width: 100%;
  }

 .teacher-card {
    padding: 16px;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 200px;
  }
  
  .teacher-photo {
    width: 60px;
    height: 60px;
  }
  
  .teacher-info h3 {
    font-size: 16px;
  }
  
  .teacher-position {
    font-size: 13px;
  }
  
  .teacher-description {
    font-size: 13px;
  }
  
  .teachers-control {
    display: none;
  }
  
  .teachers-dots button {
    width: 10px;
    height: 10px;
  }
  
  /* CTA Section */
  .cta-container {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
  
  .cta-text h2 {
    font-size: 24px;
  }
  
  .cta-text p {
    font-size: 16px;
  }
  
  .cta-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .cta-stat {
    padding: 12px;
  }
  
  .stat-number {
    font-size: 20px;
  }
  
  .cta-button {
    padding: 14px 24px;
    font-size: 15px;
  }
  
  .cta-image img {
    height: 200px;
  }
  
  .cta-badges {
    flex-direction: column;
    gap: 8px;
  }
  
  .cta-badge {
    padding: 10px 14px;
    font-size: 13px;
  }
  
  /* Resume Section */
  .resume-header-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .resume-text h2 {
    font-size: 28px;
  }
  
  .resume-text p {
    font-size: 18px;
  }
  
  .resume-badge {
    padding: 12px 24px;
  }
  
  .resume-badge span {
    font-size: 18px;
  }
  
  
  .resume-rings {
    width: 300px;
    height: 240px;
  }
  
  .resume-avatar {
    width: 150px;
    height: 150px;
  }
  
  .resume-info h3 {
    font-size: 20px;
  }
  
  .resume-skills {
    padding: 10px;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .tool-item {
    font-size: 16px;
    padding: 12px;
  }
}

/* Планшеты (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Контейнер */
  .container {
    padding: 0 var(--space-5);
  }
  
  /* Промо-карточка */
  .promo-body {
    gap: 32px;
  }
  
  .promo-benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  /* Карточки преимуществ */
  .grid-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  /* О нас секция */
  .about .about-benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  
  /* Карусель */
  .carousel-slide {
    height: 280px;
  }
  
  /* Отзывы */
  .testimonial-card {
    flex: 0 0 calc(50% - 12px);
  }
}

/* Большие экраны (1024px+) */
@media (min-width: 1024px) {
  /* Контейнер */
  .container {
    padding: 0 var(--space-6);
  }
  
  /* Промо-карточка */
  .promo-body {
    gap: 40px;
  }
  
  .promo-benefits {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  
  /* Карточки преимуществ */
  .grid-features {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  /* О нас секция */
  .about .about-benefits {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  /* Карусель */
  .carousel-slide {
    height: 320px;
  }
  
  /* Отзывы */
  .testimonial-card {
    flex: 0 0 calc(33.333% - 16px);
  }
}

/* Очень большие экраны (1440px+) */
@media (min-width: 1440px) {
  :root {
    --container: 1400px;
  }
  
  .container {
    padding: 0 var(--space-8);
  }
  
  /* Увеличиваем отступы для больших экранов */
  .section {
    padding: var(--space-12) 0;
  }
  
  .section-sm {
    padding: var(--space-8) 0;
  }
  
  /* Промо-карточка */
  .promo-card {
    padding: 40px;
  }
  
  .promo-body {
    gap: 48px;
  }
  
  .promo-benefits {
    gap: 32px;
  }
}

/* Ландшафтная ориентация на мобильных */
@media (max-width: 767px) and (orientation: landscape) {
  .promo-body {
    flex-direction: row;
    gap: 24px;
  }
  
  .promo-left {
    flex: 1;
  }
  
  .promo-right {
    flex: 0 0 200px;
  }
  
  .promo-image {
    max-width: 200px;
  }
  
  .carousel-slide {
    height: 160px;
  }
}

/* Высокая плотность пикселей */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .promo-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}


/* Уменьшенная анимация для пользователей с предпочтением */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .carousel-track,
  .testimonials-track {
    transition: none;
  }
}


.video-modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.video-modal-backdrop {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  cursor: pointer;
}

.video-modal-content {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.2);
  padding: 0;
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.video-modal-content video {
  max-width: 80vw;
  max-height: 70vh;
  border-radius: 8px;
  background: #000;
}

body.modal-open {
  overflow: hidden;
}

/* Адаптивные стили для модального окна */
@media (max-width: 768px) {
  .video-modal {
    padding: 10px;
  }
  
  .video-modal-content {
    max-width: 95vw;
    max-height: 85vh;
  }
  
  .video-modal-content video {
    max-width: 90vw;
    max-height: 75vh;
  }
  /* Кнопки на мобильных */
  .promo-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .promo-cta {
    min-width: auto;
    width: 100%;
    font-size: 16px;
    padding: 12px 24px;
  }
  
  .program-header__button.h-button.h-button--fill {
    font-size: 16px;
    padding: 12px 24px;
  }
  
  .promo-image {
    max-width: 280px;
  }
}

/* Мобильная версия для текста преподавателей */
@media (max-width: 767px) {
  .teacher-info h3 {
    font-size: 18px;
    margin: 0 0 8px 0;
  }
  
  .teacher-position {
    font-size: 14px;
    margin: 0 0 15px 0;
  }
  
  .teacher-description {
    font-size: 14px;
    line-height: 1.4;
  }
}
/* Мобильная версия для фотографий преподавателей */
@media (max-width: 767px) {
  .teacher-photo {
    width: 80px;
    height: 80px;
    border-radius: 50px;
    margin-bottom: 15px;
  }
}

/* Мобильная версия для карточек преподавателей */
@media (max-width: 767px) {
  .card-wrapper {
    width: 100%;
    max-width: 100%;
  }
  
  .teacher-card {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 200px;
    padding: 20px;
  }
}

/* Мобильная версия - показываем только 1 карточку */
@media (max-width: 767px) {
  .teachers-slide {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 5px;
    justify-content: center;
  }

/* Скрываем второй card-wrapper на мобильных */
  .teachers-slide .card-wrapper:nth-child(2) {
    display: none;
  }
  
  .teachers-slide .card-wrapper:first-child {
    max-width: 100%;
    width: 100%;
  }
  
  .teachers-slide .card-wrapper {
    max-width: 100%;
    width: 100%;
  }

  /* Адаптивные стили для новой сетки преподавателей */
  .teachers-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
  }
  
  .teachers-grid .teacher-card {
    flex-direction: column;
    text-align: center;
    padding: 16px;
    gap: 12px;
  }
  
  .teachers-grid .teacher-photo {
    width: 60px;
    height: 60px;
    margin: 0 auto;
  }
  
  .teachers-grid .teacher-info h3 {
    font-size: 16px;
  }
  
  .teachers-grid .teacher-position {
    font-size: 13px;
  }
  
  .teachers-grid .teacher-description {
    font-size: 13px;
    line-height: 1.4;
  }
  
  .teacher-card {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 200px;
  }
}