/* ============================================================
   InsightEdge Consultancy Services — Premium Design System
   ============================================================ */

/* ---- CSS VARIABLES ---- */
:root {
  --navy:        #0A1628;
  --navy-mid:    #0F2040;
  --navy-light:  #162A50;
  --slate:       #2D3E5A;
  --slate-light: #4A5E7A;
  --blue:        #1E6FD9;
  --blue-light:  #3D87F0;
  --blue-pale:   #EBF2FD;
  --gold:        #C9A227;
  --gold-light:  #E8C04A;
  --white:       #FFFFFF;
  --off-white:   #F8F9FC;
  --neutral-100: #F3F5F9;
  --neutral-200: #E4E8F0;
  --neutral-400: #9AA5BB;
  --neutral-600: #6B7A99;
  --neutral-800: #3A4560;
  --text:        #1A2540;
  --text-muted:  #5A6A85;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  --shadow-sm:   0 1px 4px rgba(10,22,40,0.08);
  --shadow-md:   0 4px 24px rgba(10,22,40,0.10);
  --shadow-lg:   0 12px 48px rgba(10,22,40,0.14);
  --shadow-xl:   0 24px 72px rgba(10,22,40,0.18);

  --transition:  0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.16s ease;

  --max-w:       1240px;
  --pad-x:       clamp(1rem, 4vw, 2.5rem);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-light); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea { font-family: inherit; }

/* ---- FOCUS VISIBLE ---- */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ---- SECTION PADDING ---- */
.section-pad { padding: clamp(4rem, 8vw, 7rem) 0; }
.bg-light { background: var(--off-white); }
.bg-navy { background: var(--navy); }
.text-white { color: var(--white); }

/* ---- EYEBROW ---- */
.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.8rem;
}
.eyebrow-light { color: rgba(255,255,255,0.6); }

/* ---- SECTION HEADER ---- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--blue);
  transition: background var(--transition), transform var(--transition-fast), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--blue-light);
  border-color: var(--blue-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(30,111,217,0.32);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.5);
  transition: background var(--transition), border-color var(--transition), transform var(--transition-fast);
  white-space: nowrap;
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--navy);
  transition: background var(--transition), transform var(--transition-fast);
  white-space: nowrap;
}
.btn-outline-dark:hover, .btn-outline-dark:focus-visible {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 0.9rem 2.2rem; font-size: 0.95rem; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(10,22,40,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: padding var(--transition), background var(--transition);
}
.site-header.scrolled {
  padding: 0;
  background: rgba(10,22,40,0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  transition: padding var(--transition);
}
.site-header.scrolled .nav-inner { padding-top: 0.7rem; padding-bottom: 0.7rem; }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  color: var(--white);
}
.nav-logo:hover { color: var(--white); }
.logo-mark { flex-shrink: 0; display: flex; align-items: center; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-text strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.logo-text span {
  font-size: 0.65rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}
.nav-links a {
  display: block;
  padding: 0.5rem 1rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav-links a.active { color: var(--blue-light); }

.nav-cta {
  margin-left: 1rem;
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition-fast);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem var(--pad-x) 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.mobile-menu.open {
  max-height: 500px;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu a {
  display: block;
  padding: 0.7rem 1rem;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.mobile-menu a:hover, .mobile-menu a.active {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}
.mobile-menu .btn-primary {
  margin-top: 0.5rem;
  width: 100%;
  justify-content: center;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1a3060 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 7rem var(--pad-x) 4rem;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.88) 0%, rgba(10,22,40,0.72) 50%, rgba(15,32,64,0.82) 100%);
  z-index: 0;
  pointer-events: none;
}
.hero-has-bg .hero-bg-lines { opacity: 0.35; }
.hero-inner, .hero-content, .hero-visual { position: relative; z-index: 1; }

.hero-bg-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hbl {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.035);
  border-radius: 50%;
}
.hbl-1 { width: 900px; height: 900px; top: -200px; right: -250px; }
.hbl-2 { width: 600px; height: 600px; top: -100px; right: -100px; }
.hbl-3 { width: 1400px; height: 1400px; bottom: -600px; left: -400px; border-color: rgba(30,111,217,0.06); }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.hero-eyebrow span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero-headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  animation: wordReveal 0.5s ease forwards;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.03em;
}

/* Hero visual card stack */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-card-stack {
  position: relative;
  width: 340px;
  height: 340px;
}
.hero-card {
  position: absolute;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform 0.6s ease;
}
.hc-main {
  top: 0; left: 0;
  width: 260px;
  animation: floatCard 9s ease-in-out infinite;
}
.hc-main .hc-icon { margin-bottom: 1rem; }
.hc-main h3 { color: var(--white); font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.hc-main p { color: rgba(255,255,255,0.6); font-size: 0.85rem; line-height: 1.5; }
.hc-sec {
  bottom: 20px; right: 0;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  animation: floatCard 9s ease-in-out 2s infinite;
}
.hcs-num { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--white); font-weight: 700; }
.hcs-lbl { display: block; font-size: 0.7rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.1em; }
.hc-ter {
  top: 180px; right: 30px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  animation: floatCard 9s ease-in-out 4.5s infinite;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes wordReveal {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0.15; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Hero word animation — slower, calmer */
.hero-headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  animation: wordReveal 0.7s ease forwards;
}

.animate-in {
  opacity: 0;
  animation: fadeUp 0.85s ease forwards;
}
[data-delay="0"]    { animation-delay: 0ms; }
[data-delay="100"]  { animation-delay: 150ms; }
[data-delay="200"]  { animation-delay: 280ms; }
[data-delay="300"]  { animation-delay: 400ms; }
[data-delay="600"]  { animation-delay: 700ms; }
[data-delay="800"]  { animation-delay: 950ms; }
[data-delay="1000"] { animation-delay: 1200ms; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--navy);
  padding: 3rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item { padding: 0.5rem; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-num span.gold { color: var(--gold); }
.stat-lbl {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.about-left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.lead-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.about-pillars { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.pillar-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--blue-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.pillar p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.why-us-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
}
.why-us-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 1.75rem;
  color: var(--white);
}
.why-list { display: flex; flex-direction: column; gap: 1.25rem; }
.why-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
}
.why-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-light);
  line-height: 1;
  flex-shrink: 0;
}

/* ============================================================
   SERVICES
   ============================================================ */
.service-search {
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: center;
}
.search-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 1.5px solid var(--neutral-200);
  border-radius: 50px;
  padding: 0.6rem 1.25rem;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-wrap:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,111,217,0.1);
}
.search-wrap input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 0.9rem;
  color: var(--text);
  background: transparent;
}
.search-wrap input::placeholder { color: var(--neutral-400); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.services-grid-full {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.services-cta { text-align: center; margin-top: 3rem; }

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30,111,217,0.2);
}
.service-card:hover .sc-img img { transform: scale(1.06); }
.service-card:hover .sc-overlay { opacity: 1; }
.service-card:hover .sc-arrow { background: var(--blue); color: var(--white); transform: translateX(3px); }
.service-card:hover .sc-arrow svg path { stroke: var(--white); }

.sc-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.sc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  display: block;
}
.sc-img img.img-icon {
  object-fit: contain;
  padding: 2rem;
}
.sc-icon-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.75) 0%, rgba(10,22,40,0.15) 55%, transparent 100%);
  opacity: 0.5;
  transition: opacity var(--transition);
  pointer-events: none;
}

.sc-body { padding: 1.5rem; }
.sc-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}
.sc-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sc-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.sc-arrow {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--neutral-200);
  border-radius: 50%;
  color: var(--slate);
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}
.sc-arrow:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

.no-results {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}
.no-results button {
  color: var(--blue);
  text-decoration: underline;
  cursor: pointer;
}

/* ============================================================
   WHY SECTION
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.why-item {
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
  background: var(--white);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.why-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(30,111,217,0.2);
}
.why-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.why-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.why-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}
.process-step {
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
}
.ps-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(30,111,217,0.15);
  border: 2px solid var(--blue);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-light);
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
}
.ps-connector {
  position: absolute;
  top: 2.6rem;
  left: calc(50% + 28px);
  right: calc(-50% + 28px);
  height: 2px;
  background: rgba(30,111,217,0.2);
  display: none;
}
.process-step:not(:last-child) .ps-connector { display: block; }
.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.process-step p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.team-grid-full {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card:hover .tc-img img { transform: scale(1.05); }

.tc-img {
  height: 220px;
  overflow: hidden;
  background: var(--neutral-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform var(--transition);
}
.tc-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--neutral-100);
}
.tc-body { padding: 1.25rem; }
.tc-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.tc-role {
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 500;
  line-height: 1.4;
}
.tc-bio {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.team-card-full .tc-img { height: 260px; }
.team-card-full .tc-bio { -webkit-line-clamp: 6; }

/* ============================================================
   CLIENTS SCROLL
   ============================================================ */
.clients-scroll-outer {
  overflow: hidden;
  position: relative;
  mask: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.clients-scroll-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: clientsScroll 40s linear infinite;
}
.clients-scroll-track:hover { animation-play-state: paused; }
@keyframes clientsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.client-card {
  flex-shrink: 0;
  width: 240px;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  cursor: default;
}
.client-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(30,111,217,0.18);
}
.client-card-logo {
  height: 52px;
  display: flex;
  align-items: center;
}
.client-card-logo img {
  max-height: 48px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.3);
  transition: filter var(--transition);
}
.client-card:hover .client-card-logo img { filter: grayscale(0); }
.client-card-no-logo {
  height: 48px;
  display: flex;
  align-items: center;
}
.client-card-no-logo span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
}
.client-card-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}
.client-card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.cta-text p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
}
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; flex-shrink: 0; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: clamp(7rem, 12vw, 9rem) 0 clamp(3.5rem, 6vw, 5rem);
  text-align: center;
}
.page-hero .eyebrow { margin-bottom: 0.75rem; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.page-hero-sub {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   MISSION / VISION
   ============================================================ */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.mv-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-sm);
}
.mv-icon {
  width: 56px;
  height: 56px;
  background: var(--blue-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.mv-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.mv-card p { color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.contact-intro {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.ci-items { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.ci-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.ci-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.ci-item p, .ci-item a {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.ci-item a:hover { color: var(--blue); }

.ci-social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.social-btn {
  width: 40px;
  height: 40px;
  background: var(--neutral-100);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  transition: background var(--transition), color var(--transition), transform var(--transition-fast);
}
.social-btn:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }
.social-btn-green:hover { background: #25D366; }

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-md);
}
.contact-form h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 1.75rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.03em;
}
.form-group label span { color: var(--blue); }
.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(30,111,217,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-msg {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.form-success { background: #e6f7f0; color: #0a6e40; border: 1px solid #b3e5cc; }
.form-error   { background: #fef0ef; color: #9e2a2a; border: 1px solid #f5c6c2; }

/* ============================================================
   SERVICE MODAL
   ============================================================ */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.service-modal.open { display: flex; }
.sm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,22,40,0.75);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}
.sm-panel {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes modalOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(20px) scale(0.97); }
}
/* staggered list items */
.sm-services li {
  animation: smItemIn 0.35s ease both;
}
.sm-services li:nth-child(1)  { animation-delay: 0.08s; }
.sm-services li:nth-child(2)  { animation-delay: 0.13s; }
.sm-services li:nth-child(3)  { animation-delay: 0.18s; }
.sm-services li:nth-child(4)  { animation-delay: 0.22s; }
.sm-services li:nth-child(5)  { animation-delay: 0.26s; }
.sm-services li:nth-child(6)  { animation-delay: 0.30s; }
.sm-services li:nth-child(7)  { animation-delay: 0.33s; }
.sm-services li:nth-child(8)  { animation-delay: 0.36s; }
.sm-services li:nth-child(n+9){ animation-delay: 0.38s; }
@keyframes smItemIn {
  from { opacity: 0; transform: translateX(-14px); }
  to   { opacity: 1; transform: translateX(0); }
}
.sm-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid var(--neutral-200);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 1;
}
#modalTitle {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  line-height: 1.3;
}
.sm-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--neutral-100);
  border-radius: 50%;
  color: var(--slate);
  transition: background var(--transition-fast);
}
.sm-close:hover { background: var(--neutral-200); }
.sm-desc {
  padding: 1.25rem 2rem 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  border-bottom: 1px solid var(--neutral-200);
}
.sm-services {
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.sm-services li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.55;
}
.sm-services li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  margin-top: 0.45rem;
}
.sm-footer {
  padding: 1rem 2rem 2rem;
  border-top: 1px solid var(--neutral-200);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer-main {
  background: var(--navy-mid);
  padding: 4rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo { margin-bottom: 1.25rem; }
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.footer-social {
  display: flex;
  gap: 0.6rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.footer-social a:hover { background: var(--blue); color: var(--white); }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition-fast);
}
.footer-col ul a:hover { color: var(--white); }

.footer-contact { display: flex; flex-direction: column; gap: 1rem; }
.footer-contact p { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.6; }
.footer-contact strong { display: block; color: rgba(255,255,255,0.6); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.2rem; }
.footer-contact a { color: rgba(255,255,255,0.55); }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-admin a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  transition: color var(--transition-fast);
}
.footer-admin a:hover { color: rgba(255,255,255,0.5); }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 5.5rem;
  right: 1.75rem;
  width: 44px;
  height: 44px;
  background: var(--navy);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-md);
  z-index: 799;
  opacity: 0;
  transform: translateY(12px) scale(0.85);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.scroll-top-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 6px 20px rgba(30,111,217,0.35);
}
.scroll-top-btn svg { flex-shrink: 0; }

/* ============================================================
   WHATSAPP BUTTON
   ============================================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 800;
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}
.whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37,211,102,0.3);
  animation: waPulse 2.5s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-headline .word { opacity: 1; transform: none; }
  .animate-in { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
  .clients-scroll-track { animation: none; }
  .whatsapp-btn::before { display: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .ps-connector { display: none; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .hero { padding-top: 8rem; padding-bottom: 5rem; min-height: auto; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
}

@media (max-width: 768px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero { padding: 6rem 0 4rem; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary, .hero-actions .btn-outline { text-align: center; justify-content: center; }
  .sm-header, .sm-desc, .sm-services, .sm-footer { padding-left: 1.25rem; padding-right: 1.25rem; }
}
