/* ========================================================================
   GCALIT LLC — Design System
   A premium, dark-theme design system built for performance marketing
   ======================================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* --- Custom Properties (Design Tokens) --- */
:root {
  /* Colors */
  --ink: #08080c;
  --ink-light: #0e0e14;
  --paper: #f2f0ed;
  --paper-dim: #d1cdc6;
  --indigo: #e8a838;
  --indigo-glow: #f0be5a;
  --indigo-deep: #c88e28;
  --amber: #ff4757;
  --amber-glow: #ff6b7a;
  --amber-deep: #d63447;
  --slate: #9a9490;
  --slate-dim: #6e6862;
  --ghost: #141418;
  --ghost-light: #1e1e24;
  --success: #22c55e;
  --danger: #ef4444;
  --white: #ffffff;

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Font Sizes — Fluid */
  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.3vw, 0.95rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.3vw, 1.1rem);
  --text-lg: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  --text-xl: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem);
  --text-2xl: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
  --text-3xl: clamp(2rem, 1.5rem + 2vw, 3rem);
  --text-4xl: clamp(2.5rem, 1.8rem + 3vw, 4.5rem);
  --text-5xl: clamp(3rem, 2rem + 4vw, 6rem);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container-max: 1280px;
  --container-wide: 1440px;
  --container-narrow: 900px;
  --gutter: clamp(1rem, 2vw, 2rem);

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --border-subtle: 1px solid rgba(255, 255, 255, 0.06);
  --border-accent: 1px solid rgba(232, 168, 56, 0.3);

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow-indigo: 0 0 40px rgba(232, 168, 56, 0.18);
  --shadow-glow-amber: 0 0 40px rgba(255, 71, 87, 0.15);
  --shadow-elevated: 0 8px 40px rgba(0, 0, 0, 0.5);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-base: 350ms;
  --duration-slow: 600ms;

  /* Z-index scale */
  --z-base: 1;
  --z-sticky: 100;
  --z-overlay: 500;
  --z-modal: 1000;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--paper);
  background-color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none;
}

/* --- Custom Cursor --- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--indigo);
  transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(232, 168, 56, 0.5);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), height 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s, background 0.25s;
}

body:hover .cursor-dot,
body:hover .cursor-ring {
  opacity: 1;
}

a:hover ~ .cursor-dot,
button:hover ~ .cursor-dot,
.cursor-dot.hovering {
  width: 12px;
  height: 12px;
  background: var(--amber);
}

.cursor-ring.hovering {
  width: 48px;
  height: 48px;
  border-color: rgba(255, 71, 87, 0.4);
  background: rgba(255, 71, 87, 0.06);
}

/* Hide custom cursor on touch/mobile */
@media (hover: none), (max-width: 768px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}

img, video, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* --- Grain Overlay (Global) --- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* --- Mouse-Reactive Canvas --- */
#mouse-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* ============================
   LAYOUT UTILITIES
   ============================ */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--space-5xl);
  position: relative;
}

.section--sm {
  padding-block: var(--space-3xl);
}

/* --- Flex & Grid Helpers --- */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-center {
  align-items: center;
  justify-content: center;
}

.flex-between {
  justify-content: space-between;
  align-items: center;
}

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }

/* ============================
   TYPOGRAPHY UTILITIES
   ============================ */
.text-gradient {
  background: linear-gradient(135deg, var(--indigo-glow), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted {
  color: var(--slate);
}

.text-accent {
  color: var(--indigo-glow);
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--indigo-glow);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--indigo);
  display: inline-block;
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 700;
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
}

.section-desc {
  font-size: var(--text-lg);
  color: var(--slate);
  max-width: 640px;
  line-height: 1.8;
}

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn--primary {
  background: var(--indigo);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(232, 168, 56, 0.3);
}

.btn--primary:hover {
  background: var(--indigo-glow);
  box-shadow: 0 6px 30px rgba(232, 168, 56, 0.45);
  transform: translateY(-2px);
}

.btn--secondary {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn--secondary:hover {
  border-color: var(--indigo-glow);
  color: var(--indigo-glow);
  background: rgba(232, 168, 56, 0.08);
}

.btn--amber {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(255, 71, 87, 0.3);
}

.btn--amber:hover {
  background: var(--amber-glow);
  box-shadow: 0 6px 30px rgba(255, 71, 87, 0.45);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 18px 40px;
  font-size: var(--text-base);
}

.btn .arrow {
  transition: transform var(--duration-fast) var(--ease-out);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ============================
   HEADER / NAVIGATION
   ============================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-lg) 0;
  transition: all var(--duration-base) var(--ease-out);
}

.site-header.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-md) 0;
  border-bottom: var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--paper);
}

.logo span {
  color: var(--indigo-glow);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-desktop a {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--slate);
  transition: color var(--duration-fast) var(--ease-out);
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--indigo);
  transition: width var(--duration-base) var(--ease-out);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--paper);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: var(--space-lg);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: calc(var(--z-overlay) + 1);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--paper);
  transition: all var(--duration-base) var(--ease-out);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: var(--z-overlay);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-out);
}

.nav-mobile.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.nav-mobile a {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--paper);
  transition: color var(--duration-fast);
}

.nav-mobile a:hover {
  color: var(--indigo-glow);
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 15, 0.3) 0%,
    rgba(10, 10, 15, 0.6) 50%,
    var(--ink) 100%
  );
}

.hero-content {
  position: relative;
  z-index: var(--z-base);
  max-width: 880px;
}

.hero-title {
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: var(--space-xl);
}

.hero-title .line {
  display: block;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--indigo-glow), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--slate);
  max-width: 560px;
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-3xl);
  margin-top: var(--space-4xl);
  padding-top: var(--space-2xl);
  border-top: var(--border-subtle);
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--paper);
  line-height: 1;
}

.hero-stat-number .accent {
  color: var(--indigo-glow);
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: var(--slate);
  margin-top: var(--space-xs);
}

/* ============================
   MARQUEE / TICKER
   ============================ */
.marquee-section {
  padding-block: var(--space-3xl);
  border-top: var(--border-subtle);
  border-bottom: var(--border-subtle);
  overflow: hidden;
}

.marquee-label {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--slate-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-xl);
  font-family: var(--font-heading);
}

.marquee-track {
  display: flex;
  gap: var(--space-4xl);
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.12);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  transition: color var(--duration-base);
}

.marquee-item:hover {
  color: rgba(255, 255, 255, 0.3);
}

.marquee-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--indigo);
  flex-shrink: 0;
}

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

/* ============================
   BENTO GRID (Services)
   ============================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.bento-card {
  background: var(--ghost);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-out);
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--indigo), transparent);
  opacity: 0;
  transition: opacity var(--duration-base);
}

.bento-card:hover {
  border-color: rgba(232, 168, 56, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-indigo);
}

.bento-card:hover::before {
  opacity: 1;
}

/* Featured card spans 2 cols */
.bento-card--featured {
  grid-column: span 2;
}

/* Wide card spans full width */
.bento-card--wide {
  grid-column: span 3;
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(232, 168, 56, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--indigo-glow);
  font-size: 1.4rem;
}

.bento-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
}

.bento-card p {
  color: var(--slate);
  font-size: var(--text-base);
  line-height: 1.8;
}

.bento-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  color: var(--indigo-glow);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: gap var(--duration-fast);
}

.bento-card:hover .learn-more {
  gap: var(--space-md);
}

/* ============================
   PROCESS / TIMELINE
   ============================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--indigo), var(--indigo-glow), var(--amber), var(--amber-glow));
  opacity: 0.3;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ghost);
  border: 2px solid var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--indigo-glow);
  position: relative;
  z-index: 2;
}

.process-step h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.process-step p {
  color: var(--slate);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* ============================
   TESTIMONIALS
   ============================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.testimonial-card {
  background: var(--ghost);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
  color: var(--indigo);
  opacity: 0.4;
  position: absolute;
  top: 16px;
  left: 24px;
}

.testimonial-text {
  font-size: var(--text-base);
  color: var(--paper-dim);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: var(--space-lg);
  padding-top: var(--space-lg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--amber));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--white);
}

.testimonial-name {
  font-weight: 600;
  font-size: var(--text-sm);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--slate);
}

/* ============================
   CTA SECTION
   ============================ */
.cta-section {
  position: relative;
  padding-block: var(--space-5xl);
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(232, 168, 56, 0.12) 0%, transparent 70%);
}

.cta-content {
  position: relative;
  z-index: var(--z-base);
}

.cta-title {
  font-size: var(--text-4xl);
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.cta-desc {
  font-size: var(--text-lg);
  color: var(--slate);
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
}

/* ============================
   PAGE HERO (Inner Pages)
   ============================ */
.page-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(232, 168, 56, 0.08) 0%, transparent 50%);
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--slate);
  margin-bottom: var(--space-xl);
}

.page-hero .breadcrumb a {
  color: var(--slate);
  transition: color var(--duration-fast);
}

.page-hero .breadcrumb a:hover {
  color: var(--indigo-glow);
}

.page-hero .breadcrumb .sep {
  color: var(--slate-dim);
}

.page-hero-title {
  font-size: var(--text-4xl);
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.page-hero-desc {
  font-size: var(--text-xl);
  color: var(--slate);
  max-width: 680px;
  line-height: 1.7;
}

/* ============================
   ABOUT PAGE
   ============================ */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-story-text h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-xl);
}

.about-story-text p {
  color: var(--slate);
  line-height: 1.9;
  margin-bottom: var(--space-lg);
}

.about-story-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.about-story-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 60px;
  margin-top: var(--space-3xl);
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 23px;
  width: 2px;
  background: linear-gradient(to bottom, var(--indigo), var(--amber));
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-3xl);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -48px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--indigo);
  border: 3px solid var(--ink);
  box-shadow: 0 0 0 3px rgba(232, 168, 56, 0.3);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--indigo-glow);
  margin-bottom: var(--space-sm);
}

.timeline-item h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.timeline-item p {
  color: var(--slate);
  line-height: 1.8;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.value-card {
  background: var(--ghost);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--duration-base) var(--ease-out);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 168, 56, 0.2);
  box-shadow: var(--shadow-glow-indigo);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
}

.value-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
}

.value-card p {
  color: var(--slate);
  font-size: var(--text-sm);
  line-height: 1.8;
}

/* ============================
   SERVICES PAGE
   ============================ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  padding-block: var(--space-4xl);
  border-bottom: var(--border-subtle);
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail:last-child {
  border-bottom: none;
}

.service-number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: rgba(232, 168, 56, 0.1);
  line-height: 1;
  margin-bottom: var(--space-lg);
}

.service-detail h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-lg);
}

.service-detail p {
  color: var(--slate);
  line-height: 1.9;
  margin-bottom: var(--space-lg);
}

.service-deliverables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.deliverable-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--paper-dim);
}

.deliverable-item::before {
  content: '→';
  color: var(--indigo-glow);
  font-weight: 700;
}

.service-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232, 168, 56, 0.1), transparent);
  border-radius: var(--radius-lg);
  border: var(--border-subtle);
}

/* ============================
   RESULTS / CASE STUDIES
   ============================ */
.results-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.metric-card {
  background: var(--ghost);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  background: linear-gradient(135deg, var(--indigo-glow), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
}

.metric-label {
  font-size: var(--text-sm);
  color: var(--slate);
}

.case-study {
  background: var(--ghost);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
  margin-bottom: var(--space-xl);
}

.case-study-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.case-study-industry {
  display: inline-flex;
  padding: 6px 16px;
  background: rgba(232, 168, 56, 0.1);
  border: 1px solid rgba(232, 168, 56, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--indigo-glow);
  font-weight: 500;
}

.case-study h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-lg);
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.case-study-block h4 {
  font-size: var(--text-sm);
  color: var(--indigo-glow);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.case-study-block p {
  color: var(--slate);
  line-height: 1.8;
}

.case-study-results {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: var(--border-subtle);
  flex-wrap: wrap;
}

.case-result {
  text-align: center;
}

.case-result-number {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--amber);
}

.case-result-label {
  font-size: var(--text-xs);
  color: var(--slate);
  margin-top: 4px;
}

/* Progress Bars */
.progress-bar-wrapper {
  margin-bottom: var(--space-lg);
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
}

.progress-label span:last-child {
  color: var(--indigo-glow);
  font-weight: 600;
}

.progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--indigo), var(--indigo-glow));
  transition: width 1.5s var(--ease-out);
}

/* ============================
   CONTACT PAGE
   ============================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  margin-top: var(--space-2xl);
}

.contact-info-card {
  background: var(--ghost);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  transition: all var(--duration-base) var(--ease-out);
}

.contact-info-card:hover {
  border-color: rgba(232, 168, 56, 0.2);
  transform: translateX(4px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(232, 168, 56, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--indigo-glow);
}

.contact-info-card h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-xs);
}

.contact-info-card p {
  color: var(--slate);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.contact-form {
  background: var(--ghost);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--paper-dim);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--ink-light);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: border-color var(--duration-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(232, 168, 56, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-submit {
  width: 100%;
  margin-top: var(--space-md);
}

/* Map */
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-lg);
  border: var(--border-subtle);
}

.contact-map iframe {
  width: 100%;
  height: 250px;
  border: none;
  filter: grayscale(1) invert(1) contrast(0.9) brightness(0.8);
}

/* FAQ Accordion */
.faq-list {
  margin-top: var(--space-2xl);
}

.faq-item {
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
  background: var(--ghost);
}

.faq-question {
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--paper);
  text-align: left;
  transition: color var(--duration-fast);
}

.faq-question:hover {
  color: var(--indigo-glow);
}

.faq-toggle {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--slate);
  transition: transform var(--duration-base) var(--ease-out);
}

.faq-toggle::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-toggle::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.open .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out);
}

.faq-answer-inner {
  padding: 0 var(--space-xl) var(--space-lg);
  color: var(--slate);
  line-height: 1.8;
}

/* ============================
   LEGAL PAGES
   ============================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: var(--space-5xl);
}

.legal-content h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
  color: var(--paper);
}

.legal-content h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  color: var(--paper);
}

.legal-content p {
  color: var(--slate);
  line-height: 1.9;
  margin-bottom: var(--space-lg);
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.legal-content ul li {
  color: var(--slate);
  line-height: 1.9;
  margin-bottom: var(--space-sm);
}

.legal-content a {
  color: var(--indigo-glow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--amber);
}

.legal-updated {
  font-size: var(--text-sm);
  color: var(--slate-dim);
  margin-top: var(--space-md);
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
  background: var(--ink-light);
  border-top: var(--border-subtle);
  padding-top: var(--space-4xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.footer-brand .logo {
  margin-bottom: var(--space-lg);
}

.footer-brand p {
  color: var(--slate);
  font-size: var(--text-sm);
  line-height: 1.8;
  max-width: 320px;
  margin-bottom: var(--space-xl);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--ghost);
  border: var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  font-size: 0.9rem;
  transition: all var(--duration-fast);
}

.footer-social a:hover {
  background: var(--indigo);
  color: var(--white);
  border-color: var(--indigo);
}

.footer-column h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--paper);
  margin-bottom: var(--space-lg);
}

.footer-column ul li {
  margin-bottom: var(--space-md);
}

.footer-column ul li a {
  color: var(--slate);
  font-size: var(--text-sm);
  transition: color var(--duration-fast);
}

.footer-column ul li a:hover {
  color: var(--indigo-glow);
}

.footer-bottom {
  border-top: var(--border-subtle);
  padding-block: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  color: var(--slate-dim);
  font-size: var(--text-xs);
}

.footer-legal {
  display: flex;
  gap: var(--space-xl);
}

.footer-legal a {
  color: var(--slate-dim);
  font-size: var(--text-xs);
  transition: color var(--duration-fast);
}

.footer-legal a:hover {
  color: var(--indigo-glow);
}

/* ============================
   SCROLL REVEAL ANIMATIONS
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger Children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.35s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   COUNTER ANIMATION
   ============================ */
.count-up {
  display: inline-block;
}

/* ============================
   RESPONSIVE DESIGN
   ============================ */
@media (max-width: 1200px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-card--featured {
    grid-column: span 2;
  }

  .bento-card--wide {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .results-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  /* ===========================================
     MOBILE VISUAL MAKEOVER — Backgrounds & Life
     =========================================== */

  /* Global mobile background with subtle gradient instead of flat black */
  body {
    background: linear-gradient(175deg, #08080c 0%, #0d0b14 30%, #110e18 60%, #0a0910 100%);
    background-attachment: fixed;
    cursor: auto;
  }

  /* Ambient glow orbs — add visual depth */
  body::before {
    content: '';
    position: fixed;
    top: -20%;
    right: -30%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232, 168, 56, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
  }

  /* All sections get relative positioning for proper stacking */
  .section, .page-hero, .hero, .site-footer, .marquee-section {
    position: relative;
    z-index: 1;
  }

  /* --- Hero Mobile --- */
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: var(--space-2xl);
    text-align: center;
    background: 
      radial-gradient(ellipse at 50% 0%, rgba(232, 168, 56, 0.1) 0%, transparent 50%),
      radial-gradient(ellipse at 80% 100%, rgba(255, 71, 87, 0.06) 0%, transparent 50%);
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    font-size: var(--text-3xl);
    text-align: center;
    line-height: 1.08;
    margin-bottom: var(--space-md);
  }

  .hero-subtitle {
    text-align: center;
    max-width: 90%;
    font-size: var(--text-base);
    margin-bottom: var(--space-lg);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 16px 32px;
    font-size: var(--text-sm);
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    text-align: center;
    width: 100%;
    padding-top: var(--space-lg);
    margin-top: var(--space-lg);
  }

  .hero-stat {
    text-align: center;
    min-width: 120px;
    flex: 1;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(232, 168, 56, 0.1);
  }

  .hero-stat-number {
    font-size: var(--text-2xl);
  }

  /* --- Page Hero Mobile --- */
  .page-hero {
    text-align: center;
    padding-top: 120px;
    padding-bottom: var(--space-2xl);
    background: 
      radial-gradient(ellipse at 50% 30%, rgba(232, 168, 56, 0.08) 0%, transparent 60%);
  }

  .page-hero-title {
    font-size: var(--text-3xl);
    text-align: center;
    line-height: 1.1;
  }

  .page-hero-desc {
    text-align: center;
    margin-inline: auto;
    font-size: var(--text-base);
  }

  .breadcrumb {
    justify-content: center;
  }

  /* --- Sections Mobile --- */
  .section {
    padding-block: var(--space-2xl);
  }

  .section + .section {
    border-top: 1px solid rgba(232, 168, 56, 0.06);
  }

  .section-title {
    text-align: center;
    font-size: var(--text-3xl);
  }

  .section-desc {
    text-align: center;
    margin-inline: auto;
  }

  .eyebrow {
    justify-content: center;
    font-size: var(--text-xs);
  }

  /* --- Cards — Vibrant on Mobile --- */
  .bento-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .bento-card--featured,
  .bento-card--wide {
    grid-column: span 1;
  }

  .bento-card {
    text-align: center;
    background: linear-gradient(160deg, rgba(20, 20, 28, 0.9) 0%, rgba(14, 14, 20, 0.95) 100%);
    border: 1px solid rgba(232, 168, 56, 0.12);
    padding: var(--space-xl) var(--space-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .bento-card:active {
    border-color: rgba(232, 168, 56, 0.3);
    box-shadow: 0 0 30px rgba(232, 168, 56, 0.08), inset 0 1px 0 rgba(232, 168, 56, 0.1);
  }

  .bento-icon {
    margin-inline: auto;
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
    background: linear-gradient(135deg, rgba(232, 168, 56, 0.15), rgba(255, 71, 87, 0.08));
    border: 1px solid rgba(232, 168, 56, 0.15);
  }

  .bento-card .learn-more {
    justify-content: center;
  }

  /* --- Process Mobile --- */
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .process-grid::before {
    display: none;
  }

  .process-number {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(232, 168, 56, 0.12), rgba(255, 71, 87, 0.06));
    border: 2px solid rgba(232, 168, 56, 0.3);
  }

  /* --- Testimonials Mobile --- */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    text-align: center;
    background: linear-gradient(160deg, rgba(20, 20, 28, 0.9) 0%, rgba(14, 14, 20, 0.95) 100%);
    border: 1px solid rgba(232, 168, 56, 0.1);
  }

  .testimonial-author {
    justify-content: center;
  }

  .testimonial-quote {
    font-size: var(--text-base);
    line-height: 1.8;
  }

  /* --- About Mobile --- */
  .about-story {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .value-card {
    text-align: center;
    background: linear-gradient(160deg, rgba(20, 20, 28, 0.9) 0%, rgba(14, 14, 20, 0.95) 100%);
    border: 1px solid rgba(232, 168, 56, 0.1);
  }

  .value-icon {
    margin-inline: auto;
  }

  /* --- Services Detail Mobile --- */
  .service-detail {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
    padding: var(--space-2xl) 0;
    border-bottom: 1px solid rgba(232, 168, 56, 0.08);
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  .service-number {
    text-align: center;
    font-size: var(--text-5xl);
    opacity: 0.06;
  }

  .service-detail h2 {
    font-size: var(--text-2xl);
  }

  .service-deliverables {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .service-visual img {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(232, 168, 56, 0.1);
  }

  /* --- Contact Mobile --- */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .contact-info-card {
    text-align: center;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(160deg, rgba(20, 20, 28, 0.9) 0%, rgba(14, 14, 20, 0.95) 100%);
    border: 1px solid rgba(232, 168, 56, 0.12);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
  }

  .contact-info-card > div {
    text-align: center;
  }

  .contact-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
  }

  .contact-info-card h3 {
    font-size: var(--text-lg);
    color: var(--indigo-glow);
  }

  .contact-map iframe {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(232, 168, 56, 0.1);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    background: linear-gradient(160deg, rgba(20, 20, 28, 0.9) 0%, rgba(14, 14, 20, 0.95) 100%);
    border: 1px solid rgba(232, 168, 56, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
  }

  .contact-form h2,
  .contact-form > p {
    text-align: center;
  }

  .form-submit {
    width: 100%;
    padding: 18px;
    font-size: var(--text-base);
  }

  /* --- Results Mobile --- */
  .results-metrics {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-md);
  }

  .metric-card {
    text-align: center;
    background: linear-gradient(160deg, rgba(20, 20, 28, 0.9) 0%, rgba(14, 14, 20, 0.95) 100%);
    border: 1px solid rgba(232, 168, 56, 0.1);
    padding: var(--space-xl);
  }

  .case-study {
    text-align: center;
    background: linear-gradient(160deg, rgba(20, 20, 28, 0.9) 0%, rgba(14, 14, 20, 0.95) 100%);
    border: 1px solid rgba(232, 168, 56, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
  }

  .case-study h3 {
    text-align: center;
    font-size: var(--text-xl);
  }

  .case-study-grid {
    grid-template-columns: 1fr;
  }

  .case-study-block h4,
  .case-study-block p {
    text-align: left;
  }

  .case-study-results {
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
  }

  .case-result {
    text-align: center;
    background: rgba(232, 168, 56, 0.06);
    border: 1px solid rgba(232, 168, 56, 0.12);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
  }

  .case-result-number {
    font-size: var(--text-2xl);
  }

  /* --- CTA Section Mobile — Full Visual Impact --- */
  .cta-content {
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
    background: 
      radial-gradient(ellipse at 50% 40%, rgba(232, 168, 56, 0.1) 0%, transparent 60%),
      radial-gradient(ellipse at 80% 80%, rgba(255, 71, 87, 0.06) 0%, transparent 50%);
    border: 1px solid rgba(232, 168, 56, 0.1);
    border-radius: var(--radius-xl);
  }

  .cta-title {
    font-size: var(--text-3xl);
    line-height: 1.1;
  }

  .cta-desc {
    margin-inline: auto;
    text-align: center;
  }

  /* --- Footer Mobile --- */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }

  .footer-brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-social {
    justify-content: center;
    gap: var(--space-md);
  }

  .footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(232, 168, 56, 0.15);
    border-radius: 50%;
    font-size: var(--text-sm);
  }

  .footer-column {
    text-align: center;
  }

  .footer-column h4 {
    color: var(--indigo-glow);
    margin-bottom: var(--space-md);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(232, 168, 56, 0.08);
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* --- FAQ Mobile --- */
  .faq-question {
    font-size: var(--text-base);
    text-align: left;
    padding: var(--space-lg);
  }

  .faq-item {
    border: 1px solid rgba(232, 168, 56, 0.08);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    background: rgba(20, 20, 28, 0.6);
  }

  .faq-item.open {
    border-color: rgba(232, 168, 56, 0.2);
    box-shadow: 0 0 20px rgba(232, 168, 56, 0.05);
  }

  /* --- Legal Pages Mobile --- */
  .legal-content h2 {
    font-size: var(--text-xl);
    text-align: center;
  }

  .legal-updated {
    text-align: center;
  }

  /* --- Marquee Mobile --- */
  .marquee-section {
    border-color: rgba(232, 168, 56, 0.08);
    background: rgba(232, 168, 56, 0.02);
  }
}

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

  .hero-title {
    font-size: var(--text-3xl);
  }

  .hero-stats {
    gap: var(--space-md);
  }

  .hero-stat {
    min-width: 100px;
    flex: 1;
  }

  .btn--lg {
    padding: 16px 32px;
    font-size: var(--text-base);
  }

  .marquee-item {
    font-size: var(--text-base);
  }

  .case-study-results {
    grid-template-columns: 1fr 1fr;
    display: grid;
    gap: var(--space-sm);
  }

  .section-title {
    font-size: var(--text-2xl);
  }

  .bento-card {
    padding: var(--space-lg);
  }

  .contact-form {
    padding: var(--space-lg);
  }

  .cta-content {
    padding: var(--space-2xl) var(--space-md);
  }
}

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

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .stagger-children > * {
    opacity: 1;
    transform: none;
  }
}

/* ============================
   BACK TO TOP
   ============================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--indigo);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: var(--z-sticky);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--duration-base) var(--ease-out);
  box-shadow: 0 4px 20px rgba(232, 168, 56, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--indigo-glow);
  transform: translateY(-4px);
}

/* ============================
   LOADING SCREEN
   ============================ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out);
}

.loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(232, 168, 56, 0.2);
  border-top-color: var(--indigo);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
