/* ============================================================
   Shared page styles for Jazba Host — Replicate-inspired system.
   Cream canvas, orange hero band, dark code-story band, rounded
   cards, pill interactive elements.
   ============================================================ */

/* ---------- Page hero — secondary pages open on the hero's orange mesh ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(90% 80% at 78% 8%, var(--hero-glow) 0%, rgba(255, 106, 61, 0) 62%),
    radial-gradient(120% 70% at 50% 112%, var(--hero-pink) 0%, rgba(244, 168, 160, 0) 58%),
    var(--primary);
}
.page-hero-inner { position: relative; padding-top: 96px; padding-bottom: 96px; }
.page-hero .breadcrumb { color: var(--on-dark); opacity: 0.8; font-weight: 400; font-size: 13px; letter-spacing: 0.5px; }
.page-hero .breadcrumb a:hover { opacity: 1; }
.page-hero .display-xl { color: var(--on-dark); }
.page-hero .stripe-divider { background: var(--on-dark); }
.page-hero-lead { color: var(--on-dark); opacity: 0.9; margin-top: 24px; max-width: 640px; }

/* ---------- Home hero — full-bleed orange band with atmospheric mesh ---------- */
.home-hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  min-height: 82vh; display: flex; align-items: center;
  background:
    radial-gradient(90% 80% at 78% 8%, var(--hero-glow) 0%, rgba(255, 106, 61, 0) 62%),
    radial-gradient(120% 70% at 50% 112%, var(--hero-pink) 0%, rgba(244, 168, 160, 0) 58%),
    var(--primary);
}
.home-hero-inner { position: relative; padding-top: var(--band); padding-bottom: var(--band); width: 100%; }
.home-hero h1 { color: var(--on-dark); max-width: 1040px; }
.home-hero .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--r-full);
  border: 1px solid rgba(252,252,252,0.4); color: var(--on-dark);
  font-weight: 600; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase;
}
.home-hero .hero-lead { color: var(--on-dark); opacity: 0.92; max-width: 640px; margin-top: 32px; font-size: 21px; line-height: 1.55; }
.hero-actions { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; align-items: center; }
.hero-command {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 40px; padding: 10px 20px;
  background: var(--surface-dark); color: var(--on-dark);
  border-radius: var(--r-full);
  font-family: var(--font-mono); font-size: 14px; line-height: 1.43;
}
.hero-command .prompt { color: var(--hero-glow); }
.hero-scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: var(--on-dark); opacity: 0.75; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll .line { width: 1px; height: 40px; background: linear-gradient(var(--on-dark), transparent); }

/* ---------- Marquee of capabilities — mono rail on cream ---------- */
.marquee { background: var(--canvas); overflow: hidden; padding: 20px 0; border-bottom: 1px solid var(--hairline); }
.marquee-track { display: flex; gap: 40px; white-space: nowrap; width: max-content; }
.marquee-item {
  color: var(--muted); font-family: var(--font-mono); font-weight: 400; font-size: 14px;
  display: inline-flex; align-items: center; gap: 40px;
}
.marquee-item::after { content: '●'; color: var(--stone); font-size: 6px; }

/* ---------- Section head ---------- */
.section-head { margin-bottom: 48px; }

/* ---------- Service cards — white cards on cream ---------- */
.svc-card {
  background: var(--surface-card); border: 1px solid var(--hairline);
  border-radius: var(--r-md); overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
  transition: border-color .25s ease;
}
.svc-card:hover { border-color: var(--hairline-strong); }
.svc-card .card-photo { aspect-ratio: 16 / 10; border-radius: 0; }
.svc-card-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc-card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.svc-card-body .link-cta { margin-top: auto; padding-top: 12px; }
.svc-card .card-photo img { transition: transform .6s cubic-bezier(.22,1,.36,1); }
.svc-card:hover .card-photo img { transform: scale(1.05); }

/* ---------- Service mini-cards — six-up offering grid ---------- */
.svc-mini {
  background: var(--surface-card); border: 1px solid var(--hairline);
  border-radius: var(--r-md); padding: 24px;
  display: flex; flex-direction: column; gap: 10px; height: 100%;
  transition: border-color .25s ease;
}
.svc-mini:hover { border-color: var(--hairline-strong); }
.svc-mini .num { font-family: var(--font-mono); font-size: 13px; color: var(--muted-soft); }
.svc-mini .link-cta { margin-top: auto; padding-top: 12px; }

/* ---------- Featured work cards ---------- */
.work-card {
  background: var(--surface-card); border: 1px solid var(--hairline);
  border-radius: var(--r-md); overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
  transition: border-color .25s ease;
}
.work-card:hover { border-color: var(--hairline-strong); }
.work-photo { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-soft); }
.work-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.work-card:hover .work-photo img { transform: scale(1.05); }
.work-cat {
  position: absolute; bottom: 12px; left: 12px;
  padding: 4px 10px; border-radius: var(--r-full);
  background: var(--surface-card); color: var(--ink);
  font-weight: 500; font-size: 12px; line-height: 1.33;
}
.work-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.work-tech { display: flex; gap: 6px; flex-wrap: wrap; }
.tech-chip {
  font-family: var(--font-mono); font-size: 11px; line-height: 1.5;
  padding: 3px 10px; border-radius: var(--r-full);
  border: 1px solid var(--hairline); color: var(--muted); background: var(--canvas);
}
.work-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--hairline);
}
.work-metrics .metric-v { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.3px; color: var(--ink); }
.work-metrics .metric-l { font-size: 12px; line-height: 1.33; color: var(--muted); margin-top: 2px; }

/* ---------- Portfolio ---------- */
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter-pill {
  padding: 9px 18px; border-radius: var(--r-full);
  border: 1px solid var(--hairline); background: var(--surface-card);
  font-family: var(--font-body); font-weight: 600; font-size: 14px; line-height: 1;
  color: var(--muted); cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.filter-pill:hover { color: var(--ink); border-color: var(--hairline-strong); }
.filter-pill.active { background: var(--surface-dark); border-color: var(--surface-dark); color: var(--on-dark); }
.project-card .work-body { padding: 24px; }
.project-meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted-soft); }

/* ---------- Case study ---------- */
.cs-hero-img { border-radius: var(--r-lg); overflow: hidden; background: var(--surface-soft); aspect-ratio: 21 / 9; }
.cs-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.cs-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.cs-services { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.cs-services .badge { transition: border-color .2s ease; }
.cs-services .badge:hover { border-color: var(--hairline-strong); }
.next-card {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  background: var(--surface-card); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: 40px;
  transition: border-color .25s ease;
}
.next-card:hover { border-color: var(--hairline-strong); }
.next-card .link-cta { white-space: nowrap; }

/* ---------- Legal pages ---------- */
.legal-body { max-width: 820px; }
.legal-body h2 { margin: 40px 0 12px; }
.legal-body > div:first-child h2 { margin-top: 0; }
.legal-body p { color: var(--body); margin-top: 10px; }

/* ---------- Testimonial cards ---------- */
.quote-card {
  background: var(--surface-card); border: 1px solid var(--hairline);
  border-radius: var(--r-md); padding: 24px;
  display: flex; flex-direction: column; gap: 16px; height: 100%;
}
.quote-stars { color: var(--primary); font-size: 15px; letter-spacing: 3px; line-height: 1; }
.quote-card blockquote { font-size: 15px; line-height: 1.6; color: var(--body); }
.quote-footer { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--hairline); }
.quote-name { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.2px; color: var(--ink); }
.quote-role { font-size: 13px; color: var(--muted); margin-top: 3px; }
.quote-loc { font-size: 12px; color: var(--muted-soft); margin-top: 2px; }

/* ---------- FAQ accordion ---------- */
.faq-list { border-bottom: 1px solid var(--hairline); }
.faq-item { border-top: 1px solid var(--hairline); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; background: none; border: 0; cursor: pointer; text-align: left;
}
.faq-toggle {
  font-weight: 600; font-size: 24px; line-height: 1; color: var(--primary);
  transition: transform .25s ease;
}
.faq-toggle.open { transform: rotate(45deg); }
.faq-a { overflow: hidden; }
.faq-a p { padding-bottom: 22px; color: var(--muted); }

/* ---------- Capability cards — photo tiles in the bone band ---------- */
.cap-card { border-radius: var(--r-md); overflow: hidden; position: relative; min-height: 260px; display: flex; align-items: flex-end; }
.cap-card-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.cap-card:hover .cap-card-bg { transform: scale(1.06); }
.cap-card-veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(32,32,32,0.92) 0%, rgba(32,32,32,0.35) 55%, rgba(32,32,32,0.1) 100%); }
.cap-card-body { position: relative; padding: 24px; color: var(--on-dark); }
.cap-card-body p { color: var(--on-dark-soft); margin-top: 6px; }

/* ---------- Split feature (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-soft); border-radius: var(--r-md); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-body { max-width: 520px; }
.feature-list { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 16px; line-height: 1.5; color: var(--body); }
.feature-list .tick { flex: 0 0 auto; width: 22px; height: 22px; border-radius: var(--r-full); background: var(--surface-dark); color: var(--on-dark); display: grid; place-items: center; font-size: 12px; font-weight: 600; margin-top: 1px; }

/* ---------- Process rail — numbered dots joined by a line, on dark ---------- */
.process-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; text-align: center; }
.process-rail::before {
  content: ''; position: absolute; top: 36px; left: 12.5%; right: 12.5%;
  height: 1px; background: var(--divider-dark);
}
.process-node { position: relative; padding: 0 8px; }
.process-dot {
  position: relative; z-index: 1;
  width: 72px; height: 72px; margin: 0 auto 28px;
  border-radius: var(--r-full); background: var(--primary); color: var(--on-primary);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 28px;
  box-shadow: 0 0 0 12px var(--surface-dark);
}
.process-node h4 { color: var(--on-dark); }
.process-node p { color: var(--on-dark-soft); margin-top: 10px; max-width: 280px; margin-left: auto; margin-right: auto; }
.process-rail.rail-3 { grid-template-columns: repeat(3, 1fr); }
.process-rail.rail-3::before { left: 16.66%; right: 16.66%; }

/* ---------- Tool cards (service detail) ---------- */
.tool-card {
  background: var(--surface-card); border: 1px solid var(--hairline);
  border-radius: var(--r-md); padding: 24px;
  display: flex; flex-direction: column; gap: 8px; height: 100%;
}
.tool-name { font-family: var(--font-mono); font-weight: 500; font-size: 14px; color: var(--ink); }

/* ---------- Use-case chips (service detail) ---------- */
.usecase-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 860px; margin: 0 auto; }
.usecase-chip {
  padding: 10px 20px; border-radius: var(--r-full);
  background: var(--surface-card); border: 1px solid var(--hairline);
  font-weight: 500; font-size: 14px; line-height: 1; color: var(--ink);
}

/* ---------- Process steps (cream fallback, kept for other pages) ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--hairline); }
.process-cell { padding: 32px 24px 32px 0; border-right: 1px solid var(--hairline); }
.process-cell:last-child { border-right: 0; padding-right: 0; }
.process-num { font-family: var(--font-display); font-weight: 700; font-size: 40px; color: var(--surface-strong); line-height: 1; }
.process-cell h4 { margin: 16px 0 8px; }

/* ---------- Stat strip ---------- */
.stat-strip { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.stat-strip.band-dark { border-color: var(--divider-dark); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-cell { padding: 48px 24px; text-align: center; border-right: 1px solid var(--hairline); }
.band-dark .stat-cell { border-color: var(--divider-dark); }
.stat-cell:last-child { border-right: 0; }
.stat-value { color: var(--ink); }
.band-dark .stat-value { color: var(--on-dark); }
.stat-label { color: var(--muted); margin-top: 8px; }
.band-dark .stat-label { color: var(--on-dark-soft); }

/* ---------- Closing stripe — pre-footer CTA on the hero's orange mesh ---------- */
.closing-band {
  padding-top: var(--band); padding-bottom: var(--band); text-align: center;
  max-width: none;
  background:
    radial-gradient(90% 80% at 78% 8%, var(--hero-glow) 0%, rgba(255, 106, 61, 0) 62%),
    radial-gradient(120% 70% at 50% 112%, var(--hero-pink) 0%, rgba(244, 168, 160, 0) 58%),
    var(--primary);
}
.closing-band h2 { max-width: 900px; margin: 0 auto; color: var(--on-dark); }
.closing-band p { max-width: 560px; margin: 24px auto 0; color: var(--on-dark); opacity: 0.9; }
.closing-actions { display: flex; gap: 16px; margin-top: 40px; justify-content: center; flex-wrap: wrap; }

/* ---------- Quick-contact tiles ---------- */
.quick-card {
  background: var(--surface-card); border: 1px solid var(--hairline);
  border-radius: var(--r-md); padding: 24px;
  display: flex; flex-direction: column; gap: 8px; height: 100%;
  transition: border-color .25s ease;
}
.quick-card:hover { border-color: var(--hairline-strong); }
.quick-card .qk-label { font-family: var(--font-mono); font-size: 12px; color: var(--muted-soft); }
.quick-card .qk-value { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.3px; color: var(--ink); word-break: break-word; }

/* ---------- Manifesto — centered statement ---------- */
.manifesto { max-width: 860px; margin: 0 auto; text-align: center; }

/* ---------- Photo strip ---------- */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photo-strip-item { border-radius: var(--r-md); overflow: hidden; background: var(--surface-soft); aspect-ratio: 4 / 3; }
.photo-strip-item img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Service index rows (Services page) ---------- */
.svc-row {
  display: grid; grid-template-columns: 72px 1.15fr 1fr; gap: 40px;
  padding: 56px 0; border-top: 1px solid var(--hairline); align-items: center;
}
.svc-row:last-of-type { border-bottom: 1px solid var(--hairline); }
.svc-row-num { font-family: var(--font-mono); font-size: 14px; color: var(--muted-soft); padding-top: 6px; align-self: start; }
.svc-row-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 20px; }
.svc-row-media { border-radius: var(--r-md); overflow: hidden; background: var(--surface-soft); aspect-ratio: 16 / 10; }
.svc-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.svc-row-media:hover img { transform: scale(1.05); }

/* ---------- Hosting banner — dark inversion card ---------- */
.hosting-banner {
  background: var(--surface-dark); border-radius: var(--r-lg); padding: 48px;
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}

/* ---------- Office map embed ---------- */
.office-map { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Segmented pill control (billing toggle) ---------- */
.segment {
  display: inline-flex; gap: 2px;
  background: var(--surface-soft); border: 1px solid var(--hairline);
  border-radius: var(--r-full); padding: 4px;
}
.segment button {
  padding: 10px 20px; border: 0; border-radius: var(--r-full);
  font-family: var(--font-body); font-weight: 600; font-size: 14px; line-height: 1;
  background: transparent; color: var(--muted); cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.segment button.active { background: var(--surface-dark); color: var(--on-dark); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { background: var(--surface-card); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; transition: border-color .25s ease; }
.price-card:hover { border-color: var(--hairline-strong); }
.price-card.featured { background: var(--surface-dark); border-color: var(--surface-dark); position: relative; }
.price-card.featured .price-name,
.price-card.featured .price-amount .cur,
.price-card.featured .price-amount .num { color: var(--on-dark); }
.price-card.featured .price-tag,
.price-card.featured .price-amount .per,
.price-card.featured .price-features li { color: var(--on-dark-soft); }
.price-badge { position: absolute; top: 20px; right: 20px; background: var(--primary); color: var(--on-primary); font-weight: 600; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; padding: 5px 12px; border-radius: var(--r-full); }
.price-name { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.4px; color: var(--ink); }
.price-tag { color: var(--muted); font-weight: 400; font-size: 14px; margin-top: 4px; }
.price-amount { display: flex; align-items: flex-end; gap: 4px; margin: 24px 0; }
.price-amount .cur { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--ink); }
.price-amount .num { font-family: var(--font-display); font-weight: 700; font-size: 48px; line-height: 0.9; letter-spacing: -1px; color: var(--ink); }
.price-amount .per { font-weight: 400; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.price-features { display: flex; flex-direction: column; gap: 12px; margin: 8px 0 28px; flex: 1; }
.price-features li { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; color: var(--body); }
.price-features .tick { color: var(--success); font-weight: 600; }

/* ---------- Domain table ---------- */
.domain-table { width: 100%; border-collapse: collapse; }
.domain-table th, .domain-table td { text-align: left; padding: 18px 16px; border-bottom: 1px solid var(--hairline); }
.domain-table th { font-weight: 600; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.domain-table td { font-weight: 400; font-size: 16px; color: var(--body); }
.domain-table .tld { font-family: var(--font-mono); font-weight: 500; color: var(--ink); font-size: 16px; }
.domain-table .price-cell { font-weight: 600; color: var(--ink); }
.table-scroll { overflow-x: auto; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.office-card { background: var(--surface-card); border: 1px solid var(--hairline); border-radius: var(--r-md); overflow: hidden; }
.office-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-soft); }
.office-media img { width: 100%; height: 100%; object-fit: cover; }
.office-body { padding: 28px; }
.office-country { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.office-country h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.3px; color: var(--ink); }
.office-addr { color: var(--body); font-weight: 400; line-height: 1.6; margin-bottom: 20px; }
.office-rows { display: flex; flex-direction: column; gap: 0; }
.office-row { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--hairline); }
.office-row .rk { font-weight: 600; font-size: 13px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--muted); }
.office-row .rv { font-weight: 400; font-size: 15px; color: var(--ink); }
.office-row .rv a:hover { color: var(--primary); }

.form-card { background: var(--surface-card); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.form-success { background: rgba(43,154,102,0.1); border: 1px solid var(--success); color: var(--success); padding: 16px 20px; border-radius: var(--r-md); font-weight: 400; }

/* ---------- About ---------- */
.value-card { border-top: 3px solid var(--hairline-strong); padding-top: 24px; }
.value-card h4 { margin-bottom: 10px; }
.about-image-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-image-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; border-radius: var(--r-md); }
.about-image-grid .tall { grid-row: span 2; aspect-ratio: 3/5; }

/* ---------- Service detail ---------- */
.detail-highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 40px; }
.detail-highlights li { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 16px; color: var(--body); padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.detail-highlights .tick { flex: 0 0 auto; width: 22px; height: 22px; border-radius: var(--r-full); background: var(--surface-dark); color: var(--on-dark); display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.deliver-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.deliver-card { background: var(--surface-card); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 28px; }
.deliver-card .dnum { font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: 1px; color: var(--muted); }
.deliver-card h4 { margin: 12px 0 8px; }
.other-svc { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-family: var(--font-display); font-weight: 700; font-size: clamp(80px, 18vw, 180px); color: var(--surface-strong); line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .split, .contact-grid, .cs-cols { grid-template-columns: 1fr; gap: 40px; }
  .next-card { flex-direction: column; align-items: flex-start; }
  .split.reverse .split-media { order: 0; }
  .process-rail, .process-rail.rail-3 { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .process-rail::before { display: none; }
  .svc-row { grid-template-columns: 1fr; gap: 24px; padding: 48px 0; }
  .svc-row-media { order: -1; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-cell:nth-child(2) { border-right: 0; }
  .process-cell { border-bottom: 1px solid var(--hairline); }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2) { border-right: 0; }
  .price-grid, .deliver-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .home-hero { min-height: 0; }
  .home-hero-inner { padding-top: 96px; padding-bottom: 112px; }
  .detail-highlights { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .page-hero-inner { padding-top: 64px; padding-bottom: 64px; }
  .closing-band { padding-top: var(--section); padding-bottom: var(--section); }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-cell { border-right: 0; padding-right: 0; }
  .about-image-grid .tall { grid-row: auto; aspect-ratio: 4/5; }
  .process-rail, .process-rail.rail-3 { grid-template-columns: 1fr; }
  .home-hero .hero-lead { font-size: 18px; }
}

/* ============================================================
   TVDM addition — home services index rows.
   Row-list layout using the existing design tokens only:
   same fonts, colors, hairlines and pill/arrow language.
   ============================================================ */
.svc-index { border-top: 1px solid var(--hairline); }
.svc-index-row {
  display: grid;
  grid-template-columns: 48px minmax(220px, 300px) 1fr auto 44px;
  align-items: center; gap: 28px;
  padding: 26px 4px;
  border-bottom: 1px solid var(--hairline);
  transition: background .2s ease;
}
.svc-index-row:hover { background: var(--surface-card); }
.svc-index-row .n { font-family: var(--font-mono); font-size: 13px; color: var(--muted-soft); }
.svc-index-row .nm {
  font-weight: 600; font-size: 20px; line-height: 1.3; letter-spacing: -0.3px;
  color: var(--ink); transition: color .2s ease;
}
.svc-index-row:hover .nm { color: var(--primary); }
.svc-index-row .ds { font-size: 14px; line-height: 1.43; color: var(--muted); }
.svc-index-row .pr { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.svc-index-row .pr small {
  font-weight: 600; font-size: 10px; line-height: 1; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--muted-soft);
}
.svc-index-row .pr .amount {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  line-height: 1; letter-spacing: -0.4px; color: var(--ink);
}
.svc-index-row .pr .amount .per { font-family: var(--font-body); font-weight: 400; font-size: 12px; letter-spacing: 0; color: var(--muted); }
.svc-index-row .go {
  width: 44px; height: 44px; border-radius: var(--r-full);
  border: 1px solid var(--hairline); display: grid; place-items: center;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.svc-index-row .go svg {
  width: 18px; height: 18px; fill: none; stroke: var(--ink);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .2s ease;
}
.svc-index-row:hover .go { background: var(--surface-dark); border-color: var(--surface-dark); transform: translateX(4px); }
.svc-index-row:hover .go svg { stroke: var(--on-dark); }

@media (max-width: 900px) {
  .svc-index-row {
    grid-template-columns: 40px 1fr 44px;
    row-gap: 10px; padding: 22px 0;
  }
  .svc-index-row .n { grid-column: 1; grid-row: 1; }
  .svc-index-row .nm { grid-column: 2; grid-row: 1; font-size: 18px; }
  .svc-index-row .go { grid-column: 3; grid-row: 1 / span 2; }
  .svc-index-row .ds { grid-column: 2; grid-row: 2; }
  .svc-index-row .pr { grid-column: 2; grid-row: 3; flex-direction: row; align-items: baseline; gap: 8px; }
}

/* ---------- TVDM addition: intro statement + platform marquee ---------- */
.intro-statement {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(24px, 3vw, 40px); line-height: 1.25; letter-spacing: -0.5px;
  color: var(--ink); max-width: 980px;
}
.intro-statement .dim { color: var(--muted-soft); }
.txt-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 28px;
  font-weight: 600; font-size: 16px; color: var(--ink);
}
.txt-link svg {
  width: 18px; height: 18px; fill: none; stroke: var(--primary);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .2s ease;
}
.txt-link:hover svg { transform: translateX(4px); }
.marq-heading { margin-top: 72px; color: var(--muted); text-align: center; }
.brand-marquee {
  overflow: hidden; margin: 24px auto 0; max-width: 1080px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.brand-marquee .track {
  display: flex; gap: 12px; width: max-content;
  animation: tvdm-marq 32s linear infinite;
}
.brand-marquee:hover .track { animation-play-state: paused; }
.brand-marquee .chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border: 1px solid var(--hairline); border-radius: var(--r-full);
  background: var(--surface-card); font-weight: 500; font-size: 14px; line-height: 1;
  color: var(--ink); white-space: nowrap;
}
.brand-marquee .chip i { width: 8px; height: 8px; border-radius: var(--r-full); flex: 0 0 auto; }
@keyframes tvdm-marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .brand-marquee .track { animation: none; } }

/* ---------- TVDM addition: method steps (big numerals on dark) ---------- */
.method-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; }
.method-step .sn {
  font-family: var(--font-display); font-weight: 700;
  font-size: 56px; line-height: 1; letter-spacing: -1px;
  color: var(--hero-glow);
}
.method-step h3 { margin-top: 16px; }
.method-step p { margin-top: 10px; max-width: 300px; }
@media (max-width: 1024px) { .method-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .method-steps { grid-template-columns: 1fr; } }

/* ---------- TVDM addition: by-the-numbers panel ---------- */
.num-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; }
.num-cell .num-v {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 4.5vw, 56px); line-height: 1; letter-spacing: -1px;
  color: var(--ink);
}
.num-cell .num-v.accent { color: var(--primary); }
.num-cell .num-l { font-weight: 600; font-size: 16px; color: var(--ink); margin-top: 12px; }
.num-cell .num-s { font-size: 14px; line-height: 1.43; color: var(--muted); margin-top: 4px; }
@media (max-width: 1024px) { .num-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .num-grid { grid-template-columns: 1fr; } }

/* ---------- TVDM addition: case cards (photo bg + two metrics) ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: var(--surface-card); border: 1px solid var(--hairline);
  border-radius: var(--r-md); overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
  transition: border-color .25s ease;
}
.case-card:hover { border-color: var(--hairline-strong); }
.case-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-soft); }
.case-photo-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}
.case-card:hover .case-photo-bg { transform: scale(1.05); }
.case-photo .ind {
  position: absolute; bottom: 12px; left: 12px; z-index: 1;
  padding: 4px 10px; border-radius: var(--r-full);
  background: var(--surface-card); color: var(--ink);
  font-weight: 500; font-size: 12px; line-height: 1.33;
}
.case-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.case-metrics {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding-top: 16px; border-top: 1px solid var(--hairline);
}
.case-metrics b {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 26px; line-height: 1; letter-spacing: -0.5px; color: var(--ink);
}
.case-metrics .accent b { color: var(--primary); }
.case-metrics span { display: block; font-size: 12px; line-height: 1.33; color: var(--muted); margin-top: 4px; }
.case-body .link-cta { margin-top: auto; }
@media (max-width: 1024px) { .case-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .case-grid { grid-template-columns: 1fr; } }

/* ---------- TVDM addition: page-hero pill eyebrow (matches home hero) ---------- */
.page-hero .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--r-full);
  border: 1px solid rgba(252, 252, 252, 0.4); color: var(--on-dark);
  font-weight: 600; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase;
}

/* ---------- TVDM addition: audit request form + aside (contact) ---------- */
.audit-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: start; }
.form-badge {
  display: inline-block; background: var(--primary); color: var(--on-primary);
  font-weight: 600; font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--r-full); margin-bottom: 16px;
}
.form-sub { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 10px 0 24px; }
.needs { display: flex; flex-wrap: wrap; gap: 10px; }
.need-chip { position: relative; cursor: pointer; }
.need-chip input { position: absolute; opacity: 0; pointer-events: none; }
.need-chip span {
  display: inline-flex; padding: 10px 16px; border-radius: var(--r-full);
  border: 1px solid var(--hairline); background: var(--surface-card);
  font-weight: 500; font-size: 14px; line-height: 1; color: var(--body);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.need-chip:hover span { border-color: var(--hairline-strong); }
.need-chip input:checked + span { background: var(--surface-dark); border-color: var(--surface-dark); color: var(--on-dark); }
.need-chip input:focus-visible + span { box-shadow: 0 0 0 3px var(--ring-focus); }
.form-note { margin-top: 14px; font-size: 12px; line-height: 1.5; color: var(--muted-soft); text-align: center; }
.btn-arrow svg {
  width: 18px; height: 18px; fill: none; stroke: currentColor;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.contact-aside {
  background: var(--surface-card); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: 32px;
}
.next-steps { display: flex; flex-direction: column; gap: 22px; margin-top: 20px; }
.next-step { display: flex; gap: 14px; align-items: flex-start; }
.ns-num {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: var(--r-full);
  background: var(--primary); color: var(--on-primary);
  display: grid; place-items: center; font-weight: 600; font-size: 14px;
}
.ns-time {
  display: block; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.5px; text-transform: uppercase; color: var(--muted-soft);
}
.next-step b { display: block; font-weight: 600; font-size: 16px; color: var(--ink); margin-top: 3px; }
.next-step p { font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 4px; }
.contact-details { margin-top: 26px; border-top: 1px solid var(--hairline); padding-top: 10px; }
.contact-line { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 15px; color: var(--ink); }
.contact-line a:hover { color: var(--primary); }
.cl-ic {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: var(--r-full);
  border: 1px solid var(--hairline); display: grid; place-items: center; color: var(--ink);
}
.cl-ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-map { margin-top: 24px; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-soft); }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 1024px) { .audit-grid { grid-template-columns: 1fr; } }

/* ---------- TVDM addition: per-service pricing sections ---------- */
.svc-eyebrow { display: flex; align-items: center; gap: 14px; }
.svc-eyebrow .ic {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--primary); color: var(--on-primary);
  display: grid; place-items: center;
}
.svc-eyebrow .ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sub-label {
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  letter-spacing: -0.2px; color: var(--muted); margin: 44px 0 16px;
}
.price-grid.c4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pl-tag {
  align-self: flex-start; display: inline-block;
  background: var(--surface-soft); color: var(--muted);
  font-weight: 600; font-size: 12px; line-height: 1;
  padding: 6px 12px; border-radius: var(--r-full); margin-bottom: 16px;
}
.price-card.featured .pl-tag { background: var(--surface-dark-elevated); color: var(--on-dark-soft); }
.pr-price {
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
  font-family: var(--font-display); font-weight: 700; font-size: 36px;
  line-height: 1; letter-spacing: -0.8px; color: var(--ink); margin: 6px 0 22px;
}
.pr-price .pre { font-family: var(--font-body); font-weight: 500; font-size: 14px; letter-spacing: 0; color: var(--muted); }
.pr-price small { font-family: var(--font-body); font-weight: 400; font-size: 14px; letter-spacing: 0; color: var(--muted); }
.price-card.featured .pr-price { color: var(--on-dark); }
.price-card.featured .pr-price .pre,
.price-card.featured .pr-price small { color: var(--on-dark-soft); }
@media (max-width: 1024px) { .price-grid.c4 { grid-template-columns: 1fr; } }

/* ---------- TVDM addition: blog cards + single post body ---------- */
.case-body h3 a { transition: color .2s ease; }
.case-body h3 a:hover { color: var(--primary); }
.post-meta {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted-soft);
}
.post-body { max-width: 820px; }
.post-body > * + * { margin-top: 18px; }
.post-body h2 {
  font-family: var(--font-display); font-weight: 600; font-size: 26px;
  line-height: 1.25; letter-spacing: -0.4px; color: var(--ink);
  margin-top: 44px;
}
.post-body h3 { font-weight: 600; font-size: 19px; color: var(--ink); margin-top: 32px; }
.post-body p { font-size: 17px; line-height: 1.65; color: var(--body); }
.post-body ul, .post-body ol { padding-left: 22px; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { font-size: 17px; line-height: 1.65; color: var(--body); margin-top: 8px; }
.post-body a { color: var(--primary); font-weight: 500; }
.post-body a:hover { text-decoration: underline; }
.post-body blockquote {
  border-left: 3px solid var(--primary); padding: 4px 0 4px 20px;
  color: var(--muted); font-style: italic;
}
.post-nav { display: flex; justify-content: center; gap: 12px; margin-top: 48px; }
.post-nav .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 14px;
  border: 1px solid var(--hairline); border-radius: var(--r-full);
  font-weight: 600; font-size: 14px; color: var(--muted);
  transition: all .18s ease;
}
.post-nav .page-numbers.current,
.post-nav .page-numbers:hover { background: var(--surface-dark); border-color: var(--surface-dark); color: var(--on-dark); }

/* ---------- TVDM addition: uploaded custom logo sizing ---------- */
.custom-logo-link { display: flex; align-items: center; }
.custom-logo { height: 38px; width: auto; max-width: 220px; object-fit: contain; display: block; }
.footer .custom-logo { height: 44px; }

/* ---------- TVDM addition: method steps v2 — hairline top + badge number ---------- */
.method-steps .method-step { border-top: 1px solid var(--divider-dark); padding-top: 22px; }
.method-step .sn {
  width: 40px; height: 40px; border-radius: var(--r-full);
  background: rgba(252, 252, 252, 0.08);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  letter-spacing: 0; color: var(--on-dark);
}
.method-step h3 { margin-top: 20px; }

/* ---------- TVDM addition: by-the-numbers on dark ---------- */
.band-dark .num-cell { border-top: 1px solid var(--divider-dark); padding-top: 22px; }
.band-dark .num-cell .num-v { color: var(--on-dark); }
.band-dark .num-cell .num-v.accent { color: var(--hero-glow); }
.band-dark .num-cell .num-l { color: var(--on-dark); }
.band-dark .num-cell .num-s { color: var(--on-dark-soft); }

/* ---------- TVDM addition: floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: var(--r-full);
  background: #25D366; color: #ffffff;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(32, 32, 32, 0.28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(32, 32, 32, 0.34); }
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 768px) {
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-float svg { width: 27px; height: 27px; }
}
