/* ===== Karside — premium independent car-buying advisory ===== */

:root {
  --bg: #0a0c10;
  --bg-alt: #0f1216;
  --surface: #14171d;
  --surface-2: #191d24;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);

  --text: #f3f1ec;
  --text-dim: #b7bac1;
  --text-faint: #7b7f88;

  --gold: #c9a24b;
  --gold-bright: #e2bc6a;
  --gold-dim: rgba(201,162,75,0.14);

  --green: #3ecf8e;
  --amber: #e0a63c;
  --red: #e05a4c;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #12130f;
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 500; }
h1 em { font-style: italic; color: var(--gold-bright); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--text-dim); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.8em;
}

.section-lead {
  max-width: 640px;
  font-size: 1.08rem;
  margin-bottom: 2.6rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #17130a;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--border-strong);
}
.btn-ghost:hover { text-decoration-color: var(--gold); color: var(--gold-bright); }
.btn-large { padding: 16px 34px; font-size: 1.02rem; }
.btn-small { padding: 9px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn-primary:hover, .btn-secondary:hover { transform: none; }
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,12,16,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-right: auto;
}

.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--gold-bright); }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 24px;
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  padding: 12px 0;
  font-size: 1.02rem;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: 14px; }
.mobile-menu.is-open { display: flex; }

@media (max-width: 860px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 560px;
  background: radial-gradient(ellipse at center, rgba(201,162,75,0.16), transparent 70%);
  pointer-events: none;
}
.hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to right, transparent, black 40%);
  mask-image: linear-gradient(to right, transparent, black 40%);
}
@media (max-width: 900px) {
  .hero-photo { display: none; }
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.hero-sub { font-size: 1.18rem; max-width: 620px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 34px 0 40px; }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-faint);
}
.trust-strip li { display: flex; align-items: center; gap: 8px; }
.trust-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

/* ===== Banner quote ===== */
.banner-quote {
  position: relative;
  padding: 90px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.banner-quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(10,12,16,0.82), rgba(10,12,16,0.82));
}
.banner-quote .container { position: relative; }
.banner-quote-text {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  text-align: center;
  color: var(--gold-bright);
  max-width: 760px;
  margin: 0 auto;
}

/* ===== Service picker ===== */
.service-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.service-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.service-card-featured {
  border-color: rgba(201,162,75,0.4);
  background: linear-gradient(180deg, rgba(201,162,75,0.08), var(--surface) 40%);
}
.featured-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--gold);
  color: #17130a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.service-tag {
  font-size: 0.78rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.service-card h3 {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 8px 0 10px;
  color: var(--gold-bright);
}
.service-question {
  font-family: var(--serif);
  font-style: italic;
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.service-desc { flex-grow: 1; font-size: 0.96rem; }
.verdict-mini { display: flex; gap: 6px; margin-bottom: 16px; }
.v-dot { width: 10px; height: 10px; border-radius: 50%; }
.v-green { background: var(--green); }
.v-amber { background: var(--amber); }
.v-red { background: var(--red); }

.service-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 6px 0 20px;
}
.price { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--text); white-space: nowrap; }
.price-unit { font-size: 0.82rem; color: var(--text-faint); }

@media (max-width: 900px) {
  .service-picker { grid-template-columns: 1fr; }
}

/* ===== Detail blocks ===== */
.detail-block {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.detail-block:first-of-type { border-top: none; padding-top: 8px; }
.detail-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 6px;
}
.detail-head h3 { margin: 0; color: var(--gold-bright); }
.detail-price {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--text-faint);
}
.detail-flow { font-style: italic; color: var(--text-faint); max-width: 640px; }
.detail-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 28px;
}
.detail-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.96rem;
  color: var(--text-dim);
}
.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.detail-turnaround {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--text-faint);
}
@media (max-width: 700px) {
  .detail-list { grid-template-columns: 1fr; }
}

/* ===== Timeline ===== */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 1px solid var(--border);
  max-width: 720px;
}
.timeline-item {
  position: relative;
  display: flex;
  gap: 24px;
  padding: 0 0 40px 32px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-num {
  position: absolute;
  left: -20px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--gold-bright);
  font-family: var(--serif);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.timeline-item h3 { margin-bottom: 4px; font-size: 1.15rem; }
.timeline-item p { margin: 0; font-size: 0.95rem; }

/* ===== Founder ===== */
.founder-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
}
.founder-visual { display: flex; justify-content: center; }
.founder-photo {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 6px var(--gold-dim), 0 20px 40px rgba(0,0,0,0.4);
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}
.founder-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.97rem;
  color: var(--text-dim);
}
.founder-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
@media (max-width: 800px) {
  .founder-grid { grid-template-columns: 1fr; text-align: left; }
  .founder-visual { order: -1; }
  .founder-photo { width: 160px; height: 160px; }
}

/* ===== K-SCORE callout (inside VERIFICA detail block) ===== */
.kscore-callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 20px 0;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid rgba(201,162,75,0.35);
  border-radius: var(--radius-sm);
}
.kscore-callout-tag {
  flex-shrink: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: #17130a;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  padding: 6px 12px;
  border-radius: 999px;
}
.kscore-callout p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-dim);
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
}
.price-card-featured {
  border-color: rgba(201,162,75,0.4);
  background: linear-gradient(180deg, rgba(201,162,75,0.08), var(--surface) 40%);
}
.price-card h3 {
  font-family: var(--sans);
  font-weight: 800;
  color: var(--gold-bright);
  margin-bottom: 14px;
}
.price-big {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.price-big span { font-family: var(--sans); font-size: 0.9rem; color: var(--text-faint); display: block; margin-top: 4px; }
.price-for { font-size: 0.9rem; margin-bottom: 22px; min-height: 44px; }
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ===== FAQ ===== */
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--sans);
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}
.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--gold);
  border-radius: 2px;
}
.faq-icon::before { width: 100%; height: 2px; top: 8px; left: 0; }
.faq-icon::after { width: 2px; height: 100%; top: 0; left: 8px; transition: transform 0.25s ease; }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: rotate(90deg); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.3s ease;
}
.faq-answer > p { overflow: hidden; margin: 0 0 20px; font-size: 0.97rem; min-height: 0; }

@media (prefers-reduced-motion: reduce) {
  .faq-answer { transition: none; }
}

/* ===== CTA final ===== */
.cta-final {
  position: relative;
  padding: 110px 0;
  text-align: center;
  overflow: hidden;
  background-color: var(--bg-alt);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: 1px solid var(--border);
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(15,18,22,0.88), rgba(10,12,16,0.94));
}
.cta-glow {
  position: absolute;
  bottom: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 560px;
  background: radial-gradient(ellipse at center, rgba(201,162,75,0.14), transparent 70%);
  pointer-events: none;
}
.cta-final-inner { position: relative; max-width: 680px; margin: 0 auto; }
.cta-final-sub { font-size: 1.08rem; }
.cta-final .hero-actions { justify-content: center; }

/* ===== Footer ===== */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}
.wordmark-footer {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}
.footer-brand p { margin-top: 6px; font-size: 0.9rem; }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a { color: var(--text-faint); transition: color 0.2s ease; }
.footer-social a:hover { color: var(--gold-bright); }
.footer-social svg { width: 20px; height: 20px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 0.92rem; color: var(--text-dim); }
.footer-nav a:hover { color: var(--gold-bright); }
.footer-meta p { margin: 0 0 8px; font-size: 0.88rem; color: var(--text-faint); }
.footer-meta a:hover { color: var(--gold-bright); }
.footer-copy { margin-top: 16px !important; }

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
}

/* ===== Reveal-on-scroll (progressive enhancement) ===== */
.reveal {
  opacity: 1;
  transform: none;
}
.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
