/* ═══════════════════════════════════════════════════════
   NESCOMM — SHOPIFY AGENCY STYLESHEET
   Theme: Professional Navy · White · Black
   ═══════════════════════════════════════════════════════ */

/* ─── CSS Variables ─────────────────────────────────── */
:root {
  --navy: #0f2d52;
  --navy-dark: #081d36;
  --navy-deep: #050f1e;
  --navy-mid: #1a4d8f;
  --navy-light: #e8f0fb;
  --navy-subtle: #f0f5fd;
  --accent: #2563eb;
  --accent-light: #dbeafe;
  --bg: #f8fafc;
  --bg-soft: #f8fafc;
  --bg-dark: #06101e;
  --text: #111827;
  --text-muted: #64748b;
  --heading: #060e1e;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --card-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.05);
  --card-shadow-hover: 0 20px 40px -8px rgba(15,45,82,0.22), 0 8px 16px -4px rgba(0,0,0,0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
}

/* ─── Reset & Base ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: 'Poppins', 'Inter', sans-serif; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ─── Announcement Bar ──────────────────────────────── */
.announce-bar {
  background: var(--navy);
  color: white;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 24px;
}

.announce-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.announce-link {
  background: rgba(255,255,255,0.18);
  color: white;
  padding: 4px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  transition: background 0.2s;
  white-space: nowrap;
}
.announce-link:hover { background: rgba(255,255,255,0.3); }

/* ─── Header ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 28px rgba(6,16,30,0.1);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--heading);
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo svg { flex-shrink: 0; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: white;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  width: 20px; height: 2px;
  background: var(--heading);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.site-header.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link, .nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  background: transparent;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover, .nav-btn:hover {
  background: var(--navy-light);
  color: var(--navy);
}
.nav-link-active { color: var(--navy); font-weight: 700; }

.chevron {
  display: inline-block;
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
}
.nav-btn.is-active { background: var(--navy); color: white; }
.nav-btn.is-active .chevron { border-color: white; transform: rotate(225deg) translateY(2px); }

/* Dropdown */
.dropdown {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: -12px;
}
.dropdown-panel {
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  transform: translateX(-50%) translateY(12px) scale(0.96);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(6,16,30,0.14);
  min-width: 240px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
  z-index: 300;
}
.dropdown-panel.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}
.dropdown-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  padding: 11px 14px;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}
.dropdown-panel a:hover { background: var(--navy-light); color: var(--navy); }
.dp-icon { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; color: var(--navy); flex-shrink: 0; }

/* Header right */
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.partner-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: var(--navy-light);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid rgba(15,45,82,0.15);
}
.btn-primary {
  background: var(--navy);
  color: white;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(15,45,82,0.3);
}
.btn-primary:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15,45,82,0.4);
}

/* ─── Hero Section ──────────────────────────────────── */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 80px 28px 60px;
  background: linear-gradient(135deg, #f8fafc 0%, #eef4fd 40%, #f8fafc 100%);
}

/* Background orbs */
.hero-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}
.orb-1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(15,45,82,0.18) 0%, transparent 70%);
  top: -110px; left: -90px;
  animation: orbFloat 12s ease-in-out infinite;
}
.orb-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(37,99,235,0.14) 0%, transparent 70%);
  top: 40%; right: -70px;
  animation: orbFloat 15s ease-in-out 3s infinite reverse;
}
.orb-3 {
  width: 290px; height: 290px;
  background: radial-gradient(circle, rgba(15,45,82,0.1) 0%, transparent 70%);
  bottom: -70px; left: 35%;
  animation: orbFloat 10s ease-in-out 6s infinite;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(20px,-15px) scale(1.04); }
  66% { transform: translate(-10px,10px) scale(0.97); }
}

/* Hero inner */
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero copy */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-light);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  border: 1px solid rgba(15,45,82,0.18);
  margin-bottom: 24px;
  animation: fadeUp 0.7s ease both;
}
.badge-pulse {
  width: 8px; height: 8px;
  background: var(--navy);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(15,45,82,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(15,45,82,0); }
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--heading);
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease 0.1s both;
}
.text-green {
  font-style: normal;
  color: var(--navy);
  position: relative;
}
.text-green::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--accent) 100%);
  border-radius: 2px;
  opacity: 0.25;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fadeUp 0.8s ease 0.3s both;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: white;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(15,45,82,0.35);
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  position: relative;
  overflow: hidden;
}
.btn-hero-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.18) 48%, transparent 68%);
  transform: translateX(-140%);
  transition: transform 0.5s;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15,45,82,0.45);
  background: var(--navy-dark);
}
.btn-hero-primary:hover::before { transform: translateX(140%); }

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--heading);
  font-size: 15px;
  font-weight: 700;
  padding: 15px 28px;
  border: 2px solid var(--border);
  border-radius: 999px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-hero-secondary:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--navy-light);
}

/* Trust bar */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: fadeUp 0.8s ease 0.4s both;
}
.trust-avatars { display: flex; align-items: center; }
.trust-avatars img {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2.5px solid white;
  object-fit: cover;
  margin-left: -8px;
  flex-shrink: 0;
}
.trust-avatars img:first-child { margin-left: 0; }
.trust-info { line-height: 1.4; }
.trust-stars { color: #f59e0b; font-size: 14px; letter-spacing: 1px; }
.trust-info span { font-size: 13px; color: var(--text-muted); }
.trust-info strong { color: var(--heading); }

/* ─── Hero Visual (Browser Mockup) ─────────────────── */
.hero-visual {
  position: relative;
  animation: fadeUp 1s ease 0.15s both;
}

.browser-mockup {
  background: white;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(6,16,30,0.16), 0 0 0 1px rgba(6,16,30,0.07);
  overflow: hidden;
  animation: floatCard 7s ease-in-out 1s infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border);
}
.browser-dots { display: flex; gap: 6px; }
.dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green-dot { background: #28c840; }

.browser-address {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11.5px;
  color: var(--text-muted);
  font-family: 'Inter', monospace;
  max-width: 260px;
  margin: 0 auto;
}
.browser-actions { display: flex; gap: 4px; }
.browser-actions span { width: 8px; height: 8px; background: var(--border); border-radius: 2px; }

/* Store inside browser */
.browser-body { background: white; }

.s-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid #f1f5f9;
  gap: 10px;
}
.s-logo { font-weight: 900; font-size: 12px; letter-spacing: 0.08em; color: var(--heading); flex-shrink: 0; }
.s-nav-links { display: flex; gap: 12px; }
.s-nav-links span { font-size: 10px; color: var(--text-muted); font-weight: 500; cursor: default; }
.s-cart { display: flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; color: var(--heading); cursor: default; flex-shrink: 0; }
.cart-count {
  background: var(--navy);
  color: white;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
}

.s-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-dark) 100%);
  padding: 14px 16px;
  gap: 10px;
  min-height: 90px;
}
.s-banner-text { color: white; }
.s-banner-tag { font-size: 9px; font-weight: 700; letter-spacing: 0.1em; opacity: 0.75; text-transform: uppercase; }
.s-banner-text h2 { font-size: 18px; font-weight: 900; line-height: 1.1; margin: 4px 0 8px; }
.s-shop-btn {
  background: white;
  color: var(--navy);
  border: none;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  cursor: default;
}
.s-banner-img { width: 70px; height: 70px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.s-banner-img img { width: 100%; height: 100%; object-fit: cover; }

.s-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px 12px 12px;
}
.s-product {
  background: #fafbfc;
  border: 1px solid #eef2f9;
  border-radius: 8px;
  overflow: hidden;
  padding-bottom: 8px;
}
.s-product-img-wrap { position: relative; background: #f5f7fb; aspect-ratio: 1 / 1; width: 100%; overflow: hidden; }
.s-product-img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.s-product-badge {
  position: absolute;
  top: 4px; left: 4px;
  background: var(--navy);
  color: white;
  font-size: 7px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
}
.s-product-name { font-size: 9px; font-weight: 700; color: var(--heading); padding: 5px 6px 2px; line-height: 1.3; }
.s-product-price { font-size: 9px; color: var(--navy); font-weight: 700; padding: 0 6px 5px; }
.s-product-price s { color: var(--text-muted); font-weight: 400; margin-left: 3px; }
.s-atc {
  display: block;
  margin: 0 6px;
  background: var(--navy);
  color: white;
  border: none;
  padding: 4px 0;
  border-radius: 5px;
  font-size: 7.5px;
  font-weight: 700;
  width: calc(100% - 12px);
  cursor: default;
}

/* ─── Floating Cards ─────────────────────────────────── */
.float-card {
  position: absolute;
  background: white;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(6,16,30,0.16), 0 0 0 1px rgba(6,16,30,0.06);
  padding: 12px 16px;
  z-index: 10;
}

.fc-order {
  display: flex;
  align-items: center;
  gap: 10px;
  bottom: 40px; left: -30px;
  min-width: 200px;
  animation: cardFloat1 5s ease-in-out 0.5s infinite;
}
@keyframes cardFloat1 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.fc-order-icon { width: 36px; height: 36px; background: var(--navy-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--navy); flex-shrink: 0; }
.fc-label { font-size: 11px; color: var(--text-muted); font-weight: 600; margin-bottom: 2px; }
.fc-value { font-size: 13px; font-weight: 800; color: var(--heading); }
.fc-time { font-size: 10px; color: #9ca3af; }
.fc-order-pulse {
  position: absolute;
  top: 12px; right: 12px;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.fc-revenue {
  top: -16px; right: -24px;
  min-width: 200px;
  animation: cardFloat2 6s ease-in-out 1.5s infinite;
}
@keyframes cardFloat2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.fc-rev-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}
.fc-revenue-num { font-size: 20px; font-weight: 900; color: var(--heading); font-family: 'Poppins', sans-serif; }
.fc-trend-badge { background: var(--navy-light); color: var(--navy); font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 999px; flex-shrink: 0; }
.fc-sparkline { display: block; width: 100%; height: 36px; }

.fc-rating {
  top: 50%; left: -36px;
  transform: translateY(-50%);
  min-width: 190px;
  animation: cardFloat3 7s ease-in-out 2.5s infinite;
}
@keyframes cardFloat3 {
  0%, 100% { transform: translateY(calc(-50% + 0px)); }
  50% { transform: translateY(calc(-50% - 7px)); }
}
.fc-stars { color: #f59e0b; font-size: 14px; letter-spacing: 1px; margin-bottom: 6px; }
.fc-quote { font-size: 12px; font-weight: 600; color: var(--heading); margin-bottom: 4px; }
.fc-author { font-size: 11px; color: var(--text-muted); }

/* ─── Ticker ─────────────────────────────────────────── */
.ticker-section {
  background: var(--navy);
  padding: 14px 0;
  overflow: hidden;
}
.ticker-track { overflow: hidden; }
.ticker-content {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  animation: tickerScroll 40s linear infinite;
  width: max-content;
}
.ticker-content span {
  color: rgba(255,255,255,0.88);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.t-dot { color: rgba(255,255,255,0.4) !important; font-size: 10px !important; }
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Stats Section ──────────────────────────────────── */
.stats-section {
  background: transparent;
  padding: 0 28px;
  position: relative;
  overflow: hidden;
}
.stats-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: 1;
  text-align: center;
}
.stat-divider {
  width: 1px;
  height: 44px;
  background: var(--border);
  flex-shrink: 0;
}
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ─── Section Common ─────────────────────────────────── */
.section-inner { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-header h2 {
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 900;
  color: var(--heading);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 12px 0 16px;
}
.section-header p { font-size: 17px; color: var(--text-muted); line-height: 1.7; }
.section-header--light h2 { color: white; }
.section-header--light p { color: rgba(255,255,255,0.65); }

.eyebrow-label {
  display: inline-block;
  background: var(--navy-light);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15,45,82,0.12);
}
.eyebrow-label--light {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.15);
}

/* ─── Services Section ──────────────────────────────── */
.services-section { padding: 70px 0; background: transparent; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(15,45,82,0.2);
}
.service-card:hover::before { transform: scaleX(1); }

.sc-icon-wrap {
  width: 52px; height: 52px;
  background: var(--icon-bg, var(--navy-light));
  color: var(--icon-color, var(--navy));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.sc-icon-wrap svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 19px; font-weight: 800; color: var(--heading); margin-bottom: 10px; line-height: 1.3; }
.service-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.sc-cta { font-size: 13.5px; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 4px; transition: gap 0.2s; }
.sc-cta:hover { gap: 8px; }

/* Featured service */
.service-card--featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-color: transparent;
}
.service-card--featured h3 { color: white; }
.service-card--featured p { color: rgba(255,255,255,0.75); }
.service-card--featured .sc-cta { color: rgba(255,255,255,0.9); }
.service-card--featured::before { background: white; }
.sc-featured-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: rgba(255,255,255,0.18);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
}

/* Popular service */
.service-card--popular {
  background: var(--navy-light);
  border-color: var(--navy);
  border-width: 2px;
  box-shadow: 0 8px 32px rgba(15,45,82,0.12);
}
.service-card--popular::before {
  transform: scaleX(1);
}
.service-card--popular h3 { color: var(--navy); }
.service-card--popular p { color: var(--navy-mid); opacity: 0.85; }
.service-card--popular .sc-cta { color: var(--navy); font-weight: 800; }
.sc-popular-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--navy);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

/* ─── Process Section ───────────────────────────────── */
.process-section {
  padding: 70px 0;
  background: transparent;
}
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-top: 48px;
}
.process-line {
  position: absolute;
  top: 32px;
  left: calc(10% + 20px);
  right: calc(10% + 20px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
}
.process-step {
  text-align: center;
  padding: 0 14px;
  position: relative;
  z-index: 2;
  transition: transform 0.25s ease;
}
.process-step:hover { transform: translateY(-4px); }
.ps-circle {
  width: 64px; height: 64px;
  background: var(--navy-light);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  color: var(--navy);
  transition: background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.ps-circle svg { width: 22px; height: 22px; }
.process-step:hover .ps-circle {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
  box-shadow: 0 8px 24px rgba(15,45,82,0.2);
}
.ps-num {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.process-step h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.35; }
.process-step p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ─── Tech Stack ─────────────────────────────────────── */
.tech-section { padding: 60px 0; background: transparent; }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tech-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: default;
}
.tech-item:hover {
  border-color: var(--navy);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(15,45,82,0.12);
}
.tech-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.tech-item span { font-size: 13.5px; font-weight: 700; color: var(--heading); }

/* ─── Portfolio Section ──────────────────────────────── */
.portfolio-section { padding: 70px 0; background: transparent; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.portfolio-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.portfolio-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(6,16,30,0.13); }
.pc-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.pc-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.portfolio-card:hover .pc-img-wrap img { transform: scale(1.07); }
.pc-overlay {
  position: absolute; inset: 0;
  background: rgba(6,16,30,0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.portfolio-card:hover .pc-overlay { opacity: 1; }
.pc-btn {
  background: var(--navy);
  color: white;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(10px);
  transition: transform 0.3s, background 0.2s;
}
.portfolio-card:hover .pc-btn { transform: translateY(0); }
.pc-btn:hover { background: var(--navy-dark); }
.pc-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: white;
  color: var(--heading);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.pc-info { padding: 24px; }
.pc-info h3 { font-size: 18px; font-weight: 800; color: var(--heading); margin-bottom: 10px; line-height: 1.3; }
.pc-info p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 18px; }
.pc-stats { display: flex; gap: 20px; border-top: 1px solid var(--border-light); padding-top: 16px; }
.pc-stat { text-align: center; flex: 1; }
.pc-stat strong { display: block; font-size: 18px; font-weight: 900; color: var(--navy); }
.pc-stat span { font-size: 11px; color: var(--text-muted); font-weight: 500; }

/* ─── Why Us Section ─────────────────────────────────── */
.why-us-section { padding: 70px 0; background: transparent; }
.why-us-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-us-left h2 {
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 900;
  color: var(--heading);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 12px 0 18px;
}
.why-lead { font-size: 17px; color: var(--text-muted); line-height: 1.7; margin-bottom: 36px; }
.why-features { display: grid; gap: 24px; }
.why-feature { display: flex; gap: 16px; align-items: flex-start; }
.wf-icon {
  width: 46px; height: 46px;
  background: var(--navy-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
}
.why-feature h4 { font-size: 16px; font-weight: 700; color: var(--heading); margin-bottom: 5px; }
.why-feature p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Dashboard mockup */
.dashboard-mockup {
  background: white;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(6,16,30,0.1), 0 0 0 1px rgba(6,16,30,0.04);
  overflow: hidden;
}
.dm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  gap: 16px;
  flex-wrap: wrap;
}
.dm-logo-area { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--heading); }
.dm-nav-tabs { display: flex; gap: 4px; }
.dm-nav-tabs span { font-size: 12px; font-weight: 500; color: var(--text-muted); padding: 5px 12px; border-radius: 6px; cursor: default; }
.dm-active { background: var(--navy) !important; color: white !important; font-weight: 700 !important; }
.dm-body { padding: 20px; }
.dm-period { font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 16px; }
.dm-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.dm-metric {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 12px 10px;
}
.dm-m-label { font-size: 10px; color: var(--text-muted); font-weight: 500; margin-bottom: 4px; }
.dm-m-val { font-size: 16px; font-weight: 800; color: var(--heading); margin-bottom: 4px; font-family: 'Poppins', sans-serif; }
.dm-m-change { font-size: 10px; font-weight: 700; }
.dm-m-change.up { color: #2563eb; }
.dm-chart-section { margin-bottom: 20px; }
.dm-chart-title { font-size: 12px; font-weight: 700; color: var(--heading); margin-bottom: 10px; }
.dm-chart { background: #f8fafc; border: 1px solid var(--border-light); border-radius: 10px; padding: 10px; }
.dm-order-row {
  display: grid;
  grid-template-columns: 50px 1fr auto 60px;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 12px;
}
.dm-order-row:last-child { border-bottom: none; }
.dm-oid { font-weight: 700; color: var(--heading); font-family: monospace; font-size: 11px; }
.dm-oname { color: var(--text-muted); }
.dm-oamt { font-weight: 700; color: var(--heading); text-align: right; }
.dm-ostatus { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; text-align: center; }
.dm-ostatus.fulfilled { background: var(--navy-light); color: var(--navy); }
.dm-ostatus.processing { background: #fef9c3; color: #854d0e; }

/* ─── Testimonials ───────────────────────────────────── */
.testimonials-section { padding: 70px 0; background: transparent; }
.reviews-bar { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; font-size: 14px; color: var(--text-muted); }
.reviews-stars { color: #f59e0b; font-size: 18px; letter-spacing: 2px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tc-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.tc-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.tc-card--featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-color: transparent;
}
.tc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.tc-stars { font-size: 16px; color: #f59e0b; letter-spacing: 2px; }
.tc-flag { font-size: 24px; }
.tc-text { font-size: 14.5px; line-height: 1.75; color: var(--text); margin-bottom: 22px; font-style: italic; }
.tc-card--featured .tc-text { color: rgba(255,255,255,0.88); }
.tc-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--border); padding-top: 18px; }
.tc-card--featured .tc-author { border-top-color: rgba(255,255,255,0.18); }
.tc-author img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--navy-light);
}
.tc-card--featured .tc-author img { border-color: rgba(255,255,255,0.25); }
.tc-author h4 { font-size: 15px; font-weight: 700; color: var(--heading); margin-bottom: 3px; }
.tc-card--featured .tc-author h4 { color: white; }
.tc-author span { font-size: 12.5px; color: var(--text-muted); line-height: 1.4; }
.tc-card--featured .tc-author span { color: rgba(255,255,255,0.65); }

/* ─── India CTA Section ──────────────────────────────── */
.india-cta {
  padding: 70px 28px;
  background: transparent;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.india-cta-orbs { display: none; }
.india-cta-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.india-badge {
  display: inline-block;
  background: var(--navy-light);
  border: 1px solid rgba(15,45,82,0.15);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 999px;
  margin-bottom: 30px;
  letter-spacing: 0.04em;
}
.india-cta h2 {
  font-size: clamp(34px, 4.5vw, 62px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.india-cta p { font-size: 18px; color: var(--text-muted); line-height: 1.7; margin-bottom: 40px; }
.cta-btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.btn-cta-green {
  background: var(--navy);
  color: white;
  padding: 16px 36px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 8px 28px rgba(15,45,82,0.22);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-cta-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(15,45,82,0.32);
  background: var(--navy-dark);
}
.btn-cta-outline {
  background: transparent;
  color: var(--navy);
  padding: 15px 32px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.btn-cta-outline:hover { background: var(--navy); color: white; }
.cta-countries { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.cta-countries span {
  background: var(--navy-light);
  border: 1px solid rgba(15,45,82,0.1);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}

/* ─── Newsletter ─────────────────────────────────────── */
.newsletter-section { padding: 0 28px; background: var(--bg); }
.nl-wrap {
  max-width: 1100px;
  margin: 0 auto -50px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: 20px;
  padding: 36px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 50px rgba(15,45,82,0.35);
}
.nl-left h3 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 800; color: white; margin-bottom: 6px; }
.nl-left p { font-size: 14px; color: rgba(255,255,255,0.65); }
.nl-form { display: flex; gap: 10px; min-width: min(420px, 100%); }
.nl-form input {
  flex: 1;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  height: 48px;
  padding: 0 16px;
  color: white;
  font: inherit;
  font-size: 14px;
}
.nl-form input::placeholder { color: rgba(255,255,255,0.55); }
.nl-form input:focus { outline: none; border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.18); }
.nl-form button {
  background: white;
  color: var(--navy);
  border: none;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nl-form button:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.18); }

/* ─── Footer ─────────────────────────────────────────── */
.site-footer { background: transparent; padding: 64px 28px 28px; border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}
.footer-brand-col p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 18px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.f-badge {
  background: var(--navy-light);
  border: 1px solid rgba(15,45,82,0.12);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.footer-social a:hover { background: var(--navy); border-color: var(--navy); color: white; }
.footer-col { }
.footer-col h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 18px; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-col a { display: block; font-size: 13.5px; color: var(--text-muted); margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--navy); }
.footer-col p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 10px; line-height: 1.5; }
.footer-col p a { display: inline; margin-bottom: 0; }
.footer-bottom {
  max-width: 1240px;
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-shopify a { color: var(--text-muted); }
.footer-shopify a:hover { color: var(--navy); }

/* ─── WhatsApp Float Button ──────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.15);
  z-index: 999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: waPulse 3s ease-in-out 2s infinite;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.15); }
  50% { box-shadow: 0 8px 28px rgba(37,211,102,0.45), 0 0 0 10px rgba(37,211,102,0.12), 0 2px 8px rgba(0,0,0,0.15); }
}
.wa-float:hover {
  transform: translateY(-4px) scale(1.07);
  box-shadow: 0 16px 40px rgba(37,211,102,0.5), 0 4px 12px rgba(0,0,0,0.18);
}
.wa-tooltip {
  position: absolute;
  right: 66px;
  background: #111827;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  top: 50%; right: -5px;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #111827;
  border-right: none;
}
.wa-float:hover .wa-tooltip { opacity: 1; }

/* ─── Floating Action Buttons ────────────────────────── */

/* ─── Contact Popup ──────────────────────────────────── */
.contact-popup-card {
  background: white;
  border-radius: 24px;
  padding: 36px 32px 32px;
  width: min(380px, calc(100% - 32px));
  box-shadow: 0 30px 80px rgba(6,16,30,0.3);
  animation: popupIn 0.28s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes popupIn {
  from { opacity: 0; transform: scale(0.9) translateY(14px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.contact-popup-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  background: white;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.contact-popup-close:hover { background: #fee2e2; color: #dc2626; border-color: #fecaca; }
.contact-popup-card h3 { font-size: 22px; font-weight: 800; color: var(--heading); margin: 0 0 6px; }
.contact-popup-card > p { font-size: 13.5px; color: var(--text-muted); margin: 0 0 22px; }
.popup-action {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.popup-action:last-child { margin-bottom: 0; }
.popup-action:hover { transform: translateY(-2px); }
.popup-call {
  background: #f0f4ff;
  border: 1.5px solid #dce6ff;
  color: var(--navy);
}
.popup-call:hover { box-shadow: 0 8px 24px rgba(15,45,82,0.15); }
.popup-whatsapp {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  color: #15803d;
}
.popup-whatsapp:hover { box-shadow: 0 8px 24px rgba(37,211,102,0.2); }
.popup-action-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.popup-call .popup-action-icon { background: var(--navy); color: white; }
.popup-whatsapp .popup-action-icon { background: #25D366; color: white; }
.popup-action strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.2; }
.popup-action small { display: block; font-size: 12.5px; opacity: 0.75; font-weight: 500; margin-top: 2px; }
body.popup-open { overflow: hidden; }

/* ─── Scroll Animations ──────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* ─── Responsive ─────────────────────────────────────── */

/* ── Tablet landscape ≤1100px ─────────────────────────── */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-content { max-width: 640px; margin: 0 auto; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { max-width: 600px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: 1fr; gap: 16px; }
  .process-line { display: none; }
  .ps-circle { margin: 0 0 14px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { flex-wrap: wrap; gap: 0; }
  .stat-item { flex: 0 0 50%; padding: 20px 0; }
  .stat-divider { display: none; }
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
  .dm-metrics { grid-template-columns: repeat(2, 1fr); }
}

/* ── Tablet portrait / mobile ≤768px ─────────────────── */
@media (max-width: 768px) {
  /* Announcement bar — hide button, keep text */
  .announce-link { display: none; }

  /* Header */
  .header-inner { height: auto; min-height: 60px; padding: 10px 16px; flex-wrap: wrap; }
  .menu-toggle { display: inline-flex; order: -1; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    transform: none; display: none; flex-direction: column;
    align-items: stretch; background: white;
    border-bottom: 1px solid var(--border);
    padding: 8px 12px 12px; z-index: 100;
    box-shadow: 0 10px 30px rgba(6,16,30,0.1);
    gap: 2px;
  }
  .site-header.menu-open .nav-menu { display: flex; }
  .nav-link, .nav-btn { width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; font-size: 15px; }

  /* Mobile: Services button open state — light, not full navy */
  .nav-btn.is-active {
    background: var(--navy-light);
    color: var(--navy);
    border-radius: 8px 8px 0 0;
  }
  .nav-btn.is-active .chevron {
    border-color: var(--navy);
    transform: rotate(225deg) translateY(2px);
  }

  /* Mobile dropdown panel */
  .dropdown { width: 100%; padding-bottom: 0; margin-bottom: 0; }
  .dropdown-panel {
    display: none !important;
    position: static; transform: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    border: none; box-shadow: none;
    width: 100%; background: var(--navy-light);
    border-radius: 0 0 10px 10px;
    margin-top: 0; padding: 4px 6px 8px;
  }
  .dropdown-panel.show {
    display: block !important;
    position: static !important;
    transform: none !important;
    left: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .dropdown-panel a {
    padding: 10px 12px 10px 16px;
    font-size: 14px;
    border-radius: 8px;
    border-left: 3px solid rgba(15,45,82,0.2);
    margin-bottom: 2px;
  }
  .dropdown-panel a:last-child { margin-bottom: 0; }
  .partner-badge { display: none; }
  .btn-primary { font-size: 13px; padding: 9px 16px; }

  /* Section common */
  .section-inner { padding: 0 16px; }

  /* Hero */
  .hero-section { padding: 44px 16px 36px; }
  .hero-badge { font-size: 11.5px; padding: 5px 12px; margin-bottom: 18px; }
  .hero-title { font-size: clamp(30px, 9vw, 44px); }
  .hero-subtitle { font-size: 16px; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 28px; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; font-size: 15px; padding: 14px 20px; }
  .hero-trust { flex-wrap: wrap; justify-content: center; gap: 10px; }

  /* Float cards — tighter positioning */
  .fc-order { left: 0; bottom: 16px; min-width: 170px; padding: 10px 12px; }
  .fc-revenue { right: 0; top: -8px; min-width: 168px; padding: 10px 12px; }
  .fc-revenue-num { font-size: 16px; }
  .fc-rating { left: 0; top: auto; transform: none; bottom: 120px; min-width: 160px; padding: 10px 12px; }
  .fc-quote { font-size: 11px; }

  /* Stats */
  .stats-section { padding: 0 16px; }
  .stats-inner { flex-wrap: wrap; gap: 0; }
  .stat-item { flex: 0 0 50%; padding: 18px 10px; }

  /* Services */
  .services-section { padding: 56px 0; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 24px 20px; }

  /* Process — vertical cards */
  .process-section { padding: 56px 0; }
  .process-track { display: flex; flex-direction: column; gap: 12px; }
  .process-step {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  }
  .process-step:hover { transform: none; }
  .ps-circle {
    width: 48px; height: 48px;
    margin: 0 0 14px;
    flex-shrink: 0;
  }
  .ps-num { font-size: 11px; margin-bottom: 6px; }
  .process-step h3 { font-size: 16px; margin-bottom: 6px; }
  .process-step p { font-size: 13.5px; }

  /* Tech */
  .tech-section { padding: 48px 0; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tech-item { padding: 18px 12px; }
  .tech-icon { width: 46px; height: 46px; }

  /* Portfolio */
  .portfolio-section { padding: 56px 0; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .pc-img-wrap { height: 200px; }

  /* Why us */
  .why-us-section { padding: 56px 0; }

  /* Testimonials */
  .testimonials-section { padding: 56px 0; }
  .testimonials-grid { grid-template-columns: 1fr; }

  /* India CTA */
  .india-cta { padding: 56px 16px; }
  .cta-btn-row { flex-direction: column; align-items: stretch; max-width: 360px; margin-left: auto; margin-right: auto; }
  .btn-cta-green, .btn-cta-outline { width: 100%; text-align: center; padding: 14px 20px; font-size: 15px; }

  /* Newsletter */
  .newsletter-section { padding: 0 16px; }
  .nl-wrap { flex-direction: column; padding: 28px 20px; border-radius: 16px; margin-bottom: -36px; }
  .nl-form { width: 100%; flex-direction: column; }
  .nl-form input, .nl-form button { width: 100%; }

  /* Footer */
  .site-footer { padding: 52px 16px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 12px; }

  /* Dashboard mockup */
  .dm-nav-tabs span:not(.dm-active) { display: none; }
  .dm-order-row { grid-template-columns: 46px 1fr 50px; }
  .dm-ostatus { display: none; }
}

/* ── Medium mobile ≤640px ─────────────────────────────── */
@media (max-width: 640px) {
  /* Section headers */
  .section-header h2 { font-size: clamp(24px, 7vw, 38px); }
  .section-header p { font-size: 15px; }
  .section-header { margin-bottom: 32px; }

  /* Stats tighter */
  .stat-num { font-size: clamp(24px, 7vw, 34px); }

  /* Service cards */
  .service-card h3 { font-size: 17px; }

  /* Portfolio */
  .pc-info { padding: 18px; }
  .pc-info h3 { font-size: 16px; }
  .pc-stats { gap: 12px; }

  /* Process — already handled at 768px */

  /* Why us */
  .wf-icon { width: 40px; height: 40px; }
  .why-feature h4 { font-size: 15px; }

  /* Testimonials */
  .tc-card { padding: 20px; }
  .tc-text { font-size: 14px; }

  /* India CTA */
  .india-cta h2 { font-size: clamp(26px, 8vw, 40px); }
  .india-cta p { font-size: 15px; }
  .cta-countries { gap: 6px; }
  .cta-countries span { font-size: 11px; padding: 4px 10px; }

  /* Newsletter */
  .nl-left h3 { font-size: clamp(17px, 5vw, 22px); }

  /* Footer */
  .footer-brand-col p, .footer-col a, .footer-col p { font-size: 13px; }
}

/* ── Small mobile ≤480px ──────────────────────────────── */
@media (max-width: 480px) {
  .announce-bar { font-size: 11.5px; padding: 8px 14px; }
  .announce-inner { flex-direction: column; gap: 6px; text-align: center; }
  .hero-title { font-size: clamp(26px, 9vw, 36px); }
  .hero-trust { gap: 8px; }
  .trust-avatars img { width: 28px; height: 28px; }

  /* Float cards hidden at small sizes */
  .float-card { display: none; }
  .browser-mockup { border-radius: 12px; }
  .s-nav-links { display: none; }
  .browser-address { font-size: 10px; }

  /* Stats: single column */
  .stats-inner { flex-direction: column; align-items: stretch; }
  .stat-item { flex: 0 0 auto; width: 100%; padding: 14px 0; border-bottom: 1px solid var(--border-light); }
  .stat-item:last-child { border-bottom: none; }
  .stat-divider { display: none; }

  /* Sections tighter */
  .services-section, .process-section, .portfolio-section,
  .why-us-section, .testimonials-section, .tech-section { padding: 44px 0; }
  .india-cta { padding: 44px 16px; }
  .about-story, .about-projects, .about-reviews, .about-cta { padding: 44px 16px !important; }

  /* Cards */
  .service-card { padding: 20px 16px; }
  .process-step { padding: 14px 12px; gap: 12px; }
  .tc-card { padding: 18px 16px; }

  /* Tech grid stays 2-col on small mobile */
  .tech-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tech-item { padding: 16px 8px; }
  .tech-icon { width: 40px; height: 40px; }
  .tech-item span { font-size: 12px; }

  /* Footer */
  .footer-inner { gap: 20px; }
  .nl-wrap { border-radius: 12px; padding: 22px 16px; }
}

/* ── FAB buttons mobile size ──────────────────────────── */
@media (max-width: 768px) {
  #fabBtns { bottom: 18px; right: 16px; gap: 8px; }
  #fabBtns .fab-btn { width: 42px !important; height: 42px !important; }
  #fabBtns .fab-icon { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
