/* Sneha Maths Expert Classes — Design System */
:root {
  --primary: #0F4C81;
  --primary-600: #0B3C67;
  --primary-50: #E8F0F9;
  --secondary: #16A34A;
  --secondary-50: #E8F7EE;
  --accent: #F59E0B;
  --accent-50: #FEF3C7;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --text: #1E293B;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 6px rgba(15, 76, 129, .06);
  --shadow: 0 12px 40px -12px rgba(15, 76, 129, .18);
  --shadow-lg: 0 24px 60px -20px rgba(15, 76, 129, .25);
  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
}

[data-theme="dark"] {
  --bg: #0A1628;
  --surface: #101F35;
  --text: #E2E8F0;
  --text-muted: #94A3B8;
  --border: #1E3454;
  --primary-50: rgba(59, 130, 246, .12);
  --secondary-50: rgba(22, 163, 74, .15);
  --shadow: 0 20px 60px -15px rgba(0, 0, 0, .5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 .5em;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color .2s;
}

a:hover {
  color: var(--primary-600);
}

.container-x {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Top strip ========== */
.top-strip {
  background: var(--primary);
  color: #fff;
  font-size: .82rem;
  padding: 8px 0;
}

.top-strip a {
  color: #fff;
  opacity: .9;
}

.top-strip a:hover {
  opacity: 1;
}

.top-strip .inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ========== Navigation ========== */
.nav {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow .25s;
}

[data-theme="dark"] .nav {
  background: rgba(10, 22, 40, .85);
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: var(--shadow-sm);
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 600;
}

.brand-sub {
  font-size: .72rem;
  color: var(--text-muted);
  display: block;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 500;
  font-size: .93rem;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--primary-50);
  color: var(--primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .93rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s;
  font-family: var(--font-body);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(15, 76, 129, .55);
}

.btn-primary:hover {
  background: var(--primary-600);
  color: #fff;
  box-shadow: 0 12px 26px -8px rgba(15, 76, 129, .6);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(22, 163, 74, .5);
}

.btn-secondary:hover {
  background: #128a3d;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--primary-50);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 14px;
  font-size: .82rem;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--text);
  font-size: 1.4rem;
}

.nav-links .mobile-only {
  display: none;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--surface);
    padding: 20px;
    box-shadow: var(--shadow);
    border-top: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
    align-items: stretch;
  }

  .nav-links a {
    width: 100%;
  }

  .nav-links .mobile-only {
    display: flex;
  }

  .hamburger {
    display: inline-flex;
  }

  .nav-cta .btn-cta-hide {
    display: none;
  }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 30px 0 100px;
  background:
    radial-gradient(1200px 500px at 15% -10%, rgba(15, 76, 129, .10), transparent 60%),
    radial-gradient(900px 500px at 100% 10%, rgba(245, 158, 11, .10), transparent 55%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 1px 1px;
  border-radius: 999px;
  background: var(--secondary-50);
  color: var(--secondary);
  font-weight: 600;
  font-size: .62rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1.05;
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--primary);
  background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-trust .item {
  display: flex;
  flex-direction: column;
}

.hero-trust .num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-trust .label {
  font-size: .82rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  transform: rotate(-1.5deg);
}

.hero-card:hover {
  transform: rotate(0) translateY(-4px);
  transition: transform .3s ease;
}

.hero-card .eq-title {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-muted);
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-card .eq {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.4rem;
  color: var(--primary);
  font-weight: 500;
  padding: 20px 0;
  border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border);
}

.hero-card .eq .op {
  color: var(--accent);
}

.hero-card .steps {
  list-style: none;
  padding: 16px 0 0;
  margin: 0;
  font-size: .95rem;
  color: var(--text-muted);
}

.hero-card .steps li {
  padding: 6px 0;
}

.hero-card .steps li b {
  color: var(--text);
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--accent);
  color: #1E293B;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: .88rem;
}

.hero-badge span {
  display: block;
  font-size: 1.4rem;
  font-family: var(--font-heading);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    padding: 60px 0 70px;
  }
}

/* Ticker */
.ticker {
  background: linear-gradient(90deg, var(--accent) 0%, #F97316 100%);
  color: #1E293B;
  padding: 10px 0;
  font-weight: 600;
  font-size: .9rem;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-flex;
  gap: 60px;
  animation: ticker 30s linear infinite;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Section */
section.section {
  padding: 20px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0 0 14px;
}

.section-head p {
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.text-left.section-head {
  text-align: left;
}

.text-left.section-head p {
  margin: 0;
}

/* Cards grid */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 900px) {

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card .icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--primary-50);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  margin: 0 0 20px;
  font-size: .96rem;
}

.card .card-link {
  color: var(--primary);
  font-weight: 600;
  font-size: .9rem;
}

.card .card-link i {
  margin-left: 6px;
  transition: transform .2s;
}

.card:hover .card-link i {
  transform: translateX(4px);
}

.card.tinted-secondary .icon {
  background: var(--secondary-50);
  color: var(--secondary);
}

.card.tinted-accent .icon {
  background: var(--accent-50);
  color: #B45309;
}

/* Course card */
.course-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity .25s;
}

.course-card:hover::before {
  opacity: 1;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.course-card .tag {
  font-size: .72rem;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.course-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.course-card p {
  color: var(--text-muted);
  font-size: .92rem;
  flex-grow: 1;
  margin: 0;
}

.course-card .footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.course-card .footer a {
  font-weight: 600;
  font-size: .88rem;
}

/* Testimonial */
.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: 'Fraunces', Georgia, serif;
  font-size: 5rem;
  color: var(--primary);
  opacity: .15;
  position: absolute;
  top: 0;
  left: 20px;
  line-height: 1;
}

.testimonial-card p {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
}

.testimonial-card .who {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-card .avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.testimonial-card .name {
  font-weight: 600;
  color: var(--text);
}

.testimonial-card .role {
  font-size: .82rem;
  color: var(--text-muted);
}

.testimonial-card .stars {
  color: var(--accent);
  margin-bottom: 12px;
}

/* Stats strip */
.stats-strip {
  background: var(--primary);
  color: #fff;
  padding: 60px 0;
}

.stats-strip .grid-4 {
  text-align: center;
}

.stats-strip .stat .n {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent);
}

.stats-strip .stat .lbl {
  color: rgba(255, 255, 255, .85);
  font-size: .95rem;
  margin-top: 6px;
}

/* Featured teacher */
.teacher-block {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.teacher-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.teacher-info h2 {
  margin-top: 8px;
}

.teacher-info .role {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 20px;
}

.teacher-info blockquote {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text);
  margin: 0 0 24px;
  line-height: 1.5;
  border-left: 3px solid var(--accent);
  padding-left: 18px;
}

.teacher-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.teacher-badges span {
  background: var(--primary-50);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .teacher-block {
    grid-template-columns: 1fr;
  }
}

/* Alt background */
.section.alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* FAQ */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform .2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item .a {
  padding: 0 24px 20px;
  color: var(--text-muted);
}

/* Footer */
footer.site-footer {
  background: #0A1E33;
  color: #CBD5E1;
  padding: 70px 0 0;
  margin-top: 40px;
}

[data-theme="dark"] footer.site-footer {
  background: #050F1D;
}

footer .grid-4 {
  gap: 40px;
}

footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
}

footer a {
  color: #CBD5E1;
  display: block;
  padding: 4px 0;
  font-size: .92rem;
}

footer a:hover {
  color: #fff;
}

footer .about-col p {
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

footer .socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

footer .socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  display: grid;
  place-items: center;
  padding: 0;
}

footer .socials a:hover {
  background: var(--primary);
}

footer .contact-line {
  display: flex;
  gap: 10px;
  font-size: .9rem;
  align-items: flex-start;
  padding: 6px 0;
}

footer .contact-line i {
  color: var(--accent);
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 50px;
  padding: 22px 0;
  font-size: .85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

/* Sticky enquiry */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sticky-cta a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow);
  font-size: 1.3rem;
  transition: transform .2s;
}

.sticky-cta a:hover {
  transform: scale(1.08);
  color: #fff;
}

.sticky-cta .wa {
  background: #25D366;
}

.sticky-cta .call {
  background: var(--primary);
}

.sticky-cta .top {
  background: var(--accent);
  color: #1E293B;
}

/* Forms */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-50);
}

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

.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: .95rem;
}

.alert-success {
  background: var(--secondary-50);
  color: #14532d;
  border: 1px solid var(--secondary);
}

.alert-error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

/* Page hero */
.page-hero {
  padding: 10px 0 10px;
  background:
    radial-gradient(600px 300px at 10% -20%, rgba(15, 76, 129, .10), transparent 60%),
    var(--bg);
}

.breadcrumbs {
  color: var(--text-muted);
  font-size: .88rem;
  margin-bottom: 14px;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--primary);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-grid .item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.gallery-grid .item:hover img {
  transform: scale(1.06);
}

.gallery-grid .cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 18px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .7));
  font-weight: 600;
  font-size: .9rem;
}

/* Result / achievement chip */
.result-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 20px;
  flex-wrap: wrap;
}

.result-row .r-name {
  font-weight: 700;
}

.result-row .r-exam {
  color: var(--text-muted);
  font-size: .9rem;
}

.result-row .r-score {
  background: var(--accent-50);
  color: #B45309;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
}

/* Games */
.game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}

.game-card .icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 14px;
}

/* Utility */
.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 40px 0;
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: grid;
  place-items: center;
  transition: opacity .3s;
}

.preloader.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 42px;
  height: 42px;
  border: 3px solid var(--primary-50);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* AOS fallback */
[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: all .7s cubic-bezier(.2, .6, .2, 1);
}

[data-aos].in {
  opacity: 1;
  transform: none;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 560px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  z-index: 950;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  font-size: .9rem;
}

.cookie-banner.hidden {
  display: none;
}