/* Raleway (variable, 100–900) served from this site instead of Google Fonts. License: assets/fonts/Raleway-OFL.txt */
@font-face {
  font-family: 'Raleway';
  src: url('/kalkulacka/assets/fonts/raleway-latin-ext-wght-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  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: 'Raleway';
  src: url('/kalkulacka/assets/fonts/raleway-latin-wght-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  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;
}
/* Caveat (handwritten, variable 400–700). Used via .font-caveat or
   var(--font-handwritten) (e.g. .calculator-tagline). Downloaded only when the page uses it.
   License: assets/fonts/Caveat-OFL.txt */
@font-face {
  font-family: 'Caveat';
  src: url('/kalkulacka/assets/fonts/caveat-latin-ext-wght-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  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: 'Caveat';
  src: url('/kalkulacka/assets/fonts/caveat-latin-wght-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  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;
}
:root { --font-handwritten: 'Caveat', 'Segoe Script', 'Comic Sans MS', cursive; }
.font-caveat { font-family: var(--font-handwritten); }

:root {
  --brand-blue: #0041dc;
  --brand-lime: #b4ff00;
  --brand-pink: #ffa5ff;
  --brand-magenta: #ff00fa;
  --brand-navy: #002567;
  --blue: var(--brand-blue);
  --blue-deep: var(--brand-navy);
  --blue-pale: #f0f5ff;
  --ink: #232d41;
  --muted: #465064;
  --soft: #f2f4f7;
  --soft-strong: #e8ebef;
  --line: #dfe4eb;
  --white: #fff;
  font-family: "Raleway", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  color: var(--ink);
  background: var(--white);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, a:focus-visible {
  outline: 3px solid #7eb0ff;
  outline-offset: 3px;
}
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  background: var(--blue);
}
.brand { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; overflow: hidden; }
.brand-logo { display: block; width: 48px; height: 48px; object-fit: contain; }

.hero {
  display: grid;
  grid-template-columns: minmax(340px, .82fr) minmax(0, 1.48fr);
  align-items: center;
  gap: 28px;
  max-width: 1320px;
  min-height: 620px;
  margin: 0 auto;
  padding: 48px 30px 62px;
}
.hero-copy { max-width: 490px; }
.hero-kicker { margin: 0 0 17px; color: #74839b; font-size: 13px; font-weight: 750; letter-spacing: .13em; }
.hero-copy h1 { margin: 0; color: #111827; font-size: clamp(42px, 4.25vw, 62px); font-weight: 750; line-height: 1.08; letter-spacing: -.055em; }
.hero-description { max-width: 455px; margin: 21px 0 27px; color: #68758a; font-size: 19px; line-height: 1.52; }
.hero-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-width: 280px; min-height: 60px; padding: 0 27px 0 32px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 18px; font-weight: 700; text-decoration: none; box-shadow: 0 12px 26px #0041dc27; transition: background .15s, transform .15s; }
.hero-button span { font-size: 27px; font-weight: 400; line-height: 1; }
.hero-button:hover { transform: translateY(-2px); background: var(--blue-deep); }
.hero-illustration { display: block; width: 100%; max-height: 520px; object-fit: contain; }
.steps-section { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1320px; margin: 0 auto; padding: 12px 30px 45px; }
.step-card { position: relative; min-width: 0; padding: 0 22px; }
.step-card:nth-child(4n+1) { padding-left: 0; }
.step-card:nth-child(4n) { padding-right: 0; }
.step-card:not(:nth-child(4n))::after { content: ""; position: absolute; top: 2px; right: 0; width: 1px; height: 232px; background: #dce2eb; }
.step-number { display: grid; place-items: center; width: 28px; height: 28px; margin: 0 0 8px; border-radius: 50%; background: var(--step-color); color: var(--step-number-color); font-size: 13px; font-weight: 800; font-variant-numeric: lining-nums tabular-nums; }
.step-card:nth-child(1) { --step-color: var(--brand-blue); --step-number-color: #fff; }
.step-card:nth-child(2) { --step-color: var(--brand-lime); --step-number-color: var(--brand-navy); }
.step-card:nth-child(3) { --step-color: var(--brand-pink); --step-number-color: var(--brand-navy); }
.step-card:nth-child(4) { --step-color: var(--brand-navy); --step-number-color: #fff; }
.step-card h2 { margin: 0; color: #111827; font-size: 25px; font-weight: 750; line-height: 1.08; letter-spacing: -.04em; }
.step-card p { min-height: 48px; margin: 11px 0 10px; color: #7a879a; font-size: 15px; line-height: 1.42; }
.step-icon {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 150px;
  height: 86px;
  margin: 17px auto 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .94);
  border-radius: 29px;
  background:
    radial-gradient(ellipse at 25% 16%, rgba(255, 255, 255, .98), transparent 44%),
    radial-gradient(ellipse at 76% 80%, rgba(var(--step-rgb), .34), transparent 62%),
    linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .24) 54%, rgba(255, 255, 255, .7));
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  box-shadow:
    0 0 0 1px rgba(var(--step-rgb), .2),
    inset 0 1px 2px rgba(255, 255, 255, .98),
    inset 0 -7px 14px rgba(var(--step-rgb), .17),
    0 14px 30px rgba(var(--step-rgb), .19),
    0 6px 13px rgba(var(--step-rgb), .12);
  transform: perspective(760px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) scale3d(var(--hover-scale, 1), var(--hover-scale, 1), var(--hover-scale, 1));
  /* No preserve-3d: Safari then stops clipping the blurred ::before/::after to the rounded box and
     draws them as a rectangle. isolation keeps the blend modes inside the icon. */
  isolation: isolate;
  will-change: transform;
  color: #101827;
  transition: transform 280ms cubic-bezier(.2, .75, .25, 1), box-shadow 280ms ease;
  animation: glass-float 5.6s ease-in-out infinite;
}
.step-icon-liquid::before,
.step-icon-liquid::after { content: ""; position: absolute; inset: 1px; border-radius: inherit; pointer-events: none; }
.step-icon-liquid::before {
  inset: -24%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 22% 34%, rgba(var(--step-rgb), .36), transparent 42%),
    radial-gradient(ellipse at 71% 27%, rgba(255, 255, 255, .82), transparent 29%),
    radial-gradient(ellipse at 76% 72%, rgba(var(--step-rgb), .28), transparent 46%),
    radial-gradient(ellipse at 40% 76%, rgba(255, 255, 255, .4), transparent 31%);
  filter: blur(9px);
  animation: liquid-orbit 18s linear infinite;
}
.step-icon-liquid::after {
  inset: 1px -45%;
  background: linear-gradient(108deg, transparent 38%, rgba(255, 255, 255, .04) 46%, rgba(255, 255, 255, .42) 49%, rgba(255, 255, 255, .7) 50%, rgba(255, 255, 255, .2) 52%, transparent 61%);
  filter: blur(5px);
  mix-blend-mode: screen;
  opacity: 0;
  animation: light-sweep 8.4s ease-in-out infinite;
}
/* Blurred liquid layers live in their own clipped box: Safari ignores overflow + border-radius
   clipping for blurred, animated pseudo-elements and shows them as a rectangle. clip-path is honoured. */
.step-icon-liquid { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; clip-path: inset(0 round 28px); pointer-events: none; }
.step-icon-glare {
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse 76px 58px at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, .76), rgba(var(--step-rgb), .22) 42%, transparent 100%);
  mix-blend-mode: screen;
  transition: opacity 240ms ease;
}
.step-icon.is-hovering {
  --hover-scale: 1.055;
  box-shadow:
    0 0 0 1px rgba(var(--step-rgb), .28),
    inset 0 1px 2px rgba(255, 255, 255, .98),
    inset 0 -7px 14px rgba(var(--step-rgb), .2),
    0 20px 38px rgba(var(--step-rgb), .28),
    0 7px 16px rgba(var(--step-rgb), .16);
}
.step-icon.is-hovering .step-icon-glare { opacity: .88; }
.step-icon svg { position: relative; z-index: 2; width: 42px; height: 42px; transform: translateZ(18px); transition: transform 260ms ease; }
.step-icon.is-hovering svg { transform: translateZ(25px) scale(1.035); }
.step-icon-blue { --step-rgb: 0, 65, 220; }
.step-icon-lime { --step-rgb: 180, 255, 0; animation-delay: -1.4s; }
.step-icon-pink { --step-rgb: 255, 165, 255; animation-delay: -2.8s; }
.step-icon-magenta { --step-rgb: 0, 37, 103; border-color: rgba(255, 255, 255, .56); background: linear-gradient(145deg, var(--brand-navy), #000a1e); color: #fff; animation-delay: -4.2s; }
.step-icon-lime .step-icon-liquid::before, .step-icon-lime .step-icon-liquid::after { animation-delay: -1.4s; }
.step-icon-pink .step-icon-liquid::before, .step-icon-pink .step-icon-liquid::after { animation-delay: -2.8s; }
.step-icon-magenta .step-icon-liquid::before, .step-icon-magenta .step-icon-liquid::after { animation-delay: -4.2s; }
@keyframes glass-float { 0%, 100% { translate: 0 0; rotate: -.4deg; } 50% { translate: 0 -5px; rotate: .4deg; } }
@keyframes liquid-orbit { from { transform: rotate(0deg) scale(1.08); } to { transform: rotate(360deg) scale(1.08); } }
@keyframes light-sweep {
  0%, 8% { opacity: 0; transform: translateX(-42%) rotate(10deg); }
  20% { opacity: .46; }
  37% { opacity: .62; transform: translateX(-2%) rotate(10deg); }
  54% { opacity: 0; transform: translateX(35%) rotate(10deg); }
  100% { opacity: 0; transform: translateX(42%) rotate(10deg); }
}
.workspace { max-width: 1320px; margin: 0 auto; padding: 72px 30px 65px; scroll-margin-top: 22px; }
.workspace-grid {
  display: grid;
  grid-template-columns: minmax(310px, .9fr) minmax(0, 1.25fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: stretch;
}
.service-column, .parameter-column { min-width: 0; }
.service-column { display: flex; flex-direction: column; }
.column-heading { display: flex; align-items: baseline; gap: 9px; min-height: 30px; margin-bottom: 17px; }
.column-number { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--step-color, var(--blue)); color: var(--step-number-color, #fff); font-size: 14px; font-weight: 750; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.calculator-tagline { margin: clamp(12px, 2.5vw, 36px) 0 clamp(46px, 6vw, 80px); color: var(--brand-blue); font-size: clamp(44px, 4.4vw, 60px); font-weight: 700; line-height: 1; text-align: center; text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .14em; text-decoration-skip-ink: none; transform: rotate(-2deg); }
.service-column > .column-heading { --step-color: var(--brand-blue); --step-number-color: #fff; }
.parameter-column > .product-heading .column-heading { --step-color: var(--brand-lime); --step-number-color: var(--brand-navy); }
.estimate .panel-kicker { --step-color: var(--brand-pink); --step-number-color: var(--brand-navy); color: var(--brand-navy); }
.panel-kicker { display: flex; align-items: center; gap: 8px; }
.column-heading h2, .column-heading h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }

.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.category-option {
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: var(--soft-strong);
  color: #243047;
  text-align: left;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
  transition: background .15s, border-color .15s, transform .15s;
}
.category-option:hover { background: var(--blue-pale); transform: translateY(-1px); }
.category-option[aria-pressed="true"] { border-color: var(--brand-blue); background: var(--blue-pale); color: var(--brand-navy); box-shadow: inset 0 0 0 1px var(--brand-blue); }

.portfolio-panel {
  position: relative;
  flex: none;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid #526076;
  border-radius: 18px;
  background: #091425;
}
.portfolio-media { position: absolute; inset: 0; opacity: 0; transition: opacity 560ms ease-in-out; }
.portfolio-media.is-active { opacity: 1; }
.portfolio-image, .portfolio-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.portfolio-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#041127a8 0%, transparent 32%, transparent 42%, #030915ed 100%); pointer-events: none; }
.portfolio-topline { position: absolute; z-index: 1; top: 20px; right: 20px; left: 21px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.portfolio-category { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: #f5f8ff; font-size: 11px; font-weight: 700; letter-spacing: .16em; line-height: 1.3; text-transform: uppercase; }
.portfolio-category, .portfolio-copy { transition: opacity 180ms ease; }
.portfolio-panel.is-changing .portfolio-category, .portfolio-panel.is-changing .portfolio-copy { opacity: 0; }
.portfolio-category::before { content: ""; flex: none; width: 23px; height: 2px; background: #fff; }
.portfolio-countdown { width: 76px; height: 3px; flex: none; overflow: hidden; border-radius: 99px; background: #ffffff70; }
.portfolio-countdown-fill { display: block; width: 100%; height: 100%; border-radius: inherit; background: #fff; transform: scaleX(0); transform-origin: left center; }
.portfolio-countdown-fill.is-counting { animation: portfolio-countdown-fill 4s linear forwards; }
@keyframes portfolio-countdown-fill { to { transform: scaleX(1); } }
.portfolio-footer { position: absolute; z-index: 1; right: 20px; bottom: 22px; left: 21px; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.portfolio-copy { min-width: 0; }
.panel-kicker { margin: 0 0 5px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.portfolio-copy h2 { margin: 0; color: #fff; font-size: clamp(24px, 2.1vw, 32px); line-height: 1.08; letter-spacing: -.035em; overflow-wrap: anywhere; }
.portfolio-copy p { margin: 8px 0 0; color: #d5dce9; font-size: 14px; line-height: 1.3; }
.portfolio-controls { display: flex; align-items: center; gap: 10px; flex: none; }
.portfolio-arrow { display: grid; place-items: center; width: 52px; height: 52px; flex: none; padding: 0; border: 1px solid #ffffffa8; border-radius: 50%; background: #071529a1; color: #fff; font-size: 29px; line-height: 1; transition: background .15s, transform .15s; }
.portfolio-previous:hover { background: #ffffff40; transform: translateX(-2px); }
.portfolio-next:hover { background: #ffffff40; transform: translateX(2px); }

.product-heading { display: flex; align-items: baseline; }
.product-heading .column-heading { margin-bottom: 15px; }
.product-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(145px, 100%), 1fr)); gap: 8px; }
.product-option {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 64px;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #dce1e9;
  border-radius: 12px;
  background: var(--soft-strong);
  color: var(--ink);
  text-align: left;
  font-size: 14px;
  line-height: 1.25;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.product-option:hover { border-color: var(--brand-lime); }
.product-option[aria-pressed="true"] { border-color: var(--brand-lime); background: var(--blue-pale); box-shadow: 0 0 0 2px var(--brand-lime); }
.product-radio { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border: 2px solid #b9c3d1; border-radius: 50%; background: #fff; transition: background-color .15s, border-color .15s; }
.product-radio svg { width: 13px; height: 13px; fill: none; stroke: var(--brand-navy); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .2s cubic-bezier(.34, 1.56, .64, 1); }
.product-option:hover .product-radio { border-color: var(--brand-lime); }
.product-option[aria-pressed="true"] .product-radio { border-color: var(--brand-lime); background: var(--brand-lime); }
.product-option[aria-pressed="true"] .product-radio svg { opacity: 1; transform: none; }
.product-name { min-width: 0; flex: 1; font-weight: 650; overflow-wrap: break-word; hyphens: auto; }
.product-included-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 24px; margin: 0; padding-left: 19px; }
.product-included-list li { padding-left: 1px; }
.field-label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.field-label-row { position: relative; z-index: 0; display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.field-label-row .field-label { min-width: 0; margin: 0; }
.field-label-row:has(.parameter-help[open]) { z-index: 30; }
.parameter-help { flex: none; }
.parameter-help summary { display: grid; place-items: center; width: 19px; height: 19px; padding: 0; border: 1px solid #b9c8de; border-radius: 50%; background: #f4f8ff; color: var(--blue); font-size: 12px; font-style: normal; font-weight: 800; line-height: 1; list-style: none; cursor: pointer; }
.parameter-help summary::-webkit-details-marker { display: none; }
.parameter-help summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.parameter-help[open] summary { border-color: var(--blue); background: var(--blue-pale); }
.parameter-help-content { position: absolute; top: calc(100% + 8px); right: 0; left: 0; z-index: 30; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 10px 26px #10274a26; color: var(--ink); font-size: 13px; font-weight: 400; line-height: 1.5; white-space: pre-line; }
.field-control {
  display: block;
  width: 100%;
  min-height: 49px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--soft);
  color: var(--ink);
  font-size: 16px;
}
.field-control:hover { border-color: #b5bfcd; }
.field-control::placeholder { color: #8490a1; }
.scope-block { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.scope-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.scope-heading strong { color: var(--blue); font-size: 14px; }
.scope-range { display: block; width: 100%; height: 28px; margin: 0; appearance: none; background: transparent; }
.scope-range::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(to right, var(--blue) var(--range-progress, 50%), #dce1e8 var(--range-progress, 50%)); }
.scope-range::-moz-range-track { height: 6px; border-radius: 99px; background: #dce1e8; }
.scope-range::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--blue); }
.scope-range::-webkit-slider-thumb { width: 19px; height: 19px; margin-top: -6.5px; appearance: none; border: 3px solid var(--white); border-radius: 50%; background: var(--blue); box-shadow: 0 1px 5px #0003; }
.scope-range::-moz-range-thumb { width: 14px; height: 14px; border: 3px solid var(--white); border-radius: 50%; background: var(--blue); box-shadow: 0 1px 5px #0003; }
.scope-labels { display: flex; justify-content: space-between; color: #8290a0; font-size: 13px; }
.dynamic-fields { display: grid; gap: 20px; margin-top: 23px; }
.parameter { min-width: 0; }
.checkbox-options { display: grid; gap: 10px; }
.checkbox-option { display: flex; align-items: center; gap: 11px; min-height: 49px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--soft); color: var(--ink); font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s; }
.checkbox-option:hover { border-color: #b5bfcd; }
.checkbox-option:has(input:checked) { border-color: var(--blue); background: var(--blue-pale); }
.checkbox-option input { width: 18px; height: 18px; flex: none; margin: 0; accent-color: var(--blue); }
.addons-section { margin-top: 21px; padding-top: 18px; border-top: 1px solid var(--line); }
.subsection-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.subsection-heading h3 { margin: 0; font-size: 16px; }
.subsection-heading span { color: var(--muted); font-size: 13px; }
.addon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.addon-option { display: flex; align-items: center; gap: 8px; min-height: 53px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); font-size: 13px; }
.addon-option:hover { border-color: #92bafb; }
.addon-option:has(input:checked) { border-color: #78a8f4; background: var(--blue-pale); }
.addon-option input { width: 15px; height: 15px; flex: none; margin: 0; accent-color: var(--blue); }
.addon-name { min-width: 0; line-height: 1.25; }
.addon-price { margin-left: auto; color: var(--muted); font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.delivery-options { margin-top: 21px; padding-top: 15px; border-top: 1px solid var(--line); }
.delivery-options summary { display: flex; gap: 8px; align-items: baseline; font-size: 14px; font-weight: 700; list-style: none; cursor: pointer; }
.delivery-options summary::-webkit-details-marker { display: none; }
.delivery-options summary::before { content: "+"; color: var(--blue); font-size: 16px; line-height: 1; }
.delivery-options[open] summary::before { content: "−"; }
.service-inclusions .product-included-list { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.delivery-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding-top: 15px; }

.estimate {
  min-width: 0;
  margin-top: 38px;
  padding: 25px;
  border: 1px solid #e5e8ed;
  border-radius: 16px;
  background: var(--blue-pale);
}
.estimate-topline { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.estimate-topline .panel-kicker { margin-bottom: 6px; }
.estimate-topline h2 { margin: 0; font-size: 18px; line-height: 1.25; letter-spacing: -.02em; }
.estimate-status { padding: 5px 7px; border: 1px solid #b9c8de; border-radius: 5px; color: #5e7190; font-size: 11px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.estimate-status.is-open { border-color: var(--brand-lime); background: var(--brand-lime); color: var(--brand-navy); }
.estimate-body { position: relative; min-height: 510px; margin-top: 22px; }
.estimate-body.is-unlocked { min-height: 0; }
.estimate-content { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; gap: 24px 32px; min-height: 300px; filter: blur(8px); opacity: .42; pointer-events: none; user-select: none; transition: filter .4s ease, opacity .4s ease; }
.estimate-body.is-unlocked .estimate-content { min-height: 0; filter: none; opacity: 1; pointer-events: auto; user-select: auto; }
.unlock-gate { position: absolute; z-index: 1; inset: 0; display: flex; align-items: center; justify-content: center; padding: 18px; }
.unlock-card { width: min(100%, 470px); padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .97); box-shadow: 0 15px 40px rgba(0, 37, 103, .13); text-align: center; }
.lock-symbol { display: grid; place-items: center; width: 36px; height: 36px; margin: 0 auto 10px; border: 1px solid #d8e3f6; border-radius: 50%; background: var(--blue-pale); color: var(--blue); font-size: 16px; }
.unlock-title { display: block; font-size: 18px; }
.unlock-copy { margin: 6px 0 16px; color: var(--muted); font-size: 14px; }
.unlock-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; text-align: left; }
.unlock-form .field-control { min-width: 0; background: #fff; }
.unlock-form .primary-button { width: 100%; }
.data-collection-note { margin: 0; color: #66758a; font-size: 12px; line-height: 1.5; }
.consent-control { display: grid; grid-template-columns: 17px minmax(0, 1fr); align-items: start; gap: 9px; color: #465064; font-size: 12px; line-height: 1.5; cursor: pointer; }
.contact-marketing-consent { margin-top: 16px; }
.consent-control input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--blue); }
.consent-control a, .recaptcha-note a { color: var(--brand-blue); text-decoration: underline; text-underline-offset: 2px; }
.recaptcha-area { min-width: 0; }
.recaptcha-slot { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 76px; padding: 12px; border: 1px dashed #c7d2e2; border-radius: 8px; background: #f7f9fc; }
.recaptcha-placeholder { margin: 0; color: #66758a; font-size: 12px; line-height: 1.45; text-align: center; }
.recaptcha-slot.is-ready { justify-content: flex-start; padding: 0; border: 0; border-radius: 0; background: transparent; }
.recaptcha-note, .recaptcha-feedback { margin: 6px 0 0; color: #66758a; font-size: 11px; line-height: 1.4; }
.recaptcha-feedback { color: #b42318; }
.unlock-note { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.estimate-body.is-unlocked .unlock-gate { display: none; }
.primary-button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 49px; width: 100%; padding: 10px 12px; border: 1px solid var(--blue); border-radius: 9px; background: var(--blue); color: var(--white); font-size: 14px; font-weight: 700; transition: background .15s; }
.primary-button:hover { background: var(--blue-deep); }
.price-reveal-button { gap: 10px; }
.price-eye { display: block; width: 26px; height: 26px; flex: none; overflow: visible; }
.price-eye-closed, .price-eye-open path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.price-eye-closed { opacity: 1; transition: opacity .12s ease; }
.price-eye-open { opacity: 0; transform: scaleY(.05); transform-origin: 50% 50%; transition: opacity .12s ease, transform .28s cubic-bezier(.2,.8,.2,1); }
.price-eye-open circle { fill: currentColor; }
.price-reveal-button:hover .price-eye-closed, .price-reveal-button:focus-visible .price-eye-closed { opacity: 0; }
.price-reveal-button:hover .price-eye-open, .price-reveal-button:focus-visible .price-eye-open { opacity: 1; transform: scaleY(1); }
.privacy-note { margin: 10px 0 0; color: #8490a0; font-size: 12px; text-align: center; }
.quote-summary { min-width: 0; padding-top: 4px; }
.quote-details { min-width: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.quote-details h3 { margin: 0; padding-bottom: 13px; border-bottom: 1px solid var(--line); font-size: 16px; }
.estimate-product { margin: 0 0 22px; color: var(--muted); font-size: 14px; font-weight: 600; }
.price-caption { margin: 0 0 5px; color: var(--muted); font-size: 13px; }
.estimate-price { margin: 0; color: var(--blue); font-size: clamp(30px, 3vw, 38px); font-weight: 750; letter-spacing: -.055em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.tax-summary { display: grid; gap: 8px; max-width: 370px; margin-top: 20px; padding-top: 12px; border-top: 1px solid #dce4f1; }
.tax-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; color: var(--muted); font-size: 14px; }
.tax-line strong { color: var(--ink); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tax-line.gross { padding-top: 8px; border-top: 1px solid #dce4f1; color: var(--ink); font-weight: 700; }
.tax-line.gross strong { color: var(--blue); font-weight: 700; }
.price-breakdown { display: grid; margin-top: 3px; }
.breakdown-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 16px; padding: 11px 0; }
.breakdown-row:first-child:not(:last-child) { margin-bottom: 3px; border-bottom: 1px solid var(--line); }
.breakdown-label { display: grid; gap: 2px; min-width: 0; }
.breakdown-title { color: var(--ink); font-size: 14px; font-weight: 600; }
.breakdown-detail { color: var(--muted); font-size: 13px; line-height: 1.35; }
.breakdown-row strong { color: var(--ink); font-size: 14px; font-weight: 650; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.review-note { margin: 18px 0 0; padding: 10px 11px; border-radius: 8px; background: #e8eef9; color: #52647d; font-size: 12px; }
.estimate-disclaimer { grid-column: 1 / -1; margin: 0; padding-top: 13px; border-top: 1px solid #dce4f1; color: var(--muted); font-size: 12px; }
.contact-step { margin-top: 30px; padding: 25px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.contact-step .column-heading { margin-bottom: 8px; }
.contact-step .column-number { background: var(--brand-navy); color: #fff; }
.contact-intro { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.contact-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-field { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 700; }
.contact-field span { color: var(--muted); font-size: 12px; font-weight: 500; }
.contact-field .field-control.is-valid { border-color: var(--brand-lime); background: var(--brand-lime); color: var(--brand-navy); box-shadow: inset 0 0 0 1px var(--brand-lime); }
.contact-field .contact-email-note { color: var(--brand-navy); }
.contact-field .contact-email-note.is-invalid { color: #b42318; }
.contact-message { grid-column: 1 / -1; }
.contact-field textarea { min-height: 142px; resize: vertical; }
.contact-step .recaptcha-area { max-width: 304px; margin-top: 16px; }
.contact-form-footer { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.contact-form-footer .primary-button { width: auto; min-width: 235px; border-color: var(--brand-navy); background: var(--brand-navy); color: #fff; }
.contact-form-footer .primary-button:hover { border-color: var(--blue); background: var(--blue); }
.contact-form-footer .privacy-note { margin: 0; text-align: left; }
.contact-feedback { margin: 16px 0 0; color: var(--brand-navy); font-size: 14px; font-weight: 600; }
.site-footer { max-width: 1320px; margin: 0 auto; padding: 25px 30px 35px; color: #8a96a5; font-size: 12px; text-align: center; }

@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(290px, .8fr) minmax(0, 1.2fr); min-height: 520px; gap: 18px; }
  .hero-copy h1 { font-size: clamp(38px, 5vw, 52px); }
  .hero-description { font-size: 17px; }
  .hero-button { min-width: 240px; min-height: 56px; font-size: 16px; }
  .steps-section { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; padding-bottom: 28px; }
  .step-card { padding: 0 22px 19px; }
  .step-card:nth-child(odd) { padding-left: 0; }
  .step-card:nth-child(even) { padding-right: 0; }
  .step-card:nth-child(odd)::after { content: ""; position: absolute; top: 2px; right: 0; width: 1px; height: 232px; background: #dce2eb; }
  .step-card:nth-child(2)::after { content: none; }
  .step-card:nth-child(-n+2) { border-bottom: 1px solid #dce2eb; }
  .step-card:not(:nth-child(odd))::after { content: none; }
  .workspace-grid { grid-template-columns: minmax(280px, .85fr) minmax(340px, 1.15fr); gap: 30px; }
  .estimate-content { gap: 20px; }
  .workspace { padding-top: 60px; }
}
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; gap: 18px; min-height: 0; padding: 58px 22px 26px; }
  .hero-copy { max-width: 540px; }
  .hero-copy h1 { max-width: 560px; font-size: clamp(39px, 10vw, 54px); }
  .hero-description { margin: 16px 0 22px; font-size: 16px; }
  .hero-button { min-width: 235px; }
  .hero-illustration { max-height: none; max-width: 640px; margin: 0 auto; }
  .steps-section { padding: 25px 18px 22px; }
  .step-card { padding-right: 18px; padding-left: 18px; }
  .step-card:nth-child(odd) { padding-left: 0; }
  .step-card:nth-child(even) { padding-right: 0; }
  .step-card h2 { font-size: 22px; }
  .step-card p { font-size: 14px; }
  .workspace { padding-top: 42px; }
  .workspace { max-width: 610px; padding: 38px 18px 40px; }
  .workspace-grid { grid-template-columns: 1fr; gap: 37px; }
  /* On phones the portfolio carousel comes first, above "Vyberte kategóriu". */
  .portfolio-panel { order: -1; margin: 0 0 28px; }
  .estimate { margin-top: 30px; padding: 21px 17px; }
  .estimate-content { grid-template-columns: 1fr; gap: 18px; }
  .estimate-body { min-height: 520px; }
  .estimate-body.is-unlocked { min-height: 0; }
  .recaptcha-slot { justify-content: flex-start; overflow-x: auto; }
  .contact-step { padding: 21px 18px; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .contact-message { grid-column: auto; }
  .contact-form-footer { align-items: flex-start; flex-direction: column; }
  .category-option { min-height: 68px; }
  .product-included-list { grid-template-columns: 1fr; }
  .site-footer { padding: 15px 18px 30px; }
}
@media (max-width: 390px) {
  .category-option { padding: 9px; font-size: 13px; }
  .addon-grid { grid-template-columns: 1fr; }
  .estimate { padding: 18px 14px; }
}
@media (max-width: 520px) {
  .steps-section { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0; row-gap: 28px; padding: 25px 18px 22px; }
  .step-card, .step-card:nth-child(-n+2) { min-height: 0; padding: 0 18px 19px; border-bottom: 0; }
  .step-card:nth-child(odd) { padding-left: 0; }
  .step-card:nth-child(even) { padding-right: 0; }
  .step-card:nth-child(-n+2) { border-bottom: 1px solid #dce2eb; }
  .step-card:nth-child(odd)::after { content: ""; position: absolute; top: 2px; right: 0; width: 1px; height: 232px; background: #dce2eb; }
  .step-card:nth-child(even)::after { content: none; }
  .step-card p { min-height: 0; max-width: none; }
  .step-icon { width: 100%; max-width: 150px; height: 86px; margin: 17px auto 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .portfolio-countdown-fill.is-counting { animation: none; transform: scaleX(1); }
  .step-icon, .step-icon-liquid::before, .step-icon-liquid::after { animation: none !important; }
  .step-icon { transform: none !important; }
}

#email-code-fields{display:grid;gap:10px;margin:14px 0}#email-code-fields[hidden]{display:none}#email-code-fields label{font-size:12px;text-align:left}#resend-code{border:0;background:none;color:#0645ff;cursor:pointer;font-size:12px;padding:5px}#email-code-note,#unlock-feedback{font-size:12px;line-height:1.4}#unlock-feedback{color:#b4364a}#unlock-captcha{display:flex;justify-content:center;margin:12px 0}

.contact-form-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:stretch}.contact-fields-stack{display:grid;gap:16px}.contact-fields-stack .contact-message{grid-column:auto}.attachment-panel{display:flex;flex-direction:column;gap:10px;min-width:0}.attachment-heading{font-size:12px;font-weight:600}.attachment-dropzone{flex:1;min-height:300px;border:2px dashed #c4d1e6;border-radius:12px;background:#f7f9fd;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:28px;text-align:center;transition:background .15s,border-color .15s}.attachment-dropzone.is-dragover{border-color:#0645ff;background:#edf3ff}.attachment-icon{width:54px;height:54px;color:#0645ff}.attachment-dropzone strong{font-size:15px}.attachment-or{font-size:12px;color:#78869e}.attachment-select{border:1px solid #c4d1e6;border-radius:8px;padding:10px 20px;background:white;color:#0645ff;font-weight:600;cursor:pointer}.attachment-filename{max-width:100%;overflow-wrap:anywhere;font-size:12px;color:#102747}#attachment-remove{border:0;background:none;color:#9d174d;font-size:12px;cursor:pointer}#attachment-error{color:#b4364a}@media(max-width:700px){.contact-form-grid{grid-template-columns:1fr}.attachment-dropzone{min-height:230px}}

#contact-form.is-submitted{background:#ecfbdc;border:1px solid #c9e9a5;border-radius:12px;min-height:420px;display:grid;place-items:center;padding:48px 24px}#contact-form.is-submitted>*:not(.contact-success){display:none!important}.contact-success{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;text-align:center;color:#285b18;outline:none}.contact-success svg{width:72px;height:72px}.contact-success strong{font-size:22px;line-height:1.4}@media(max-width:700px){#contact-form.is-submitted{min-height:320px}.contact-success strong{font-size:19px}}
