﻿
/* === Modern Design System — App360 (NEXORA Brand) === */
:root {
  --c-blue:   #E8571C;
  --c-violet: #F7A820;
  --c-text:   #1a2744;
  --c-muted:  #64748b;
  --c-border: rgba(26,39,68,0.08);
  --c-bg:     #f5f3ef;
  --c-dark:   #0d1626;
  --grad:     linear-gradient(135deg, #E8571C 0%, #F7A820 100%);
  --s-xs:     0 1px 4px rgba(0,0,0,0.05);
  --s-sm:     0 2px 14px rgba(0,0,0,0.07);
  --s-md:     0 8px 32px rgba(0,0,0,0.10);
  --s-lg:     0 24px 64px rgba(0,0,0,0.13);
  --s-blue:   0 8px 30px rgba(232,87,28,0.28);
  --r:        20px;
  --r-sm:     12px;
}

/* --- Global --- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Fixed Glassmorphism Navbar --- */
header.wrapper.bg-soft-primary {
  background: transparent !important;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100% !important;
  z-index: 1050;
}
/* Push page content below the fixed header */
.content-wrapper {
  padding-top: 72px;
}
/* Hide Headhesive clone — original header is always fixed */
.navbar-clone {
  display: none !important;
}
nav.navbar {
  background: rgba(255,255,255,0.96) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--c-border) !important;
  box-shadow: 0 1px 16px rgba(0,0,0,0.05) !important;
  padding: 0.4rem 0 !important;
}
.navbar .nav-link {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  color: var(--c-text) !important;
  transition: color 0.18s ease !important;
  padding-top: 0.55rem !important;
  padding-bottom: 0.55rem !important;
}
.navbar .nav-link:hover,
.navbar .nav-link.show { color: var(--c-blue) !important; }
/* Active dropdown caret color */
.navbar .nav-link.dropdown-toggle.show::after { border-top-color: var(--c-blue) !important; }

/* --- Hero --- */
#hero-section {
  background-color: transparent !important;
  background-image: none !important;
  position: relative;
  overflow: visible;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
/* Soft warm/cool wash behind the hero */
#hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(42% 55% at 82% 26%, rgba(247,168,32,0.13) 0%, transparent 70%),
    radial-gradient(34% 46% at 97% 80%, rgba(232,87,28,0.07) 0%, transparent 70%),
    radial-gradient(40% 50% at 6% 94%, rgba(26,39,68,0.05) 0%, transparent 70%);
  pointer-events: none;
}
/* Hero text column — staggered entrance, no scroll-cue library needed */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-text-col > * {
  animation: heroFadeUp 0.8s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-text-col > *:nth-child(2) { animation-delay: 0.06s; }
.hero-text-col > *:nth-child(3) { animation-delay: 0.14s; }
.hero-text-col > *:nth-child(4) { animation-delay: 0.22s; }
.hero-text-col > *:nth-child(5) { animation-delay: 0.30s; }
/* Ensure hero text is dark on white background (overrides navy.css light theme) */
#hero-section h1,
#hero-section h2,
#hero-section h3,
#hero-section p,
#hero-section .lead {
  color: #0f172a !important;
}
/* Text column above canvas */
#hero-section > .container { position: relative; z-index: 2; }
#hero-section .display-1 {
  font-size: clamp(2.1rem, 3.6vw, 2.9rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.12 !important;
  color: #0f172a !important;
  min-height: 3.36em; /* fallback — home.js sizes this to the tallest phrase */
  text-wrap: balance;
}
#hero-section p.lead {
  color: #475569 !important;
  font-size: 1.05rem !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  max-width: 26em;
  text-wrap: balance;
}
@media (max-width: 991px) {
  #hero-section .display-1 { min-height: 4.48em; }
}

/* rotating headline — words rise in, then drift out */
@keyframes heroWordIn {
  from { opacity: 0; transform: translateY(0.35em); filter: blur(8px); }
  to   { opacity: 1; transform: translateY(0);      filter: blur(0); }
}
@keyframes heroWordOut {
  from { opacity: 1; transform: translateY(0);       filter: blur(0); }
  to   { opacity: 0; transform: translateY(-0.25em); filter: blur(6px); }
}
.hero-word {
  display: inline-block;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
  opacity: 0;
  animation: heroWordIn 0.7s cubic-bezier(0.22,1,0.36,1) forwards;
  animation-delay: calc(var(--i, 0) * 55ms);
}
#hero-typed.is-leaving .hero-word {
  animation: heroWordOut 0.45s ease forwards;
  animation-delay: calc(var(--i, 0) * 18ms);
}

/* hero badge pill */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
  color: #334155;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 3px rgba(232,87,28,0.12);
}

/* hero product links */
.hero-products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 6px;
}
@media (min-width: 576px) {
  .hero-products { justify-content: flex-start; }
}
.hero-products a {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 0.2s ease;
}
.hero-products a + a::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #cbd5e1;
  margin: 0 0.95em;
  vertical-align: middle;
}
.hero-products a:hover { color: var(--c-blue); }
@media (max-width: 575px) {
  #hero-section p.lead { margin-left: auto; margin-right: auto; }
  .hero-products a { font-size: 0.6rem; letter-spacing: 0.06em; }
  .hero-products a + a::before { margin: 0 0.6em; }
}

/* primary CTA */
#hero-section .btn-blue,
.pg-hero .btn-blue,
.pg-cta .btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.7rem 1.5rem !important;
  font-size: 0.85rem !important;
  box-shadow: 0 1px 2px rgba(232,87,28,0.30), 0 10px 24px -8px rgba(232,87,28,0.45) !important;
}
#hero-section .btn-blue svg,
.pg-hero .btn-blue svg,
.pg-cta .btn-blue svg { transition: transform 0.25s ease; }
#hero-section .btn-blue:hover svg,
.pg-hero .btn-blue:hover svg,
.pg-cta .btn-blue:hover svg { transform: translateX(3px); }

/* secondary CTA link */
.hero-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0f172a;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  background: rgba(255,255,255,0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  box-shadow: 0 1px 2px rgba(15,23,42,0.05);
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.hero-call:hover {
  color: var(--c-blue);
  border-color: rgba(232,87,28,0.45);
  box-shadow: 0 6px 18px -8px rgba(15,23,42,0.18);
}

/* hero line artwork */
.hero-art-stage {
  position: relative;
  max-width: 640px;
  margin-left: auto;
  aspect-ratio: 640 / 500;
}
/* one artwork per headline phrase — home.js moves .is-active with the text */
.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1);
  fill: none;
  stroke: #334155;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-art.is-active { opacity: 1; transform: none; }
/* animations only run while an artwork is on, so each one replays from the start */
.hero-art:not(.is-on) * { animation: none !important; }
.hero-art .la-card { fill: #fff; }
.hero-art .la-fill { fill: var(--c-blue); stroke: none; }
.hero-art text.la-num {
  fill: var(--c-blue);
  stroke: none;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-anchor: middle;
}
.hero-art text.la-ink { fill: #334155; }
.hero-art rect.la-card,
.hero-art path.la-card { filter: drop-shadow(0 18px 30px rgba(15,23,42,0.08)); }
.hero-art .la-acc  { stroke: var(--c-blue); }
.hero-art .la-mute { opacity: 0.28; }
/* gentle drift, each piece on its own rhythm */
@keyframes laFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.hero-art .la-float { animation: laFloat var(--f, 7s) ease-in-out var(--fd, 0s) infinite; }
/* outlines draw themselves on load */
@keyframes laDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.hero-art .la-draw {
  stroke-dasharray: 1;
  animation: laDraw 1.6s cubic-bezier(0.65,0,0.35,1) var(--dd, 0.1s) both;
}
/* data moving along the connectors */
@keyframes laFlow { to { stroke-dashoffset: -20; } }
.hero-art .la-flow { stroke: #cbd5e1; stroke-dasharray: 3 7; animation: laFlow 1.4s linear infinite; }
/* code writes itself, holds, clears, repeats */
@keyframes laCode {
  0%   { stroke-dashoffset: 1; opacity: 1; }
  8%   { stroke-dashoffset: 0; }
  80%  { stroke-dashoffset: 0; opacity: 1; }
  88%  { stroke-dashoffset: 0; opacity: 0; }
  100% { stroke-dashoffset: 1; opacity: 0; }
}
.hero-art .la-code {
  stroke-width: 2.5;
  stroke-dasharray: 1;
  opacity: 0;
  animation: laCode 9s ease-out calc(1.2s + var(--d, 0s)) infinite;
}
.hero-art .la-code:not(.la-acc) { stroke: #cbd5e1; }
@keyframes laBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hero-art .la-caret { stroke-width: 2; animation: laBlink 1s step-end infinite; }
/* chart */
@keyframes laTrend {
  0%, 10% { stroke-dashoffset: 1; opacity: 1; }
  40%, 85% { stroke-dashoffset: 0; opacity: 1; }
  95%, 100% { stroke-dashoffset: 0; opacity: 0; }
}
.hero-art .la-trend { stroke-width: 1.75; stroke-dasharray: 1; animation: laTrend 7s ease-in-out var(--dd, 0s) infinite; }
@keyframes laDot { 0%, 38% { opacity: 0; } 44%, 85% { opacity: 1; } 95%, 100% { opacity: 0; } }
.hero-art .la-dot { fill: var(--c-blue); animation: laDot 7s ease-in-out infinite; }
@keyframes laBar { 0%, 5% { transform: scaleY(0.25); } 30%, 85% { transform: scaleY(1); } 100% { transform: scaleY(0.25); } }
.hero-art .la-bars rect {
  stroke: #cbd5e1;
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: laBar 7s cubic-bezier(0.22,1,0.36,1) var(--d, 0s) infinite;
}
@keyframes laPop { 0%, 42% { transform: scale(0); } 50% { transform: scale(1.15); } 55%, 88% { transform: scale(1); } 96%, 100% { transform: scale(0); } }
.hero-art .la-pop { transform-box: fill-box; transform-origin: center; animation: laPop 7s ease-in-out infinite; }
@keyframes laSpin { to { transform: rotate(360deg); } }
.hero-art .la-spin { animation: laSpin 6s linear infinite; }
@keyframes laWave { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; } }
.hero-art .la-wave { animation: laWave 1.6s ease-in-out infinite; }
.hero-art .la-dotpulse { animation: laWave 1.6s ease-in-out infinite; }
@keyframes laBob { 0%, 100% { transform: translateY(3px); } 50% { transform: translateY(-3px); } }
.hero-art .la-bob { animation: laBob 1.8s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .hero-text-col > *,
  .hero-word,
  #hero-typed.is-leaving .hero-word {
    animation: none;
    opacity: 1;
  }
  .hero-art * { animation: none !important; }
  .hero-art .la-code { opacity: 1; }
}

/* floating animation */
@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

/* hero visual — right side */
.hero-visual {
  position: relative;
  height: 540px;
}
.hero-img-wrap {
  position: absolute;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.13);
}
.hero-img-wrap img {
  width: 100%;
  display: block;
}
.hero-img-a {
  width: 60%;
  top: 10%;
  left: 5%;
  z-index: 2;
  animation: heroFloat 5.5s ease-in-out infinite;
}
.hero-img-b {
  width: 48%;
  top: 0%;
  right: 0%;
  z-index: 3;
  box-shadow: 0 16px 44px rgba(0,0,0,0.10);
  animation: heroFloat 5.5s ease-in-out infinite 1.4s;
}
.hero-img-c {
  width: 48%;
  bottom: 0%;
  right: 3%;
  z-index: 3;
  box-shadow: 0 16px 44px rgba(0,0,0,0.10);
  animation: heroFloat 5.5s ease-in-out infinite 2.8s;
}
.hero-bubble {
  position: absolute;
  background: #fff;
  border-radius: 50px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f172a;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  z-index: 5;
  white-space: nowrap;
  animation: heroFloat 6s ease-in-out infinite;
}
.hero-bubble-1 { top: 28%; left: -4%; animation-delay: 0.7s; }
.hero-bubble-2 { bottom: 20%; right: -2%; animation-delay: 2.2s; }
.hero-bubble .bubble-icon { font-size: 1.3rem; line-height: 1; }
.hero-dot {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}
.hero-dot-1 { width: 20px; height: 20px; background: #f59e0b; top: 3%; right: 10%; animation: heroFloat 4s ease-in-out infinite 0.3s; }
.hero-dot-2 { width: 13px; height: 13px; background: #f59e0b; bottom: 12%; left: 1%; animation: heroFloat 4.5s ease-in-out infinite 1.7s; }
.hero-dot-3 { width: 9px; height: 9px; background: #E8571C; top: 58%; right: 40%; animation: heroFloat 5s ease-in-out infinite 3.1s; }

#hero-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15,23,42,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 35%, #000 35%, transparent 90%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 35%, #000 35%, transparent 90%);
}

/* --- Buttons --- */
.btn {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), box-shadow 0.25s ease !important;
}
.btn-blue, a.btn-blue, .btn.btn-blue {
  background: var(--grad) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: var(--s-blue) !important;
}
.btn-blue:hover, a.btn-blue:hover, .btn.btn-blue:hover {
  color: #fff !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 14px 40px rgba(232,87,28,0.4) !important;
}
.btn-primary { background: var(--grad) !important; border: none !important; }
.btn-primary:hover { transform: translateY(-2px) !important; box-shadow: var(--s-blue) !important; }

/* --- Clients / Social Proof Section --- */
.clients-sticky-outer {
  position: relative;
}
.clients-section-wrapper {
  position: sticky;
  top: 0;
  z-index: 1;
  overflow: hidden;
  background: #e9e5df;
}
/* World map — subtle depth layer */
.clients-section-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/img/ClientWorldWide.png') center/cover no-repeat;
  opacity: 0.13;
  pointer-events: none;
  z-index: 0;
  animation: mapDrift 24s ease-in-out infinite alternate;
}
/* Gradient veil — orange brand glow top, warm fade bottom */
.clients-section-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(232,87,28,0.14) 0%, transparent 62%),
    linear-gradient(180deg, rgba(233,229,223,0) 55%, rgba(233,229,223,0.88) 100%);
  pointer-events: none;
  z-index: 0;
}
@keyframes mapDrift {
  from { transform: scale(1.0) translate(0px, 0px); }
  to   { transform: scale(1.06) translate(-12px, -6px); }
}
.clients-section-wrapper .container { position: relative; z-index: 2; }
.clients-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.72);
  color: var(--c-blue);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(232,87,28,0.22);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 1px 12px rgba(232,87,28,0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.clients-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--grad);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(232,87,28,0.7);
}
.clients-heading {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.18;
  color: var(--c-text);
}
.clients-heading .ch-accent {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 10px rgba(232,87,28,0.22));
}
.clients-desc {
  color: var(--c-muted);
  font-size: 0.97rem;
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto;
}

/* --- Client logos: marquee carousel --- */
.brand-marquee-outer {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.brand-marquee-outer:hover .brand-marquee-track {
  animation-play-state: paused;
}
.brand-marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: brand-scroll 40s linear infinite;
  will-change: transform;
}
@keyframes brand-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 16px;
  padding: 16px 30px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07), inset 0 1px 0 rgba(255,255,255,1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease, background 0.3s ease;
  cursor: default;
}
.brand-item:hover {
  transform: translateY(-5px) scale(1.03);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 14px 36px rgba(232,87,28,0.14), inset 0 1px 0 rgba(255,255,255,1);
}
.brand-item img {
  height: 38px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.42);
  display: block;
  transition: filter 0.3s ease;
}
.brand-item:hover img {
  filter: grayscale(0%) opacity(1);
}

/* --- Section headings --- */
.display-4 { font-weight: 800 !important; letter-spacing: -0.03em !important; line-height: 1.15 !important; }
.display-3 { font-weight: 800 !important; letter-spacing: -0.04em !important; line-height: 1.15 !important; }
p.lead.fs-lg, p.lead.fs-20, p.lead.fs-23 { color: var(--c-muted) !important; }

/* --- Feature images --- */
figure.rounded { overflow: hidden; border-radius: var(--r) !important; }
figure.rounded img {
  border-radius: var(--r) !important;
  box-shadow: var(--s-lg) !important;
  transition: transform 0.45s ease !important;
}
figure.rounded:hover img { transform: scale(1.025) !important; }

/* --- Stat counters --- */
.counter.counter-lg {
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
  background: var(--grad) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* --- Product cards section --- */
#business-software { background: #f5f7fb !important; }
.card.bg-soft-violet, .card.bg-soft-blue,
.card.bg-soft-leaf,  .card.bg-soft-pink {
  border-radius: 24px !important;
  border: 1px solid rgba(0,0,0,0.05) !important;
  box-shadow: var(--s-sm) !important;
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), box-shadow 0.35s ease !important;
  overflow: hidden !important;
}
.card.bg-soft-violet { background: linear-gradient(145deg, #f0ebff 0%, #f8f5ff 100%) !important; }
.card.bg-soft-blue   { background: linear-gradient(145deg, #ddeeff 0%, #eef5ff 100%) !important; }
.card.bg-soft-leaf   { background: linear-gradient(145deg, #d0f5e8 0%, #edfdf5 100%) !important; }
.card.bg-soft-pink   { background: linear-gradient(145deg, #fce4f0 0%, #fff0f7 100%) !important; }
.card.bg-soft-violet:hover { transform: translateY(-8px) !important; box-shadow: var(--s-lg) !important; border-color: rgba(232,87,28,0.15) !important; }
.card.bg-soft-blue:hover   { transform: translateY(-8px) !important; box-shadow: var(--s-lg) !important; border-color: rgba(232,87,28,0.15) !important; }
.card.bg-soft-leaf:hover   { transform: translateY(-8px) !important; box-shadow: var(--s-lg) !important; border-color: rgba(16,185,129,0.15) !important; }
.card.bg-soft-pink:hover   { transform: translateY(-8px) !important; box-shadow: var(--s-lg) !important; border-color: rgba(236,72,153,0.15) !important; }

h3.h1.post-title {
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.2 !important;
}
a.more.hover.link-pink {
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: gap 0.2s ease !important;
}
a.more.hover.link-pink:hover { gap: 10px !important; }

/* --- Why Customers Trust Us — redesigned sticky-scroll layout --- */
.wct-section {
  background: #ffffff;
  padding: 90px 0 100px;
  position: relative;
  z-index: 10;
  overflow: hidden;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -10px 48px rgba(0,0,0,0.12);
}
.wct-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 18% 50%, rgba(232,87,28,0.055) 0%, transparent 68%);
  pointer-events: none;
}
.wct-layout { align-items: flex-start; }
.wct-left {
  position: sticky;
  top: 14vh;
  align-self: flex-start;
  padding-right: 2.5rem;
  z-index: 2;
  will-change: transform;
}
.wct-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e8571c;
  background: rgba(232,87,28,0.1);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.wct-heading {
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--c-dark);
  margin-bottom: 1rem;
}
.wct-gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.wct-lead {
  color: var(--c-muted);
  font-size: 0.975rem;
  line-height: 1.72;
  margin-bottom: 2rem;
}
.wct-stats {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
}
.wct-stat strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--c-dark);
  line-height: 1.1;
}
.wct-stat span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-muted);
}
.wct-right { padding-top: 0.25rem; }
.wct-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 1rem 1.35rem;
  margin-bottom: 0.65rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
  opacity: 0;
  transform: translateY(48px) scale(0.95);
  filter: blur(7px);
  transition: opacity 0.58s ease, transform 0.72s cubic-bezier(0.34,1.52,0.64,1), filter 0.52s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.wct-card.wct-from-above {
  transform: translateY(-36px) scale(0.95);
  filter: blur(7px);
}
.wct-card.wct-in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}
.wct-card.wct-in-view:hover {
  transform: translateY(-5px) scale(1);
  box-shadow: 0 18px 48px rgba(232,87,28,0.12);
  border-color: rgba(232,87,28,0.2);
}
.wct-icon svg {
  width: 19px; height: 19px;
  stroke-width: 1.8;
}
.wct-icon-blue   svg { stroke: #6366f1; }
.wct-icon-amber  svg { stroke: #f59e0b; }
.wct-icon-orange svg { stroke: #e8571c; }
.wct-icon-pink   svg { stroke: #ec4899; }
.wct-icon-green  svg { stroke: #10b981; }
.wct-icon-purple svg { stroke: #8b5cf6; }
.wct-card::after {
  content: '';
  position: absolute;
  left: 0; top: 16%; bottom: 16%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--wct-accent, var(--grad));
  opacity: 0;
  transition: opacity 0.45s ease;
}
.wct-card.wct-in-view::after { opacity: 1; }
.wct-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wct-icon img { width: 19px; height: 19px; }
.wct-icon-blue   { background: rgba(99,102,241,0.1); }
.wct-icon-amber  { background: rgba(245,158,11,0.1); }
.wct-icon-orange { background: rgba(232,87,28,0.1); }
.wct-icon-pink   { background: rgba(236,72,153,0.1); }
.wct-icon-green  { background: rgba(16,185,129,0.1); }
.wct-icon-purple { background: rgba(139,92,246,0.1); }
.wct-body { flex: 1; min-width: 0; }
.wct-title {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-dark);
  margin: 0 0 0.2rem;
}
.wct-desc {
  font-size: 0.8rem;
  color: var(--c-muted);
  line-height: 1.6;
  margin: 0;
}
.wct-num {
  flex-shrink: 0;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: rgba(0,0,0,0.05);
  line-height: 1;
  user-select: none;
}
@media (max-width: 991px) {
  .wct-left { position: static; padding-right: 0; margin-bottom: 2.5rem; }
  .wct-heading { font-size: 2.1rem; }
}

/* --- Reduce white across light sections --- */
.wrapper.bg-light, section.wrapper.bg-light {
  background: #f2ede8 !important;
}
.wrapper.bg-light .card:not([class*="bg-soft"]) {
  background: #f5f3ef !important;
}

/* --- Get Started steps section --- */

/* --- Footer: dark elegant --- */
footer.bg-gray {
  background: var(--c-dark) !important;
  border-top: 1px solid rgba(255,255,255,0.04) !important;
}
footer .display-3 {
  color: #ffffff !important;
  font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
}
footer .widget-title {
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.13em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.38) !important;
}
footer p, footer address { color: rgba(255,255,255,0.52) !important; font-size: 0.875rem !important; }
footer a {
  color: rgba(255,255,255,0.58) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
  font-size: 0.875rem !important;
}
footer a:hover { color: #ffffff !important; }
footer hr { border-color: rgba(255,255,255,0.07) !important; }
footer .nav.social a {
  color: rgba(255,255,255,0.45) !important;
  font-size: 1.15rem !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}
footer .nav.social a:hover { color: #ffffff !important; transform: translateY(-2px) !important; }
footer .btn-blue, footer a.btn.btn-blue, footer a.btn-blue {
  background: var(--grad) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 600 !important;
  border-radius: var(--r-sm) !important;
  box-shadow: var(--s-blue) !important;
  white-space: nowrap !important;
  padding: 0.8rem 2rem !important;
}
footer .btn-blue:hover, footer a.btn.btn-blue:hover {
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 40px rgba(232,87,28,0.4) !important;
}
footer .form-control {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: rgba(255,255,255,0.9) !important;
  border-radius: var(--r-sm) !important;
}
footer .form-control::placeholder { color: rgba(255,255,255,0.35) !important; }
footer .form-control:focus {
  background: rgba(255,255,255,0.1) !important;
  border-color: var(--c-blue) !important;
  box-shadow: 0 0 0 3px rgba(232,87,28,0.18) !important;
  color: rgba(255,255,255,0.9) !important;
  outline: none !important;
}
footer label { color: rgba(255,255,255,0.45) !important; }

/* --- Dropdown menus --- */
.dropdown-menu {
  border-radius: var(--r) !important;
  border: 1px solid var(--c-border) !important;
  box-shadow: var(--s-lg) !important;
  padding: 0.6rem !important;
}
.dropdown-item {
  border-radius: var(--r-sm) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  padding: 0.5rem 0.75rem !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}
.dropdown-item:hover { background: #f1f5f9 !important; color: var(--c-blue) !important; }

/* --- Products mega-menu: clean solid white --- */
.navbar-expand-lg .mega-menu-dark,
.navbar-expand-md .mega-menu-dark,
.navbar-expand-sm .mega-menu-dark {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(0,0,0,0.07) !important;
  box-shadow: 0 32px 80px rgba(0,0,0,0.12), 0 4px 24px rgba(0,0,0,0.06) !important;
  border-radius: 20px !important;
  padding: 0 !important;
  overflow: hidden !important;
}
/* Remove column separators */
.navbar-expand-lg .mega-menu-content > .row > [class*=col-] + [class*=col-] {
  border-left: none !important;
}
/* Tight inner content area — kill all margin/padding from style.css */
.mega-menu-dark .mega-menu-content,
.navbar-expand-lg .mega-menu-content,
.navbar-expand-lg .mega-menu-img .mega-menu-content {
  padding: 8px 10px 8px !important;
  margin: 0 !important;
}
/* Kill row bottom margin and tighten gutters */
.mega-menu-dark .mega-menu-content .row {
  --bs-gutter-y: 4px !important;
  --bs-gutter-x: 6px !important;
  margin-bottom: 0 !important;
}
/* Ensure no trailing space from list or cols */
.mega-menu-dark .mega-menu-content ul,
.mega-menu-dark .mega-menu-content li {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
/* Mega menu inner header */
.mega-menu-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 10px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 4px;
}
.mega-menu-hd-left { line-height: 1.25; }
.mega-menu-hd-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.02em;
}
.mega-menu-hd-sub {
  font-size: 0.71rem;
  color: var(--c-muted);
  margin-top: 1px;
}
.mega-menu-hd-cta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-blue);
  text-decoration: none;
  padding: 5px 14px;
  border: 1.5px solid rgba(232,87,28,0.3);
  border-radius: 999px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.mega-menu-hd-cta:hover {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
}
/* Product card items */
.mega-menu-dark .dropdown-item {
  padding: 5px 5px 4px !important;
  border-radius: 10px !important;
  background: transparent !important;
  transition: all 0.2s cubic-bezier(.34,1.56,.64,1) !important;
}
.mega-menu-dark .dropdown-item:hover,
.mega-menu-dark .dropdown-item:focus {
  background: rgba(255,255,255,0.75) !important;
  transform: translateY(-3px) scale(1.025) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
  color: var(--c-text) !important;
}
/* Product thumbnail figures */
.mega-menu-dark .dropdown-item figure {
  margin: 0 0 4px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #f1f5f9 !important;
}
.mega-menu-dark .dropdown-item figure img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  transition: transform 0.3s ease !important;
}
.mega-menu-dark .dropdown-item:hover figure img {
  transform: scale(1.04) !important;
}
/* Product name label */
.mega-prod-name {
  font-size: 0.69rem !important;
  font-weight: 600 !important;
  color: var(--c-text) !important;
  text-align: center !important;
  display: block !important;
  padding: 0 2px 2px !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
/* "Scroll to view more" — hidden */
.mega-menu-dark span.d-none.d-lg-flex {
  display: none !important;
}
/* Kill fixed heights that create empty space */
.mega-menu-scroll {
  height: auto !important;
  overflow-y: visible !important;
}

/* --- Scroll-to-top progress ring --- */
.progress-wrap {
  background: var(--grad) !important;
  box-shadow: var(--s-blue) !important;
  border-radius: 50% !important;
}

/* --- Offcanvas info panel --- */
.offcanvas.text-inverse { background: #0d1628 !important; }

/* --- Mobile --- */
@media (max-width: 576px) {
  #hero-section .display-1 { font-size: 2.1rem !important; }
  h3.h1.post-title { font-size: 1.5rem !important; }
  #hero-section { min-height: auto; }
}
@media (max-width: 991px) {
  .hero-visual { height: 380px; }
  .hero-img-a { width: 65%; }
  .hero-img-b { width: 50%; }
  .hero-img-c { width: 50%; }
}

/* --- Testimonials --- */
.testimonials-section {
  background: linear-gradient(160deg, #0d1626 0%, #1a2744 55%, #0f1d38 100%);
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,87,28,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.testimonials-section::after {
  content: '';
  position: absolute;
  bottom: -180px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(247,168,32,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.testimonials-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem; font-weight: 600;
  padding: 6px 16px; border-radius: 999px;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.testimonials-headline {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
  line-height: 1.15;
}
.testimonials-headline span {
  background: linear-gradient(90deg, #E8571C, #F7A820);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.testimonials-sub { color: rgba(255,255,255,0.45); font-size: 0.97rem; }
.testimonials-aggregate {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 10px 18px;
  margin-top: 1.5rem;
}
.agg-rating { font-size: 1.5rem; font-weight: 800; color: #fff; }
.agg-stars { color: #FBBC05; font-size: 1rem; letter-spacing: 1px; }
.agg-label { font-size: 0.78rem; color: rgba(255,255,255,0.45); line-height: 1.3; }

/* Google review card */
.gr-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.45), 0 2px 8px rgba(0,0,0,0.25);
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s ease;
  position: relative;
  max-width: 380px;
}
.gr-card:hover {
  transform: translateY(-6px) rotate(0deg) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55), 0 4px 16px rgba(0,0,0,0.3);
}
.gr-card-1 { transform: rotate(-1.2deg); }
.gr-card-2 { transform: rotate(0.8deg);  }
.gr-card-3 { transform: rotate(-0.6deg); }
.gr-card-4 { transform: rotate(1.0deg);  }
.gr-card-5 { transform: rotate(-0.9deg); }
.gr-card-6 { transform: rotate(0.5deg);  }

/* Google card top bar */
.gr-header { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.gr-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: #fff;
  flex-shrink: 0; font-family: 'Inter', sans-serif;
}
.gr-av-blue   { background: #4285F4; }
.gr-av-red    { background: #EA4335; }
.gr-av-green  { background: #34A853; }
.gr-av-orange { background: #FF6D00; }
.gr-av-purple { background: #9C27B0; }
.gr-av-teal   { background: #0097A7; }

.gr-meta { flex: 1; min-width: 0; }
.gr-name { font-weight: 700; font-size: 0.9rem; color: #202124; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gr-guide { font-size: 0.72rem; color: #5f6368; margin-top: 1px; }
.gr-google-logo { flex-shrink: 0; }

/* Stars row */
.gr-stars-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.gr-stars { color: #FBBC05; font-size: 0.88rem; letter-spacing: 1px; line-height: 1; }
.gr-date { font-size: 0.72rem; color: #9aa0a6; }

/* Review text */
.gr-text {
  font-size: 0.875rem;
  color: #3c4043;
  line-height: 1.65;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gr-footer {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid #f1f3f4;
  padding-top: 10px;
  margin-top: 2px;
}
.gr-helpful { font-size: 0.72rem; color: #5f6368; display: flex; align-items: center; gap: 5px; }
.gr-helpful i { font-size: 0.8rem; }
.gr-maps-badge {
  font-size: 0.68rem; color: #5f6368;
  display: flex; align-items: center; gap: 4px;
}
@media (max-width: 767px) {
  .gr-card { max-width: 100%; }
  .gr-card-1, .gr-card-2, .gr-card-3,
  .gr-card-4, .gr-card-5, .gr-card-6 { transform: none; }
}

/* === Team Section === */
#team-section {
  position: relative;
  overflow: hidden;
  background: url('/assets/img/photos/will%20bg37.jpg') center/cover no-repeat;
}
#team-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}
#team-section .container { position: relative; z-index: 1; }
.team-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,87,28,0.08);
  border: 1.5px solid rgba(232,87,28,0.18);
  color: var(--c-blue);
  font-size: 0.75rem; font-weight: 700;
  padding: 5px 16px; border-radius: 999px;
  letter-spacing: 0.07em; text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.team-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--grad);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(232,87,28,0.7);
}
.team-headline {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--c-text);
}
.team-headline span {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.team-sub {
  color: var(--c-muted);
  font-size: 0.97rem;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* --- Team Card (Gradient-split style) --- */
.team-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: default;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), box-shadow 0.4s ease;
}
.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.14);
}

/* Gradient banner */
.team-card-top {
  height: 56px;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
/* Shimmer sweep on hover */
.team-card-top::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}
.team-card:hover .team-card-top::after { transform: translateX(120%); }

/* Ordinal tucked in banner corner */
.team-card-num {
  position: absolute;
  top: 0.6rem; right: 0.75rem;
  font-size: 0.58rem; font-weight: 800; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  font-variant-numeric: tabular-nums;
}

/* Avatar straddles the split via negative top margin */
.team-avatar-wrap {
  width: 52px; height: 52px;
  margin: -26px auto 0.45rem;
  position: relative; z-index: 2;
  flex-shrink: 0;
}
.team-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.82rem; color: #fff;
  letter-spacing: -0.02em;
  border: 3px solid #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), box-shadow 0.4s ease;
}
.team-card:hover .team-avatar {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* Body */
.team-card-body {
  padding: 0 0.75rem 0.9rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.team-name {
  font-size: 0.82rem; font-weight: 700; color: var(--c-text);
  letter-spacing: -0.02em; margin-bottom: 0.18rem;
}
.team-role {
  display: inline-block;
  background: rgba(0,0,0,0.04);
  color: var(--c-muted);
  font-size: 0.57rem; font-weight: 600;
  padding: 1px 7px; border-radius: 999px;
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.team-bio {
  font-size: 0.72rem; color: var(--c-muted);
  line-height: 1.55; margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Stat icon */
.team-stat-icon {
  font-size: 1.3rem;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.25rem;
}

/* Scroll enter / exit animations */
.team-card-anim {
  opacity: 0;
  transform: translateY(52px) scale(0.96);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.team-card-anim.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.team-card-anim.exit-up {
  opacity: 0;
  transform: translateY(-36px) scale(0.97);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.4,0,0.6,1);
}
.team-card-anim.exit-down {
  opacity: 0;
  transform: translateY(52px) scale(0.96);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.4,0,0.6,1);
}

/* === Unified stats card === */
.team-stats-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  overflow: hidden;
  margin-top: 3.5rem;
  padding: 0;
}
/* Orange blob spots */
.team-stats-card::before {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(232,87,28,0.13) 0%, transparent 65%);
  pointer-events: none;
}
.team-stats-card::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(247,168,32,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.team-stats-blob-mid {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 260px; height: 180px;
  background: radial-gradient(ellipse, rgba(232,87,28,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Row divider between the two rows */
.team-stats-row {
  display: flex;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
.team-stats-row + .team-stats-row {
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* Individual stat cell */
.team-stat {
  text-align: center;
  padding: 1.6rem 1rem;
  flex: 1;
  position: relative;
}
.team-stat + .team-stat::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(0,0,0,0.07);
}
.team-stat-icon {
  font-size: 1.3rem;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.team-stat-num {
  font-size: 1.75rem; font-weight: 800; letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1.1;
}
.team-stat-label {
  font-size: 0.75rem; color: var(--c-muted); font-weight: 500; margin-top: 3px;
}

@media (max-width: 767px) {
  .team-stats-row { flex-wrap: wrap; }
  .team-stat { min-width: 50%; }
  .team-stat + .team-stat::before { display: none; }
}

/* --- Stats card cell interactions --- */
.team-stat {
  cursor: default;
  transition: background 0.3s ease, transform 0.3s cubic-bezier(.34,1.56,.64,1);
  border-radius: 14px;
}
.team-stat:hover {
  background: rgba(232,87,28,0.055);
  transform: translateY(-3px);
}
.team-stat-icon {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1);
}
.team-stat:hover .team-stat-icon {
  transform: scale(1.28) rotate(-8deg);
}
.team-stat-num {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1),
              filter 0.35s ease;
}
.team-stat:hover .team-stat-num {
  transform: scale(1.1);
  filter: drop-shadow(0 2px 8px rgba(232,87,28,0.35));
}
.team-stat-label {
  transition: color 0.25s ease;
}
.team-stat:hover .team-stat-label {
  color: var(--c-blue);
}

/* Staggered entrance per cell */
.stat-cell-anim {
  opacity: 0;
  transform: translateY(28px) scale(0.93);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
.stat-cell-anim.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Icon pop keyframe on entrance */
@keyframes statIconPop {
  0%   { transform: scale(0.4) rotate(-20deg); opacity: 0; }
  65%  { transform: scale(1.22) rotate(6deg);  opacity: 1; }
  100% { transform: scale(1)    rotate(0deg);  opacity: 1; }
}
.stat-icon-pop {
  animation: statIconPop 0.55s cubic-bezier(.34,1.56,.64,1) both;
}

/* --- Headline accent --- */
.typed-accent {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === Inner pages (about, ecommerce) — shared pg-* building blocks === */
.pg-hero { position: relative; padding: 4.5rem 0 3rem; }
.pg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(42% 55% at 82% 26%, rgba(247,168,32,0.13) 0%, transparent 70%),
    radial-gradient(40% 50% at 6% 94%, rgba(26,39,68,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.pg-hero > .container { position: relative; }
.pg-title {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #0f172a;
  margin-bottom: 1.2rem;
  text-wrap: balance;
}
.pg-lead {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 27em;
  margin-bottom: 1.8rem;
  text-wrap: pretty;
}
@media (max-width: 991px) { .pg-lead { margin-left: auto; margin-right: auto; } }

.pg-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3.5rem;
  background: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: var(--r);
  box-shadow: 0 18px 40px -24px rgba(15,23,42,0.18);
}
.pg-stat { padding: 1.5rem 1.6rem; border-left: 1px solid rgba(15,23,42,0.07); }
.pg-stat:first-child { border-left: 0; }
.pg-stat strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.pg-stat span { display: block; margin-top: 0.35rem; color: #64748b; font-size: 0.75rem; font-weight: 500; }
@media (max-width: 767px) {
  .pg-stats { grid-template-columns: repeat(2, 1fr); }
  .pg-stat:nth-child(3) { border-left: 0; }
  .pg-stat:nth-child(n+3) { border-top: 1px solid rgba(15,23,42,0.07); }
}

/* highlight strip with words instead of numbers */
.pg-stats-text .pg-stat strong { font-size: 1.05rem; letter-spacing: -0.02em; }
.pg-step {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-blue);
  margin-bottom: 1.1rem;
}

/* three-up figures inside a section */
.pg-stats-3 { grid-template-columns: repeat(3, 1fr); }
.pg-stats-flat { margin-top: 0; }
@media (max-width: 767px) {
  .pg-stats-3 { grid-template-columns: 1fr; }
  .pg-stats-3 .pg-stat { border-left: 0; }
  .pg-stats-3 .pg-stat:nth-child(n+2) { border-top: 1px solid rgba(15,23,42,0.07); }
}
/* product screenshot beside a numbered list */
.pg-shot { margin: 0; text-align: center; }
.pg-shot img {
  max-width: 100%;
  max-height: 460px;
  height: auto;
  border-radius: var(--r-sm);
  filter: drop-shadow(0 24px 40px rgba(15,23,42,0.12));
}
.pg-steps { list-style: none; margin: 1.8rem 0 0; padding: 0; }
.pg-steps li { display: flex; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid rgba(15,23,42,0.07); }
.pg-steps li:first-child { border-top: 0; padding-top: 0; }
.pg-step-num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--c-blue);
  background: rgba(232,87,28,0.07);
  border: 1px solid rgba(232,87,28,0.18);
  font-size: 0.7rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.pg-steps h3 { font-size: 0.95rem; font-weight: 600; letter-spacing: -0.015em; color: #0f172a; margin: 0.15rem 0 0.35rem; }
.pg-steps p { color: #64748b; font-size: 0.8rem; line-height: 1.65; margin: 0; }
/* testimonials */
.pg-quote { display: flex; flex-direction: column; margin: 0; }
.pg-quote blockquote {
  flex: 1;
  margin: 0 0 1.4rem;
  padding: 0;
  border: 0;
  color: #334155;
  font-size: 0.85rem;
  line-height: 1.7;
}
.pg-quote figcaption { padding-top: 1rem; border-top: 1px solid rgba(15,23,42,0.07); }
.pg-quote figcaption strong { display: block; color: #0f172a; font-size: 0.8rem; font-weight: 600; }
.pg-quote figcaption span { display: block; color: #64748b; font-size: 0.7rem; margin-top: 0.15rem; }

.pg-section { padding: 3.5rem 0; }
.pg-section-last { padding-bottom: 5rem; }
.pg-head { max-width: 30rem; margin-bottom: 2rem; }
.pg-eyebrow {
  display: inline-block;
  color: var(--c-blue);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.pg-h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #0f172a;
  margin: 0;
  text-wrap: balance;
}
.pg-text { color: #475569; font-size: 0.9rem; line-height: 1.75; margin-bottom: 1.1rem; }

.pg-card {
  display: block;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: var(--r);
  padding: 1.6rem;
  box-shadow: 0 1px 2px rgba(15,23,42,0.03);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.pg-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232,87,28,0.25);
  box-shadow: 0 22px 40px -22px rgba(15,23,42,0.22);
}
.pg-card h3 { font-size: 0.95rem; font-weight: 600; letter-spacing: -0.015em; color: #0f172a; margin: 0 0 0.4rem; }
.pg-card p { color: #64748b; font-size: 0.8rem; line-height: 1.65; margin: 0; }
.pg-card p a { color: inherit; text-decoration: none; }
.pg-card p a:hover { color: var(--c-blue); }
.pg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  color: var(--c-blue);
  background: rgba(232,87,28,0.07);
  border: 1px solid rgba(232,87,28,0.14);
  margin-bottom: 1.1rem;
}
.pg-product { text-decoration: none; }
.pg-product-name {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-blue);
  margin-bottom: 0.7rem;
}
.pg-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.1rem;
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 600;
}
.pg-more svg { transition: transform 0.25s ease; }
.pg-product:hover .pg-more { color: var(--c-blue); }
.pg-product:hover .pg-more svg { transform: translateX(3px); }
.pg-office { display: flex; align-items: center; gap: 1.1rem; }
.pg-office .pg-icon { margin-bottom: 0; }

.pg-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  padding: 2.6rem 2.8rem;
  border-radius: calc(var(--r) + 6px);
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(232,87,28,0.28) 0%, transparent 60%),
    #0d1626;
}
.pg-cta h2 { color: #fff; font-size: clamp(1.4rem, 2.3vw, 1.8rem); font-weight: 700; letter-spacing: -0.03em; margin: 0 0 0.5rem; }
.pg-cta p { color: #94a3b8; font-size: 0.85rem; line-height: 1.6; margin: 0; max-width: 28rem; }
@media (max-width: 575px) { .pg-cta { padding: 2rem 1.5rem; } }

/* scroll reveal — reveal.js adds .in-view; content stays visible without JS */
.js-reveal .pg-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js-reveal .pg-reveal.in-view { opacity: 1; transform: none; }
.js-reveal .pg-card.pg-reveal.in-view { transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .pg-reveal { opacity: 1; transform: none; transition: none; }
}

/* === Contact page === */
.ct-quick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; max-width: 560px; margin-left: auto; }
.ct-quick-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.15rem 1.2rem;
  background: rgba(255,255,255,0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: var(--r);
  box-shadow: 0 18px 40px -26px rgba(15,23,42,0.22);
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), border-color 0.35s ease, box-shadow 0.35s ease;
}
.ct-quick-item:hover { transform: translateY(-3px); border-color: rgba(232,87,28,0.3); box-shadow: 0 22px 40px -22px rgba(15,23,42,0.25); }
.ct-quick-item .pg-icon { margin-bottom: 0; }
.ct-quick-label { display: block; color: #64748b; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.ct-quick-value { display: block; color: #0f172a; font-size: 0.9rem; font-weight: 600; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.ct-quick-item:hover .ct-quick-value { color: var(--c-blue); }
@media (max-width: 991px) { .ct-quick { margin: 0 auto; } }
@media (max-width: 575px) { .ct-quick { grid-template-columns: 1fr; max-width: 420px; } }

.ct-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: calc(var(--r) + 4px);
  padding: 2.2rem;
  box-shadow: 0 30px 60px -36px rgba(15,23,42,0.25);
}
@media (max-width: 575px) { .ct-card { padding: 1.5rem 1.2rem; } }

.ct-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem 1rem; }
.ct-span { grid-column: 1 / -1; }
@media (max-width: 575px) { .ct-grid { grid-template-columns: 1fr; } }
.ct-field { display: flex; flex-direction: column; gap: 0.4rem; margin: 0; }
.ct-field > span { color: #0f172a; font-size: 0.78rem; font-weight: 600; }
.ct-field input,
.ct-field select,
.ct-field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.9rem;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid rgba(15,23,42,0.12);
  border-radius: var(--r-sm);
  padding: 0.75rem 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.ct-field textarea { resize: vertical; min-height: 130px; }
.ct-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.4rem; }
.ct-field input::placeholder,
.ct-field textarea::placeholder { color: #94a3b8; }
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus { outline: none; background: #fff; border-color: var(--c-blue); box-shadow: 0 0 0 4px rgba(232,87,28,0.12); }
.ct-hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }

.ct-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; margin-top: 1.6rem; }
.ct-form .btn-blue { display: inline-flex; align-items: center; gap: 8px; padding: 0.75rem 1.6rem !important; font-size: 0.85rem !important; }
.ct-form .btn-blue:disabled { opacity: 0.7; transform: none !important; }
.ct-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #128c4b;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.35);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.ct-wa-btn:hover { background: #25d366; color: #fff; }
.ct-wa-dark { color: #fff; background: rgba(37,211,102,0.18); border-color: rgba(37,211,102,0.45); }
.ct-note { color: #94a3b8; font-size: 0.72rem; margin: 1rem 0 0; }
.ct-error { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--r-sm); font-size: 0.82rem; padding: 0.7rem 0.9rem; margin: 1.2rem 0 0; }

.ct-success { text-align: center; padding: 2rem 0.5rem; }
.ct-success-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%;
  color: #fff; background: var(--grad); box-shadow: var(--s-blue);
  margin-bottom: 1.2rem;
}
.ct-success h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; color: #0f172a; margin-bottom: 0.5rem; }
.ct-success p { color: #64748b; font-size: 0.88rem; max-width: 26rem; margin: 0 auto 1.2rem; }
.ct-success a { color: var(--c-blue); font-weight: 600; }
.ct-link-btn { background: none; border: 0; padding: 0; color: #0f172a; font-size: 0.8rem; font-weight: 600; text-decoration: underline; cursor: pointer; }

.ct-callout { margin-top: 1.8rem; padding: 1.2rem 1.3rem; border-radius: var(--r-sm); background: rgba(232,87,28,0.06); border: 1px solid rgba(232,87,28,0.16); }
.ct-callout strong { display: block; color: #0f172a; font-size: 0.9rem; margin-bottom: 0.25rem; }
.ct-callout p { color: #475569; font-size: 0.82rem; margin: 0; }
.ct-callout a { color: var(--c-blue); font-weight: 600; }

.ct-offices { display: grid; gap: 1rem; margin-top: 1.4rem; }
.ct-offices .pg-card { height: auto; }
.ct-map { position: relative; aspect-ratio: 4 / 3; border-radius: calc(var(--r) + 4px); overflow: hidden; border: 1px solid rgba(15,23,42,0.08); box-shadow: 0 30px 60px -36px rgba(15,23,42,0.3); background: #e2e8f0; }
.ct-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.ct-faq details { border-bottom: 1px solid rgba(15,23,42,0.08); }
.ct-faq details:first-child { border-top: 1px solid rgba(15,23,42,0.08); }
.ct-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.ct-faq summary::-webkit-details-marker { display: none; }
.ct-faq summary::after { content: '+'; flex: none; color: var(--c-blue); font-size: 1.3rem; font-weight: 400; line-height: 1; transition: transform 0.25s ease; }
.ct-faq details[open] summary::after { transform: rotate(45deg); }
.ct-faq summary:hover { color: var(--c-blue); }
.ct-faq details p { color: #475569; font-size: 0.85rem; line-height: 1.7; margin: 0 0 1.2rem; max-width: 46rem; }
