/* ============================================
   Headway Language School — Custom Styles
   Стиль: "Стально профессиональный и дорогой"
   ============================================ */

/* —— CSS Variables —— */
:root {
  --bg-primary: #ede5e0;
  --bg-secondary: #f5f0ed;
  --bg-dark: #111111;
  --bg-card: #e8e0da;
  --accent: #fc3903;
  --accent-hover: #e03202;
  --accent-soft: rgba(252, 57, 3, 0.12);
  --text-primary: #1a1a1a;
  --text-secondary: #555555;
  --text-muted: #888888;
  --text-light: #ffffff;
  --border: #d5ccc5;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* —— Base Reset —— */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* —— Typography —— */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.font-display {
  font-family: 'Source Serif 4', Georgia, serif;
}

.font-body {
  font-family: 'Manrope', sans-serif;
}

.text-gradient {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* —— Layout Utilities —— */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

@media (min-width: 1280px) {
  .container {
    padding: 0 60px;
  }
}

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fdfdfd;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.brand-logo {
  height: 42px;
  width: auto;
  display: block;
}

.nav-desktop {
  display: none;
}

.nav-desktop a {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  margin-left: 36px;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.nav-desktop a:hover {
  color: var(--text-primary);
}

.nav-desktop a.active {
  color: var(--accent);
  position: relative;
}

.nav-desktop a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    align-items: center;
  }
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fdfdfd;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 1001;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 10px 20px;
  margin: 0;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  color: var(--accent);
  background: var(--bg-secondary);
}

/* —— Mobile Menu —— */
.mobile-submenu {
  padding: 0;
}

.mobile-submenu-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
}

.mobile-submenu-title:hover {
  color: var(--accent);
}

.mobile-submenu-chevron {
  font-size: 20px;
  transition: transform 0.25s ease;
  color: var(--text-secondary);
}

.mobile-submenu-title.open .mobile-submenu-chevron {
  transform: rotate(90deg);
}

.mobile-submenu-links {
  display: none;
  padding: 4px 0;
}

.mobile-submenu-links.open {
  display: block;
}

.mobile-submenu-link {
  padding: 12px 0 12px 16px;
  font-size: 16px;
  color: var(--text-secondary);
  display: block;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.mobile-submenu-link:hover {
  color: var(--accent);
  padding-left: 24px;
}

.menu-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 1100;
  padding: 80px 32px 40px;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.1);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.mobile-menu a:hover {
  color: var(--accent);
  padding-left: 8px;
}

.menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  padding: 4px;
}

/* —— Hero Section —— */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,17,17,0.85) 0%, rgba(17,17,17,0.5) 50%, rgba(17,17,17,0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  width: 100%;
}

.hero-label {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 600;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.8);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(252, 57, 3, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(252, 57, 3, 0.25);
  padding: 12px 20px;
  border-radius: var(--radius-xl);
  color: var(--text-light);
  font-size: 14px;
}

.hero-badge .material-symbols-outlined {
  font-size: 20px;
  color: var(--accent);
}

.hero-services {
  margin-bottom: 40px;
}

.hero-services li {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-services .bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: var(--text-light);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(252, 57, 3, 0.35);
}

.btn-outline:hover {
  background: rgba(252, 57, 3, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-light:hover {
  background: var(--bg-secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.btn-dark:hover {
  background: #222;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

.btn-light {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.btn-light:hover {
  background: var(--bg-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.btn-dark:hover {
  background: #222;
  transform: translateY(-2px);
}

/* —— Section Styles —— */
.section {
  padding: 80px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 120px 0;
  }
}

.section-header {
  margin-bottom: 56px;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

/* —— Cards —— */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.card-icon .material-symbols-outlined {
  font-size: 24px;
  color: var(--text-light);
}

.card h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* —— Price Tags —— */
.price-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.price-tag .price {
  font-weight: 700;
  font-size: 16px;
}

/* —— Feature List —— */
.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-list .check {
  color: var(--accent);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: -2px;
}

/* —— Format Section (Individual/Group) —— */
.format-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .format-row {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
  
  .format-row.reversed {
    direction: rtl;
  }
  
  .format-row.reversed > * {
    direction: ltr;
  }
}

.format-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.format-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.format-img:hover img {
  transform: scale(1.03);
}

.format-content h3 {
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: 16px;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

/* —— Dark Section —— */
.dark-section {
  background: var(--bg-dark);
  color: var(--text-light);
}

.dark-section h2 {
  color: var(--text-light);
}

.dark-section .section-desc {
  color: rgba(255,255,255,0.7);
}

/* —— Results Carousel —— */
.results-carousel {
  position: relative;
}

.result-slide {
  text-align: center;
  padding: 40px 20px;
}

.result-slide img {
  width: 100%;
  max-width: 800px;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin: 0 auto 32px;
  box-shadow: var(--shadow-lg);
}

.result-slide h4 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 24px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.result-slide p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* —— Location Cards —— */
.location-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.location-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.location-card h4 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 18px;
  margin-bottom: 8px;
}

.location-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.lang-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lang-link {
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.lang-link:hover {
  background: var(--accent);
  color: var(--text-light);
  border-color: var(--accent);
}

.lang-ielts {
  background: var(--bg-primary);
  color: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
}

.lang-ielts:hover {
  background: var(--accent);
  color: var(--text-light);
}

/* —— Footer —— */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 60px 0 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-logo {
  display: none;
}

.footer-brand {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-brand span {
  color: var(--accent);
}

.footer-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h5 {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.5);
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  margin-bottom: 12px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--text-light);
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* —— ZHK Detail Page Styles —— */
.zhk-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

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

.zhk-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.zhk-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,17,17,0.9) 0%, rgba(17,17,17,0.4) 100%);
}

.zhk-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 60px;
  width: 100%;
}

.zhk-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--text-light);
  margin-bottom: 16px;
}

.zhk-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.breadcrumb a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--text-light);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.info-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
}

.info-item h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.info-item p {
  font-size: 15px;
  color: var(--text-primary);
}

/* —— WhatsApp Float —— */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* —— Animations —— */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.7s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* —— Utility Classes —— */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-8 { margin-bottom: 32px; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-4 { gap: 16px; }
.grid { display: grid; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

/* —— Responsive Grid —— */
.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: 1fr;
}

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

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* —— Contact Form —— */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 125, 107, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* —— Map Container —— */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* —— Instagram Carousel —— */
.instagram-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.instagram-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--border);
}

.instagram-carousel::-webkit-scrollbar {
  height: 6px;
}

.instagram-carousel::-webkit-scrollbar-track {
  background: var(--border);
  border-radius: 3px;
}

.instagram-carousel::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

.instagram-slide {
  flex: 0 0 280px;
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.instagram-slide:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.instagram-slide img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.instagram-slide:hover img {
  transform: scale(1.05);
}

.instagram-slide .instagram-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.instagram-nav {
  display: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.instagram-nav:hover {
  background: var(--accent);
  color: var(--text-light);
  border-color: var(--accent);
}

@media (min-width: 1024px) {
  .instagram-nav {
    display: flex;
  }
}

/* —— Teachers Section —— */
.teacher-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-md);
}

.founder-photo {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

.star-filled {
  font-variation-settings: 'FILL' 1;
}

/* —— Reduced Motion —— */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
