:root {
  --dark: #17181b;
  --dark-2: #212327;
  --dark-3: #26282d;
  --accent: #3452e0;
  --accent-2: #6c8cf5;
  --text-dark: #0a0a0a;
  --bg-light: #f6f5f3;
  --white: #ffffff;
  --muted: #6b6b6b;
  --border-glass: rgba(255,255,255,0.08);
  --radius-pill: 90px;
  --radius-card: 20px;
  --font: 'Montserrat', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --container: 1200px;
  --ease: cubic-bezier(.16,.84,.44,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; font-family: var(--font-display); }
p { margin: 0; }

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

/* Ambient tech background layers */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(600px circle at 15% 10%, rgba(52,82,224,0.10), transparent 60%),
    radial-gradient(700px circle at 85% 30%, rgba(52,82,224,0.06), transparent 60%),
    var(--bg-light);
  pointer-events: none;
}
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 0%, black, transparent 75%);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  position: relative;
}
.btn--accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 24px -8px rgba(52,82,224,0.55);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.btn--accent:hover { box-shadow: 0 10px 30px -6px rgba(52,82,224,0.7); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.magnetic { display: inline-flex; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 12px;
  position: relative;
  padding-left: 18px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  width: 10px;
  height: 2px;
  background: var(--accent);
}
.eyebrow--light { color: var(--accent); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}
.link-arrow img { transition: transform .3s var(--ease); }
.link-arrow:hover img { transform: translate(3px,-3px); }
.link-arrow--light { color: var(--white); }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(23,24,27,0.55);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease), border-color .35s var(--ease), padding .35s var(--ease);
}
.nav--scrolled {
  background: rgba(23,24,27,0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(52,82,224,0.18);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 18px;
  padding-bottom: 18px;
  transition: padding .35s var(--ease);
}
.nav--scrolled .nav__inner { padding-top: 12px; padding-bottom: 12px; }
.nav__logo img { height: 28px; }
.nav__links {
  display: flex;
  gap: 28px;
  margin-right: auto;
  flex-wrap: wrap;
}
.nav__link {
  position: relative;
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  padding-bottom: 4px;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__link:hover { color: var(--accent); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link--active { color: var(--accent); }
.nav__link--active::after { transform: scaleX(1); }
.nav__cta { padding: 12px 22px; }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span { width: 22px; height: 2px; background: var(--white); }

/* HERO */
.hero { background: var(--dark); padding: 72px 0 110px; position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(900px circle at 80% 20%, rgba(52,82,224,0.12), transparent 60%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  color: var(--white);
  font-size: 58px;
  line-height: 1.12;
  margin-bottom: 24px;
  font-weight: 600;
}
.hero p { color: #c6c6c6; font-size: 17px; margin-bottom: 32px; max-width: 520px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.hero__trust { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-glass);
  color: #d8d8d8;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}
.trust-chip img { width: 14px; height: 14px; }

/* word-split reveal (pure CSS transition, no JS ticker dependency) */
h1[data-split] .word-mask { overflow: hidden; display: inline-block; vertical-align: top; }
h1[data-split] .word {
  display: inline-block;
  will-change: transform;
  transform: translateY(115%);
  transition: transform .85s var(--ease);
}
h1[data-split].words-ready .word { transform: translateY(0); }

/* hero 3d visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: 560px;
  border-radius: 28px;
  background: linear-gradient(155deg, var(--dark-3), var(--dark-2));
  border: 1px solid var(--border-glass);
  overflow: hidden;
}
.hero-visual__glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 55% 45%, rgba(52,82,224,0.35), transparent 55%);
  filter: blur(30px);
  pointer-events: none;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.floating-chip {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(23,24,27,0.65);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  animation: float 5s ease-in-out infinite;
}
.floating-chip strong { font-family: var(--font-display); color: var(--accent); font-size: 22px; }
.floating-chip span { color: #c6c6c6; font-size: 11.5px; font-weight: 600; }
.floating-chip--1 { top: 8%; left: 6%; animation-delay: 0s; }
.floating-chip--2 { bottom: 10%; right: 7%; animation-delay: 1.4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ABOUT */
.about { padding: 100px 0; position: relative; }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about h2 { font-size: 36px; margin-bottom: 20px; line-height: 1.25; }
.about p { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.about__stats { display: flex; gap: 48px; margin-top: 40px; }
.stat { display: flex; flex-direction: column; }
.stat__num { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--text-dark); }
.stat__label { font-size: 14px; color: var(--muted); margin-top: 4px; }

.tilt-card {
  position: relative;
  border-radius: var(--radius-card);
  transform-style: preserve-3d;
  transition: transform .12s ease-out, box-shadow .3s var(--ease);
  will-change: transform;
}
.about__art .tilt-card {
  background: var(--bg-light);
  padding: 8px;
  box-shadow: 0 20px 60px -30px rgba(0,0,0,0.35);
}
.about__art .tilt-card img {
  border-radius: 14px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 12%;
}
.tilt-card__badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(23,24,27,0.75);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  transform: translateZ(40px);
}

/* SECTION HEAD */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: 32px; margin-bottom: 12px; line-height: 1.25; }
.section-head p { color: var(--muted); max-width: 520px; }

/* SERVICES */
.services { background: var(--dark); padding: 100px 0; position: relative; }
.services h2 { color: var(--white); }
.services p { color: #c6c6c6; }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  position: relative;
  background: linear-gradient(160deg, var(--dark-3), var(--dark-2) 65%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 30px 26px 32px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.service-card:hover {
  border-color: rgba(108,140,245,0.45);
  box-shadow: 0 30px 60px -30px rgba(52,82,224,0.45);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(260px circle at var(--mx,50%) var(--my,0%), rgba(108,140,245,0.22), transparent 65%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--accent-2), var(--accent));
  box-shadow: 0 10px 24px -8px rgba(52,82,224,0.6), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  transform: translateZ(30px);
}
.service-card__icon img { width: 28px; height: 28px; }
.service-card:hover .service-card__icon {
  transform: translateZ(30px) scale(1.08) rotate(-4deg);
  box-shadow: 0 14px 30px -6px rgba(52,82,224,0.75), inset 0 1px 0 rgba(255,255,255,0.3);
}
.service-card h3 { color: var(--white); font-size: 19px; transform: translateZ(20px); margin-top: 4px; }
.service-card p { color: #b8b8b8; font-size: 14.5px; line-height: 1.6; transform: translateZ(20px); }
.service-card__corner {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 16px;
  height: 16px;
  opacity: 0.5;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.service-card:hover .service-card__corner { transform: translate(3px,-3px); opacity: 1; }

/* IMPACT */
.impact { padding: 100px 0; }
.impact__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.impact h2 { font-size: 34px; margin-bottom: 14px; }
.impact p { color: var(--muted); }
.impact__stats { display: flex; gap: 32px; }
.impact-stat {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  box-shadow: 0 20px 50px -30px rgba(0,0,0,0.2);
}
.impact-stat__body { display: flex; flex-direction: column; gap: 4px; transform: translateZ(24px); }
.ring { width: 76px; height: 76px; flex-shrink: 0; transform: translateZ(24px) rotate(-90deg); }
.ring__bg, .ring__fg { fill: none; stroke-width: 8; }
.ring__bg { stroke: #ececec; }
.ring__fg {
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  transition: stroke-dashoffset 1.4s var(--ease);
}

/* TESTIMONIALS - 3D coverflow */
.testimonials { padding: 100px 0; text-align: center; }
.testimonials h2 { font-size: 32px; margin: 12px 0 56px; }
.carousel-3d { max-width: 760px; margin: 0 auto; }
.carousel-3d__stage {
  position: relative;
  height: 300px;
  perspective: 1400px;
}
.carousel-3d__slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  margin: 0;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: 0 25px 60px -25px rgba(0,0,0,0.25);
  will-change: transform, opacity;
}
.carousel-3d__slide p { font-size: 18px; line-height: 1.6; color: var(--text-dark); margin-bottom: 20px; }
.carousel-3d__slide footer { color: var(--muted); font-size: 14px; }
.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 28px; }
.carousel__arrow {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid #ddd; background: var(--white);
  font-size: 20px; cursor: pointer;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.carousel__arrow:hover { transform: scale(1.08); border-color: var(--accent); }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: #ddd; cursor: pointer; padding: 0; transition: background .25s, width .25s; }
.carousel__dots button.active { background: var(--accent); width: 22px; border-radius: 5px; }

/* RESOURCES / EVENTS */
.resources, .events { padding: 100px 0; }
.resource-card, .event-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  box-shadow: 0 20px 50px -30px rgba(0,0,0,0.2);
}
.resource-card h3, .event-card h3 { font-size: 20px; line-height: 1.3; transform: translateZ(20px); }
.tag {
  background: var(--bg-light);
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transform: translateZ(20px);
}
.tag--accent { background: var(--accent); color: var(--white); }
.meta { color: var(--muted); font-size: 14px; }
.event-card--featured { margin-bottom: 20px; }

/* CTA */
.cta { background: var(--dark); padding: 110px 0; text-align: center; position: relative; overflow: hidden; }
.cta__mesh {
  position: absolute;
  inset: -30%;
  background: conic-gradient(from 0deg, rgba(52,82,224,0.18), transparent 30%, transparent 70%, rgba(52,82,224,0.14));
  animation: spin 18s linear infinite;
  filter: blur(40px);
}
@keyframes spin { to { transform: rotate(360deg); } }
.cta__inner { position: relative; }
.cta h2 { color: var(--white); font-size: 36px; max-width: 700px; margin: 14px auto 32px; line-height: 1.3; }

/* FOOTER */
.footer { background: var(--dark); padding: 88px 0 0; position: relative; overflow: hidden; }
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52,82,224,0.5), transparent);
  z-index: 1;
}
.footer__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at 15% 0%, rgba(52,82,224,0.16), transparent 60%);
  pointer-events: none;
}
.footer__top {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1.7fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__logo { height: 26px; }
.footer__tagline { color: #9aa0ad; font-size: 14.5px; line-height: 1.65; max-width: 320px; }
.footer__social { display: flex; gap: 10px; margin-top: 4px; }
.footer__social-btn {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  transition: background .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.footer__social-btn img { width: 16px; height: 16px; }
.footer__social-btn:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }

.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__nav-col { display: flex; flex-direction: column; }
.footer__nav-title {
  display: block; position: relative; padding-left: 14px;
  font-family: var(--font-display); font-size: 12.5px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: #7d8492; margin-bottom: 18px;
}
.footer__nav-title::before {
  content: ''; position: absolute; left: 0; top: 50%; translate: 0 -50%;
  width: 8px; height: 2px; background: var(--accent);
}
.footer__nav-link {
  position: relative; display: inline-block; width: fit-content;
  color: #c7cad1; font-size: 14.5px; padding: 7px 0; transition: color .25s var(--ease);
}
.footer__nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 4px; width: 100%; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.footer__nav-link:hover { color: var(--white); }
.footer__nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.footer__cta { display: flex; flex-direction: column; gap: 12px; }
.footer__contact-link { display: flex; align-items: center; gap: 10px; color: #c7cad1; font-size: 14px; transition: color .25s var(--ease); }
.footer__contact-link img { width: 16px; height: 16px; flex-shrink: 0; }
.footer__contact-link:hover { color: var(--white); }
.footer__contact-link--static { cursor: default; }
.footer__cta-btn { margin-top: 8px; justify-content: center; }

.footer__bottom {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 0; color: #7d8492; font-size: 13px;
}
.footer__totop {
  display: flex; align-items: center; gap: 8px;
  background: none; border: 1px solid rgba(255,255,255,0.14); color: #c7cad1;
  padding: 9px 16px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.footer__totop:hover { border-color: var(--accent); color: var(--white); transform: translateY(-2px); }
.footer__totop svg { color: var(--accent); }

/* Scroll reveal base states */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .floating-chip, .cta__mesh { animation: none; }
  .tilt-card { transition: none; }
}

/* PAGE HERO (interior pages) */
.page-hero { background: var(--dark); padding: 96px 0 72px; position: relative; overflow: hidden; }
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px circle at 85% 20%, rgba(52,82,224,0.12), transparent 60%);
  pointer-events: none;
}
.page-hero__inner { position: relative; max-width: 760px; }
.page-hero h1 { color: var(--white); font-size: 44px; line-height: 1.2; margin: 14px 0 16px; }
.page-hero p { color: #c6c6c6; font-size: 16.5px; max-width: 620px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  color: #9a9a9a; font-size: 13px; margin-bottom: 18px;
}
.breadcrumb a { color: #c6c6c6; }
.breadcrumb a:hover { color: var(--accent); }

/* PROSE / content pages */
.prose-section { padding: 88px 0; }
.prose { max-width: 760px; margin: 0 auto; }
.prose--wide { max-width: 100%; margin: 0; }
.prose h2 { font-size: 27px; margin: 44px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin: 28px 0 12px; }
.prose p { color: #3a3a3a; font-size: 16.5px; line-height: 1.8; margin-bottom: 18px; }
.prose ul { padding-left: 20px; margin: 0 0 18px; color: #3a3a3a; }
.prose li { margin-bottom: 10px; line-height: 1.65; font-size: 16px; }
.prose li strong { color: var(--text-dark); }

/* Two column detail layout: content + sidebar */
.detail-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: start;
}
.detail-sidebar {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-card {
  background: var(--dark);
  border-radius: var(--radius-card);
  padding: 32px;
  color: var(--white);
}
.sidebar-card h3 { font-size: 19px; margin-bottom: 10px; }
.sidebar-card p { color: #c6c6c6; font-size: 14.5px; margin-bottom: 20px; }
.sidebar-card .btn { width: 100%; justify-content: center; }
.sidebar-list { background: var(--white); border-radius: var(--radius-card); padding: 28px; box-shadow: 0 20px 50px -30px rgba(0,0,0,0.2); }
.sidebar-list h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; font-family: var(--font-display); }
.sidebar-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-top: 1px solid #eee; font-weight: 600; font-size: 14.5px;
}
.sidebar-list a:first-of-type { border-top: none; }
.sidebar-list a:hover { color: var(--accent-2); filter: brightness(0.7); }

.benefit-list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 14px; }
.benefit-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: #333; }
.benefit-list img { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }

/* Meta rows (event / article info) */
.meta-row { display: flex; flex-wrap: wrap; gap: 24px; margin: 20px 0 8px; }
.meta-item { display: flex; flex-direction: column; gap: 4px; }
.meta-item span:first-child { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #9a9a9a; font-family: var(--font-display); }
.meta-item span:last-child { font-size: 15px; font-weight: 600; color: var(--white); }

/* Testimonial grid (dedicated page) */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: 0 20px 50px -30px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial-card p { font-size: 15.5px; line-height: 1.65; color: var(--text-dark); }
.testimonial-card footer { color: var(--muted); font-size: 13.5px; }

/* FAQ accordion */
.accordion { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin: 0 auto; }
.accordion-item { background: var(--white); border-radius: 16px; box-shadow: 0 10px 30px -22px rgba(0,0,0,0.25); overflow: hidden; }
.accordion-item__q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px; font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--text-dark);
}
.accordion-item__q .plus { font-size: 22px; color: var(--accent); transition: transform .3s var(--ease); flex-shrink: 0; }
.accordion-item.open .plus { transform: rotate(45deg); }
.accordion-item__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.accordion-item__a p { padding: 0 26px 22px; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* Contact form */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info__item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info__item img { width: 22px; height: 22px; margin-top: 2px; }
.contact-info__item h3 { font-size: 15px; margin-bottom: 4px; }
.contact-info__item p, .contact-info__item a { color: var(--muted); font-size: 15px; }
.form { background: var(--white); border-radius: var(--radius-card); padding: 40px; box-shadow: 0 20px 50px -30px rgba(0,0,0,0.2); display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: var(--font);
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 15px;
  background: var(--bg-light);
  color: var(--text-dark);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field textarea { resize: vertical; min-height: 110px; font-family: var(--font); }
.form-success { display: none; align-items: center; gap: 10px; padding: 16px 18px; background: #eefbe9; color: #2b7a2f; border-radius: 12px; font-size: 14.5px; font-weight: 600; }
.form-success.show { display: flex; }
.form .btn { align-self: flex-start; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero__inner, .about__inner, .impact__inner { grid-template-columns: 1fr; }
  .about__art { order: -1; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__nav { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 42px; }
  .impact__stats { flex-direction: column; }
  .detail-layout, .contact-layout { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .page-hero h1 { font-size: 34px; }
}
@media (max-width: 700px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; margin-left: auto; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--dark);
    padding: 20px 24px; gap: 16px;
  }
  .nav.open .nav__cta { display: inline-flex; margin: 0 24px 20px; }
  .card-grid, .card-grid--2 { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero h1 { font-size: 34px; }
  .section-head { align-items: flex-start; }
  .floating-chip { padding: 10px 14px; }
  .carousel-3d__stage { height: 380px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .meta-row { gap: 16px; }
}
