/* ============================================
   ÖZKAN SURFACE STUDIO — Premium Website
   Design System & Global Styles
   ============================================ */

/* --- Design Tokens --- */
:root {
  /* Colors */
  --color-bg: #0a0a0a;
  --color-bg-elevated: #111111;
  --color-bg-card: #161616;
  --color-bg-card-hover: #1a1a1a;
  --color-surface: #1e1e1e;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-hover: rgba(255, 255, 255, 0.12);

  --color-text-primary: #f5f0eb;
  --color-text-secondary: #9a958f;
  --color-text-muted: #5a5651;

  --color-accent: #c9a96e;
  --color-accent-light: #ddc08a;
  --color-accent-dim: rgba(201, 169, 110, 0.15);
  --color-accent-glow: rgba(201, 169, 110, 0.08);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

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

  /* Sizing */
  --container-max: 1280px;
  --container-wide: 1440px;
  --container-narrow: 960px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 700ms;

  /* Borders */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--color-accent); color: var(--color-bg); }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* --- Utility --- */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-xl); }
.container--wide { max-width: var(--container-wide); }
.container--narrow { max-width: var(--container-narrow); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* --- Typography --- */
.heading-xl {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.text-sm { font-size: 0.875rem; line-height: 1.6; color: var(--color-text-secondary); }

/* --- Animated Background Grid --- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-grid::before {
  content: '';
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridDrift 30s linear infinite;
}

.bg-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--color-accent-glow), transparent);
}

@keyframes gridDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(80px, 80px); }
}

/* Ambient light orbs */
.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.ambient-orb--1 {
  width: 600px; height: 600px;
  background: rgba(201, 169, 110, 0.06);
  top: -200px; right: -200px;
  animation: orbFloat1 20s ease-in-out infinite;
}

.ambient-orb--2 {
  width: 500px; height: 500px;
  background: rgba(201, 169, 110, 0.04);
  bottom: -150px; left: -150px;
  animation: orbFloat2 25s ease-in-out infinite;
}

@keyframes orbFloat1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-50px, 30px); } }
@keyframes orbFloat2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, -40px); } }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: var(--space-lg) 0;
  transition: all var(--duration-normal) var(--ease-out-quart);
}

.nav--scrolled {
  padding: var(--space-md) 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

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

.nav__logo { display: flex; align-items: center; gap: var(--space-sm); }

.nav__logo-mark {
  width: 36px; height: 36px;
  border: 1.5px solid var(--color-accent);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-accent);
  position: relative;
  overflow: hidden;
}

.nav__logo-mark::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--color-accent-dim), transparent);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out-quart);
}

.nav__logo:hover .nav__logo-mark::after { opacity: 1; }

.nav__logo-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav__logo-text span {
  color: var(--color-text-muted);
  font-weight: 400;
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  margin-top: 1px;
}

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

.nav__link {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  transition: color var(--duration-fast) var(--ease-out-quart);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--color-accent);
  transition: width var(--duration-normal) var(--ease-out-expo);
}

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

.nav__cta {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-bg);
  background: var(--color-accent);
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--duration-normal) var(--ease-out-quart);
}

.nav__cta:hover {
  background: var(--color-accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.25);
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.nav__toggle span {
  display: block; width: 100%; height: 1.5px;
  background: var(--color-text-primary);
  transition: all var(--duration-normal) var(--ease-out-expo);
  transform-origin: center;
}

.nav__toggle.is-active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav__toggle.is-active span:nth-child(2) { opacity: 0; }
.nav__toggle.is-active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile menu */
.nav__mobile-menu {
  display: none;
  position: fixed; inset: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-slow) var(--ease-out-expo);
}

.nav__mobile-menu.is-open { opacity: 1; pointer-events: all; }

.nav__mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-text-primary);
  transition: color var(--duration-fast);
}

.nav__mobile-menu a:hover { color: var(--color-accent); }

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 90px;
  padding-bottom: 30px;
  overflow: hidden;
  z-index: 1;
}

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

.hero__bg-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 70% 40%, rgba(201, 169, 110, 0.07), transparent 70%),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(201, 169, 110, 0.04), transparent 60%);
}

/* Animated lines in hero */
.hero__lines { position: absolute; inset: 0; overflow: hidden; opacity: 0.15; }

.hero__line {
  position: absolute; width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--color-accent), transparent);
  animation: heroLine 8s ease-in-out infinite;
}

.hero__line:nth-child(1) { left: 20%; animation-delay: 0s; }
.hero__line:nth-child(2) { left: 40%; animation-delay: 2s; }
.hero__line:nth-child(3) { left: 60%; animation-delay: 4s; }
.hero__line:nth-child(4) { left: 80%; animation-delay: 6s; }

@keyframes heroLine {
  0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Hero elements start hidden, JS reveals them */
.hero__label,
.hero__subtitle,
.hero__actions {
  opacity: 0;
  transform: translateY(20px);
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.hero__label-line { width: 40px; height: 1px; background: var(--color-accent); }

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

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xl);
  color: var(--color-text-primary);
}

.hero__title .word { display: inline-block; overflow: hidden; }
.hero__title .word-inner { display: inline-block; }
.hero__title em { font-style: italic; color: var(--color-accent); }

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin-bottom: var(--space-2xl);
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--duration-normal) var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-bg);
  padding: 1rem 2.2rem;
  border-radius: var(--radius-sm);
}

.btn--primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 169, 110, 0.3);
}

.btn--primary:hover::before { opacity: 1; }

.btn--secondary { color: var(--color-text-secondary); padding: 1rem 0; }

.btn--secondary::after {
  content: '';
  position: absolute; bottom: 0.7rem; left: 0;
  width: 100%; height: 1px;
  background: var(--color-text-muted);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.btn--secondary:hover { color: var(--color-text-primary); }
.btn--secondary:hover::after { transform: scaleX(1); }

.btn__arrow {
  transition: transform var(--duration-normal) var(--ease-out-expo);
  font-size: 1.1em;
}

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

/* --- Hero Scroll Indicator --- */
.hero__scroll {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  opacity: 0;
  margin-top: auto;
  padding-top: var(--space-xl);
  cursor: pointer;
  border: none;
  background: none;
  align-self: center;
}

.hero__scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--color-accent);
  border-radius: 14px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
}

.hero__scroll-dot {
  width: 3px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.3; transform: translateY(12px); }
}

.hero__scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
}

.hero__scroll:hover .hero__scroll-mouse {
  border-color: var(--color-accent-light);
  box-shadow: 0 0 20px var(--color-accent-glow);
}

/* --- Trust Bar (inside hero) --- */
.trust {
  position: relative;
  z-index: 2;
  margin-top: var(--space-2xl);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-xl);
}

.trust__grid {
  display: flex;
  justify-content: space-between;
  gap: var(--space-lg);
}

.trust__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.trust__value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-text-primary);
  line-height: 1;
  white-space: nowrap;
}

.trust__value .accent { color: var(--color-accent); }

.trust__sep {
  width: 1px;
  height: 20px;
  background: var(--color-border);
  margin: 0 var(--space-sm);
}

.trust__desc {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* --- Section Shared --- */
.section {
  position: relative;
  z-index: 1;
  padding: var(--space-3xl) 0;
}

.section__header { margin-bottom: var(--space-2xl); }

.section__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.section__label-dot {
  width: 6px; height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

.section__label-text {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* Reveal: elements start visible, JS hides then reveals them.
   This prevents content being invisible if JS fails. */
.js-ready .reveal { opacity: 0; transform: translateY(30px); }
.js-ready .reveal--left { opacity: 0; transform: translateX(-30px); }
.js-ready .reveal--right { opacity: 0; transform: translateX(30px); }
.js-ready .reveal--scale { opacity: 0; transform: scale(0.95); }

/* Cards hidden by JS, revealed by ScrollTrigger */
.js-ready .service-card,
.js-ready .testimonial-card,
.js-ready .process-step { opacity: 0; transform: translateY(25px); }

/* --- Services --- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.service-card {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-lg);
  transition: all var(--duration-slow) var(--ease-out-expo);
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out-quart);
}

.service-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top, var(--color-accent-glow), transparent 70%);
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out-quart);
}

.service-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

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

.service-card__content { position: relative; z-index: 1; }

.service-card__icon {
  width: 44px; height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-lg);
  transition: border-color var(--duration-normal);
}

.service-card:hover .service-card__icon { border-color: var(--color-accent-dim); }

.service-card__icon svg { width: 20px; height: 20px; stroke: var(--color-accent); stroke-width: 1.5; fill: none; }

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.service-card__text { font-size: 0.85rem; line-height: 1.7; color: var(--color-text-secondary); }

/* --- Showcase (Horizontal Gallery) --- */
.showcase {
  position: relative;
  overflow: hidden;
}

.showcase__scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-lg);
}

.showcase__scroll-wrapper::-webkit-scrollbar { display: none; }

.showcase__track {
  display: inline-flex;
  gap: var(--space-lg);
  padding: 0 var(--space-xl);
}

@media (min-width: 1280px) {
  .showcase__track {
    padding: 0 calc((100vw - var(--container-max)) / 2 + var(--space-xl));
  }
}

.showcase-card {
  flex: 0 0 380px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--duration-slow) var(--ease-out-expo);
  cursor: pointer;
}

.showcase-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.showcase-card__image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.showcase-card:hover .showcase-card__image { transform: scale(1.03); }

.showcase-card__image-wrapper {
  overflow: hidden;
  position: relative;
}

.showcase-card__badge {
  position: absolute;
  top: var(--space-md); left: var(--space-md);
  z-index: 2;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.showcase-card__body { padding: var(--space-lg); }

.showcase-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.showcase-card__desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.showcase-card__meta {
  display: flex;
  gap: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.showcase-card__meta-item { display: flex; flex-direction: column; gap: 2px; }

.showcase-card__meta-label {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.showcase-card__meta-value {
  font-size: 0.85rem;
  color: var(--color-text-primary);
  font-weight: 500;
}

/* Showcase scroll controls */
.showcase__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-lg);
}

.showcase__dots {
  display: flex;
  gap: var(--space-sm);
}

.showcase__dot {
  width: 32px; height: 3px;
  background: var(--color-border);
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--duration-normal);
  border: none;
  padding: 0;
}

.showcase__dot.is-active {
  background: var(--color-accent);
  width: 48px;
}

.showcase__arrows {
  display: flex;
  gap: var(--space-sm);
}

.showcase__arrow {
  width: 44px; height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--duration-normal);
  background: none;
  font-size: 1.1rem;
}

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

/* --- Process --- */
.process__timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
  position: relative;
}

.process__timeline::before {
  content: '';
  position: absolute;
  top: 40px; left: 10%; right: 10%;
  height: 1px;
  background: var(--color-border);
}

.process-step {
  text-align: center;
  position: relative;
  padding-top: var(--space-3xl);
}

.process-step__marker {
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 40px;
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--color-accent);
  background: var(--color-bg);
  z-index: 2;
  transition: all var(--duration-normal) var(--ease-out-quart);
}

.process-step:hover .process-step__marker {
  background: var(--color-accent-dim);
  box-shadow: 0 0 20px var(--color-accent-glow);
}

.process-step__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
  color: var(--color-text-primary);
}

.process-step__desc {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* --- Testimonials --- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  position: relative;
  transition: all var(--duration-slow) var(--ease-out-expo);
}

.testimonial-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-2px);
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
}

.testimonial-card__star { width: 14px; height: 14px; fill: var(--color-accent); }

.testimonial-card__text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.testimonial-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-dim), var(--color-surface));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--color-accent);
}

.testimonial-card__name { font-size: 0.88rem; font-weight: 500; color: var(--color-text-primary); }
.testimonial-card__role { font-size: 0.75rem; color: var(--color-text-muted); margin-top: 2px; }

/* --- Final CTA --- */
.cta-section {
  position: relative;
  z-index: 1;
  padding: var(--space-4xl) 0;
  text-align: center;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(201, 169, 110, 0.06), transparent);
}

.cta-section__inner { position: relative; z-index: 1; }

.cta-section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: var(--space-lg);
  color: var(--color-text-primary);
}

.cta-section__subtitle {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
}

.cta-section__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.cta-section__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.cta-section__contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-muted);
  font-size: 0.85rem;
  transition: color var(--duration-fast);
}

.cta-section__contact-item:hover { color: var(--color-text-primary); }

.cta-section__contact-item svg {
  width: 18px; height: 18px;
  stroke: var(--color-accent);
  stroke-width: 1.5;
  fill: none;
}

/* --- Footer --- */
.footer {
  position: relative;
  z-index: 1;
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-top: var(--space-lg);
  max-width: 300px;
}

.footer__heading {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
}

.footer__links { display: flex; flex-direction: column; gap: var(--space-md); }

.footer__link {
  font-size: 0.86rem;
  color: var(--color-text-secondary);
  transition: color var(--duration-fast);
}

.footer__link:hover { color: var(--color-accent); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

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

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

.footer__legal a {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  transition: color var(--duration-fast);
}

.footer__legal a:hover { color: var(--color-text-secondary); }

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

  .showcase-card { flex: 0 0 320px; }

  .process__timeline { grid-template-columns: repeat(3, 1fr); row-gap: var(--space-2xl); }
  .process__timeline::before { display: none; }

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

  .trust__grid { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile-menu { display: flex; }

  .hero {
    padding-top: 65px;
    padding-bottom: 32px;
    min-height: 100svh;
    justify-content: flex-start;
    align-items: stretch;
  }

  /* Let the container act as a flex column so scroll can be pushed to bottom */
  .hero > .container {
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .hero__content { gap: 0; justify-content: flex-start; padding-top: var(--space-lg); flex: 0; }
  .hero__title { font-size: clamp(2rem, 7.5vw, 3rem); margin-bottom: var(--space-md); }
  .hero__label { margin-bottom: var(--space-md); }
  .hero__subtitle { font-size: 0.95rem; margin-bottom: var(--space-lg); line-height: 1.6; }

  .trust { margin-top: var(--space-lg); padding-top: var(--space-md); }

  /* Push scroll to bottom of hero */
  .hero__scroll { margin: auto auto 0; padding-top: 0; }

  .trust__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .trust__item { justify-content: center; }
  .trust__sep { display: none; }
  .trust__value { font-size: 1.1rem; }
  .trust__desc { font-size: 0.6rem; }

  .services__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }

  .process__timeline {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    max-width: 300px;
    margin: 0 auto;
  }

  .process-step { padding-top: 0; padding-left: var(--space-4xl); text-align: left; }
  .process-step__marker { top: 0; left: 0; transform: none; }

  .cta-section__contact { flex-direction: column; gap: var(--space-md); }

  .footer__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer__bottom { flex-direction: column; gap: var(--space-md); text-align: center; }

  .showcase-card { flex: 0 0 280px; }
  .showcase-card__image { height: 180px; }

  .hero__scroll { padding-top: var(--space-sm); }
  .hero__scroll-mouse { width: 22px; height: 34px; }
  .hero__scroll-text { font-size: 0.55rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-lg); }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .btn--primary { padding: 0.8rem 1.8rem; font-size: 0.8rem; }
}

/* --- Loading Screen (Video) --- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Desktop: centered box, not fullscreen */
.loader__video {
  display: block;
  width: auto;
  height: auto;
  max-width: 52%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 6px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 80px rgba(0,0,0,0.8);
}

/* Subtle dark vignette overlay */
.loader__video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at center, transparent 30%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Mobile: show full video, no cropping */
@media (max-width: 768px) {
  .loader__video {
    max-width: 100%;
    max-height: 100vh;
    width: 100%;
    border-radius: 0;
  }
}

/* Smooth scroll offset */
[id] { scroll-margin-top: 100px; }

/* Section elevated background */
.section--elevated {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
