@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;0,9..144,700;0,9..144,800;1,9..144,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ══════════════════════════════════════════════════════════════
   EduNova – Master Stylesheet
   Covers: all pages including course.php, services.php, history.php
══════════════════════════════════════════════════════════════ */

/* ══ RESET & VARIABLES ══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --cream:    #faf7f2;
  --cream2:   #f2ece0;
  --white:    #ffffff;
  --ink:      #1a1512;
  --ink2:     #2e2720;
  --muted:    #7a6f65;
  --border:   #e4ddd3;
  --teal:     #0d7a6e;
  --teal-lt:  #e6f4f2;
  --teal-md:  #b3deda;
  --orange:   #e8612c;
  --orange-lt:#fdf0ea;
  --gold:     #c9982a;
  --gold-lt:  #fdf6e3;
  --surface:  #ffffff;
  --nav-h:    72px;
  --radius:   12px;
  --shadow:   0 4px 24px rgba(26,21,18,0.08);
  --shadow-lg:0 16px 48px rgba(26,21,18,0.14);
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ══ NAV ══ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.logo {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-style: italic;
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--teal);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--muted);
  text-decoration: none; padding: 8px 16px; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover  { color: var(--ink); background: var(--cream2); }
.nav-links a.active { color: var(--teal); background: var(--teal-lt); font-weight: 600; }
.nav-cta {
  background: var(--teal) !important; color: var(--white) !important;
  font-weight: 600 !important; box-shadow: 0 2px 12px rgba(13,122,110,0.3);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s !important;
}
.nav-cta:hover {
  background: #0a6459 !important;
  box-shadow: 0 4px 20px rgba(13,122,110,0.4) !important;
  transform: translateY(-1px);
}
main { padding-top: var(--nav-h); }

/* ══ HERO ══ */
.hero {
  min-height: 91vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px;
  padding: 80px 6% 60px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(13,122,110,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 30%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,97,44,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-text { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-lt); border: 1px solid rgba(201,152,42,0.3);
  color: var(--gold); font-size: 0.78rem; font-weight: 600;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 24px;
  letter-spacing: 0.04em; text-transform: uppercase;
  animation: fadeUp 0.6s ease both;
}
.hero h1 {
  font-family: 'Fraunces', serif; font-weight: 800;
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  line-height: 1.08; letter-spacing: -0.03em; color: var(--ink);
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero h1 em { font-style: italic; color: var(--teal); }
.hero p {
  margin-top: 20px; font-size: 1.05rem; color: var(--muted);
  max-width: 480px; line-height: 1.75;
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; animation: fadeUp 0.7s 0.3s ease both; }

/* ── Buttons ── */
.btn-primary {
  background: var(--teal); color: var(--white); padding: 14px 30px;
  border-radius: var(--radius); font-weight: 700; font-size: 0.95rem;
  text-decoration: none; box-shadow: 0 4px 18px rgba(13,122,110,0.35);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s; display: inline-block;
}
.btn-primary:hover { background: #0a6459; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(13,122,110,0.4); }
.btn-outline {
  background: transparent; color: var(--ink); padding: 14px 30px;
  border-radius: var(--radius); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: 1.5px solid var(--border);
  transition: border-color 0.2s, background 0.2s; display: inline-block;
}
.btn-outline:hover { border-color: var(--teal); background: var(--teal-lt); color: var(--teal); }

/* Hero Visual */
.hero-visual { position: relative; z-index: 1; animation: fadeUp 0.8s 0.25s ease both; }
.hero-card-main { background: var(--white); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.course-preview-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.course-icon-lg { width: 56px; height: 56px; background: var(--teal-lt); border-radius: 14px; display: grid; place-items: center; font-size: 1.8rem; flex-shrink: 0; }
.course-preview-header h4 { font-family: 'Fraunces', serif; font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.course-preview-header p { font-size: 0.82rem; color: var(--muted); }
.progress-bar-wrap { margin-bottom: 18px; }
.progress-label { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--muted); margin-bottom: 8px; }
.progress-track { height: 8px; background: var(--cream2); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--teal), #14a899); border-radius: 999px; width: 68%; animation: progressGrow 1.5s 0.8s ease both; }
@keyframes progressGrow { from { width: 0; } to { width: 68%; } }
.lesson-list { display: flex; flex-direction: column; gap: 10px; }
.lesson-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; background: var(--cream); font-size: 0.85rem; color: var(--ink2); }
.lesson-item.done { opacity: 0.6; }
.lesson-dot { width: 24px; height: 24px; border-radius: 50%; background: var(--teal-lt); color: var(--teal); display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; flex-shrink: 0; }
.lesson-item.done .lesson-dot { background: var(--teal); color: white; }
.hero-badge-float {
  position: absolute; background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px; font-size: 0.82rem; font-weight: 600;
  color: var(--ink); animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-badge-float.left  { bottom: -20px; left: -20px; animation-delay: 0s; }
.hero-badge-float.right { top: -20px; right: -20px; animation-delay: 2s; }
.badge-icon { font-size: 1.4rem; }

/* ══ STATS BAR ══ */
.stats-bar { display: flex; justify-content: center; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--white); flex-wrap: wrap; }
.stat-item { flex: 1; min-width: 160px; padding: 28px 20px; text-align: center; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-item strong { display: block; font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 800; color: var(--teal); letter-spacing: -0.03em; }
.stat-item span { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* ══ SECTION COMMONS ══ */
section { padding: 90px 6%; }
.section-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.section-title { font-family: 'Fraunces', serif; font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.7rem); color: var(--ink); letter-spacing: -0.03em; line-height: 1.15; max-width: 600px; }
.section-title em { font-style: italic; color: var(--teal); }
.section-sub { font-size: 1rem; color: var(--muted); margin-top: 14px; max-width: 520px; line-height: 1.75; }

/* ══ COURSE CARDS ══ */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 50px; }
.course-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; cursor: pointer; }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-thumb { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; position: relative; }
.course-cat-tag { position: absolute; top: 14px; left: 14px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,0.9); }
.course-body { padding: 22px; }
.course-body h3 { font-family: 'Fraunces', serif; font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; line-height: 1.35; }
.course-body p  { font-size: 0.84rem; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.course-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border); }
.course-rating  { font-size: 0.82rem; color: var(--gold); font-weight: 600; }
.course-price   { font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 700; color: var(--teal); }
.course-students{ font-size: 0.78rem; color: var(--muted); }

/* ══ FEATURE TILES ══ */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 50px; }
.feature-tile { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 28px; transition: transform 0.2s, box-shadow 0.2s; }
.feature-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 16px; }
.feature-tile h3 { font-family: 'Fraunces', serif; font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.feature-tile p  { font-size: 0.86rem; color: var(--muted); line-height: 1.65; }

/* ══ PAGE HERO ══ */
.page-hero { padding: 80px 6% 70px; border-bottom: 1px solid var(--border); background: linear-gradient(160deg, var(--teal-lt) 0%, var(--cream) 60%); }
.page-hero h1 { font-family: 'Fraunces', serif; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; color: var(--ink); letter-spacing: -0.04em; max-width: 700px; line-height: 1.1; margin-bottom: 16px; }
.page-hero h1 em { font-style: italic; color: var(--teal); }
.page-hero p { font-size: 1.05rem; color: var(--muted); max-width: 540px; line-height: 1.75; }

/* ══ ABOUT ══ */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; padding: 80px 6%; }
.about-split .text p { font-size: 0.97rem; color: var(--muted); line-height: 1.8; margin-bottom: 18px; }
.values-stack { display: flex; flex-direction: column; gap: 16px; }
.value-row { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 20px; transition: border-color 0.2s; }
.value-row:hover { border-color: var(--teal-md); }
.val-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.value-row h4 { font-family: 'Fraunces', serif; font-weight: 700; font-size: 0.95rem; color: var(--ink); margin-bottom: 4px; }
.value-row p  { font-size: 0.83rem; color: var(--muted); line-height: 1.6; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-top: 40px; }
.team-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 28px 20px; text-align: center; transition: transform 0.2s, box-shadow 0.2s; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-avatar { width: 64px; height: 64px; background: linear-gradient(135deg, var(--teal), #14a899); border-radius: 50%; display: grid; place-items: center; font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 800; color: var(--white); margin: 0 auto 14px; }
.team-card h4   { font-family: 'Fraunces', serif; font-weight: 700; color: var(--ink); font-size: 0.95rem; margin-bottom: 4px; }
.team-card .role{ font-size: 0.78rem; color: var(--teal); font-weight: 600; }
.team-card .dept{ font-size: 0.75rem; color: var(--muted); margin-top: 2px; }

/* ══ PLANS ══ */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 50px; max-width: 1100px; margin-left: auto; margin-right: auto; }
.plan { background: var(--white); border: 1.5px solid var(--border); border-radius: 20px; padding: 36px 30px; position: relative; transition: transform 0.25s, box-shadow 0.25s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan.featured { border-color: var(--teal); background: linear-gradient(160deg, var(--teal-lt) 0%, var(--white) 50%); }
.plan-popular { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--teal); color: var(--white); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 16px; border-radius: 999px; }
.plan-name    { font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.plan-price   { font-family: 'Fraunces', serif; font-size: 2.8rem; font-weight: 800; color: var(--ink); letter-spacing: -0.04em; line-height: 1; }
.plan-price span { font-size: 1rem; color: var(--muted); font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 400; }
.plan-desc    { font-size: 0.84rem; color: var(--muted); margin: 10px 0 20px; line-height: 1.6; }
.plan-divider { border: none; border-top: 1px solid var(--border); margin: 18px 0; }
.plan-features{ list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 0.87rem; color: var(--muted); }
.chk { color: var(--teal); font-size: 1rem; font-weight: 700; }
.x   { color: #ccc; }
.plan-btn { display: block; text-align: center; padding: 13px; border-radius: 10px; font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: all 0.2s; border: 1.5px solid var(--teal); color: var(--teal); }
.plan-btn:hover { background: var(--teal); color: var(--white); }
.plan.featured .plan-btn { background: var(--teal); color: var(--white); box-shadow: 0 4px 18px rgba(13,122,110,0.3); }
.plan.featured .plan-btn:hover { background: #0a6459; }

/* ══ NEWS ══ */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; margin-top: 50px; }
.news-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-thumb { height: 170px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; border-bottom: 1px solid var(--border); }
.news-body { padding: 22px; }
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.news-tag  { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; padding: 3px 10px; border-radius: 999px; background: var(--teal-lt); color: var(--teal); border: 1px solid var(--teal-md); }
.news-date { font-size: 0.79rem; color: var(--muted); }
.news-card h3 { font-family: 'Fraunces', serif; font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; line-height: 1.35; }
.news-card p  { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }
.read-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 0.84rem; font-weight: 700; color: var(--teal); text-decoration: none; transition: gap 0.2s; }
.read-more:hover { gap: 10px; }

/* ══ CONTACTS ══ */
.contacts-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; padding: 80px 6%; align-items: start; }
.contact-left h2 { font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; margin-bottom: 14px; line-height: 1.2; }
.contact-left p  { font-size: 0.95rem; color: var(--muted); line-height: 1.75; margin-bottom: 36px; }
.info-items { display: flex; flex-direction: column; gap: 18px; }
.info-item  { display: flex; align-items: flex-start; gap: 14px; }
.info-icon  { width: 44px; height: 44px; flex-shrink: 0; background: var(--teal-lt); border: 1px solid var(--teal-md); border-radius: 11px; display: grid; place-items: center; font-size: 1.1rem; }
.info-item h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 4px; }
.info-item p  { font-size: 0.9rem; color: var(--ink2); margin: 0; }
.dir-wrap { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.dir-header { padding: 18px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.dir-header h3 { font-family: 'Fraunces', serif; font-weight: 700; color: var(--ink); }
.dir-badge { font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--teal-lt); color: var(--teal); border: 1px solid var(--teal-md); }
.dir-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--border); transition: background 0.18s; }
.dir-row:last-child { border-bottom: none; }
.dir-row:hover { background: var(--cream); }
.dir-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), #14a899); display: grid; place-items: center; font-family: 'Fraunces', serif; font-weight: 800; font-size: 0.95rem; color: var(--white); flex-shrink: 0; }
.dir-name  { font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.dir-title { font-size: 0.78rem; color: var(--muted); }
.dir-right { text-align: right; }
.dept-tag  { display: inline-block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 2px 10px; border-radius: 999px; margin-bottom: 5px; background: var(--orange-lt); color: var(--orange); border: 1px solid rgba(232,97,44,0.2); }
.dir-right a { display: block; font-size: 0.77rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.dir-right a:hover { color: var(--teal); }
.php-note { margin-top: 16px; background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; }
.php-note p    { font-size: 0.78rem; color: var(--muted); line-height: 1.6; }
.php-note code { background: var(--cream2); color: var(--teal); padding: 1px 6px; border-radius: 4px; font-size: 0.78rem; }

/* ══ DIVIDER ══ */
hr.divider { border: none; border-top: 1px solid var(--border); }

/* ══ FOOTER ══ */
footer { background: var(--ink); color: rgba(255,255,255,0.5); padding: 40px 6%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo { font-family: 'Fraunces', serif; font-weight: 700; font-style: italic; font-size: 1.2rem; color: var(--white); text-decoration: none; }
footer p { font-size: 0.82rem; }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

/* ══ ANIMATIONS ══ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.fade-up   { animation: fadeUp 0.7s ease both; }
.fade-up-1 { animation: fadeUp 0.7s 0.1s ease both; }
.fade-up-2 { animation: fadeUp 0.7s 0.2s ease both; }
.fade-up-3 { animation: fadeUp 0.7s 0.3s ease both; }


/* ══════════════════════════════════════════════════════════════
   SERVICES.PHP — Premium course catalogue
══════════════════════════════════════════════════════════════ */

.cookie-bar { background: linear-gradient(90deg, #0d7a6e 0%, #0fa894 100%); padding: 11px 6%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.cookie-bar-left { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: rgba(255,255,255,0.9); font-weight: 500; }
.cookie-bar-left .dot { width: 8px; height: 8px; background: #7dffd0; border-radius: 50%; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.5; transform:scale(1.4); } }
.cookie-bar-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.cbtn { padding: 5px 14px; border-radius: 8px; font-size: 0.75rem; font-weight: 700; text-decoration: none; transition: all .15s; }
.cbtn-white { background: rgba(255,255,255,0.18); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.cbtn-white:hover { background: rgba(255,255,255,0.3); }
.cbtn-gold { background: #f5c842; color: #1a1a1a; }
.cbtn-gold:hover { background: #ffd54f; }

.svc-hero { padding: 80px 6% 60px; position: relative; overflow: hidden; }
.svc-hero::before { content: ''; position: absolute; top: -120px; right: -80px; width: 500px; height: 500px; background: radial-gradient(circle, var(--teal-lt) 0%, transparent 70%); pointer-events: none; }
.svc-hero-inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.svc-hero h1 { font-family: 'Fraunces', serif; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.04em; color: var(--ink); margin-bottom: 14px; }
.svc-hero h1 em { font-style: italic; color: var(--teal); }
.svc-hero p { font-size: 1rem; color: var(--muted); line-height: 1.65; max-width: 520px; }
.hero-stats-mini { display: flex; background: var(--white); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); white-space: nowrap; }
.hsm-item { text-align: center; padding: 20px 24px; border-right: 1px solid var(--border); }
.hsm-item:last-child { border-right: none; }
.hsm-item strong { display: block; font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 900; color: var(--ink); letter-spacing: -0.03em; }
.hsm-item span { font-size: 0.72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

.filter-bar { padding: 0 6% 32px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter-btn { padding: 8px 20px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--white); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.82rem; font-weight: 700; color: var(--muted); cursor: pointer; transition: all .18s; }
.filter-btn:hover { border-color: var(--teal); color: var(--teal); }
.filter-btn.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.filter-count { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; background: rgba(255,255,255,0.25); border-radius: 50%; font-size: 0.65rem; font-weight: 800; margin-left: 4px; }
.filter-btn:not(.active) .filter-count { background: var(--cream); color: var(--ink); }

.catalog-wrap { padding: 0 6% 80px; display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

.pcard { background: var(--white); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s; position: relative; animation: fadeUp .5s ease both; }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.pcard:nth-child(1){ animation-delay:.05s } .pcard:nth-child(2){ animation-delay:.10s } .pcard:nth-child(3){ animation-delay:.15s } .pcard:nth-child(4){ animation-delay:.20s } .pcard:nth-child(5){ animation-delay:.25s } .pcard:nth-child(6){ animation-delay:.30s } .pcard:nth-child(7){ animation-delay:.35s } .pcard:nth-child(8){ animation-delay:.40s } .pcard:nth-child(9){ animation-delay:.45s } .pcard:nth-child(10){ animation-delay:.50s }
.pcard.hidden { display: none; }
.pcard-thumb { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 4rem; position: relative; overflow: hidden; }
.pcard-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.06) 100%); }
.pcard-cat { position: absolute; top: 14px; left: 14px; font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,0.88); backdrop-filter: blur(8px); z-index: 1; }
.pcard-id  { position: absolute; top: 14px; right: 14px; font-size: 0.65rem; font-weight: 800; color: rgba(0,0,0,0.3); background: rgba(255,255,255,0.7); border-radius: 6px; padding: 2px 8px; z-index: 1; }
.pcard-body  { padding: 20px 20px 16px; flex: 1; display: flex; flex-direction: column; }
.pcard-title { font-family: 'Fraunces', serif; font-size: 1rem; font-weight: 800; color: var(--ink); line-height: 1.3; margin-bottom: 8px; }
.pcard-desc  { font-size: 0.8rem; color: var(--muted); line-height: 1.55; margin-bottom: 14px; flex: 1; }
.pcard-info  { font-size: 0.73rem; color: var(--muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.pcard-info span { background: var(--cream); border-radius: 6px; padding: 3px 8px; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 14px; }
.pcard-rating{ font-size: 0.8rem; font-weight: 700; color: var(--ink); }
.pcard-rating span { color: var(--muted); font-weight: 400; font-size: 0.72rem; }
.pcard-price { font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 900; color: var(--teal); letter-spacing: -0.03em; }
.pcard-arrow { position: absolute; bottom: 18px; right: 18px; width: 32px; height: 32px; background: var(--teal); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.8rem; opacity: 0; transform: translateX(-6px); transition: all .2s; }
.pcard:hover .pcard-arrow { opacity: 1; transform: translateX(0); }

.catalog-sidebar { position: sticky; top: calc(var(--nav-h) + 20px); }
.sidebar-widget  { background: var(--white); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; margin-bottom: 20px; }
.sw-head { padding: 16px 20px; border-bottom: 1px solid var(--border); background: var(--cream); display: flex; align-items: center; justify-content: space-between; }
.sw-head h4 { font-family: 'Fraunces', serif; font-size: 0.95rem; font-weight: 800; color: var(--ink); }
.sw-badge { font-size: 0.65rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--teal-lt); color: var(--teal); border: 1px solid var(--teal-md); }
.sw-empty { padding: 28px 20px; text-align: center; font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
.sw-empty .sei { font-size: 2rem; margin-bottom: 10px; }
.sw-row { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; transition: background .12s; }
.sw-row:last-child { border-bottom: none; }
.sw-row:hover { background: var(--cream); }
.sw-thumb   { width: 44px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.sw-info    { flex: 1; min-width: 0; }
.sw-title   { font-size: 0.78rem; font-weight: 700; color: var(--ink); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-price   { font-size: 0.72rem; color: var(--teal); font-weight: 700; }
.sw-chevron { color: var(--muted); font-size: 0.7rem; }
.sw-cta { display: block; text-align: center; padding: 13px 20px; font-size: 0.78rem; font-weight: 700; color: var(--teal); text-decoration: none; border-top: 1px solid var(--border); }
.sw-cta:hover { background: var(--teal-lt); }
.promo-widget { background: linear-gradient(135deg, #0d7a6e 0%, #0fa894 100%); border-radius: 18px; padding: 28px 22px; color: #fff; }
.promo-widget h4 { font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 900; margin-bottom: 8px; }
.promo-widget p  { font-size: 0.78rem; opacity: .85; line-height: 1.5; margin-bottom: 18px; }
.promo-widget a  { display: block; text-align: center; padding: 10px; background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.4); border-radius: 10px; color: #fff; font-weight: 700; font-size: 0.82rem; text-decoration: none; }
.promo-widget a:hover { background: rgba(255,255,255,0.3); }
.plans-strip { background: var(--cream); border-top: 1px solid var(--border); padding: 72px 6%; }


/* ══════════════════════════════════════════════════════════════
   COURSE.PHP — Individual course detail page
══════════════════════════════════════════════════════════════ */

.cookie-toast { position: fixed; bottom: 28px; right: 28px; background: var(--ink); color: #fff; border-radius: 14px; padding: 14px 20px; font-size: 0.78rem; font-weight: 500; display: flex; align-items: center; gap: 12px; z-index: 9999; box-shadow: 0 8px 32px rgba(0,0,0,0.28); animation: toastIn .4s cubic-bezier(.34,1.56,.64,1) both, toastOut .4s ease 4s both; max-width: 320px; }
@keyframes toastIn  { from{ opacity:0; transform:translateY(20px) scale(.95); } to{ opacity:1; transform:none; } }
@keyframes toastOut { from{ opacity:1; } to{ opacity:0; transform:translateY(10px); } }
.cookie-toast a { color: #7dffd0; font-weight: 700; text-decoration: none; }
.cookie-toast a:hover { text-decoration: underline; }
.toast-icon { font-size: 1.2rem; flex-shrink: 0; }

.breadcrumb { padding: 12px 6%; font-size: 0.78rem; color: var(--muted); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { color: var(--teal); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--border); }

.course-hero-band { padding: 56px 6% 0; display: grid; grid-template-columns: 1fr 360px; gap: 60px; align-items: start; position: relative; }
.ch-cat-badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 14px; border-radius: 999px; font-size: 0.73rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; background: var(--white); border: 1.5px solid var(--border); margin-bottom: 18px; }
.ch-title { font-family: 'Fraunces', serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900; line-height: 1.12; letter-spacing: -0.035em; color: var(--ink); margin-bottom: 18px; }
.ch-title em { font-style: italic; color: var(--teal); }
.ch-desc { font-size: 1rem; color: var(--muted); line-height: 1.7; max-width: 560px; margin-bottom: 28px; }
.ch-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.ch-chip { display: flex; align-items: center; gap: 6px; padding: 7px 14px; background: var(--white); border: 1px solid var(--border); border-radius: 10px; font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.ch-chip .chip-icon { font-size: 1rem; }
.instructor-strip { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: var(--white); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 48px; max-width: 500px; }
.inst-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), #14a899); display: flex; align-items: center; justify-content: center; font-family: 'Fraunces', serif; font-size: 1rem; font-weight: 900; color: #fff; flex-shrink: 0; }
.inst-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.inst-name  { font-size: 0.9rem; font-weight: 700; color: var(--ink); }

.topics-section { padding: 0 6% 64px; }
.topics-section .sec-label-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.topics-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.topic-pill { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 13px 16px; font-size: 0.85rem; font-weight: 600; color: var(--ink); transition: border-color .15s, background .15s; }
.topic-pill:hover { border-color: var(--teal); background: var(--teal-lt); }
.topic-check { width: 22px; height: 22px; background: var(--teal-lt); border: 1.5px solid var(--teal-md); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; color: var(--teal); font-weight: 900; flex-shrink: 0; }

.enrol-card { background: var(--white); border: 1px solid var(--border); border-radius: 22px; overflow: hidden; box-shadow: 0 8px 40px rgba(0,0,0,0.10); position: sticky; top: calc(var(--nav-h) + 20px); animation: slideInCard .5s .1s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes slideInCard { from{ opacity:0; transform:translateX(30px); } to{ opacity:1; transform:none; } }
.ec-thumb { height: 190px; display: flex; align-items: center; justify-content: center; font-size: 5.5rem; position: relative; }
.ec-thumb .ec-id { position: absolute; bottom: 14px; right: 14px; background: rgba(255,255,255,0.75); backdrop-filter: blur(8px); border-radius: 8px; font-size: 0.68rem; font-weight: 800; color: var(--muted); padding: 3px 10px; }
.ec-body { padding: 24px; }
.ec-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.ec-price { font-family: 'Fraunces', serif; font-size: 2.4rem; font-weight: 900; color: var(--ink); letter-spacing: -0.04em; }
.ec-tag  { font-size: 0.72rem; font-weight: 700; padding: 3px 10px; background: #e6f9f0; color: #0a7a54; border-radius: 999px; }
.ec-sub  { font-size: 0.78rem; color: var(--muted); margin-bottom: 20px; }
.btn-enrol-main { display: block; width: 100%; text-align: center; padding: 15px; background: var(--teal); color: #fff; border-radius: 12px; font-weight: 800; font-size: 0.95rem; text-decoration: none; margin-bottom: 10px; transition: background .15s, transform .12s; }
.btn-enrol-main:hover { background: #0a6459; transform: scale(1.01); }
.btn-trial-main { display: block; width: 100%; text-align: center; padding: 13px; border: 1.5px solid var(--border); color: var(--ink); border-radius: 12px; font-weight: 700; font-size: 0.88rem; text-decoration: none; margin-bottom: 22px; transition: border-color .15s, color .15s; }
.btn-trial-main:hover { border-color: var(--teal); color: var(--teal); }
.ec-perks { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--border); padding-top: 18px; }
.ec-perk  { display: flex; align-items: center; gap: 10px; font-size: 0.79rem; color: var(--muted); }
.ec-perk .pi { width: 28px; height: 28px; background: var(--cream); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.visit-counter { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--teal-lt); border: 1px solid var(--teal-md); border-radius: 10px; font-size: 0.75rem; font-weight: 600; color: var(--teal); margin-top: 14px; }
.visit-counter strong { font-weight: 800; }

.related-section { padding: 0 6% 80px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 24px; }
.related-card { display: flex; gap: 14px; align-items: center; padding: 16px; background: var(--white); border: 1px solid var(--border); border-radius: 14px; text-decoration: none; color: inherit; transition: transform .18s, box-shadow .18s; }
.related-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.rel-thumb { width: 54px; height: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0; }
.rel-title { font-size: 0.83rem; font-weight: 700; color: var(--ink); line-height: 1.3; margin-bottom: 4px; }
.rel-meta  { font-size: 0.72rem; color: var(--muted); }

.cta-band { background: linear-gradient(135deg, #0d7a6e 0%, #0fa894 60%, #12c4ae 100%); padding: 70px 6%; text-align: center; color: #fff; }
.cta-band h2 { font-family: 'Fraunces', serif; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 12px; }
.cta-band h2 em { font-style: italic; color: #b3fff0; }
.cta-band p { font-size: 0.9rem; opacity: .85; max-width: 400px; margin: 0 auto 28px; }
.cta-band-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ctab-white { padding: 13px 28px; background: #fff; color: var(--teal); border-radius: 12px; font-weight: 800; font-size: 0.9rem; text-decoration: none; }
.ctab-white:hover { background: #f0fffe; }
.ctab-ghost { padding: 13px 28px; background: rgba(255,255,255,0.15); color: #fff; border: 1.5px solid rgba(255,255,255,0.4); border-radius: 12px; font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.ctab-ghost:hover { background: rgba(255,255,255,0.25); }


/* ══════════════════════════════════════════════════════════════
   HISTORY.PHP — Cookie browsing history dashboard
══════════════════════════════════════════════════════════════ */

.history-hero { padding: 72px 6% 48px; position: relative; overflow: hidden; }
.history-hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 460px; height: 460px; background: radial-gradient(circle, var(--teal-lt) 0%, transparent 70%); pointer-events: none; }
.hh-inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.hh-title { font-family: 'Fraunces', serif; font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 900; letter-spacing: -0.04em; color: var(--ink); line-height: 1.1; margin-bottom: 10px; }
.hh-title em { font-style: italic; color: var(--teal); }
.hh-sub { font-size: 0.9rem; color: var(--muted); line-height: 1.6; max-width: 480px; }
.hh-stats { display: flex; background: var(--white); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: 0 4px 18px rgba(0,0,0,0.06); }
.hhs-item { padding: 18px 24px; text-align: center; border-right: 1px solid var(--border); }
.hhs-item:last-child { border-right: none; }
.hhs-num { font-family: 'Fraunces', serif; font-size: 1.8rem; font-weight: 900; color: var(--ink); letter-spacing: -0.04em; }
.hhs-lbl { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; }

.how-callout { margin: 0 6% 40px; background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 24px 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; animation: fadeUp .45s ease both; }
.how-callout-icon { width: 52px; height: 52px; background: var(--teal-lt); border: 1px solid var(--teal-md); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0; }
.how-callout-text h4 { font-family: 'Fraunces', serif; font-weight: 800; font-size: 1rem; color: var(--ink); margin-bottom: 5px; }
.how-callout-text p  { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }
.how-callout-text code { background: var(--cream); border: 1px solid var(--border); padding: 1px 6px; border-radius: 5px; font-size: 0.75rem; }
.how-callout-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-clear { padding: 7px 16px; background: #fff0f0; color: #c0392b; border: 1px solid rgba(192,57,43,0.25); border-radius: 8px; font-size: 0.75rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn-clear:hover { background: #ffe0e0; }

.history-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 0 6% 80px; }
.history-panel { background: var(--white); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; animation: fadeUp .45s ease both; }
.history-panel:nth-child(2) { animation-delay: .1s; }
.panel-head { padding: 20px 24px; border-bottom: 1px solid var(--border); background: var(--cream); display: flex; align-items: center; gap: 14px; }
.panel-head-icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.panel-head-icon.teal { background: var(--teal-lt); }
.panel-head-icon.gold { background: #fdf6e3; }
.panel-head-text h3 { font-family: 'Fraunces', serif; font-size: 1.05rem; font-weight: 800; color: var(--ink); margin-bottom: 2px; }
.panel-head-text p  { font-size: 0.72rem; color: var(--muted); }
.panel-badge { margin-left: auto; font-size: 0.65rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.pb-teal { background: var(--teal-lt); color: var(--teal); border-color: var(--teal-md); }
.pb-gold { background: #fdf6e3; color: #b37800; border-color: rgba(179,120,0,0.3); }

.timeline-wrap { position: relative; }
.timeline-wrap::before { content: ''; position: absolute; left: 52px; top: 0; bottom: 0; width: 1px; background: var(--border); }
.tl-row { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; transition: background .12s; position: relative; }
.tl-row:last-child { border-bottom: none; }
.tl-row:hover { background: var(--cream); }
.tl-num { display: flex; align-items: center; justify-content: center; height: 100%; padding: 20px 0 20px 24px; }
.tl-num-inner { width: 28px; height: 28px; border-radius: 50%; background: var(--white); border: 2px solid var(--teal); display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 800; color: var(--teal); position: relative; z-index: 1; }
.tl-num-inner.num-1 { background: var(--teal); color: #fff; }
.tl-info { display: flex; align-items: center; gap: 14px; padding: 16px 16px 16px 20px; }
.tl-thumb { width: 48px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.tl-course-title { font-size: 0.85rem; font-weight: 700; color: var(--ink); line-height: 1.3; margin-bottom: 3px; }
.tl-course-meta  { font-size: 0.72rem; color: var(--muted); }
.tl-right  { padding: 16px 20px 16px 0; text-align: right; flex-shrink: 0; }
.tl-price  { font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 900; color: var(--teal); letter-spacing: -0.02em; }
.tl-rating { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }

.lb-row { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; transition: background .12s; }
.lb-row:last-child { border-bottom: none; }
.lb-row:hover { background: var(--cream); }
.lb-rank { display: flex; align-items: center; justify-content: center; padding: 20px 0 20px 20px; }
.rank-medal { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 900; }
.rank-medal.r1 { background: linear-gradient(135deg,#ffd700,#ffb800); color: #5a3e00; font-size: 1rem; }
.rank-medal.r2 { background: linear-gradient(135deg,#e0e0e0,#b0b0b0); color: #3a3a3a; }
.rank-medal.r3 { background: linear-gradient(135deg,#d4916a,#b5652b); color: #fff; }
.rank-medal.r4, .rank-medal.r5 { background: var(--cream); border: 1.5px solid var(--border); color: var(--muted); font-size: 0.75rem; }
.lb-info  { display: flex; align-items: center; gap: 14px; padding: 16px; }
.lb-right { padding: 16px 20px 16px 0; text-align: right; }
.visit-bar-wrap  { margin-top: 5px; }
.visit-bar-track { height: 4px; background: var(--cream); border-radius: 999px; overflow: hidden; width: 80px; }
.visit-bar-fill  { height: 100%; background: linear-gradient(90deg, var(--teal), #14a899); border-radius: 999px; transition: width .8s ease; }
.visit-count-badge { display: inline-flex; align-items: center; gap: 4px; background: #fdf6e3; border: 1px solid rgba(179,120,0,0.25); color: #b37800; font-size: 0.7rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; margin-bottom: 4px; }

.empty-state { padding: 60px 24px; text-align: center; }
.empty-svg { width: 80px; height: 80px; margin: 0 auto 20px; background: var(--cream); border: 1px solid var(--border); border-radius: 24px; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; }
.empty-state h4 { font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.empty-state p  { font-size: 0.82rem; color: var(--muted); line-height: 1.55; max-width: 240px; margin: 0 auto 20px; }
.empty-state a  { display: inline-block; padding: 9px 20px; background: var(--teal); color: #fff; border-radius: 10px; font-weight: 700; font-size: 0.8rem; text-decoration: none; }
.empty-state a:hover { background: #0a6459; }

.history-cta { text-align: center; padding: 0 6% 72px; }
.history-cta p { font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; }


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .catalog-wrap  { grid-template-columns: 1fr; }
  .history-cols  { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero                  { grid-template-columns: 1fr; }
  .hero-visual           { display: none; }
  .about-split           { grid-template-columns: 1fr; }
  .contacts-layout       { grid-template-columns: 1fr; }
  .course-hero-band      { grid-template-columns: 1fr; }
  .svc-hero-inner        { grid-template-columns: 1fr; }
  .hh-inner              { grid-template-columns: 1fr; }
  .how-callout           { grid-template-columns: 1fr; }
  .nav-links li:not(:last-child) { display: none; }
}
@media (max-width: 700px) {
  .hero-stats-mini { display: none; }
  .hh-stats        { display: none; }
  .cookie-bar      { flex-direction: column; align-items: flex-start; }
}
