/* ============================================
   RussianTeacher.org — Main Stylesheet
   ============================================ */

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

:root {
  --navy:     #1a2744;
  --navy-mid: #243357;
  --gold:     #c9a84c;
  --gold-lt:  #e8c97a;
  --cream:    #faf8f3;
  --white:    #ffffff;
  --text:     #2c2c2c;
  --text-lt:  #5a5a5a;
  --border:   #e0d9cc;
  --shadow:   0 4px 24px rgba(26,39,68,0.10);
  --radius:   10px;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Lora', Georgia, serif;
  --font-ui:   'Inter', system-ui, sans-serif;
  --max-w:    1140px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; }

.section-label {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.6rem;
}

/* --- Layout --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { max-width: 640px; margin: 0.75rem auto 0; color: var(--text-lt); }

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-lt);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}
.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

/* --- Navigation --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  height: 70px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
}
.nav-logo .ya { color: var(--gold); font-size: 1.6rem; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
  background: rgba(201,168,76,0.1);
}
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
}
.nav-cta:hover {
  background: var(--gold-lt) !important;
  color: var(--navy) !important;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: all var(--transition);
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1e3a6e 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: 'Я';
  position: absolute;
  right: -60px;
  top: -40px;
  font-family: var(--font-head);
  font-size: 420px;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold-lt);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 em { color: var(--gold-lt); font-style: normal; }
.hero p { color: rgba(255,255,255,0.80); font-size: 1.1rem; margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-formats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-formats-label {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.format-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
}
.format-badge .icon { color: var(--gold); font-size: 0.9rem; }
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-portrait {
  width: 340px;
  height: 420px;
  border: 3px solid rgba(201,168,76,0.5);
  border-radius: 16px;
  display: block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
  display: block;
}
.portrait-placeholder {
  text-align: center;
  color: rgba(255,255,255,0.5);
  padding: 2rem;
}
.portrait-placeholder .ya-big {
  font-family: var(--font-head);
  font-size: 7rem;
  color: rgba(201,168,76,0.4);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}
.portrait-placeholder p { font-size: 0.85rem; margin: 0; }

/* --- Stats Bar --- */
.stats-bar {
  background: var(--navy-mid);
  padding: 28px 0;
}
.stats-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
}

/* --- Trust/Audience Cards --- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.audience-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}
.audience-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.audience-card .icon { font-size: 2rem; margin-bottom: 0.75rem; }
.audience-card h4 { margin-bottom: 0.4rem; font-size: 1rem; }
.audience-card p { font-size: 0.88rem; color: var(--text-lt); margin: 0; }

/* --- Format Cards (how it works) --- */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.format-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.format-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}
.format-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.format-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }
.format-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.format-card p { font-size: 0.9rem; color: var(--text-lt); margin: 0; }

/* --- About Preview --- */
.about-preview {
  background: var(--cream);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-portrait {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4/5;
  background: var(--border);
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid var(--gold);
}
.about-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.credential-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid var(--gold);
}
.credential-badge .num {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.credential-badge .lbl {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.08em;
}
.about-text .section-label { text-align: left; }
.highlight-list { list-style: none; margin: 1.25rem 0 2rem; }
.highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.highlight-list li::before {
  content: '✦';
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* --- Testimonials --- */
.testimonials-section { background: var(--navy); color: var(--white); }
.testimonials-section h2 { color: var(--white); }
.testimonials-section .section-header p { color: rgba(255,255,255,0.65); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  font-family: var(--font-head);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
}
.testimonial-text {
  font-style: italic;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.25rem;
  padding-top: 1rem;
  font-size: 0.95rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(201,168,76,0.2);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}
.author-info strong { display: block; color: var(--white); font-size: 0.9rem; }
.author-info span { color: rgba(255,255,255,0.5); font-size: 0.8rem; font-family: var(--font-ui); }
.stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 0.25rem; }

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-lt) 100%);
  padding: 70px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--navy); margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(26,39,68,0.75); margin-bottom: 2rem; }
.cta-banner .btn-primary {
  background: var(--navy);
  color: var(--white);
}
.cta-banner .btn-primary:hover {
  background: var(--navy-mid);
  box-shadow: 0 8px 24px rgba(26,39,68,0.3);
}

/* --- Lessons Page --- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-btn {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text-lt);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.lessons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.lesson-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.lesson-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.lesson-card:hover::before { transform: scaleX(1); }
.lesson-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.lesson-tag {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.lesson-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.lesson-card p { font-size: 0.9rem; color: var(--text-lt); }
.lesson-card ul {
  list-style: none;
  margin: 0.75rem 0 auto;
  font-size: 0.88rem;
  color: var(--text-lt);
}
.lesson-card .btn {
  margin-top: 1.5rem;
  width: 100%;
  text-align: center;
}
.lesson-card ul li {
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.lesson-card ul li:last-child { border: none; }
.lesson-card ul li::before { content: '→'; color: var(--gold); }

/* --- Testimonials Page --- */
.testimonials-page .testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
}
.testimonials-page .testimonial-card::before { color: var(--gold); opacity: 0.6; }
.testimonials-page .testimonial-text { color: var(--text); }
.testimonials-page .author-info strong { color: var(--navy); }
.testimonials-page .author-info span { color: var(--text-lt); }
.featured-testimonial {
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  padding: 3rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}
.featured-testimonial::before {
  content: '"';
  font-family: var(--font-head);
  font-size: 10rem;
  color: rgba(201,168,76,0.15);
  position: absolute;
  top: -2rem;
  left: 1rem;
  line-height: 1;
}
.featured-testimonial blockquote {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
  position: relative;
  margin-bottom: 1.5rem;
}
.featured-testimonial cite {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--gold);
  font-style: normal;
  font-weight: 600;
}

/* --- Video Library --- */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.video-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.video-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.video-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--navy);
  overflow: hidden;
}
.video-thumb iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-info {
  padding: 1.25rem;
}
.video-cat {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.video-title { font-size: 1rem; margin-bottom: 0.35rem; }
.video-desc { font-size: 0.85rem; color: var(--text-lt); margin: 0; }

/* --- Shop --- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.product-img {
  height: 220px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.product-info { padding: 1.25rem; }
.product-name { font-size: 1.05rem; margin-bottom: 0.25rem; }
.product-desc { font-size: 0.85rem; color: var(--text-lt); margin-bottom: 0.75rem; }
.product-price {
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.1rem;
}
.coming-soon-badge {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-top: 0.5rem;
}

/* --- FAQ --- */
.faq-section { background: var(--cream); }
.faq-group { margin-bottom: 2.5rem; }
.faq-group-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition);
}
.faq-q:hover { background: var(--cream); }
.faq-q.open { color: var(--gold); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-q.open .faq-icon { transform: rotate(45deg); background: var(--gold); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-lt);
  border-top: 1px solid var(--border);
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
}
.contact-info-card h3 { color: var(--gold); margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-detail .icon {
  width: 42px;
  height: 42px;
  background: rgba(201,168,76,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail .label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.2rem;
}
.contact-detail .value {
  color: var(--white);
  font-size: 0.95rem;
}
.contact-formats {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-formats p {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.format-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.format-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
}
.contact-form-wrap h3 { margin-bottom: 1.5rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note {
  font-size: 0.82rem;
  color: var(--text-lt);
  margin-top: 0.5rem;
  font-style: italic;
}
.form-success {
  display: none;
  background: #d4edda;
  color: #155724;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  margin-top: 1rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
}

/* --- About Page --- */
.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}
.credentials-panel {
  background: var(--cream);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
  position: sticky;
  top: 90px;
}
.credentials-panel h4 { margin-bottom: 1.25rem; color: var(--navy); }
.cred-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}
.cred-item .icon {
  width: 32px;
  height: 32px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.pricing-box {
  background: var(--navy);
  color: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  text-align: center;
}
.pricing-box h4 { color: var(--gold); margin-bottom: 0.75rem; }
.price-item {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
}
.price-item .amount {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--gold);
  display: block;
}
.price-item .desc { font-size: 0.82rem; color: rgba(255,255,255,0.65); }

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: 'Я';
  position: absolute;
  right: 5%;
  top: -20px;
  font-family: var(--font-head);
  font-size: 250px;
  color: rgba(255,255,255,0.03);
  line-height: 1;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto; }

/* --- Footer --- */
.site-footer {
  background: #111a2f;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-family: var(--font-ui);
  letter-spacing: 0.06em;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--gold); }

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-inner, .about-inner, .contact-grid, .about-page-grid { grid-template-columns: 1fr; }
  .hero-image { display: flex; justify-content: center; margin-top: 2rem; }
  .hero-portrait { width: 260px; height: 320px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-page-grid .credentials-panel { position: static; }
}

@media (max-width: 640px) {
  section { padding: 55px 0; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--navy); padding: 1rem; gap: 0.25rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .footer-inner { grid-template-columns: 1fr; }
  .stats-inner { gap: 1.5rem; }
  .hero { padding: 60px 0 50px; }
  .featured-testimonial { padding: 2rem 1.5rem; }
}
