/* ==========================================================================
   1. RESET & VARIABLES
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0D0D0D;
  --bg-secondary: #171717;
  --card: #1F1F1F;
  --bg-light: #F8F8F8;
  --text-primary: #FFFFFF;
  --text-secondary: #BDBDBD;
  --border: #2D2D2D;
  --accent: #D4D4D4;

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container-width: 1240px;
  --transition: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ==========================================================================
   2. BUTTONS
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1), background var(--transition), border-color var(--transition), box-shadow var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
  overflow: hidden;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.03);
}

/* ==========================================================================
   3. NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(13, 13, 13, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: transform var(--transition);
  display: inline-block;
}

.logo:hover { transform: rotate(-3deg); }
.logo span { color: var(--text-secondary); }

.nav-links { display: flex; gap: 36px; }

/* ==========================================================================
   NAV SOCIAL ICONS
   ========================================================================== */
.nav-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 8px;
  margin-left: 8px;
  border-left: 1px solid var(--border);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--text-secondary);
  transition: color var(--transition), background var(--transition), transform 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--text-primary);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { padding: 10px 22px; font-size: 14px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

.hamburger span {
  width: 22px; height: 2px;
  background: var(--text-primary);
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   4. HERO — TWO COLUMN GRID
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-glow {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--x, 20%) var(--y, 30%), rgba(255,255,255,0.06), transparent 60%);
  transition: background 150ms ease-out;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

/* ---- LEFT: content ---- */
.eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.trust-bar li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-bar li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--text-primary);
  flex-shrink: 0;
}

/* ---- RIGHT: visual ---- */
.hero-visual {
  position: relative;
  height: 480px;
  perspective: 1000px;
}

.blob {
  position: absolute;
  top: 50%; left: 50%;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  filter: blur(20px);
  animation: blobPulse 6s ease-in-out infinite;
  z-index: 0;
}

@keyframes blobPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

/* ==========================================================================
   GRADIENT HEADLINE TEXT
   ========================================================================== */
.gradient-text {
  background: linear-gradient(90deg, #FFFFFF 0%, #F58220 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ==========================================================================
   BACKGROUND TEXTURE — dot grid + noise
   ========================================================================== */
.hero-dotgrid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 75%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* second blob — drifts instead of just pulsing */
.blob-alt {
  width: 260px;
  height: 260px;
  top: 30%;
  left: 65%;
  background: radial-gradient(circle, rgba(245,130,32,0.14), transparent 70%);
  animation: blobDrift 9s ease-in-out infinite;
}

@keyframes blobDrift {
  0%, 100% { transform: translate(-50%, -50%) translate(0, 0); }
  33%      { transform: translate(-50%, -50%) translate(24px, -18px); }
  66%      { transform: translate(-50%, -50%) translate(-18px, 20px); }
}

/* ==========================================================================
   SCROLL CUE
   ========================================================================== */
.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  justify-content: center;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-secondary), transparent);
  animation: scrollDrop 2.2s ease-in-out infinite;
}

@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

@media (max-width: 600px) {
  .scroll-cue { display: none; }
}

.visual-card {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transition: transform 200ms ease-out;
  will-change: transform;
}

.main-card {
  width: 100%;
  max-width: 400px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  z-index: 2;
}

.card-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.card-dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--border);
}

.code-block {
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.9;
}

.code-comment { color: var(--text-secondary); }
.code-keyword { color: #E8B6FF; }
.code-var { color: #9ECBFF; }
.code-func { color: #FFD479; }
.code-string { color: #A8E6A3; }

.typing-line {
  color: var(--text-primary);
  min-height: 20px;
}

.cursor-blink {
  animation: blink 1s step-end infinite;
  color: var(--text-primary);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.float-card {
  padding: 16px 20px;
  z-index: 3;
  animation: floatY 4s ease-in-out infinite;
}

.card-top {
  top: 6%;
  right: 0;
  animation-delay: 0s;
}

.card-bottom {
  bottom: 8%;
  left: -4%;
  animation-delay: 1.2s;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.stat-icon { font-size: 20px; }

/* ==========================================================================
   5. REVEAL ANIMATION
   ========================================================================== */
.reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(30px);
  transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1),
              filter 900ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   6. RESPONSIVE
   ========================================================================== */
@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
  height: 380px;
  margin-top: 32px;
}

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-links.mobile-open {
    display: flex;
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: var(--bg-secondary);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 40px;
    border-left: 1px solid var(--border);
    z-index: 1050;
  }
}

@media (max-width: 600px) {
  .hero { padding: 120px 0 60px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .main-card { max-width: 90%; }
  .card-top { right: -4%; }
}

@media (max-width: 1000px) {
  .hero-visual {
    height: 380px;
    margin-top: 32px;
  }

  .main-card {
    max-width: 100%;
  }

  .card-top {
    top: -10%;
    right: 4%;
  }

  .card-bottom {
    bottom: -6%;
    left: 2%;
  }
}

/* ==========================================================================
   ROTATING SERVICE TEXT
   ========================================================================== */
.rotate-prefix {
  color: var(--text-secondary);
}

.rotate-wrap {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  vertical-align: middle;
  height: 1.4em;
  position: relative;
  top: -1px; /* fine-tune if still off by a hair */
  transition: width 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

.rotate-text {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1;
  transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 450ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.rotate-text.rotate-out {
  transform: translateY(-150%);
  opacity: 0;
}

.rotate-text.rotate-in-start {
  transform: translateY(50%);
  opacity: 0;
}
.rotate-text.color-purple { color: #E8B6FF; }
.rotate-text.color-blue   { color: #9ECBFF; }
.rotate-text.color-orange { color: #FFD479; }
.rotate-text.color-green  { color: #A8E6A3; }

/* invisible sizer — reserves correct width for the current word */
.rotate-sizer {
  visibility: hidden;
  white-space: nowrap;
  font-weight: 600;
  position: absolute;
  pointer-events: none;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about {
  position: relative;
  padding: 140px 0;
  background: var(--bg-primary);
  overflow: hidden;
}

.about-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(600px circle at 15% 20%, rgba(245,130,32,0.06), transparent 60%),
              radial-gradient(500px circle at 85% 80%, rgba(255,255,255,0.04), transparent 60%);
}

.about-dotgrid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 0%, transparent 75%);
}

.about-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}

/* ---- LEFT: IMAGE ---- */
.about-visual {
  position: relative;
}

.about-image-frame {
  position: relative;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  transform-style: preserve-3d;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(15%) contrast(1.05);
}

.frame-badge {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(13, 13, 13, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #A8E6A3;
  box-shadow: 0 0 0 3px rgba(168, 230, 163, 0.2);
  animation: dotPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---- RIGHT: CONTENT ---- */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 22px;
}

.about-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 32px;
}

.about-education {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 32px;
}

.edu-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(245, 130, 32, 0.1);
  color: #F58220;
}

.about-education h4 {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 3px;
}

.about-education p {
  font-size: 13px;
  color: var(--text-secondary);
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.about-stat-card {
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: left;
  transition: transform var(--transition), border-color var(--transition);
}

.about-stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.stat-number-lg {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
}

.plus {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
}

.about-stat-card p {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.about-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- SCROLL REVEAL (IntersectionObserver-driven) ---- */
.reveal-io {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(28px);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
              filter 800ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-io.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1000px) {
  .about { padding: 100px 0; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .about-image-frame {
    max-width: 320px;
    margin: 0 auto;
  }

  .about-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .about-stat-card { padding: 14px; }
  .stat-number-lg, .plus { font-size: 22px; }
}

@media (max-width: 600px) {
  .about-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-education {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .about-actions { flex-direction: column; }
  .about-actions .btn { width: 100%; }
}

/* ==========================================================================
   SERVICES SECTION — interactive accordion
   ========================================================================== */
.services {
  position: relative;
  padding: 140px 0;
  background: var(--bg-primary);
  overflow: hidden;
}

.services-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(600px circle at 85% 10%, rgba(245,130,32,0.06), transparent 60%),
              radial-gradient(500px circle at 10% 90%, rgba(255,255,255,0.04), transparent 60%);
}

.services-dotgrid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 0%, transparent 75%);
}

.services .container {
  position: relative;
  z-index: 2;
}

/* ---- TOP ROW: heading + View All Services button ---- */
.services-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

.services-heading {
  flex: 1;
  min-width: 0;
}

.services-heading .eyebrow {
  margin-bottom: 20px;
}

.services-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  margin-top: -6px;
}

/* ---- LIST ---- */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---- ITEM SHELL ---- */
.service-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.service-item.is-open {
  border-color: var(--accent);
}

/* ---- HEADER (clickable) ---- */
.service-header {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 24px 28px;
  transition: background var(--transition);
}

.service-header:hover {
  background: rgba(255, 255, 255, 0.025);
}

.service-header:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: -2px;
}

.service-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(245, 130, 32, 0.1);
  color: #F58220;
  transition: background var(--transition), color var(--transition), transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.service-header:hover .service-icon {
  transform: scale(1.06);
}

.service-item.is-open .service-icon {
  background: #F58220;
  color: #0D0D0D;
}

.service-heading {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 18.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.service-tagline {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.service-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  color: var(--text-secondary);
  transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1), color var(--transition);
}

.service-item.is-open .service-chevron {
  transform: rotate(180deg);
  color: var(--text-primary);
}

/* ---- COLLAPSIBLE CONTENT (CSS grid-rows trick, no JS height calc) ---- */
.service-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.service-item.is-open .service-content {
  grid-template-rows: 1fr;
}

.service-content-inner {
  overflow: hidden;
  min-height: 0;
}

.service-body {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 4px 28px 28px;
  border-top: 1px solid var(--border);
  margin: 0 28px;
}

.service-block {
  flex: 1 1 220px;
}

.service-block.full {
  flex: 1 1 100%;
}

.service-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 20px 0 14px;
}

/* ---- TAGS ---- */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-tags li {
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms ease, transform 400ms ease, border-color 250ms ease, background 250ms ease;
}

.service-tags li:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
}

.service-item.is-open .service-tags li {
  opacity: 1;
  transform: translateY(0);
}

/* ---- CHECKLIST ---- */
.service-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-checklist li {
  font-size: 13.5px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms ease, transform 400ms ease;
}

.service-checklist li::before {
  content: '✓';
  color: #A8E6A3;
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
}

.service-item.is-open .service-checklist li {
  opacity: 1;
  transform: translateY(0);
}

/* ---- STAGGER DELAY (applies to both tag pills and checklist rows) ---- */
.service-item.is-open .service-tags li:nth-child(1),
.service-item.is-open .service-checklist li:nth-child(1) { transition-delay: 60ms; }
.service-item.is-open .service-tags li:nth-child(2),
.service-item.is-open .service-checklist li:nth-child(2) { transition-delay: 105ms; }
.service-item.is-open .service-tags li:nth-child(3),
.service-item.is-open .service-checklist li:nth-child(3) { transition-delay: 150ms; }
.service-item.is-open .service-tags li:nth-child(4),
.service-item.is-open .service-checklist li:nth-child(4) { transition-delay: 195ms; }
.service-item.is-open .service-tags li:nth-child(5),
.service-item.is-open .service-checklist li:nth-child(5) { transition-delay: 240ms; }
.service-item.is-open .service-tags li:nth-child(6),
.service-item.is-open .service-checklist li:nth-child(6) { transition-delay: 285ms; }

/* ---- VIEW ALL SERVICES CTA (top-right, next to heading) ---- */
.btn-view-all {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  flex-shrink: 0;
  margin-top: 4px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  overflow: hidden;
  isolation: isolate;
  transition: border-color var(--transition), transform 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow var(--transition);
}

.btn-view-all span {
  position: relative;
  z-index: 1;
}

/* shimmer sweep — a soft diagonal light passes through on hover */
.btn-view-all::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(245, 130, 32, 0.16) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-view-all:hover::before {
  transform: translateX(120%);
}

.btn-view-all:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245, 130, 32, 0.12);
}

.btn-arrow {
  display: flex;
  align-items: center;
  color: #F58220;
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-view-all:hover .btn-arrow {
  transform: translateX(5px);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 800px) {
  .services-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

@media (max-width: 700px) {
  .services { padding: 100px 0; }
  .service-header { padding: 20px; gap: 14px; }
  .service-body { margin: 0 20px; padding: 4px 0 22px; gap: 28px; }
  .service-title { font-size: 17px; }
  .service-tagline { font-size: 13px; }
}

@media (max-width: 600px) {
  .btn-view-all {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-tags li,
  .service-checklist li {
    transition-delay: 0ms !important;
  }
  .btn-view-all::before {
    display: none;
  }
}

/* ==========================================================================
   PRELOADER — curtain reveal (home page only)
   ========================================================================== */
body.preloading {
  overflow: hidden;
  height: 100vh;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  overflow: hidden;
  transition: transform 600ms cubic-bezier(0.65, 0, 0.35, 1);
}

.preloader.curtain-up {
  transform: translateY(-100%);
}

.preloader.is-done {
  visibility: hidden;
  pointer-events: none;
}

.preloader-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(700px circle at 50% 35%, rgba(245, 130, 32, 0.07), transparent 65%);
}

.preloader-dotgrid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 75%);
}

.preloader-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.preloader-name {
  font-family: var(--font-heading);
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(16px);
  animation: plFadeUp 500ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.preloader-name span {
  color: var(--text-secondary);
}

.preloader-rotate {
  height: 1.5em;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  animation: plFadeUp 500ms cubic-bezier(0.16, 1, 0.3, 1) 150ms forwards;
}

.preloader-role {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 500;
  color: #F58220;
  letter-spacing: 0.02em;
}

.preloader-welcome {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  opacity: 0;
}

.preloader-welcome.show {
  animation: plFadeUp 450ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes plFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.preloader-edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #F58220, transparent);
  opacity: 0.55;
}

@media (prefers-reduced-motion: reduce) {
  .preloader {
    transition: none;
  }
}

/* ==========================================================================
   PORTFOLIO — big clickable gradient headline
   ========================================================================== */
/* ==========================================================================
   PORTFOLIO — big clickable gradient headline
   ========================================================================== */
.portfolio-teaser {
  position: relative;
  margin-top: -1px; /* fixes 1px browser rendering seam between adjacent dark sections */
  padding: 160px 0;
  background: var(--bg-primary);
  overflow: hidden;
}

.portfolio-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(700px circle at 50% 50%, rgba(245, 130, 32, 0.05), transparent 65%);
}

.portfolio-dotgrid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 65% 60% at 50% 50%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 65% 60% at 50% 50%, #000 0%, transparent 75%);
}

.portfolio-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.portfolio-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  cursor: pointer;
}

.portfolio-hint {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 18px;
  transition: transform var(--transition), opacity var(--transition);
}

.portfolio-link:hover .portfolio-hint {
  transform: translateY(-2px);
  opacity: 0.75;
}

/* ---- THE BIG WORD ---- */
.portfolio-word {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(64px, 15vw, 210px);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-link:hover .portfolio-word {
  transform: scale(1.02);
}

/* split into two halves so each can slide in from its own side */
.word-left,
.word-right {
  display: inline-block;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0;
  transition: transform 750ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 750ms cubic-bezier(0.16, 1, 0.3, 1);
}

.word-left {
  background-image: linear-gradient(90deg, #FFFFFF 0%, #FBCBA0 100%);
  transform: translateX(-70px);
}

.word-right {
  background-image: linear-gradient(90deg, #FBCBA0 0%, #F58220 100%);
  transform: translateX(70px);
  transition-delay: 180ms; /* "one by one" — right half follows left half in */
}

.portfolio-wrap.in-view .word-left,
.portfolio-wrap.in-view .word-right {
  opacity: 1;
  transform: translateX(0);
}

/* ---- UNDERLINE — draws outward from center on hover ---- */
.portfolio-underline {
  display: block;
  width: min(320px, 60%);
  height: 2px;
  margin-top: 24px;
  background: linear-gradient(90deg, transparent, #F58220, transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 550ms cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-link:hover .portfolio-underline {
  transform: scaleX(1);
}

/* ---- CORNER ARROW BADGE ---- */
.portfolio-badge {
  position: absolute;
  top: 0;
  right: 4%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: #F58220;
  opacity: 0;
  transform: scale(0.6) rotate(-25deg);
  transition: opacity 400ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 450ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.portfolio-link:hover .portfolio-badge {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 700px) {
  .portfolio-teaser { padding: 110px 0; }
  .portfolio-badge {
    width: 40px;
    height: 40px;
    top: -8px;
    right: 2%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-word,
  .word-left,
  .word-right {
    transition: none;
  }
  .word-left,
  .word-right {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==========================================================================
   SERVICES MEGA MENU
   ========================================================================== */
.nav-item-mega {
  position: relative;
}

.nav-mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: color var(--transition);
}

.nav-mega-trigger::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--text-primary);
  transition: width var(--transition);
}

.nav-mega-trigger:hover,
.nav-item-mega.mega-open .nav-mega-trigger {
  color: var(--text-primary);
}

.nav-mega-trigger:hover::after,
.nav-item-mega.mega-open .nav-mega-trigger::after {
  width: 100%;
}

.mega-caret {
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item-mega.mega-open .mega-caret {
  transform: rotate(180deg);
}

/* ---- PANEL ---- */
.mega-panel {
  position: fixed;
  top: 68px;
  left: 50%;
  transform: translate(-50%, -12px);
  width: min(920px, 92vw);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 350ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 350ms cubic-bezier(0.16, 1, 0.3, 1),
              visibility 350ms;
  z-index: 1200;
  overflow: hidden;
}

.nav-item-mega.mega-open .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-panel-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 32px 32px 8px;
}

.mega-col-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  padding-bottom: 16px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.mega-col-title:hover {
  color: #F58220;
}

.mega-col-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(245, 130, 32, 0.1);
  color: #F58220;
}

.mega-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-list li a {
  display: block;
  font-size: 13.5px;
  color: var(--text-secondary);
  padding: 9px 10px;
  border-radius: 8px;
  transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}

.mega-list li a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(3px);
}

.mega-panel-footer {
  padding: 16px 32px 24px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
}

.mega-viewall {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #F58220;
  transition: gap 250ms ease;
}

.mega-viewall:hover {
  gap: 12px;
}

/* stagger reveal for columns when panel opens */
.mega-col {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 400ms ease, transform 400ms ease;
}

.nav-item-mega.mega-open .mega-col {
  opacity: 1;
  transform: translateY(0);
}

.nav-item-mega.mega-open .mega-col:nth-child(1) { transition-delay: 60ms; }
.nav-item-mega.mega-open .mega-col:nth-child(2) { transition-delay: 110ms; }
.nav-item-mega.mega-open .mega-col:nth-child(3) { transition-delay: 160ms; }

/* ---- MOBILE: accordion instead of hover panel ---- */
@media (max-width: 1000px) {
  .mega-panel {
    position: static;
    width: 100%;
    transform: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    max-height: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: max-height 450ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-item-mega.mega-open .mega-panel {
    max-height: 1400px;
  }

  .mega-panel-inner {
    grid-template-columns: 1fr;
    padding: 12px 0 0;
    gap: 20px;
  }

  .mega-col {
    opacity: 1;
    transform: none;
  }

  .mega-panel-footer {
    padding: 16px 0;
    justify-content: flex-start;
  }
}

/* ---- highlight flash on services.html when landing via anchor ---- */
.service-highlight {
  animation: highlightFlash 1800ms ease;
}

@keyframes highlightFlash {
  0%   { background: rgba(245, 130, 32, 0.16); border-radius: 8px; }
  100% { background: transparent; }
}

@media (prefers-reduced-motion: reduce) {
  .mega-panel, .mega-col, .mega-caret, .nav-mega-trigger::after {
    transition: none !important;
  }
}

/* ==========================================================================
   SERVICES PAGE — page-specific styles
   Append this entire block to the END of your existing css/style.css
   ========================================================================== */
.services-page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: var(--bg-primary);
  overflow: hidden;
}

.services-page-title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.services-page-desc {
  font-size: 16.5px;
  color: var(--text-secondary);
  max-width: 620px;
  position: relative;
  z-index: 2;
}

.services-page-nav {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.services-page-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  transition: border-color var(--transition), transform 250ms cubic-bezier(0.16,1,0.3,1);
}

.services-page-nav a:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.services-page-nav .nav-pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: rgba(245,130,32,0.12);
  color: #F58220;
  flex-shrink: 0;
}

/* ---- SERVICE GROUP SECTION ---- */
.service-group {
  position: relative;
  padding: 100px 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.service-group-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(600px circle at 15% 20%, rgba(245,130,32,0.05), transparent 60%);
}

.service-group-inner {
  position: relative;
  z-index: 2;
}

.service-group-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}

.service-group-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(245, 130, 32, 0.1);
  color: #F58220;
}

.service-group-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.service-group-tagline {
  font-size: 15.5px;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 48px;
}

/* ---- INDIVIDUAL SERVICE ITEM CARDS ---- */
.service-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.service-item-card {
  scroll-margin-top: 110px; /* keeps the highlighted card visible below fixed navbar */
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color var(--transition), transform var(--transition);
}

.service-item-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.service-item-card h3 {
  font-family: var(--font-heading);
  font-size: 17.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-item-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- CHECKLIST BLOCK (Website Development "every site includes") ---- */
.service-checklist-block {
  margin-top: 56px;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.service-checklist-block h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 22px;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.checklist-grid li {
  font-size: 13.5px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.checklist-grid li::before {
  content: '✓';
  color: #A8E6A3;
  font-weight: 600;
  flex-shrink: 0;
}

/* ---- BOTTOM CTA ---- */
.services-cta {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}

.services-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(700px circle at 50% 50%, rgba(245,130,32,0.07), transparent 65%);
}

.services-cta-inner {
  position: relative;
  z-index: 2;
}

.services-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.services-cta p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 36px;
}

@media (max-width: 700px) {
  .service-group { padding: 72px 0; }
  .services-page-hero { padding: 130px 0 60px; }
  .service-group-icon { width: 44px; height: 44px; }
}

/* ==========================================================================
   SIMPLE FADE PRELOADER — services page (fast, minimal, ~1.3s total)
   ========================================================================== */
body.preloading-simple {
  overflow: hidden;
  height: 100vh;
}

.preloader-simple {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  transition: opacity 350ms ease;
}

.preloader-simple.fade-out {
  opacity: 0;
  pointer-events: none;
}

.preloader-simple.is-done {
  visibility: hidden;
}

.preloader-simple-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(8px);
  animation: simpleFadeIn 300ms ease forwards;
}

.preloader-simple-logo {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.preloader-simple-logo span {
  color: #F58220;
}

.preloader-simple-bar {
  width: 120px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-simple-bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: #F58220;
  border-radius: 2px;
  animation: simpleBarFill 850ms cubic-bezier(0.4, 0, 0.2, 1) 200ms forwards;
}

@keyframes simpleFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes simpleBarFill {
  to { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .preloader-simple,
  .preloader-simple-mark,
  .preloader-simple-bar-fill {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  overflow: hidden;
  padding-top: 80px;
}

.footer-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(600px circle at 20% 0%, rgba(245,130,32,0.06), transparent 60%);
}

.footer-dotgrid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 0%, transparent 75%);
}

/* ---- TOP CTA BAND ---- */
.footer-cta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 64px;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--border);
}

.footer-cta-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.footer-cta-text p {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 480px;
}

/* ---- MAIN GRID ---- */
.footer-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
  gap: 32px;
  padding-bottom: 64px;
}

.footer-brand-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 16px 0 20px;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 13.5px;
  color: var(--text-secondary);
  transition: color 200ms ease, transform 200ms ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--text-primary);
  transform: translateX(3px);
}

/* ---- CONTACT COLUMN ---- */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.footer-contact-list a {
  color: var(--text-secondary);
  transition: color 200ms ease;
}

.footer-contact-list a:hover {
  color: var(--text-primary);
}

.footer-contact-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(245, 130, 32, 0.1);
  color: #F58220;
}

.footer-contact-btn {
  width: 100%;
  justify-content: center;
}

/* ---- MOBILE ACCORDION TOGGLE (hidden on desktop) ---- */
.footer-col-toggle {
  all: unset;
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
}

.footer-toggle-icon {
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-secondary);
  flex-shrink: 0;
}

/* ---- BOTTOM BAR ---- */
.footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 24px;
  border-top: 1px solid var(--border);
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 200ms ease;
}

.footer-legal a:hover {
  color: var(--text-primary);
}

/* ---- BACK TO TOP BUTTON ---- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 300ms ease, transform 300ms ease, visibility 300ms, border-color var(--transition);
  z-index: 500;
}

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

.back-to-top:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .site-footer { padding-top: 56px; }

  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 40px;
    margin-bottom: 40px;
  }

  .footer-cta .btn { width: 100%; justify-content: center; }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 24px;
  }

  .footer-brand-col {
    margin-bottom: 32px;
  }

  /* Turn Quick Links / Services / Service Areas into accordions on mobile */
  .footer-accordion {
    border-top: 1px solid var(--border);
    padding: 20px 0;
  }

  .footer-accordion .footer-col-toggle {
    display: flex;
  }

  .footer-accordion .footer-col-title {
    margin-bottom: 0;
  }

  .footer-accordion .footer-links {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 400ms cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 0;
  }

  .footer-accordion .footer-links > * {
    overflow: hidden;
  }

  .footer-accordion.is-open .footer-links {
    grid-template-rows: 1fr;
    margin-top: 18px;
  }

  .footer-accordion.is-open .footer-toggle-icon {
    transform: rotate(180deg);
  }

  .footer-contact-col {
    padding-top: 20px;
    border-top: 1px solid var(--border);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 32px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top, .footer-links a, .footer-toggle-icon {
    transition: none !important;
  }
}

/* ==========================================================================
   LEGAL PAGE (Terms of Service / Privacy Policy)
   Append this block to the END of your existing css/style.css
   ========================================================================== */
.legal-hero {
  position: relative;
  padding: 160px 0 64px;
  background: var(--bg-primary);
  overflow: hidden;
}

.legal-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.legal-updated {
  font-size: 13.5px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.legal-intro {
  font-size: 15.5px;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

/* ---- BODY LAYOUT ---- */
.legal-body {
  padding: 0 0 100px;
  background: var(--bg-primary);
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}

/* ---- TOC SIDEBAR ---- */
.legal-toc {
  position: sticky;
  top: 100px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.legal-toc-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.legal-toc nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 60vh;
  overflow-y: auto;
}

.legal-toc a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 200ms ease, transform 200ms ease;
  line-height: 1.5;
}

.legal-toc a:hover {
  color: var(--text-primary);
  transform: translateX(3px);
}

/* ---- LEGAL SECTIONS ---- */
.legal-sections {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.legal-section {
  scroll-margin-top: 100px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.legal-section:first-child {
  padding-top: 0;
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.legal-section p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 4px 0 16px;
}

.legal-list li {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #F58220;
}

.legal-contact-name {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 15px;
  margin-bottom: 14px !important;
}

.legal-contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-contact-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.legal-contact-details a {
  color: var(--text-secondary);
  transition: color 200ms ease;
}

.legal-contact-details a:hover {
  color: var(--text-primary);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-toc {
    position: static;
    order: -1;
  }

  .legal-toc nav {
    max-height: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
  }
}

@media (max-width: 600px) {
  .legal-hero { padding: 130px 0 48px; }
  .legal-toc nav { grid-template-columns: 1fr; }
  .legal-section h2 { font-size: 18.5px; }
}

/* ==========================================================================
   LOCAL SEO LANDING PAGE (web-development-indore.html and city pages)
   Append this block to the END of your existing css/style.css
   ========================================================================== */

/* ---- HERO ---- */
.local-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--bg-primary);
  overflow: hidden;
  text-align: center;
}

.local-hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(800px circle at 50% 20%, rgba(245, 130, 32, 0.08), transparent 65%);
}

.local-hero-dotgrid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 25%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 25%, #000 0%, transparent 75%);
}

.local-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}

.local-hero .eyebrow {
  display: block;
}

.local-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5.5vw, 58px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 18px 0 22px;
}

.local-hero-subtitle {
  font-size: clamp(15.5px, 1.8vw, 18px);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 36px;
}

.local-hero-subtitle strong {
  color: var(--text-primary);
  font-weight: 600;
}

.local-hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.local-trust-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
  max-width: 640px;
  margin: 0 auto;
}

.local-trust-bar li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.local-trust-bar li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #F58220;
  flex-shrink: 0;
}

/* ---- GENERIC LOCAL PAGE SECTION ---- */
.local-section {
  position: relative;
  padding: 90px 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.local-section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(600px circle at 85% 10%, rgba(245,130,32,0.05), transparent 60%);
}

.local-section-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

#industries .local-section-inner,
#local-process .local-section-inner {
  max-width: 1100px;
}

.local-section .section-title {
  margin-top: 10px;
}

.local-body-text {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.local-body-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.local-checklist-grid {
  margin-top: 12px;
}

/* ---- PROCESS STEPS ---- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.process-step {
  padding: 28px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color var(--transition), transform var(--transition);
}

.process-step:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.process-step-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: #F58220;
  margin-bottom: 14px;
}

.process-step h3 {
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- FAQ ANSWER TEXT (inside reused accordion) ---- */
.faq-answer {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  padding: 4px 0 4px;
}

#faq .service-title {
  font-size: 16px;
}

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

@media (max-width: 700px) {
  .local-hero { padding: 130px 0 64px; }
  .local-section { padding: 64px 0; }
  .local-hero-actions { flex-direction: column; }
  .local-hero-actions .btn { width: 100%; }
  .process-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .process-step { transition: none !important; }
}

/* ==========================================================================
   BUTTON HOVER — SHINE SWEEP (applies to every .btn sitewide)
   ========================================================================== */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 550ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  pointer-events: none;
}

.btn:hover::before {
  left: 130%;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 34px rgba(255, 255, 255, 0.22);
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--text-primary);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.08);
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
}

/* ==========================================================================
   GWALIOR HERO — SKYLINE DRAW-IN ANIMATION (signature element)
   ========================================================================== */
.local-hero-dotgrid {
  animation: dotGridPulse 5s ease-in-out infinite;
}

@keyframes dotGridPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.fort-silhouette {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 92%);
  z-index: 0;
  pointer-events: none;
}

.fort-silhouette path {
  fill: none;
  stroke: var(--border);
  stroke-width: 1.5;
  stroke-dasharray: 2600;
  stroke-dashoffset: 2600;
  animation: drawSkyline 3.5s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  animation-delay: 0.3s;
}

@keyframes drawSkyline {
  to { stroke-dashoffset: 0; }
}

.fort-silhouette .fort-fill {
  fill: var(--card);
  stroke: none;
  opacity: 0;
  animation: fadeInSkyline 1.2s ease forwards;
  animation-delay: 3.4s;
}

@keyframes fadeInSkyline {
  to { opacity: 0.45; }
}

/* Gradient shimmer text (used on "Gwalior" / "Great Together" spans) */
.gradient-text {
  background: linear-gradient(90deg, var(--text-primary), var(--text-secondary), var(--text-primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

@media (prefers-reduced-motion: reduce) {
  .fort-silhouette path,
  .fort-silhouette .fort-fill,
  .gradient-text,
  .local-hero-dotgrid {
    animation: none !important;
    stroke-dashoffset: 0 !important;
    opacity: 1 !important;
  }
}

/* ==========================================================================
   GRADIENT TEXT — warm accent shimmer (used on "Gurgaon", etc.)
   ========================================================================== */
:root {
  --accent-warm: #FF8A5B;
}

.gradient-text {
  background: linear-gradient(90deg, var(--text-primary), var(--accent-warm), var(--text-primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* ==========================================================================
   GURGAON HERO — CYBER CITY SKYLINE (split clusters) + DIGITAL NETWORK GRAPH
   ========================================================================== */
.cybercity-skyline {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, 96%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
  mask-image: linear-gradient(to top, black 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 55%, transparent 100%);
}

/* Back layer — muted, distant */
.skyline-back rect {
  fill: var(--border);
  opacity: 0.35;
}

/* Front layer — glass towers */
.skyline-front .tower {
  fill: var(--card);
  stroke: var(--border);
  stroke-width: 1;
  opacity: 0;
  animation: towerRise 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.skyline-front .tower:nth-child(1) { animation-delay: 0.1s; }
.skyline-front .tower:nth-child(2) { animation-delay: 0.25s; }
.skyline-front .tower:nth-child(3) { animation-delay: 0.4s; }
.skyline-front .tower:nth-child(4) { animation-delay: 0.55s; }
.skyline-front .tower:nth-child(5) { animation-delay: 0.7s; }
.skyline-front .tower:nth-child(6) { animation-delay: 0.85s; }

@keyframes towerRise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 0.85; transform: translateY(0); }
}

/* Windows — light up in sequence, then gently flicker forever */
.window {
  fill: var(--text-secondary);
  opacity: 0;
  animation: windowGlow 2.5s ease-in-out infinite;
  animation-fill-mode: backwards;
}

@keyframes windowGlow {
  0%   { opacity: 0; fill: var(--text-secondary); }
  8%   { opacity: 1; fill: var(--text-primary); }
  50%  { opacity: 0.6; fill: var(--text-secondary); }
  92%  { opacity: 1; fill: var(--text-primary); }
  100% { opacity: 0.6; fill: var(--text-secondary); }
}

/* Network graph — draws in, then pulses */
.network-line {
  fill: none;
  stroke: var(--text-secondary);
  stroke-width: 1.2;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  opacity: 0;
  animation: drawNetworkLine 1.2s ease forwards;
}

@keyframes drawNetworkLine {
  0%   { opacity: 0; }
  1%   { opacity: 0.6; }
  100% { stroke-dashoffset: 0; opacity: 0.6; }
}

.network-node {
  fill: var(--text-primary);
  opacity: 0;
  animation: nodeAppear 600ms ease forwards, nodePulse 2.4s ease-in-out infinite;
  animation-delay: inherit;
}

@keyframes nodeAppear {
  to { opacity: 1; }
}

@keyframes nodePulse {
  0%, 100% { r: 4; opacity: 1; }
  50% { r: 6; opacity: 0.6; }
}

/* Data particles — rise and fade, like packets moving through the network */
.data-particle {
  fill: var(--text-primary);
  opacity: 0;
  animation: particleFloat 3s ease-in infinite;
}

@keyframes particleFloat {
  0%   { opacity: 0; transform: translateY(0); }
  15%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(-40px); }
}

/* Responsive: simplify skyline on small screens */
@media (max-width: 700px) {
  .cybercity-skyline {
    opacity: 0.6;
  }
}

/* ==========================================================================
   DIGITAL MARKETING GRID — hover-tilt cards
   ========================================================================== */
.dm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.dm-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1), border-color 350ms ease, box-shadow 350ms ease;
}

.dm-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--accent-warm);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.dm-icon {
  font-size: 26px;
  display: inline-block;
  margin-bottom: 14px;
  transition: transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dm-card:hover .dm-icon {
  transform: scale(1.2) rotate(-6deg);
}

.dm-card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.dm-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   ANIMATED CHECKLIST — staggered fade-in ticks on scroll (works with reveal-io)
   ========================================================================== */
.animated-checklist li {
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 500ms ease, transform 500ms ease, color 250ms ease;
  transition-delay: calc(var(--i, 0) * 80ms);
}

.reveal-io.visible .animated-checklist li {
  opacity: 1;
  transform: translateX(0);
}

.animated-checklist li:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

/* ==========================================================================
   PROCESS — animated connecting line between steps
   ========================================================================== */
.animated-process {
  position: relative;
}

@media (min-width: 900px) {
  .animated-process::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 12%;
    width: 0%;
    height: 1px;
    background: linear-gradient(90deg, var(--border), var(--accent-warm), var(--border));
    transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal-io.visible .animated-process::before {
    width: 76%;
  }
}

.process-step {
  transition: transform 350ms ease;
}

.process-step:hover {
  transform: translateY(-6px);
}

.process-step-number {
  transition: transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1), color 350ms ease;
}

.process-step:hover .process-step-number {
  transform: scale(1.15);
  color: var(--accent-warm);
}

/* ==========================================================================
   SERVICE / INDUSTRY CARDS — subtle hover lift (applies sitewide)
   ========================================================================== */
.service-item-card {
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1), border-color 350ms ease;
}

.service-item-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-warm);
}

/* Responsive: stack digital marketing grid on small screens */
@media (max-width: 600px) {
  .dm-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact {
  position: relative;
  padding: 140px 0;
  background: var(--bg-primary);
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(600px circle at 85% 15%, rgba(245,130,32,0.06), transparent 60%),
              radial-gradient(500px circle at 10% 85%, rgba(255,255,255,0.04), transparent 60%);
}

.contact-dotgrid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 0%, transparent 75%);
}

.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

/* ---- LEFT: INFO ---- */
.contact-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 28px;
}

.contact-availability {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 36px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 36px;
}

.contact-details-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon-lg {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.contact-detail-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-detail-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.contact-detail-text a,
.contact-detail-text span:not(.contact-detail-label) {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-primary);
  transition: color 200ms ease;
}

.contact-detail-text a:hover {
  color: #F58220;
}

.contact-socials {
  display: flex;
  gap: 12px;
}

/* ---- RIGHT: FORM ---- */
.contact-form-wrap {
  position: relative;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 36px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: opacity 400ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  transition: border-color var(--transition), background var(--transition);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.03);
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'><path d='M6 9L12 15L18 9' stroke='%23BDBDBD' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-field.has-error input,
.form-field.has-error textarea {
  border-color: #E88A8A;
}

.form-error {
  display: block;
  min-height: 14px;
  font-size: 12px;
  color: #E88A8A;
  opacity: 0;
  transition: opacity 200ms ease;
}

.form-field.has-error .form-error {
  opacity: 1;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1000px) {
  .contact { padding: 100px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 26px; }
  .contact-availability { width: 100%; justify-content: center; }
}

/* ---- SHAKE ON VALIDATION ERROR ---- */
@keyframes fieldShake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}

.form-field.shake input,
.form-field.shake textarea {
  animation: fieldShake 400ms ease;
}

/* ---- SUBMIT BUTTON SPINNER ---- */
.form-submit {
  width: 100%;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(13, 13, 13, 0.25);
  border-top-color: var(--bg-primary);
  border-radius: 50%;
  display: none;
  animation: spin 700ms linear infinite;
}

.form-submit.is-loading {
  cursor: not-allowed;
  pointer-events: none;
}

.form-submit.is-loading .submit-spinner {
  display: inline-block;
}

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

/* ==========================================================================
   CONTACT SUCCESS MODAL
   ========================================================================== */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
}

.contact-modal.show {
  visibility: visible;
  pointer-events: auto;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 13, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-modal.show .contact-modal-backdrop {
  opacity: 1;
}

.contact-modal-card {
  position: relative;
  z-index: 1;
  width: min(380px, 90vw);
  padding: 44px 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: scale(0.85) translateY(16px);
  transition: opacity 400ms cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-modal.show .contact-modal-card {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.modal-success-icon {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(168, 230, 163, 0.12);
  color: #A8E6A3;
  margin-bottom: 4px;
}

.check-circle {
  stroke: #A8E6A3;
  stroke-width: 2;
  stroke-dasharray: 145;
  stroke-dashoffset: 145;
  transition: stroke-dashoffset 500ms cubic-bezier(0.16, 1, 0.3, 1) 150ms;
}

.check-path {
  stroke: #A8E6A3;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  transition: stroke-dashoffset 400ms cubic-bezier(0.16, 1, 0.3, 1) 550ms;
}

.contact-modal.show .check-circle {
  stroke-dashoffset: 0;
}

.contact-modal.show .check-path {
  stroke-dashoffset: 0;
}

.contact-modal-card h3 {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 600;
}

.contact-modal-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  max-width: 280px;
}

.contact-modal-card .btn {
  margin-top: 8px;
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .contact-modal-backdrop,
  .contact-modal-card,
  .check-circle,
  .check-path,
  .form-field.shake input,
  .form-field.shake textarea {
    transition: none !important;
    animation: none !important;
  }
  .contact-modal.show .contact-modal-card { transform: none; opacity: 1; }
  .contact-modal.show .check-circle,
  .contact-modal.show .check-path { stroke-dashoffset: 0; }
}
.form-submit-error {
  font-size: 13px;
  color: #E88A8A;
  text-align: center;
  min-height: 16px;
}
/* ==========================================================================
   COMPANIES SHOWCASE — 3D depth marquee
   ========================================================================== */
.companies {
  position: relative;
  padding: 100px 0 120px;
  background: var(--bg-primary);
  overflow: hidden;
}

.companies-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(500px circle at 50% 100%, rgba(245,130,32,0.05), transparent 70%);
}

.companies .eyebrow { margin-bottom: 16px; }
.companies .section-title { margin-bottom: 56px; }

.companies-stage {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 180px;
  perspective: 900px;
  perspective-origin: 50% 50%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.companies-track {
  position: absolute;
  top: 0; left: 0;
  display: flex;
  align-items: center;
  gap: 48px;
  height: 100%;
  width: max-content;
  transform-style: preserve-3d;
  will-change: transform;
  /* no CSS animation here anymore — JS drives the transform directly */
}

.company-card {
  flex-shrink: 0;
  width: 140px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition: filter 100ms linear;
}

.company-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.9);
  transition: filter 200ms ease;
  user-select: none;
  -webkit-user-drag: none;
}

@media (prefers-reduced-motion: reduce) {
  .companies-stage {
    overflow-x: auto;
  }
}

@media (max-width: 600px) {
  .companies-stage { height: 140px; }
  .company-card { width: 110px; height: 56px; }
  .companies-track { gap: 32px; }
}
/* ==========================================================================
   TESTIMONIALS — glass cards, gradient border, spotlight, tilt, zoom
   ========================================================================== */
.testimonials {
  position: relative;
  padding: 100px 0 130px;
  background: var(--bg-primary);
  overflow: hidden;
}

.testimonials-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(700px circle at 15% 0%, rgba(245,130,32,0.06), transparent 60%),
              radial-gradient(600px circle at 85% 100%, rgba(158,203,255,0.05), transparent 60%);
}

.testimonials .eyebrow { margin-bottom: 16px; }
.testimonials .section-title { margin-bottom: 20px; }

.testi-intro {
  max-width: 640px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.testi-intro strong {
  color: var(--text-primary);
  font-weight: 600;
}

.testi-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
  padding: 30px 0 50px;
}

.testi-track {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  width: max-content;
  will-change: transform;
  perspective: 1200px;
}

/* ---- CARD: glass + animated gradient border + spotlight ---- */
.testi-card {
  position: relative;
  flex-shrink: 0;
  padding: 30px 26px 26px;
  border-radius: 18px;
  cursor: pointer;
  background:
    radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,0.06), transparent 60%),
    rgba(31, 31, 31, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset,
              0 20px 50px rgba(0,0,0,0.35);
  transition: transform 120ms ease-out, box-shadow 400ms cubic-bezier(0.16,1,0.3,1), border-color 300ms ease;
  transform-style: preserve-3d;
}

.testi-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1px;
  background: conic-gradient(from var(--angle, 0deg), var(--accent-c1), transparent 25%, transparent 75%, var(--accent-c1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
  animation: borderSpin 4s linear infinite;
  animation-play-state: paused;
}

.testi-card:hover::before {
  opacity: 1;
  animation-play-state: running;
}

@keyframes borderSpin {
  to { --angle: 360deg; }
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.testi-card:hover {
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset,
              0 30px 70px rgba(0,0,0,0.5);
  z-index: 8;
}

.testi-card.accent-orange { --accent-c1: #F58220; }
.testi-card.accent-blue   { --accent-c1: #9ECBFF; }
.testi-card.accent-purple { --accent-c1: #E8B6FF; }
.testi-card.accent-green  { --accent-c1: #A8E6A3; }

.testi-card.size-sm   { width: 250px; margin-top: 34px; }
.testi-card.size-md   { width: 300px; margin-top: 0px; }
.testi-card.size-lg   { width: 350px; margin-top: 52px; }
.testi-card.size-tall { width: 280px; margin-top: 12px; padding-bottom: 34px; }

.testi-quote-mark {
  position: absolute;
  top: 8px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 68px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-c1, var(--text-secondary));
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
}

.testi-stars {
  color: #FFD479;
  font-size: 13px;
  letter-spacing: 3px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 8px rgba(255, 212, 121, 0.25));
}

.testi-quote {
  position: relative;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.testi-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testi-avatar {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--bg-primary);
  background: linear-gradient(135deg, var(--avatar-a, #F58220), var(--avatar-b, #FFD479));
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

.testi-author {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.testi-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
}

.testi-role {
  font-size: 12px;
  color: var(--text-secondary);
}

.testi-location-badge {
  display: inline-block;
  margin-top: 16px;
  padding: 5px 12px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent-c1, var(--text-secondary));
  background: color-mix(in srgb, var(--accent-c1, #fff) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-c1, #fff) 30%, transparent);
  border-radius: 100px;
}

/* ---- ZOOM OVERLAY ---- */
.testi-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 350ms ease;
}

.testi-overlay.is-open {
  pointer-events: auto;
  opacity: 1;
}

.testi-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.testi-overlay-card {
  position: relative;
  z-index: 1;
  width: min(600px, 90vw);
  background: linear-gradient(180deg, rgba(31,31,31,0.9), rgba(20,20,20,0.9));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 52px 46px 42px;
  box-shadow: 0 50px 120px rgba(0,0,0,0.7);
  transform: scale(0.8) translateY(20px);
  filter: blur(6px);
  opacity: 0;
  transition: transform 480ms cubic-bezier(0.16, 1, 0.3, 1),
              filter 420ms ease,
              opacity 380ms ease;
}

.testi-overlay.is-open .testi-overlay-card {
  transform: scale(1) translateY(0);
  filter: blur(0);
  opacity: 1;
}

.testi-quote-mark.ov {
  position: static;
  display: block;
  font-size: 90px;
  opacity: 0.15;
  margin-bottom: -20px;
  color: var(--text-secondary);
}

.testi-overlay-card .testi-stars { font-size: 17px; margin-bottom: 22px; }
.testi-overlay-card .testi-quote { font-size: 21px; line-height: 1.75; margin-bottom: 32px; }
.testi-overlay-card .testi-avatar { width: 50px; height: 50px; font-size: 16px; }
.testi-overlay-card .testi-name { font-size: 16.5px; }
.testi-overlay-card .testi-role { font-size: 13.5px; }
.testi-overlay-card .testi-location-badge { margin-top: 20px; }

.testi-overlay-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  transition: color var(--transition), background var(--transition), transform 200ms ease;
}

.testi-overlay-close:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.1);
  transform: rotate(90deg);
}

@media (max-width: 600px) {
  .testi-card.size-sm   { width: 220px; }
  .testi-card.size-md   { width: 240px; }
  .testi-card.size-lg   { width: 270px; }
  .testi-card.size-tall { width: 230px; }
  .testi-overlay-card { padding: 40px 28px 32px; }
  .testi-overlay-card .testi-quote { font-size: 17px; }
  .testi-intro { padding: 0 16px; }
}

/* ==========================================================================
   AI SEARCH OPTIMIZATION (GEO) SECTION
   ========================================================================== */
.geo-section {
  position: relative;
  padding: 140px 0;
  background: var(--bg-primary);
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.geo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(700px circle at 20% 0%, rgba(245,130,32,0.07), transparent 60%),
              radial-gradient(600px circle at 85% 100%, rgba(245,130,32,0.05), transparent 60%);
}

.geo-dotgrid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 20%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 65% 55% at 50% 20%, #000 0%, transparent 75%);
}

.geo-section .container {
  position: relative;
  z-index: 2;
}

/* ---- HEADER ---- */
.geo-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}

.geo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.geo-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F58220;
  box-shadow: 0 0 8px rgba(245, 130, 32, 0.6);
  animation: geoDotPulse 2s ease-in-out infinite;
}

@keyframes geoDotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.geo-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4.5vw, 50px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.geo-subtitle {
  font-size: 16.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.geo-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.geo-h3 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.geo-body-text {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: 16px;
  max-width: 480px;
}

.geo-body-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ---- HERO GRID (text + illustration) ---- */
.geo-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}

.geo-illustration {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.geo-network {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 300px;
  transition: transform 200ms ease-out;
}

.geo-node {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  animation: geoNodeFloat 5s ease-in-out infinite;
  z-index: 2;
}

.geo-node-1 { top: 10%;  left: 0%;   animation-delay: 0s; }
.geo-node-2 { top: 8%;   left: 42%;  animation-delay: 0.6s; }
.geo-node-3 { top: 45%;  left: 42%;  animation-delay: 1.2s; }
.geo-node-4 { top: 72%;  left: 74%;  animation-delay: 1.8s; }

.geo-node-accent {
  border-color: #F58220;
  box-shadow: 0 10px 30px rgba(245, 130, 32, 0.25), 0 0 0 1px rgba(245, 130, 32, 0.3);
}

@keyframes geoNodeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.geo-network-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.geo-line {
  fill: none;
  stroke: rgba(245, 130, 32, 0.35);
  stroke-width: 1.5;
  stroke-dasharray: 6 6;
  animation: geoLineDash 3s linear infinite;
}

@keyframes geoLineDash {
  to { stroke-dashoffset: -24; }
}

.geo-particle {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #F58220;
  box-shadow: 0 0 8px rgba(245, 130, 32, 0.6);
  opacity: 0;
  z-index: 1;
}

.geo-particle-1 { top: 12%; left: 18%; animation: geoParticleMove1 4s ease-in-out infinite; }
.geo-particle-2 { top: 40%; left: 55%; animation: geoParticleMove2 4s ease-in-out infinite 1.3s; }
.geo-particle-3 { top: 65%; left: 60%; animation: geoParticleMove3 4s ease-in-out infinite 2.6s; }

@keyframes geoParticleMove1 {
  0% { opacity: 0; transform: translate(0,0); }
  20% { opacity: 1; }
  80% { opacity: 1; transform: translate(90px, 0); }
  100% { opacity: 0; transform: translate(100px, 0); }
}

@keyframes geoParticleMove2 {
  0% { opacity: 0; transform: translate(0,0); }
  20% { opacity: 1; }
  80% { opacity: 1; transform: translate(0, 55px); }
  100% { opacity: 0; transform: translate(0, 62px); }
}

@keyframes geoParticleMove3 {
  0% { opacity: 0; transform: translate(0,0); }
  20% { opacity: 1; }
  80% { opacity: 1; transform: translate(80px, 40px); }
  100% { opacity: 0; transform: translate(88px, 46px); }
}

/* ---- FEATURE CARDS ---- */
.geo-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 100px;
}

.geo-card {
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1), border-color 350ms ease;
}

.geo-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.geo-card-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(245, 130, 32, 0.1);
  margin-bottom: 14px;
  transition: background 350ms ease, transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.geo-card-icon {
  display: inline-block;
  font-size: 20px;
  transition: transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.geo-card:hover .geo-card-icon-wrap {
  background: #F58220;
  transform: scale(1.08);
}

.geo-card:hover .geo-card-icon {
  transform: rotate(-8deg) scale(1.1);
}

.geo-card h4 {
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.geo-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- TIMELINE ---- */
.geo-timeline-wrap {
  text-align: center;
  margin-bottom: 100px;
}

.geo-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: left;
}

.geo-timeline-line {
  position: absolute;
  top: 13px;
  left: 8%;
  width: 84%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.geo-timeline-line-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #F58220, #FFD479);
  transition: width 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.geo-timeline-step {
  position: relative;
  z-index: 1;
  padding-top: 34px;
}

.geo-timeline-number {
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid rgba(245, 130, 32, 0.4);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: #F58220;
}

.geo-timeline-step h5 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.geo-timeline-step p {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- AI PLATFORMS ---- */
.geo-platforms {
  text-align: center;
  margin-bottom: 100px;
}

.geo-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.geo-pill {
  padding: 12px 26px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), border-color 300ms ease, box-shadow 300ms ease;
}

.geo-pill:hover {
  transform: scale(1.06);
  border-color: #F58220;
  box-shadow: 0 0 0 1px rgba(245, 130, 32, 0.4), 0 10px 24px rgba(245, 130, 32, 0.15);
}

/* ---- STATS ---- */
.geo-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 100px;
}

.geo-stat-card {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}

.geo-stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.geo-stat-number,
.geo-stat-plus {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
}

.geo-stat-card p {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 8px;
}

.geo-stat-icon {
  display: block;
  font-size: 26px;
  margin-bottom: 4px;
}

/* ---- CTA ---- */
.geo-cta {
  position: relative;
  padding: 56px 48px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-align: center;
  margin-bottom: 28px;
  overflow: hidden;
}

.geo-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(500px circle at 50% 0%, rgba(245, 130, 32, 0.08), transparent 65%);
  pointer-events: none;
}

.geo-cta h3,
.geo-cta p,
.geo-cta-actions {
  position: relative;
  z-index: 1;
}

.geo-cta h3 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.geo-cta p {
  font-size: 15.5px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.geo-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- DISCLAIMER ---- */
.geo-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  opacity: 0.75;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- FADE ANIMATIONS (scroll-triggered, once) ---- */
.geo-fade {
  opacity: 0;
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
              filter 800ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.geo-fade[data-geo-anim="fade-up"] {
  transform: translateY(28px);
  filter: blur(6px);
}

.geo-fade[data-geo-anim="scale-in"] {
  transform: scale(0.92);
  filter: blur(6px);
}

.geo-fade.geo-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1000px) {
  .geo-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .geo-illustration {
    order: -1;
    height: 260px;
  }

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

  .geo-timeline {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .geo-timeline-line {
    top: 0;
    left: 13px;
    width: 1px;
    height: 100%;
  }

  .geo-timeline-line-fill {
    width: 100%;
    height: 0%;
    transition: height 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .geo-timeline-step {
    padding-top: 0;
    padding-left: 40px;
  }

  .geo-timeline-number {
    top: 0;
    left: 0;
  }

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

@media (max-width: 600px) {
  .geo-section { padding: 90px 0; }
  .geo-features-grid { grid-template-columns: 1fr; }
  .geo-cta { padding: 40px 24px; }
  .geo-cta-actions { flex-direction: column; }
  .geo-cta-actions .btn { width: 100%; }
  .geo-stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .geo-badge-dot,
  .geo-node,
  .geo-line,
  .geo-particle {
    animation: none !important;
  }
  .geo-fade {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .geo-timeline-line-fill {
    transition: none !important;
  }
}

/* ==========================================================================
   PROCESS PAGE — full section
   ========================================================================== */
.proc-section {
  position: relative;
  padding: 160px 0 140px;
  background: var(--bg-primary);
  overflow: hidden;
}

/* ---- Floating background ---- */
.proc-floating-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.proc-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  animation: procBlobDrift 14s ease-in-out infinite;
}

.proc-blob-1 {
  width: 420px; height: 420px;
  top: -10%; left: -8%;
  background: radial-gradient(circle, rgba(245,130,32,0.10), transparent 70%);
}

.proc-blob-2 {
  width: 360px; height: 360px;
  bottom: -12%; right: -6%;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%);
  animation-delay: -6s;
}

@keyframes procBlobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(30px, -20px) scale(1.06); }
  66%      { transform: translate(-24px, 18px) scale(0.96); }
}

.proc-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  opacity: 0.4;
  animation: procCircleFloat 10s ease-in-out infinite;
}

.proc-circle-1 { width: 140px; height: 140px; top: 18%; right: 12%; animation-delay: 0s; }
.proc-circle-2 { width: 90px; height: 90px; bottom: 22%; left: 8%; animation-delay: -3s; }

@keyframes procCircleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.proc-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 45%, #000 0%, transparent 75%);
}

.proc-section .container {
  position: relative;
  z-index: 2;
}

/* ---- Header ---- */
.proc-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.proc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.proc-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #F58220;
  box-shadow: 0 0 8px rgba(245, 130, 32, 0.6);
  animation: procDotPulse 2s ease-in-out infinite;
}

@keyframes procDotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.proc-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.proc-subtitle {
  font-size: 16.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

/* ---- Progress indicator ---- */
.proc-progress-wrap {
  max-width: 720px;
  margin: 0 auto 80px;
}

.proc-progress-track {
  position: relative;
  height: 4px;
  border-radius: 4px;
  background: var(--border);
  overflow: hidden;
}

.proc-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: linear-gradient(90deg, #F58220, #FFD479);
  transition: width 120ms linear;
}

.proc-progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-secondary);
}

/* ---- Timeline ---- */
.proc-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
  margin-bottom: 110px;
}

.proc-timeline-line {
  position: absolute;
  top: 44px;
  left: 4%;
  width: 92%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.proc-timeline-line-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #F58220, #FFD479);
  transition: width 150ms linear;
}

.proc-card {
  position: relative;
  z-index: 1;
  padding: 24px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 400ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 400ms ease,
              box-shadow 400ms ease,
              background 400ms ease;
}

.proc-card.proc-visible {
  opacity: 1;
  transform: translateY(0);
}

.proc-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: #F58220;
  box-shadow: 0 20px 44px rgba(245, 130, 32, 0.16);
  background: rgba(255, 255, 255, 0.02);
}

.proc-card:hover .proc-card-icon-wrap {
  transform: rotate(8deg) scale(1.08);
}

.proc-card.proc-active {
  border-color: #F58220;
  box-shadow: 0 0 0 1px rgba(245, 130, 32, 0.35), 0 16px 40px rgba(245, 130, 32, 0.18);
}

.proc-card.proc-active .proc-card-icon-wrap {
  animation: procIconPulse 1.8s ease-in-out infinite;
}

@keyframes procIconPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 130, 32, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(245, 130, 32, 0); }
}

.proc-step-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 10px;
  transition: color 400ms ease;
}

.proc-card.proc-active .proc-step-number,
.proc-card.proc-visible .proc-step-number {
  color: #F58220;
}

.proc-card-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(245, 130, 32, 0.1);
  color: #F58220;
  margin-bottom: 14px;
  transition: transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 300ms ease;
}

.proc-card h3 {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.proc-card p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 12px;
}

.proc-card ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.proc-card ul li {
  font-size: 11px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.proc-card ul li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #F58220;
  flex-shrink: 0;
}

/* ---- Dashboard ---- */
.proc-dashboard {
  max-width: 720px;
  margin: 0 auto 90px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.proc-dashboard-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.proc-dashboard-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #A8E6A3;
  box-shadow: 0 0 0 3px rgba(168, 230, 163, 0.2);
}

.proc-dashboard-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.proc-bar-row {
  display: grid;
  grid-template-columns: 130px 1fr 44px;
  align-items: center;
  gap: 14px;
}

.proc-bar-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.proc-bar-track {
  height: 6px;
  border-radius: 4px;
  background: var(--border);
  overflow: hidden;
}

.proc-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: linear-gradient(90deg, #F58220, #FFD479);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.proc-bar-value {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-primary);
  text-align: right;
}

/* ---- Stats ---- */
.proc-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 90px;
}

.proc-stat-card {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}

.proc-stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.proc-stat-number,
.proc-stat-plus,
.proc-stat-static {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--text-primary);
}

.proc-stat-card p {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* ---- CTA ---- */
.proc-cta {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 48px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-align: center;
  overflow: hidden;
}

.proc-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(500px circle at 50% 0%, rgba(245, 130, 32, 0.08), transparent 65%);
  pointer-events: none;
}

.proc-cta h2, .proc-cta p, .proc-cta-actions {
  position: relative;
  z-index: 1;
}

.proc-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.proc-cta p {
  font-size: 15.5px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.proc-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.proc-magnetic-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.proc-btn-arrow {
  display: inline-flex;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ---- Fade animation ---- */
.proc-fade {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 800ms cubic-bezier(0.16, 1, 0.3, 1),
              filter 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.proc-fade.proc-visible-fade {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .proc-timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  .proc-timeline-line { display: none; }
}

@media (max-width: 700px) {
  .proc-section { padding: 130px 0 90px; }
  .proc-timeline { grid-template-columns: 1fr; }
  .proc-bar-row { grid-template-columns: 100px 1fr 38px; gap: 10px; }
  .proc-stats-grid { grid-template-columns: 1fr 1fr; }
  .proc-cta { padding: 40px 26px; }
  .proc-cta-actions { flex-direction: column; }
  .proc-cta-actions .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .proc-blob, .proc-circle, .proc-badge-dot, .proc-card, .proc-fade,
  .proc-card-icon-wrap, .proc-bar-fill, .proc-progress-fill, .proc-timeline-line-fill {
    animation: none !important;
    transition: none !important;
  }
  .proc-card, .proc-fade { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ==========================================================================
   ANNOUNCEMENT BAR
   ========================================================================== */
.announce-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  background: linear-gradient(180deg, rgba(26,26,26,0.92), rgba(13,13,13,0.92));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245, 130, 32, 0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  opacity: 0;
  transform: translateY(-12px);
  animation: announceEnter 600ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: box-shadow 350ms ease, transform 400ms cubic-bezier(0.16, 1, 0.3, 1), opacity 400ms ease;
}

@keyframes announceEnter {
  to { opacity: 1; transform: translateY(0); }
}

.announce-bar:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 8px 30px rgba(245, 130, 32, 0.10);
}

.announce-bar.is-hiding {
  transform: translateY(-100%);
  opacity: 0;
}

/* ---- Top shimmer line ---- */
.announce-shimmer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(245, 130, 32, 0) 35%,
    rgba(245, 130, 32, 0.7) 50%,
    rgba(255, 212, 121, 0.9) 52%,
    rgba(245, 130, 32, 0) 65%,
    transparent 100%);
  background-size: 250% 100%;
  animation: announceShimmerMove 5s linear infinite;
  pointer-events: none;
}

@keyframes announceShimmerMove {
  0%   { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

.announce-inner {
  position: relative;
  max-width: var(--container-width, 1240px);
  margin: 0 auto;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 54px;
}

.announce-text {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  max-width: 100%;
  padding: 6px 14px;
  border-radius: 7px;
  transition: background 250ms ease;
}

.announce-text:hover {
  background: rgba(245, 130, 32, 0.08);
}

.announce-text:hover .announce-icon {
  transform: rotate(15deg) scale(1.15);
}

.announce-text:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(245, 130, 32, 0.45);
}

.announce-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #F58220;
  flex-shrink: 0;
  animation: announceIconPulse 2.4s ease-in-out infinite;
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes announceIconPulse {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 0 rgba(245,130,32,0)); }
  50% { opacity: 0.55; filter: drop-shadow(0 0 6px rgba(245,130,32,0.5)); }
}

#announceMessage {
  display: inline-block;
  transition: opacity 450ms cubic-bezier(0.16, 1, 0.3, 1), transform 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

#announceMessage .announce-highlight {
  background: linear-gradient(90deg, #F58220, #FFD479, #F58220);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  animation: announceGradientShift 3s ease-in-out infinite;
}

@keyframes announceGradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

#announceMessage.msg-fade-out {
  opacity: 0;
  transform: translateY(-9px);
}

#announceMessage.msg-fade-in-start {
  opacity: 0;
  transform: translateY(9px);
}

.announce-close {
  all: unset;
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary, #BDBDBD);
  cursor: pointer;
  border-radius: 50%;
  transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}

.announce-close:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.announce-close:focus-visible {
  outline: 2px solid #F58220;
  outline-offset: 2px;
}

.announce-close:active {
  transform: translateY(-50%) scale(0.88);
}

/* ---- Bottom progress bar (fills over 4s per message) ---- */
.announce-progress {
  position: relative;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}

.announce-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #F58220, #FFD479);
  border-radius: 0 2px 2px 0;
}

.announce-progress-fill.is-animating {
  animation: announceProgressFill 4s linear forwards;
}

.announce-progress-fill.is-paused {
  animation-play-state: paused;
}

@keyframes announceProgressFill {
  from { width: 0%; }
  to   { width: 100%; }
}

#announceSpacer {
  width: 100%;
}

/* ---- Responsive ---- */
@media (max-width: 700px) {
  .announce-inner {
    padding: 7px 46px;
  }
  .announce-text {
    font-size: 13px;
    line-height: 1.4;
    gap: 7px;
  }
}

@media (max-width: 420px) {
  .announce-text {
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .announce-bar,
  .announce-shimmer,
  .announce-icon,
  #announceMessage,
  #announceMessage .announce-highlight,
  .announce-close,
  .announce-progress-fill {
    animation: none !important;
    transition: none !important;
  }
  .announce-bar { opacity: 1; transform: none; }
}

/* ==========================================================================
   PORTFOLIO PAGE
   ========================================================================== */

/* ---- Hero ---- */
.pf-hero {
  position: relative;
  padding: 160px 0 80px;
  background: var(--bg-primary);
  overflow: hidden;
  text-align: center;
}

.pf-hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(800px circle at 50% 0%, rgba(245,130,32,0.08), transparent 65%);
}

.pf-hero-dotgrid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 25%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 65% 55% at 50% 25%, #000 0%, transparent 75%);
}

.pf-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.pf-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.pf-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #F58220;
  box-shadow: 0 0 8px rgba(245, 130, 32, 0.6);
  animation: pfDotPulse 2s ease-in-out infinite;
}

@keyframes pfDotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.pf-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.pf-hero-subtitle {
  font-size: 16.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 48px;
}

.pf-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.pf-hero-stat {
  padding: 20px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: transform var(--transition), border-color var(--transition);
}

.pf-hero-stat:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.pf-stat-number, .pf-stat-plus, .pf-stat-static {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.pf-hero-stat p {
  font-size: 11.5px;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* ---- Side dot navigation ---- */
.pf-dots {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pf-dots a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pf-dots a span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background 300ms ease, transform 300ms ease;
}

.pf-dots a em {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 250ms ease, transform 250ms ease;
  white-space: nowrap;
  pointer-events: none;
}

.pf-dots a:hover em {
  opacity: 1;
  transform: translateX(0);
}

.pf-dots a.pf-dot-active span {
  background: #F58220;
  transform: scale(1.4);
  box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.18);
}

@media (max-width: 1200px) {
  .pf-dots { display: none; }
}

/* ---- Project sections ---- */
.pf-projects {
  background: var(--bg-primary);
}

.pf-project {
  position: relative;
  padding: 90px 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.pf-project-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

/* alternate layout on even projects */
.pf-project:nth-child(even) .pf-project-inner {
  direction: rtl;
}

.pf-project:nth-child(even) .pf-project-media,
.pf-project:nth-child(even) .pf-project-content {
  direction: ltr;
}

/* ---- Media ---- */
.pf-project-media {
  position: relative;
}

.pf-media-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transform-style: preserve-3d;
  transition: transform 200ms ease-out;
  will-change: transform;
}

.pf-media-frame img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1), filter 500ms ease;
}

.pf-media-frame:hover img {
  transform: scale(1.05);
}

.pf-project-number {
  position: absolute;
  bottom: -34px;
  left: -10px;
  z-index: -1;
  font-family: var(--font-heading);
  font-size: 130px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--border);
  user-select: none;
  pointer-events: none;
}

/* ---- Content ---- */
.pf-project-meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.pf-project-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.pf-project-tagline {
  font-size: 14px;
  font-weight: 500;
  color: #F58220;
  margin-bottom: 20px;
}

.pf-project-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 26px;
  max-width: 520px;
}

.pf-project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.pf-project-tech span {
  font-size: 12px;
  font-weight: 500;
  padding: 7px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  transition: border-color 250ms ease, background 250ms ease;
}

.pf-project-tech span:hover {
  border-color: var(--accent);
  background: rgba(255,255,255,0.03);
}

.pf-project-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
  max-width: 520px;
}

.pf-project-columns h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.pf-project-columns ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pf-project-columns li {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.pf-project-columns li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #F58220;
  margin-top: 6px;
  flex-shrink: 0;
}

.pf-visit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pf-visit-btn-static {
  padding: 14px 28px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: default;
}

.pf-btn-arrow {
  display: inline-flex;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ---- Fade animation ---- */
.pf-fade {
  opacity: 0;
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 800ms cubic-bezier(0.16, 1, 0.3, 1),
              filter 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.pf-fade[data-pf-anim="fade-up"] {
  transform: translateY(30px);
  filter: blur(6px);
}

.pf-fade[data-pf-anim="scale-in"] {
  transform: scale(0.94);
  filter: blur(6px);
}

.pf-fade.pf-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* ---- CTA ---- */
.pf-cta-section {
  padding: 60px 0 120px;
  background: var(--bg-primary);
}

.pf-cta {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 48px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-align: center;
  overflow: hidden;
}

.pf-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(500px circle at 50% 0%, rgba(245, 130, 32, 0.08), transparent 65%);
  pointer-events: none;
}

.pf-cta h2, .pf-cta p, .pf-cta-actions {
  position: relative;
  z-index: 1;
}

.pf-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.pf-cta p {
  font-size: 15.5px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.pf-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- Responsive ---- */
@media (max-width: 1000px) {
  .pf-project-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pf-project:nth-child(even) .pf-project-inner {
    direction: ltr;
  }

  .pf-project-number {
    font-size: 90px;
    bottom: -22px;
  }

  .pf-hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pf-hero { padding: 130px 0 60px; }
  .pf-project { padding: 64px 0; }
  .pf-project-columns { grid-template-columns: 1fr; }
  .pf-cta { padding: 40px 26px; }
  .pf-cta-actions { flex-direction: column; }
  .pf-cta-actions .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .pf-badge-dot, .pf-fade, .pf-media-frame, .pf-media-frame img, .pf-dots a span, .pf-dots a em {
    animation: none !important;
    transition: none !important;
  }
  .pf-fade { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ==========================================================================
   PORTFOLIO — CLOSING STATEMENT SECTION
   ========================================================================== */
.pf-closing {
  position: relative;
  padding: 60px 0 40px;
  background: var(--bg-primary);
  overflow: hidden;
}

.pf-closing-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(900px circle at 50% 50%, rgba(245, 130, 32, 0.06), transparent 65%);
}

.pf-closing-blobs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.pf-closing-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: pfClosingDrift 16s ease-in-out infinite;
}

.pf-closing-blob-1 {
  width: 380px;
  height: 380px;
  top: -15%;
  left: -8%;
  background: radial-gradient(circle, rgba(245,130,32,0.10), transparent 70%);
}

.pf-closing-blob-2 {
  width: 320px;
  height: 320px;
  bottom: -18%;
  right: -6%;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%);
  animation-delay: -8s;
}

@keyframes pfClosingDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(26px, -18px) scale(1.05); }
  66%      { transform: translate(-20px, 16px) scale(0.97); }
}

.pf-closing-card {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 56px;
  text-align: center;
  background: rgba(31, 31, 31, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 40px 100px rgba(0,0,0,0.45);
}

.pf-closing-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.pf-closing-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 28px;
}

.pf-closing-text {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 18px;
}

.pf-closing-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.pf-closing-text-last {
  margin-bottom: 36px;
}

.pf-closing-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- Responsive ---- */
@media (max-width: 700px) {
  .pf-closing { padding: 40px 0 20px; }
  .pf-closing-card {
    padding: 44px 26px;
    border-radius: 18px;
  }
  .pf-closing-actions { flex-direction: column; }
  .pf-closing-actions .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .pf-closing-blob { animation: none !important; }
}