﻿@import url('../fonts/fonts.css');

/* ============================================================
   1. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary: #0A0A0A;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --accent: #F5C518;
  --accent-hover: #FFD740;
  --text-primary: #F5F5F5;
  --text-secondary: #999999;
  --text-muted: #555555;
  --border: #222222;
  --max-width: 1440px;
  --section-heading-size: clamp(36px, 5.5vw, 64px);
  --section-pad-y: clamp(72px, 10vw, 140px);
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
  font-feature-settings: 'ss01', 'cv11';
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

::selection { background: var(--accent); color: var(--bg-primary); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-variation-settings: 'opsz' 96;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 24px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.section-headline {
  font-size: var(--section-heading-size);
  margin-bottom: 64px;
  max-width: 800px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

section {
  padding: var(--section-pad-y) 0;
  position: relative;
}

/* ============================================================
   2. CUSTOM CURSOR
   ============================================================ */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
  will-change: transform;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  opacity: 0.6;
}
.cursor-ring.hover {
  width: 56px;
  height: 56px;
  background: rgba(245, 197, 24, 0.08);
  opacity: 1;
}
@media (max-width: 1024px), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============================================================
   3. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
}
.btn-ghost,
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}
.btn-ghost:hover,
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-block { width: 100%; }

/* ============================================================
   4. NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  transition: font-size 0.3s var(--ease);
}
.nav.scrolled .logo { font-size: 20px; }
.logo-sharp { font-weight: 800; }
.logo-build { font-weight: 400; font-family: 'Inter', sans-serif; margin-left: 2px; letter-spacing: -0.01em; }
.logo-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  margin-left: 4px;
  margin-bottom: 4px;
  align-self: flex-end;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active,
.nav-links a.nav-active { color: var(--accent); }
.nav-links a.active::after,
.nav-links a.nav-active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--accent);
}
.nav-cta { padding: 12px 22px; font-size: 14px; }

.hamburger {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 101;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  position: absolute;
  left: 4px;
  transition: all 0.3s var(--ease);
}
.hamburger span:nth-child(1) { top: 10px; }
.hamburger span:nth-child(2) { top: 16px; }
.hamburger span:nth-child(3) { top: 22px; }
.hamburger.open span:nth-child(1) { top: 16px; transform: rotate(45deg); background: var(--accent); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 16px; transform: rotate(-45deg); background: var(--accent); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.mobile-menu nav a {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  transition: color 0.2s ease;
}
.mobile-menu nav a:hover,
.mobile-menu nav a.nav-active { color: var(--accent); }
.mobile-menu .btn { margin-top: 16px; }

/* ============================================================
   5. HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding-top: 120px;
  padding-bottom: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.18 0'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.6'/></svg>");
  opacity: 0.35;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
}
.hero-content { max-width: 880px; }
.hero h1 {
  font-size: clamp(48px, 8.5vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  margin-bottom: 32px;
  font-weight: 700;
}
.hero h1 .line {
  display: block;
  overflow: hidden;
}
.hero h1 .line-inner {
  display: block;
  opacity: 0;
  transform: translateY(110%);
  animation: heroLineIn 1s var(--ease) forwards;
}
.hero h1 .line:nth-child(1) .line-inner { animation-delay: 0.4s; }
.hero h1 .line:nth-child(2) .line-inner { animation-delay: 0.55s; }
.hero h1 .line:nth-child(3) .line-inner { animation-delay: 0.7s; }
.hero h1 .accent-dot { color: var(--accent); }

.hero-eyebrow {
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.2s forwards;
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.85s forwards;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 1s forwards;
}

.hero-visual {
  position: relative;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) 0.6s forwards;
}
.hero-shape {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-shape svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-shape .grid-line { stroke: var(--border); stroke-width: 1; }
.hero-shape .accent-line { stroke: var(--accent); stroke-width: 2; }
.hero-shape .pulse {
  fill: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform-origin: center; }
  50% { opacity: 0.4; }
}

@keyframes heroLineIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Marquee */
.marquee {
  margin-top: auto;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  z-index: 2;
  background: var(--bg-primary);
}
.marquee-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(20px, 2.8vw, 32px);
  font-weight: 800;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 56px;
  letter-spacing: -0.02em;
}
.marquee-item::after {
  content: '✦';
  color: var(--accent);
  font-size: 0.7em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   6. SOCIAL PROOF
   ============================================================ */
.social-proof {
  background: var(--bg-secondary);
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.social-proof-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.social-proof-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.social-proof-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  width: 100%;
}
.social-proof-logos > div {
  flex: 1 1 auto;
  text-align: center;
  padding: 8px 24px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-secondary);
  border-right: 1px solid var(--border);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.social-proof-logos > div:hover { color: var(--text-primary); }
.social-proof-logos > div:last-child { border-right: none; }

/* ============================================================
   7. SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-card {
  background: var(--bg-secondary);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
  border-left: 2px solid transparent;
}
.service-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card);
  border-left-color: var(--accent);
  z-index: 2;
}
.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  color: var(--accent);
}
.service-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent);
  fill: none;
}
.service-title {
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--text-primary);
}
.service-desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 5px 12px;
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}
.service-card:hover .tag { background: var(--bg-primary); }

/* ============================================================
   8. WHY SHARPBUILD
   ============================================================ */
.why {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.why h2 {
  font-size: var(--section-heading-size);
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: -0.045em;
}
.why-features {
  display: grid;
  gap: 32px;
}
.why-feature {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 20px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.why-feature:last-child { border-bottom: none; }
.why-marker {
  font-size: 22px;
  color: var(--accent);
  line-height: 1;
}
.why-feature-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.why-feature-desc {
  color: var(--text-secondary);
  font-size: 15px;
}

/* ============================================================
   9. PROCESS
   ============================================================ */
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.process-track::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 2px;
  background-image: linear-gradient(to right, var(--accent) 50%, transparent 50%);
  background-size: 12px 2px;
  background-repeat: repeat-x;
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
  background: var(--bg-primary);
  padding-right: 16px;
}
.process-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  background: var(--bg-primary);
  display: inline-block;
  padding-right: 16px;
}
.process-step-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.process-step-desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* ============================================================
   10. PORTFOLIO
   ============================================================ */
.portfolio {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
}
.portfolio-headline {
  margin-bottom: 0;
}
.portfolio-controls {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.slider-btn {
  width: 56px;
  height: 56px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.slider-btn svg {
  width: 20px;
  height: 20px;
}
.slider-btn:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg-primary);
}
.slider-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.portfolio-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
  cursor: grab;
}
.portfolio-slider::-webkit-scrollbar { display: none; }
.portfolio-slider.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}
.portfolio-slider.dragging .project-card { pointer-events: none; }

.project-card {
  flex: 0 0 calc((100% - 24px * 3) / 4);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
  scroll-snap-align: start;
  scroll-margin-left: 0;
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.project-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
  filter: grayscale(0.2) brightness(0.85);
  user-select: none;
  -webkit-user-drag: none;
}
.project-card:hover .project-image img {
  transform: scale(1.04);
  filter: grayscale(0) brightness(1);
}
.project-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  background: var(--accent);
  color: var(--bg-primary);
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.project-card:hover .project-overlay { transform: translateY(0); }
.project-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project-stack {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.project-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.project-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}
.project-link {
  color: var(--accent);
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.25s var(--ease);
  align-self: flex-start;
}
.project-link:hover { gap: 14px; }

.portfolio-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.portfolio-dots {
  display: flex;
  gap: 10px;
}
.portfolio-dot {
  width: 28px;
  height: 3px;
  background: var(--border);
  cursor: pointer;
  transition: background 0.25s var(--ease), width 0.25s var(--ease);
  border: none;
  padding: 0;
}
.portfolio-dot:hover { background: var(--text-muted); }
.portfolio-dot.active {
  background: var(--accent);
  width: 56px;
}
.portfolio-counter {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}
.portfolio-counter .current { color: var(--text-primary); }

/* ============================================================
   11. TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.testimonial {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 40px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.testimonial::before {
  content: '“';
  position: absolute;
  top: -10px;
  left: 24px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 96px;
  color: var(--accent);
  line-height: 1;
  font-weight: 800;
}
.testimonial-quote {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-primary);
  margin-top: 24px;
  margin-bottom: 28px;
  flex: 1;
}
.testimonial-author {
  font-size: 14px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.testimonial-author strong {
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================================================
   12. PRICING
   ============================================================ */
.pricing {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--text-secondary);
}
.pricing-card.featured {
  border-color: var(--accent);
  transform: translateY(-12px);
  background: var(--bg-card);
  box-shadow: 0 0 0 1px var(--accent);
}
.pricing-card.featured:hover { transform: translateY(-16px); }
.pricing-badge {
  position: absolute;
  top: -12px;
  right: 32px;
  background: var(--accent);
  color: var(--bg-primary);
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pricing-tier {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pricing-card.featured .pricing-tier { color: var(--accent); }
.pricing-for {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  min-height: 42px;
}
.pricing-price {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 52px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.pricing-price .currency { font-size: 28px; vertical-align: top; line-height: 1.6; margin-right: 4px; color: var(--text-secondary); }
.pricing-price-suffix {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.pricing-features {
  margin-bottom: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 14px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 15px;
}
.pricing-features li::before {
  content: '✦';
  color: var(--accent);
  flex-shrink: 0;
  font-size: 12px;
  margin-top: 2px;
}
.pricing-card .btn { margin-top: auto; }

/* ============================================================
   13. FAQ
   ============================================================ */
.faq-list {
  margin: 0 auto;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.faq-item:hover {
  background: #181818;
}
.faq-item.open {
  background: #191919;
  border-bottom-color: rgba(245, 197, 24, 0.35);
}
.faq-question {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  transition: color 0.2s ease;
  letter-spacing: -0.01em;
}
.faq-question:hover { color: var(--accent); }
.faq-question:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.faq-arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
  color: var(--accent);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-answer-inner {
  padding: 0 28px 28px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================================
   14. CONTACT
   ============================================================ */
.contact {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n2'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.96  0 0 0 0 0.77  0 0 0 0 0.09  0 0 0 0.04 0'/></filter><rect width='200' height='200' filter='url(%23n2)' opacity='1'/></svg>");
  opacity: 0.28;
  pointer-events: none;
}
.contact::after {
  content: none;
}
.contact > .container { position: relative; z-index: 1; }

/* ----- Intro ----- */
.contact-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}
.contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.contact-kicker span {
  color: var(--accent);
  font-size: 13px;
  line-height: 1;
}
.contact-headline {
  text-align: center;
  font-size: var(--section-heading-size);
  margin-bottom: 24px;
  line-height: 0.94;
  font-weight: 700;
  letter-spacing: -0.05em;
}
.contact-headline .accent-dot { color: var(--accent); }
.contact-sub {
  text-align: center;
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 24px;
  line-height: 1.65;
}

/* Connected segmented trust strip */
.contact-trust {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.contact-trust span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 13px 22px;
  border-right: 1px solid var(--border);
}
.contact-trust span:last-child { border-right: none; }
.contact-trust span::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ----- Grid ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 20px;
  margin: 0 auto;
  max-width: 1200px;
  align-items: stretch;
}

/* ----- Form ----- */
.contact-form {
  display: grid;
  gap: 20px;
  background: var(--bg-card);
  padding: 40px;
  border: 1px solid var(--border);
  position: relative;
}
.contact-form-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  pointer-events: none;
}
.contact-form-corner-tl {
  top: -1px;
  left: -1px;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
}
.contact-form-corner-br {
  bottom: -1px;
  right: -1px;
  border-bottom: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
}
.contact-form-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.contact-form-label span {
  color: var(--accent);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.form-group label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.form-counter {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: none;
  font-feature-settings: 'tnum';
  transition: color 0.2s ease;
}
.form-counter.near { color: var(--accent); }
.form-counter.full { color: #ef4444; }

.form-group input,
.form-group select,
.form-group textarea {
  background: #121212;
  border: 1px solid var(--border);
  padding: 15px 16px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 400;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  width: 100%;
}
.form-group input:hover:not(:focus),
.form-group select:hover:not(:focus),
.form-group textarea:hover:not(:focus) {
  border-color: #2a2a2a;
  background: #141414;
}
.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5C518' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 14px;
  padding-right: 44px;
}
.form-group textarea {
  resize: vertical;
  min-height: 140px;
  font-family: inherit;
  line-height: 1.6;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(245, 197, 24, 0.18);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.contact-form-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0 4px;
  position: relative;
}
.contact-form-divider::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.contact-submit {
  margin-top: 4px;
  padding: 16px 24px;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.contact-submit svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}
.contact-submit:hover svg { transform: translateX(4px); }
.contact-submit::after {
  content: none;
}

.contact-note { display: none; }

/* ----- Side panel ----- */
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  position: relative;
}
.contact-method:hover {
  border-color: var(--accent);
  background: #1a1a1a;
}
.contact-method-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.contact-method-icon svg { width: 18px; height: 18px; }
.contact-method:hover .contact-method-icon {
  border-color: var(--accent);
  background: rgba(245, 197, 24, 0.08);
}
.contact-method-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.contact-method-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 500;
}
.contact-method-value {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.25s var(--ease);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contact-method:hover .contact-method-value { color: var(--accent); }
.contact-method-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-4px);
  opacity: 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), color 0.3s var(--ease);
}
.contact-method-arrow svg { width: 100%; height: 100%; }
.contact-method:hover .contact-method-arrow {
  transform: translateX(0);
  opacity: 1;
  color: var(--accent);
}

/* White-label CTA card */
.contact-side-cta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 20px;
  position: relative;
  margin-top: 8px;
}
.contact-side-cta-mark {
  position: absolute;
  top: 16px;
  right: 18px;
  color: var(--accent);
  font-size: 12px;
  line-height: 1;
}
.contact-side-title {
  color: var(--text-primary);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
  padding-right: 28px;
}
.contact-side-copy {
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.contact-side-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: gap 0.25s var(--ease);
}
.contact-side-link:hover { gap: 14px; }

/* ============================================================
   15. FOOTER
   ============================================================ */
footer {
  background: var(--bg-primary);
  border-top: 2px solid var(--accent);
  padding: 88px 0 36px;
  position: relative;
  overflow: hidden;
}

/* ----- Footer CTA banner ----- */
.footer-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 72px;
}
.footer-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 500;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  animation: statusPulse 2.4s ease-in-out infinite;
  display: inline-block;
}
@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.45); }
  50% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
}
.footer-cta-headline {
  font-size: clamp(36px, 5.5vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: var(--text-primary);
}
.footer-cta-accent { color: var(--accent); }

.footer-cta-link {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 32px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
  text-align: left;
  min-width: 320px;
}
.footer-cta-link:hover {
  border-color: var(--accent);
  background: var(--bg-card);
  transform: translateY(-2px);
}
.footer-cta-link-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.footer-cta-link-email {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 16px;
  letter-spacing: -0.02em;
}
.footer-cta-link-email svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  transition: transform 0.25s var(--ease);
}
.footer-cta-link:hover .footer-cta-link-email svg { transform: translate(3px, -3px); }

/* ----- Footer main grid ----- */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 56px;
  margin-bottom: 80px;
}
.footer-brand .logo { margin-bottom: 20px; }
.footer-tagline {
  color: var(--text-secondary);
  margin-bottom: 14px;
  max-width: 340px;
  font-size: 15px;
  line-height: 1.6;
}
.footer-motto {
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 28px;
  font-weight: 500;
}
.footer-contact {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  max-width: 340px;
}
.footer-contact li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  align-items: baseline;
  font-size: 14px;
}
.footer-contact-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.footer-contact a {
  color: var(--text-primary);
  transition: color 0.2s ease;
  font-weight: 500;
}
.footer-contact a:hover { color: var(--accent); }
.footer-contact span:not(.footer-contact-label) { color: var(--text-secondary); }

.footer-col h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.footer-col ul { display: grid; gap: 14px; }
.footer-col li a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.2s ease, padding-left 0.2s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
}
.footer-col li a:hover {
  color: var(--text-primary);
  padding-left: 14px;
}
.footer-col li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.2s ease;
}
.footer-col li a:hover::before { width: 8px; }

/* ----- Connect column with social pill list ----- */
.footer-social-list { gap: 4px !important; }
.footer-social-list li a {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 12px 0 !important;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.2s ease, padding 0.2s ease;
}
.footer-social-list li a::before { display: none; }
.footer-social-list li a:hover { color: var(--text-primary); padding-left: 0 !important; }
.footer-social-list li a > svg:first-child { width: 16px; height: 16px; flex-shrink: 0; }
.footer-social-list li a span { flex: 1; }
.footer-social-list li a .ext-arrow {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: transform 0.2s var(--ease), color 0.2s ease;
}
.footer-social-list li a:hover .ext-arrow { color: var(--accent); transform: translate(3px, -3px); }

/* ----- Footer bottom ----- */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  padding-bottom: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-copy {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.footer-legal {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-legal a {
  color: var(--text-muted);
  font-size: 13px;
  transition: color 0.2s ease;
}
.footer-legal a:hover { color: var(--accent); }

/* ----- Massive brand wordmark ----- */
.footer-wordmark {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(80px, 18vw, 280px);
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px var(--border);
  text-align: center;
  white-space: nowrap;
  user-select: none;
  margin-top: 12px;
  font-variation-settings: 'opsz' 96;
  display: flex;
  justify-content: center;
  align-items: baseline;
  overflow: hidden;
}
.footer-wordmark-build {
  -webkit-text-stroke: 1px var(--border);
}
.footer-wordmark-dot {
  color: var(--accent);
  -webkit-text-stroke: 0;
}

/* ============================================================
   SERVICES PAGE (dedicated /services route)
   ============================================================ */
.services-page section {
  padding: var(--section-pad-y) 0;
  position: relative;
}

/* Hero */
.sp-hero {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  padding-top: clamp(140px, 16vw, 200px) !important;
  overflow: hidden;
  position: relative;
}
.sp-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(245,197,24,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.sp-hero-inner {
  padding: 0 var(--gutter);
}
.sp-hero-content {
  max-width: 820px;
}
.sp-hero-headline {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.sp-hero-accent {
  color: var(--accent);
}
.sp-hero-sub {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 40px;
}
.sp-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.sp-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.sp-stat {
  background: var(--bg-primary);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sp-stat-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}
.sp-stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Services section */
.sp-services {
  background: var(--bg-primary);
}
.sp-services .container {
  padding: 0 var(--gutter);
}
.sp-services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
}
.sp-services-header .section-headline {
  margin-bottom: 0;
}
.sp-header-cta {
  flex-shrink: 0;
}

/* Make service cards into links on the services page */
.services-page a.service-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* CTA Section */
.sp-cta {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}
.sp-cta-inner {
  padding: 0 var(--gutter);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sp-cta .eyebrow {
  justify-content: center;
}
.sp-cta-headline {
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 750px;
  margin-bottom: 20px;
}
.sp-cta-sub {
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 36px;
}
.sp-cta-btn {
  font-size: 16px;
  padding: 16px 40px;
}

/* ---- Service Detail Page ---- */
.sd-hero {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  padding-top: clamp(130px, 14vw, 180px) !important;
  position: relative;
  overflow: hidden;
}
.sd-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,197,24,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.sd-hero-inner {
  padding: 0 var(--gutter);
}
.sd-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  transition: color 0.2s ease;
}
.sd-back svg { width: 18px; height: 18px; }
.sd-back:hover { color: var(--accent); }
.sd-hero-content {
  max-width: 780px;
}
.sd-hero-icon {
  width: 64px;
  height: 64px;
  color: var(--accent);
  margin-bottom: 28px;
}
.sd-hero-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent);
  fill: none;
}
.sd-hero-headline {
  font-size: clamp(34px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.sd-hero-sub {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 24px;
}
.sd-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.sd-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* What We Offer */
.sd-offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.sd-offer-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sd-offer-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.sd-offer-item:first-child { padding-top: 0; }
.sd-offer-item:last-child { border-bottom: none; }
.sd-offer-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.sd-offer-text {
  font-size: 16px;
  color: var(--text-primary);
}

/* Technologies */
.sd-tech-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sd-tech-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.sd-tech-headline {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.sd-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sd-tech-tag {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.01em;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.sd-tech-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* FAQ */
.sd-faq-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sd-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.sd-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sd-faq-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.sd-faq-item:first-child { padding-top: 0; }
.sd-faq-item:last-child { border-bottom: none; }
.sd-faq-q {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}
.sd-faq-a {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* Other Services Grid */
.sd-other-grid {
  grid-template-columns: repeat(3, 1fr);
}
.services-page a.service-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Responsive overrides for services pages */
@media (max-width: 900px) {
  .sp-services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .sp-hero-stats {
    grid-template-columns: 1fr;
  }
  .sd-offer-grid,
  .sd-tech-inner,
  .sd-faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sd-other-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .sp-hero-actions .btn,
  .sd-hero-actions .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
  .sp-cta-headline br {
    display: none;
  }
}

/* ============================================================
   16. SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-stagger.in > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.4s; }

/* ============================================================
   17. RESPONSIVE
   ============================================================ */
@media (max-width: 1279px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { gap: 48px; }
  .pricing-card.featured { transform: translateY(0); }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 56px 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-cta { grid-template-columns: 1fr; gap: 32px; }
  .footer-cta-link { min-width: 0; }
  .portfolio-slider .project-card { flex: 0 0 calc((100% - 24px * 2) / 3); }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: block; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
  .process-track { grid-template-columns: 1fr; gap: 32px; }
  .process-track::before { display: none; }
  .process-step::before {
    content: '';
    display: block;
    width: 2px;
    height: 24px;
    background-image: linear-gradient(to bottom, var(--accent) 50%, transparent 50%);
    background-size: 2px 8px;
    margin: 0 0 16px 24px;
  }
  .process-step:first-child::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-brand { grid-column: auto; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 18px; }
  .contact-intro { margin-bottom: 44px; }
  .contact-trust { width: 100%; flex-direction: column; }
  .contact-trust span {
    border-right: none;
    border-bottom: 1px solid var(--border);
    justify-content: flex-start;
  }
  .contact-trust span:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; }
  .portfolio-slider .project-card { flex: 0 0 calc((100% - 20px) / 2); }
  .portfolio-slider { gap: 20px; }
  .portfolio-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .portfolio-progress {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .hero-ctas .btn { flex: 1; }
  .social-proof-logos > div {
    flex: 0 0 50%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
  }
  .social-proof-logos > div:nth-child(2n) { border-right: none; }
  .social-proof-logos > div:nth-last-child(-n+2) { border-bottom: none; }
  .contact-form { padding: 28px 20px; }
  .contact-form-corner { width: 22px; height: 22px; }
  .contact-headline { font-size: var(--section-heading-size); }
  .contact-kicker { margin-bottom: 20px; padding: 8px 14px; }
  .contact-trust span { padding: 12px 18px; font-size: 10.5px; }
  .contact-side-cta { padding: 18px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
  }
  .footer-cta-link { width: 100%; padding: 22px 24px; }
  .footer-cta { padding-bottom: 56px; margin-bottom: 56px; }
  footer { padding-top: 64px; }
  .footer-wordmark { font-size: clamp(60px, 22vw, 140px); }
  .testimonial { padding: 32px 24px; }
  .pricing-card { padding: 36px 28px; }
  .portfolio-slider .project-card { flex: 0 0 85%; }
  .slider-btn { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}