/* ==========================================================================
   Uplift Support Services — Stylesheet
   ========================================================================== */

/* -------------------- Design Tokens -------------------- */
:root {
  --purple-900: #2A1A45;
  --purple-800: #35205A;
  --purple-700: #4B2E83;
  --purple-600: #5B3696;
  --purple-500: #7248A8;
  --teal-800: #0B5658;
  --teal-700: #0F6E70;
  --teal-600: #128C8C;
  --teal-500: #17A5A5;
  --teal-300: #5FC9C9;
  --gradient-brand: linear-gradient(135deg, var(--purple-700) 0%, var(--teal-600) 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(75,46,131,0.08) 0%, rgba(18,140,140,0.08) 100%);
  --gradient-text: linear-gradient(90deg, var(--purple-700), var(--teal-600));

  --bg-body: #FFFFFF;
  --bg-alt: #F6F4FB;
  --bg-alt-2: #F0F9F9;
  --bg-dark: #211334;

  --text-dark: #1F1830;
  --text-muted: #5C5670;
  --text-on-dark: #EDE9F7;
  --text-on-dark-muted: #B8AFD1;

  --border-light: #E7E2F2;
  --star: #FFB100;

  --shadow-sm: 0 2px 8px rgba(42, 26, 69, 0.06);
  --shadow-md: 0 8px 24px rgba(42, 26, 69, 0.10);
  --shadow-lg: 0 20px 50px rgba(42, 26, 69, 0.16);
  --shadow-glow: 0 10px 30px rgba(18, 140, 140, 0.25);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --container: 1200px;
  --header-h: 88px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------------------- Reset -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, svg { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { text-decoration: none; color: inherit; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--purple-900);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.3rem; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* -------------------- Accessibility -------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--purple-700);
  color: #fff;
  padding: 12px 20px;
  z-index: 10000;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
  position: relative;
}
.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 34px rgba(18,140,140,0.35); }
.btn-primary:active { transform: translateY(-1px) scale(0.99); }

.btn-outline {
  background: transparent;
  border-color: var(--purple-700);
  color: var(--purple-700);
}
.btn-outline:hover { background: var(--purple-700); color: #fff; transform: translateY(-3px); }

.btn-light {
  background: #fff;
  color: var(--purple-700);
}
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }

.btn svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

/* -------------------- Top Utility Bar -------------------- */
.topbar {
  background: var(--purple-900);
  color: var(--text-on-dark-muted);
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 9px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; transition: color 0.25s; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; }
.topbar-badge {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--teal-300); font-weight: 600;
}
.topbar-social { display: flex; gap: 12px; }
.topbar-social a {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  align-items: center; justify-content: center;
}
.topbar-social a:hover { background: var(--teal-600); }
.topbar-social svg { width: 13px; height: 13px; }

/* -------------------- Header -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.35s var(--ease), padding 0.35s var(--ease), border-color 0.35s var(--ease);
}
/* backdrop-filter lives on a pseudo-element (not .site-header itself) so it
   doesn't become the containing block for the fixed-position mobile nav panel */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
  border-color: var(--border-light);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
  transition: padding 0.35s var(--ease);
}
.is-scrolled .header-inner { padding-block: 10px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 52px; height: 52px; flex-shrink: 0; transition: transform 0.4s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.28rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-tagline {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 3px;
}

.main-nav { display: flex; align-items: center; gap: 36px; }
.nav-list { display: flex; align-items: center; gap: 30px; }
.nav-list a {
  position: relative;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text-dark);
  padding: 8px 2px;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 3px; width: 0;
  border-radius: 3px;
  background: var(--gradient-brand);
  transition: width 0.3s var(--ease);
}
.nav-list a:hover::after, .nav-list a.active::after { width: 100%; }
.nav-list a.active { color: var(--purple-700); }

.header-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 10px;
  z-index: 1001;
}
.nav-toggle span {
  width: 26px; height: 3px;
  border-radius: 3px;
  background: var(--purple-800);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 90px 110px;
  background: var(--bg-alt);
  isolation: isolate;
}
.hero-shapes { position: absolute; inset: 0; z-index: -1; }
.hero-shapes span {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.35;
  animation: float 9s ease-in-out infinite;
}
.hero-shapes span:nth-child(1) { width: 220px; height: 220px; background: var(--teal-500); top: -60px; right: 8%; animation-delay: 0s; }
.hero-shapes span:nth-child(2) { width: 140px; height: 140px; background: var(--purple-500); bottom: 10%; right: 20%; animation-delay: 1.2s; }
.hero-shapes span:nth-child(3) { width: 90px; height: 90px; background: var(--teal-300); top: 30%; left: 6%; animation-delay: 2.4s; }
.hero-shapes span:nth-child(4) { width: 60px; height: 60px; background: var(--purple-700); top: 12%; left: 30%; animation-delay: 0.6s; opacity: 0.25; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); }
  50% { transform: translateY(-30px) translateX(14px) scale(1.06); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border-light);
  padding: 8px 16px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.82rem; color: var(--purple-700);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100%{ opacity:1; transform:scale(1);} 50%{opacity:.4; transform:scale(1.3);} }

.hero h1 { margin-bottom: 22px; }
.hero-lead { font-size: 1.15rem; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-trust { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.88rem; color: var(--text-dark); }
.hero-trust-item svg { width: 20px; height: 20px; color: var(--teal-600); }

.hero-visual { position: relative; }
.hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  position: relative;
  animation: floatCard 6s ease-in-out infinite;
}
.hero-card img, .hero-card video { border-radius: calc(var(--radius-lg) - 10px); width: 100%; aspect-ratio: 4/3.1; object-fit: cover; display: block; }
@keyframes floatCard { 0%,100%{transform: translateY(0);} 50%{transform: translateY(-14px);} }

.hero-floating-stat {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
  animation: floatCard 7s ease-in-out infinite;
}
.hero-floating-stat.stat-a { top: -26px; left: -30px; animation-delay: 0.4s; }
.hero-floating-stat.stat-b { bottom: -22px; right: -24px; animation-delay: 1.1s; }
.hero-floating-stat .icon-badge { background: var(--gradient-brand); color: #fff; }
.hero-floating-stat strong { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--purple-900); }
.hero-floating-stat span { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; }

.icon-badge {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-badge svg { width: 22px; height: 22px; }

/* -------------------- Sections -------------------- */
.section { padding-block: 100px; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--text-on-dark-muted); }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-700);
  background: var(--bg-alt-2);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.section-dark .eyebrow { background: rgba(255,255,255,0.08); color: var(--teal-300); }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1.is-visible { transition-delay: 0.1s; }
.reveal-delay-2.is-visible { transition-delay: 0.2s; }
.reveal-delay-3.is-visible { transition-delay: 0.3s; }
.reveal-delay-4.is-visible { transition-delay: 0.4s; }

/* -------------------- Trust / Logos strip -------------------- */
.trust-strip { padding-block: 40px; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.trust-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--purple-800); font-size: 0.95rem; }
.trust-item svg { width: 26px; height: 26px; color: var(--teal-600); }

/* -------------------- About snippet / split -------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.split-media-badge {
  position: absolute; bottom: -24px; left: -24px;
  background: var(--gradient-brand); color: #fff;
  border-radius: var(--radius-md);
  padding: 20px 26px; box-shadow: var(--shadow-glow);
  text-align: center;
}
.split-media-badge strong { display: block; font-family: var(--font-head); font-size: 2rem; }
.split-media-badge span { font-size: 0.78rem; font-weight: 600; opacity: 0.9; }

.value-list { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-item .icon-badge { background: var(--gradient-brand-soft); }
.value-item .icon-badge svg { color: var(--teal-700); }
.value-item h4 { font-size: 1.05rem; margin-bottom: 4px; }
.value-item p { font-size: 0.94rem; margin: 0; }

/* -------------------- Stats counters -------------------- */
.stats-band { background: var(--gradient-brand); color: #fff; padding-block: 60px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-num { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; }
.stat-label { font-size: 0.9rem; opacity: 0.9; font-weight: 600; margin-top: 6px; }

/* -------------------- Service Cards -------------------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: 0;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.service-card .icon-badge { background: var(--gradient-brand-soft); margin-bottom: 20px; }
.service-card .icon-badge svg { color: var(--teal-700); transition: color 0.4s var(--ease); }
.service-card:hover .icon-badge { background: rgba(255,255,255,0.18); }
.service-card:hover .icon-badge svg { color: #fff; }
.service-card h3 { margin-bottom: 10px; transition: color 0.4s var(--ease); }
.service-card:hover h3 { color: #fff; }
.service-card p { transition: color 0.4s var(--ease); font-size: 0.95rem; }
.service-card:hover p { color: rgba(255,255,255,0.92); }
.service-card .card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 0.88rem; margin-top: 18px;
  color: var(--purple-700);
}
.service-card:hover .card-link { color: #fff; }
.service-card .card-link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.service-card:hover .card-link svg { transform: translateX(4px); }

.services-cta-row { text-align: center; margin-top: 50px; }

/* -------------------- Service categories (services page) -------------------- */
.cat-tabs {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 50px;
}
.cat-tab {
  padding: 11px 22px; border-radius: var(--radius-pill);
  border: 2px solid var(--border-light);
  font-weight: 600; font-size: 0.9rem;
  background: #fff; color: var(--text-dark);
  transition: all 0.3s var(--ease);
}
.cat-tab:hover { border-color: var(--teal-500); color: var(--teal-700); }
.cat-tab.is-active { background: var(--gradient-brand); border-color: transparent; color: #fff; }

.service-detail {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 26px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-light);
  scroll-margin-top: 120px;
}
.service-detail:last-child { border-bottom: none; }
.service-detail .icon-badge { width: 68px; height: 68px; border-radius: 18px; background: var(--gradient-brand-soft); }
.service-detail .icon-badge svg { width: 32px; height: 32px; color: var(--teal-700); }
.service-detail h3 { font-size: 1.5rem; margin-bottom: 10px; }
.service-detail p { margin-bottom: 16px; }
.service-detail-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 30px; }
.service-detail-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.94rem; color: var(--text-dark);
}
.service-detail-list svg { width: 18px; height: 18px; color: var(--teal-600); flex-shrink: 0; margin-top: 3px; }
.service-detail-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--purple-700); background: var(--bg-alt-2);
  padding: 4px 12px; border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

/* -------------------- Process timeline -------------------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.timeline::before {
  content: ""; position: absolute; top: 34px; left: 10%; right: 10%; height: 3px;
  background: var(--gradient-brand); opacity: 0.25; z-index: 0;
}
.timeline-step { position: relative; text-align: center; z-index: 1; }
.timeline-num {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--gradient-brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  margin: 0 auto 20px; box-shadow: var(--shadow-glow);
  transition: transform 0.4s var(--ease);
}
.timeline-step:hover .timeline-num { transform: scale(1.1) rotate(-6deg); }
.timeline-step h4 { margin-bottom: 8px; font-size: 1.05rem; }
.timeline-step p { font-size: 0.9rem; }

/* -------------------- Testimonials -------------------- */
.testimonial-track-wrap { position: relative; max-width: 780px; margin: 0 auto; }
.testimonial-track { overflow: hidden; }
.testimonial-slides { display: flex; transition: transform 0.6s var(--ease); }
.testimonial-slide { flex: 0 0 100%; padding: 6px; }
.testimonial-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 44px 40px; box-shadow: var(--shadow-md);
  text-align: center;
}
.stars { color: var(--star); display: flex; justify-content: center; gap: 4px; margin-bottom: 20px; }
.stars svg { width: 20px; height: 20px; }
.testimonial-quote { font-size: 1.15rem; color: var(--text-dark); font-style: italic; margin-bottom: 26px; }
.testimonial-person { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testimonial-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--gradient-brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700;
}
.testimonial-name { font-weight: 700; color: var(--purple-900); text-align: left; }
.testimonial-role { font-size: 0.82rem; color: var(--text-muted); text-align: left; }

.testimonial-nav { display: flex; justify-content: center; gap: 14px; margin-top: 32px; align-items: center; }
.testimonial-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--border-light); background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease);
}
.testimonial-arrow:hover { background: var(--gradient-brand); border-color: transparent; color: #fff; }
.testimonial-arrow svg { width: 18px; height: 18px; }
.testimonial-dots { display: flex; gap: 8px; }
.testimonial-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border-light); border: none; padding: 0;
  transition: all 0.3s var(--ease);
}
.testimonial-dots button.is-active { background: var(--gradient-brand); width: 26px; border-radius: var(--radius-pill); }

/* -------------------- FAQ -------------------- */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: #fff; border: 1px solid var(--border-light);
  border-radius: var(--radius-md); overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq-item.is-open { border-color: var(--teal-500); box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px 26px; background: none; border: none; text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--purple-900);
}
.faq-icon {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg-alt-2); color: var(--teal-700);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}
.faq-item.is-open .faq-icon { background: var(--gradient-brand); color: #fff; transform: rotate(135deg); }
.faq-icon svg { width: 16px; height: 16px; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-answer-inner { padding: 0 26px 24px; font-size: 0.96rem; }

/* -------------------- CTA Banner -------------------- */
.cta-banner {
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  padding: 60px 50px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,0.08); top: -140px; right: -80px;
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.85); }
.cta-banner.has-photo {
  background-image: linear-gradient(115deg, rgba(42,26,69,0.92) 20%, rgba(15,110,112,0.82) 100%), var(--cta-photo);
  background-size: cover;
  background-position: center;
}
.cta-banner-content { position: relative; z-index: 1; max-width: 560px; }
.cta-banner-actions { position: relative; z-index: 1; display: flex; gap: 14px; flex-wrap: wrap; }

/* -------------------- Forms -------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 600; font-size: 0.9rem; color: var(--purple-900); }
.form-group label .req { color: var(--teal-600); }
.form-group input, .form-group select, .form-group textarea {
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 0.96rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  background: #fff;
  width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(23,165,165,0.15);
  outline: none;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--text-muted); }
.form-status {
  padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.92rem;
  display: none; margin-top: 18px;
}
.form-status.is-success { display: block; background: #E4F8F0; color: #0E7A4E; }
.form-status.is-error { display: block; background: #FCE9E9; color: #B23A3A; }

/* -------------------- Contact info cards -------------------- */
.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-info-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-md);
  padding: 30px; text-align: center; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.contact-info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.contact-info-card .icon-badge { margin: 0 auto 18px; background: var(--gradient-brand-soft); }
.contact-info-card .icon-badge svg { color: var(--teal-700); }
.contact-info-card h4 { margin-bottom: 8px; }
.contact-info-card a, .contact-info-card p { font-size: 0.95rem; }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

/* -------------------- Team -------------------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card { text-align: center; }
.team-photo {
  border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1/1;
  background: var(--gradient-brand-soft); margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: box-shadow 0.35s var(--ease), transform .35s var(--ease);
}
.team-card:hover .team-photo { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-photo svg { width: 46%; height: 46%; color: var(--purple-500); opacity: 0.5; }
.team-card h4 { margin-bottom: 3px; }
.team-role { font-size: 0.85rem; font-weight: 600; color: var(--teal-700); }

/* -------------------- Badges / certifications -------------------- */
.badge-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; }
.badge-item { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; width: 150px; }
.badge-item .icon-badge { width: 64px; height: 64px; border-radius: 50%; background: var(--gradient-brand-soft); }
.badge-item .icon-badge svg { width: 30px; height: 30px; color: var(--teal-700); }
.badge-item span { font-size: 0.85rem; font-weight: 700; color: var(--purple-900); }

/* -------------------- Footer -------------------- */
.site-footer { background: var(--bg-dark); color: var(--text-on-dark-muted); padding-top: 80px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px;
  padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand-name { color: #fff; -webkit-text-fill-color: initial; background: none; }
.footer-brand p { margin-top: 16px; font-size: 0.92rem; max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; transition: all 0.3s var(--ease);
}
.footer-social a:hover { background: var(--gradient-brand); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; color: #fff; }

.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.92rem; transition: color 0.25s, padding-left 0.25s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--teal-400, var(--teal-300)); flex-shrink: 0; margin-top: 2px; }

.newsletter-form { display: flex; margin-top: 16px; border-radius: var(--radius-pill); overflow: hidden; background: rgba(255,255,255,0.08); padding: 4px; }
.newsletter-form input {
  flex: 1; background: none; border: none; padding: 10px 16px; color: #fff; font-size: 0.9rem;
}
.newsletter-form input::placeholder { color: var(--text-on-dark-muted); }
.newsletter-form button {
  background: var(--gradient-brand); color: #fff; border: none; border-radius: var(--radius-pill);
  padding: 10px 18px; font-weight: 700; font-size: 0.85rem; flex-shrink: 0;
}

.footer-bottom { padding-block: 26px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a:hover { color: #fff; }

/* -------------------- Back to top -------------------- */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--gradient-brand); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.35s var(--ease);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }
.back-to-top svg { width: 22px; height: 22px; }

/* -------------------- Floating call button (mobile) -------------------- */
.float-call {
  position: fixed; bottom: 28px; left: 28px; z-index: 900;
  background: var(--gradient-brand); color: #fff;
  width: 56px; height: 56px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow);
  animation: ringPulse 2.4s infinite;
}
.float-call svg { width: 24px; height: 24px; }
@keyframes ringPulse {
  0% { box-shadow: 0 0 0 0 rgba(18,140,140,0.5), var(--shadow-glow); }
  70% { box-shadow: 0 0 0 16px rgba(18,140,140,0), var(--shadow-glow); }
  100% { box-shadow: 0 0 0 0 rgba(18,140,140,0), var(--shadow-glow); }
}

/* -------------------- Breadcrumb / page header -------------------- */
.page-header {
  background: var(--bg-alt);
  padding-block: 70px 60px;
  position: relative;
  overflow: hidden;
}
.page-header .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; color: var(--text-muted); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--purple-700); }
.breadcrumb svg { width: 14px; height: 14px; }
.page-header h1 { margin-bottom: 14px; }
.page-header p { max-width: 640px; font-size: 1.05rem; }

.page-header-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: center; }
.page-header-media { position: relative; }
.page-header-media img {
  width: 100%; aspect-ratio: 4/3.2; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}

/* -------------------- 404 -------------------- */
.error-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding-block: 100px; }
.error-code {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(5rem, 14vw, 9rem);
  background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}

/* -------------------- Utility -------------------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* -------------------- Responsive -------------------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; margin-inline: auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
}

@media (max-width: 860px) {
  .topbar-left .topbar-item-hide { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw);
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 100px 30px 40px; gap: 30px;
    transform: translateX(100%); transition: transform 0.4s var(--ease);
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 22px; }
  .header-cta { flex-direction: column; align-items: stretch; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-media { order: -1; }
  .page-header-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-header-media { order: -1; }
  .timeline { grid-template-columns: 1fr; gap: 46px; }
  .timeline::before { display: none; }
  .cta-banner { flex-direction: column; text-align: center; }
  .cta-banner-content { max-width: 100%; }
  .form-grid, .contact-info-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail-list { grid-template-columns: 1fr; }
  .float-call { display: flex; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .section { padding-block: 66px; }
  .hero { padding-block: 60px 70px; }
  .cta-banner { padding: 40px 26px; }
  .back-to-top { bottom: 20px; right: 20px; }
  .float-call { bottom: 20px; left: 20px; }
}

/* -------------------- Legal documents (Privacy / Terms / Complaints) -------------------- */
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 60px; align-items: start; }
.legal-toc {
  position: sticky; top: 120px;
  background: var(--bg-alt); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 26px;
}
.legal-toc h4 { font-size: 0.95rem; margin-bottom: 14px; }
.legal-toc ol { counter-reset: toc; display: flex; flex-direction: column; gap: 4px; }
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: flex; gap: 8px; font-size: 0.88rem; color: var(--text-muted);
  padding: 7px 0; transition: color 0.25s;
}
.legal-toc a::before { content: counter(toc) "."; font-weight: 700; color: var(--teal-600); flex-shrink: 0; }
.legal-toc a:hover { color: var(--purple-700); }
.legal-updated {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600; color: var(--teal-700);
  background: var(--bg-alt-2); padding: 7px 16px; border-radius: var(--radius-pill);
  margin-bottom: 30px;
}
.legal-updated svg { width: 16px; height: 16px; }
.legal-content h2 {
  font-size: 1.4rem; margin-top: 46px; margin-bottom: 16px;
  padding-top: 10px; scroll-margin-top: 120px;
  border-top: 1px solid var(--border-light);
}
.legal-content section:first-of-type h2 { border-top: none; margin-top: 0; padding-top: 0; }
.legal-content h3 { font-size: 1.08rem; margin-top: 24px; margin-bottom: 10px; color: var(--purple-800); }
.legal-content p { margin-bottom: 14px; font-size: 0.98rem; }
.legal-content ul, .legal-content ol.legal-list { margin: 0 0 16px; padding-left: 22px; }
.legal-content ul { list-style: disc; }
.legal-content ol.legal-list { list-style: decimal; }
.legal-content li { margin-bottom: 8px; font-size: 0.98rem; color: var(--text-muted); }
.legal-content strong { color: var(--purple-900); }
.legal-content a.inline-link { color: var(--teal-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal-callout {
  background: var(--bg-alt-2); border-left: 4px solid var(--teal-500);
  border-radius: var(--radius-sm); padding: 18px 22px; margin: 20px 0 26px;
}
.legal-callout p { margin-bottom: 0; font-size: 0.94rem; }
.legal-callout.warn { background: #FFF6E9; border-left-color: #E8A317; }
.legal-contact-box {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-md);
  padding: 26px; margin-top: 10px;
}
.legal-contact-box ul { padding-left: 0; list-style: none; }
.legal-contact-box li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; margin-bottom: 10px; }
.legal-contact-box svg { width: 18px; height: 18px; color: var(--teal-600); flex-shrink: 0; margin-top: 2px; }

@media (max-width: 960px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}
