/* ==========================================================================
   SCALELYT DIGITAL — OFFICIAL STYLESHEET
   Brand: Scalelyt Digital | Tagline: Ideas Built to Scale.
   Modern, Ultra-responsive, Glassmorphic & Accessible (WCAG 2.2 AA)
   ========================================================================== */


/* --- 1. CSS Design Tokens --- */
:root {
  /* Brand Primary & Accents (PRD 3.2 & 11) */
  --sd-teal: #41bbbd;
  --sd-ocean: #10769c;
  --sd-royal-blue: #3958a5;
  --sd-navy: #2d3f7d;
  --sd-indigo: #5b4ea0;
  --sd-purple: #694299;
  --sd-magenta: #b64491;
  --sd-pink: #ed3182;
  --sd-rose: #df388d;
  --sd-yellow: #fcba1c;
  --sd-orange: #ee7e28;
  --sd-flame: #f05826;

  /* Official Brand Gradient */
  --sd-gradient: linear-gradient(135deg, #41bbbd 0%, #3958a5 35%, #694299 60%, #ed3182 82%, #fcba1c 100%);
  --sd-gradient-text: linear-gradient(135deg, #10769c 0%, #3958a5 35%, #694299 70%, #ed3182 100%);
  --sd-gradient-btn: linear-gradient(135deg, #3958a5 0%, #694299 50%, #ed3182 100%);
  --sd-gradient-accent: linear-gradient(135deg, #41bbbd 0%, #3958a5 100%);

  /* Light Theme Defaults */
  --bg-page: #f8fafc;
  --bg-page-alt: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.88);
  --bg-dropdown: #ffffff;
  
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --border-light: rgba(45, 63, 125, 0.12);
  --border-hover: rgba(57, 88, 165, 0.35);

  --shadow-sm: 0 2px 8px rgba(45, 63, 125, 0.05);
  --shadow-md: 0 10px 30px rgba(45, 63, 125, 0.08);
  --shadow-lg: 0 20px 45px rgba(45, 63, 125, 0.12);
  --shadow-glow: 0 12px 30px rgba(237, 49, 130, 0.25);
  --shadow-glow-teal: 0 12px 30px rgba(65, 187, 189, 0.25);

  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --nav-height: 80px;
  --transition-normal: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Dark Theme Overrides */
[data-theme="dark"] {
  --bg-page: #090d16;
  --bg-page-alt: #0e1424;
  --bg-card: rgba(18, 25, 44, 0.82);
  --bg-card-hover: rgba(24, 34, 60, 0.95);
  --bg-header: rgba(9, 13, 22, 0.88);
  --bg-dropdown: #12192c;

  --text-main: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-inverse: #090d16;

  --border-light: rgba(255, 255, 255, 0.09);
  --border-hover: rgba(65, 187, 189, 0.4);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 35px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 12px 35px rgba(237, 49, 130, 0.35);
  --shadow-glow-teal: 0 12px 35px rgba(65, 187, 189, 0.35);

  --sd-gradient-text: linear-gradient(135deg, #41bbbd 0%, #7d96eb 40%, #c084fc 75%, #f472b6 100%);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.65;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  position: relative;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Accessibility Focus Outline */
:focus-visible {
  outline: 3px solid var(--sd-teal);
  outline-offset: 3px;
}

/* Skip link */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--sd-royal-blue);
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 10000;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-to-content:focus {
  top: 20px;
}

/* Ambient Background Glows */
.ambient-glows {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.16;
  will-change: transform;
}
[data-theme="dark"] .glow-orb {
  opacity: 0.28;
}
.glow-1 {
  width: 550px;
  height: 550px;
  background: var(--sd-teal);
  top: -120px;
  right: -100px;
  animation: floatOrb 18s ease-in-out infinite alternate;
}
.glow-2 {
  width: 600px;
  height: 600px;
  background: var(--sd-purple);
  top: 40%;
  left: -200px;
  animation: floatOrb2 22s ease-in-out infinite alternate;
}
.glow-3 {
  width: 450px;
  height: 450px;
  background: var(--sd-pink);
  bottom: -100px;
  right: 15%;
  animation: floatOrb 20s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 80px) scale(1.08); }
  100% { transform: translate(-40px, 40px) scale(0.95); }
}
@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, -60px) scale(1.1); }
  100% { transform: translate(30px, 50px) scale(0.9); }
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--sd-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-bar {
  width: 70px;
  height: 4px;
  background: var(--sd-gradient);
  border-radius: var(--radius-full);
  margin: 12px 0 20px;
}
.gradient-bar.center {
  margin: 12px auto 20px;
}

p {
  color: var(--text-body);
  font-size: 1.05rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-normal);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}
.section-alt {
  background-color: var(--bg-page-alt);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 60px;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(65, 187, 189, 0.12);
  color: var(--sd-ocean);
  border: 1px solid rgba(65, 187, 189, 0.25);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
[data-theme="dark"] .section-badge {
  color: var(--sd-teal);
  background: rgba(65, 187, 189, 0.15);
  border-color: rgba(65, 187, 189, 0.35);
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* --- 3. Buttons & Interactive Elements --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  white-space: nowrap;
}
.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}
.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--sd-gradient-btn);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(57, 88, 165, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--sd-navy);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
[data-theme="dark"] .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: var(--border-light);
}
.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--sd-royal-blue);
  transform: translateY(-2px);
}

.btn-teal {
  background: var(--sd-teal);
  color: #0c3839;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(65, 187, 189, 0.3);
}
.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-teal);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1.5px solid var(--border-hover);
}
.btn-outline:hover {
  background: rgba(65, 187, 189, 0.08);
  border-color: var(--sd-teal);
  color: var(--sd-teal);
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  background: #20BA56;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

/* --- 4. Navigation & Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: var(--transition-normal);
}
.header.scrolled {
  box-shadow: var(--shadow-md);
  height: 72px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo-img {
  height: 44px;
  width: auto;
  transition: transform 0.3s ease;
}
.brand-logo-img.dark-only {
  display: none;
}
[data-theme="dark"] .brand-logo-img.light-only {
  display: none;
}
[data-theme="dark"] .brand-logo-img.dark-only {
  display: block;
}
.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.03);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-body);
  position: relative;
  padding: 8px 0;
}
.nav-link:hover,
.nav-link.active {
  color: var(--sd-royal-blue);
}
[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
  color: var(--sd-teal);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--sd-gradient);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Nav dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 290px;
  background: var(--bg-dropdown);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition-normal);
  pointer-events: none;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  transition: var(--transition-normal);
}
.dropdown-item a:hover {
  background: var(--bg-page-alt);
  color: var(--sd-royal-blue);
  transform: translateX(4px);
}
[data-theme="dark"] .dropdown-item a:hover {
  color: var(--sd-teal);
}
.dropdown-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(65, 187, 189, 0.12);
  color: var(--sd-ocean);
  font-size: 0.95rem;
}
[data-theme="dark"] .dropdown-icon {
  color: var(--sd-teal);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition-normal);
  font-size: 1.1rem;
}
[data-theme="dark"] .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
}
.theme-toggle-btn:hover {
  color: var(--sd-pink);
  transform: rotate(20deg);
  border-color: var(--sd-pink);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 8px;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 380px;
  height: 100vh;
  background: var(--bg-page);
  border-left: 1px solid var(--border-light);
  box-shadow: -10px 0 30px rgba(0,0,0,0.25);
  z-index: 2000;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}
.mobile-nav-drawer.open {
  right: 0;
}
.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}
.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  display: block;
  padding: 8px 0;
}

/* --- 5. Hero Section --- */
.hero-section {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
}

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

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: rgba(65, 187, 189, 0.1);
  border: 1px solid rgba(65, 187, 189, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sd-ocean);
  margin-bottom: 24px;
}
[data-theme="dark"] .hero-pill-badge {
  color: var(--sd-teal);
}
.hero-pill-pulse {
  width: 8px;
  height: 8px;
  background: var(--sd-pink);
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(237, 49, 130, 0.7);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(237, 49, 130, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(237, 49, 130, 0); }
  100% { box-shadow: 0 0 0 0 rgba(237, 49, 130, 0); }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}
.trust-badge-item {
  display: flex;
  flex-direction: column;
}
.trust-badge-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--sd-royal-blue);
}
[data-theme="dark"] .trust-badge-number {
  color: var(--sd-teal);
}
.trust-badge-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Visual Box */
.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  transition: transform 0.4s ease;
}
.hero-visual-card:hover {
  transform: translateY(-6px);
}
.hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Floating overlay widgets */
.floating-stat-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(18, 25, 44, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(65, 187, 189, 0.35);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  animation: floatSlow 6s ease-in-out infinite alternate;
}
.floating-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--sd-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
}
.floating-stat-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sd-teal);
  font-weight: 700;
}
.floating-stat-val {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.floating-ai-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(18, 25, 44, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(237, 49, 130, 0.4);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  animation: floatSlow 6s ease-in-out infinite alternate-reverse;
}
.ai-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sd-pink);
  box-shadow: 0 0 10px var(--sd-pink);
}

@keyframes floatSlow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* --- 6. Trust Strip --- */
.trust-strip {
  padding: 30px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-page-alt);
}
.trust-strip-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.trust-strip-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.trust-pill {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.trust-pill:hover {
  opacity: 1;
  color: var(--sd-royal-blue);
}

/* --- 7. Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.service-card-tag {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(65, 187, 189, 0.12);
  color: var(--sd-ocean);
}
[data-theme="dark"] .service-card-tag {
  color: var(--sd-teal);
  background: rgba(65, 187, 189, 0.18);
}
.service-card-tag.highlight {
  background: rgba(237, 49, 130, 0.12);
  color: var(--sd-pink);
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--sd-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(57, 88, 165, 0.25);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.service-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-deliverables {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-deliverables li {
  font-size: 0.88rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 10px;
}
.check-icon {
  color: var(--sd-teal);
  font-weight: bold;
}

.service-action-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--sd-royal-blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}
[data-theme="dark"] .service-action-link {
  color: var(--sd-teal);
}
.service-action-link:hover {
  gap: 12px;
}

/* Feature Spotlight: GEO / AEO */
.geo-spotlight-card {
  grid-column: span 3;
  background: linear-gradient(135deg, rgba(45, 63, 125, 0.04) 0%, rgba(105, 66, 153, 0.08) 100%);
  border: 1.5px solid rgba(105, 66, 153, 0.25);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}
[data-theme="dark"] .geo-spotlight-card {
  background: linear-gradient(135deg, rgba(20, 27, 48, 0.9) 0%, rgba(35, 25, 60, 0.9) 100%);
  border-color: rgba(182, 68, 145, 0.35);
}
.geo-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.geo-badge-pill {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-body);
}

/* --- 8. Why Scalelyt Digital (Comparison & Pillars) --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.why-pillar {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: left;
  transition: var(--transition-normal);
}
.why-pillar:hover {
  transform: translateY(-4px);
  border-color: var(--sd-teal);
  box-shadow: var(--shadow-md);
}
.why-pillar-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(65, 187, 189, 0.4);
  margin-bottom: 12px;
}
.why-pillar-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.why-pillar-text {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Comparison Table */
.comparison-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-md);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 650px;
}
.comparison-table th,
.comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}
.comparison-table th {
  background: var(--bg-page-alt);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
}
.comparison-table th.brand-col {
  background: rgba(65, 187, 189, 0.1);
  color: var(--sd-royal-blue);
  font-size: 1.05rem;
}
[data-theme="dark"] .comparison-table th.brand-col {
  color: var(--sd-teal);
}
.comparison-table td.brand-col {
  background: rgba(65, 187, 189, 0.05);
  font-weight: 600;
  color: var(--text-main);
}

/* --- 9. Process (Stepping Timeline) --- */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
.process-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  position: relative;
  transition: var(--transition-normal);
}
.process-step-card:hover {
  transform: translateY(-6px);
  border-color: var(--sd-royal-blue);
  box-shadow: var(--shadow-md);
}
.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sd-gradient);
  color: white;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* --- 10. Portfolio Showcase --- */
.portfolio-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-body);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
}
.filter-btn:hover {
  border-color: var(--sd-royal-blue);
  color: var(--sd-royal-blue);
}
.filter-btn.active {
  background: var(--sd-gradient-btn);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}
.portfolio-thumb-wrap {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}
.portfolio-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-card:hover .portfolio-thumb-wrap img {
  transform: scale(1.05);
}
.portfolio-category-pill {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(18, 25, 44, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.portfolio-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.portfolio-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.portfolio-challenge {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.portfolio-metrics {
  display: flex;
  gap: 20px;
  padding: 14px 18px;
  background: var(--bg-page-alt);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}
.metric-box-val {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--sd-royal-blue);
}
[data-theme="dark"] .metric-box-val {
  color: var(--sd-teal);
}
.metric-box-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* --- 11. Interactive Growth Audit / Calculator --- */
.audit-tool-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  max-width: 960px;
  margin: 0 auto;
}
.audit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.audit-input-group {
  margin-bottom: 20px;
}
.audit-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}
.audit-select,
.audit-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-normal);
}
.audit-select:focus,
.audit-input:focus {
  border-color: var(--sd-teal);
  outline: none;
}
.audit-result-card {
  background: linear-gradient(135deg, rgba(65, 187, 189, 0.08) 0%, rgba(57, 88, 165, 0.12) 100%);
  border: 1px solid rgba(65, 187, 189, 0.3);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}
.audit-score-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 4px solid var(--sd-teal);
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--sd-royal-blue);
  background: var(--bg-card);
}
[data-theme="dark"] .audit-score-circle {
  color: var(--sd-teal);
}

/* --- 12. Blog & Insights Hub --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  cursor: pointer;
}
.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--sd-royal-blue);
  box-shadow: var(--shadow-lg);
}
.blog-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.blog-cat-badge {
  font-weight: 700;
  color: var(--sd-pink);
  text-transform: uppercase;
}
.blog-title {
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 12px;
}
.blog-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}
.blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
}
.blog-read-link {
  font-weight: 700;
  color: var(--sd-royal-blue);
  display: flex;
  align-items: center;
  gap: 6px;
}
[data-theme="dark"] .blog-read-link {
  color: var(--sd-teal);
}

/* --- 13. FAQ Accordion --- */
.faq-filter-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.faq-filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-body);
  transition: var(--transition-normal);
}
.faq-filter-btn.active {
  background: var(--sd-royal-blue);
  color: white;
  border-color: var(--sd-royal-blue);
}

.faq-accordion-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
}
.faq-item.active {
  border-color: var(--sd-royal-blue);
  box-shadow: var(--shadow-sm);
}
.faq-question-btn {
  width: 100%;
  padding: 22px 26px;
  text-align: left;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
}
.faq-toggle-icon {
  font-size: 1.3rem;
  color: var(--sd-royal-blue);
  transition: transform 0.3s ease;
}
.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}
.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 26px;
}
.faq-item.active .faq-answer-panel {
  max-height: 300px;
  padding: 0 26px 24px;
}
.faq-answer-panel p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- 14. Contact & Consultation Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
}
.contact-form-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.contact-form-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-normal);
}
.form-control:focus {
  outline: none;
  border-color: var(--sd-royal-blue);
  box-shadow: 0 0 0 3px rgba(57, 88, 165, 0.15);
}
textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  margin-bottom: 24px;
}
.form-checkbox-label input {
  margin-top: 3px;
  accent-color: var(--sd-royal-blue);
}

/* Contact Info Sidebar */
.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-detail-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: var(--transition-normal);
}
.contact-detail-box:hover {
  border-color: var(--sd-teal);
  transform: translateY(-3px);
}
.contact-icon-bubble {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(65, 187, 189, 0.12);
  color: var(--sd-ocean);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
[data-theme="dark"] .contact-icon-bubble {
  color: var(--sd-teal);
}
.contact-box-title {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.contact-box-val {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.contact-box-link {
  font-weight: 600;
  color: var(--sd-royal-blue);
}
[data-theme="dark"] .contact-box-link {
  color: var(--sd-teal);
}

.direct-actions-banner {
  background: var(--sd-gradient);
  border-radius: var(--radius-lg);
  padding: 30px;
  color: white;
  text-align: center;
}
.direct-actions-banner h4 {
  color: white;
  margin-bottom: 8px;
}
.direct-actions-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

/* Styled Map Container */
.map-preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 20px;
}
.map-preview-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.map-visual-placeholder {
  height: 160px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #10769c 0%, #2d3f7d 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 16px;
}

/* --- 15. Footer --- */
.footer {
  background: #070b14;
  color: #94a3b8;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-brand p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin: 18px 0 24px;
  max-width: 320px;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}
.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: var(--transition-normal);
}
.social-icon-btn:hover {
  background: var(--sd-royal-blue);
  color: #ffffff;
  transform: translateY(-3px);
  border-color: var(--sd-royal-blue);
}

.footer-col-title {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 20px;
  font-weight: 700;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: var(--transition-normal);
}
.footer-links a:hover {
  color: var(--sd-teal);
  transform: translateX(4px);
}

.footer-contact-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact-items li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}
.footer-legal-links {
  display: flex;
  gap: 20px;
}
.footer-legal-links a:hover {
  color: var(--sd-teal);
}

/* --- 16. Floating WhatsApp Badge --- */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.whatsapp-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  transition: var(--transition-bounce);
}
.floating-whatsapp-widget:hover .whatsapp-circle {
  transform: scale(1.12);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65);
}
.whatsapp-tooltip {
  background: rgba(18, 25, 44, 0.9);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

/* --- 17. Cookie Consent Banner (PRD F12) --- */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 460px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner-title {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-banner-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}
.cookie-banner-actions {
  display: flex;
  gap: 10px;
}

/* --- 18. Modals (Case Studies & Articles) --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal-window {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  max-width: 780px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  padding: 40px;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.open .modal-window {
  transform: scale(1);
}
.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-page-alt);
  border: 1px solid var(--border-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-main);
  transition: var(--transition-normal);
}
.modal-close-btn:hover {
  background: var(--sd-pink);
  color: white;
  border-color: var(--sd-pink);
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  color: white;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10001;
  opacity: 0;
  transition: 0.35s ease;
}
.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* --- 19. Responsive Breakpoints --- */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-trust-badges {
    justify-content: center;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .geo-spotlight-card {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-menu,
  .header-cta-btn {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .section {
    padding: 70px 0;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .services-grid,
  .portfolio-grid,
  .blog-grid,
  .contact-grid,
  .audit-grid {
    grid-template-columns: 1fr;
  }
  .geo-spotlight-card {
    grid-column: span 1;
  }
  .process-steps-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 500px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .btn-lg {
    width: 100%;
  }
  .floating-stat-badge {
    left: 12px;
    bottom: 12px;
    padding: 10px 14px;
  }
}


/* ==========================================================================
   20. RESPONSIVE & USABILITY REFINEMENTS (v2)
   Fixes: mobile overflow, cramped hero stats, touch targets, iOS input zoom,
   WhatsApp/cookie overlap, anchor offset under sticky header.
   ========================================================================== */

/* Never allow sideways scrolling */
html, body { overflow-x: clip; max-width: 100%; }
img, svg, video { max-width: 100%; height: auto; }

/* Anchor links should land below the sticky header */
html { scroll-padding-top: calc(var(--nav-height) + 12px); }

/* Let grid children shrink instead of stretching the page (cards were wider than the phone screen) */
.services-grid > *, .portfolio-grid > *, .blog-grid > *, .contact-grid > *,
.audit-grid > *, .why-grid > *, .process-steps-grid > *, .footer-grid > *,
.hero-grid > *, .geo-spotlight-card > *, .form-row > * { min-width: 0; }
.service-title, .service-desc, .portfolio-title, h1, h2, h3 { overflow-wrap: anywhere; }

/* Comfortable touch targets (44px is the recommended minimum) */
.btn, .filter-btn, .faq-filter-btn { min-height: 44px; }
.filter-btn, .faq-filter-btn { display: inline-flex; align-items: center; justify-content: center; }
.service-action-link { display: inline-flex; align-items: center; min-height: 44px; }
.contact-box-link { display: inline-block; padding: 8px 0; }
.footer-links a { display: inline-block; padding: 8px 0; }
.mobile-toggle { min-width: 44px; min-height: 44px; }
input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--sd-royal-blue); flex-shrink: 0; }

/* Tablet */
@media (max-width: 1100px) and (min-width: 861px) {
  .hero-visual-card { max-width: 640px; margin: 0 auto; }
}

/* Phones & small tablets */
@media (max-width: 860px) {
  .services-grid, .portfolio-grid, .blog-grid, .contact-grid, .audit-grid,
  .process-steps-grid, .footer-grid, .why-grid { grid-template-columns: minmax(0, 1fr); }

  /* iOS Safari zooms into any field under 16px */
  input, select, textarea { font-size: 16px !important; }

  .container { padding-left: 20px; padding-right: 20px; }
  .section-title { font-size: clamp(1.7rem, 6.2vw, 2.2rem); }

  /* Cookie banner: full width, sits above the WhatsApp button */
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 18px; }
  .cookie-banner-actions { flex-wrap: wrap; }
  .cookie-banner-actions .btn { flex: 1 1 140px; }
}

@media (max-width: 600px) {
  /* Hero stats: tidy 2x2 grid instead of four squeezed columns */
  .hero-trust-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
    text-align: center;
  }
  .trust-badge-item { align-items: center; }
  .trust-badge-label { font-size: 0.82rem; }

  /* Floating WhatsApp: icon only, smaller, out of the way */
  .floating-whatsapp-widget { bottom: 16px; right: 16px; }
  .whatsapp-tooltip { display: none; }
  .whatsapp-circle { width: 52px; height: 52px; font-size: 1.6rem; }

  /* Keep primary buttons full width and easy to tap */
  .hero-cta-group { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-cta-group .btn { width: 100%; }

  /* Floating badge shouldn't cover the hero image */
  .floating-stat-badge { position: relative; left: auto; bottom: auto; margin: -28px 12px 0; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 1.9rem; }
  .container { padding-left: 16px; padding-right: 16px; }
}

/* About section grids (were inline styles with no mobile fallback) */
.about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px; align-items: center; }
.about-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 30px; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 480px) {
  .about-mini-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Logo theme switching for every logo (drawer + footer previously showed both) */
img.dark-only { display: none; }
[data-theme="dark"] img.light-only { display: none; }
[data-theme="dark"] img.dark-only { display: inline-block; }
.mobile-drawer-header { gap: 12px; }
.mobile-drawer-header img { height: 34px; width: auto; max-width: 100%; }
.mobile-drawer-header .modal-close-btn { position: static; flex-shrink: 0; }

/* Mobile menu always sits above the cookie banner */
.mobile-nav-backdrop { z-index: 10040; }
.mobile-nav-drawer { z-index: 10050; height: 100dvh; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }


/* ==========================================================================
   21. INTERACTIVE ENHANCEMENTS (v3)
   Scroll progress bar, animated stat counters, enhanced WhatsApp widget,
   sticky Book Free Call bar, confetti canvas, inline form validation.
   ========================================================================== */

/* --- Scroll Progress Bar --- */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--sd-gradient);
  z-index: 10100;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* --- Animated Stat Counter (trust-badge-number glow on count) --- */
.trust-badge-number.counting {
  color: var(--sd-teal);
  transition: color 0.3s ease;
}

/* --- Enhanced WhatsApp Floating Widget --- */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.whatsapp-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.whatsapp-bubble:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.6);
}

.whatsapp-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: waPulse 2s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.9; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

.whatsapp-tooltip {
  background: var(--bg-card);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.floating-whatsapp-widget:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* --- Sticky Book Free Call Bar --- */
.sticky-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #12192c 0%, #1e2d5a 100%);
  border-top: 1px solid rgba(65, 187, 189, 0.3);
  z-index: 9800;
  padding: 14px 24px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .sticky-call-bar {
  background: linear-gradient(135deg, #070b14 0%, #111d3e 100%);
}
.sticky-call-bar.visible {
  transform: translateY(0);
}
.sticky-call-bar.dismissed {
  transform: translateY(100%) !important;
  pointer-events: none;
}

.sticky-call-bar-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.sticky-call-bar-text {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 200px;
  color: #ffffff;
  flex-wrap: wrap;
}
.sticky-call-bar-text strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #ffffff;
}
.sticky-call-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}

.sticky-call-pulse {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: #25D366;
  border-radius: 50%;
  flex-shrink: 0;
  animation: stickyPulse 1.8s ease-in-out infinite;
}
@keyframes stickyPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

.sticky-call-bar-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: center;
}

.sticky-call-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease;
  flex-shrink: 0;
  min-width: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sticky-call-close:hover { color: #ffffff; }

/* --- Confetti Canvas --- */
.confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 99999;
  display: none;
}

/* --- Inline Form Validation --- */
.form-group.is-valid .form-control {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}
.form-group.is-invalid .form-control {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}
.form-field-msg {
  font-size: 0.8rem;
  margin-top: 5px;
  font-weight: 500;
  display: none;
  align-items: center;
  gap: 4px;
}
.form-group.is-valid .form-field-msg.msg-valid,
.form-group.is-invalid .form-field-msg.msg-invalid {
  display: flex;
}
.msg-valid { color: #16a34a; }
.msg-invalid { color: #dc2626; }

/* --- Mobile adjustments for new features --- */
@media (max-width: 600px) {
  .sticky-call-bar-text .sticky-call-sub { display: none; }
  .sticky-call-bar-inner { gap: 12px; }
  .floating-whatsapp-widget { bottom: 80px; right: 16px; }
  .whatsapp-bubble { width: 52px; height: 52px; }
  .whatsapp-tooltip { display: none; }
  .sticky-call-bar { padding: 10px 16px; }
}
@media (max-width: 400px) {
  .sticky-call-bar-actions { flex-wrap: wrap; }
}
