/* =============================
   TEACHERS PAGE (pages.css)
   Style like health/philosophy
   ============================= */

.page-hero.teachers-hero .hero-image-bg,
.page-hero.teachers-hero .hero-overlay{
  display: none !important;
}
:root{
  --brand: #8c2388;
  --brand-2: #a84199;
  --text: #2c2c2c;
  --muted: #666;
  --soft: #faf7fb;   /* нежно-розовый фон секций */
  --card: #ffffff;
  --shadow: 0 12px 35px rgba(0,0,0,0.08);
  --radius-xl: 22px;
}

/* ---------- HERO (page-hero) ---------- */
.page-hero{
  position: relative;
  padding: 92px 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
}

.page-hero .hero-image-bg{
  position:absolute;
  inset:0;
  z-index:0;
}

.page-hero .hero-image-bg img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  opacity:0.35;
  filter: saturate(1.05);
}

.page-hero .hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.25));
}

.page-hero .hero-content-wrapper{
  position:relative;
  z-index:2;
  text-align:center;
}

.page-hero h1{
  font-family: 'EB Garamond', serif;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.1;
  margin: 0 0 16px;
  color:#fff;
  font-weight: 600;
}

.page-hero .hero-subtitle{
  font-family:'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto;
  color: rgba(255,255,255,0.92);
}

/* ---------- BASE SECTIONS ---------- */
.content-section{
  padding: 80px 0;
}

.alt-bg{
  background: var(--soft);
}

/* заголовки секций (как на health/philosophy) */
.section-header{
  margin-bottom: 50px;
}

.section-header.centered{
  text-align:center;
}

.section-header h2,
.section-title{
  font-family: 'EB Garamond', serif;
  font-size: 40px;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 12px;
}

.section-intro{
  font-family:'Montserrat', sans-serif;
  color: var(--muted);
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto;
}

.section-title.centered{
  text-align:center;
}

/* ---------- STATS (features-grid-3 + stat-card) ---------- */
.features-grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.stat-card{
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  text-align:center;
  transition: transform .28s ease, box-shadow .28s ease;
}

.stat-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 55px rgba(140,35,136,0.18);
}

.stat-number-big{
  font-family:'EB Garamond', serif;
  font-size: 46px;
  color: var(--brand);
  margin-bottom: 6px;
  font-weight: 700;
}

.stat-card h3{
  margin: 0 0 6px;
  color: var(--text);
  font-size: 18px;
  font-family:'Montserrat', sans-serif;
  font-weight: 700;
}

.stat-card p{
  margin: 0;
  color: var(--muted);
  font-family:'Montserrat', sans-serif;
}

/* ---------- TEACHERS GRID ---------- */
.teachers-section{
  padding: 80px 0;
}

.teachers-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.teacher-card{
  background: var(--card);
  border-radius: var(--radius-xl);
  overflow:hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform .28s ease, box-shadow .28s ease;
}

.teacher-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 55px rgba(140,35,136,0.18);
}

.teacher-photo{
  position: relative;
  height: 240px;
  background:#fff;
}

.teacher-photo img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.teacher-badge{
  position:absolute;
  top: 14px;
  left: 14px;
  background: var(--brand);
  color:#fff;
  font-family:'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.14);
}

.teacher-info{
  padding: 20px 20px 22px;
}

.teacher-info h3{
  margin: 0 0 6px;
  font-family:'EB Garamond', serif;
  font-size: 24px;
  color: var(--text);
}

.teacher-role{
  margin: 0 0 8px;
  color: var(--brand);
  font-weight: 700;
  font-family:'Montserrat', sans-serif;
  font-size: 14px;
}

.teacher-experience{
  margin: 0 0 10px;
  color: var(--muted);
  font-family:'Montserrat', sans-serif;
  font-size: 14px;
}

.teacher-education{
  margin: 0 0 14px;
  color: #444;
  line-height: 1.65;
  font-family:'Montserrat', sans-serif;
  font-size: 14px;
}

.teacher-specialization{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}

.spec-tag{
  background: #f3e8f4;
  color: var(--brand);
  border: 1px solid rgba(140,35,136,0.14);
  padding: 7px 10px;
  border-radius: 999px;
  font-family:'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
}

/* ---------- REQUIREMENTS ---------- */
.requirements-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.requirement-card{
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 24px 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform .28s ease, box-shadow .28s ease;
}

.requirement-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 55px rgba(140,35,136,0.18);
}

.req-icon{
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f3e8f4;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 24px;
  margin-bottom: 12px;
}

.requirement-card h3{
  margin: 0 0 8px;
  font-family:'Montserrat', sans-serif;
  font-size: 16px;
  color: var(--text);
  font-weight: 800;
}

.requirement-card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-family:'Montserrat', sans-serif;
}

/* ---------- TWO COLUMN + LIST (как philosophy) ---------- */
.two-column-layout{
  display:grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 55px;
  align-items: center;
}

.column-content h2{
  margin: 0 0 12px;
}

.column-content p{
  margin: 0 0 14px;
  color:#444;
  line-height: 1.75;
  font-family:'Montserrat', sans-serif;
}

.column-image img{
  width:100%;
  border-radius: 26px;
  box-shadow: 0 18px 55px rgba(0,0,0,0.10);
  display:block;
}

.styled-list{
  list-style:none;
  padding: 0;
  margin: 10px 0 0;
  display:grid;
  gap: 10px;
}

.styled-list li{
  position: relative;
  padding-left: 28px;
  color:#555;
  line-height: 1.65;
  font-family:'Montserrat', sans-serif;
}

.styled-list li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color: var(--brand);
  font-weight: 900;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px){
  .teachers-grid{ grid-template-columns: repeat(2, 1fr); }
  .features-grid-3{ grid-template-columns: repeat(2, 1fr); }
  .requirements-grid{ grid-template-columns: repeat(2, 1fr); }
  .two-column-layout{ grid-template-columns: 1fr; }
}

@media (max-width: 600px){
  .teachers-grid,
  .features-grid-3,
  .requirements-grid{ grid-template-columns: 1fr; }

  .teacher-photo{ height: 220px; }

  .section-header h2,
  .section-title{ font-size: 34px; }
}