/* ==========================================================================
   RLS — ink + paper + red pen
   Concept: the world of language correction — warm exam-booklet paper,
   fountain-pen indigo ink, and a teacher's red grading pen as the accent.
   ========================================================================== */

@view-transition { navigation: auto; }

:root {
  --ink: #22315B;
  --ink-deep: #182444;
  --paper: #FBF8F1;
  --paper-2: #F0EADB;
  --paper-3: #EFE8D8;
  --paper-line: #DDD3BE;
  --pen: #E24C3B;
  --pen-deep: #C13A2B;
  --highlight: #F4C64A;
  --sky: #4E79C0;
  --white: #FFFFFF;

  --ink-70: rgba(34, 49, 91, 0.72);
  --ink-55: rgba(34, 49, 91, 0.55);
  --paper-80: rgba(251, 248, 241, 0.82);
  --paper-55: rgba(251, 248, 241, 0.6);

  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-hand: 'Caveat', cursive;

  --radius: 0px;
  --radius-sm: 3px;
  --shadow-sm: 0 2px 8px rgba(24, 36, 68, 0.06);
  --shadow: 0 14px 40px rgba(24, 36, 68, 0.12);
  --shadow-ink: 0 18px 50px rgba(11, 18, 40, 0.35);
  --wrap: 1120px;
}

/* ------- reset / base ------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.14; letter-spacing: -0.025em; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 200;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ------- layout ------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap-narrow { max-width: 760px; }
.section { padding: clamp(3.25rem, 8vw, 6rem) 0; }
.section-paper { background: var(--paper); }
.section-paper-2 { background: var(--paper-2); }
.section-tint { background: var(--paper-3); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-ink h1, .section-ink h2, .section-ink h3 { color: var(--white); }

/* ------- eyebrows / section titles ------- */
.eyebrow, .section-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pen);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.section-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--pen);
  display: inline-block;
}
.eyebrow-onink { color: var(--pen); }
.section-title {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-top: 10px;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
  max-width: 22ch;
}

/* ------- buttons ------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: transform 0.15s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  text-align: center;
  line-height: 1.2;
}
.btn-cta {
  background: var(--pen);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(226, 76, 59, 0.28);
}
.btn-cta:hover { background: var(--pen-deep); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(226, 76, 59, 0.34); }
.btn-cta:active { transform: translateY(0); }
.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: rgba(34, 49, 91, 0.08); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-sm { padding: 8px 15px; font-size: 0.86rem; }
.btn-block { width: 100%; }
.section-ink .btn-outline { border-color: var(--paper-55); color: var(--paper); }
.section-ink .btn-outline:hover { background: var(--paper); color: var(--ink); }
.btn-danger { color: var(--pen); }
.btn-danger:hover { background: rgba(226, 76, 59, 0.12); }
.btn-disabled { background: var(--paper-2); color: var(--ink-55); cursor: not-allowed; box-shadow: none; }
.btn-disabled:hover { transform: none; background: var(--paper-2); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--pen);
  margin-top: 6px;
}
.link-arrow::after { content: "→"; transition: transform 0.18s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ------- header ------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper-80);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--paper-line);
}
.header-row { display: flex; align-items: center; gap: 18px; height: 68px; }
/* Двомовний контент, що рендериться обома мовами (напр. описи викладачів):
   показуємо лише активну мову; перемикається миттєво разом із html[lang]. */
html[lang="uk"] [data-loc="en"],
html[lang="en"] [data-loc="uk"] { display: none !important; }

.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.brand-lockup { display: inline-flex; align-items: center; gap: 9px; }
.brand-fig { height: 32px; width: auto; display: block; flex-shrink: 0; }
.brand-fig-light { display: none; }
.site-footer .brand-fig-dark, .brand-footer .brand-fig-dark { display: none; }
.site-footer .brand-fig-light, .brand-footer .brand-fig-light { display: block; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word-main { font-family: var(--font-body); font-weight: 800; font-size: 1.18rem; letter-spacing: 0.02em; }
.brand-word-dot { color: var(--pen); }
.brand-word-sub { font-family: var(--font-body); font-weight: 600; font-size: 0.53rem; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.55; margin-top: 3px; }
.site-footer .brand, .brand-footer { color: var(--paper); }
.brand-admin { color: var(--ink); }
.brand-admin .brand-fig { height: 26px; }
.brand-admin .brand-word-main { font-size: 1rem; }
.brand-admin-tag { font-family: var(--font-body); font-weight: 700; font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pen); align-self: center; }

.main-nav { display: none; gap: 4px; margin-left: 8px; }
.nav-link {
  padding: 9px 13px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-70);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-link:hover { background: rgba(34, 49, 91, 0.07); color: var(--ink); }
.nav-link.is-current { color: var(--pen); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-switch {
  display: inline-flex;
  gap: 2px;
  background: var(--paper-2);
  border: 1px solid var(--paper-line);
  border-radius: 4px;
  padding: 3px;
}
.lang-btn {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  padding: 6px 11px;
  border-radius: 3px;
  color: var(--ink-55);
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.is-active { background: var(--ink); color: var(--white); }
.header-cta { display: none; }

.burger {
  width: 44px; height: 44px;
  border: 1px solid var(--paper-line);
  background: var(--paper);
  border-radius: 11px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 22px 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--paper-line);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav-link {
  padding: 13px 12px;
  border-radius: 10px;
  font-weight: 600;
  border-bottom: 1px solid var(--paper-2);
}
.mobile-nav-link:hover { background: var(--paper-2); }
.mobile-nav-cta { margin-top: 12px; }

/* ------- hero ------- */
.hero { background: var(--paper); padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(3rem, 8vw, 5.5rem); position: relative; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--paper-line) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.35;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 60%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 40%, #000 60%, transparent);
  pointer-events: none;
}
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; position: relative; }
.hero-title {
  font-size: clamp(2rem, 4.8vw, 3.3rem);
  font-weight: 700;
  margin: 16px 0 18px;
  max-width: 17ch;
}
.hero-sub { font-size: clamp(1.02rem, 2vw, 1.22rem); color: var(--ink-70); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 30px; }
.hero-note { font-size: 0.9rem; color: var(--ink-55); font-weight: 600; }
.note-onink { color: var(--paper-55); }

/* signature: teacher's correction card */
.hero-visual { display: flex; justify-content: center; }
.correction-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 30px 40px 46px;
  max-width: 380px;
  width: 100%;
  transform: rotate(-1.6deg);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 37px,
    var(--paper-line) 37px,
    var(--paper-line) 38px
  );
  background-position: 0 12px;
}
.correction-card::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 30px;
  width: 2px;
  background: rgba(226, 76, 59, 0.4);
}
.correction-line {
  font-family: var(--font-hand);
  font-size: 1.7rem;
  line-height: 38px;
  color: var(--ink);
  position: relative;
}
.crossed {
  position: relative;
  color: var(--ink-55);
  text-decoration: line-through;
  text-decoration-color: var(--pen);
  text-decoration-thickness: 2px;
}
.fix {
  color: var(--pen);
  font-weight: 700;
  position: relative;
}
.ok {
  background: linear-gradient(180deg, transparent 55%, var(--highlight) 55%);
  padding: 0 2px;
  border-radius: 2px;
}
.correction-badge {
  position: absolute;
  right: -14px;
  bottom: -16px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-hand);
  font-size: 1.3rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 4px;
  transform: rotate(-4deg);
  box-shadow: 0 10px 22px rgba(24, 36, 68, 0.28);
  white-space: nowrap;
}

/* ------- about + stats ------- */
.about-grid { display: grid; gap: clamp(1.8rem, 4vw, 3rem); align-items: start; }
.about-text p { color: var(--ink-70); margin-bottom: 1rem; max-width: 54ch; font-size: 1.05rem; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat-card {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}
.stat-value { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; color: var(--pen); line-height: 1; }
.stat-label { display: block; margin-top: 8px; font-size: 0.9rem; color: var(--ink-70); font-weight: 600; }

/* ------- formats + prices ------- */
.formats-grid, .plans-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.format-card, .plan-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.format-card:hover, .plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.format-card.is-popular, .plan-card.is-popular { border-color: var(--pen); box-shadow: 0 14px 40px rgba(226, 76, 59, 0.16); }
.popular-flag {
  position: absolute;
  top: -11px; left: 22px;
  background: var(--pen);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
}
.format-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-70);
  background: var(--paper-2);
  padding: 4px 11px;
  border-radius: 3px;
  letter-spacing: 0.02em;
}
.format-name, .plan-name { font-size: 1.4rem; margin: 14px 0 8px; }
.format-desc, .plan-desc { color: var(--ink-70); font-size: 0.98rem; flex-grow: 1; }
.format-price {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--paper-line);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}
.price-from { font-size: 0.85rem; color: var(--ink-55); font-weight: 600; }
.price-value, .plan-amount { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; color: var(--ink); }
.price-unit { font-size: 0.9rem; color: var(--ink-55); font-weight: 600; }

.directions { margin-top: clamp(2rem, 4vw, 3rem); text-align: center; }
.directions-label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-55); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: 3px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.chip-sm { padding: 5px 12px; font-size: 0.8rem; }

/* ------- steps ------- */
.steps-list { list-style: none; display: grid; gap: 16px; counter-reset: none; }
.step-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
  background: var(--ink);
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.step-title { font-size: 1.2rem; margin-bottom: 5px; }
.step-desc { color: var(--ink-70); font-size: 0.98rem; }

/* ------- reviews ------- */
.reviews-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.review-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  box-shadow: var(--shadow-sm);
}
.review-mark {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 0.6;
  color: var(--highlight);
  display: block;
  height: 26px;
}
.review-text { color: var(--ink); font-size: 1.02rem; font-style: normal; }
.review-cap { margin-top: 16px; display: flex; flex-direction: column; }
.review-name { font-weight: 700; }
.review-role { font-size: 0.88rem; color: var(--ink-55); }
.reviews-empty { color: var(--ink-55); font-size: 1.05rem; }
.reviews-cta { margin-top: clamp(1.8rem, 3vw, 2.4rem); text-align: center; }

/* ------- lead form (ink) ------- */
.lead-card {
  background: var(--ink-deep);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--shadow-ink);
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.2rem);
}
.lead-card-head { max-width: 40ch; }
.lead-title { font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: var(--white); margin: 12px 0 10px; }
.lead-note { color: var(--paper-55); }
.lead-form { display: grid; grid-template-columns: 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; grid-column: 1 / -1; }
.field-half { grid-column: auto; }
.lead-form label, .review-form label { font-size: 0.9rem; font-weight: 600; color: var(--paper); }
.review-form label { color: var(--ink); }
.lead-form input, .lead-form select, .lead-form textarea,
.review-form input, .review-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  background: var(--white);
  color: var(--ink);
  width: 100%;
}
.lead-form textarea, .review-form textarea { resize: vertical; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--pen); }
.review-form input, .review-form textarea { border-color: var(--paper-line); background: var(--paper); }
.review-form input:focus, .review-form textarea:focus { outline: none; border-color: var(--pen); }
.lead-form .btn, .review-form .btn { grid-column: 1 / -1; }
.form-status { grid-column: 1 / -1; font-weight: 600; font-size: 0.95rem; min-height: 1.2em; }
.form-status[data-state="ok"] { color: #2fa36b; }
.section-ink .form-status[data-state="ok"] { color: #7fe0b0; }
.form-status[data-state="error"] { color: var(--pen); }
.section-ink .form-status[data-state="error"] { color: #ff9b8f; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------- page hero (subpages) ------- */
.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.6rem, 3vw, 2.5rem); }
.page-hero-paper { background: var(--paper); }
.page-title { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin-top: 14px; max-width: 18ch; }
.page-lead { margin-top: 16px; font-size: clamp(1.02rem, 2vw, 1.2rem); color: var(--ink-70); max-width: 52ch; }

/* ------- packages / faq / cta band ------- */
.packages-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.package-card {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.package-name { font-size: 1.3rem; margin-bottom: 12px; }
.package-price { display: flex; align-items: baseline; gap: 7px; margin-bottom: 12px; }
.plan-amount-free { color: var(--pen); }
.package-desc { color: var(--ink-70); }

.faq { display: grid; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 6px 22px;
  box-shadow: var(--shadow-sm);
}
.faq-q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: "+"; font-size: 1.5rem; color: var(--pen); transition: transform 0.2s ease; }
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 18px; color: var(--ink-70); }

.section-cta-band { text-align: center; }
.cta-band { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-band-title { font-size: clamp(1.5rem, 3.5vw, 2.3rem); color: var(--white); }

/* ------- teachers ------- */
.teachers-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.teacher-card {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 30px 24px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.teacher-photo { width: 104px; height: 104px; margin: 0 auto 16px; }
.teacher-photo img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; box-shadow: 0 8px 20px rgba(24,36,68,0.14); }
.teacher-name { font-size: 1.2rem; margin-bottom: 12px; }
.teacher-specs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 0 0 16px; }
.teacher-bio { color: var(--ink-70); font-size: 0.94rem; line-height: 1.55; margin-bottom: 22px; }
.teacher-book { margin-top: auto; width: 100%; }

/* language badges on cards */
.teacher-langs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; margin: 0 0 12px; }
.teacher-langs-label { font-size: 0.78rem; color: var(--ink-55); font-weight: 600; margin-right: 2px; }
.teacher-lang { display: inline-flex; align-items: center; gap: 5px; font-size: 0.82rem; font-weight: 600; color: var(--ink); background: var(--paper-2); border: 1px solid var(--paper-line); border-radius: 3px; padding: 3px 9px; }
.teacher-lang .subject-emoji { font-size: 0.95rem; line-height: 1; }

/* clickable language chips + centered section CTA */
.subject-chip-link { text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.subject-chip-link:hover { border-color: var(--ink); transform: translateY(-1px); }
.section-cta-center { text-align: center; margin-top: clamp(1.6rem, 3vw, 2.4rem); }

/* ---------- Teachers page ---------- */
.teachers-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.teachers-filter-label { font-weight: 700; color: var(--ink-70); font-size: 0.9rem; margin-right: 4px; }
.filter-chip { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.filter-chip.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.teachers-empty { color: var(--ink-55); }

.teacher-profiles { display: grid; gap: clamp(1.4rem, 3vw, 2.2rem); }
.teacher-profile {
  display: grid; grid-template-columns: 1fr; gap: clamp(1.2rem, 3vw, 2rem);
  background: var(--white); border: 1px solid var(--paper-line);
  border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-sm);
}
.teacher-profile-media img { width: 100%; max-width: 260px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); display: block; }
.teacher-initials-lg { width: 100%; max-width: 260px; aspect-ratio: 1 / 1; margin: 0; height: auto; font-size: 3.4rem; border-radius: var(--radius); }
.teacher-profile-name { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 8px; }
.teacher-quote { font-style: italic; color: var(--ink-70); font-size: 1.05rem; margin: 12px 0 16px; }
.teacher-block-h { font-weight: 700; color: var(--ink); margin: 14px 0 6px; }
.teacher-creds { list-style: none; display: grid; gap: 5px; margin: 0 0 6px; }
.teacher-creds li { position: relative; padding-left: 18px; color: var(--ink-70); }
.teacher-creds li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; background: var(--pen); border-radius: 2px; }
.teacher-para { color: var(--ink-70); margin-bottom: 6px; }

.teacher-more { margin: 10px 0 4px; }
.teacher-more-toggle { display: inline-flex; align-items: center; gap: 7px; background: none; border: none; padding: 6px 0; cursor: pointer; font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; color: var(--pen); }
.teacher-more-toggle .chev { transition: transform 0.2s; }
.teacher-more.is-open .teacher-more-toggle .chev { transform: rotate(180deg); }
.teacher-more .less-label { display: none; }
.teacher-more.is-open .more-label { display: none; }
.teacher-more.is-open .less-label { display: inline; }
.teacher-more-content { padding-top: 8px; border-top: 1px dashed var(--paper-line); margin-top: 6px; }
.teacher-book-inline { margin-top: 16px; }

/* ------- schedule ------- */
.schedule-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 20px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: clamp(1.6rem, 3vw, 2.2rem);
}
.filter { display: flex; flex-direction: column; gap: 6px; min-width: 160px; flex: 1 1 180px; }
.filter label { font-size: 0.8rem; font-weight: 700; color: var(--ink-70); letter-spacing: 0.02em; }
.filter select {
  height: 46px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 0 13px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--paper-line);
  background: var(--paper);
  color: var(--ink);
}
.filter select:focus { outline: none; border-color: var(--pen); }
.filter-check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}
.filter-check input { width: 18px; height: 18px; accent-color: var(--pen); margin: 0; flex-shrink: 0; }
.schedule-reset { height: 46px; align-self: flex-end; }
.schedule-reset[hidden] { display: none; }

.schedule-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.session-card {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-left: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  align-items: center;
}
.session-card.is-full { border-left-color: var(--paper-line); opacity: 0.86; }
.session-when { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.session-day { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.session-time { font-weight: 700; color: var(--pen); font-size: 1.05rem; }
.session-dur { font-size: 0.85rem; color: var(--ink-55); }
.session-level { font-size: 1.15rem; margin: 8px 0 6px; }
.session-teacher { font-size: 0.92rem; color: var(--ink-70); }
.session-teacher-label { font-weight: 600; }
.session-avail { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.avail-badge { font-weight: 700; font-size: 0.9rem; padding: 6px 13px; border-radius: 3px; }
.avail-free { background: rgba(47, 163, 107, 0.14); color: #227a4f; }
.avail-full { background: rgba(34, 49, 91, 0.08); color: var(--ink-55); }
.schedule-empty { text-align: center; color: var(--ink-55); font-size: 1.05rem; padding: 2rem 0; }
.schedule-empty[hidden] { display: none; }

/* ------- forms: outlined card (review, admin login) ------- */
.card-outlined {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}
.review-form { display: grid; gap: 16px; }

/* ------- footer ------- */
.site-footer { background: var(--ink-deep); color: var(--paper-55); padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.6rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
.footer-tagline { margin-top: 14px; max-width: 34ch; font-size: 0.94rem; color: var(--paper-55); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-heading { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper-55); margin-bottom: 4px; }
.footer-col a { color: var(--paper); font-weight: 500; font-size: 0.96rem; width: fit-content; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--pen); }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.86rem; color: var(--paper-55); }

/* ------- sticky mobile CTA ------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--paper-80);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--paper-line);
}
.sticky-cta .btn { box-shadow: 0 6px 18px rgba(226, 76, 59, 0.3); }

/* ------- back to top ------- */
.to-top {
  position: fixed;
  right: 18px;
  bottom: calc(76px + env(safe-area-inset-bottom));
  z-index: 91;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--paper-line);
  background: var(--white);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease;
}
.to-top.is-shown { opacity: 1; transform: translateY(0); }
.to-top[hidden] { display: none; }
.to-top:hover { background: var(--ink); color: var(--white); }

/* ------- error pages ------- */
.error-section { min-height: 60vh; display: grid; place-items: center; }
.error-box { text-align: center; }
.error-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 16vw, 8rem); color: var(--pen); line-height: 1; opacity: 0.9; }
.error-box .page-title { margin: 8px auto 12px; }
.error-box .page-lead { margin: 0 auto 26px; }

/* ==========================================================================
   ADMIN
   ========================================================================== */
.admin-body { background: var(--paper-2); }
.admin-header { background: var(--white); border-bottom: 1px solid var(--paper-line); position: sticky; top: 0; z-index: 50; }
.admin-header-row { max-width: 1000px; margin: 0 auto; padding: 12px 22px; display: flex; align-items: center; gap: 18px; }
.admin-nav { display: flex; gap: 4px; margin-left: 10px; flex-wrap: wrap; }
.admin-nav a { padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 0.92rem; color: var(--ink-70); }
.admin-nav a:hover { background: var(--paper-2); }
.admin-nav a.is-current { color: var(--pen); background: rgba(226,76,59,0.08); }
.admin-logout { margin-left: auto; }
.admin-main { padding: clamp(1.5rem, 4vw, 2.5rem) 0 4rem; }
.admin-wrap { max-width: 1000px; margin: 0 auto; padding: 0 22px; }
.admin-title { font-size: 1.8rem; margin-bottom: 20px; }
.admin-subtitle { font-size: 1.2rem; margin-bottom: 8px; }
.admin-muted { color: var(--ink-55); font-size: 0.94rem; }
.admin-empty { padding: 2rem 0; }
.admin-stats { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 28px; }
.admin-stat { background: var(--white); border: 1px solid var(--paper-line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: transform 0.15s ease; }
.admin-stat:hover { transform: translateY(-2px); }
.admin-stat-value { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--pen); }
.admin-stat-label { color: var(--ink-70); font-weight: 600; font-size: 0.94rem; }
.admin-card { background: var(--white); border: 1px solid var(--paper-line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.admin-card code { background: var(--paper-2); padding: 2px 6px; border-radius: 5px; font-size: 0.86em; }
.admin-card form { margin-top: 14px; }

.admin-tabs { display: flex; gap: 6px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-tabs a { padding: 8px 15px; border-radius: 4px; font-weight: 600; font-size: 0.9rem; background: var(--white); border: 1px solid var(--paper-line); color: var(--ink-70); }
.admin-tabs a.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }

.admin-reviews { display: grid; gap: 14px; }
.admin-review { background: var(--white); border: 1px solid var(--paper-line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); display: grid; gap: 16px; grid-template-columns: 1fr; }
.admin-review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.admin-review-text { color: var(--ink); }
.admin-review-date { margin-top: 8px; }
.admin-review-actions { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.admin-review-actions form { margin: 0; }
.badge { font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 3px; letter-spacing: 0.02em; }
.badge-lang { background: var(--paper-2); color: var(--ink-70); text-transform: uppercase; }
.badge-ok { background: rgba(47,163,107,0.16); color: #227a4f; }
.badge-pending { background: rgba(244,198,74,0.24); color: #8a6d15; }

.admin-table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--paper-line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 760px; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--paper-2); vertical-align: top; }
.admin-table th { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-55); background: var(--paper); }
.admin-table .nowrap { white-space: nowrap; }
.admin-source { font-size: 0.82rem; }

.admin-head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.admin-head-row .admin-title { margin-bottom: 0; }
.admin-quick { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

.admin-teachers { display: grid; gap: 12px; margin-top: 16px; }
.admin-teacher {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border: 1px solid var(--paper-line);
  border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow-sm);
}
.admin-teacher-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.admin-teacher-nophoto { display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 800; }
.admin-teacher-main { flex-grow: 1; display: flex; flex-direction: column; gap: 4px; }
.admin-teacher-meta { font-size: 0.82rem; }
.admin-teacher-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-teacher-actions form { margin: 0; }

.admin-form { display: grid; gap: 18px; margin-top: 8px; }
.admin-form .field { display: flex; flex-direction: column; gap: 7px; }
.admin-form label { font-weight: 600; font-size: 0.92rem; }
.admin-form input[type="text"], .admin-form input[type="number"], .admin-form textarea {
  font-family: var(--font-body); font-size: 1rem; padding: 11px 13px;
  border-radius: var(--radius-sm); border: 1.5px solid var(--paper-line); background: var(--paper); color: var(--ink);
}
.admin-form input:focus, .admin-form textarea:focus { outline: none; border-color: var(--pen); }
.admin-form-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
.admin-checks { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.admin-check { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.admin-check input { width: 17px; height: 17px; accent-color: var(--pen); }
.admin-check-lg { font-weight: 600; }
.admin-form-photo { width: 72px; height: 72px; margin-bottom: 8px; }
.admin-hint { font-size: 0.82rem; }
.admin-form-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.admin-toggle-block { margin-bottom: 18px; }.admin-toggles { display: grid; gap: 10px; margin-top: 12px; }
.admin-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 12px 0; border-bottom: 1px dashed var(--paper-line);
}
.admin-toggle:last-child { border-bottom: none; }
.admin-toggle-main { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.admin-toggle form { margin: 0; }

.admin-login { min-height: 100vh; display: grid; place-content: center; gap: 22px; padding: 22px; }
.admin-stats-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 4px; }
.stat-bars { display: grid; gap: 10px; margin-top: 12px; }
.stat-bar-row { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 12px; }
.stat-bar-label { font-weight: 600; font-size: 0.9rem; }
.stat-bar-track { height: 12px; background: var(--paper-2); border-radius: 2px; overflow: hidden; }
.stat-bar-fill { display: block; height: 100%; background: var(--pen); border-radius: 2px; min-width: 2px; }
.stat-bar-num { font-family: var(--font-body); font-weight: 700; color: var(--ink); min-width: 24px; text-align: right; }
.admin-mini-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.admin-mini-table td { padding: 9px 4px; border-bottom: 1px solid var(--paper-2); font-size: 0.94rem; }
.admin-mini-table td.num { text-align: right; font-weight: 700; }
.admin-mini-table tr:last-child td { border-bottom: none; }
.brand-login { justify-content: center; }
.admin-login-card { width: min(380px, 90vw); display: grid; gap: 16px; }
.admin-login-card .btn { margin-top: 6px; }

/* ==========================================================================
   REVEAL ANIMATIONS (progressive: content visible without JS)
   ========================================================================== */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ------- cabinet link ------- */
.cabinet-link {
  border: 1.5px solid var(--paper-line);
  border-radius: 8px;
}
.cabinet-link:hover { border-color: var(--ink); }

/* ------- subjects (languages) strip ------- */
.subjects-band { text-align: center; padding: clamp(1.8rem, 4vw, 2.8rem) 0; background: var(--paper); border-bottom: 1px solid var(--paper-line); }
.subjects-subtitle { color: var(--ink-70); max-width: 46ch; margin: 6px auto 20px; }
.subject-cards { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chips-center { justify-content: center; }
.speaking-cta { margin-top: 18px; }

/* ------- per-language price heading ------- */
.price-lang + .price-lang { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.price-lang-title {
  display: flex; align-items: center; gap: 11px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 1.3rem;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--paper-line);
}

/* ------- legal / offer page ------- */
.offer-updated { color: var(--ink-55); font-size: 0.9rem; margin-top: 12px; }
.legal { max-width: 70ch; }
.legal-intro { font-size: 1.05rem; color: var(--ink-70); margin-bottom: 1.6rem; }
.legal-h { font-size: 1.15rem; margin: 1.9rem 0 0.5rem; }
.legal p { color: var(--ink-70); margin-bottom: 0.6rem; }
.legal-contacts { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--paper-line); }
.legal-contacts a { color: var(--pen); font-weight: 600; }

/* ------- admin price editor ------- */
.admin-price-card { margin-bottom: 20px; }
.admin-price-card .admin-subtitle { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.admin-price-form { margin-top: 14px; }
.admin-price-head { display: none; }
.admin-price-line { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 12px; border: 1px solid var(--paper-line); border-radius: var(--radius); margin-bottom: 8px; background: var(--paper); }
.admin-price-line.is-hidden-row { opacity: 0.55; }
.apl-cell { display: flex; flex-direction: column; gap: 5px; }
.apl-cell::before { content: attr(data-h); font-size: 0.72rem; color: var(--ink-55); font-weight: 700; }
.apl-cell input[type="text"], .apl-cell input[type="number"] { padding: 8px 10px; border-radius: var(--radius-sm); border: 1.5px solid var(--paper-line); background: var(--white); font-family: var(--font-body); font-size: 0.9rem; color: var(--ink); width: 100%; }
.apl-cell input:focus { outline: none; border-color: var(--pen); }
.apl-check { flex-direction: row; align-items: center; gap: 8px; }
.apl-check input { width: 18px; height: 18px; accent-color: var(--pen); }
.apl-del { accent-color: #c0392b !important; }
.admin-price-newline { margin-top: 14px; padding-top: 12px; border-top: 2px dashed var(--paper-line); }
.admin-newline-h { font-weight: 700; margin-bottom: 8px; }
.admin-price-form > .btn { margin-top: 10px; }
.subjects-label {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-55); margin-bottom: 14px;
}
.subject-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--paper-line);
  border-radius: 4px; padding: 9px 18px; font-weight: 700; color: var(--ink);
}
.subject-emoji { font-size: 1.1rem; line-height: 1; }

/* ------- price matrix ------- */
.price-groups { display: grid; gap: 18px; grid-template-columns: 1fr; }
.price-group {
  background: var(--white); border: 1px solid var(--paper-line);
  border-radius: var(--radius); padding: 24px 24px 12px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.price-group-title {
  font-size: 1.3rem; margin-bottom: 6px; padding-bottom: 14px;
  border-bottom: 2px solid var(--paper-2);
}
.price-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 13px 0; border-bottom: 1px dashed var(--paper-line);
}
.price-row:last-child { border-bottom: none; }
.price-row-main { display: flex; flex-direction: column; gap: 2px; }
.price-format { font-weight: 700; font-size: 1.02rem; }
.price-variant { font-size: 0.85rem; color: var(--ink-55); font-weight: 600; }
.price-note { font-size: 0.8rem; color: var(--ink-55); }
.price-right { text-align: right; white-space: nowrap; }
.price-amount { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--ink); }
.price-duration { display: block; font-size: 0.8rem; color: var(--ink-55); font-weight: 600; margin-top: 2px; }

/* ------- speaking club card ------- */
.speaking-card {
  background: var(--white); border: 1px solid var(--paper-line);
  border-left: 3px solid var(--ink);
  border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm);
  max-width: 720px;
}
.speaking-card .format-tag { background: rgba(244,198,74,0.22); color: #8a6d15; }
.speaking-title { font-size: 1.5rem; margin: 12px 0 8px; }
.speaking-desc { color: var(--ink-70); }

/* ------- teacher initials fallback ------- */
.teacher-initials {
  width: 128px; height: 128px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--ink); color: var(--white); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 2.4rem;
  box-shadow: 0 8px 20px rgba(24,36,68,0.14);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (min-width: 620px) {
  .formats-grid, .plans-grid, .reviews-grid, .packages-grid, .teachers-grid { grid-template-columns: repeat(2, 1fr); }
  .session-card { grid-template-columns: 1.1fr 1.4fr auto; }
  .session-when { flex-direction: column; gap: 4px; }
  .lead-form { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .main-nav { display: flex; }
  .burger { display: none; }
  .mobile-nav { display: none !important; }
  .header-cta { display: inline-flex; }
  .sticky-cta { display: none; }
  .to-top { bottom: 24px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .about-grid { grid-template-columns: 1.2fr 1fr; }
  .stats-grid { gap: 16px; }
  .formats-grid, .plans-grid { grid-template-columns: repeat(3, 1fr); }
  .price-groups { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .teachers-grid { grid-template-columns: repeat(4, 1fr); }
  .teacher-profile { grid-template-columns: 240px 1fr; align-items: start; }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .packages-grid { grid-template-columns: repeat(2, 1fr); max-width: 780px; }
  .lead-card { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .admin-stats { grid-template-columns: repeat(3, 1fr); }
  .admin-review { grid-template-columns: 1fr auto; }
  .admin-form-row { grid-template-columns: 1fr 1fr; }
  .admin-stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .steps-list { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .correction-card { transform: rotate(-1.6deg); }
}
