/* =========================================================
   SampleHub — Design System
   ========================================================= */

:root {
  /* Colors */
  --bg: #0a0a0c;
  --bg-alt: #0d0d10;
  --surface: #131316;
  --surface-2: #17171b;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --gold-100: #faf1d9;
  --gold-300: #f0d18f;
  --gold-400: #e9c069;
  --gold-500: #dcaa46;
  --gold-600: #b9862a;
  --gold-grad: linear-gradient(135deg, var(--gold-300), var(--gold-600));

  --text: #f6f4ee;
  --text-muted: #a4a3ab;
  --text-dim: #6d6d76;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-card: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --header-h: 84px;
  --container-w: 1280px;

  font-size: 16px;
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@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, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  margin: 0;
}

ul, ol { list-style: none; margin: 0; padding: 0; }

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

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--gold-500); color: #14120a; }

:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gold-grad);
  z-index: 200;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(220, 170, 70, 0.6);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold-500);
  color: #14120a;
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (min-width: 1600px) {
  .container { max-width: 1400px; }
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.text-gold {
  background: linear-gradient(100deg, var(--gold-300) 30%, var(--gold-500) 45%, var(--gold-100) 50%, var(--gold-500) 55%, var(--gold-300) 70%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -50% 0; }
}

/* Cursor-follow spotlight on cards */
.spotlight {
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  isolation: isolate;
}
.spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(220px circle at var(--spot-x) var(--spot-y), rgba(233, 190, 95, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.spotlight:hover::after { opacity: 1; }
.spotlight > * { position: relative; z-index: 1; }

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }
.reveal:nth-child(5) { transition-delay: 0.24s; }
.reveal:nth-child(6) { transition-delay: 0.3s; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  cursor: pointer;
}
.btn .arrow { transition: transform 0.35s var(--ease); display: inline-block; position: relative; z-index: 1; }
.btn:hover .arrow { transform: translate(3px, -3px); }
.btn > span:not(.arrow), .btn { z-index: 0; }

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
}
.btn:hover::before { left: 130%; }

.btn-primary {
  background: var(--gold-grad);
  color: #17140a;
  box-shadow: 0 12px 30px -12px rgba(220, 170, 70, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgba(220, 170, 70, 0.7);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--gold-400);
  color: var(--gold-300);
  transform: translateY(-2px);
}

.btn-sm { padding: 11px 20px; font-size: 0.85rem; }
.btn-lg { padding: 19px 38px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), height 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.site-header.is-scrolled {
  height: 72px;
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.logo-word em {
  font-style: normal;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo-mark { display: block; height: 34px; width: auto; transition: transform 0.5s var(--ease), filter 0.5s var(--ease); }
.footer-brand .logo-mark { height: 30px; }
.logo:hover .logo-mark {
  transform: rotate(-8deg) scale(1.08);
  filter: drop-shadow(0 0 8px rgba(220, 170, 70, 0.55));
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  position: relative;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold-400);
  transition: width 0.3s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin-inline: auto;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(10, 10, 12, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  flex-direction: column;
  gap: 24px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  z-index: 99;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav .nav-link {
  display: block;
  padding: 12px 4px;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--border);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 96px);
  padding-bottom: 96px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 40%, transparent 90%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: float 12s ease-in-out infinite;
}
.hero-glow-1 {
  width: 520px; height: 520px;
  top: -160px; right: -120px;
  background: radial-gradient(circle, var(--gold-500), transparent 70%);
}
.hero-glow-2 {
  width: 420px; height: 420px;
  bottom: -200px; left: -140px;
  background: radial-gradient(circle, var(--gold-600), transparent 70%);
  opacity: 0.18;
  animation-duration: 16s;
  animation-direction: reverse;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-24px, 28px) scale(1.06); }
}
.hero-curve {
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  height: 55%;
  opacity: 0.8;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 26px;
}

.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 38px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
}

.hero-trust {
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* =========================================================
   Trust strip
   ========================================================= */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  padding-block: 28px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.trust-item svg { color: var(--gold-400); flex-shrink: 0; transition: transform 0.45s var(--ease); }
.trust-item:hover { color: var(--text); transform: translateY(-2px); }
.trust-item:hover svg { transform: scale(1.15) rotate(-6deg); }

/* =========================================================
   Sections
   ========================================================= */
.section { padding-block: 120px; position: relative; }
.section-alt { background: var(--bg-alt); }

.section-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 16px;
}
.section-label::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 1.5px;
  background: var(--gold-grad);
  transition: width 0.7s var(--ease) 0.15s;
}
.reveal.is-visible .section-label::before { width: 28px; }

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  max-width: 700px;
  margin-bottom: 56px;
}

/* =========================================================
   About
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}
.about-copy p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 18px;
}
.about-copy p:last-child { margin-bottom: 0; }

.about-visual { display: flex; align-items: center; justify-content: center; }
.orbit-card {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, rgba(220,170,70,0.08), transparent 70%);
}
.orbit-ring {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px dashed var(--border-strong);
  animation: spin 26s linear infinite;
}
.orbit-ring-2 {
  inset: 32%;
  border-style: solid;
  border-color: rgba(220,170,70,0.28);
  animation: spin 18s linear infinite reverse;
}
.orbit-dot {
  position: absolute;
  top: 14%;
  left: 50%;
  width: 12px; height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--gold-grad);
  box-shadow: 0 0 24px 4px rgba(220,170,70,0.5);
}
@keyframes spin { to { transform: rotate(360deg); } }

.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.value-num {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.value-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.value-card p { color: var(--text-muted); font-size: 0.95rem; }

/* =========================================================
   Services
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(220,170,70,0.08), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(220,170,70,0.35);
  box-shadow: var(--shadow-card);
}
.service-card:hover::before { opacity: 1; }
.service-num {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: 18px;
  position: relative;
}
.service-card h3 { font-size: 1.22rem; margin-bottom: 12px; position: relative; }
.service-card > p { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 20px; position: relative; }
.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
}
.service-card ul li {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.service-card-featured {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border-color: rgba(220, 170, 70, 0.28);
}
.service-featured-main { flex: 1 1 320px; position: relative; z-index: 1; }
.service-featured-main h3 { margin-bottom: 10px; }
.service-featured-main p { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 0; }
.service-card-featured > ul {
  flex: 1 1 280px;
  max-width: 340px;
}

.services-cta { text-align: center; }

/* =========================================================
   Process
   ========================================================= */
.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-line {
  position: absolute;
  top: 22px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong) 15%, var(--border-strong) 85%, transparent);
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.process-step:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.process-num {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #17140a;
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 20px;
}
.process-num::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(220, 170, 70, 0.45);
  animation: pulse-ring 2.8s var(--ease) infinite;
}
.process-step:nth-child(3) .process-num::after { animation-delay: 0.3s; }
.process-step:nth-child(4) .process-num::after { animation-delay: 0.6s; }
.process-step:nth-child(5) .process-num::after { animation-delay: 0.9s; }
@keyframes pulse-ring {
  0% { transform: scale(0.85); opacity: 0.9; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.process-step p { color: var(--text-muted); font-size: 0.94rem; }

/* =========================================================
   Why SampleHub
   ========================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-block {
  padding: 8px 4px;
  transition: transform 0.4s var(--ease);
}
.feature-block:hover { transform: translateY(-4px); }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--gold-400);
  margin-bottom: 22px;
}
.feature-block h3 { font-size: 1.08rem; margin-bottom: 10px; }
.feature-block p { color: var(--text-muted); font-size: 0.94rem; }

/* =========================================================
   Metrics
   ========================================================= */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.metric-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.metric-visual {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 44px;
  margin-bottom: 22px;
}
.metric-visual span {
  flex: 1;
  background: var(--gold-grad);
  border-radius: 3px;
  opacity: 0.85;
  animation: rise 2.4s var(--ease) infinite alternate;
}
.metric-visual span:nth-child(1) { height: 40%; animation-delay: 0s; }
.metric-visual span:nth-child(2) { height: 70%; animation-delay: 0.15s; }
.metric-visual span:nth-child(3) { height: 55%; animation-delay: 0.3s; }
.metric-visual span:nth-child(4) { height: 90%; animation-delay: 0.45s; }
@keyframes rise {
  from { transform: scaleY(0.75); opacity: 0.6; }
  to { transform: scaleY(1); opacity: 1; }
}
.metric-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.metric-card p { color: var(--text-muted); font-size: 0.92rem; }

/* =========================================================
   Testimonials
   ========================================================= */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.testimonial-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.testimonial-card-alt {
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border-color: rgba(220,170,70,0.22);
  margin-top: -16px;
}
.stars {
  color: var(--gold-400);
  letter-spacing: 3px;
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.stars span {
  display: inline-block;
  animation: twinkle 2.6s ease-in-out infinite;
}
.stars span:nth-child(1) { animation-delay: 0s; }
.stars span:nth-child(2) { animation-delay: 0.12s; }
.stars span:nth-child(3) { animation-delay: 0.24s; }
.stars span:nth-child(4) { animation-delay: 0.36s; }
.stars span:nth-child(5) { animation-delay: 0.48s; }
@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.9); }
}
.testimonial-quote {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}
.testimonial-card footer {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 2px;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.testimonial-avatar {
  grid-row: 1 / 3;
  grid-column: 1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #17140a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
}
.testimonial-name { grid-column: 2; font-weight: 600; font-size: 0.94rem; }
.testimonial-role { grid-column: 2; color: var(--text-dim); font-size: 0.84rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { max-width: 820px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 600;
  cursor: pointer;
}
.faq-question:hover { color: var(--gold-300); }
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--gold-400);
  top: 50%; left: 50%;
  transition: transform 0.35s var(--ease);
}
.faq-icon::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height 0.4s var(--ease);
}
.faq-answer p {
  color: var(--text-muted);
  padding: 0 4px 26px;
  max-width: 680px;
}

/* =========================================================
   Final CTA
   ========================================================= */
.final-cta {
  position: relative;
  overflow: hidden;
  padding-block: 130px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
}
.final-cta-bg { position: absolute; inset: 0; z-index: 0; }
.final-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 700px; height: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(220,170,70,0.22), transparent 65%);
  filter: blur(20px);
}
.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto;
}
.final-cta h2 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin-bottom: 20px;
}
.final-cta p {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 36px;
}
.final-cta-note {
  margin-top: 20px;
  margin-bottom: 0;
  font-size: 0.86rem;
  color: var(--text-dim);
}

/* =========================================================
   Contact
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
}
.contact-info > p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 36px;
  max-width: 380px;
}
.contact-info dl div {
  padding-block: 18px;
  border-top: 1px solid var(--border);
}
.contact-info dl div:last-child { border-bottom: 1px solid var(--border); }
.contact-info dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.contact-info dd a {
  font-size: 1.1rem;
  font-weight: 600;
  transition: color 0.25s var(--ease);
}
.contact-info dd a:hover { color: var(--gold-400); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-400);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
}
.form-row input, .form-row textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 0.96rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.form-row input:focus, .form-row textarea:focus {
  border-color: var(--gold-400);
  background: rgba(255,255,255,0.02);
  outline: none;
}
.form-row textarea { resize: vertical; min-height: 110px; font-family: inherit; }

.form-status {
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.4em;
  color: var(--gold-300);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  position: relative;
  padding-top: 76px;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220, 170, 70, 0.55), transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-tagline {
  color: var(--text-muted);
  margin-top: 18px;
  max-width: 300px;
  font-size: 0.95rem;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.footer-social a:hover {
  border-color: var(--gold-400);
  color: #17140a;
  background: var(--gold-grad);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 22px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.footer-col a:hover { color: var(--gold-300); padding-left: 4px; }
.footer-col-contact ul { margin-bottom: 24px; }
.footer-col-contact li:first-child a { word-break: break-all; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-block: 24px;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { transition: color 0.25s var(--ease); }
.footer-legal a:hover { color: var(--gold-300); }

.footer-partner a { color: var(--text-dim); transition: color 0.25s var(--ease); }
.footer-partner a:hover { color: var(--gold-300); }

/* =========================================================
   Free Audit Popup
   ========================================================= */
.audit-popup {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
}
.audit-popup.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.4s var(--ease);
}
.audit-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 8, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.audit-popup-panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(220, 170, 70, 0.08);
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}
.audit-popup.is-open .audit-popup-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
  transition-delay: 0.08s;
}
.audit-popup-panel h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.audit-popup-sub {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 24px;
}
.audit-popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}
.audit-popup-close:hover {
  border-color: var(--gold-400);
  color: #17140a;
  background: var(--gold-grad);
  transform: rotate(90deg);
}
.audit-popup-form { padding: 0; border: none; background: none; gap: 16px; }

/* =========================================================
   Responsive — Tablet (≤1024px)
   ========================================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 24px; }
  .process-line { display: none; }
  .value-cards { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { order: -1; max-width: 280px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}

/* =========================================================
   Responsive — Tablet/Mobile nav breakpoint (≤880px)
   ========================================================= */
@media (max-width: 880px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: flex; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card-alt { margin-top: 0; }
}

/* =========================================================
   Responsive — Mobile (≤640px)
   ========================================================= */
@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .section { padding-block: 84px; }
  .hero { padding-top: calc(var(--header-h) + 56px); padding-bottom: 64px; }
  .section-title { margin-bottom: 40px; }
  .services-grid, .feature-grid, .metrics-grid, .process-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .trust-strip-inner { justify-content: flex-start; gap: 24px 32px; }
}
