/* ============================================================
   AIKI HUB TECHNOLOGIES — main.css  (Part 1 of 2)
   Sections: Tokens · Reset · Type · Buttons · Navbar · Hero
             Services · Why · CTA Banner · Animations · Cards
   ============================================================ */

/* ── 1. DESIGN TOKENS ─────────────────────────────────────── */
:root {
  --c-primary:       #5e172e;
  --c-primary-h:     #7a1f3d;
  --c-primary-light: rgba(94,23,46,.08);
  --c-bg:            #fafaf9;
  --c-bg-alt:        #f4f2f0;
  --c-white:         #ffffff;
  --c-text:          #111111;
  --c-muted:         #666666;
  --c-border:        #e5e5e5;

  --f-display: 'Syne',    sans-serif;
  --f-body:    'DM Sans', sans-serif;

  --radius:        8px;
  --radius-lg:    16px;
  --shadow:        0 2px 12px rgba(0,0,0,.07);
  --shadow-hover:  0 8px 32px rgba(0,0,0,.13);
  --shadow-btn:    0 4px 16px rgba(94,23,46,.28);
  --trans:         .25s ease;
  --trans-slow:    .45s ease;

  --nav-h:       80px;
  --container:  1200px;
  --pad:         1.5rem;
  --section-py:  110px;
}

/* ── 2. RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.72;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; transition: color var(--trans); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--f-body); }

/* ── 3. TYPOGRAPHY ───────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--f-display);
  line-height: 1.15;
  font-weight: 700;
  color: var(--c-text);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
em { font-style: normal; color: var(--c-primary); }

/* ── 4. LAYOUT UTILITIES ─────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section {
  padding: var(--section-py) 0;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}
.section-eyebrow {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: .85rem;
}
.section-sub {
  color: var(--c-muted);
  font-size: 1.0625rem;
  margin-top: .75rem;
}

/* ── 5. BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  border-radius: var(--radius);
  font-family: var(--f-body);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .01em;
  transition: all var(--trans);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
}
.btn-primary:hover {
  background: var(--c-primary-h);
  border-color: var(--c-primary-h);
  box-shadow: var(--shadow-btn);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}
.btn-ghost:hover {
  background: var(--c-primary-light);
  transform: translateY(-1px);
}
.btn-white {
  background: var(--c-white);
  color: var(--c-primary);
  border-color: var(--c-white);
}
.btn-white:hover {
  background: rgba(255,255,255,.88);
  transform: translateY(-1px);
}
.btn-sm { padding: .6rem 1.25rem; font-size: .875rem; }

/* ── 6. NAVBAR ───────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(250,250,249,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow var(--trans);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.09); }
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo a,
.nav-logo .aikihub-logo-fallback { display: flex; align-items: center; }
.nav-logo img,
.custom-logo { height: 48px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links li a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--c-text);
  padding: .25rem 0;
  position: relative;
}
.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--c-primary);
  transition: width var(--trans);
}
.nav-links li a:hover::after,
.nav-links li.current-menu-item a::after { width: 100%; }
.nav-links li.current-menu-item a { color: var(--c-primary); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  border-radius: var(--radius);
}
.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: all var(--trans);
}
.nav-hamburger.open .hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open .hamburger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open .hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 7. HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--c-bg);
  overflow: hidden;
}
#particles-js {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at 60% 50%, rgba(250,250,249,.15) 0%, rgba(250,250,249,.6) 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-h);
  padding-bottom: 3rem;
  max-width: 780px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-size: clamp(2.6rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--c-muted);
  max-width: 560px;
  margin-bottom: 2.25rem;
  line-height: 1.75;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--c-muted);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--c-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.4} 50%{opacity:1} }

/* ── 8. CARDS (shared) ───────────────────────────────────── */
.cards-grid {
  display: grid;
  gap: 1.75rem;
}
.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
  box-shadow: var(--shadow);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(94,23,46,.18);
}
.card-icon {
  width: 52px; height: 52px;
  background: var(--c-primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  margin-bottom: 1.25rem;
}
.card-title { margin-bottom: .6rem; }
.card-text  { color: var(--c-muted); font-size: .9375rem; margin-bottom: 1.25rem; }
.card-link  {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--c-primary);
}
.card-link:hover { gap: .6rem; }

/* ── 9. SERVICES SECTION (home) ──────────────────────────── */
.services-section { background: var(--c-white); }

/* ── 10. WHY AIKIHUB ─────────────────────────────────────── */
.why-section { background: var(--c-bg-alt); }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why-text h2  { margin-bottom: 1.25rem; }
.why-text p   { color: var(--c-muted); margin-bottom: 2rem; }
.why-stats    { display: flex; flex-direction: column; gap: 1.5rem; }

.stat-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--c-primary);
  border-radius: var(--radius) 0 0 var(--radius);
}
.stat-number {
  font-family: var(--f-display);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--f-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--c-primary);
}
.stat-label {
  display: block;
  font-size: .875rem;
  font-weight: 500;
  color: var(--c-muted);
  margin-top: .35rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── 11. CTA BANNER ──────────────────────────────────────── */
.cta-banner {
  background: var(--c-primary);
  padding: 5rem 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.cta-banner-text h2 { color: var(--c-white); margin-bottom: .6rem; }
.cta-banner-text p  { color: rgba(255,255,255,.75); }

/* ── 12. SCROLL ANIMATIONS ───────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
/* Staggered delays via data-delay attribute (0-4), handled in JS */
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.fade-in[data-delay="1"] { transition-delay: .15s; }
.fade-in[data-delay="2"] { transition-delay: .3s; }
.fade-in[data-delay="3"] { transition-delay: .45s; }

/* ── 14. PAGE HERO (inner pages) ─────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
  background: var(--c-bg);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--c-border);
}
/* Decorative background mark */
.page-hero::after {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--c-primary-light) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero--short { padding-bottom: 3.5rem; }
.page-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero-inner h1 { margin: .5rem 0 1.25rem; }
.page-hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--c-muted);
  max-width: 560px;
  line-height: 1.75;
}

/* ── 15. ABOUT — Story ───────────────────────────────────── */
.story-section { background: var(--c-white); }
.story-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: start;
}
.story-text h2  { margin: .5rem 0 1.5rem; }
.story-text p   { color: var(--c-muted); margin-bottom: 1.25rem; }

.story-highlights { display: flex; flex-direction: column; gap: 2rem; padding-top: .5rem; }
.story-highlight-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.highlight-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--c-primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
}
.story-highlight-item h4 { margin-bottom: .35rem; }
.story-highlight-item p  { color: var(--c-muted); font-size: .9375rem; }

/* ── 16. ABOUT — Team ────────────────────────────────────── */
.team-section { background: var(--c-bg-alt); }
.team-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--trans), box-shadow var(--trans);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--c-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 2px solid rgba(94,23,46,.12);
}
.avatar-initials {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-primary);
}
.team-name { font-size: 1.1rem; margin-bottom: .35rem; }
.team-role { font-size: .875rem; color: var(--c-muted); margin-bottom: 1rem; }
.team-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--c-bg-alt);
  color: var(--c-muted);
  transition: all var(--trans);
}
.team-social a:hover { background: var(--c-primary); color: var(--c-white); }

/* ── 17. ABOUT — Values ──────────────────────────────────── */
.values-section  { background: var(--c-white); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.value-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-bg);
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(94,23,46,.2);
}
.value-icon {
  width: 58px; height: 58px;
  background: var(--c-primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  margin-bottom: 1.5rem;
}
.value-card h3 { margin-bottom: .75rem; }
.value-card p  { color: var(--c-muted); font-size: .9375rem; }

/* ── 18. SERVICES PAGE ───────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.service-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(94,23,46,.18);
}
.service-card-icon {
  width: 56px; height: 56px;
  background: var(--c-primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  margin-bottom: 1.35rem;
}
.service-card-title { margin-bottom: .75rem; }
.service-card-desc  { color: var(--c-muted); font-size: .9375rem; line-height: 1.7; }

/* ── 19. PROCESS STEPS ───────────────────────────────────── */
.process-section { background: var(--c-bg-alt); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-step {
  position: relative;
  padding: 2.5rem 1.75rem;
  text-align: center;
}
.process-step-icon {
  width: 60px; height: 60px;
  background: var(--c-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  margin: 0 auto 1rem;
  border: 2px solid rgba(94,23,46,.12);
  position: relative;
  z-index: 1;
}
.process-step-num {
  font-family: var(--f-display);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--c-primary);
  opacity: .5;
  margin-bottom: .6rem;
  text-transform: uppercase;
}
.process-step-title { margin-bottom: .65rem; font-size: 1.15rem; }
.process-step-desc  { color: var(--c-muted); font-size: .9rem; line-height: 1.7; }
.process-connector {
  position: absolute;
  top: calc(2.5rem + 30px); /* vertically centred on icon */
  right: -1px;
  width: calc(100% - 60px - 1.75rem);
  left: calc(30px + 1.75rem);
  height: 1px;
  background: linear-gradient(to right, var(--c-primary), rgba(94,23,46,.2));
}

/* ── 20. CONTACT ─────────────────────────────────────────── */
.contact-section { background: var(--c-white); }
.contact-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 5rem;
  align-items: start;
}
.contact-form-title { margin-bottom: 2rem; }
.form-row { display: grid; gap: 1.25rem; }
.form-row--2 { grid-template-columns: 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.25rem; }
.form-group label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--c-text);
}
.form-group label span { color: var(--c-primary); }
.form-group input,
.form-group textarea {
  padding: .85rem 1.1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--c-text);
  background: var(--c-bg);
  transition: border-color var(--trans), box-shadow var(--trans);
  resize: vertical;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-light);
  background: var(--c-white);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #aaa; }
.form-group input.error,
.form-group textarea.error { border-color: #c0392b; }

.form-submit-row { margin-top: .5rem; }
.btn-spinner { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-feedback {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 500;
}
.form-feedback.success {
  background: rgba(39,174,96,.1);
  color: #1e8449;
  border: 1px solid rgba(39,174,96,.25);
}
.form-feedback.error {
  background: rgba(192,57,43,.08);
  color: #c0392b;
  border: 1px solid rgba(192,57,43,.2);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  padding-top: .5rem;
}
.contact-detail-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.contact-detail-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  background: var(--c-primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  margin-top: .15rem;
}
.contact-detail-item h3 { font-size: 1rem; margin-bottom: .4rem; }
.contact-detail-item p  { color: var(--c-muted); font-size: .9375rem; }
.contact-detail-item a  { display: block; color: var(--c-muted); font-size: .9375rem; }
.contact-detail-item a:hover { color: var(--c-primary); }
.contact-hours {
  display: block;
  font-size: .8125rem;
  color: var(--c-muted);
  margin-top: .25rem;
}

/* ── 21. FOOTER ──────────────────────────────────────────── */
.site-footer {
  background: var(--c-text);
  color: rgba(255,255,255,.8);
  padding: 5rem 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo img,
.footer-brand .custom-logo,
.footer-brand .aikihub-logo-fallback img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1.25rem;
}
.footer-tagline { font-size: .9375rem; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 1.5rem; }

.footer-social { display: flex; gap: .75rem; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: all var(--trans);
}
.social-link:hover { background: var(--c-primary); color: var(--c-white); transform: translateY(-2px); }

.footer-col-title {
  font-family: var(--f-display);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: .65rem; }
.footer-links li a,
.footer-links li { font-size: .9375rem; color: rgba(255,255,255,.55); transition: color var(--trans); }
.footer-links li a:hover { color: var(--c-white); }

.footer-contact-list li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .9rem;
  line-height: 1.55;
}
.footer-contact-list li svg { flex-shrink: 0; margin-top: 3px; opacity: .6; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  gap: 1rem;
  font-size: .875rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
}
.footer-bottom-links { display: flex; gap: .75rem; align-items: center; }
.footer-bottom-links a { color: rgba(255,255,255,.35); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }
.footer-bottom-links span { opacity: .4; }

/* ── 22. RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .why-inner     { grid-template-columns: 1fr; gap: 3.5rem; }
  .story-inner   { grid-template-columns: 1fr; gap: 3rem; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-connector { display: none; }
  .footer-top    { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  :root { --section-py: 70px; }

  /* Hamburger nav */
  .nav-hamburger { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--c-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--c-border);
    box-shadow: 0 8px 24px rgba(0,0,0,.09);
  }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: .5rem; width: 100%; }
  .nav-links li a { font-size: 1.05rem; padding: .5rem 0; }
  .nav-cta { width: 100%; justify-content: center; }

  /* Hero */
  .hero-content { max-width: 100%; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Grids */
  .cards-grid--4,
  .cards-grid--3,
  .values-grid,
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-banner-inner .btn { width: 100%; justify-content: center; }
  .form-row--2 { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Process */
  .process-step { padding: 2rem 1.25rem; }
}

@media (max-width: 480px) {
  :root { --pad: 1rem; }
  .hero-headline { font-size: 2.25rem; }
  .btn { padding: .8rem 1.5rem; }
}

/* ── 23. GLASSMORPHISM & GLOW ENHANCEMENTS ──────────────── */

/* Particles canvas fills its container */
#particles-js {
  pointer-events: none; /* Don't block hero CTA clicks */
}
#particles-js canvas {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
}

/* Glass cards */
.card {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.6);
}
.card:hover {
  box-shadow: var(--shadow-hover), 0 0 32px rgba(94,23,46,.07);
  border-color: rgba(94,23,46,.15);
}

.service-card {
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.55);
}
.service-card:hover {
  box-shadow: var(--shadow-hover), 0 0 28px rgba(94,23,46,.09);
}

.team-card {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.value-card {
  background: rgba(244,242,240,.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.5);
}

/* Hero headline — gradient italic accent */
.hero-headline em {
  background: linear-gradient(120deg, #5e172e 0%, #b03060 55%, #5e172e 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientSlide 5s ease-in-out infinite;
}
@keyframes gradientSlide {
  0%,100% { background-position: 0% center; }
  50%      { background-position: 100% center; }
}

/* Enhanced navbar glass */
.site-header {
  background: rgba(250,250,249,.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(229,229,229,.45);
}
.site-header.scrolled {
  background: rgba(250,250,249,.94);
  box-shadow: 0 2px 24px rgba(0,0,0,.08);
}

/* Animated CTA banner gradient */
.cta-banner {
  background: linear-gradient(135deg, #4a0f23 0%, #5e172e 40%, #7a1f3d 70%, #4a0f23 100%);
  background-size: 300% 300%;
  animation: ctaGradient 7s ease infinite;
}
@keyframes ctaGradient {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Stat card lift on hover */
.stat-card {
  transition: transform var(--trans), box-shadow var(--trans);
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover), 0 0 24px rgba(94,23,46,.1);
}

/* Process step icon — glow on step hover */
.process-step-icon {
  transition: background var(--trans), color var(--trans), box-shadow var(--trans);
}
.process-step:hover .process-step-icon {
  background: var(--c-primary);
  color: var(--c-white);
  box-shadow: 0 0 22px rgba(94,23,46,.35);
}

/* Primary button glow */
.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(94,23,46,.35), var(--shadow-btn);
}

/* Hero background — very subtle warm radial pulse */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(94,23,46,.04) 0%, transparent 70%);
  pointer-events: none;
  animation: heroPulse 8s ease-in-out infinite;
}
@keyframes heroPulse {
  0%,100% { opacity: .6; transform: scale(1); }
  50%      { opacity: 1;  transform: scale(1.05); }
}

/* ── 25. NEW PAGE COMPONENTS ─────────────────────────────── */

/* 5-col focus grid on home */
.focus-grid { grid-template-columns: repeat(5, 1fr); }

/* Product badge */
.product-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .75rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.badge-live  { background: rgba(39,174,96,.12); color: #1e8449; }
.badge-soon  { background: rgba(94,23,46,.1);   color: var(--c-primary); }

/* Product card top (icon + badge row) */
.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.product-card .card-icon { margin-bottom: 0; }

/* Mission strip */
.mission-strip {
  background: var(--c-bg-alt);
  padding: 5rem 0;
  text-align: center;
}
.mission-text {
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 600;
  color: var(--c-text);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.65;
  font-style: italic;
}

/* Approach pillars (About page) */
.approach-section { background: var(--c-bg-alt); }
.approach-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}
.approach-pillar {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 100px;
  padding: .85rem 1.5rem;
  transition: all var(--trans);
  box-shadow: var(--shadow);
}
.approach-pillar:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.pillar-num {
  font-family: var(--f-display);
  font-size: .7rem;
  font-weight: 800;
  color: var(--c-primary);
  opacity: .6;
}
.pillar-label {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--c-text);
}

/* Name section (About page) */
.name-section { background: var(--c-white); }
.name-inner {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  max-width: 800px;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--radius-lg);
  padding: 3rem;
}
.name-icon {
  flex-shrink: 0;
  width: 64px; height: 64px;
  background: var(--c-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
}
.name-content h2 { margin: .5rem 0 1rem; }
.name-quote {
  font-size: 1.05rem;
  color: var(--c-muted);
  line-height: 1.75;
  font-style: italic;
}
.name-quote strong { color: var(--c-primary); font-style: normal; }

/* Mission & Vision 2-col grid */
.values-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Products detail page */
.products-detail-section { background: var(--c-white); }
.product-detail-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 3rem;
  padding: 3rem;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  transition: box-shadow var(--trans), border-color var(--trans);
}
.product-detail-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(94,23,46,.18);
}
.product-detail-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding-top: .5rem;
}
.product-detail-icon {
  width: 72px; height: 72px;
  background: var(--c-primary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
}
.product-badge--lg { padding: .4rem 1rem; font-size: .8125rem; }
.product-detail-name    { font-size: 2rem; margin-bottom: .5rem; }
.product-detail-tagline { color: var(--c-primary); font-weight: 600; font-size: 1.05rem; margin-bottom: 1.25rem; }
.product-detail-desc    { color: var(--c-muted); font-size: .9375rem; line-height: 1.75; margin-bottom: 1.5rem; }
.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
}
.product-features li {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--c-muted);
}
.product-features li svg { color: var(--c-primary); flex-shrink: 0; }

/* Select dropdown */
.select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.select-wrap select {
  width: 100%;
  padding: .85rem 2.5rem .85rem 1.1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--trans), box-shadow var(--trans);
  cursor: pointer;
}
.select-wrap select:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-light);
}
.select-arrow {
  position: absolute;
  right: 1rem;
  pointer-events: none;
  color: var(--c-muted);
}
.form-optional { font-weight: 400; color: var(--c-muted); font-size: .8125rem; }

/* Responsive additions */
@media (max-width: 1200px) {
  .focus-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .product-detail-card { grid-template-columns: 1fr; gap: 2rem; }
  .product-detail-left { flex-direction: row; align-items: center; }
  .values-grid--2 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .name-inner { flex-direction: column; gap: 1.5rem; }
  .approach-pillars { gap: .75rem; }
}
@media (max-width: 480px) {
  .focus-grid { grid-template-columns: 1fr; }
}



/* ── 13. ERROR 404 ───────────────────────────────────────── */
.error-404-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem;
}
.error-404-num {
  font-family: var(--f-display);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 800;
  color: var(--c-primary);
  opacity: .12;
  line-height: 1;
  margin-bottom: -2rem;
}
.error-404-inner h1 { margin-bottom: 1rem; }
.error-404-inner p  { color: var(--c-muted); margin-bottom: 2.5rem; }
.error-404-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }


/* ── DARK HERO (home page) ───────────────────────────────── */
.hero--dark {
  background: #0d0d0d;
}
/* Particles canvas fills the hero and receives its own canvas via JS */
.hero--dark #particles-js {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
/* Lift content above canvas */
.hero--dark .hero-content { z-index: 2; }

/* White text on dark hero */
.hero--dark .hero-eyebrow {
  color: var(--c-primary);
  background: rgba(94,23,46,.15);
  border: 1px solid rgba(94,23,46,.3);
  padding: .375rem 1rem;
  border-radius: 100px;
}
.hero--dark .hero-headline { color: #ffffff; }
.hero--dark .hero-headline em { color: var(--c-primary); }
.hero--dark .hero-sub { color: rgba(255,255,255,.62); }

/* Ghost button variant for dark backgrounds */
.btn-ghost--white {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,.35);
}
.btn-ghost--white:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(255,255,255,.06);
}

/* Scroll hint on dark */
.hero--dark .hero-scroll-hint { color: rgba(255,255,255,.35); }
.hero--dark .scroll-line {
  background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent);
}

/* Products section — dark background like Elementor template */
.products-section {
  background: #0d0d0d;
}
.products-section .section-eyebrow { color: var(--c-primary); }
.products-section .section-header h2,
.products-section .section-sub { color: rgba(255,255,255,.9); }
.products-section .section-sub { color: rgba(255,255,255,.55); }
.products-section .card {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
}
.products-section .card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(94,23,46,.4);
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
}
.products-section .card-title { color: #ffffff; }
.products-section .card-text  { color: rgba(255,255,255,.5); }
.products-section .card-link  { color: var(--c-primary); }
.products-section .card-icon  { background: rgba(94,23,46,.2); }

/* Badge colours */
.badge-live {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #22c55e;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.25);
  padding: .3rem .75rem;
  border-radius: 100px;
}
.badge-soon {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-primary);
  background: rgba(94,23,46,.1);
  border: 1px solid rgba(94,23,46,.28);
  padding: .3rem .75rem;
  border-radius: 100px;
}
.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

/* Mission strip upgrade — gradient */
.mission-strip {
  background: linear-gradient(135deg, #4a0f23, var(--c-primary) 40%, #7a1f3d);
  padding: 5.5rem 0;
}
.mission-text {
  font-family: var(--f-display);
  font-size: clamp(1.2rem, 2.2vw, 1.9rem);
  font-weight: 600;
  font-style: italic;
  color: rgba(255,255,255,.9);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Responsive: dark hero on small screens */
@media (max-width: 768px) {
  .hero--dark .hero-eyebrow { font-size: .75rem; }
  .products-section .card { border-radius: var(--radius); }
}
