/* ===================================================================
   Komputer Expert
   Calm, Apple-clean, premium. Pure-white architecture, near-black type,
   one warm brick-red signature. Desktop = premium (video hero);
   mobile = fast & direct (static hero, sticky bar).
   =================================================================== */

:root {
  /* palette — OKLCH */
  --bg:           oklch(1 0 0);
  --surface:      oklch(0.974 0.005 60);
  --surface-2:    oklch(0.955 0.007 60);
  --ink:          oklch(0.21 0.015 45);
  --muted:        oklch(0.47 0.02 45);
  --border:       oklch(0.91 0.006 60);
  --primary:      oklch(0.53 0.16 34);
  --primary-strong: oklch(0.47 0.17 33);
  --primary-ink:  oklch(0.45 0.17 32);
  --primary-weak: oklch(0.96 0.03 40);
  --gold:         oklch(0.80 0.13 78);
  --ink-bg:       oklch(0.18 0.012 45);
  --on-dark:      oklch(0.97 0.004 60);
  --on-dark-muted: oklch(0.74 0.01 50);

  /* type */
  --font: "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* spacing / shape */
  --maxw: 1160px;
  --maxw-narrow: 760px;
  --header-h: 70px;
  --r: 14px;
  --r-sm: 10px;
  --shadow: 0 18px 50px -20px oklch(0.21 0.015 45 / 0.28);
  --shadow-sm: 0 2px 10px -4px oklch(0.21 0.015 45 / 0.18);

  /* z-scale */
  --z-sticky: 50;
  --z-header: 100;

  /* easing */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
strong { font-weight: 700; }

.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i path { fill: inherit; }
/* phone glyph is a filled path */
.header-phone .i path, .btn .i path, .sticky-call .i path { fill: currentColor; stroke: none; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

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

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 620px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 14px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn .i { width: 1.05em; height: 1.05em; }
.btn-sm { padding: 10px 18px; font-size: 0.94rem; }
.btn-lg { padding: 17px 30px; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: var(--on-dark); box-shadow: 0 10px 24px -12px oklch(0.53 0.16 34 / 0.9); }
.btn-primary:hover { background: var(--primary-strong); transform: translateY(-2px); box-shadow: 0 16px 30px -14px oklch(0.53 0.16 34 / 0.95); }
.btn-quiet { background: oklch(1 0 0 / 0.08); color: var(--on-dark); border-color: oklch(1 0 0 / 0.35); }
.btn-quiet:hover { background: oklch(1 0 0 / 0.16); transform: translateY(-2px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header); height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}
.site-header.scrolled {
  background: oklch(1 0 0 / 0.82); backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.logo { display: inline-flex; align-items: center; }
.logo-img {
  display: block; height: 22px; width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.3s var(--ease);
}
.site-header.scrolled .logo-img { filter: none; }
.logo-light .logo-img { filter: brightness(0) invert(1); }

.main-nav { display: flex; gap: 30px; }
.main-nav a { color: var(--on-dark-muted); font-weight: 500; font-size: 0.96rem; transition: color 0.2s; }
.site-header.scrolled .main-nav a { color: var(--muted); }
.main-nav a:hover { color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark); font-weight: 600; font-size: 0.96rem; }
.site-header.scrolled .header-phone { color: var(--ink); }
.header-phone .i { width: 17px; height: 17px; color: var(--primary); }
.header-phone:hover { color: var(--primary); }

/* ---------- hero (dark anchor 1) ---------- */
.hero {
  position: relative; min-height: clamp(620px, 88vh, 900px); display: flex; align-items: center;
  padding: calc(var(--header-h) + 56px) 0 72px; overflow: hidden; background: var(--ink-bg);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { opacity: 0; transition: opacity 0.9s var(--ease); }
.hero-video.is-playing { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, oklch(0.18 0.012 45 / 0.93) 0%, oklch(0.18 0.012 45 / 0.86) 38%, oklch(0.18 0.012 45 / 0.5) 64%, oklch(0.18 0.012 45 / 0.18) 86%),
    linear-gradient(180deg, oklch(0.18 0.012 45 / 0.3) 0%, transparent 30%, transparent 70%, oklch(0.18 0.012 45 / 0.55) 100%),
    radial-gradient(70% 80% at 15% 25%, oklch(0.53 0.16 34 / 0.20), transparent 70%);
}
.hero .container { max-width: 1300px; }
.hero-content { position: relative; z-index: 2; max-width: 800px; }

.hero-kicker { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 22px; color: var(--on-dark-muted); font-size: 0.96rem; }
.kicker-badge {
  display: inline-block; background: var(--primary); color: #fff; font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.01em; padding: 6px 13px; border-radius: 999px;
}
.hero-title {
  color: var(--on-dark); font-weight: 800; letter-spacing: -0.035em;
  font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.06; margin-bottom: 22px; max-width: 19ch;
}
.hero-sub { color: var(--on-dark); opacity: 0.92; font-size: clamp(1.08rem, 1.8vw, 1.3rem); line-height: 1.55; max-width: 56ch; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--on-dark-muted); font-size: 0.96rem; }
.hero-trust strong { color: var(--on-dark); }
.stars { color: var(--gold); letter-spacing: 2px; }
.trust-sep { width: 1px; height: 15px; background: oklch(1 0 0 / 0.25); }

/* ---------- trust strip (slim) ---------- */
.trustline { border-bottom: 1px solid var(--border); background: var(--bg); }
.trustline-inner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 14px 22px; padding: 20px 24px; color: var(--muted); font-size: 0.95rem; font-weight: 500;
}
.trustline .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--primary); opacity: 0.6; }

/* ---------- split (services) ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.split-lead { position: sticky; top: calc(var(--header-h) + 28px); }
.split-lead h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -0.025em; }
.split-lead p { color: var(--muted); font-size: 1.1rem; margin-bottom: 22px; }

.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--primary-ink); font-weight: 600; }
.text-link .i { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.text-link:hover .i { transform: translateX(4px); }
.text-link-inline { color: var(--primary-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

.fix-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.fix-list li { padding: 26px 0; border-top: 1px solid var(--border); }
.fix-list li:nth-child(-n+2) { border-top: none; }
.fix-icon { width: 28px; height: 28px; margin-bottom: 14px; stroke: var(--primary); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fix-list h3 { font-size: 1.18rem; margin-bottom: 6px; }
.fix-list p { color: var(--muted); font-size: 0.98rem; margin: 0; }

/* ---------- how it works (connected numbered sequence) ---------- */
.steps {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 36px); counter-reset: none;
}
.steps::before {
  content: ""; position: absolute; top: 22px; left: calc(12.5% + 22px); right: calc(12.5% + 22px);
  height: 2px; background: var(--border); z-index: 0;
}
.step { position: relative; z-index: 1; padding-top: 0; text-align: center; }
.step-n {
  display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 18px;
  font-weight: 800; font-size: 1.05rem; color: #fff; background: var(--primary);
  border-radius: 50%; box-shadow: 0 8px 18px -8px oklch(0.53 0.16 34 / 0.6);
}
.step h3 { font-size: 1.14rem; margin-bottom: 7px; }
.step p { color: var(--muted); font-size: 0.97rem; margin: 0 auto; max-width: 22ch; }

/* ---------- reviews (pull-quotes) ---------- */
.reviews-head { text-align: center; margin-bottom: clamp(36px, 4vw, 56px); }
.reviews-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.reviews-rating { color: var(--muted); font-weight: 500; margin: 0; }
.reviews-rating .stars { font-size: 1.05rem; }

.review-feature {
  position: relative; margin: 0 auto clamp(28px, 4vw, 44px); max-width: 880px; text-align: left;
  background: var(--surface); border-radius: var(--r);
  padding: clamp(40px, 6vw, 60px) clamp(28px, 6vw, 68px);
}
.review-feature::before {
  content: "\201C"; position: absolute; top: 6px; left: clamp(22px, 4vw, 40px);
  font-family: Georgia, "Times New Roman", serif; font-size: 5.5rem; font-weight: 700;
  color: var(--primary); opacity: 0.16; line-height: 1; pointer-events: none;
}
.review-feature blockquote {
  position: relative; z-index: 1; margin: 0 0 18px; font-size: clamp(1.4rem, 3vw, 2.05rem);
  line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance;
}
.review-feature figcaption, .review-small figcaption { position: relative; z-index: 1; color: var(--muted); font-size: 0.96rem; }
.r-name { color: var(--ink); font-weight: 700; }

.review-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); max-width: 920px; margin: 0 auto; }
.review-small { margin: 0; padding-top: 22px; border-top: 1px solid var(--border); }
.review-small blockquote { margin: 0 0 12px; font-size: 1.12rem; line-height: 1.5; color: var(--ink); }

/* ---------- pricing (table) ---------- */
.price-table { border-top: 1px solid var(--border); }
.price-row {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name val" "meta val";
  gap: 2px 16px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--border);
}
.price-name { grid-area: name; font-weight: 600; font-size: 1.1rem; }
.price-meta { grid-area: meta; color: var(--muted); font-size: 0.92rem; }
.price-val { grid-area: val; font-weight: 700; font-size: 1.2rem; color: var(--primary-ink); font-variant-numeric: tabular-nums; }
.pricing-foot { text-align: center; margin: 28px 0 0; color: var(--muted); }

/* ---------- guarantee (the spine) ---------- */
.guarantee { background: var(--primary-weak); }
.guarantee-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.guarantee-lead { color: var(--primary-ink); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 14px; }
.guarantee-head { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.03em; line-height: 1.04; margin-bottom: 20px; }
.guarantee-body { color: var(--ink); opacity: 0.85; font-size: 1.15rem; max-width: 52ch; margin: 0 auto 26px; }
.guarantee-list { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; margin-bottom: 22px; }
.guarantee-list li { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--ink); }
.check { color: var(--primary); width: 20px; height: 20px; }
.guarantee-fine { color: var(--muted); font-size: 0.92rem; max-width: 50ch; margin: 0 auto; }

/* ---------- faq ---------- */
.faq { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer; list-style: none; font-weight: 600; font-size: 1.12rem; padding: 22px 44px 22px 0;
  position: relative; transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary);
  transform: translateY(-65%) rotate(45deg); transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-35%) rotate(-135deg); }
.faq-item summary:hover { color: var(--primary-ink); }
.faq-item p { color: var(--muted); margin: 0 0 22px; max-width: 64ch; }

/* ---------- quote (dark anchor 2) ---------- */
.quote { background: var(--ink-bg); }
.quote-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.quote-copy h2 { color: var(--on-dark); font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -0.025em; }
.quote-copy > p { color: var(--on-dark-muted); font-size: 1.12rem; max-width: 46ch; }
.quote-points { margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.quote-points li { display: flex; align-items: center; gap: 11px; color: var(--on-dark); font-weight: 500; }
.quote-points .check { color: var(--gold); }
.quote-or { color: var(--on-dark-muted); margin: 0; }
.quote-call { color: var(--on-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--primary); }
.quote-call:hover { color: var(--gold); }

.quote-form { background: var(--bg); border-radius: var(--r); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 7px; }
.field .optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font: inherit; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--r-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px oklch(0.53 0.16 34 / 0.15);
}
.field textarea { resize: vertical; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.form-reassure { text-align: center; font-size: 0.85rem; color: var(--muted); margin: 12px 0 0; }
.form-status { text-align: center; font-weight: 600; margin: 10px 0 0; }
.form-status.success { color: var(--primary-ink); }
.form-status.error { color: oklch(0.5 0.18 25); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-bg); color: var(--on-dark-muted); padding-top: clamp(48px, 6vw, 72px); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 32px; padding-bottom: 44px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { max-width: 260px; font-size: 0.96rem; margin: 0; }
.footer-col h4 { color: var(--on-dark); font-size: 0.98rem; margin-bottom: 14px; font-weight: 600; }
.footer-col a { display: block; color: var(--on-dark-muted); padding: 5px 0; font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-area { display: block; margin-top: 8px; font-size: 0.9rem; opacity: 0.8; }
.footer-bottom { border-top: 1px solid oklch(1 0 0 / 0.1); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 0.85rem; }

/* ---------- mobile sticky bar ---------- */
.sticky-bar {
  position: fixed; inset: auto 0 0 0; z-index: var(--z-sticky); display: none; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: oklch(0.18 0.012 45 / 0.95); backdrop-filter: blur(10px);
  box-shadow: 0 -6px 24px -8px oklch(0.18 0.012 45 / 0.6);
  transform: translateY(110%); transition: transform 0.35s var(--ease);
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-call, .sticky-quote { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-weight: 600; border-radius: 999px; padding: 14px 12px; }
.sticky-call { flex: 0 0 32%; background: oklch(1 0 0 / 0.12); color: var(--on-dark); }
.sticky-call .i { width: 18px; height: 18px; }
.sticky-quote { flex: 1; background: var(--primary); color: var(--on-dark); }

/* ---------- reveal motion ----------
   Content is visible by default. Only when JS is present (html.js-anim) do we
   hide-then-reveal, so no-JS / headless renders never ship blank sections. */
.js-anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js-anim .reveal.in { opacity: 1; transform: none; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-lead { position: static; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { display: none; }
  .steps::after {
    content: ""; position: absolute; top: 22px; bottom: 22px; left: 22px; width: 2px;
    background: var(--border); z-index: 0;
  }
  .step { display: flex; align-items: flex-start; gap: 18px; text-align: left; }
  .step-n { margin: 0; flex-shrink: 0; }
  .step p { margin: 0; max-width: none; }
  .quote-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero { min-height: auto; padding: calc(var(--header-h) + 36px) 0 48px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .header-actions .btn-primary { display: none; }     /* sticky bar carries the CTA */
  .header-phone span { display: none; }
  .header-phone {
    width: 40px; height: 40px; justify-content: center;
    border-radius: 50%; background: var(--primary);
  }
  .site-header.scrolled .header-phone { background: var(--primary); }
  .header-phone .i { width: 22px; height: 22px; color: #fff; }
  .fix-list { grid-template-columns: 1fr; }
  .fix-list li:nth-child(-n+2) { border-top: 1px solid var(--border); }
  .fix-list li:first-child { border-top: none; }
  .review-pair { grid-template-columns: 1fr; gap: 0; }
  .review-small:first-child { border-top: 1px solid var(--border); }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom .container { flex-direction: column; gap: 6px; }
  .sticky-bar { display: flex; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
