/* ============================================================
   ZIA KAMAL — SEO & WEB DESIGN SERVICES PROVIDER
   Premium Design System | Dark & Graphite | 2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Colors — Dark Theme: Midnight Black, Graphite, Pure White, Electric Orange */
  --bg:           #111318; /* Main Background: Midnight Black */
  --bg-2:         #1B1E25; /* Alternate Section Background: Graphite */
  --surface:      #1B1E25; /* Cards, blocks, containers: Graphite */
  --surface-2:    #1B1E25; /* Alternate section / card surface */
  --surface-3:    #222731; /* Subtle elevated container */

  --border:       #343943; /* Border Gray */
  --border-2:     #343943; /* Border Gray */
  --border-hover: #FF7A1A; /* Electric Orange */

  --text-1:       #FFFFFF; /* Main Headings: Pure White */
  --text-2:       #B5BBC6; /* Body Text: Cool Gray */
  --text-3:       #B5BBC6; /* Secondary / captions / subtle text */
  --text-4:       #FF7A1A; /* Accent / highlights: Electric Orange */

  --primary:       #FF7A1A; /* Primary CTA Buttons: Electric Orange */
  --primary-hover: #FF9A50; /* Button Hover States: Light Orange */
  --primary-text:  #111318; /* CTA Button Text: Midnight Black */

  --accent-bg:     #392318; /* Accent Backgrounds: Dark Burnt Orange */

  --white: #FFFFFF;
  --black: #111318;

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Type scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;

  /* Font weights */
  --fw-regular:   400;
  --fw-medium:    500;
  --fw-semibold:  600;
  --fw-bold:      700;
  --fw-extrabold: 800;
  --fw-black:     900;

  /* Spacing */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Border radius */
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   14px;
  --r-xl:   20px;
  --r-2xl:  28px;
  --r-full: 9999px;

  /* Shadows — tuned for dark backgrounds */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.35), 0 1px 2px rgba(0,0,0,0.25);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.45), 0 2px 6px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 36px rgba(0,0,0,0.55), 0 4px 12px rgba(0,0,0,0.35);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.65), 0 8px 24px rgba(0,0,0,0.45);

  /* Transitions */
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:  cubic-bezier(0, 0, 0.2, 1);
  --ease-in:   cubic-bezier(0.4, 0, 1, 1);
  --transition:      all 0.25s var(--ease);
  --transition-fast: all 0.15s var(--ease);
  --transition-slow: all 0.45s var(--ease);

  /* Layout */
  --nav-h:     72px;
  --max-w:     1200px;
  --max-w-sm:  640px;
  --max-w-md:  768px;
  --max-w-lg:  1024px;
  --section-y: 96px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol { list-style: none; }

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

.container-sm  { max-width: var(--max-w-sm);  margin-inline: auto; }
.container-md  { max-width: var(--max-w-md);  margin-inline: auto; }
.container-lg  { max-width: var(--max-w-lg);  margin-inline: auto; }

.section    { padding-block: var(--section-y); }
.section-sm { padding-block: var(--sp-16); }
.section-xs { padding-block: var(--sp-12); }
.text-center { text-align: center; }
.text-left   { text-align: left; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(17, 19, 24, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(17, 19, 24, 0.98);
  border-bottom-color: var(--border-2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--white);
  letter-spacing: -0.03em;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-logo-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 1;
}

/* Desktop menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--white);
  border-radius: var(--r-md);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(255, 122, 26, 0.12);
}

.nav-link svg { width: 14px; height: 14px; transition: transform 0.2s ease; color: var(--white); }
.nav-link:hover svg,
.nav-link.active svg { color: var(--primary); }
.nav-item:hover > .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
}
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: var(--sp-2);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: var(--shadow-lg);
  z-index: 50;
  pointer-events: none;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  color: var(--white);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.dropdown-item svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--primary); }

.dropdown-item:hover {
  background: var(--accent-bg);
  color: var(--primary-hover);
}

.dropdown-item:hover svg { color: var(--primary-hover); }

/* Nav right */
.nav-right {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-fast);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + var(--sp-8)) var(--sp-6) var(--sp-8);
  border-left: 1px solid var(--border);
}

.nav-mobile.open { transform: translateX(0); }

.nav-mobile-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.nav-mobile-link {
  display: flex;
  align-items: center;
  padding: 14px var(--sp-4);
  font-size: var(--text-xl);
  font-weight: var(--fw-semibold);
  color: var(--white);
  border-radius: var(--r-lg);
  transition: var(--transition-fast);
}

.nav-mobile-link:hover,
.nav-mobile-link.active { color: var(--primary); background: var(--surface); }

.nav-mobile-sub {
  padding: var(--sp-2) 0 var(--sp-2) var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  border-left: 2px solid var(--border);
  margin-left: var(--sp-4);
}

.nav-mobile-sub a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: var(--text-base);
  font-weight: var(--fw-medium);
  color: var(--text-2);
  border-radius: var(--r-md);
  transition: var(--transition-fast);
}

.nav-mobile-sub a svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--primary);
}

.nav-mobile-sub a:hover { color: var(--primary); background: var(--surface); }

.nav-mobile-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--border);
}

/* ============================================================
   BUTTONS (Smooth, Big, Creative & Modern Interactive Style)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
  line-height: 1.2;
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  isolation: isolate;
}

/* Subtle creative light reflection/shimmer sweep on button hover */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  transition: left 0.75s ease;
  pointer-events: none;
  z-index: 1;
}

.btn:hover::before {
  left: 140%;
}

/* Micro-interaction on click/active */
.btn:active {
  transform: translateY(1px) scale(0.98) !important;
}

/* SVG icons inside buttons with smooth transition */
.btn svg,
.btn i[data-lucide] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 2;
}

/* Creative icon interaction: nudge right on hover when arrow/chevron */
.btn:hover svg[data-lucide="arrow-right"],
.btn:hover i[data-lucide="arrow-right"],
.btn:hover svg[data-lucide="chevron-right"],
.btn:hover i[data-lucide="chevron-right"] {
  transform: translateX(4px);
}

.btn:hover svg[data-lucide="search"],
.btn:hover i[data-lucide="search"] {
  transform: scale(1.15) rotate(-6deg);
}

.btn:hover svg[data-lucide="calendar"],
.btn:hover i[data-lucide="calendar"] {
  transform: translateY(-2px);
}

.btn:hover svg[data-lucide="plus-circle"],
.btn:hover i[data-lucide="plus-circle"] {
  transform: rotate(90deg);
}

/* Sizes: Generous, modern & readable */
.btn-sm  { 
  padding: 10px 20px; 
  font-size: 0.85rem; 
  border-radius: 50px; 
}

.btn-lg  { 
  padding: 17px 36px; 
  font-size: 1.05rem; 
  font-weight: 700;
  border-radius: 50px; 
  letter-spacing: 0.025em;
}

.btn-xl  { 
  padding: 20px 42px; 
  font-size: 1.15rem; 
  font-weight: 700;
  border-radius: 50px; 
}

.btn-full { width: 100%; }

/* Primary — Vibrant Electric Orange with dynamic ambient glow */
.btn-primary {
  background: linear-gradient(135deg, #FF7A1A 0%, #FF9544 100%);
  color: #111318;
  border-color: rgba(255, 122, 26, 0.4);
  box-shadow: 0 4px 16px rgba(255, 122, 26, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FF8C36 0%, #FFA860 100%);
  border-color: #FF9A50;
  color: #111318;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 122, 26, 0.45), 0 4px 10px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Secondary — Sleek Glassmorphism with Orange border accent on hover */
.btn-secondary {
  background: rgba(27, 30, 37, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
  background: rgba(34, 39, 49, 0.9);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 24px rgba(255, 122, 26, 0.22), 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border-color: transparent;
  padding-inline: 18px;
}

.btn-ghost:hover {
  color: var(--primary);
  background: rgba(255, 122, 26, 0.08);
  border-color: rgba(255, 122, 26, 0.2);
  transform: translateY(-2px);
}

/* White button */
.btn-white {
  background: var(--white);
  color: #111318;
  border-color: var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background: linear-gradient(135deg, #FF7A1A 0%, #FF9544 100%);
  border-color: #FF7A1A;
  color: #111318;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(255, 122, 26, 0.38);
}

/* Black button / Primary alias */
.btn-black {
  background: linear-gradient(135deg, #FF7A1A 0%, #FF9544 100%);
  color: #111318;
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(255, 122, 26, 0.28);
}

.btn-black:hover {
  background: linear-gradient(135deg, #FF8C36 0%, #FFA860 100%);
  border-color: #FF9A50;
  color: #111318;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 122, 26, 0.42);
}

/* Outline white (for dark section CTAs) */
.btn-outline-white {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-outline-white:hover {
  background: rgba(34, 39, 49, 0.95);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 24px rgba(255, 122, 26, 0.25);
}

/* ============================================================
   LABELS / BADGES
   ============================================================ */
.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--primary);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.label svg { color: var(--primary); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  color: var(--primary);
}

.badge-black {
  background: var(--accent-bg);
  color: var(--primary);
  border-color: var(--border);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.section-header .label { margin-bottom: var(--sp-5); }

.section-title {
  font-size: clamp(var(--text-3xl), 4.5vw, 2.75rem);
  font-weight: var(--fw-extrabold);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-1);
  margin-bottom: var(--sp-4);
}

.section-desc {
  font-size: var(--text-lg);
  color: var(--text-2);
  line-height: 1.7;
  max-width: 560px;
  margin-inline: auto;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--nav-h) + var(--sp-12)) var(--sp-16);
  overflow: hidden;
  text-align: center;
  background: var(--bg);
}

/* Subtle background grid */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(52, 57, 67, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 57, 67, 0.35) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 75%);
  pointer-events: none;
}

/* Subtle radial accents */
.hero-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% -10%, rgba(57, 35, 24, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 80% 60%, rgba(57, 35, 24, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse 30% 30% at 20% 60%, rgba(57, 35, 24, 0.25) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-8);
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

.hero-h1 {
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: var(--fw-black);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text-1);
  margin-bottom: var(--sp-6);
  max-width: 900px;
  margin-inline: auto;
}

/* Shimmer on dark background — white & orange accents */
.hero-h1 .shimmer {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.7) 0%,
    rgba(255,255,255,1) 40%,
    rgba(255,122,26,0.95) 70%,
    rgba(255,255,255,0.7) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3.5s linear infinite;
}

.hero-tagline {
  font-size: clamp(var(--text-base), 2.2vw, var(--text-xl));
  color: var(--text-2);
  line-height: 1.7;
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: var(--sp-10);
}

.hero-ctas {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-16);
}

.hero-divider {
  border: none;
  border-top: 1px solid var(--border);
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  margin-bottom: var(--sp-8);
}

.hero-metrics {
  display: flex;
  gap: var(--sp-12);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-metric-val {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: var(--fw-black);
  color: var(--text-1);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-metric-label {
  font-size: var(--text-sm);
  color: var(--text-2);
  font-weight: var(--fw-medium);
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  padding-block: var(--sp-8);
  border-block: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-10);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-2);
  white-space: nowrap;
}

.trust-item svg { width: 16px; height: 16px; color: var(--primary); }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: var(--transition);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: var(--sp-4);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--primary-text);
  border-color: var(--primary);
  transform: scale(1.05);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.service-icon svg { width: 20px; height: 20px; }

.service-name {
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: var(--text-1);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.service-desc {
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: var(--sp-5);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--primary);
  transition: var(--transition-fast);
}

.service-link svg { width: 14px; height: 14px; transition: transform 0.2s ease; }

.service-card:hover .service-link { color: var(--primary-hover); }
.service-card:hover .service-link svg { transform: translateX(3px); }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: var(--sp-20);
  align-items: center;
}

.about-photo-wrap { position: relative; }

.about-photo-frame {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.about-photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 65%, rgba(17,19,24,0.65) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Floating card on photo */
.about-card {
  position: absolute;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(27, 30, 37, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 14px 20px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}

.about-card-num {
  font-size: var(--text-2xl);
  font-weight: var(--fw-black);
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.about-card-text {
  font-size: var(--text-xs);
  color: var(--text-2);
  line-height: 1.4;
}

.about-content { text-align: left; }
.about-content .section-title { text-align: left; margin-bottom: var(--sp-5); }
.about-content .label { margin-bottom: var(--sp-5); }

.about-text {
  font-size: var(--text-base);
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: var(--sp-5);
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: var(--sp-8) 0;
}

.about-hi {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-sm);
  color: var(--text-2);
}

.about-hi svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }

.about-ctas {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.stat-cell {
  background: var(--surface);
  padding: var(--sp-10) var(--sp-8);
  text-align: center;
  transition: var(--transition-fast);
}

.stat-cell:hover { background: var(--surface-3); }

.stat-val {
  font-size: clamp(var(--text-4xl), 4vw, var(--text-5xl));
  font-weight: var(--fw-black);
  color: var(--text-1);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-2);
  font-weight: var(--fw-medium);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

.pricing-grid-2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin-inline: auto;
  margin-top: 16px;
}

.pricing-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Featured = Dark Burnt Orange Accent bg, Electric Orange highlight */
.pricing-card.featured {
  background: var(--accent-bg);
  border-color: var(--primary);
  color: var(--white);
  transform: scale(1.03);
  z-index: 2;
  box-shadow: 0 16px 48px rgba(255, 122, 26, 0.15);
}

.pricing-card.featured:hover {
  border-color: var(--primary-hover);
  transform: scale(1.03) translateY(-4px);
}

.pricing-card.free-card {
  background: var(--surface);
  border: 2px dashed var(--border);
}

/* Recommended pill */
.pricing-recommended {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  background: var(--primary);
  color: var(--primary-text);
  border: 1px solid var(--primary);
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.pricing-card-header { margin-bottom: var(--sp-6); }

.pricing-name {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--text-1);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.pricing-card.featured .pricing-name { color: var(--white); }

.pricing-tagline {
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.5;
}

.pricing-card.featured .pricing-tagline { color: var(--text-2); }

.pricing-price-wrap { margin-bottom: var(--sp-6); }

.pricing-price {
  font-size: 3.2rem;
  font-weight: var(--fw-black);
  color: var(--text-1);
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-card.featured .pricing-price { color: var(--white); }

.pricing-price sup {
  font-size: 1.4rem;
  vertical-align: super;
  font-weight: var(--fw-bold);
  margin-right: 1px;
}

.pricing-price-free {
  font-size: 2.6rem;
  font-weight: var(--fw-black);
  color: var(--text-1);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-sep {
  border: none;
  border-top: 1px solid var(--border);
  margin-block: var(--sp-5);
}

.pricing-card.featured .pricing-sep { border-top-color: rgba(255, 122, 26, 0.25); }

.pricing-feats {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--sp-6);
}

.pricing-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.5;
}

.pricing-card.featured .pricing-feat { color: var(--text-2); }

.pricing-feat svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
}

.pricing-card.featured .pricing-feat svg { color: var(--primary); }

.pricing-cta { margin-top: auto; }

/* Featured card CTA */
.pricing-card.featured .btn-secondary {
  background: var(--primary);
  color: var(--primary-text);
  border-color: var(--primary);
}

.pricing-card.featured .btn-secondary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--primary-text);
}

/* ============================================================
   CASE STUDY
   ============================================================ */
.case-study-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.case-study-header {
  padding: var(--sp-10) var(--sp-10) var(--sp-8);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
  background: var(--bg);
}

.case-study-client {
  font-size: var(--text-2xl);
  font-weight: var(--fw-black);
  color: var(--text-1);
  letter-spacing: -0.025em;
  margin-bottom: 4px;
}

.case-study-subtitle {
  font-size: var(--text-sm);
  color: var(--text-2);
}

.cs-featured-metric { text-align: right; }

.cs-metric-big {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: var(--fw-black);
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 1;
}

.cs-metric-big-label {
  font-size: var(--text-sm);
  color: var(--text-2);
  margin-top: 4px;
}

.case-study-body { padding: var(--sp-10); }

.cs-source-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  color: var(--text-2);
  margin-bottom: var(--sp-8);
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}

.cs-source-note svg { width: 14px; height: 14px; color: var(--primary); }

.cs-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .cs-metrics-grid { grid-template-columns: repeat(4, 1fr); }
}

.cs-metric {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  transition: var(--transition);
}

.cs-metric:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }

.cs-metric-icon { color: var(--primary); margin-bottom: var(--sp-3); }
.cs-metric-icon svg { width: 18px; height: 18px; }

.cs-metric-val {
  font-size: var(--text-3xl);
  font-weight: var(--fw-black);
  color: var(--text-1);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  line-height: 1;
}

.cs-metric-name {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-1);
  margin-bottom: 4px;
}

.cs-metric-desc {
  font-size: var(--text-xs);
  color: var(--text-2);
  line-height: 1.5;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.testi-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--sp-4);
  color: var(--primary);
}

.testi-stars svg { width: 14px; height: 14px; fill: currentColor; }

.testi-text {
  flex: 1;
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: var(--sp-6);
}

.testi-author { display: flex; align-items: center; gap: 12px; }

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--primary);
  flex-shrink: 0;
}

.testi-name { font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--text-1); }
.testi-role { font-size: var(--text-xs); color: var(--text-2); margin-top: 1px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  background: var(--border);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item { background: var(--surface); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--sp-8);
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--text-1);
  user-select: none;
  transition: var(--transition-fast);
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  font-family: var(--font);
  gap: var(--sp-4);
}

.faq-q:hover { background: rgba(255, 122, 26, 0.05); color: var(--primary); }
.faq-q svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--primary); transition: transform 0.3s ease; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-item.open .faq-q { background: rgba(255, 122, 26, 0.08); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s ease;
}

.faq-item.open .faq-a { max-height: 400px; }

.faq-a-inner {
  padding: 0 var(--sp-8) 22px;
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.8;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ============================================================
   CONTACT / FORM
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: var(--sp-12);
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: var(--sp-4); }

.contact-block {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
}

.contact-block:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.contact-block-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-block-icon svg { width: 18px; height: 18px; }

.contact-block-lbl {
  font-size: var(--text-xs);
  color: var(--text-2);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.contact-block-val {
  font-size: var(--text-base);
  font-weight: var(--fw-medium);
  color: var(--text-1);
}

/* Form styles */
.form { display: flex; flex-direction: column; gap: var(--sp-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--text-2);
}

.form-field {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 13px 16px;
  font-size: var(--text-sm);
  color: var(--text-1);
  transition: var(--transition-fast);
  width: 100%;
}

.form-field:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,122,26,0.15);
}

.form-field::placeholder { color: rgba(181, 187, 198, 0.5); }

textarea.form-field {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

select.form-field {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23B5BBC6' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* ============================================================
   FREE AUDIT CTA BLOCK
   ============================================================ */
.audit-cta-block {
  position: relative;
  background: var(--accent-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: var(--sp-16) var(--sp-12);
  text-align: center;
  overflow: hidden;
}

/* Subtle glow on dark block */
.audit-cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255,122,26,0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Text colors inside audit block */
.audit-cta-block .label {
  background: rgba(17, 19, 24, 0.6);
  border-color: var(--border);
  color: var(--primary);
}

.audit-cta-block .section-title { color: var(--white); }
.audit-cta-block .section-desc  { color: var(--text-2); }

.audit-form {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin-inline: auto;
  margin-top: var(--sp-8);
  position: relative;
  z-index: 1;
}

.audit-form .form-field {
  flex: 1;
  padding: 14px 18px;
  font-size: var(--text-base);
  background: var(--bg);
  border-color: var(--border);
  color: var(--white);
}

.audit-form .form-field::placeholder { color: rgba(181, 187, 198, 0.5); }
.audit-form .form-field:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,122,26,0.2); }

.audit-form-note {
  font-size: 13px;
  color: var(--text-2);
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-10);
  background: var(--bg);
}

.footer-top {
  display: grid;
  grid-template-columns: 280px repeat(4, 1fr);
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}

.footer-brand {}

.footer-brand-name {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-3);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: var(--sp-6);
}

.footer-socials { display: flex; gap: var(--sp-2); }

.social-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

.social-btn svg { width: 18px; height: 18px; transition: transform 0.3s ease; }
.social-btn:hover { background: var(--primary); color: var(--primary-text); border-color: var(--primary); transform: translateY(-3px) scale(1.08); box-shadow: 0 8px 20px rgba(255, 122, 26, 0.35); }
.social-btn:hover svg { transform: scale(1.1); }
.social-btn[aria-label="LinkedIn"]:hover { background: #0077b5; border-color: #0077b5; color: #fff; box-shadow: 0 8px 20px rgba(0, 119, 181, 0.4); }
.social-btn[aria-label="Facebook"]:hover { background: #1877f2; border-color: #1877f2; color: #fff; box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4); }
.social-btn[aria-label="Email"]:hover { background: #ea4335; border-color: #ea4335; color: #fff; box-shadow: 0 8px 20px rgba(234, 67, 53, 0.4); }
.social-btn[aria-label="Book a call"]:hover { background: #006bff; border-color: #006bff; color: #fff; box-shadow: 0 8px 20px rgba(0, 107, 255, 0.4); }

.footer-col {}

.footer-col-title {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--text-2);
  transition: var(--transition-fast);
}

.footer-nav a svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--primary);
}

.footer-nav a:hover { color: var(--primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  width: 100%;
  gap: var(--sp-4);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.footer-copy { font-size: var(--text-sm); color: var(--text-2); font-weight: 700; }

.footer-links-bottom { display: flex; gap: var(--sp-6); }

.footer-links-bottom a {
  font-size: var(--text-sm);
  color: var(--text-2);
  transition: var(--transition-fast);
}

.footer-links-bottom a:hover { color: var(--primary); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding-block: calc(var(--nav-h) + var(--sp-20)) var(--sp-16);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.page-hero-inner { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--text-3);
  margin-bottom: var(--sp-6);
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--text-3); transition: var(--transition-fast); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--border); }

.page-h1 {
  font-size: clamp(var(--text-4xl), 5vw, 3.5rem);
  font-weight: var(--fw-black);
  color: var(--text-1);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: var(--sp-5);
}

.page-desc {
  font-size: var(--text-lg);
  color: var(--text-2);
  line-height: 1.7;
  max-width: 600px;
  margin-inline: auto;
}

/* ============================================================
   FEATURE LIST (service pages)
   ============================================================ */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  font-size: var(--text-sm);
  color: var(--text-2);
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.feat-item:hover { border-color: var(--primary); color: var(--white); box-shadow: var(--shadow-md); }
.feat-item svg { width: 15px; height: 15px; color: var(--primary); flex-shrink: 0; }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.process-step {
  background: var(--surface);
  display: flex;
  gap: var(--sp-5);
  padding: var(--sp-6) var(--sp-8);
  align-items: flex-start;
  transition: var(--transition-fast);
}

.process-step:hover { background: var(--surface-3); }

.process-num {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--accent-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--primary);
}

.process-title {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--text-1);
  margin-bottom: 4px;
}

.process-desc {
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.65;
}

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.blog-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.blog-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--border);
}

.blog-thumb svg { width: 28px; height: 28px; }

.blog-body { padding: var(--sp-6); }

.blog-cat {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-3);
}

.blog-title {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--text-1);
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin-bottom: var(--sp-3);
  transition: var(--transition-fast);
}

.blog-card:hover .blog-title { color: var(--primary); }

.blog-excerpt {
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: var(--sp-5);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  font-size: var(--text-xs);
  color: var(--text-3);
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: calc(var(--sp-6) + 72px);
  right: var(--sp-6);
  width: 48px;
  height: 48px;
  background: rgba(27, 30, 37, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 500;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.scroll-top:hover { 
  background: var(--primary); 
  border-color: var(--primary); 
  color: var(--primary-text); 
  transform: translateY(-4px) scale(1.1); 
  box-shadow: 0 10px 24px rgba(255, 122, 26, 0.4); 
}
.scroll-top:active { transform: translateY(-1px) scale(0.95); }
.scroll-top svg { width: 20px; height: 20px; transition: transform 0.2s ease; }
.scroll-top:hover svg { transform: translateY(-2px); }

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.whatsapp-floating-btn {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.42), 0 2px 6px rgba(0,0,0,0.15);
  z-index: 9990;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}
.whatsapp-floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0,0,0,0.2);
  color: #ffffff;
}
.whatsapp-floating-btn svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
  display: block;
}
.whatsapp-floating-tooltip {
  position: absolute;
  right: 68px;
  background: var(--surface);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  border: 1px solid var(--border);
}
.whatsapp-floating-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent transparent var(--surface);
}
.whatsapp-floating-btn:hover .whatsapp-floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}
.whatsapp-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: wa-pulse 2.2s infinite ease-out;
  pointer-events: none;
}
@keyframes wa-pulse {
  0% { transform: scale(0.95); opacity: 0.9; }
  60% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ============================================================
   RESULTS PROOFS GALLERY & LIGHTBOX
   ============================================================ */
.results-proofs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.result-proof-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.result-proof-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.result-proof-card.proof-card-hidden {
  display: none !important;
}
.result-proof-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg);
}
.result-proof-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.result-proof-card:hover .result-proof-img-wrap img {
  transform: scale(1.06);
}
.result-proof-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(17, 19, 24, 0.85);
  backdrop-filter: blur(4px);
  color: var(--primary);
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: 0.04em;
  z-index: 2;
}
.result-proof-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 19, 24, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.result-proof-card:hover .result-proof-overlay {
  opacity: 1;
}
.result-proof-zoom-btn {
  background: var(--primary);
  color: var(--primary-text);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  transform: scale(0.92);
  transition: transform 0.2s ease;
}
.result-proof-card:hover .result-proof-zoom-btn {
  transform: scale(1);
}

/* Lightbox */
.proof-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.proof-lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.proof-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 19, 24, 0.94);
  backdrop-filter: blur(10px);
}
.proof-lightbox-dialog {
  position: relative;
  max-width: 1080px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}
.proof-lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--white);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.proof-lightbox-close:hover {
  background: var(--primary);
  color: var(--primary-text);
  border-color: var(--primary);
  transform: scale(1.1);
}
.proof-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--white);
  border-radius: 50%;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
  z-index: 3;
}
.proof-lightbox-nav:hover {
  background: var(--primary);
  color: var(--primary-text);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}
.proof-lightbox-nav.prev { left: -60px; }
.proof-lightbox-nav.next { right: -60px; }
.proof-lightbox-img-wrap {
  position: relative;
  max-width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
  border: 1px solid var(--border);
}
.proof-lightbox-img-wrap img {
  max-width: 100%;
  max-height: calc(80vh - 48px);
  object-fit: contain;
  display: block;
}
.proof-lightbox-footer {
  width: 100%;
  padding: 10px 18px;
  background: var(--surface);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-2);
  font-size: 13px;
  border-top: 1px solid var(--border);
}
.proof-lightbox-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
}
.proof-lightbox-badge svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .proof-lightbox-nav.prev { left: 8px; }
  .proof-lightbox-nav.next { right: 8px; }
  .proof-lightbox-close { top: -42px; right: 8px; }
  .scroll-top { bottom: calc(var(--sp-6) + 64px); right: var(--sp-4); }
  .whatsapp-floating-btn { bottom: var(--sp-4); right: var(--sp-4); width: 50px; height: 50px; }
  .whatsapp-floating-btn svg { width: 26px; height: 26px; }
}

/* ============================================================
   DIVIDER / HR
   ============================================================ */
.hr { border: none; border-top: 1px solid var(--border); }

/* ============================================================
   NOTICE BOX
   ============================================================ */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: var(--accent-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.65;
}

.notice svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   MASTERCLASS PAGE
   ============================================================ */
.masterclass-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.masterclass-price-big {
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: var(--fw-black);
  color: var(--text-1);
  letter-spacing: -0.04em;
  line-height: 1;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.3; transform: scale(0.7); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll-triggered fade — ONLY hidden when JS is confirmed running.
   This prevents the blink/flash of invisible content on page load. */
.js .fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
}

.js .fade-up.in {
  opacity: 1;
  transform: translateY(0);
}

/* Non-JS fallback — everything immediately visible */
.fade-up {
  opacity: 1;
  transform: none;
}

.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }
.d6 { transition-delay: 0.6s; }

/* ============================================================
   DARK SECTION (Alternate section container)
   ============================================================ */
.section-dark {
  background: var(--bg-2);
  color: var(--text-2);
}

.section-dark .section-title { color: var(--white); }
.section-dark .section-desc  { color: var(--text-2); }
.section-dark .label {
  background: var(--surface);
  border-color: var(--border);
  color: var(--primary);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS & LAYOUT OPTIMIZATIONS
   ============================================================ */

/* Universal mobile-first & overflow hardening */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

img, picture, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6, p, a, span {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Base definitions for components with potential overflow */
.hero-badge {
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--text-1);
  box-shadow: var(--shadow-sm);
  max-width: 100%;
}

.audit-tool-form {
  max-width: 640px;
  margin: 32px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 8px 8px 20px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.audit-tool-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 10px 35px rgba(255, 122, 26, 0.2);
}
.audit-input-group {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.audit-icon {
  color: var(--primary);
  margin-right: 12px;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.audit-input {
  border: none;
  outline: none;
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-1);
  background: transparent;
  padding: 10px 0;
}
.audit-input::placeholder {
  color: var(--text-3);
  opacity: 0.8;
}
.audit-submit-btn {
  white-space: nowrap;
  border-radius: 40px !important;
  padding: 13px 28px !important;
  flex-shrink: 0;
}
.audit-trust-tags {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-2);
}
.audit-trust-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.audit-trust-tags span svg {
  width: 15px;
  height: 15px;
}

.contact-form-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}

/* 1. Large Tablets & Small Laptops (1024px and below) */
@media (max-width: 1024px) {
  .nav-right .btn-ghost { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; gap: var(--sp-8); }
  .footer-brand { grid-column: 1 / -1; }
  .pricing-grid,
  .pricing-grid-2 { grid-template-columns: 1fr 1fr; }
  .results-proofs-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}

/* 2. Tablets in Portrait & Mid-size screens (900px and below) */
@media (max-width: 900px) {
  :root { --section-y: 64px; }

  /* Activate mobile toggle before menu can wrap/collide */
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }

  .page-hero { padding-block: calc(var(--nav-h) + var(--sp-8)) var(--sp-12); }
  .about-layout { grid-template-columns: 1fr; gap: var(--sp-8); }
  .about-photo-wrap { max-width: 360px; margin-inline: auto; margin-bottom: 24px; }
  .about-card {
    position: static !important;
    margin: 16px auto 0 !important;
    right: auto !important;
    bottom: auto !important;
    max-width: 320px;
  }
  .about-content .section-title { text-align: center; }
  .about-ctas { justify-content: center; }
  .about-highlights { align-items: flex-start; }

  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .masterclass-layout { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .feat-grid { grid-template-columns: 1fr; }
}

/* 3. Small Tablets & Landscape Mobile (768px and below) */
@media (max-width: 768px) {
  :root { --section-y: 56px; }

  .container { padding-inline: var(--sp-5); }

  /* Stop iOS Safari automatic form zoom */
  .form-field, input, textarea, select {
    font-size: 16px !important;
  }

  .pricing-grid,
  .pricing-grid-2 { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }

  .hero-metrics { gap: var(--sp-6); }
  .hero-h1 { font-size: clamp(2.2rem, 7vw, 3.8rem); }
  .hero-title { font-size: clamp(2.2rem, 7vw, 4rem) !important; }
  .page-h1 { font-size: clamp(2rem, 6.5vw, 3rem) !important; }
  .section-title { font-size: clamp(1.75rem, 5vw, 2.35rem); }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }

  .audit-form,
  .audit-tool-form {
    flex-direction: column !important;
    border-radius: 18px !important;
    padding: 16px !important;
    align-items: stretch !important;
    gap: 14px !important;
  }
  .audit-input-group,
  .audit-tool-form > div {
    padding-left: 0 !important;
    width: 100% !important;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
  }
  .audit-submit-btn,
  .audit-tool-form .btn {
    width: 100% !important;
    border-radius: var(--r-md) !important;
    justify-content: center !important;
    padding: 14px !important;
  }
  .audit-trust-tags {
    gap: 10px !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .case-study-header { flex-direction: column; }
  .cs-featured-metric { text-align: left; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }

  /* Floating Buttons */
  .scroll-top { bottom: calc(var(--sp-4) + 60px); right: var(--sp-4); width: 44px; height: 44px; }
  .whatsapp-floating-btn { bottom: var(--sp-4); right: var(--sp-4); width: 48px; height: 48px; }
  .whatsapp-floating-btn svg { width: 24px; height: 24px; }
  .whatsapp-floating-tooltip { display: none !important; }

  /* Lightbox on mobile */
  .proof-lightbox-dialog { width: 95%; max-height: 85vh; }
  .proof-lightbox-img-wrap img { max-height: calc(75vh - 48px); }
  .proof-lightbox-nav { width: 40px; height: 40px; font-size: 18px; }
  .proof-lightbox-nav.prev { left: 4px; }
  .proof-lightbox-nav.next { right: 4px; }
  .proof-lightbox-close { top: -38px; right: 4px; width: 36px; height: 36px; font-size: 20px; }
  .proof-lightbox-footer { padding: 8px 12px; font-size: 12px; }
}

/* 4. Phablets & Mobile Devices (640px and below) */
@media (max-width: 640px) {
  /* Full-width, clean mobile buttons */
  .hero-ctas {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 320px !important;
    margin-inline: auto !important;
  }
  .hero-ctas .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 24px !important;
  }

  .page-hero-inner div[style*="display:flex"][style*="justify-content:center"] {
    flex-direction: column !important;
    align-items: stretch !important;
    max-width: 320px !important;
    margin-inline: auto !important;
  }
  .page-hero-inner div[style*="display:flex"][style*="justify-content:center"] .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Safe padding for cards and sections */
  .contact-form-wrapper,
  div[style*="background:var(--surface)"][style*="padding:40px"],
  div[style*="padding:48px 24px"] {
    padding: 24px 18px !important;
    border-radius: 18px !important;
  }

  /* Force single column for all minmax grids */
  .cs-details-grid,
  .packages-grid,
  .local-seo-services-grid,
  .yt-audience-grid,
  .yt-pillars-grid,
  div[style*="grid-template-columns:repeat(auto-fit, minmax"],
  div[style*="grid-template-columns:repeat(auto-fit,minmax"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* 5. Mobile Phones (480px and below) */
@media (max-width: 480px) {
  :root {
    --nav-h: 64px;
    --section-y: 44px;
  }

  .container { padding-inline: 16px !important; }

  .hero-h1 { font-size: clamp(1.85rem, 8vw, 2.5rem); }
  .hero-title { font-size: clamp(1.95rem, 8vw, 2.65rem) !important; }
  .page-h1 { font-size: clamp(1.75rem, 7.5vw, 2.25rem) !important; }
  .section-title { font-size: clamp(1.65rem, 6.5vw, 2.1rem); }
  .section-desc { font-size: 1rem; }

  .hero-badge {
    padding: 6px 14px;
    font-size: 12px;
    gap: 8px;
    margin-bottom: 1.5rem;
  }

  .services-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .results-proofs-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .stats-row { grid-template-columns: 1fr !important; gap: 12px; }
  .hero-metrics { flex-direction: column; gap: 16px; align-items: center; }

  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; align-items: center; gap: 8px; }
  .footer-socials { justify-content: center; flex-wrap: wrap; }

  .about-content { text-align: center; }
  .about-highlights { align-items: center; }
  .about-photo-wrap { max-width: 280px; }
  .about-card { padding: 14px 18px !important; }
  .about-card-num { font-size: 1.75rem !important; }

  .audit-cta-block { padding: 32px 18px; border-radius: 18px; }

  .cs-metrics-grid { grid-template-columns: 1fr; }

  /* Details / Summary Native FAQ */
  details { padding: 14px 16px !important; }
  details summary { font-size: 1rem !important; }
}

/* 6. Extra-Small Mobile Devices (360px and below - iPhone SE 1st gen, Galaxy Fold) */
@media (max-width: 360px) {
  .container { padding-inline: 12px !important; }
  .hero-title { font-size: 1.75rem !important; }
  .page-h1 { font-size: 1.6rem !important; }
  .btn { padding: 12px 18px !important; font-size: 0.9rem !important; }
  .hero-badge { font-size: 11px !important; padding: 4px 8px !important; }
  .about-photo-wrap { max-width: 240px; }
}

/* Details/Summary Native FAQ */
details {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
}

details > summary {
  list-style: none;
  color: var(--text-1) !important;
  transition: color 0.2s ease;
}

details > summary::-webkit-details-marker {
  display: none;
}

details summary:hover {
  color: var(--primary) !important;
}

details[open] summary {
  color: var(--primary) !important;
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, transform 0.3s ease;
}

.why-card:hover {
  border-color: var(--primary);
}
