/* ============================================================
   AdSmooth — main.css
   Design System: Dark Luxury Editorial
   Fonts: Archivo (headings/UI) + IBM Plex Mono (labels/code)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&family=IBM+Plex+Mono:wght@400;500;600;700&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Colors */
  --bg:      #0D0D0D;
  --surface: #141414;
  --surface2: #1A1A1A;
  --red:     #C70000;
  --red-dim: rgba(199,0,0,0.12);
  --gold:    #C9A84C;
  --gold-dim: rgba(201,168,76,0.15);
  --text:    #F5F5F5;
  --muted:   #A0A0A0; /* Improved from #888888 for better contrast */
  --border:  rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.18);

  /* Typography */
  --font-serif: 'Archivo', system-ui, sans-serif;
  --font-sans:  'IBM Plex Mono', 'Courier New', monospace;
  --font-display: 'Archivo', system-ui, sans-serif;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;

  /* Borders */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --dur: 0.3s;
  --dur-slow: 0.6s;

  /* Nav height */
  --nav-h: 72px;
}

/* Light theme overrides */
[data-theme="light"] {
  --bg:         #F5F4F0;
  --surface:    #FFFFFF;
  --surface2:   #ECEAE5;
  --text:       #0A0A0A;
  --muted:      #3D3D3D;
  --border:     rgba(0,0,0,0.1);
  --border-hover: rgba(0,0,0,0.22);
  --red-dim:    rgba(199,0,0,0.08);
  --gold:       #826404; /* Darker gold for better contrast on white background */
  --gold-dim:   rgba(130,100,4,0.18);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-serif);
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-sans); }
input, textarea, select {
  font-family: var(--font-sans);
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
}

/* ── Typography Scale ── */
.t-display {
  font-family: var(--font-serif);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.t-h1 { font-family: var(--font-serif); font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
.t-h2 { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.1; }
.t-h3 { font-family: var(--font-serif); font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 600; }
.t-h4 { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; letter-spacing: 0.02em; }
.t-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.t-body { font-size: 1rem; line-height: 1.7; color: var(--muted); }

/* Golden text with glow */
.t-gold {
  color: var(--gold);
  font-weight: 800;
  background: linear-gradient(135deg, #C9A84C 0%, #F0D080 50%, #C9A84C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(201,168,76,0.4));
}

/* ── Layout Utilities ── */
.container {
  width: 100%;
  max-width: 1200px; /* Reduced from 1280px for better density */
  margin: 0 auto;
  padding: 0 1.5rem; /* Reduced from 2.5rem */
}

.section {
  padding: 5.5rem 0 6.5rem;
  position: relative;
}

.section-sm {
  padding: 3.5rem 0 4.5rem;
  position: relative;
}

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; align-items: start; }
.grid-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; align-items: stretch; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; align-items: stretch; }
@media (max-width: 1024px) {
  .grid-split { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

/* ── Section Header ── */
.section-header {
  margin-bottom: 2.5rem;
}
.section-header .t-label {
  margin-bottom: 0.5rem;
  display: block;
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-header p,
.section-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  margin-top: 1rem;
}

/* ── Hairline Divider ── */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: var(--space-xl) 0;
}

.divider-v {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

/* ═══════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  /* Upgraded glassmorphism */
  backdrop-filter: blur(32px) saturate(2) brightness(0.9);
  -webkit-backdrop-filter: blur(32px) saturate(2) brightness(0.9);
  background: rgba(8, 8, 8, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 8px 32px rgba(0,0,0,0.3);
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

[data-theme="light"] .nav {
  background: rgba(248,246,241,0.78);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  backdrop-filter: blur(32px) saturate(2);
  -webkit-backdrop-filter: blur(32px) saturate(2);
}

.nav.scrolled {
  background: rgba(8,8,8,0.92);
  border-bottom-color: rgba(199,0,0,0.15);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 12px 40px rgba(0,0,0,0.5);
}

[data-theme="light"] .nav.scrolled {
  background: rgba(248,246,241,0.97);
}

.nav__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Group items starting from logo */
  gap: 0.5rem; /* Closer grouping for right-side items */
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
  margin-right: auto; /* Pushes links and actions to the far right */
}

.nav__logo .logo-img {
  height: 44px; /* Slightly reduced for better breathing room */
  width: auto;
  display: block;
  object-fit: contain;
  margin-top: -2px; /* Optical centering compensation */
}

/* Center links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav__links a {
  font-family: var(--font-sans);
  font-size: 0.8rem; /* Reduced from 0.82rem */
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--dur) var(--ease),
              background var(--dur) var(--ease);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 0.875rem;
  right: 0.875rem;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--text);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  transform: scaleX(1);
}

/* Right actions */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-ghost-wa {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  transition: all var(--dur) var(--ease);
}
.btn-ghost-wa:hover {
  border-color: #25D366;
  color: #25D366;
}
.btn-ghost-wa svg { width: 14px; height: 14px; fill: currentColor; }

.btn-audit {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-audit:hover {
  background: #a80000;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(199,0,0,0.35);
}

.btn-theme {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--muted);
  transition: all var(--dur) var(--ease);
  font-size: 1rem;
}
.btn-theme:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

/* Mobile hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.nav__burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  transition: all var(--dur) var(--ease);
}

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--bg);
  padding: 2rem;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 999;
  border-top: 1px solid var(--border);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.nav__mobile .nav__mobile-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  padding: 0.9rem 2rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.btn-primary:hover {
  background: #a80000;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(199,0,0,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  padding: 0.9rem 2rem;
  font-size: 0.85rem;
  border: 1px solid var(--border-hover);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.btn-outline:hover {
  border-color: var(--text);
  background: rgba(128,128,128,0.08);
  transform: translateY(-2px);
}

.btn-link {
  background: transparent;
  color: var(--red);
  font-size: 0.85rem;
  padding: 0;
  gap: 0.4rem;
  letter-spacing: 0.05em;
}
.btn-link:hover { gap: 0.7rem; }
.btn-link span { transition: transform var(--dur) var(--ease); }
.btn-link:hover span { transform: translateX(3px); }


/* ═══════════════════════════════════════
   MARQUEE STRIP
═══════════════════════════════════════ */
.marquee-section {
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  overflow: hidden;
  background: var(--surface);
}

.marquee-track {
  display: flex;
  align-items: center; /* Added vertical alignment */
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.5rem;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee-item:hover { color: var(--text); }

.marquee-sep {
  color: var(--gold);
  font-size: 0.65rem;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ═══════════════════════════════════════
   FLIP CARDS — SERVICE GRID
═══════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.flip-card {
  height: 340px;
  perspective: 1200px;
  cursor: pointer;
}

.flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.72s cubic-bezier(0.4, 0.2, 0.2, 1);
  border-radius: var(--radius-md);
}

.flip-card:hover .flip-card__inner {
  transform: rotateY(180deg);
}

.flip-card__front,
.flip-card__back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  overflow: hidden;
}

/* Front face */
.flip-card__front {
  background: var(--surface);
  border: 1px solid var(--border);
  justify-content: space-between;
  transition: border-color var(--dur) var(--ease);
}

.flip-card:hover .flip-card__front {
  border-color: var(--red);
  box-shadow: 0 10px 30px rgba(199,0,0,0.05);
}
[data-theme="light"] .flip-card:hover .flip-card__front {
  background: rgba(199,0,0,0.02);
}

.flip-card__front::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(201,168,76,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.flip-card__num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.flip-card__icon {
  font-size: 3.2rem; /* Increased size */
  line-height: 1;
  display: flex;
  align-items: center;
  margin: auto 0;
  transition: transform 0.4s var(--ease);
}
.flip-card:hover .flip-card__icon {
  transform: scale(1.1) rotate(-3deg);
}

.flip-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.flip-card__name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.flip-card__price {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
}

.flip-card__hint {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  opacity: 0.7;
}

/* Back face */
.flip-card__back {
  background: var(--red);
  transform: rotateY(180deg);
  justify-content: space-between;
  position: relative;
}

.flip-card__back::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(0,0,0,0.3) 0%, transparent 60%),
              radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.flip-card__back-num {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.12);
  line-height: 1;
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  pointer-events: none;
  user-select: none;
}

.flip-card__back-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.flip-card__back-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0.5rem 0 1rem;
}

.flip-card__back-desc {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  flex: 1;
}

.flip-card__back-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.75rem 1.4rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
  margin-top: 1.5rem;
  text-decoration: none;
  width: fit-content;
}
.flip-card__back-cta:hover {
  background: rgba(255,255,255,0.25);
  transform: translateX(4px);
}


/* ═══════════════════════════════════════
   STAT COUNTERS
═══════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

@media (max-width: 992px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card:nth-child(2) { border-right: none; }
  .stat-card:nth-child(even) { border-right: none; }
  .stat-card:nth-child(1), .stat-card:nth-child(2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 576px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-card:last-child { border-bottom: none; }
}

.stat-card {
  padding: 2.5rem 1.5rem; /* Increased padding to prevent bottom text collision */
  border-right: 1px solid var(--border);
  text-align: center;
  background: var(--surface);
  transition: background var(--dur) var(--ease);
}
.stat-card:last-child { border-right: none; }
.stat-card:hover { background: var(--surface2); }

.stat-card__num {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1rem;
}

.stat-card__num .suffix {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--red);
}

.stat-card__label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.5rem;
}


/* ═══════════════════════════════════════
   TESTIMONIAL CARDS
═══════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem 2rem;
  position: relative;
  transition: border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.testimonial-card__quote {
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 0.7;
  color: var(--red);
  opacity: 0.6;
  margin-bottom: 1rem;
  position: absolute;
  top: 1.5rem;
  right: 2rem;
}

.testimonial-card__text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red-dim);
  border: 1px solid rgba(199,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--red);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}
.testimonial-card__role {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.1rem;
}


/* ═══════════════════════════════════════
   PROCESS STEPS
═══════════════════════════════════════ */
.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 1rem;
}

.process-row::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 14%;
  right: 14%;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0,
    var(--red) 8px,
    transparent 8px,
    transparent 18px
  );
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.process-step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 1.5rem;
  transition: all var(--dur) var(--ease);
}
.process-step:hover .process-step__num {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 0 30px rgba(199,0,0,0.4);
}

.process-step__title {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.process-step__desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}


/* ═══════════════════════════════════════
   WHY US — REASON CARDS
═══════════════════════════════════════ */
.reason-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.reason-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.5rem; /* Increased from 2rem */
  transition: border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
}
.reason-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}

.reason-card__icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.reason-card__title {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}
.reason-card__desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}


/* ═══════════════════════════════════════
   CTA STRIP
═══════════════════════════════════════ */
.cta-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 2rem;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(199,0,0,0.08) 0%, transparent 65%);
}
.cta-strip__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
}
.cta-strip__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.cta-strip__body {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.cta-strip__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}


/* ═══════════════════════════════════════
   FAQ ACCORDION
═══════════════════════════════════════ */
.faq-list { display: flex; flex-direction: column; gap: 0.5rem; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}
.faq-item.open { border-color: var(--border-hover); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  background: var(--surface);
  transition: background var(--dur) var(--ease);
  width: 100%;
  text-align: left;
}
.faq-question:hover { background: var(--surface2); }

.faq-question span {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 1rem;
  flex-shrink: 0;
  transition: all var(--dur) var(--ease);
}
.faq-item.open .faq-icon {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.faq-item.open .faq-answer { max-height: 500px; }

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}


/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem; /* Reduced from 5rem */
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr); /* Slightly adjusted ratios */
  gap: 2.5rem; /* Reduced from 4rem */
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

@media (max-width: 992px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__brand .footer__logo-link {
  display: block;
  margin-bottom: 1.5rem;
}

.footer__brand .logo-img {
  height: 56px; /* Normalized for institutional look */
  width: auto;
  display: block;
  object-fit: contain;
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 1.5rem;
  max-width: 280px;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md); /* Unified with buttons */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: var(--surface2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.85rem;
}

.footer__social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(199,0,0,0.25);
}

.footer__social a svg { transition: transform 0.3s ease; }
.footer__social a:hover svg { transform: scale(1.1); }

.footer__col-title {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer__col ul a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color var(--dur) var(--ease);
}
.footer__col ul a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.footer__legal a {
  font-size: 0.8rem;
  color: var(--muted);
  transition: color var(--dur) var(--ease);
}
.footer__legal a:hover { color: var(--text); }

/* Footer brand also uses currentColor for theme-aware svg */
.footer__brand .footer__logo-link { color: var(--text); }


/* ═══════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out),
              transform 0.7s var(--ease-out);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ═══════════════════════════════════════
   PILL TAGS
═══════════════════════════════════════ */
.pill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.pill-tag {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  transition: all var(--dur) var(--ease);
}
.pill-tag:hover {
  background: var(--surface2);
  border-color: var(--red);
  transform: translateY(-2px);
  color: var(--text);
}

.pill-tag svg {
  color: var(--red);
  opacity: 0.8;
  transition: transform 0.3s var(--ease);
}

.pill-tag:hover svg {
  transform: scale(1.2) rotate(10deg);
}


/* ═══════════════════════════════════════
   UTILITY
═══════════════════════════════════════ */
.text-red    { color: var(--red); }
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--muted); }
.text-white  { color: #fff; }
.stroke-text {
  -webkit-text-stroke: 2px var(--text);
  color: transparent;
}
[data-theme="light"] .stroke-text {
  -webkit-text-stroke: 2px #0A0A0A;
}

.mt-auto { margin-top: auto; }
.text-center { text-align: center; }


/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .process-row { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-row::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .reason-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --space-2xl: 3.5rem; --space-xl: 2rem; }
  .container { padding: 0 1.25rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .cta-strip { padding: 3.5rem 1.5rem; margin: 0; border-radius: 0; }
  .process-row { grid-template-columns: 1fr 1fr; }
  .btn-ghost-wa { display: none; }
  .nav__actions .btn-audit span { display: none; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .process-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   BLUEPRINT SECTION
═══════════════════════════════════════ */
.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.blueprint-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blueprint-card:hover {
  border-color: var(--red);
  background: var(--bg);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.blueprint-card__icon {
  width: 48px;
  height: 48px;
  background: var(--red-dim);
  color: var(--red);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: all var(--dur) var(--ease);
}
.blueprint-card:hover .blueprint-card__icon {
  background: var(--red);
  color: #fff;
}

.blueprint-card__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.blueprint-card__desc {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
  flex: 1;
}

.blueprint-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.blueprint-list li {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  padding-left: 1.5rem;
  position: relative;
  opacity: 0.9;
}
.blueprint-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 0.6rem;
}

/* ═══════════════════════════════════════
   INDUSTRIES SECTION
═══════════════════════════════════════ */
.industry-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.ind-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--muted);
  transition: all var(--dur) var(--ease);
}
.ind-pill:hover {
  border-color: var(--red);
  color: var(--text);
}

.industry-visual {
  perspective: 1000px;
}
.industry-card-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: rotateY(-10deg) rotateX(10deg);
}
.industry-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: all var(--dur) var(--ease);
}
.industry-card:nth-child(2) { margin-left: 2rem; transform: scale(1.05); border-color: var(--red-dim); }
.industry-card:nth-child(3) { margin-left: 1rem; }

.industry-card:hover {
  transform: scale(1.02) translateX(10px);
  border-color: var(--red);
  z-index: 10;
}

.industry-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-family: var(--font-serif);
}
.industry-card p {
  font-size: 0.85rem;
  color: var(--muted);
}
.t-accent { color: var(--red); }

/* ═══════════════════════════════════════
   WHY ADSMOOTH — BACKGROUND
   ═══════════════════════════════════════ */
.why-ad-section {
  position: relative;
  background-image: 
    linear-gradient(to right, var(--bg) 35%, rgba(13, 13, 13, 0.5) 100%),
    url('../img/why-us-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

[data-theme="light"] .why-ad-section {
  background-image: 
    linear-gradient(to right, var(--bg) 35%, rgba(245, 244, 240, 0.5) 100%),
    url('../img/why-us-bg-light.png');
}

@media (max-width: 1024px) {
  .why-ad-section {
    background-image: 
      linear-gradient(to bottom, var(--bg) 40%, rgba(13, 13, 13, 0.7) 100%),
      url('../img/why-us-bg.png');
    background-attachment: scroll;
  }
  
  [data-theme="light"] .why-ad-section {
    background-image: 
      linear-gradient(to bottom, var(--bg) 40%, rgba(245, 244, 240, 0.7) 100%),
      url('../img/why-us-bg-light.png');
  }
}

/* ═══════════════════════════════════════
   GLOBAL STANDARDS — BACKGROUND
   ═══════════════════════════════════════ */
.global-section {
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 50%, var(--bg) 0%, rgba(13, 13, 13, 0.6) 80%),
    url('../img/global-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

[data-theme="light"] .global-section {
  background-image: 
    radial-gradient(circle at 10% 50%, var(--bg) 0%, rgba(245, 244, 240, 0.6) 80%),
    url('../img/global-bg-light.png');
}

@media (max-width: 1024px) {
  .global-section {
    background-image: 
      linear-gradient(to bottom, var(--bg) 20%, rgba(13, 13, 13, 0.8) 100%),
        url('../img/global-bg.png');
    background-attachment: scroll;
  }
  
  [data-theme="light"] .global-section {
    background-image: 
      linear-gradient(to bottom, var(--bg) 20%, rgba(245, 244, 240, 0.8) 100%),
      url('../img/global-bg-light.png');
  }
}

/* ═══════════════════════════════════════
   PORTFOLIO — BACKGROUND
   ═══════════════════════════════════════ */
.portfolio-section {
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 20%, var(--bg) 0%, rgba(13, 13, 13, 0.6) 100%),
    url('../img/portfolio-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

[data-theme="light"] .portfolio-section {
  background-image: 
    radial-gradient(circle at 10% 20%, var(--bg) 0%, rgba(255, 255, 255, 0.5) 100%),
    url('../img/portfolio-bg-light.png');
}

@media (max-width: 1024px) {
  .portfolio-section {
    background-image: 
      linear-gradient(to bottom, var(--bg) 30%, rgba(13, 13, 13, 0.8) 100%),
      url('../img/portfolio-bg.png');
    background-attachment: scroll;
  }
  
  [data-theme="light"] .portfolio-section {
    background-image: 
      linear-gradient(to bottom, var(--bg) 30%, rgba(255, 255, 255, 0.8) 100%),
      url('../img/portfolio-bg-light.png');
  }
}

/* ═══════════════════════════════════════
   FAQ SECTION
═══════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  transition: all var(--dur) var(--ease);
}
.faq-item[open] {
  border-color: var(--border-hover);
}
.faq-summary {
  padding: 1.5rem 2rem;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--dur) var(--ease);
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary:hover { color: var(--red); }

.faq-icon::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 1.2rem;
  transition: transform 0.4s var(--ease);
}
.faq-item[open] .faq-icon::after {
  content: '−';
  transform: rotate(90deg);
}

.faq-content {
  padding: 0 2rem 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   NEWSLETTER SECTION
═══════════════════════════════════════ */
.newsletter-strip {
  padding: 4rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 4rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  background-image: 
    linear-gradient(to right, var(--surface) 40%, rgba(20, 20, 20, 0.75) 100%),
    url('../img/newsletter-bg.png');
  background-size: cover;
  background-position: center;
}

[data-theme="light"] .newsletter-inner {
  background-image: 
    linear-gradient(to right, var(--surface) 40%, rgba(255, 255, 255, 0.7) 100%),
    url('../img/newsletter-bg-light.png');
}

.newsletter-inner::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 400px; height: 100%;
  background: radial-gradient(circle at center, var(--red-dim) 0%, transparent 85%);
  pointer-events: none;
  opacity: 0.6;
}

.newsletter-text h3 { margin-bottom: 0.5rem; }
.newsletter-text p { color: var(--muted); }

.newsletter-form {
  display: flex;
  gap: 1rem;
}
.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
}
.newsletter-form input:focus {
  border-color: var(--red);
  outline: none;
}
.newsletter-form .btn-primary {
  padding: 0 2rem;
  border-radius: var(--radius-full);
}

@media (max-width: 991px) {
  .blueprint-grid { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
}

