/* ============================================================
   BUILDKRAFT — Design System
   Palette: Deep Navy #0B1120 · Slate #1A2540 · Amber #F97316
   Antigravity editorial aesthetic — dark, typographic, cinematic
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

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

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

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

/* ===== CSS VARIABLES ===== */
:root {
  --bg: #FFFFFF;
  --bg-2: #F8FAFC;
  --bg-card: #FFFFFF;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(249, 115, 22, 0.5);
  --text: #111827;
  --text-muted: #4B5563;
  --text-dim: #6B7280;
  --accent: #F97316;
  --accent-dim: rgba(249, 115, 22, 0.08);
  --accent-glow: rgba(249, 115, 22, 0.04);
  --navy: #F1F5F9;
  --white: #111827;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== TYPOGRAPHY ===== */
h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--white);
}

p {
  color: var(--text-muted);
  line-height: 1.75;
}

.body-large {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-dim);
}

.label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  font-weight: 600;
}

.btn-primary:hover {
  background: #fb923c;
  border-color: #fb923c;
  transform: translateY(-1px);
}

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

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

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

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

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img,
.logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--white);
}

.navbar .btn-primary {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  margin-left: auto;
  padding: 4px;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  padding: 16px 32px 24px;
  background: var(--bg);
}

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

.mobile-menu a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s ease;
}

.mobile-menu a:last-of-type {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--white);
}

.mobile-menu .btn-primary {
  margin-top: 16px;
  justify-content: center;
}

/* ===== HERO ===== */
.hero {
  padding: 120px 0 112px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.98)), url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&q=80&w=2070') center/cover no-repeat;
}

/* Subtle radial glow behind hero text — logo amber */
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 100px;
  margin-bottom: 32px;
  background: var(--accent-dim);
}

.hero-label span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.hero-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero .body-large {
  max-width: 580px;
  margin: 0 auto;
}

/* ===== DIVIDER ===== */
.section-divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ===== PROBLEM / MARQUEE STRIP ===== */
.problem {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to bottom, rgba(248, 250, 252, 0.9), rgba(248, 250, 252, 0.95)), url('https://images.unsplash.com/photo-1542831371-29b0f74f9713?auto=format&fit=crop&q=80&w=2070') center/cover no-repeat fixed;
}

.problem-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.problem-inner .label {
  margin-bottom: 20px;
  display: block;
}

.problem-text {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.75;
  color: var(--text-dim);
  font-weight: 400;
}

.problem-text strong {
  color: var(--white);
  font-weight: 600;
}

/* ===== SECTION HEADER ===== */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  gap: 24px;
}

.section-header-left .label {
  margin-bottom: 12px;
  display: block;
}

.section-header h2 {
  margin-bottom: 0;
}

.section-count {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

/* ===== SERVICES ===== */
.services {
  padding: 112px 0;
  position: relative;
  background: url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat fixed;
}

.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.96);
  z-index: 0;
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.service-card {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  transition: background 0.25s ease, border-color 0.25s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-glow);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-card:hover {
  background: var(--bg-2);
}

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

.service-card:hover .service-icon {
  stroke: var(--accent);
}

.service-card:nth-child(3n) {
  border-right: none;
}

.service-card:nth-child(4),
.service-card:nth-child(5),
.service-card:nth-child(6) {
  border-bottom: none;
}

.service-icon {
  width: 22px;
  height: 22px;
  stroke: var(--text-muted);
  margin-bottom: 20px;
  transition: stroke 0.25s ease;
  position: relative;
  z-index: 1;
}

.service-card h3 {
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ===== PROCESS ===== */
.process {
  padding: 112px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.process-step {
  padding: 48px 40px;
  border-right: 1px solid var(--border);
  position: relative;
}

.process-step:last-child {
  border-right: none;
}

.step-number {
  display: block;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.3) 0%, rgba(249, 115, 22, 0.05) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.process-step h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.process-step p {
  font-size: 0.9rem;
}

/* connector line between steps */
.process-step::after {
  content: '';
  position: absolute;
  top: 56px;
  right: -1px;
  width: 1px;
  height: 32px;
  background: var(--accent);
  opacity: 0.4;
}

.process-step:last-child::after {
  display: none;
}

/* ===== WHY BUILDKRAFT ===== */
.why {
  padding: 112px 0;
  background: var(--accent);
  color: #FFFFFF;
}

.why .section-header {
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.why h2,
.why .label {
  color: #FFFFFF;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-card {
  padding: 36px 32px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  /* glass-like transparency over orange */
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.why-card:hover {
  border-color: #FFFFFF;
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.15);
}

.why-icon {
  width: 22px;
  height: 22px;
  stroke: #FFFFFF;
  margin-bottom: 20px;
}

.why-card h3 {
  margin-bottom: 10px;
  color: #FFFFFF;
}

.why-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
}

/* ===== WORK ===== */
.work {
  padding: 112px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.projects-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-card,
.project-featured {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  transition: border-color 0.25s ease;
  box-shadow: none;
}

.project-card:hover,
.project-featured:hover {
  border-color: var(--text-dim);
}

.project-featured {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ===== SALON BOOKING MOCKUP ===== */
.project-featured-preview {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #F8FAFC;
  margin-bottom: 12px;
}

.pfp-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
}

.pfp-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E5E7EB;
}

.pfp-bar span:nth-child(1) {
  background: #FCA5A5;
}

.pfp-bar span:nth-child(2) {
  background: #FCD34D;
}

.pfp-bar span:nth-child(3) {
  background: #6EE7B7;
}

.pfp-body {
  display: flex;
  min-height: 220px;
}

.pfp-sidebar {
  width: 56px;
  background: #FFFFFF;
  border-right: 1px solid var(--border);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pfp-nav-item {
  height: 8px;
  border-radius: 4px;
  background: #E5E7EB;
}

.pfp-nav-item.active {
  background: var(--accent);
}

.pfp-content {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.pfp-title-block {
  height: 12px;
  width: 140px;
  border-radius: 4px;
  background: #D1D5DB;
}

.pfp-btn-block {
  height: 28px;
  width: 80px;
  border-radius: 5px;
  background: var(--accent);
  opacity: 0.85;
}

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

.pfp-slot {
  border-radius: 7px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--border);
}

.pfp-slot span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
}

.pfp-slot em {
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}

.pfp-slot.booked {
  background: rgba(249, 115, 22, 0.08);
  border-color: rgba(249, 115, 22, 0.25);
}

.pfp-slot.booked em {
  color: var(--accent);
}

.pfp-slot.free {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.2);
}

.pfp-slot.free em {
  color: #059669;
}

.project-featured h3 {
  font-size: 1.75rem;
  color: var(--text);
  margin: 0;
}

.project-featured .desc {
  font-size: 1.125rem;
}

.work-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--accent);
  border-radius: 4px;
  padding: 4px 10px;
  width: fit-content;
}

.project-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  display: flex;
  flex-direction: column;
}

/* Small project card preview box */
.project-card-preview {
  width: 100%;
  height: 160px;
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.project-card-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.05) 0%, transparent 70%);
}

.project-card-preview svg {
  width: 36px;
  height: 36px;
  stroke: var(--accent);
  opacity: 0.7;
  position: relative;
}

.project-card-preview span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
}

.project-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text);
}

.project-card .desc {
  font-size: 0.9375rem;
  margin-bottom: 24px;
  color: var(--text-dim);
}

.detail-box {
  margin-bottom: 20px;
}

.detail-box:last-child {
  margin-bottom: 0;
}

.detail-box strong {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.detail-box ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-box li {
  font-size: 0.875rem;
  color: var(--text);
  position: relative;
  padding-left: 20px;
}

.detail-box li::before {
  content: "•";
  color: var(--accent);
  position: absolute;
  left: 0;
  top: 0;
}

.flow-box p {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.6;
}

.arr {
  display: inline-block;
  color: var(--accent);
  font-weight: bold;
  margin: 0 4px;
  transition: transform 0.3s ease;
}

@keyframes hoverArrow {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(4px);
  }
}

.project-card:hover .arr,
.project-featured:hover .arr {
  animation: hoverArrow 1s ease-in-out infinite;
}

/* ===== ABOUT ===== */
.about {
  padding: 112px 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-left .label {
  margin-bottom: 20px;
  display: block;
}

.about-left h2 {
  margin-bottom: 0;
}

.about-right p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-dim);
}

.about-right p:last-child {
  margin-bottom: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 56px;
}

.stat {
  background: var(--bg-card);
  padding: 28px 24px;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-number span {
  color: var(--accent);
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ===== CONTACT ===== */
.contact {
  padding: 112px 0;
  position: relative;
  background: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat fixed;
  border-top: 1px solid var(--border);
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(248, 250, 252, 0.95);
  z-index: 0;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-left .label {
  margin-bottom: 20px;
  display: block;
}

.contact-left h2 {
  margin-bottom: 16px;
}

.contact-left .body-large {
  margin-bottom: 40px;
}

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

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  color: var(--text-dim);
  transition: color 0.15s ease;
}

.contact-links a:hover {
  color: var(--accent);
}

.contact-links svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(249, 115, 22, 0.5);
  background: var(--bg-2);
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 13px 24px;
  font-size: 1rem;
  margin-top: 4px;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 36px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-bottom a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

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

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

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

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ===== MARQUEE ===== */
.clients {
  padding: 80px 0;
  overflow: hidden;
  background: var(--bg);
}

.clients-header {
  text-align: center;
  margin-bottom: 40px;
}

.marquee-wrap {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.marquee-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.marquee-row {
  display: flex;
  width: max-content;
}

.marquee-left .marquee-inner {
  display: flex;
  animation: scroll-left 40s linear infinite;
}

.marquee-right .marquee-inner {
  display: flex;
  animation: scroll-right 40s linear infinite;
}

.client-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 40px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dim);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-right: 16px;
  white-space: nowrap;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

.marquee-fade-left,
.marquee-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 1;
  pointer-events: none;
}

.marquee-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.marquee-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 112px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

.stars {
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  margin-bottom: 32px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.25rem;
  object-fit: cover;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--white);
}

.testimonial-author span {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

/* ===== CGI SCROLL EFFECTS ===== */
.cgi-up {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0s);
}

.cgi-up.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cgi-reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cgi-outward-container {
  perspective: 1000px;
}

.cgi-outward {
  opacity: 0.2;
  transform: translateZ(-200px) scale(0.8);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.cgi-outward.visible {
  opacity: 1;
  transform: translateZ(0) scale(1);
}

.cgi-word {
  display: inline-block;
  opacity: 0.1;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cgi-word.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .service-card:nth-child(3n) {
    border-right: 1px solid var(--border);
  }

  .service-card:nth-child(2n) {
    border-right: none;
  }

  .service-card:nth-child(5),
  .service-card:nth-child(6) {
    border-bottom: none;
  }

  .service-card:nth-child(4) {
    border-bottom: 1px solid var(--border);
  }

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

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .project-details {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .navbar .btn-primary {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 80px 0 72px;
  }

  .container {
    padding: 0 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    border-radius: 10px;
  }

  .service-card {
    border-right: none !important;
  }

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

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .process-step:last-child {
    border-bottom: none;
  }

  .process-step::after {
    display: none;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

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

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .btn-group .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

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

  .process-step {
    padding: 36px 28px;
  }

  .project-card,
  .project-featured {
    padding: 32px 24px;
  }
}