/* ================================================================
   SKILLCHOWK — MAIN STYLESHEET v4
   Font stack: Plus Jakarta Sans (body) + Fraunces (display headings)
   Palette: Warm Karnataka — saffron, jade, deep ink on warm sand
   Mobile-first. Clean. Editorial. No bloat.
   ================================================================ */

/* ── Google Fonts are imported in functions.php <head> ──────── */

/* ── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  /* Colours */
  --ink:          #1c1410;
  --ink-2:        #3a2c24;
  --ink-3:        #6b5347;
  --ink-4:        #a08070;
  --sand:         #faf7f2;
  --sand-2:       #f2ebe0;
  --sand-3:       #e8dfd0;
  --sand-4:       #d9cbb8;
  --saffron:      #e07b00;
  --saffron-light:#fef3e0;
  --saffron-mid:  #fad59a;
  --jade:         #1b6e4f;
  --jade-light:   #e4f5ee;
  --jade-mid:     #4aac82;
  --crimson:      #b5281c;
  --sky:          #1764a8;
  --white:        #ffffff;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;
  --font-kannada: 'Noto Sans Kannada', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Sizes — fluid type scale */
  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg:   1.125rem;  /* 18px */
  --text-xl:   1.25rem;   /* 20px */

  /* Border radius */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;
  --r-pill:9999px;

  /* Shadows */
  --shadow-xs: 0 1px 4px rgba(28,20,16,.06);
  --shadow-sm: 0 2px 10px rgba(28,20,16,.09);
  --shadow-md: 0 6px 24px rgba(28,20,16,.12);
  --shadow-lg: 0 16px 48px rgba(28,20,16,.16);

  /* Layout */
  --max-w:    1100px;
  --header-h: 68px;
  --gap:      clamp(16px, 3vw, 32px);
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--ink);
  background: var(--sand);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── TYPOGRAPHY ──────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 6vw, 4rem);   font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; font-weight: 600; }
h5 { font-size: var(--text-base); font-weight: 700; }

p { color: var(--ink-2); margin-bottom: 0; }

.lead {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--ink-2);
  line-height: 1.65;
}

/* Kannada text */
.kn {
  font-family: var(--font-kannada);
  font-size: 0.93em;
  color: var(--ink-3);
}

/* Section label — small caps label above heading */
.label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron);
  background: var(--saffron-light);
  border: 1px solid var(--saffron-mid);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 12px;
}

/* ── LAYOUT UTILITIES ────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.section {
  padding-block: clamp(56px, 8vw, 96px);
}
.section-alt { background: var(--sand-2); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-header p {
  font-size: var(--text-lg);
  color: var(--ink-3);
  margin-top: 12px;
}

/* Grid system */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--gap); }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  transition: all .2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  text-align: center;
  justify-content: center;
}
.btn-primary {
  background: var(--saffron);
  color: var(--white);
  border-color: var(--saffron);
}
.btn-primary:hover { background: #c96e00; border-color: #c96e00; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-jade {
  background: var(--jade);
  color: var(--white);
  border-color: var(--jade);
}
.btn-jade:hover { background: #155a3f; border-color: #155a3f; transform: translateY(-1px); }

.btn-wa {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}
.btn-wa:hover { background: #1dbb58; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,211,102,.35); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--sand-4);
}
.btn-outline:hover { border-color: var(--ink); }

.btn-ghost {
  background: transparent;
  color: var(--saffron);
  border-color: transparent;
  padding-inline: 0;
}
.btn-ghost:hover { color: var(--ink); }
.btn-ghost::after { content: ' →'; }

.btn-sm { padding: 9px 18px; font-size: var(--text-xs); }
.btn-lg { padding: 16px 36px; font-size: var(--text-base); }
.btn-full { width: 100%; display: flex; }

/* ── CARDS ───────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--sand-3);
  padding: 28px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-featured { border-color: var(--saffron); box-shadow: 0 0 0 3px var(--saffron-light); }

/* ── TAGS / PILLS ────────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  background: var(--sand-2);
  color: var(--ink-3);
  border: 1px solid var(--sand-3);
}
.tag-saffron { background: var(--saffron-light); color: var(--saffron); border-color: var(--saffron-mid); }
.tag-jade    { background: var(--jade-light);    color: var(--jade);    border-color: #b0dfc9; }

/* ── ANNOUNCEMENT BAR ────────────────────────────────────────── */
.announce-bar {
  background: var(--jade);
  color: var(--white);
  padding: 10px var(--gap);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: var(--text-sm);
  font-weight: 500;
  flex-wrap: wrap;
  text-align: center;
}
.announce-bar a {
  background: var(--white);
  color: var(--jade);
  padding: 4px 14px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}
.announce-bar a:hover { background: var(--saffron-light); color: var(--saffron); }
.announce-bar button {
  background: rgba(255,255,255,.15);
  color: var(--white);
  width: 26px; height: 26px;
  border-radius: 50%;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .15s;
}
.announce-bar button:hover { background: rgba(255,255,255,.3); }

/* ── HEADER ──────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0; z-index: 900;
  background: rgba(250,247,242,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sand-3);
  height: var(--header-h);
}
.header-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-mark {
  width: 38px; height: 38px;
  background: var(--saffron);
  color: var(--white);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
}
.logo-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.1;
}
.logo-sub {
  font-size: var(--text-xs);
  color: var(--ink-4);
  font-weight: 500;
  display: block;
}

/* Nav */
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a {
  padding: 7px 14px;
  border-radius: var(--r-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-2);
  transition: all .15s;
}
.site-nav a:hover, .site-nav a.active { background: var(--sand-2); color: var(--ink); }
.site-nav a.active { color: var(--saffron); }

.nav-cta {
  margin-left: 8px;
  background: var(--saffron) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: var(--r-md) !important;
}
.nav-cta:hover { background: #c96e00 !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer;
  margin-left: auto;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .25s;
}

@media (max-width: 768px) {
  .site-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: var(--sand);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 2px;
    border-bottom: 1px solid var(--sand-3);
    transform: translateY(-120%);
    transition: transform .3s ease;
    z-index: 800;
    box-shadow: var(--shadow-lg);
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav a { width: 100%; padding: 12px 16px; }
  .nav-cta { width: 100%; text-align: center; margin-left: 0 !important; }
  .nav-toggle { display: flex; }
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  padding-block: clamp(64px, 10vw, 120px);
  text-align: center;
  background: var(--sand);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--saffron-light) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--jade-light);
  color: var(--jade);
  border: 1px solid #b0dfc9;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.1;
}
.hero-kn {
  font-family: var(--font-kannada);
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--saffron);
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--ink-3);
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: 36px;
  line-height: 1.65;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 6vw, 64px);
  flex-wrap: wrap;
}
.hero-stat .num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--saffron);
  line-height: 1;
}
.hero-stat .lbl {
  display: block;
  font-size: var(--text-sm);
  color: var(--ink-3);
  font-weight: 500;
  margin-top: 4px;
}

/* Scrolling trust strip */
.trust-strip {
  background: var(--jade);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
}
.trust-strip-inner {
  display: flex;
  gap: 0;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,.9);
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,.2);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── COURSES ─────────────────────────────────────────────────── */
.course-card { position: relative; }
.course-badge {
  position: absolute;
  top: -1px; right: 20px;
  background: var(--saffron);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
}
.course-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--saffron);
  margin: 16px 0;
  line-height: 1;
}
.course-price span { font-size: var(--text-sm); font-weight: 500; color: var(--ink-3); }

.course-features { margin: 16px 0 24px; display: flex; flex-direction: column; gap: 8px; }
.course-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--ink-2);
  line-height: 1.5;
}
.course-features li::before {
  content: '✓';
  color: var(--jade);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── JOBS ────────────────────────────────────────────────────── */
.job-card { padding: 20px 24px; }
.job-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.job-icon {
  width: 42px; height: 42px;
  background: var(--saffron-light);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.job-title { font-weight: 700; font-size: var(--text-base); color: var(--ink); line-height: 1.3; }
.job-company { font-size: var(--text-sm); color: var(--ink-3); margin-top: 2px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.meta-item { font-size: var(--text-xs); color: var(--ink-3); }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }

/* ── EXAMS ───────────────────────────────────────────────────── */
.exam-card { text-align: center; padding: 32px 24px; }
.exam-icon { font-size: 2.4rem; margin-bottom: 12px; }
.exam-level {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jade);
  background: var(--jade-light);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 10px;
}
.exam-card h4 { font-size: 1rem; margin: 8px 0 6px; }
.exam-card p  { font-size: var(--text-sm); color: var(--ink-3); }
.exam-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.exam-link {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--sky);
  background: #e8f2fc;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  transition: all .15s;
}
.exam-link:hover { background: var(--sky); color: var(--white); }

/* ── RESOURCES ───────────────────────────────────────────────── */
.resource-card .resource-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--jade);
  margin-bottom: 8px;
}

/* ── BLOG ────────────────────────────────────────────────────── */
.blog-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.blog-thumb {
  height: 160px;
  background: var(--sand-2);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 16px;
  overflow: hidden;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-md); }
.blog-category { font-size: var(--text-xs); font-weight: 700; color: var(--saffron); text-transform: uppercase; letter-spacing: 0.08em; }
.blog-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--ink); margin: 6px 0 4px; line-height: 1.3; }
.blog-meta { font-size: var(--text-xs); color: var(--ink-4); display: flex; gap: 12px; margin-bottom: 8px; }
.blog-excerpt { font-size: var(--text-sm); color: var(--ink-3); line-height: 1.6; }

/* ── TESTIMONIALS ────────────────────────────────────────────── */
.testimonial-card { padding: 28px; }
.testimonial-stars { color: var(--saffron); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-text {
  font-size: var(--text-base);
  color: var(--ink-2);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--saffron-light);
  color: var(--saffron);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-weight: 700; font-size: var(--text-sm); color: var(--ink); }
.testimonial-role { font-size: var(--text-xs); color: var(--ink-4); }
.testimonial-info { display: flex; align-items: center; gap: 12px; }

/* ── CTA BAND ────────────────────────────────────────────────── */
.cta-band {
  background: var(--jade);
  padding-block: clamp(56px, 7vw, 88px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,.07) 0%, transparent 60%);
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band .kn { color: rgba(255,255,255,.7); margin-bottom: 16px; display: block; }
.cta-band p { color: rgba(255,255,255,.8); margin-bottom: 32px; font-size: var(--text-lg); }
.cta-band .btn-wa { font-size: var(--text-base); padding: 16px 36px; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.75);
  padding-block: clamp(48px, 7vw, 80px);
}
.footer-grid {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p { font-size: var(--text-sm); line-height: 1.7; margin-top: 16px; }
.footer-address { margin-top: 12px; font-size: var(--text-sm); }
.footer-address a { color: var(--saffron); }
.footer-msme {
  margin-top: 10px;
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  color: rgba(255,255,255,.4);
}
.footer-brand .logo-mark { background: var(--saffron); }
.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-sub  { color: rgba(255,255,255,.5); }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255,255,255,.75);
  margin-bottom: 10px;
  transition: color .15s;
}
.footer-col a:hover { color: var(--saffron); }

.footer-bottom {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: var(--text-xs);
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--saffron); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── FLOATING BUTTONS ────────────────────────────────────────── */
.fab-group {
  position: fixed;
  bottom: 24px; right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 800;
}
.fab {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-md);
  transition: all .2s;
  text-decoration: none;
}
.fab:hover { transform: scale(1.1); }
.fab-wa   { background: #25D366; }
.fab-up   { background: var(--saffron); cursor: pointer; font-size: 1rem; color: var(--white); }

/* ── INSTAGRAM FOLLOW BAR ────────────────────────────────────── */
.ig-bar {
  background: linear-gradient(90deg, #833ab4, #fd1d1d, #fcb045);
  padding: 14px 24px;
  text-align: center;
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 600;
}
.ig-bar a { color: var(--white); text-decoration: underline; margin: 0 8px; }

/* ── FORMS ───────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--sand-3);
  border-radius: var(--r-md);
  font-size: var(--text-base);
  color: var(--ink);
  background: var(--white);
  transition: border-color .15s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--saffron); }
.form-group textarea { min-height: 100px; resize: vertical; }
.form-error { color: var(--crimson); font-size: var(--text-sm); margin-top: 4px; }
.form-success {
  background: var(--jade-light);
  color: var(--jade);
  border: 1px solid #b0dfc9;
  padding: 14px 20px;
  border-radius: var(--r-md);
  font-weight: 600;
  margin-bottom: 20px;
}

/* ── TABS ────────────────────────────────────────────────────── */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 28px; }
.tab-btn {
  padding: 9px 20px;
  border-radius: var(--r-pill);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-3);
  background: var(--sand-2);
  border: 1px solid var(--sand-3);
  cursor: pointer;
  transition: all .15s;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--saffron);
  color: var(--white);
  border-color: var(--saffron);
}
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ── PAGE HERO (inner pages) ─────────────────────────────────── */
.page-hero {
  background: var(--sand-2);
  padding-block: clamp(48px, 7vw, 80px);
  text-align: center;
  border-bottom: 1px solid var(--sand-3);
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p  { font-size: var(--text-lg); color: var(--ink-3); max-width: 560px; margin-inline: auto; }

/* ── Q&A ─────────────────────────────────────────────────────── */
.qa-item { border-bottom: 1px solid var(--sand-3); padding-block: 20px; cursor: pointer; }
.qa-q {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--ink);
}
.qa-q::after { content: '+'; font-size: 1.4rem; color: var(--saffron); flex-shrink: 0; line-height: 1; transition: transform .2s; }
.qa-item.open .qa-q::after { transform: rotate(45deg); }
.qa-a { font-size: var(--text-sm); color: var(--ink-3); margin-top: 12px; display: none; line-height: 1.7; }
.qa-item.open .qa-a { display: block; }

/* ── 404 ─────────────────────────────────────────────────────── */
.page-404 { text-align: center; padding-block: clamp(80px, 12vw, 140px); }
.page-404 .code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 900;
  color: var(--sand-3);
  line-height: 1;
  margin-bottom: -16px;
}

/* ── ALERT BANNER ────────────────────────────────────────────── */
.alert {
  padding: 14px 20px;
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: 20px;
}
.alert-success { background: var(--jade-light); color: var(--jade); border: 1px solid #b0dfc9; }
.alert-error   { background: #fdecea;           color: var(--crimson); border: 1px solid #f5b7b1; }
.alert-info    { background: #e8f2fc;            color: var(--sky);     border: 1px solid #b3cfe8; }

/* ── FADE-UP ANIMATION ───────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* ── UTILITY ─────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-saffron { color: var(--saffron); }
.text-jade    { color: var(--jade); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* ── PRINT ───────────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .fab-group, .announce-bar { display: none; }
}
