/* ================================================================
   LearnByte — "Warm Ink" editorial design system
   Palette: deep teal on warm paper. No gradients. Lora display.
   ================================================================ */

:root {
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Lora', Georgia, serif;

  --bg: #f6f4f0;
  --bg-2: #edeae4;
  --fg: #1c1917;
  --fg-muted: #78716c;
  --card: #fff;
  --card-border: #e5e2dc;
  --border: #ddd9d1;
  --primary: #1a5c52;
  --primary-hover: #14483f;
  --primary-fg: #fff;
  --accent-bg: #e4edea;
  --accent-fg: #1a5c52;
  --input-bg: #fff;
  --input-border: #d4d0c8;
  --ring: #1a5c52;
  --nav-bg: rgba(246, 244, 240, 0.88);
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.06);
  --shadow-md: 0 2px 8px rgba(28, 25, 23, 0.08);
}

.dark {
  --bg: #111110;
  --bg-2: #1a1918;
  --fg: #edebe8;
  --fg-muted: #8a8680;
  --card: #1a1918;
  --card-border: #2a2826;
  --border: #2a2826;
  --primary: #3d9b8f;
  --primary-hover: #4bb3a5;
  --primary-fg: #111110;
  --accent-bg: #1a2420;
  --accent-fg: #3d9b8f;
  --input-bg: #1a1918;
  --input-border: #33302d;
  --ring: #3d9b8f;
  --nav-bg: rgba(17, 17, 16, 0.88);
  --shadow-sm: none;
  --shadow-md: none;
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font-sans); }

/* ===== Layout ===== */
.container { max-width: 1060px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

/* ===== Utilities ===== */
.text-accent {
  color: var(--primary);
  font-style: italic;
  font-family: var(--font-display);
}

.pill {
  display: inline-block;
  background: var(--accent-bg);
  color: var(--accent-fg);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 3px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-top h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--fg-muted);
  font-size: 0.9375rem;
  margin-top: 0.2rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
  font-size: 0.8125rem;
  padding: 0.5rem 1.1rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-outline {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--fg-muted);
}

.btn-invert {
  background: var(--bg);
  color: var(--primary);
  border-color: var(--bg);
}
.btn-invert:hover {
  opacity: 0.9;
}

.btn-sm { padding: 0.35rem 0.85rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.65rem 1.8rem; font-size: 0.9375rem; }
.btn-full { width: 100%; }

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
}

.logo { display: flex; align-items: center; gap: 0.5rem; }

.logo-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 6px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-links { display: none; align-items: center; gap: 0.1rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--fg-muted);
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--fg); }
.nav-link.active { color: var(--fg); font-weight: 600; }

.nav-actions { display: none; align-items: center; gap: 0.4rem; }
@media (min-width: 768px) { .nav-actions { display: flex; } }

.theme-toggle {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 4px;
  color: var(--fg-muted);
  cursor: pointer;
  transition: color 0.2s;
}
.theme-toggle:hover { color: var(--fg); }

.dark .icon-sun { display: block; }
.dark .icon-moon { display: none; }
html:not(.dark) .icon-sun { display: none; }
html:not(.dark) .icon-moon { display: block; }

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--fg);
  cursor: pointer;
  padding: 0.25rem;
}
@media (min-width: 768px) { .mobile-menu-btn { display: none; } }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 0.5rem 1.25rem 1rem;
  gap: 0.25rem;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }

/* ===== HOME: Hero ===== */
.hero { padding: 5rem 0 3.5rem; }

.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .hero-split { grid-template-columns: 1.1fr 0.9fr; }
}

.hero-left h1 {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0.5rem 0 1.25rem;
}
@media (min-width: 768px) {
  .hero-left h1 { font-size: 3.25rem; }
}

.hero-sub {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 420px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-social-proof { display: flex; align-items: center; gap: 0.6rem; }

.avatars { display: flex; }
.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border: 2px solid var(--bg);
  margin-left: -7px;
}
.avatars .avatar:first-child { margin-left: 0; }

.proof-text { font-size: 0.8125rem; color: var(--fg-muted); }
.proof-text strong { color: var(--fg); }

/* Hero cards */
.hero-right { position: relative; min-height: 300px; }

.hero-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-sm);
}
.hero-card + .hero-card { margin-top: 0.65rem; }

.hc-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  flex-shrink: 0;
}

.hc-icon-1 { background: var(--accent-bg); color: var(--primary); }
.hc-icon-2 { background: #f0eae4; color: #92714a; }
.dark .hc-icon-2 { background: #2a2420; color: #c4a47a; }
.hc-icon-3 { background: #e4e8f0; color: #4a5d80; }
.dark .hc-icon-3 { background: #1c2028; color: #8a9dc0; }

.hero-card strong { font-size: 0.875rem; display: block; line-height: 1.3; }
.hc-meta { font-size: 0.75rem; color: var(--fg-muted); }

.hc-badge {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  margin-left: auto;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.beginner { background: #e4edea; color: #1a5c52; }
.dark .beginner { background: #1a2420; color: #3d9b8f; }
.intermediate { background: #f0eae4; color: #92714a; }
.dark .intermediate { background: #2a2420; color: #c4a47a; }
.advanced { background: #f0e4e4; color: #8b4a4a; }
.dark .advanced { background: #2a1c1c; color: #c07a7a; }

.hero-float-stat {
  position: absolute;
  bottom: -8px;
  right: 8px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 0.6rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.float-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  display: block;
  color: var(--primary);
}

.stars { color: #b8a080; font-size: 0.7rem; letter-spacing: 1px; }
.float-label { font-size: 0.65rem; color: var(--fg-muted); display: block; }

/* ===== Trusted ===== */
.trusted {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trusted-label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}

.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trusted-logos span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg-muted);
  opacity: 0.4;
  letter-spacing: -0.01em;
}

/* ===== Categories ===== */
.categories { padding: 4rem 0; }

.cat-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.cat-scroll::-webkit-scrollbar { height: 3px; }
.cat-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.cat-card {
  flex: 0 0 165px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 1.25rem;
  transition: border-color 0.2s;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.cat-card:hover { border-color: var(--primary); }

.cat-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.cat-card h3 { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.15rem; }
.cat-card p { font-size: 0.75rem; color: var(--fg-muted); }

/* ===== Bento Grid ===== */
.bento { padding: 4rem 0; }

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) { .bento-grid { grid-template-columns: repeat(2, 1fr); } }

.bento-wide { grid-column: 1 / -1; }

.bento-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.bento-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.bento-card p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Bar chart */
.bento-bar-chart {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.bar-group { display: flex; align-items: center; gap: 0.6rem; }
.bar-label { font-size: 0.75rem; color: var(--fg-muted); width: 70px; text-align: right; flex-shrink: 0; }
.bar { height: 26px; background: var(--bg-2); border-radius: 3px; transition: width 0.6s ease; }
.bar-primary { background: var(--primary); }
.bar-val { font-size: 0.75rem; font-weight: 600; color: var(--fg-muted); flex-shrink: 0; }

.bento-cert { margin-top: 1rem; color: var(--primary); }
.bento-devices { margin-top: 1rem; display: flex; gap: 0.75rem; color: var(--fg-muted); }

/* CTA banner (was gradient, now solid dark) */
.bento-dark {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-fg);
}
.bento-dark h3 { color: var(--primary-fg); }
.bento-dark p { color: rgba(255, 255, 255, 0.75); }

.bento-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ===== Testimonials ===== */
.testimonials { padding: 4rem 0; }

.test-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.test-scroll::-webkit-scrollbar { height: 3px; }
.test-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.test-card {
  flex: 0 0 300px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
}
.test-card .stars { margin-bottom: 0.15rem; }

.test-card p {
  font-size: 0.9375rem;
  color: var(--fg);
  line-height: 1.65;
  flex: 1;
  font-style: italic;
  font-family: var(--font-display);
}

.test-author { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.5rem; }
.test-author strong { font-size: 0.8125rem; display: block; }
.test-author span { font-size: 0.75rem; color: var(--fg-muted); }

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .footer-top { grid-template-columns: 1.5fr 2fr; } }

.footer-desc {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-top: 0.6rem;
  max-width: 260px;
}

.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  margin-bottom: 0.6rem;
}

.footer-col a {
  display: block;
  font-size: 0.8125rem;
  color: var(--fg-muted);
  padding: 0.2rem 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p { font-size: 0.75rem; color: var(--fg-muted); }
.footer-socials { display: flex; gap: 0.75rem; }
.footer-socials a { color: var(--fg-muted); transition: color 0.2s; }
.footer-socials a:hover { color: var(--primary); }

/* ================================================================
   ABOUT PAGE
   ================================================================ */

.about-hero { padding: 5rem 0 2.5rem; }
.about-hero-inner { max-width: 600px; }

.about-hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0.5rem 0 1rem;
}
@media (min-width: 768px) { .about-hero h1 { font-size: 3rem; } }

.about-hero-sub {
  color: var(--fg-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 500px;
}

/* Timeline */
.timeline-section { padding: 3.5rem 0; }

.timeline-section h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}

.timeline { position: relative; padding-left: 2rem; }

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border);
}

.timeline-item { position: relative; padding-bottom: 2.25rem; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg);
  z-index: 1;
}

.timeline-year {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}

.timeline-content h3 { font-size: 1rem; font-weight: 600; margin: 0.2rem 0 0.35rem; }
.timeline-content p { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.65; max-width: 500px; }

/* Team Grid */
.team-section { padding: 3.5rem 0; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(6, 1fr); } }

.team-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 1.25rem;
  text-align: center;
  transition: border-color 0.2s;
  box-shadow: var(--shadow-sm);
}
.team-card:hover { border-color: var(--primary); }

.team-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0 auto 0.75rem;
}

.team-card strong { font-size: 0.8125rem; display: block; margin-bottom: 0.1rem; }
.team-card span { font-size: 0.7rem; color: var(--fg-muted); }

/* Stats Banner */
.stats-banner { padding: 3.5rem 0; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }

.stat-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: block;
  color: var(--primary);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-top: 0.15rem;
  display: block;
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */

.contact-hero { padding: 5rem 0 2rem; text-align: center; }

.contact-hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 0.5rem;
}
@media (min-width: 768px) { .contact-hero h1 { font-size: 3rem; } }

.contact-hero p {
  color: var(--fg-muted);
  font-size: 1.0625rem;
  max-width: 440px;
  margin: 0 auto;
}

/* Contact Options */
.contact-options { padding: 1rem 0 3.5rem; }

.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) { .options-grid { grid-template-columns: repeat(3, 1fr); } }

.option-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.option-card:hover { border-color: var(--primary); }

.option-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  margin: 0 auto 0.75rem;
}

.option-card h3 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.2rem; }
.option-card p { font-size: 0.8125rem; color: var(--fg-muted); }

/* Form + FAQ Split */
.contact-main { padding: 0 0 4rem; }

.contact-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) { .contact-split { grid-template-columns: 1.1fr 0.9fr; } }

.contact-form-wrap h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.form-intro { font-size: 0.875rem; color: var(--fg-muted); margin-bottom: 1.25rem; }

.contact-form { display: flex; flex-direction: column; gap: 0.85rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label { font-size: 0.8125rem; font-weight: 600; }

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  padding: 0.55rem 0.75rem;
  background: var(--input-bg);
  color: var(--fg);
  border: 1px solid var(--input-border);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--fg-muted); opacity: 0.6; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 2px rgba(26, 92, 82, 0.12);
}
.dark .form-group input:focus,
.dark .form-group select:focus,
.dark .form-group textarea:focus {
  box-shadow: 0 0 0 2px rgba(61, 155, 143, 0.2);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}

.form-success { display: none; text-align: center; padding: 3rem 0; }
.success-icon { color: var(--primary); margin-bottom: 0.75rem; }

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.form-success p { font-size: 0.875rem; color: var(--fg-muted); margin-bottom: 1rem; }

/* FAQ */
.faq-wrap h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.faq-list { display: flex; flex-direction: column; gap: 0.4rem; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
  box-shadow: var(--shadow-sm);
}
.faq-item:hover { border-color: var(--fg-muted); }
.faq-item.open { border-color: var(--primary); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  gap: 0.5rem;
}
.faq-question span { font-size: 0.875rem; font-weight: 600; }

.faq-chevron {
  transition: transform 0.2s;
  flex-shrink: 0;
  color: var(--fg-muted);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--primary); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer p { padding: 0 1rem 0.85rem; font-size: 0.8125rem; color: var(--fg-muted); line-height: 1.65; }

/* ================================================================
   ANIMATIONS — subtle, scroll-triggered reveals
   ================================================================ */
@media (prefers-reduced-motion: no-preference) {
  .hero-left, .hero-right,
  .cat-card, .bento-card, .test-card,
  .timeline-item, .team-card, .stat-item,
  .option-card, .contact-form-wrap, .faq-wrap {
    opacity: 0;
    transform: translateY(16px);
    animation: reveal 0.5s ease forwards;
  }

  .hero-left { animation-delay: 0.1s; }
  .hero-right { animation-delay: 0.25s; }

  .cat-card:nth-child(1) { animation-delay: 0.05s; }
  .cat-card:nth-child(2) { animation-delay: 0.1s; }
  .cat-card:nth-child(3) { animation-delay: 0.15s; }
  .cat-card:nth-child(4) { animation-delay: 0.2s; }
  .cat-card:nth-child(5) { animation-delay: 0.25s; }
  .cat-card:nth-child(6) { animation-delay: 0.3s; }

  .bento-card:nth-child(1) { animation-delay: 0.05s; }
  .bento-card:nth-child(2) { animation-delay: 0.12s; }
  .bento-card:nth-child(3) { animation-delay: 0.19s; }
  .bento-card:nth-child(4) { animation-delay: 0.26s; }
  .bento-card:nth-child(5) { animation-delay: 0.33s; }

  .test-card:nth-child(1) { animation-delay: 0.05s; }
  .test-card:nth-child(2) { animation-delay: 0.12s; }
  .test-card:nth-child(3) { animation-delay: 0.19s; }
  .test-card:nth-child(4) { animation-delay: 0.26s; }

  .timeline-item:nth-child(1) { animation-delay: 0.05s; }
  .timeline-item:nth-child(2) { animation-delay: 0.12s; }
  .timeline-item:nth-child(3) { animation-delay: 0.19s; }
  .timeline-item:nth-child(4) { animation-delay: 0.26s; }
  .timeline-item:nth-child(5) { animation-delay: 0.33s; }

  .team-card:nth-child(1) { animation-delay: 0.05s; }
  .team-card:nth-child(2) { animation-delay: 0.1s; }
  .team-card:nth-child(3) { animation-delay: 0.15s; }
  .team-card:nth-child(4) { animation-delay: 0.2s; }
  .team-card:nth-child(5) { animation-delay: 0.25s; }
  .team-card:nth-child(6) { animation-delay: 0.3s; }

  .stat-item:nth-child(1) { animation-delay: 0.05s; }
  .stat-item:nth-child(2) { animation-delay: 0.12s; }
  .stat-item:nth-child(3) { animation-delay: 0.19s; }
  .stat-item:nth-child(4) { animation-delay: 0.26s; }

  .option-card:nth-child(1) { animation-delay: 0.05s; }
  .option-card:nth-child(2) { animation-delay: 0.12s; }
  .option-card:nth-child(3) { animation-delay: 0.19s; }

  .contact-form-wrap { animation-delay: 0.1s; }
  .faq-wrap { animation-delay: 0.2s; }
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
