/* =========================================================
   Focus on Math - style.css
   ========================================================= */

:root {
  --navy: #0b1f3a;
  --navy-2: #13294b;
  --navy-3: #1c3a68;
  --blue: #2f6fed;
  --gold: #ffb400;
  --red: #d1483f;
  --green: #2f9e64;
  --bg: #f7f9fc;
  --bg-alt: #eef2f9;
  --text: #1f2937;
  --text-soft: #5b6472;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  --radius: 16px;
  --container: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.3; margin: 0; }

.br-desktop { display: inline; }
@media (max-width: 640px) { .br-desktop { display: none; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(255, 180, 0, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 26px rgba(255, 180, 0, 0.45); }
.btn-outline {
  background: transparent;
  border-color: rgba(11, 31, 58, 0.18);
  color: var(--navy);
}
.btn-outline:hover { border-color: var(--navy); background: rgba(11, 31, 58, 0.04); }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 249, 252, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img { height: 58px; width: auto; }
.nav {
  display: flex;
  gap: 32px;
}
.nav-link {
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}
.nav-link.active,
.nav-link:hover { color: var(--blue); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.header-cta { flex-shrink: 0; padding: 10px 22px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 120% at 20% 0%, var(--navy-3) 0%, var(--navy) 55%, var(--navy) 100%);
  color: var(--white);
  padding: 120px 0 100px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-num {
  position: absolute;
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.06);
}
.n1 { font-size: 220px; top: -60px; right: -30px; }
.n2 { font-size: 160px; bottom: -40px; left: -20px; }
.n3 { font-size: 120px; top: 30%; left: 8%; }
.n4 { font-size: 90px; bottom: 15%; right: 10%; }
.n5 { font-size: 140px; top: 10%; right: 30%; }

.hero-inner { position: relative; text-align: center; }
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--gold);
  background: rgba(255, 180, 0, 0.12);
  padding: 8px 18px;
  border-radius: 999px;
  margin: 0 0 24px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  margin-bottom: 24px;
}
.hero .accent { color: var(--gold); }
.hero-desc {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.8);
  margin: 0 auto 40px;
  max-width: 640px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.hero-actions .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* ===== Section shared ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-eyebrow {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--blue);
  margin: 0 0 12px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 18px;
}
.section-lead {
  font-size: 16px;
  color: var(--text-soft);
  margin-bottom: 56px;
  max-width: 720px;
}

/* ===== Grid / Cards ===== */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.report-grid { margin-bottom: 24px; }
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(11, 31, 58, 0.12); }
.card-icon { font-size: 30px; margin-bottom: 16px; }
.card h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--text-soft); margin: 0; }

/* ===== Philosophy ===== */
.philosophy {
  margin-top: 64px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: var(--white);
  border-radius: 20px;
  padding: 56px 48px;
  box-shadow: var(--shadow);
  text-align: center;
}
.philosophy .section-eyebrow { color: var(--gold); }
.philosophy-title {
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 40px;
}
.philosophy-steps {
  list-style: none;
  margin: 0 auto 36px;
  padding: 0;
  max-width: 420px;
  text-align: left;
  position: relative;
}
.philosophy-steps li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 32px;
  position: relative;
}
.philosophy-steps li:last-child { padding-bottom: 0; }
.philosophy-steps li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: -2px;
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
}
.philosophy-steps li:last-child::before { display: none; }
.philosophy-index {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 14px;
  z-index: 1;
  background: var(--navy-3);
}
.philosophy-en {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 1px;
  color: var(--gold);
  margin: 4px 0 4px;
}
.philosophy-ko { font-size: 14.5px; color: rgba(255, 255, 255, 0.85); margin: 0; }
.philosophy-tagline {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  margin: 0;
}
@media (max-width: 800px) {
  .philosophy { padding: 40px 24px; }
}

/* ===== Admission callout ===== */
.admission-box {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: #fffaf0;
  border: 1px solid #ffdb99;
  border-left: 5px solid var(--gold);
  border-radius: 16px;
  padding: 32px;
  margin-top: 40px;
}
.admission-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(11, 31, 58, 0.08);
}
.admission-box h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.admission-box p { font-size: 14.5px; color: var(--text-soft); margin: 0; line-height: 1.7; }
.admission-box strong { color: var(--navy); }
@media (max-width: 560px) {
  .admission-box { flex-direction: column; }
}

/* ===== Director ===== */
.director-card {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.director-avatar {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
}
.director-name { font-size: 20px; color: var(--navy); margin-bottom: 6px; }
.director-role { font-size: 14px; color: var(--blue); font-weight: 700; margin-bottom: 14px; }
.director-bio { font-size: 14.5px; color: var(--text-soft); margin: 0; line-height: 1.7; }
@media (max-width: 560px) {
  .director-card { flex-direction: column; text-align: center; padding: 32px 24px; }
}

/* ===== Exam quote / subsection ===== */
.exam-quote {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  font-style: italic;
  margin: -40px 0 56px;
}
.subsection-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  margin: 0 0 10px;
}
.subsection-lead {
  font-size: 14.5px;
  color: var(--text-soft);
  margin: 0 0 24px;
}

/* ===== Annual schedule timeline ===== */
.schedule-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-soft);
}
.schedule-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-concept { background: var(--green); }
.dot-self { background: var(--blue); }
.dot-real { background: var(--gold); }

.schedule-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.schedule-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.schedule-list li:last-child { border-bottom: none; }
.schedule-list li:nth-child(even) { background: var(--bg-alt); }
.schedule-period {
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
  min-width: 130px;
}
.schedule-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  flex-shrink: 0;
}
.tag-concept { background: rgba(47, 158, 100, 0.12); color: var(--green); }
.tag-self { background: rgba(47, 111, 237, 0.12); color: var(--blue); }
.tag-real { background: rgba(255, 180, 0, 0.16); color: #8a5d00; }
.schedule-desc { font-size: 14px; color: var(--text-soft); flex: 1 1 220px; }
.schedule-caveat { margin-bottom: 40px; }

@media (max-width: 640px) {
  .schedule-list li { padding: 14px 18px; }
  .schedule-period { min-width: 100%; }
}

/* ===== Stat highlight ===== */
.stat-highlight {
  display: flex;
  align-items: center;
  gap: 28px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: var(--white);
  border-radius: 20px;
  padding: 36px 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.stat-num {
  font-family: 'Jost', sans-serif;
  font-size: 56px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  white-space: nowrap;
}
.stat-num span { font-size: 18px; font-weight: 500; color: var(--white); margin-left: 6px; }
.stat-divider { font-size: 28px; color: rgba(255,255,255,0.4); }
.stat-desc { margin: 0; font-size: 15px; color: rgba(255, 255, 255, 0.88); flex: 1; min-width: 240px; }
.stat-desc strong { color: var(--gold); }

/* ===== Steps ===== */
.steps {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.step {
  flex: 1 1 200px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
}
.step-num {
  font-family: 'Jost', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
}
.step h3 { font-size: 16.5px; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--text-soft); margin: 0; }
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--border);
  flex: 0 0 auto;
}
@media (max-width: 900px) {
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); padding: 4px 0; }
}

.note-box {
  background: #fff7e6;
  border: 1px solid #ffe1a8;
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 14px;
  color: #7a5300;
}
.note-box strong { color: var(--navy); }
.note-box-alt {
  margin-top: 14px;
  background: #eaf1ff;
  border-color: #c8dbff;
  color: #1c3d7a;
}

/* ===== Timetable ===== */
.timetable-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
  margin-bottom: 20px;
}

.timetable {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
.timetable th, .timetable td {
  padding: 16px 18px;
  text-align: center;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.timetable thead th {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}
.timetable tbody tr:nth-child(even) { background: var(--bg-alt); }
.timetable .row-head {
  text-align: left;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.timetable .row-head span { display: block; font-weight: 400; font-size: 12px; color: var(--text-soft); }
.timetable tbody tr:hover { background: #eaf1ff; }

.clinic-box {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 16px;
}
.clinic-label {
  flex-shrink: 0;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
}
.clinic-info { display: flex; gap: 32px; flex-wrap: wrap; }
.clinic-info p { margin: 0; font-size: 14px; color: var(--text); font-weight: 500; }

.table-caveat { font-size: 13px; color: var(--text-soft); }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-icon {
  font-size: 30px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-alt);
  margin-bottom: 16px;
}
.contact-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 10px; }
.contact-value { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 6px; }
.contact-value a { color: var(--navy); }
.contact-sub { font-size: 13px; color: var(--text-soft); margin: 0 0 20px; min-height: 36px; }
.contact-card .btn { margin-top: auto; }

/* ===== Footer ===== */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  font-weight: 900;
  font-size: 18px;
  color: var(--white);
  margin: 0 0 8px;
}
.footer-logo span { color: var(--gold); }
.footer-tagline { font-size: 13.5px; color: var(--gold); margin: 0 0 6px; }
.footer-info { font-size: 13px; margin: 0; }
.footer-copy { font-size: 12.5px; margin: 0; }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===== Responsive nav ===== */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-link:last-child { border-bottom: none; }
}

@media (max-width: 640px) {
  .hero { padding: 90px 0 70px; }
  .section { padding: 70px 0; }
  .stat-highlight { padding: 28px 24px; }
}

/* =========================================================
   성적확인 (앱 연결) — 상단 메뉴 강조 + 안내 배너
   ========================================================= */
.nav-link-app {
  color: var(--blue);
  font-weight: 700;
}
.nav-link-app::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 6px;
  vertical-align: middle;
}

.grades-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: var(--white);
  padding: 56px 0;
}
.grades-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.grades-band h2 {
  margin: 0 0 8px;
  font-size: 26px;
  color: var(--white);
}
.grades-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.7;
}
.grades-band .btn-grades {
  flex-shrink: 0;
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 34px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 22px rgba(255, 180, 0, 0.28);
}
.grades-band .btn-grades:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 180, 0, 0.36);
}

@media (max-width: 720px) {
  .grades-band { padding: 40px 0; }
  .grades-band .container { flex-direction: column; align-items: flex-start; }
  .grades-band h2 { font-size: 22px; }
  .grades-band .btn-grades { width: 100%; text-align: center; }
}

/* =========================================================
   라인 아이콘 (이모지 대체)
   ========================================================= */
.card-icon svg,
.contact-icon svg,
.admission-icon svg,
.director-avatar svg { display: block; }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg-alt);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }

.admission-icon { color: var(--blue); }
.admission-icon svg { width: 24px; height: 24px; }

.director-avatar { color: var(--navy); }
.director-avatar svg { width: 46px; height: 46px; }

.contact-icon { color: var(--blue); }
.contact-icon svg { width: 26px; height: 26px; }

/* =========================================================
   탭 (학원 소개)
   ========================================================= */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin: 0 0 40px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  flex-shrink: 0;
  appearance: none;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-soft);
  padding: 14px 26px;
  cursor: pointer;
  position: relative;
  border-radius: 10px 10px 0 0;
  transition: color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.tab-btn::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px;
  background: transparent;
  border-radius: 3px 3px 0 0;
  transition: background 0.18s ease;
}
.tab-btn:hover { color: var(--navy); background: var(--bg-alt); }
.tab-btn.is-active { color: var(--blue); }
.tab-btn.is-active::after { background: var(--blue); }
.tab-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: tabIn 0.28s ease both; }
@keyframes tabIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  .tabs { margin-bottom: 28px; }
  .tab-btn { font-size: 14.5px; padding: 12px 16px; }
}
