/* Valor Automation shared stylesheet */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --color-bg-primary: #0a0f1a;
  --color-bg-secondary: #111827;
  --color-bg-tertiary: #1a2234;
  --color-bg-card: #151d2e;
  --color-accent-gold: #d4a853;
  --color-accent-gold-light: #e8c87a;
  --color-accent-blue: #3b82f6;
  --color-accent-green: #22c55e;
  --color-accent-purple: #8b5cf6;
  --color-text-primary: #f1f5f9;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #8b99b0;
  --color-border: #2d3a52;
  --color-border-light: #3d4a62;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

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

/* ── Background ── */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(212, 168, 83, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 168, 83, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 2rem;
  backdrop-filter: blur(12px);
  background: rgba(10, 15, 26, 0.8);
  border-bottom: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

nav.scrolled {
  padding: 0.75rem 2rem;
  background: rgba(10, 15, 26, 0.95);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-gold-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-bg-primary);
  font-size: 1.25rem;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--color-accent-gold);
  transition: width 0.2s ease;
}

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

/* ── Services dropdown ── */
.nav-item-dropdown { position: relative; }

.nav-caret {
  display: inline-block;
  font-size: 0.65rem;
  margin-left: 0.3rem;
  opacity: 0.7;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  padding-top: 0.9rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1001;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-panel {
  min-width: 270px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.nav-dropdown-panel a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-dropdown-panel a::after { display: none; }

.nav-dropdown-panel a:hover {
  background: rgba(212, 168, 83, 0.08);
  color: var(--color-text-primary);
}

.nav-dropdown-panel a > span { font-size: 1rem; }

.mobile-menu a.sub {
  font-size: 1.05rem;
  padding: 0.55rem 0 0.55rem 1.5rem;
  color: var(--color-text-secondary);
  border-bottom: none;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-gold-light));
  color: var(--color-bg-primary);
  box-shadow: 0 4px 20px rgba(212, 168, 83, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(212, 168, 83, 0.5);
}

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

.btn-secondary:hover {
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold);
}

/* ── Mobile Nav ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--color-text-primary);
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-bg-primary);
  z-index: 999;
  padding: 6rem 2rem 2rem;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
}

.mobile-menu.active { display: flex; }

.mobile-menu a {
  color: var(--color-text-primary);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

/* ── Layout ── */
section { position: relative; z-index: 1; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}

/* the container is a flex item here: force it to span the grid like every
   other section instead of shrink-wrapping and drifting toward center */
.hero .container { width: 100%; }

.hero::before {
  content: '';
  position: absolute;
  top: -30%; left: -10%;
  width: 120%; height: 130%;
  background:
    radial-gradient(ellipse 55% 45% at 20% 50%, rgba(212, 168, 83, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 45% 55% at 72% 58%, rgba(59, 130, 246, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 35% 35% at 50% 15%, rgba(139, 92, 246, 0.07) 0%, transparent 55%);
  animation: heroGlow 7s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Large gold orb that pulses behind the content */
.hero::after {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  left: -120px; top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(212,168,83,0.07) 0%, transparent 70%);
  pointer-events: none;
  animation: orbPulse 5s ease-in-out infinite;
}

@keyframes heroGlow {
  0%   { transform: scale(1) rotate(0deg); opacity: 0.7; }
  100% { transform: scale(1.12) rotate(4deg); opacity: 1; }
}

@keyframes orbPulse {
  0%, 100% { transform: translateY(-50%) scale(1);    opacity: 0.6; }
  50%       { transform: translateY(-50%) scale(1.18); opacity: 1; }
}

.hero-content { max-width: 680px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--color-accent-gold);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.1s both;
  min-height: 5rem;
}

.highlight {
  background: linear-gradient(135deg, var(--color-accent-gold) 0%, var(--color-accent-gold-light) 55%, #f8e4a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.typed-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--color-accent-gold);
  margin-left: 3px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

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

.hero p {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
  max-width: 580px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
  display: inline-flex;
  margin-top: 3.5rem;
  background: rgba(21, 29, 46, 0.55);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  animation: fadeInUp 0.6s ease 0.45s both;
}

.stat { padding: 1.35rem 2.25rem; }

.stat + .stat { border-left: 1px solid var(--color-border); }

.stat-value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-accent-gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 0.4rem;
  white-space: nowrap;
}

/* ── Floating Cards ── */
/* Pinned to the 1280px content grid (not the viewport edge) so the cluster
   stays part of the hero composition on wide monitors. */
.hero-visual {
  position: absolute;
  right: max(2rem, calc((100% - 1216px) / 2));
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  display: flex;
  flex-direction: column;
}

/* soft light pool that seats the card cluster in the space */
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -3rem -3.5rem;
  background: radial-gradient(closest-side, rgba(212,168,83,0.10), rgba(59,130,246,0.05) 60%, transparent);
  border-radius: 40px;
  pointer-events: none;
}

.float-card {
  position: relative;
  border-radius: 16px;
  backdrop-filter: blur(8px);
  background: rgba(21, 29, 46, 0.92);
  border: 1px solid var(--color-border);
  padding: 1.25rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  transform: translateX(var(--tx, 0)) rotate(var(--tilt, 0deg));
  animation: float 7s ease-in-out infinite;
}

.float-card:nth-child(1) { width: 300px; align-self: flex-start; --tx: -8px;  --tilt: -1.75deg; animation-delay: 0s;  }
.float-card:nth-child(2) { width: 290px; align-self: flex-end;   --tx: 0px;   --tilt: 1.25deg;  margin-top: -14px; animation-delay: -2.4s; z-index: 1; }
.float-card:nth-child(3) { width: 280px; align-self: flex-start; --tx: 22px;  --tilt: -1deg;    margin-top: -12px; animation-delay: -4.6s; }

@keyframes float {
  0%, 100% { transform: translateX(var(--tx, 0)) translateY(0)     rotate(var(--tilt, 0deg)); }
  50%       { transform: translateX(var(--tx, 0)) translateY(-9px) rotate(var(--tilt, 0deg)); }
}

.float-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.float-card-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.float-card-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-accent-green);
  margin-left: auto;
  flex-shrink: 0;
  animation: pulseGreen 2s ease-in-out infinite;
}

@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.uptime-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-accent-green);
}

.uptime-label {
  font-size: 0.74rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* ── Section headers ── */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.25);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

/* ── MARQUEE ── */
.marquee-strip {
  position: relative;
  z-index: 1;
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marqueeScroll 38s linear infinite;
}

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

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 2.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.marquee-item span { color: var(--color-accent-gold); font-size: 1rem; }

.marquee-divider {
  color: var(--color-border);
  font-size: 1.2rem;
  line-height: 1;
  align-self: center;
}

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

/* ── SERVICES ── */
#services {
  padding: 7rem 0;
  background: linear-gradient(to bottom, transparent, rgba(17, 24, 39, 0.5), transparent);
}

/* card-level anchor: keep the heading clear of the fixed nav */
#security { scroll-margin-top: 96px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* five cards on a 2-col grid: let the last card span the full bottom row */
.services-grid > .service-card:nth-child(5) { grid-column: 1 / -1; }
.services-grid > .service-card:nth-child(5) p { max-width: 68ch; }

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--card-glow, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

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

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-border, var(--color-border-light));
  box-shadow: 0 20px 60px var(--card-shadow, rgba(0,0,0,0.2));
}

.service-card.web     { --card-glow: rgba(212,168,83,0.04);  --card-border: rgba(212,168,83,0.4);  --card-shadow: rgba(212,168,83,0.1);  }
.service-card.db      { --card-glow: rgba(59,130,246,0.04);  --card-border: rgba(59,130,246,0.4);  --card-shadow: rgba(59,130,246,0.1);  }
.service-card.support { --card-glow: rgba(34,197,94,0.04);   --card-border: rgba(34,197,94,0.4);   --card-shadow: rgba(34,197,94,0.1);   }
.service-card.custom  { --card-glow: rgba(139,92,246,0.04);  --card-border: rgba(139,92,246,0.4);  --card-shadow: rgba(139,92,246,0.1);  }
.service-card.security { --card-glow: rgba(6,182,212,0.04);  --card-border: rgba(6,182,212,0.4);   --card-shadow: rgba(6,182,212,0.1);   }

.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-card.web .service-icon     { background: rgba(212,168,83,0.12); }
.service-card.db .service-icon      { background: rgba(59,130,246,0.12); }
.service-card.support .service-icon { background: rgba(34,197,94,0.12);  }
.service-card.custom .service-icon  { background: rgba(139,92,246,0.12); }
.service-card.security .service-icon { background: rgba(6,182,212,0.12); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.tag {
  padding: 0.3rem 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* whole-card click target for the service detail pages */
.service-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.service-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent-gold);
}

.service-more span { transition: transform 0.25s ease; }
.service-card:hover .service-more span { transform: translateX(4px); }

/* ── WHY VALOR ── */
#why { padding: 5rem 0; }

.why-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
}

.why-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-right: 1px solid var(--color-border);
  transition: background 0.3s;
}

.why-item:last-child { border-right: none; }
.why-item:hover { background: rgba(212, 168, 83, 0.03); }

.why-icon { font-size: 2rem; margin-bottom: 1rem; }

.why-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.why-item p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ── STACK ── */
#stack {
  padding: 7rem 0;
  background: linear-gradient(to bottom, transparent, rgba(17, 24, 39, 0.4), transparent);
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.stack-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stack-item:hover {
  border-color: var(--color-accent-gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(212, 168, 83, 0.1);
}

.stack-icon { font-size: 1.75rem; margin-bottom: 0.75rem; color: var(--color-accent-gold); }
.stack-icon svg { width: 26px; height: 26px; vertical-align: middle; }

.stack-item span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

/* ── PROCESS ── */
#process { padding: 7rem 0; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(12.5% + 1.5rem);
  right: calc(12.5% + 1.5rem);
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent-gold), rgba(212,168,83,0.15));
}

.process-step { text-align: center; padding: 2rem 1rem; }

.step-number {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-bg-primary);
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ── PRICING ── */
#pricing {
  padding: 7rem 0;
  background: linear-gradient(to bottom, transparent, rgba(17, 24, 39, 0.4), transparent);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(212, 168, 83, 0.1);
}

.pricing-card.featured {
  border-color: var(--color-accent-gold);
  background: linear-gradient(160deg, var(--color-bg-card), rgba(212,168,83,0.06));
  box-shadow: 0 0 30px rgba(212,168,83,0.22), 0 0 80px rgba(212,168,83,0.08);
}

.featured-badge {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-gold-light));
  color: var(--color-bg-primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 1.1rem;
  border-radius: 0 0 10px 10px;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.plan-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.price { margin-bottom: 2rem; }

.price-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent-gold);
  line-height: 1;
}

.price-period {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.price-note {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  border-bottom: 1px solid rgba(45, 58, 82, 0.5);
}

.pricing-features li:last-child { border-bottom: none; }

.check {
  color: var(--color-accent-green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ── CASE STUDIES PREVIEW ── */
#cs-preview { padding: 7rem 0; }

.cs-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.cs-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.cs-card:hover {
  border-color: rgba(212,168,83,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(212,168,83,0.08);
}

.cs-category {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-gold);
  margin-bottom: 0.75rem;
}

.cs-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.cs-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.cs-result {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.cs-result-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-accent-gold);
}

.cs-result-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ── ABOUT ── */
#about {
  padding: 7rem 0;
  background: linear-gradient(to bottom, transparent, rgba(17, 24, 39, 0.4), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-visual {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2.5rem;
}

.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem;
  background: rgba(255,255,255,0.02);
  border-radius: 12px;
  border: 1px solid rgba(45,58,82,0.5);
  transition: border-color 0.3s;
  margin-bottom: 0.75rem;
}

.value-item:last-child { margin-bottom: 0; }
.value-item:hover { border-color: rgba(212,168,83,0.3); }

.value-icon { font-size: 1.4rem; flex-shrink: 0; }

.value-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.value-item p {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ── CONTACT ── */
#contact { padding: 7rem 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.contact-info p {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-details { display: flex; flex-direction: column; gap: 1rem; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.contact-detail-icon {
  width: 36px; height: 36px;
  background: rgba(212,168,83,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2.5rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group select option { background: var(--color-bg-secondary); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent-gold);
  box-shadow: 0 0 0 3px rgba(212,168,83,0.1);
}

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

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

/* ── Footer ── */
footer {
  position: relative;
  z-index: 1;
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 1rem;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--color-accent-gold); }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ── Animations & Scroll Reveal ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: none; }

/* stagger siblings */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }

/* ── Responsive ── */
@media (max-width: 1220px) {
  .nav-links { gap: 1.25rem; }
}

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  /* compact quote button beside the hamburger */
  .nav-container > .btn { padding: 0.55rem 0.9rem; font-size: 0.85rem; white-space: nowrap; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .cs-preview-grid { grid-template-columns: 1fr; }
  .hero-stats { display: flex; flex-direction: column; width: 100%; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--color-border); }
  .stack-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .why-strip { grid-template-columns: repeat(2, 1fr); }
  .why-item:nth-child(2) { border-right: none; }
  .why-item:nth-child(3) { border-top: 1px solid var(--color-border); }
  .why-item:nth-child(4) { border-top: 1px solid var(--color-border); border-right: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .logo-text { display: none; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; }
  .why-strip { grid-template-columns: 1fr; }
  .why-item { border-right: none !important; border-top: 1px solid var(--color-border) !important; }
  .why-item:first-child { border-top: none !important; }
}

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

/* Inner page components */
.page-hero {
      padding: 10rem 0 5rem;
      text-align: center;
    }
.page-hero-content {
      max-width: 780px;
      margin: 0 auto;
    }
.page-tag {
      display: inline-block;
      padding: 0.35rem 1rem;
      background: rgba(var(--svc-accent), 0.1);
      border: 1px solid rgba(var(--svc-accent), 0.3);
      border-radius: 100px;
      font-size: 0.78rem;
      font-weight: 600;
      color: rgb(var(--svc-accent));
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 1.5rem;
      animation: fadeInUp 0.6s ease both;
    }
.page-hero h1 {
      font-family: var(--font-display);
      font-size: clamp(2.25rem, 4.5vw, 3.5rem);
      font-weight: 600;
      line-height: 1.2;
      margin-bottom: 1.25rem;
      animation: fadeInUp 0.6s ease 0.1s both;
    }
.page-hero h1 .highlight { color: var(--color-accent-gold); }
.page-hero p {
      font-size: 1.15rem;
      color: var(--color-text-secondary);
      line-height: 1.7;
      animation: fadeInUp 0.6s ease 0.2s both;
    }
.included-section { padding: 6rem 0; }
.inc-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }
.inc-card {
      background: var(--color-bg-card);
      border: 1px solid var(--color-border);
      border-radius: 20px;
      padding: 2.5rem;
      transition: transform 0.3s ease, border-color 0.3s ease;
    }
.inc-card:hover {
      transform: translateY(-4px);
      border-color: rgba(var(--svc-accent), 0.4);
    }
.inc-icon {
      width: 56px; height: 56px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      margin-bottom: 1.5rem;
      background: rgba(var(--svc-accent), 0.12);
    }
.inc-card h3 {
      font-family: var(--font-display);
      font-size: 1.3rem;
      font-weight: 600;
      margin-bottom: 0.75rem;
    }
.inc-card > p {
      color: var(--color-text-secondary);
      font-size: 0.95rem;
      line-height: 1.7;
      margin-bottom: 1.5rem;
    }
.inc-list { list-style: none; }
.inc-list li {
      display: flex;
      gap: 0.6rem;
      font-size: 0.9rem;
      color: var(--color-text-secondary);
      padding: 0.4rem 0;
      line-height: 1.55;
    }
.inc-list .check {
      color: rgb(var(--svc-accent));
      font-weight: 700;
      flex-shrink: 0;
    }
.tiers-section {
      padding: 6rem 0;
      background: var(--color-bg-secondary);
      border-top: 1px solid var(--color-border);
      border-bottom: 1px solid var(--color-border);
    }
.tier-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
      align-items: stretch;
    }
.tier-card {
      background: var(--color-bg-card);
      border: 1px solid var(--color-border);
      border-radius: 20px;
      padding: 2.5rem;
      display: flex;
      flex-direction: column;
      position: relative;
      transition: transform 0.3s ease, border-color 0.3s ease;
    }
.tier-card:hover { transform: translateY(-4px); border-color: var(--color-border-light); }
.tier-card.featured {
      border-color: rgba(212, 168, 83, 0.5);
      box-shadow: 0 10px 50px rgba(212, 168, 83, 0.08);
    }
.tier-card h3 {
      font-family: var(--font-display);
      font-size: 1.35rem;
      font-weight: 600;
      margin-bottom: 0.35rem;
    }
.tier-price {
      display: flex;
      align-items: baseline;
      gap: 0.4rem;
      margin-bottom: 0.35rem;
    }
.tier-amount {
      font-family: var(--font-display);
      font-size: 2rem;
      font-weight: 700;
      color: var(--color-accent-gold);
    }
.tier-period {
      font-size: 0.9rem;
      color: var(--color-text-muted);
    }
.tier-desc {
      font-size: 0.9rem;
      color: var(--color-text-secondary);
      line-height: 1.6;
      margin-bottom: 1.5rem;
      padding-bottom: 1.5rem;
      border-bottom: 1px solid var(--color-border);
    }
.tier-features {
      list-style: none;
      flex: 1;
      margin-bottom: 1.75rem;
    }
.tier-features li {
      display: flex;
      gap: 0.6rem;
      font-size: 0.9rem;
      color: var(--color-text-secondary);
      padding: 0.45rem 0;
      line-height: 1.55;
    }
.tier-features .check {
      color: var(--color-accent-green);
      font-weight: 700;
      flex-shrink: 0;
    }
.tier-note {
      max-width: 720px;
      margin: 3rem auto 0;
      text-align: center;
      font-size: 0.9rem;
      color: var(--color-text-muted);
      line-height: 1.7;
    }
.tier-note a { color: var(--color-accent-gold); text-decoration: none; }
.tier-note a:hover { text-decoration: underline; }
.cta-section { padding: 6rem 0; }
.cta-card {
      max-width: 720px;
      margin: 0 auto;
      text-align: center;
      padding: 3.5rem;
      background: linear-gradient(135deg, rgba(212,168,83,0.07), rgba(var(--svc-accent),0.05));
      border: 1px solid rgba(212,168,83,0.25);
      border-radius: 24px;
    }
.cta-card h2 {
      font-family: var(--font-display);
      font-size: clamp(1.5rem, 3vw, 2.25rem);
      font-weight: 600;
      margin-bottom: 1rem;
    }
.cta-card h2 .highlight { color: var(--color-accent-gold); }
.cta-card p {
      color: var(--color-text-secondary);
      font-size: 1.05rem;
      margin-bottom: 2rem;
      line-height: 1.7;
    }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.footer-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1.5rem;
    }
.footer-links {
      display: flex;
      gap: 2rem;
      flex-wrap: wrap;
    }
.footer-links a {
      color: var(--color-text-muted);
      text-decoration: none;
      font-size: 0.875rem;
      transition: color 0.2s;
    }
.footer-links a:hover { color: var(--color-accent-gold); }
.footer-copy {
      font-size: 0.85rem;
      color: var(--color-text-muted);
    }
.footer-col li { margin-bottom: 0.6rem; }
@media (max-width: 1100px) {
  .nav-container > .btn { padding: 0.55rem 0.9rem; font-size: 0.85rem; white-space: nowrap; }
}
@media (max-width: 1024px) {
  .inc-grid { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* Layout and utility additions */
:root { --svc-accent: 212,168,83; }
html:not(.js) .reveal { opacity: 1; transform: none; }
main { position: relative; z-index: 1; }
.band { padding: 6rem 0; }
.band-tight { padding: 4rem 0; }
.band-alt {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.hero.hero-plain { min-height: 78vh; }
.hero.hero-plain .hero-content { max-width: 760px; }
.page-hero-short { padding-bottom: 2rem; }
.page-hero .cta-buttons { margin-top: 2rem; }
.tag-inline { display: inline-block; margin-bottom: 1.25rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-spaced { margin-top: 1.25rem; }
.inc-grid-2, .tier-grid-2, .faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.tier-grid-2 { max-width: 960px; margin: 0 auto; align-items: stretch; }
.tier-grid-2 .tier-amount { font-size: 1.6rem; }
.faq-grid .inc-card h3 { margin-bottom: 0.75rem; }
.section-note {
  max-width: 760px;
  margin: 2.5rem auto 0;
  text-align: center;
  color: var(--color-text-secondary);
}
.process-steps-3 { grid-template-columns: repeat(3, 1fr); }
.contact-details-row {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  margin-top: 3rem;
}
.contact-detail a { color: inherit; text-decoration: none; }
.contact-detail a:hover { color: var(--color-accent-gold); }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 2.5rem 0 0.75rem;
}
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--color-text-secondary); margin-bottom: 1rem; }
.prose a { color: var(--color-accent-gold); }
@media (max-width: 900px) {
  .inc-grid-2, .tier-grid-2, .faq-grid, .process-steps-3 { grid-template-columns: 1fr; }
  .band { padding: 4.5rem 0; }
  .hero.hero-plain { min-height: 0; padding-top: 9rem; }
}
