/* =====================================================
   PARROT SQUAD | Light Premium Corporate Landing
   Accent: Parrot Orange (#FF5500), from the brand logo
   Fonts: Plus Jakarta Sans (display) + Inter (body)
   ===================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Backgrounds (warm whites, like the logo's canvas) */
  --bg-primary: #FFFFFF;
  --bg-secondary: #FBF8F5;
  --bg-tertiary: #F4EFEA;
  --bg-ink: #1C1917;

  /* Primary scale (orange) */
  --primary-50: #FFF4EE;
  --primary-100: #FFE4D4;
  --primary-200: #FFC7A8;
  --primary-300: #FFA173;
  --primary-400: #FF7A3D;
  --primary-500: #FF5500;
  --primary-600: #E04A00;
  --primary-700: #B83C00;
  --primary-800: #8F2F00;
  --primary-900: #6B2300;
  --primary-rgb: 255, 85, 0;

  /* Text (warm inks) */
  --text-primary: #1C1917;
  --text-secondary: #44403C;
  --text-tertiary: #78716C;
  --text-quaternary: #A8A29E;
  --border: #EDE7E1;

  /* Secondary accents */
  --success: #16A34A;
  --info: #2563EB;
  --warning: #F59E0B;

  /* Elevated surfaces & chrome (need explicit dark variants) */
  --surface: #FFFFFF;
  --overlay-rgb: 255, 255, 255;
  --nav-blur-strong: rgba(255, 255, 255, 0.85);
  --nav-blur-soft: rgba(255, 255, 255, 0.7);

  /* Type */
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --shadow-card: 0 1px 2px rgba(28, 25, 23, 0.04), 0 8px 24px -8px rgba(28, 25, 23, 0.08);
  --shadow-hover: 0 24px 48px -16px rgba(var(--primary-rgb), 0.28);
}

/* ---------- Dark theme ---------- */
:root[data-theme="dark"] {
  --bg-primary: #14110F;
  --bg-secondary: #1B1714;
  --bg-tertiary: #221D19;
  --bg-ink: #0B0908;

  --text-primary: #F5F1ED;
  --text-secondary: #C9C2BB;
  --text-tertiary: #948B83;
  --text-quaternary: #6B6259;
  --border: #322B25;

  --surface: #1E1A17;
  --overlay-rgb: 30, 26, 23;
  --nav-blur-strong: rgba(20, 17, 15, 0.85);
  --nav-blur-soft: rgba(20, 17, 15, 0.7);

  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -8px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 24px 48px -16px rgba(var(--primary-rgb), 0.4);
}

:root[data-theme="dark"] body {
  background-image: radial-gradient(ellipse at top, rgba(var(--primary-rgb), 0.12) 0%, transparent 50%);
}
:root[data-theme="dark"] ::selection { background: rgba(var(--primary-rgb), 0.35); color: #FFF4EE; }
:root[data-theme="dark"] .hero-label { background: rgba(var(--primary-rgb), 0.12); }
:root[data-theme="dark"] .avatar { background: rgba(var(--primary-rgb), 0.14); color: var(--primary-300); }
:root[data-theme="dark"] .hero-glow { background: radial-gradient(ellipse at center, rgba(var(--primary-rgb), 0.22) 0%, transparent 60%); }
:root[data-theme="dark"] .mobile-menu-toggle span { background: var(--text-primary); }

/* ---------- Reset & base ---------- */
*, *::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.7;
  color: var(--text-secondary);
  background: var(--bg-primary);
  background-image: radial-gradient(ellipse at top, rgba(var(--primary-rgb), 0.08) 0%, transparent 50%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--primary-100); color: var(--primary-800); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
h1 { font-size: 76px; font-weight: 800; line-height: 1.05; }
h2 { font-size: 48px; font-weight: 700; line-height: 1.15; }
h3 { font-size: 24px; font-weight: 600; line-height: 1.3; }
h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-primary); }

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

.label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-600);
}

.text-accent { color: var(--primary-500); }

/* Kept for markup compatibility: on the light theme, glow becomes solid brand orange */
.glow-text { color: var(--primary-500); }
.glow-primary { filter: drop-shadow(0 30px 40px rgba(var(--primary-rgb), 0.22)); }

section { position: relative; padding: 120px 0; }

.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head .label { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 20px; }
.section-head p { font-size: 18px; color: var(--text-tertiary); }

/* ---------- Card (soft, light) ---------- */
.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: all 0.4s var(--ease-smooth);
}
.glass-card:hover {
  border-color: rgba(var(--primary-rgb), 0.35);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  transition: all 0.3s var(--ease-smooth);
}
.btn-sm { padding: 12px 22px; font-size: 14px; }
.btn-xl { padding: 22px 44px; font-size: 18px; border-radius: 16px; }

.btn-primary {
  color: #FFFFFF;
  background: linear-gradient(135deg,
    var(--primary-600) 0%,
    var(--primary-500) 30%,
    var(--primary-400) 60%,
    var(--primary-500) 100%);
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
  box-shadow:
    0 4px 16px rgba(var(--primary-rgb), 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.05);
  box-shadow: 0 10px 32px rgba(var(--primary-rgb), 0.45);
}
.btn-glow { box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.35), 0 0 48px rgba(var(--primary-rgb), 0.22); }
.btn-pulse { animation: gradient-shift 4s ease infinite, pulse-glow 3s ease-in-out infinite; }

.btn-outline {
  color: var(--text-primary);
  border: 1.5px solid var(--border);
  background: var(--surface);
}
.btn-outline:hover {
  border-color: var(--primary-500);
  color: var(--primary-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.18);
}

.icon-wa { width: 22px; height: 22px; }

/* ---------- Particles ---------- */
.particles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.particle {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--primary-400);
  opacity: 0.3;
  animation: float-particle 20s infinite ease-in-out;
  will-change: transform, opacity;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  padding: 12px 0;
  background: var(--nav-blur-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(28, 25, 23, 0.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { height: 48px; width: 48px; transition: transform 0.4s var(--ease-smooth); }
.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.06); }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--text-primary); letter-spacing: 0.02em; text-transform: uppercase; }
.brand-accent { color: var(--primary-500); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--primary-500);
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 9px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.mobile-menu-toggle span {
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Theme toggle ---------- */
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-primary);
  transition: border-color 0.3s ease, transform 0.3s var(--ease-bounce), box-shadow 0.3s ease;
}
.theme-toggle:hover {
  border-color: var(--primary-500);
  color: var(--primary-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.2);
}
.theme-toggle svg {
  position: absolute;
  width: 20px;
  height: 20px;
  transition: opacity 0.25s ease, transform 0.4s var(--ease-bounce);
}
.theme-toggle .icon-sun { opacity: 0; transform: scale(0.5) rotate(-90deg); }
.theme-toggle .icon-moon { opacity: 1; transform: scale(1) rotate(0deg); }
:root[data-theme="dark"] .theme-toggle .icon-sun { opacity: 1; transform: scale(1) rotate(0deg); }
:root[data-theme="dark"] .theme-toggle .icon-moon { opacity: 0; transform: scale(0.5) rotate(90deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: 5%; left: 50%;
  width: 1000px; height: 1000px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(var(--primary-rgb), 0.14) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}
.hero-label {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--primary-200);
  background: var(--primary-50);
  margin-bottom: 28px;
  opacity: 0;
  animation: fade-in-up 0.8s var(--ease-out) forwards;
}
.hero-title {
  margin-bottom: 24px;
  opacity: 0;
  animation: fade-in-up 0.8s var(--ease-out) 0.1s forwards;
}
.hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-tertiary);
  max-width: 560px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fade-in-up 0.8s var(--ease-out) 0.2s forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
  opacity: 0;
  animation: scale-in 0.6s var(--ease-bounce) 0.6s forwards;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  opacity: 0;
  animation: fade-in-up 0.8s var(--ease-out) 0.8s forwards;
}
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-tertiary);
}
.hero-badges li::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--primary-500);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.hero-visual-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  opacity: 0;
  animation: fade-in-rotate 1.2s var(--ease-out) 0.3s forwards;
}
.hero-visual {
  width: 100%;
  max-width: 560px;
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--primary-200);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  opacity: 0;
  animation: fade-in-up 1s ease 1.4s forwards;
}
.scroll-cue span {
  width: 4px; height: 8px;
  margin-top: 6px;
  border-radius: 2px;
  background: var(--primary-500);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

/* ---------- Stats / social proof ---------- */
.stats { padding: 40px 0 100px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 44px 40px;
  border-radius: var(--radius-lg);
  background: var(--bg-ink);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}
.stats-grid::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top left, rgba(var(--primary-rgb), 0.35) 0%, transparent 55%);
  pointer-events: none;
}
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: '';
  position: absolute; left: -12px; top: 10%; height: 80%;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-number .counter { color: var(--primary-400); }
.stat-label { font-size: 14px; color: rgba(255, 255, 255, 0.6); }

.tech-strip {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 32px;
}
.tech-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
.tech-list li {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-quaternary);
  transition: color 0.3s ease, transform 0.3s ease;
}
.tech-list li:hover { color: var(--primary-500); transform: translateY(-2px); }

/* ---------- Services: flip cards ---------- */
.services { background: var(--bg-secondary); }
.services::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at bottom, rgba(var(--primary-rgb), 0.07) 0%, transparent 55%);
  pointer-events: none;
}
.services-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card-flip {
  perspective: 1400px;
  height: 340px;
  cursor: pointer;
  outline: none;
}
.service-card-inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
}
.service-card-flip:hover .service-card-inner,
.service-card-flip.flipped .service-card-inner,
.service-card-flip:focus-visible .service-card-inner {
  transform: rotateY(180deg);
}
.service-card-front, .service-card-back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card-front {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.service-image {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-smooth);
}
.service-card-flip:hover .service-image { transform: scale(1.05); }
.service-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px;
  background: linear-gradient(to top, rgba(var(--overlay-rgb), 0.98) 0%, rgba(var(--overlay-rgb), 0.85) 55%, transparent 100%);
}
.service-title-front { font-size: 22px; margin-bottom: 6px; }
.service-hint { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary-600); font-weight: 600; }

.service-card-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  background: var(--bg-ink);
  border: 0;
}
.service-card-back::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(var(--primary-rgb), 0.45) 0%, transparent 55%);
  pointer-events: none;
}
.service-card-back:hover { transform: rotateY(180deg); }
.service-card-back > * { position: relative; }
.service-title-back { font-size: 22px; margin-bottom: 14px; color: #FFFFFF; }
.service-description { font-size: 15px; color: rgba(255, 255, 255, 0.78); margin-bottom: 20px; }
.service-features { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--primary-200);
  border: 1px solid rgba(var(--primary-rgb), 0.5);
  background: rgba(var(--primary-rgb), 0.15);
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.process-step { padding: 28px 24px; position: relative; }
.step-number {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 18px;
  color: var(--primary-500);
}
.process-step h3 { font-size: 20px; margin-bottom: 10px; }
.process-step p { font-size: 14px; color: var(--text-tertiary); }

/* ---------- About ---------- */
.about { background: var(--bg-secondary); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: center;
}
.about-visual { display: flex; justify-content: center; }
.about-circle {
  position: relative;
  width: 300px; height: 300px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-600) 100%);
  box-shadow: 0 30px 60px -20px rgba(var(--primary-rgb), 0.5);
  animation: float 6s ease-in-out infinite;
}
.about-circle::after {
  content: '';
  position: absolute; inset: -18px;
  border-radius: 50%;
  border: 1px dashed var(--primary-300);
  animation: spin 40s linear infinite;
}
.about-logo { width: 180px; height: 180px; }
.about-content .label { margin-bottom: 16px; }
.about-content h2 { margin-bottom: 24px; }
.about-content p { margin-bottom: 18px; color: var(--text-tertiary); font-size: 17px; }
.values { margin: 28px 0 36px; display: grid; gap: 12px; }
.values li { padding-left: 28px; position: relative; color: var(--text-secondary); }
.values li::before {
  content: '';
  position: absolute; left: 2px; top: 9px;
  width: 10px; height: 10px;
  background: var(--primary-500);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.values strong { color: var(--text-primary); }

/* ---------- Experience / brand logos ---------- */
.brands-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px 64px;
  padding: 48px;
}
.brand-logo {
  height: 34px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.55);
  transition: filter 0.3s ease, transform 0.3s var(--ease-smooth);
}
:root[data-theme="dark"] .brand-logo { filter: grayscale(1) invert(1) opacity(0.6); }
.brand-logo:hover {
  filter: grayscale(1) opacity(0.9);
  transform: translateY(-3px);
}
:root[data-theme="dark"] .brand-logo:hover { filter: grayscale(1) invert(1) opacity(1); }

/* ---------- Final CTA (dark band, like the stats) ---------- */
.cta { overflow: hidden; text-align: center; background: var(--bg-ink); color: #FFFFFF; }
.cta-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(var(--primary-rgb), 0.45) 0%, rgba(var(--primary-rgb), 0.08) 45%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 820px; }
.cta-inner .label { margin-bottom: 16px; color: var(--primary-300); }
.cta-inner h2 { font-size: 54px; margin-bottom: 20px; color: #FFFFFF; }
.cta-inner h2 .glow-text { color: var(--primary-400); }
.cta-inner p { font-size: 19px; color: rgba(255, 255, 255, 0.7); margin-bottom: 40px; }
.cta-actions { display: flex; justify-content: center; }
.cta-note { font-size: 14px !important; color: rgba(255, 255, 255, 0.45) !important; margin-top: 20px !important; margin-bottom: 0 !important; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { margin: 20px 0; color: var(--text-tertiary); font-size: 15px; max-width: 360px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  color: var(--text-tertiary);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.socials a svg { width: 18px; height: 18px; }
.socials a:hover { color: #FFFFFF; background: var(--primary-500); border-color: var(--primary-500); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.3); }

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { margin-bottom: 6px; }
.footer-col a, .footer-col span { font-size: 15px; color: var(--text-tertiary); transition: color 0.3s ease; }
.footer-col a:hover { color: var(--primary-600); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-quaternary);
}
.back-to-top:hover { color: var(--primary-600); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 900;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.45);
  animation: pulse-glow 3s ease-in-out infinite;
  transition: transform 0.3s var(--ease-bounce);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.1) rotate(8deg); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: transform, opacity;
}
.reveal.animate-in { opacity: 1; transform: translateY(0); }

/* ---------- Keyframes ---------- */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scale-in {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes fade-in-rotate {
  from { opacity: 0; transform: rotate(-6deg) scale(0.9); }
  to   { opacity: 1; transform: rotate(0) scale(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25%      { transform: translateY(-20px) rotate(2deg); }
  50%      { transform: translateY(-10px) rotate(-2deg); }
  75%      { transform: translateY(-30px) rotate(1deg); }
}
@keyframes float-particle {
  0%, 100% { transform: translate(0, 0); opacity: 0.3; }
  25%      { transform: translate(100px, -100px); opacity: 0.6; }
  50%      { transform: translate(-50px, -200px); opacity: 0.45; }
  75%      { transform: translate(-100px, -100px); opacity: 0.6; }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 24px rgba(var(--primary-rgb), 0.35), 0 0 0 0 rgba(var(--primary-rgb), 0.35); }
  50%      { box-shadow: 0 8px 40px rgba(var(--primary-rgb), 0.5), 0 0 0 10px rgba(var(--primary-rgb), 0); }
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes scroll-dot {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 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-label, .hero-title, .hero-subtitle, .hero-actions, .hero-badges, .hero-visual-wrap, .scroll-cue, .reveal { opacity: 1; transform: none; }
  .particles { display: none; }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* Desktop XL */
@media (min-width: 1440px) {
  :root { --container: 1280px; }
}

/* Desktop */
@media (min-width: 1024px) and (max-width: 1439px) {
  h1 { font-size: 64px; }
  .process-step { padding: 24px 20px; }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  h1 { font-size: 52px; }
  h2 { font-size: 40px; }
  section { padding: 90px 0; }
  .nav-links { gap: 20px; }
  .nav-links .btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-actions, .hero-badges { justify-content: center; }
  .hero-visual { max-width: 420px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat + .stat::before { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-content { display: flex; flex-direction: column; align-items: center; }
  .values { text-align: left; }
  .brands-strip { gap: 36px 44px; padding: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 767px) {
  h1, .hero-title { font-size: 2.5rem; }
  h2 { font-size: 32px; }
  section { padding: 72px 0; }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px; right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(28, 25, 23, 0.15);
  }
  .nav-links.open { display: flex; animation: fade-in-up 0.3s var(--ease-out); }
  .nav-links .nav-link { padding: 12px 8px; font-size: 16px; }
  .nav-links .btn { margin-top: 8px; }
  .mobile-menu-toggle { display: flex; }
  .navbar { padding: 14px 0; }
  .navbar:not(.scrolled) { background: var(--nav-blur-soft); backdrop-filter: blur(12px); }
  .brand-name { font-size: 17px; }

  .hero { padding: 120px 0 60px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-subtitle { font-size: 17px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-badges { justify-content: center; gap: 12px; }
  .hero-visual { max-width: 280px; }
  .scroll-cue { display: none; }

  .stats { padding: 20px 0 70px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 28px 20px; gap: 24px 12px; }
  .stat + .stat::before { display: none; }
  .stat-number { font-size: 34px; }
  .tech-strip { flex-direction: column; gap: 14px; }
  .tech-list li { font-size: 15px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card-flip { height: 300px; }
  .service-hint::after { content: ' (tap)'; }

  .process-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .about-circle { width: 220px; height: 220px; }
  .about-logo { width: 130px; height: 130px; }
  .about-content { display: flex; flex-direction: column; align-items: center; }
  .values { text-align: left; }

  .brands-strip { gap: 28px 32px; padding: 28px 20px; }
  .brand-logo { height: 26px; }
  .cta-inner h2 { font-size: 34px; }
  .cta-inner p { font-size: 16px; }
  .btn-xl { padding: 18px 28px; font-size: 16px; width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }

  .particle:nth-child(n+20) { display: none; }
}
