:root {
  --border-radius: 1rem;
  --color-background: #FFFFFF;
  --color-primary: #0057FF;
  --color-primary-dark: #003BB5;
  --color-primary-light: #E6F0FF;
  --color-primary-ultra-light: #F5F8FF;
  --color-secondary: #00AEEF;
  --color-text: #0F172A;
  --color-text-light: #64748B;
  --color-text-lighter: #94A3B8;
  --color-border: #E2E8F0;
  --color-border-light: #F1F5F9;
  --color-surface: #FAFBFC;
  --color-surface-elevated: #FFFFFF;
  --grid-gap: 2.5rem;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --shadow-primary: 0 10px 25px -5px rgba(0, 87, 255, 0.25), 0 4px 10px -2px rgba(0, 87, 255, 0.15);
  --shadow-primary-hover: 0 15px 35px -5px rgba(0, 87, 255, 0.3), 0 6px 15px -3px rgba(0, 87, 255, 0.2);
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 6rem;
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --typography-body: 'Inter', sans-serif;
  --typography-heading: 'Poppins', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  background-color: var(--color-background);
  background-image: radial-gradient(circle at 1px 1px, rgba(0, 87, 255, 0.02) 1px, transparent 0);
  background-size: 24px 24px;
  color: var(--color-text);
  font-family: var(--typography-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--color-primary-dark);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-primary);
}

button {
  background-color: var(--color-primary);
  border: none;
  border-radius: var(--border-radius);
  color: #FFFFFF;
  cursor: pointer;
  font-family: var(--typography-body);
  font-size: 1rem;
  font-weight: 500;
  justify-content: center;
  padding: 0.875rem var(--spacing-md);
  transition: all var(--transition-base);
}

button:hover {
  background-color: var(--color-primary-dark);
  box-shadow: 0 4px 12px rgba(0, 87, 255, 0.3);
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--typography-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

@media (max-width: 767px) {
  h1, h2, h3, h4, h5, h6, a {
    hyphens: auto;
    word-wrap: anywhere;
  }
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

img {
  height: auto;
  max-width: 100%;
}

input,
textarea {
  background-color: var(--color-surface-elevated);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius);
  font-family: var(--typography-body);
  font-size: 1rem;
  padding: 1rem var(--spacing-sm);
  transition: all var(--transition-base);
  width: 100%;
}

input:focus,
textarea:focus {
  background-color: var(--color-background);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-light), var(--shadow-sm);
  outline: none;
}

input:hover,
textarea:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-xs);
}

label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
}

select {
  background-color: transparent;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  font-family: var(--typography-body);
  font-size: 0.875rem;
  outline: none;
  padding: var(--spacing-xs);
}

select:hover {
  color: var(--color-primary);
}

.header {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-base);
}

.header__top-bar {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.95) 100%);
  border-bottom: 1px solid var(--color-border-light);
  display: flex;
  font-size: 0.875rem;
  font-weight: 500;
  gap: var(--spacing-sm);
  justify-content: space-between;
  padding: 0.75rem var(--spacing-md);
}

.header__top-bar-item {
  align-items: center;
  display: flex;
  gap: var(--spacing-xs);
}

.header__main {
  align-items: center;
  display: flex;
  gap: var(--spacing-sm);
  justify-content: space-between;
  padding: var(--spacing-md);
}

.header__logo {
  align-items: center;
  display: flex;
  gap: var(--spacing-sm);
}

.header__logo-icon {
  height: 2.5rem;
  width: 2.5rem;
}

.header__logo-text {
  font-family: var(--typography-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  transition: color var(--transition-base);
}

.header__nav {
  display: none;
}

.header__nav-list {
  display: flex;
  gap: var(--spacing-md);
  list-style: none;
}

.header__nav-link {
  border-bottom: 2px solid transparent;
  color: var(--color-text);
  font-weight: 600;
  padding-bottom: var(--spacing-xs);
  position: relative;
  transition: all var(--transition-base);
}

.header__nav-link::after {
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  bottom: -2px;
  content: '';
  height: 3px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transition: transform var(--transition-base);
  width: 100%;
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--color-primary);
}

.header__nav-link:hover::after,
.header__nav-link.active::after {
  transform: scaleX(1);
}

.header__menu-toggle {
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  display: block;
  font-size: 1.5rem;
  padding: var(--spacing-xs);
}

.header__menu-toggle:hover {
  background-color: transparent;
  color: var(--color-primary);
}

.header__mobile-menu {
  background-color: var(--color-background);
  border-top: 1px solid var(--color-border-light);
  display: none;
  padding: var(--spacing-md);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header__mobile-menu--open {
  display: block;
}

.header__mobile-nav-list {
  list-style: none;
}

.header__mobile-nav-item {
  margin-bottom: var(--spacing-sm);
}

.header__mobile-nav-link {
  color: var(--color-text);
  display: block;
  font-weight: 600;
  padding: var(--spacing-sm) 0;
  position: relative;
  text-decoration: none;
  transition: all var(--transition-base);
}

.header__mobile-nav-link::before {
  background-color: var(--color-primary);
  content: '';
  height: 2px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  transition: transform var(--transition-base);
  width: 4px;
}

.header__mobile-nav-link:hover {
  color: var(--color-primary);
  padding-left: var(--spacing-sm);
}

.header__mobile-nav-link:hover::before {
  transform: translateY(-50%) scaleX(1);
}

.hero {
  background: linear-gradient(135deg, rgba(0, 87, 255, .7) 0%, rgba(0, 102, 255, .7) 50%, rgba(0, 174, 239, .7) 100%), url(../images/hero-img.jpg) center / cover no-repeat;
  color: #FFFFFF;
  overflow: hidden;
  padding: var(--spacing-xxl) var(--spacing-md) var(--spacing-xl);
  position: relative;
}

.hero::before {
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  content: '';
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.hero::after {
  background: radial-gradient(circle at 80% 80%, rgba(0, 174, 239, 0.3) 0%, transparent 50%);
  content: '';
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.hero__container {
  align-items: center;
  display: grid;
  gap: var(--grid-gap);
  margin: 0 auto;
  max-width: 1200px;
  position: relative;
  z-index: 1;
}

.hero__content {
  text-align: center;
}

.hero__title {
  color: #FFFFFF;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero__title-underline {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.8) 100%);
  border-radius: 2px;
  height: 5px;
  margin: var(--spacing-sm) auto;
  width: 100px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
}

.hero__description {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
  opacity: 0.95;
}

.hero__interactive {
  display: grid;
  gap: var(--spacing-md);
}

.hero__card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--border-radius);
  cursor: pointer;
  padding: var(--spacing-lg);
  transition: all var(--transition-base);
}

.hero__card:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: translateY(-8px) scale(1.02);
}

.hero__card-title {
  color: #FFFFFF;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: var(--spacing-xs);
}

.hero__card-content {
  display: none;
  margin-top: var(--spacing-sm);
}

.hero__card--active .hero__card-content {
  display: block;
}

.section {
  padding: var(--spacing-xxl) var(--spacing-md);
  position: relative;
}

.section:nth-child(even) {
  background: linear-gradient(180deg, #FAFBFC 0%, #F8F9FA 100%);
}

.section__container {
  max-width: 1200px;
  margin: 0 auto;
}

.section__title {
  margin-bottom: var(--spacing-md);
  position: relative;
  text-align: center;
}

.section__title-underline {
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: 3px;
  height: 5px;
  margin: var(--spacing-sm) auto;
  width: 100px;
  box-shadow: 0 4px 12px rgba(0, 87, 255, 0.35);
  position: relative;
}

.section__title-underline::after {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
  border-radius: 3px;
  content: '';
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.section__content {
  margin-top: var(--spacing-lg);
}

.section__content > p {
  margin-bottom: var(--spacing-md);
  max-width: 70ch;
}

.section__content > p:last-child {
  margin-bottom: 0;
}

.section__content > p:not(.card__content) {
  font-size: 1.125rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 65ch;
  text-align: center;
}

.grid {
  display: grid;
  gap: var(--grid-gap);
}

.grid--2-col {
  grid-template-columns: 1fr;
}

.grid--3-col {
  grid-template-columns: 1fr;
}

.card {
  background-color: var(--color-surface-elevated);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  height: 100%;
  padding: var(--spacing-lg);
  transition: all var(--transition-base);
}

.card:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.card__title {
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.card__content {
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.7;
}

.button {
  align-items: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, #0066FF 100%);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-primary);
  color: white;
  display: inline-flex;
  font-weight: 600;
  gap: var(--spacing-xs);
  justify-content: center;
  padding: 1rem var(--spacing-lg);
  position: relative;
  transition: all var(--transition-base);
  overflow: hidden;
}

.button::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  content: '';
  height: 100%;
  left: -100%;
  position: absolute;
  top: 0;
  transition: left var(--transition-base);
  width: 100%;
}

.button:hover {
  color: white;
}

.button:hover::before {
  left: 100%;
}

.button__arrow {
  transition: transform var(--transition-base);
}

.button:hover {
  box-shadow: var(--shadow-primary-hover);
  transform: translateY(-2px);
}

.button:hover .button__arrow {
  transform: translateX(6px);
}

.button:active {
  transform: translateY(0);
}

.cta__container {
  padding-top: var(--spacing-lg);
  text-align: center;
}

.form {
  max-width: 600px;
  margin: 0 auto;
}

.form__group {
  margin-bottom: var(--spacing-md);
}

.form__error {
  color: #DC2626;
  display: none;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: var(--spacing-xs);
}

.form__error--show {
  display: block;
}

.form__checkbox-group {
  align-items: flex-start;
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.form__checkbox-group label {
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 0;
}

.form__checkbox {
  margin-top: 0.25rem;
  width: auto;
}

.form__submit {
  width: 100%;
}

.footer {
  background: linear-gradient(180deg, #F8F9FA 0%, #F1F5F9 100%);
  border-top: 1px solid var(--color-border);
  padding: var(--spacing-xxl) var(--spacing-md) var(--spacing-lg);
  position: relative;
}

.footer::before {
  background: linear-gradient(90deg, transparent 0%, var(--color-primary-light) 50%, transparent 100%);
  content: '';
  height: 1px;
  left: 0;
  opacity: 0.3;
  position: absolute;
  top: 0;
  width: 100%;
}

.footer__container {
  display: grid;
  gap: var(--grid-gap);
  max-width: 1200px;
  margin: 0 auto;
}

.footer__column {
  margin-bottom: var(--spacing-md);
}

.footer__title {
  color: var(--color-text);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.footer__list {
  list-style: none;
}

.footer__list-item {
  margin-bottom: var(--spacing-xs);
}

.footer__link {
  color: var(--color-text-light);
  font-weight: 500;
  transition: all var(--transition-base);
}

.footer__link:hover {
  color: var(--color-primary);
  transform: translateX(3px);
}

.footer__bottom {
  border-top: 1px solid #DDDDDD;
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  text-align: center;
}

.footer__copyright {
  color: var(--color-text-light);
  font-size: 0.875rem;
}

.footer__policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  justify-content: center;
  margin-top: var(--spacing-md);
}

.footer__policy-links .footer__link {
  font-size: 0.875rem;
  position: relative;
}

.footer__policy-links .footer__link::after {
  background-color: var(--color-primary);
  bottom: -2px;
  content: '';
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transition: transform var(--transition-base);
  width: 100%;
}

.footer__policy-links .footer__link:hover::after {
  transform: scaleX(1);
}

.cookie-banner {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border-top: 3px solid var(--color-primary);
  bottom: 0;
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.15);
  display: none;
  left: 0;
  padding: var(--spacing-lg);
  position: fixed;
  right: 0;
  z-index: 2000;
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.card,
.teacher-card {
  animation: fadeIn 0.6s ease-out backwards;
}

.card:nth-child(1),
.teacher-card:nth-child(1) {
  animation-delay: 0.1s;
}

.card:nth-child(2),
.teacher-card:nth-child(2) {
  animation-delay: 0.2s;
}

.card:nth-child(3),
.teacher-card:nth-child(3) {
  animation-delay: 0.3s;
}

.card:nth-child(4),
.teacher-card:nth-child(4) {
  animation-delay: 0.4s;
}

.card:nth-child(5),
.teacher-card:nth-child(5) {
  animation-delay: 0.5s;
}

.card:nth-child(6),
.teacher-card:nth-child(6) {
  animation-delay: 0.6s;
}

.cookie-banner--show {
  display: block;
}

.cookie-banner__content {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-banner__text {
  text-align: center;
}

.cookie-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  justify-content: center;
}

.cookie-settings {
  display: none;
  margin-top: var(--spacing-md);
}

.cookie-settings--show {
  display: block;
}

.cookie-settings__group {
  margin-bottom: var(--spacing-sm);
}

.cookie-settings__toggle {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.back-to-top {
  align-items: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: 50%;
  box-shadow: var(--shadow-primary);
  bottom: var(--spacing-md);
  color: #FFFFFF;
  display: none;
  height: 3.5rem;
  justify-content: center;
  position: fixed;
  right: var(--spacing-md);
  transition: all var(--transition-base);
  width: 3.5rem;
  z-index: 1500;
}

.back-to-top--show {
  animation: fadeInUp 0.3s ease-out;
  display: flex;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.back-to-top:hover {
  box-shadow: var(--shadow-primary-hover);
  color: #FFFFFF;
  transform: translateY(-4px) scale(1.05);
}

.content-page {
  background-color: var(--color-background);
  padding: var(--spacing-xl) var(--spacing-md);
}

.content-page p {
  margin-bottom: var(--spacing-md);
}

.content-page p:last-child {
  margin-bottom: 0;
}

.content-page__container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.content-page__title {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
}

.content-page__section {
  margin-bottom: var(--spacing-lg);
}

.content-page__section-title {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.content-page__section-title:first-child {
  margin-top: 0;
}

.content-page__list {
  line-height: 1.8;
  margin-left: var(--spacing-md);
  margin-top: var(--spacing-sm);
}

.content-page__list ol {
  list-style-type: decimal;
}

.content-page__list ul {
  list-style-type: disc;
}

.content-page__list-item {
  margin-bottom: var(--spacing-sm);
}

.content-page__list-item:last-child {
  margin-bottom: 0;
}

.sr-only {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.teachers-grid {
  margin-top: var(--spacing-lg);
}

.teacher-card {
  align-items: center;
  background-color: var(--color-surface-elevated);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  padding: var(--spacing-xl);
  text-align: center;
  transition: all var(--transition-base);
}

.teacher-card:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}

.teacher-card__avatar {
  align-items: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, #0066FF 50%, var(--color-secondary) 100%);
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 87, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  height: 120px;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
  width: 120px;
}

.teacher-card__avatar::before {
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  content: '';
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.teacher-card__avatar .material-icons {
  font-size: 4rem;
}

.teacher-card__avatar img {
  border-radius: 50%;
  display: block;
  height: 120px;
  width: 120px;
}

.teacher-card__name {
  color: var(--color-text);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: var(--spacing-xs);
}

.teacher-card__role {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

.teacher-card__qualifications {
  color: var(--color-text-light);
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
}

.teacher-card__experience {
  color: var(--color-primary);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.teacher-card__specialization {
  color: var(--color-text-light);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-top: var(--spacing-sm);
  padding-top: var(--spacing-sm);
  position: relative;
}

.teacher-card__specialization::before {
  background: linear-gradient(90deg, transparent 0%, var(--color-border) 50%, transparent 100%);
  content: '';
  height: 1px;
  left: 20%;
  position: absolute;
  top: 0;
  width: 60%;
}

@media (min-width: 768px) {
  .hero {
    padding: var(--spacing-xxl) var(--spacing-md);
  }

  .hero__container {
    grid-template-columns: 1fr 1fr;
  }

  .hero__content {
    text-align: left;
  }

  .hero__title {
    font-size: 3rem;
    font-weight: 800;
  }

  .section {
    padding: var(--spacing-xxl) var(--spacing-md);
  }

  .grid--2-col {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3-col {
    grid-template-columns: repeat(2, 1fr);
  }

  .teachers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .cookie-banner__content {
    flex-direction: row;
  }

  .cookie-banner__text {
    flex: 1;
    text-align: left;
  }

  .card {
    padding: var(--spacing-lg);
  }

  .teacher-card {
    padding: var(--spacing-xl);
  }

  .teacher-card__avatar {
    height: 130px;
    width: 130px;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .header__nav {
    display: block;
  }

  .header__menu-toggle {
    display: none;
  }

  .hero__title {
    font-size: 3.5rem;
  }

  .section {
    padding: var(--spacing-xxl) var(--spacing-lg);
  }

  .teachers-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(4, 1fr);
  }

  .content-page__container {
    max-width: 900px;
  }

  .teacher-card {
    padding: var(--spacing-xl);
  }

  .teacher-card__avatar {
    height: 160px;
    width: 160px;
  }

  .teacher-card__avatar .material-icons {
    font-size: 6rem;
  }

  .teacher-card__name {
    font-size: 1.875rem;
  }

  .grid--3-col {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .hero {
    padding: var(--spacing-xl) var(--spacing-md);
  }

  .hero__title {
    font-size: 2rem;
  }

  .section {
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .card {
    padding: var(--spacing-md);
  }

  .button {
    padding: 0.75rem var(--spacing-md);
    width: 100%;
  }

  .back-to-top {
    bottom: var(--spacing-sm);
    height: 3rem;
    right: var(--spacing-sm);
    width: 3rem;
  }

  .teachers-grid {
    grid-template-columns: 1fr;
  }

  .teacher-card {
    padding: var(--spacing-md);
  }

  .teacher-card__avatar {
    height: 100px;
    width: 100px;
  }

  .teacher-card__avatar .material-icons {
    font-size: 3rem;
  }

  .teacher-card__avatar img {
    height: 80px;
    width: 80px;
  }

  .teacher-card__name {
    font-size: 1.25rem;
  }
}

.privacy__content .content-page__container {
  text-align: left;
}