/* ==========================================================================
   Adapts Media — Premium Redesign v2.0
   Dark hero + light body | Zero dependencies
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Dark palette */
  --bg-dark:      #050a14;
  --bg-surface:   #0d1629;
  --bg-card:      rgba(255, 255, 255, 0.04);
  --border-dark:  rgba(255, 255, 255, 0.08);
  --border-glow:  rgba(59, 130, 246, 0.3);

  /* Accent */
  --accent:       #3b82f6;
  --accent-rgb:   59, 130, 246;
  --accent-glow:  #60a5fa;
  --purple:       #8b5cf6;
  --purple-rgb:   139, 92, 246;

  /* Light palette */
  --body-bg:      #ffffff;
  --body-surface: #f8fafc;
  --body-border:  #e2e8f0;
  --body-text:    #0f172a;
  --body-muted:   #64748b;

  /* Text */
  --text-primary: #f1f5f9;
  --text-muted:   #94a3b8;
  --text-faint:   #475569;

  /* Gradients */
  --grad-accent:  linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --grad-dark:    linear-gradient(135deg, #050a14 0%, #0d1629 100%);
  --grad-cta:     linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%);

  /* Typography */
  --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container: 1200px;
  --header-h:  76px;
  --radius:    0.625rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.14);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.18);
  --glow-blue:  0 0 40px rgba(59, 130, 246, 0.25);
  --glow-card:  0 0 0 1px rgba(59, 130, 246, 0.2), 0 8px 32px rgba(59, 130, 246, 0.12);

  /* Transitions */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast:     150ms;
  --t-base:     250ms;
  --t-slow:     400ms;

  /* Whatsapp */
  --whatsapp:   #25d366;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--body-text);
  background: var(--body-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color var(--t-base) var(--ease); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

::selection { background: rgba(var(--accent-rgb), 0.2); }

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--body-text);
}

p { margin-bottom: var(--space-4); color: var(--body-muted); line-height: 1.75; }
p:last-child { margin-bottom: 0; }

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

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section {
  padding: var(--space-24) 0;
}

@media (min-width: 768px) {
  .section { padding: var(--space-32) 0; }
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-16);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--body-muted);
}

/* Dark section header overrides */
.section-header.dark h2 { color: var(--text-primary); }
.section-header.dark p  { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: all var(--t-base) var(--ease);
  white-space: nowrap;
  line-height: 1;
}

.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }

.btn-primary {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(var(--accent-rgb), 0.5);
  color: #fff;
}

.btn-glow {
  animation: btnPulse 3s ease-in-out infinite;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-ghost-light {
  background: transparent;
  border-color: var(--body-border);
  color: var(--body-text);
}
.btn-ghost-light:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-ghost-white {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
  transform: translateY(-2px);
}

.btn-arrow {
  display: inline-block;
  transition: transform var(--t-base) var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(4px); }

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.35); }
  50%       { box-shadow: 0 4px 32px rgba(var(--accent-rgb), 0.6), 0 0 60px rgba(var(--accent-rgb), 0.2); }
}

/* --------------------------------------------------------------------------
   6. NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: background var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  background: transparent;
}

/* Add glass effect after scroll */
.site-header.scrolled {
  background: rgba(5, 10, 20, 0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Hide on scroll down */
.site-header.header-hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: var(--space-8);
}

/* Logo — white filter on dark bg, removed on scrolled */
.site-logo img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--t-base) var(--ease);
}

.site-header.scrolled .site-logo img {
  filter: brightness(0) invert(1);
}

/* Desktop nav */
.site-nav {
  display: none;
}

@media (min-width: 1024px) {
  .site-nav { display: flex; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.site-nav .nav-link {
  padding: var(--space-2) var(--space-4);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius);
  transition: all var(--t-base) var(--ease);
}

.site-nav .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Nav CTA */
.nav-cta {
  display: none;
  padding: 0.6rem 1.4rem;
  font-size: 0.875rem;
}

@media (min-width: 1024px) {
  .nav-cta { display: inline-flex; }
}

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  z-index: 1010;
  position: relative;
}

@media (min-width: 1024px) {
  .nav-hamburger { display: none; }
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 1005;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-8);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-slow) var(--ease), visibility var(--t-slow) var(--ease);
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.mobile-nav-links a {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius);
  transition: color var(--t-base) var(--ease);
  letter-spacing: -0.02em;
}

.mobile-nav-links a:hover {
  color: var(--accent-glow);
}

/* Inner-page header (light) */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: box-shadow var(--t-base) var(--ease);
}

.header.scrolled {
  box-shadow: 0 1px 0 var(--body-border);
}

.header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.header .site-logo img {
  filter: none;
}

.header .site-nav { display: flex; }
.header .nav-link {
  padding: var(--space-2) var(--space-4);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--body-text);
  border-radius: var(--radius);
  transition: all var(--t-base) var(--ease);
}
.header .nav-link:hover { color: var(--accent); background: rgba(var(--accent-rgb), 0.06); }
.header .nav-cta { display: inline-flex; }
.header .nav-hamburger span { background: var(--body-text); }

/* --------------------------------------------------------------------------
   7. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-dark);
  padding: calc(var(--header-h) + var(--space-20)) var(--space-6) var(--space-20);
}

/* Grid pattern overlay */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* Bottom fade to body */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, var(--body-bg));
  z-index: 2;
  pointer-events: none;
}

/* Orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.35) 0%, transparent 70%);
  top: -120px;
  right: -120px;
  animation: orbFloat1 10s ease-in-out infinite;
}

.hero-orb-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(var(--purple-rgb), 0.28) 0%, transparent 70%);
  bottom: -80px;
  left: -80px;
  animation: orbFloat2 13s ease-in-out infinite;
}

.hero-orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.15) 0%, transparent 70%);
  top: 40%;
  left: 30%;
  animation: orbFloat3 8s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(-30px, 40px) scale(1.06); }
  70%       { transform: translate(20px, -20px) scale(0.95); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  35%       { transform: translate(40px, -30px) scale(1.08); }
  65%       { transform: translate(-20px, 25px) scale(0.97); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  50%       { transform: translate(25px, -35px) scale(1.1); opacity: 0.9; }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 860px;
}

/* Badge pill */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: var(--radius-full);
  color: var(--accent-glow);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-6);
  animation: badgeFadeIn 0.6s ease-out both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes badgeFadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 4px var(--accent); }
  50%       { box-shadow: 0 0 12px var(--accent), 0 0 20px rgba(var(--accent-rgb), 0.4); }
}

/* H1 */
.hero-title {
  color: var(--text-primary);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  animation: heroTitleIn 0.7s ease-out 0.2s both;
}

@keyframes heroTitleIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Subtitle */
.hero-subtitle {
  color: rgba(241, 245, 249, 0.65);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto var(--space-10);
  animation: heroSubIn 0.7s ease-out 0.4s both;
}

@keyframes heroSubIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* CTA row */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin-bottom: var(--space-12);
  animation: heroCtaIn 0.7s ease-out 0.55s both;
}

@keyframes heroCtaIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Trust row */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
  animation: heroTrustIn 0.7s ease-out 0.7s both;
}

@keyframes heroTrustIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(241, 245, 249, 0.55);
  font-size: 0.85rem;
  font-weight: 500;
}

.trust-item strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.trust-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.15);
}

.trust-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.trust-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   8. LOGO MARQUEE (CSS-only)
   -------------------------------------------------------------------------- */
.marquee-section {
  padding: var(--space-12) 0 var(--space-16);
  background: var(--body-bg);
  border-bottom: 1px solid var(--body-border);
}

.marquee-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--body-muted);
  margin-bottom: var(--space-8);
}

.marquee-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-track img {
  height: 40px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.45);
  transition: filter var(--t-base) var(--ease);
  flex-shrink: 0;
}

.marquee-track img:hover {
  filter: grayscale(0%) opacity(1);
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   9. SERVICES BENTO GRID
   -------------------------------------------------------------------------- */
.services-section {
  padding: var(--space-24) 0 var(--space-32);
  background: var(--body-bg);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 1.125rem;
}

/* Card positions */
.bento-card:nth-child(1) { grid-column: 1/4; grid-row: 1/3; } /* Social — tall */
.bento-card:nth-child(2) { grid-column: 4/6; grid-row: 1; }   /* SEO/SEM */
.bento-card:nth-child(3) { grid-column: 4/6; grid-row: 2; }   /* Perf Marketing */
.bento-card:nth-child(4) { grid-column: 1/3; grid-row: 3; }   /* Web Dev */
.bento-card:nth-child(5) { grid-column: 3/6; grid-row: 3; }   /* Data Analytics */
.bento-card:nth-child(6) { grid-column: 1/4; grid-row: 4; }   /* Creative */
.bento-card:nth-child(7) { grid-column: 4/6; grid-row: 4; }   /* Email */

/* Bento card base */
.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-8);
  background: #fff;
  border: 1px solid var(--body-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
  cursor: default;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(var(--accent-rgb), 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.25);
  box-shadow: var(--glow-card);
}

.bento-card:hover::before { opacity: 1; }

/* Tall card (Social Media) has extra visual treatment */
.bento-card:nth-child(1) {
  background: linear-gradient(135deg, #f0f7ff 0%, #eff6ff 100%);
}

.bento-card:nth-child(1):hover {
  background: linear-gradient(135deg, #e0f0ff 0%, #e8edff 100%);
}

.bento-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--accent-rgb), 0.08);
  border-radius: var(--radius);
  color: var(--accent);
  margin-bottom: var(--space-5);
  transition: all var(--t-base) var(--ease);
  flex-shrink: 0;
}

.bento-card:hover .bento-icon {
  background: var(--grad-accent);
  color: #fff;
  transform: scale(1.05);
}

.bento-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--body-text);
  margin-bottom: var(--space-3);
  letter-spacing: -0.015em;
}

.bento-card:nth-child(1) h3 { font-size: 1.35rem; }

.bento-card p {
  font-size: 0.9rem;
  color: var(--body-muted);
  line-height: 1.6;
  margin-bottom: 0;
  flex: 1;
}

.bento-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: var(--space-5);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--t-base) var(--ease);
}

.bento-link:hover { gap: var(--space-3); }
.bento-link::after { content: '→'; }

/* Bento decorative accent line */
.bento-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}

.bento-card:hover::after { transform: scaleX(1); }

/* Mobile: collapse bento to simple grid */
@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }
  .bento-card:nth-child(1),
  .bento-card:nth-child(2),
  .bento-card:nth-child(3),
  .bento-card:nth-child(4),
  .bento-card:nth-child(5),
  .bento-card:nth-child(6),
  .bento-card:nth-child(7) {
    grid-column: auto;
    grid-row: auto;
  }
  .bento-card:nth-child(1) { grid-column: 1/-1; }
}

@media (max-width: 540px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card:nth-child(1) { grid-column: 1; }
}

/* --------------------------------------------------------------------------
   10. STATS BAR
   -------------------------------------------------------------------------- */
.stats-section {
  padding: var(--space-20) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
  padding: var(--space-6) var(--space-4);
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-dark);
}

.stat-item:last-child::after { display: none; }

@media (max-width: 768px) {
  .stat-item:nth-child(2)::after { display: none; }
}

.stat-number-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: var(--space-2);
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-variant-numeric: tabular-nums;
}

.stat-suffix {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.stat-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   11. WHY CHOOSE US
   -------------------------------------------------------------------------- */
.why-section {
  padding: var(--space-24) 0 var(--space-32);
  background: var(--body-surface);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

@media (max-width: 640px) {
  .why-grid { grid-template-columns: 1fr; }
}

.why-card {
  background: var(--body-bg);
  border: 1px solid var(--body-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--t-base) var(--ease);
}

.why-card:hover {
  border-color: rgba(var(--accent-rgb), 0.25);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.why-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--accent-rgb), 0.08);
  border-radius: var(--radius);
  color: var(--accent);
  margin-bottom: var(--space-5);
  transition: all var(--t-base) var(--ease);
}

.why-card:hover .why-icon {
  background: var(--grad-accent);
  color: #fff;
}

.why-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.why-card p {
  font-size: 0.9rem;
  color: var(--body-muted);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   12. RESULTS / CASE STUDY TEASER
   -------------------------------------------------------------------------- */
.results-section {
  padding: var(--space-24) 0 var(--space-32);
  background: var(--bg-dark);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

@media (max-width: 900px) {
  .results-grid { grid-template-columns: 1fr; }
}

.result-card {
  position: relative;
  padding: var(--space-8);
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  transition: all var(--t-base) var(--ease);
  overflow: hidden;
}

.result-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(var(--accent-rgb), 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}

.result-card:hover {
  border-color: rgba(var(--accent-rgb), 0.25);
  transform: translateY(-4px);
}

.result-card:hover::before { opacity: 1; }

.result-tag {
  display: inline-block;
  padding: 3px 12px;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: var(--radius-full);
  color: var(--accent-glow);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-5);
}

.result-metric {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-2);
  letter-spacing: -0.03em;
}

.result-metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}

.result-quote {
  font-size: 0.9rem;
  color: rgba(241, 245, 249, 0.6);
  line-height: 1.65;
  font-style: italic;
  border-top: 1px solid var(--border-dark);
  padding-top: var(--space-5);
  margin-bottom: 0;
}

.results-cta {
  text-align: center;
}

/* --------------------------------------------------------------------------
   13. TESTIMONIALS
   -------------------------------------------------------------------------- */
.testimonials-section {
  padding: var(--space-24) 0 var(--space-32);
  background: var(--body-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (min-width: 640px) and (max-width: 900px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

.testimonial-card {
  padding: var(--space-8);
  background: var(--body-bg);
  border: 1px solid var(--body-border);
  border-radius: var(--radius-xl);
  transition: all var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  border-color: rgba(var(--accent-rgb), 0.2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.875rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-5);
}

.testimonial-quote {
  font-size: 0.925rem;
  color: var(--body-text);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  margin-bottom: var(--space-6);
  position: relative;
  padding-top: var(--space-6);
}

.testimonial-quote::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: -4px;
  font-size: 3.5rem;
  line-height: 1;
  font-family: Georgia, serif;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.4;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border-top: 1px solid var(--body-border);
  padding-top: var(--space-5);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--body-text);
  margin-bottom: 2px;
}

.testimonial-info span {
  font-size: 0.8rem;
  color: var(--body-muted);
}

/* --------------------------------------------------------------------------
   14. CTA BAND
   -------------------------------------------------------------------------- */
.cta-section {
  padding: var(--space-24) 0;
  background: var(--bg-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(var(--accent-rgb), 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(var(--purple-rgb), 0.1) 0%, transparent 60%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-inner h2 {
  color: var(--text-primary);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-4);
  letter-spacing: -0.03em;
}

.cta-inner p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: var(--space-10);
}

.cta-inner .cta-fine {
  display: block;
  margin-top: var(--space-5);
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-dark);
  padding-top: var(--space-20);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 0.8fr 1.4fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--border-dark);
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
}

.footer-logo {
  display: inline-block;
  margin-bottom: var(--space-5);
}

.footer-logo img {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-about-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-2);
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--t-base) var(--ease);
}

.footer-social a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h4 {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-5);
}

.footer-links li { margin-bottom: var(--space-2); }

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  transition: all var(--t-base) var(--ease);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact address {
  font-style: normal;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.footer-contact-item p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0;
  line-height: 1.5;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer-contact-item a:hover { color: #fff; }

.footer-offices-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  margin-top: var(--space-5);
  margin-bottom: var(--space-3);
}

.footer-offices {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.footer-offices li {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  position: relative;
  padding-left: 10px;
}

.footer-offices li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding: var(--space-6) 0;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  margin-bottom: 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  transition: color var(--t-base) var(--ease);
}

.footer-bottom a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   16. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-section {
  padding: var(--space-20) 0 var(--space-24);
  background: var(--body-surface);
}

.faq-list {
  max-width: 760px;
  margin-inline: auto;
}

.faq-item {
  border: 1px solid var(--body-border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease);
}

.faq-item:hover { border-color: rgba(var(--accent-rgb), 0.3); }

.faq-item.active {
  border-color: rgba(var(--accent-rgb), 0.4);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.06);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-5) var(--space-6);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--body-text);
  text-align: left;
  cursor: pointer;
  transition: color var(--t-base) var(--ease);
}

.faq-question:hover { color: var(--accent); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--body-muted);
  transition: transform var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease);
}

.faq-item.active .faq-answer { max-height: 400px; }

.faq-answer p {
  padding: 0 var(--space-6) var(--space-5);
  font-size: 0.9rem;
  color: var(--body-muted);
  line-height: 1.75;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   17. FLOATING ELEMENTS
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-6);
  left: var(--space-6);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 900;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--t-base) var(--spring);
}

.whatsapp-float.visible {
  opacity: 1;
  transform: scale(1);
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.55);
  color: #fff;
}

.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  color: #fff;
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  z-index: 900;
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--t-base) var(--ease);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   18. SCROLL ANIMATIONS
   -------------------------------------------------------------------------- */
.fade-up, .fade-in {
  opacity: 0;
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  will-change: opacity, transform;
}

.fade-up { transform: translateY(36px); }
.fade-in  { transform: translateY(10px); }

.fade-up.visible,
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Bento stagger (inline delay set by JS) */
.bento-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.bento-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children helper */
.stagger > *:nth-child(1) { transition-delay: 0.05s; }
.stagger > *:nth-child(2) { transition-delay: 0.10s; }
.stagger > *:nth-child(3) { transition-delay: 0.15s; }
.stagger > *:nth-child(4) { transition-delay: 0.20s; }
.stagger > *:nth-child(5) { transition-delay: 0.25s; }
.stagger > *:nth-child(6) { transition-delay: 0.30s; }

/* --------------------------------------------------------------------------
   19. INNER PAGE STYLES (backward compat for non-homepage)
   -------------------------------------------------------------------------- */
.page-header {
  position: relative;
  padding: calc(var(--header-h) + var(--space-20)) 0 var(--space-16);
  background: var(--grad-dark);
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-header .container { position: relative; z-index: 1; }

.page-header h1 {
  color: var(--text-primary);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: var(--space-4);
}

.page-header p {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  font-size: 0.875rem;
}

.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .current { color: #fff; font-weight: 500; }
.breadcrumb .sep { color: rgba(255,255,255,0.25); }

/* Contact, Form, Team styles preserved */
.form-group { margin-bottom: var(--space-5); }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: var(--space-2); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.8rem 1rem;
  background: #fff;
  border: 1.5px solid var(--body-border);
  border-radius: var(--radius);
  color: var(--body-text);
  font: inherit;
  outline: none;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}
.form-textarea { min-height: 130px; resize: vertical; }

/* --------------------------------------------------------------------------
   20. UTILITIES
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.mx-auto     { margin-inline: auto; }
.w-full      { width: 100%; }
.d-flex      { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-4       { gap: var(--space-4); }
.mt-4        { margin-top: var(--space-4); }
.mt-8        { margin-top: var(--space-8); }
.mb-4        { margin-bottom: var(--space-4); }
.hidden      { display: none !important; }
.sr-only     { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* --------------------------------------------------------------------------
   21. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
}

@media (max-width: 768px) {
  .hero-title { font-size: clamp(2.25rem, 10vw, 3.25rem); }
  .hero-section { min-height: auto; padding-bottom: var(--space-16); }
  .hero-ctas { gap: var(--space-3); }
  .hero-trust { gap: var(--space-3); }
  .trust-divider { display: none; }
  .stats-grid { gap: var(--space-6); }
  .stat-item::after { display: none; }
  .results-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}
