:root {
  color-scheme: light;
  --ink: #101f3c;
  --dark: #091630;
  --sea: #5ff1dd;
  --muted: #455570;
  --paper: #ffffff;
  --tint: #f0f5ff;
  --rule: #dbe5f4;
  --sans: "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
[hidden] { display: none !important; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #176bee; outline-offset: 4px; }
figure, p { margin: 0; }
p + p { margin-top: 1em; }
h1, h2, h3 { margin: 0; line-height: 1.02; }
h1, h2 { font-family: var(--sans); font-weight: 780; letter-spacing: -.058em; text-wrap: balance; }
h2 { font-size: clamp(2.15rem, 4.3vw, 4rem); }
h3 { font-size: 1.2rem; line-height: 1.28; letter-spacing: -.025em; }
.wrap { width: min(100% - 96px, 1240px); margin-inline: auto; }
.section { padding-block: clamp(58px, 8vw, 112px); }
.skip { position: fixed; top: 8px; left: 8px; z-index: 20; transform: translateY(-160%); background: white; padding: 8px; }
.skip:focus { transform: none; }
.masthead { color: var(--ink); background: white; border-bottom: 1px solid var(--rule); position: relative; z-index: 2; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; gap: 12px; align-items: center; text-decoration: none; flex: none; }
.brand img { width: 41px; }
.brand span { font: 780 1.25rem/1 var(--sans); letter-spacing: -.045em; }
.brand small { display: block; font: 600 .59rem/1.2 var(--sans); margin-top: 6px; letter-spacing: .13em; text-transform: uppercase; }
nav { display: flex; gap: clamp(18px, 3vw, 48px); align-items: center; }
nav a { font-size: .88rem; font-weight: 600; text-decoration: none; }
nav a:hover, .underlink:hover { color: #165ac0; }
.hero .underlink:hover, footer .underlink:hover { color: var(--sea); }
.nav-cta, .menu { border: 1px solid #c8d9f0; border-radius: 50px; padding: 8px 15px; color: #1552a8; background: #f3f8ff; }
.nav-cta span, .menu span { margin-left: 8px; }
.hero { position: relative; overflow: hidden; background: var(--dark); color: white; }
.hero-photo { position: absolute; inset: 0 0 0 37%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after { content: ""; pointer-events: none; position: absolute; inset: 0; background: linear-gradient(90deg, var(--dark) 32%, #091630f2 40%, #09163074 56%, #09163012 74%, transparent 82%); }
.hero-inner { position: relative; z-index: 1; min-height: clamp(510px, 45vw, 690px); display: grid; align-items: center; }
.hero-copy { padding: 65px 0; max-width: 640px; }
.eyebrow { color: var(--sea); display: flex; gap: 10px; align-items: center; font-size: .74rem; font-weight: 780; letter-spacing: .095em; text-transform: uppercase; margin-bottom: 20px; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dark-ink { color: #1360c8; }
h1 { font-size: clamp(3.6rem, 6.15vw, 6.2rem); }
h1 em { color: var(--sea); font-style: normal; }
.hero-lead { color: #dce8fb; max-width: 360px; margin-block: 22px 30px; }
.hero-caption { position: absolute; bottom: 17px; right: 0; background: #101f3ce8; color: white; border-radius: 3px; padding: 4px 8px; font-size: .72rem; }
.actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.button { border: 1px solid transparent; border-radius: 50px; background: var(--sea); color: var(--dark); text-decoration: none; font-size: .9rem; font-weight: 750; padding: 13px 19px; display: inline-flex; gap: 16px; align-items: center; transition: background-color .18s, transform .18s; }
form .button { background: #145ac5; color: white; }
form .button:hover { background: #0e469d; }
.button:hover { background: #a0ffef; transform: translateY(-2px); }
.button:disabled { opacity: .6; cursor: default; }
.underlink { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-weight: 650; font-size: .88rem; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.demo-strip { padding-block: 11px; background: #edf5ff; color: #34496a; font-size: .75rem; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.section-head p { max-width: 365px; color: var(--muted); }
.services, .gallery, .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.services article { background: white; border: 1px solid var(--rule); border-radius: 16px; padding: clamp(18px, 3vw, 34px); box-shadow: 0 12px 30px #152c5608; }
.service-icon { display: grid; place-items: center; color: #135bc1; background: #e8f2ff; width: 42px; height: 42px; border-radius: 50%; font-size: 1.5rem; margin-bottom: 18px; }
.services p, .steps p { margin-top: 9px; color: var(--muted); }
.craft { background: var(--tint); }
.craft-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(35px, 8vw, 108px); }
.craft img { aspect-ratio: 1.34; object-fit: cover; object-position: center 42%; border-radius: 16px; }
.craft h2 + p { margin-top: 22px; }
.craft .underlink { margin-top: 17px; }
.note, figcaption, .contact-note { color: var(--muted); font-size: .84rem; }
figure > figcaption { margin-top: 9px; }
.gallery a { position: relative; display: block; border-radius: 16px; overflow: hidden; }
.gallery a img { aspect-ratio: 1.3; object-fit: cover; transition: transform .3s ease; }
.gallery a:hover img { transform: scale(1.035); }
.gallery a span { position: absolute; bottom: 12px; right: 12px; display: grid; place-items: center; width: 34px; height: 34px; background: var(--dark); color: white; border-radius: 50%; }
.gallery figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; align-items: baseline; }
.gallery strong { color: var(--ink); font-size: 1rem; }
.gallery small { font-size: .8rem; }
.comparison { background: #eaf3ff; }
.compare-frame { --split: 50%; overflow: hidden; border-radius: 16px; position: relative; aspect-ratio: 2/1; background: var(--ink); }
.compare-img { object-position: center 52%; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.before { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.compare-line { position: absolute; inset: 0 auto 0 var(--split); display: grid; place-items: center; width: 2px; background: white; pointer-events: none; }
.compare-line span { border: 2px solid white; color: white; background: var(--dark); border-radius: 50%; width: 42px; height: 42px; display: grid; place-items: center; transform: translateX(-50%); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-frame:focus-within { outline: 3px solid #176bee; outline-offset: 5px; }
.tag { position: absolute; top: 12px; padding: 4px 11px; border-radius: 3px; background: var(--dark); color: white; font-size: .8rem; }
.tag-left { left: 12px; }
.tag-right { right: 12px; }
.samples { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; }
.sample { aspect-ratio: 1.7; border-radius: 5px; box-shadow: inset 0 0 0 1px #101f3c25; background-image: linear-gradient(145deg, #fff4, transparent 56%, #101f3c26); }
.azur { background-color: #3ab8d7; }
.perla { background-color: #d3d9d4; }
.pisek { background-color: #d5c3a5; }
.bridlice { background-color: #576c72; }
.mozaika { background-color: #27758d; background-image: repeating-linear-gradient(90deg, transparent 0 15px, #def6f492 15px 16px), repeating-linear-gradient(0deg, #0b567128 0 15px, #def6f492 15px 16px), conic-gradient(#2b8ea5 25%, #17647f 0 50%, #439cb0 0 75%, #226f8b 0); background-size: 32px 32px; }
.process { background: var(--tint); }
.steps { list-style: none; margin: 34px 0 0; padding: 0; counter-reset: step; }
.steps li { border-top: 1px solid #bfd0e9; padding-top: 13px; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 10px; color: #155cc4; font-weight: 700; font-size: .82rem; }
.contact { color: white; background: var(--ink); }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(30px, 6vw, 84px); }
.contact h2 + p { margin-top: 18px; }
.contact-note { color: #c0d0e9; margin-top: 25px; font-style: normal; }
.contact-note strong { color: white; font-size: 1rem; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.contact-buttons a { color: white; border: 1px solid #7488aa; background: transparent; border-radius: 4px; font-size: .88rem; padding: 8px 13px; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.contact-buttons a:hover { background: #213558; }
form { color: var(--ink); background: var(--paper); border-radius: 16px; padding: clamp(18px, 3vw, 32px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
form label { display: block; min-width: 0; font-size: .86rem; font-weight: 650; }
form input, form select, form textarea { display: block; width: 100%; padding: 10px; margin-top: 5px; border: 1px solid #a9bdd9; border-radius: 4px; background: white; color: var(--ink); font-size: 1rem; }
form textarea { resize: vertical; }
form .note { margin-block: 12px; }
.feedback { font-size: .875rem; color: inherit; }
.feedback:not(:empty) { margin-top: 12px; }
footer { background: var(--dark); color: white; }
.footer-inner { padding-block: 22px; }
.footer-inner p { font-size: .82rem; color: #c0d0e9; }
dialog { background: var(--dark); color: white; border: 0; border-radius: 8px; padding: 12px; width: min(850px, 92vw); max-height: 90dvh; }
dialog::backdrop { background: #081329e0; }
dialog img { max-height: 74dvh; object-fit: contain; }
dialog figcaption { color: white; padding-inline: 5px; }
.close { position: absolute; right: 17px; top: 17px; width: 44px; height: 44px; font-size: 1.6rem; border-radius: 50%; border: 0; background: var(--dark); color: white; }
@media (max-width: 980px) {
  .wrap { width: calc(100% - 56px); }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 16px; }
  .wrap { width: calc(100% - 36px); }
  .header-inner { flex-wrap: wrap; min-height: 66px; gap: 0; padding-block: 8px; }
  .menu { display: inline-flex; min-height: 44px; align-items: center; }
  nav { width: 100%; padding-top: 8px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
  nav a { min-height: 44px; display: flex; align-items: center; padding-inline: 10px; }
  .hero-photo { inset: auto 0 0; height: 51%; }
  .hero::after { background: linear-gradient(180deg, var(--dark) 50%, #091630f7 54%, #09163062 66%, transparent 83%); }
  .hero-inner { display: block; min-height: 0; }
  .hero-copy { padding: 44px 0 clamp(235px, 61vw, 320px); }
  h1 { font-size: clamp(2.65rem, 10.1vw, 4.55rem); }
  .hero-lead { margin-block: 16px 21px; }
  .hero-caption { bottom: 10px; }
  .actions { gap: 12px 16px; }
  .section-head { display: grid; gap: 13px; margin-bottom: 23px; }
  .services, .craft-grid, .contact-grid, .steps { grid-template-columns: 1fr; }
  .craft-grid { gap: 24px; }
  .craft figure { order: 2; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 15px; }
  .gallery figure:first-child { grid-column: 1 / -1; }
  .gallery figure:first-child img { aspect-ratio: 1.6; }
  .compare-frame { aspect-ratio: 1.42; }
  .samples { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner p { order: 3; width: 100%; }
}
@media (max-width: 410px) {
  .form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
.menu-icon {
  display: inline-block;
  width: 14px;
  height: 9px;
  border-block: 1px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
}
.weld::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 1.5px solid currentColor;
  transform: rotate(45deg);
}
