/* Electric Quote Worksheet — landing. "Kabelska trasa": site-grey paper, graphite type, and the five
   conductors of an installation cable (brown, black, grey, blue, green-yellow) as the guiding line. */

@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-condensed-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/barlow-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #efede8;
  --sheet: #ffffff;
  --ink: #1d2327;
  --soft: #50595f;
  --line: #d8d5ce;
  --green: #0e6b4e;
  --green-dark: #0a4f3a;
  --yellow: #efc22e;
  --yellow-soft: #fbf0c7;
  --brown: #7e4a2b;
  --grey: #7d858a;
  --blue: #2c67b0;
  --pe: repeating-linear-gradient(90deg, var(--green) 0 18px, var(--yellow) 18px 36px);
  --pe-v: repeating-linear-gradient(180deg, var(--green) 0 18px, var(--yellow) 18px 36px);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Barlow", "Segoe UI", Arial, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 var(--text); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.05; margin: 0; letter-spacing: 0.005em; }
p { margin: 0 0 0.8em; }
code { font-family: Consolas, "Courier New", monospace; font-size: 0.92em; background: #e4e1da; padding: 0.05em 0.3em; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* The cable: five conductors */
.wires { display: grid; gap: 3px; }
.wires i { display: block; height: 4px; }
.wires i:nth-child(1) { background: var(--brown); }
.wires i:nth-child(2) { background: var(--ink); }
.wires i:nth-child(3) { background: var(--grey); }
.wires i:nth-child(4) { background: var(--blue); }
.wires i:nth-child(5) { background: var(--pe); }

/* Header */
.site-head__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font: 600 1.45rem/1 var(--display); }
.brand img { width: 36px; height: auto; }
.nav { display: flex; gap: 4px 22px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 10px 0; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--yellow); color: var(--ink); }

/* Hero */
.hero { padding: 56px 0 0; }
.eyebrow { font-weight: 600; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.1rem); max-width: 15ch; }
.lead { font-size: 1.2rem; color: var(--soft); max-width: 60ch; margin-top: 20px; }
.hero__actions { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; margin: 28px 0 18px; }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: " →"; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; padding: 0; margin: 0; }
.facts li { font-size: 0.92rem; font-weight: 600; background: var(--sheet); border: 1px solid var(--line); border-left: 4px solid var(--green); padding: 5px 10px; border-radius: 3px; }

.play { display: inline-flex; flex-direction: column; justify-content: center; min-height: 58px; padding: 8px 22px; background: var(--ink); color: #fff; border-radius: 6px; text-decoration: none; line-height: 1.1; }
.play:hover { background: #000; color: #fff; }
.play__small { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.8; }
.play__big { font: 600 1.35rem/1.1 var(--display); }
.play--soon { background: var(--sheet); color: var(--ink); border: 2px dashed var(--ink); cursor: default; }

/* Hero tray: real screens laid side by side over the cable */
.tray { position: relative; margin-top: 48px; padding-bottom: 56px; }
.tray__cable { position: absolute; left: 0; right: 0; top: 46%; display: grid; gap: 6px; }
.tray__cable i { display: block; height: 10px; }
.tray__cable i:nth-child(1) { background: var(--brown); }
.tray__cable i:nth-child(2) { background: var(--ink); }
.tray__cable i:nth-child(3) { background: var(--grey); }
.tray__cable i:nth-child(4) { background: var(--blue); }
.tray__cable i:nth-child(5) { background: var(--pe); }
.tray__row { position: relative; display: flex; gap: 28px; justify-content: center; padding: 0 24px; overflow-x: auto; scroll-snap-type: x mandatory; }
.tray__item { margin: 0; flex: 0 0 auto; width: min(260px, 62vw); scroll-snap-align: center; }
.tray__item:nth-child(even) { margin-top: 56px; }
.shot { border: 3px solid var(--ink); border-radius: 18px; background: var(--sheet); }

/* Sections */
.section-title { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.section-lead { color: var(--soft); max-width: 62ch; margin-top: 12px; font-size: 1.1rem; }

/* How it works: a vertical cable route with four stops */
.route { padding: 72px 0; background: var(--sheet); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.route__list { list-style: none; margin: 40px 0 0; padding: 0 0 0 46px; position: relative; }
.route__list::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 30px;
  background: linear-gradient(90deg, var(--brown) 0 4px, transparent 4px 6.5px, var(--ink) 6.5px 10.5px, transparent 10.5px 13px, var(--grey) 13px 17px, transparent 17px 19.5px, var(--blue) 19.5px 23.5px, transparent 23.5px 26px, transparent 26px); }
.route__list::after { content: ""; position: absolute; left: 26px; top: 0; bottom: 0; width: 4px; background: var(--pe-v); }
.stop { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; margin-bottom: 56px; }
.stop:last-child { margin-bottom: 0; }
.stop__box { position: relative; background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; padding: 24px 24px 18px; }
.stop__box::before { content: ""; position: absolute; left: -18px; top: 34px; width: 16px; height: 4px; background: var(--ink); }
.stop__no { display: inline-block; font: 600 1rem/1 var(--display); background: var(--yellow); padding: 6px 10px; border-radius: 3px; margin-bottom: 12px; letter-spacing: 0.08em; }
.stop__box h3 { font-size: 2rem; margin-bottom: 10px; }
.stop__shot { max-width: 320px; }

/* Categories */
.cats { padding: 72px 0; }
.cats__grid { display: grid; gap: 32px; }
.cats__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; }
.cats__list li { display: grid; grid-template-columns: 18px 1fr; gap: 2px 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.cats__list li:last-child { border-bottom: 0; }
.cats__list .swatch { grid-row: span 2; width: 18px; height: 18px; border-radius: 3px; margin-top: 3px; }
.cats__list strong { font-weight: 600; }
.cats__list span:last-child { color: var(--soft); font-size: 0.97rem; }

/* PDF contents as a ruled sheet */
.pdf { padding: 72px 0; background: var(--ink); color: #fff; }
.pdf .section-lead { color: #c9cdd0; }
.pdf__grid { display: grid; gap: 40px; align-items: start; }
.pdf__shot { margin: 28px 0 0; max-width: 420px; }
.pdf__shot .shot { border-color: var(--yellow); }
.shot--paper { border-radius: 4px; border-width: 0; box-shadow: 0 0 0 6px var(--yellow); }
.pdf__shot figcaption { margin-top: 14px; font-size: 0.9rem; color: #c9cdd0; }
.sheet { list-style: none; margin: 0; padding: 0; background: var(--sheet); color: var(--ink); border-radius: 6px; border-top: 10px solid var(--yellow); }
.sheet li { display: grid; grid-template-columns: 34px 1fr; gap: 2px 8px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.sheet li:last-child { border-bottom: 0; background: var(--yellow-soft); border-radius: 0 0 6px 6px; }
.sheet__no { grid-row: span 2; font: 600 1.25rem/1.2 var(--display); color: var(--soft); }
.sheet__t { font-weight: 600; }
.sheet__d { color: var(--soft); font-size: 0.97rem; }

/* More features */
.more { padding: 72px 0; }
.more__list { display: grid; gap: 0; margin: 32px 0 0; border-top: 3px solid var(--ink); }
.more__list div { display: grid; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.more__list dt { font: 600 1.45rem/1.15 var(--display); }
.more__list dd { margin: 0; color: var(--soft); }
.gallery { display: flex; gap: 24px; margin-top: 40px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.gallery figure { margin: 0; flex: 0 0 auto; width: min(280px, 70vw); scroll-snap-align: start; }

/* FAQ */
.faq { padding: 72px 0; background: var(--sheet); border-top: 1px solid var(--line); }
.faq__wrap { max-width: 860px; }
.faq .section-title { margin-bottom: 24px; }
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
details:first-of-type { border-top: 3px solid var(--ink); }
summary { cursor: pointer; font-weight: 600; font-size: 1.1rem; padding: 14px 32px 14px 0; position: relative; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 8px; font: 600 1.6rem/1 var(--display); color: var(--green); }
details[open] summary::after { content: "−"; }
details p { color: var(--soft); max-width: 70ch; }

/* End */
.end { padding: 64px 0; }
.end__row { display: grid; gap: 24px; align-items: center; }
.end .section-title { margin-bottom: 12px; }
.note { font-size: 0.95rem; color: var(--soft); border-left: 4px solid var(--green); padding-left: 12px; max-width: 70ch; }

/* Documents (privacy, help) */
.doc { padding: 48px 0 72px; }
.doc__wrap { max-width: 820px; }
.doc h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.doc h2 { font-size: 1.75rem; margin: 36px 0 12px; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: 6px; }
.steps li { margin-bottom: 10px; }

/* Footer */
.site-foot { background: var(--sheet); border-top: 1px solid var(--line); }
.site-foot__grid { display: grid; gap: 24px; padding-top: 36px; padding-bottom: 12px; }
.site-foot__grid p { margin-bottom: 6px; }
.site-foot__name { font: 600 1.5rem/1.1 var(--display); }
.site-foot__label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); }
.site-foot__small { padding-top: 12px; padding-bottom: 28px; font-size: 0.9rem; color: var(--soft); }

@media (min-width: 760px) {
  .tray__row { overflow: visible; }
  .stop { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 48px; }
  .stop--flip .stop__box { order: 2; }
  .stop--flip .stop__shot { order: 1; justify-self: end; }
  .stop--flip .stop__box::before { display: none; }
  .cats__grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .pdf__grid { grid-template-columns: 0.9fr 1.1fr; }
  .more__list div { grid-template-columns: 260px 1fr; }
  .end__row { grid-template-columns: 1fr auto; }
  .site-foot__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 759px) {
  .tray__row { justify-content: flex-start; }
  .tray__item:nth-child(even) { margin-top: 36px; }
  .hero { padding-top: 36px; }
  .route__list { padding-left: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
