/* ==========================================================================
   LotusGleam Infotech — Design System
   ========================================================================== */

/* ---------- Variables ---------- */
:root {
  --orange: #F68A2D;
  --coral: #F75C6A;
  --pink: #FF4E8A;
  --magenta: #C93AA8;
  --white: #FFFFFF;
  --dark: #111827;
  --dark-soft: #374151;
  --muted: #6B7280;
  --light-bg: #F8FAFC;
  --border: #E5E7EB;

  --gradient-primary: linear-gradient(135deg, var(--orange) 0%, var(--coral) 45%, var(--pink) 75%, var(--magenta) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(246,138,45,0.10) 0%, rgba(247,92,106,0.10) 45%, rgba(255,78,138,0.10) 75%, rgba(201,58,168,0.10) 100%);
  --gradient-text: linear-gradient(135deg, var(--orange), var(--pink) 55%, var(--magenta));
  --gradient-radial: radial-gradient(circle at 30% 20%, rgba(246,138,45,0.25), transparent 55%),
                     radial-gradient(circle at 80% 80%, rgba(201,58,168,0.22), transparent 55%);

  --shadow-sm: 0 2px 8px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 8px 24px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 20px 48px rgba(17, 24, 39, 0.12);
  --shadow-glow: 0 20px 60px rgba(247, 92, 106, 0.25);

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-full: 999px;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Manrope', 'Inter', sans-serif;

  --container: 1280px;
  --nav-height: 84px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--light-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
}

::selection { background: var(--pink); color: var(--white); }

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--dark);
  color: var(--white);
  padding: 12px 20px;
  z-index: 10000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

.section { padding: 60px 0; position: relative; }
.section-tight { padding: 70px 0; }
.section-alt { background: var(--white); }

.section-head { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.section-head.align-left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--gradient-soft);
  color: var(--magenta);
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.section-head p { color: var(--muted); font-size: 1.08rem; }

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

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: var(--radius-full);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}

.btn-primary {
  background: var(--gradient-primary);
  background-size: 200% 200%;
  color: var(--white);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-3px); background-position: 100% 50%; box-shadow: 0 24px 60px rgba(201, 58, 168, 0.35); }

.btn-outline {
  background: var(--white);
  color: var(--dark);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--coral); color: var(--coral); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-ghost { color: var(--dark); font-weight: 700; }
.btn-ghost:hover { color: var(--coral); }

.btn-white {
  background: var(--white);
  color: var(--dark);
  box-shadow: var(--shadow-lg);
}
.btn-white:hover { transform: translateY(-3px); }

.btn-block { width: 100%; }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: 0.88rem; }

/* Button ripple */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  transform: scale(0);
  animation: ripple-anim 0.6s ease-out;
  pointer-events: none;
}
@keyframes ripple-anim {
  to { transform: scale(3); opacity: 0; }
}

/* ---------- Glass Card ---------- */
.glass {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* ---------- Navigation ---------- */
/* Note: backdrop-filter lives on ::before, not .navbar itself — backdrop-filter
   on an ancestor creates a new containing block for position:fixed descendants
   (like the mobile .nav-menu off-canvas panel), which would collapse it to the
   navbar's own 84px height instead of the full viewport. */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(248, 250, 252, 0.75);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: flex; align-items: center; }
.logo-image { height: 42px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav-link {
  padding: 10px 16px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--dark-soft);
  border-radius: var(--radius-full);
  transition: color 0.25s, background 0.25s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link:hover, .nav-link.active { color: var(--coral); background: rgba(247, 92, 106, 0.08); }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-radial);
  z-index: -1;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  animation: float 10s ease-in-out infinite;
  z-index: -1;
}
.orb-1 { width: 420px; height: 420px; background: var(--orange); top: -10%; right: -8%; }
.orb-2 { width: 320px; height: 320px; background: var(--magenta); bottom: -10%; left: -8%; animation-delay: -3s; }
.orb-3 { width: 260px; height: 260px; background: var(--pink); top: 40%; left: 45%; animation-delay: -6s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 30px) scale(1.08); }
}

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero p.lead { font-size: 1.2rem; color: var(--dark-soft); max-width: 540px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-trust { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.hero-trust-item i { color: var(--coral); }

.hero-visual { position: relative; }
.hero-card {
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero-visual .hero-card:nth-child(2) { position: absolute; width: 62%; }

/* Page (interior) hero — smaller than home */
.page-hero {
  padding: calc(var(--nav-height) + 76px) 0 90px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero .hero-bg { z-index: -1; }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); margin-bottom: 18px; letter-spacing: -0.02em; }
.page-hero p { font-size: 1.1rem; color: var(--dark-soft); max-width: 620px; margin: 0 auto; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 0.9rem; color: var(--muted); margin-bottom: 20px; font-weight: 600; }
.breadcrumb a:hover { color: var(--coral); }
.breadcrumb span { color: var(--pink); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }

.icon-box {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 22px;
  flex-shrink: 0;
}

/* Service card */
.service-card { padding: 36px 30px; position: relative; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.service-card p { color: var(--muted); margin-bottom: 18px; font-size: 0.96rem; }
.service-card .feature-list { margin-bottom: 22px; }
.service-card .feature-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--dark-soft);
  padding: 6px 0;
}
.service-card .feature-list li i { color: var(--coral); font-size: 0.85rem; }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--magenta); font-size: 0.92rem; transition: gap 0.25s; }
.card-link:hover { gap: 12px; }

/* Grids */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* ---------- Stats ---------- */
.stats-bar {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  color: var(--white);
  box-shadow: var(--shadow-glow);
}
.stat-item { text-align: center; }
.stat-num { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; }
.stat-label { font-size: 0.92rem; opacity: 0.92; margin-top: 6px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 3px; background: var(--gradient-primary); transform: translateX(-50%); border-radius: 3px;
}
.timeline-item { display: grid; grid-template-columns: 1fr 60px 1fr; gap: 0; margin-bottom: 50px; align-items: start; }
.timeline-item .tl-card { padding: 26px; }
.timeline-item:nth-child(odd) .tl-card { grid-column: 1; text-align: right; }
.timeline-item:nth-child(even) .tl-card { grid-column: 3; }
.timeline-item:nth-child(even) { direction: rtl; }
.timeline-item:nth-child(even) .tl-card { direction: ltr; }
.tl-dot {
  grid-column: 2; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gradient-primary); margin: 6px auto 0;
  box-shadow: 0 0 0 6px rgba(247, 92, 106, 0.15);
  position: relative; z-index: 2;
}
.tl-year { font-weight: 800; color: var(--coral); font-size: 0.9rem; margin-bottom: 6px; display: block; }

/* ---------- Tech grid ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tech-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 14px;
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.tech-chip:hover { transform: translateY(-6px) scale(1.03); box-shadow: var(--shadow-md); border-color: var(--pink); }
.tech-chip i, .tech-chip img { font-size: 2.1rem; margin-bottom: 10px; color: var(--dark-soft); }
.tech-chip span { display: block; font-size: 0.85rem; font-weight: 700; }

/* ---------- Testimonials ---------- */
.testimonial-track { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 24px; scrollbar-width: none; }
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  scroll-snap-align: start;
  flex: 0 0 clamp(280px, 32vw, 400px);
  padding: 32px;
  border-radius: var(--radius-lg);
}
.testimonial-quote { font-size: 0.98rem; color: var(--dark-soft); margin-bottom: 22px; }
.testimonial-stars { color: var(--orange); margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gradient-primary); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.testimonial-name { font-weight: 700; font-size: 0.94rem; }
.testimonial-role { font-size: 0.82rem; color: var(--muted); }
.slider-controls { display: flex; gap: 12px; justify-content: center; margin-top: 10px; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: all 0.3s; }
.slider-dot.active { width: 26px; background: var(--gradient-primary); }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-step { text-align: center; padding: 30px 20px; position: relative; }
.process-num {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--white); border: 2px solid transparent;
  background-image: linear-gradient(var(--white), var(--white)), var(--gradient-primary);
  background-origin: border-box; background-clip: padding-box, border-box;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-family: var(--font-heading); color: var(--magenta);
  margin: 0 auto 18px;
}

/* ---------- FAQ Accordion ---------- */
.accordion { max-width: 780px; margin: 0 auto; }
.accordion-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.accordion-item.open { border-color: var(--pink); }
.accordion-trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  font-weight: 700;
  text-align: left;
  font-size: 1rem;
}
.accordion-trigger i { transition: transform 0.35s var(--ease); color: var(--coral); flex-shrink: 0; margin-left: 16px; }
.accordion-item.open .accordion-trigger i { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.accordion-panel-inner { padding: 0 24px 22px; color: var(--muted); font-size: 0.95rem; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 8px; }
.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-control:focus { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(247,92,106,0.12); outline: none; }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-check { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--muted); }
.field-error { color: var(--coral); font-size: 0.8rem; margin-top: 6px; display: none; }
.form-control.invalid { border-color: var(--coral); }
.form-control.invalid + .field-error { display: block; }
.form-success {
  display: none;
  align-items: center; gap: 12px;
  background: rgba(246,138,45,0.1);
  border: 1px solid var(--orange);
  color: #92400E;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 0.92rem;
}
.form-success.show { display: flex; }

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  padding: 70px 50px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-section h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.cta-section p { opacity: 0.95; max-width: 560px; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #D1D5DB; padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { height: 38px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-about p { font-size: 0.92rem; color: #9CA3AF; margin-bottom: 22px; }
.footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 20px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 0.92rem; color: #9CA3AF; transition: color 0.25s, padding-left 0.25s; }
.footer-links a:hover { color: var(--pink); padding-left: 4px; }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); transition: background 0.3s, transform 0.3s;
}
.social-icon:hover { background: var(--gradient-primary); transform: translateY(-4px); }
.newsletter-form { display: flex; gap: 0; margin-top: 16px; border-radius: var(--radius-full); overflow: hidden; background: rgba(255,255,255,0.08); padding: 4px; }
.newsletter-form input { flex: 1; background: transparent; border: none; padding: 10px 16px; color: var(--white); }
.newsletter-form input::placeholder { color: #9CA3AF; }
.newsletter-form button {
  background: var(--gradient-primary); color: var(--white); border-radius: var(--radius-full);
  padding: 10px 20px; font-weight: 700; font-size: 0.85rem; flex-shrink: 0;
}
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; font-size: 0.85rem; color: #9CA3AF; flex-wrap: wrap; gap: 12px; }
.footer-bottom-links { display: flex; gap: 22px; }
.footer-bottom-links a:hover { color: var(--pink); }

/* WhatsApp floating button */
.whatsapp-fab {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: var(--shadow-lg);
  animation: pulse-wa 2.4s infinite;
}
.whatsapp-fab:hover { transform: scale(1.08); }
@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5), var(--shadow-lg); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0), var(--shadow-lg); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), var(--shadow-lg); }
}

/* ---------- Scroll-reveal Animations ---------- */
[data-reveal] { opacity: 0; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal="fade-up"] { transform: translateY(36px); }
[data-reveal="slide-left"] { transform: translateX(-50px); }
[data-reveal="slide-right"] { transform: translateX(50px); }
[data-reveal="zoom-in"] { transform: scale(0.9); }
[data-reveal].in-view { opacity: 1; transform: translate(0,0) scale(1); }

[data-stagger] > * { opacity: 0; transform: translateY(30px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-stagger].in-view > * { opacity: 1; transform: translateY(0); }
[data-stagger].in-view > *:nth-child(1) { transition-delay: 0.05s; }
[data-stagger].in-view > *:nth-child(2) { transition-delay: 0.12s; }
[data-stagger].in-view > *:nth-child(3) { transition-delay: 0.19s; }
[data-stagger].in-view > *:nth-child(4) { transition-delay: 0.26s; }
[data-stagger].in-view > *:nth-child(5) { transition-delay: 0.33s; }
[data-stagger].in-view > *:nth-child(6) { transition-delay: 0.40s; }
[data-stagger].in-view > *:nth-child(7) { transition-delay: 0.47s; }
[data-stagger].in-view > *:nth-child(8) { transition-delay: 0.54s; }
[data-stagger].in-view > *:nth-child(9) { transition-delay: 0.61s; }
[data-stagger].in-view > *:nth-child(10) { transition-delay: 0.68s; }

.hover-lift { transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.hover-lift:hover { transform: translateY(-6px); }

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--gradient-soft);
  color: var(--magenta);
}

/* ---------- Filters (portfolio) ---------- */
.filter-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 50px; }
.filter-btn {
  padding: 11px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--dark-soft);
  transition: all 0.3s;
}
.filter-btn.active, .filter-btn:hover { background: var(--gradient-primary); color: var(--white); border-color: transparent; }

/* ---------- Utility ---------- */
.mt-0{margin-top:0} .mb-0{margin-bottom:0}
.text-center{text-align:center}
.flex{display:flex} .items-center{align-items:center} .justify-between{justify-content:space-between}
.gap-1{gap:8px} .gap-2{gap:16px} .gap-3{gap:24px}
.w-full{width:100%}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .footer-grid > div:nth-child(4) { display: none; }
}

@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .section { padding: 84px 0; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer-grid > div:nth-child(4) { display: block; }
  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(even) { grid-template-columns: 40px 1fr; direction: ltr; }
  .timeline-item .tl-card, .timeline-item:nth-child(even) .tl-card { grid-column: 2; text-align: left; }
  .tl-dot { grid-column: 1; margin: 6px 0 0; }
}

@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    top: var(--nav-height); left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    overflow-y: auto;
  }
  .nav-menu.active { transform: translateX(0); }
  .nav-link { padding: 16px 18px; border-radius: 12px; font-size: 1.02rem; }
  .nav-actions { flex-direction: column; margin: 16px 0 0; width: 100%; }
  .nav-actions .btn { width: 100%; }
  .nav-toggle { display: flex; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; padding: 40px 26px; }
  .process-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-section { padding: 50px 26px; }
  .section-head { margin-bottom: 44px; }
  .hero-visual { display: none; }
  .page-hero { padding: calc(var(--nav-height) + 50px) 0 60px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .btn { padding: 14px 26px; font-size: 0.92rem; width: 100%; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; }
  .stats-bar { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-image { height: 34px; }
  .whatsapp-fab { width: 52px; height: 52px; font-size: 1.4rem; bottom: 18px; right: 18px; }
  .testimonial-card { flex-basis: 86vw; }
}
