:root {
  --bg: #121726;
  --bg-card: #181e2f;
  --line: rgba(255, 255, 255, .10);
  --text: #f2f4f8;
  --muted: #b4bbcd;
  --accent-rgb: 91, 168, 255;
  --bluesh: #f4f4f5; /* hlavní barva (dřív oranžová) – přejmenováno jen z pohodlí, mění se zde i v --accent-rgb */
  --blue-soft: rgba(var(--accent-rgb), .14);
  --code: #7db8f7;
  --green: #22c55e;
  --blue: #22d3ee;
  --pink: #b8407a;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.container { width: min(1104px, 100% - 48px); margin-inline: auto; }

/* Header */
.header { position: sticky; top: 0; z-index: 10; padding: 14px 0; background: linear-gradient(rgb(8, 12, 17) 100%, transparent); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; }
.logo img { display: block; height: 44px; width: auto; }
.nav { display: flex; gap: 36px; margin-left: auto; font-size: 15px; font-weight: 500; color: #d3d8e3; }
.nav a:hover { color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 88px 0 72px; }
/* Jemná fotka obrábění v pozadí – ladění: opacity */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("hero-bg\ kopie.jpg"); background-size:cover;background-repeat: no-repeat; background-position: center; height: 100%;
  opacity: .5;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18, 23, 38, .72) 1%, rgba(18, 23, 38, .35) 55%, transparent 100%),
    radial-gradient(circle at 1% 1%, rgba(var(--accent-rgb), .12), transparent 1%),
    radial-gradient(1px 1px at 12% 1%, rgba(255,255,255,.35), transparent),
    radial-gradient(1px 1px at 55% 1%, rgba(255,255,255,.25), transparent),
    radial-gradient(1px 1px at 88% 1%, rgba(255,255,255,.3), transparent),
    radial-gradient(1px 1px at 30% 1%, rgba(255,255,255,.2), transparent);
}
.hero .container { position: relative; }


.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }
.dot--green { background: var(--green); }
.dot--pulse { width: 9px; height: 9px; box-shadow: 0 0 6px 1px rgba(34, 197, 94, .7); animation: dot-glow 2s ease-in-out infinite; }
@keyframes dot-glow {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px 1px rgba(34, 197, 94, .7), 0 0 14px 3px rgba(34, 197, 94, .35); }
  50% { opacity: .55; box-shadow: 0 0 3px 0 rgba(34, 197, 94, .35), 0 0 6px 1px rgba(34, 197, 94, .15); }
}
@media (prefers-reduced-motion: reduce) { .dot--pulse { animation: none; } }
.dot--orange { background: var(--bluesh); }
.dot--blue { background: var(--blue); }

.hero__title { margin: 0; font-size: clamp(40px, 6vw, 72px); line-height: 1.12; font-weight: 600; letter-spacing: -.045em; }
.hero__title .accent { display: block; color: var(--bluesh); }
.hero__lead { max-width: 700px; margin: 32px 0 0; font-size: 18px; line-height: 1.6; color: var(--muted); }

.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px; border-radius: 8px; font-size: 15px; font-weight: 600; transition: transform .15s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--bluesh); color: #06101f; }
.btn--primary:hover { background: #7bbaff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .06); }

.stats { display: flex; flex-wrap: wrap; gap: 20px 40px; margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); font-size: 15px; color: #bcc2d2; }
.stats li { display: flex; align-items: center; gap: 10px; }

.card__icon { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 20px; border-radius: 8px; background: var(--bluesh); }
.card__icon svg { width: 18px; height: 18px; fill: none; stroke: #0b0e17; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Responsive */
@media (max-width: 1000px) { .nav { gap: 22px; } }
@media (max-width: 720px) {
  .nav { display: none; }
  .hero { padding-top: 48px; }
  .hero__lead { font-size: 17px; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* O nás */
.about { padding: 72px 0 104px; border-top: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: stretch; }
.about__bar { display: block; width: 60px; height: 3px; margin-bottom: 28px; background: linear-gradient(90deg, var(--bluesh), transparent); }
.about__title { margin: 0 0 32px; font-size: 40px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.about__lead { margin: 0 0 20px; font-size: 18px; font-weight: 500; }
.accent-text { color: var(--bluesh); font-weight: 600; }
.about__text p { max-width: 540px; margin: 0 0 20px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.about__text .about__lead { color: var(--text); }
.about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 36px; }
.place { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-card); }
.place__icon, .place__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: rgba(var(--accent-rgb), .16); }
.place__icon svg { width: 16px; height: 16px; fill: none; stroke: var(--bluesh); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.place__text { display: flex; flex-direction: column; line-height: 1.3; }
.place__text strong { font-size: 13px; font-weight: 600; }
.place__text small { font-size: 12px; color: var(--muted); }
.btn--sm { height: 48px; padding: 0 20px; }

.about__media { display: flex; flex-direction: column; gap: 20px; min-height: 100%; }
.photo {
  flex: 1; min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  border: 1px dashed rgba(255, 255, 255, .18); border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), .06), transparent 60%),
    var(--bg-card);
  color: var(--muted); font-size: 14px; text-align: center; padding: 24px;
}
.photo svg { width: 44px; height: 44px; fill: none; stroke: var(--bluesh); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
/* Až budeš mít fotku: <img class="photo__img" src="..." alt="..."> místo .photo */
.photo__img { width: 100%; flex: 1; min-height: 360px; object-fit: cover; border: 1px solid var(--line); border-radius: 16px; }


@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .photo { min-height: 260px; }
}

/* Footer */
.footer { padding: 56px 0 28px; background: #0e121d; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; }
.logo--lg img { height: 64px; }
.footer__brand p { max-width: 260px; margin: 28px 0 24px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.footer__contact { display: grid; gap: 10px; font-size: 15px; color: var(--muted); }
.footer__contact li { display: flex; align-items: center; gap: 10px; }
.footer__contact svg, .footer__address svg { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer__contact a:hover, .footer__links a:hover, .footer__bottom a:hover { color: var(--text); }

.footer__col h4 { margin: 4px 0 20px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #bcc2d2; }
.footer__address { display: flex; gap: 14px; font-style: normal; font-size: 15px; line-height: 1.5; color: var(--muted); }
.footer__address svg { margin-top: 3px; color: var(--bluesh); }
.footer__ids { margin: 18px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); }

.footer__links { display: grid; gap: 14px; font-size: 15px; color: var(--muted); }

.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__bottom p { margin: 0; display: flex; gap: 24px; align-items: center; }
.footer__bottom a { display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 36px; } .footer__brand p { max-width: none; } }

/* Strojní vybavení */
.equip { padding: 72px 0 20px; border-top: 1px solid var(--line); }
.equip2 { padding: 0px 0 96px; border-top: 1px solid var(--line); }
.equip__head { text-align: center; margin-bottom: 64px; }
.equip__head h2 { margin: 0 0 16px; font-size: 40px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.equip__head p { margin: 0; font-size: 16px; color: var(--muted); }

.equip__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
.panel { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-card); align-self: stretch; }
.panel__title { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; font-size: 18px; font-weight: 600; }
.panel__title .card__icon { width: 40px; height: 40px; margin: 0; border-radius: 10px; }

.machines { display: grid; gap: 16px; }
.machine { display: grid; grid-template-columns: 36% 1fr; overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .03); }
.machine__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.machine__row strong { font-size: 16px; font-weight: 600; }
.machine__size { font-size: 14px; font-weight: 600; color: var(--bluesh); white-space: nowrap; }
.machine p { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }

.checks { display: grid; gap: 16px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px;
  border: 1.5px solid var(--bluesh); border-radius: 50%;
}
.checks li::after {
  content: ""; position: absolute; left: 5px; top: 7px; width: 6px; height: 3px;
  border-left: 1.5px solid var(--bluesh); border-bottom: 1.5px solid var(--bluesh); transform: rotate(-45deg);
}

@media (max-width: 1000px) { .equip__grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .equip__head h2 { font-size: 32px; }
}

/* Naše služby */
.services { padding: 30px 0 96px; border-top: 1px solid var(--line); background-color: #080c11; background-image:url(sluzbybg.jpg);}
.services__head { margin-bottom: 56px; }
.services__head h2 { margin: 0 0 16px; font-size: 40px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.services__head p { margin: 0; font-size: 18px; color: var(--muted); }

.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.services__grid2 { display: grid; grid-template-columns: repeat(1, 1fr); gap: 24px; }
.services__grid3 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service2 {display:grid; grid-template-columns: repeat(2,1fr); height: 350px;position: relative; isolation: isolate; overflow: hidden; padding: 36px 28px 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-card); }
.service3 { grid-template-columns: repeat(2,1fr); height: 350px;position: relative; isolation: isolate; overflow: hidden; padding: 36px 28px 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-card); }
.service { height: 500px;position: relative; isolation: isolate; overflow: hidden; padding: 36px 28px 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-card); }
.service--featured2 { border-color: rgba(var(--accent-rgb), .3); background: linear-gradient(150deg, rgba(var(--accent-rgb), .05) 0%, transparent 45%, rgba(var(--accent-rgb), .09) 100%), var(--bg-card); }
.service--featured { border-color: rgba(var(--accent-rgb), .3); background: linear-gradient(150deg, rgba(var(--accent-rgb), .05) 0%, transparent 45%, rgba(var(--accent-rgb), .09) 100%), var(--bg-card); }
.service__num { position: absolute; top: 20px; right: 24px; font-size: 36px; font-weight: 700; letter-spacing: -.02em; color: rgba(255, 255, 255, .07); }
.service h3 { margin: 0 0 14px; font-size: 30px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.service__lead { margin: 0 0 24px; font-size: 16px; line-height: 1.7; color: var(--muted); }

.ticks { display: grid; gap: 14px; font-size: 15.5px; font-weight: 600; line-height: 1.45; color: var(--text); }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 3px; top: 6px; width: 10px; height: 6px;
  border-left: 2px solid var(--bluesh); border-bottom: 2px solid var(--bluesh); transform: rotate(-45deg);
}

@media (max-width: 1000px) { .services__grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .services__head h2 { font-size: 32px; } }

/* Kontakt */
.contact { padding: 72px 0 96px; border-top: 1px solid var(--line); }
.contact__card { display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-card); }
.contact h2 { margin: 0 0 16px; font-size: 40px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.contact__sub { margin: 0 0 32px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.contact__form-wrap { padding: 48px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; color: #bcc2d2; }
.req { color: var(--bluesh); }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px;
  background: rgba(255, 255, 255, .04); color: var(--text); font: 400 15px var(--font);
  transition: border-color .15s, background .15s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #7c8397; }
.field input:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--bluesh); background: rgba(var(--accent-rgb), .05); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18); }
.form .btn { cursor: pointer; border: 0; font-family: var(--font); }

.contact__info { padding: 48px; border-left: 1px solid var(--line); background: linear-gradient(160deg, rgba(var(--accent-rgb), .08), transparent 55%), #0f1423; }
.info li { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.info li:first-child { padding-top: 0; }
.info__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(var(--accent-rgb), .16); }
.info__icon svg { width: 18px; height: 18px; fill: none; stroke: var(--bluesh); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.info a, .info address { display: block; font-style: normal; font-size: 15px; line-height: 1.7; color: #ccd1de; }
.info a:hover { color: #fff; }

@media (max-width: 1000px) {
  .contact__card { grid-template-columns: 1fr; }
  .contact__info { order: -1; border-left: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .contact h2 { font-size: 32px; }
  .contact__form-wrap, .contact__info { padding: 28px 20px; }
  .form { grid-template-columns: 1fr; }
}

/* Strojní vybavení – doplňky */
.machine--soon { border-style: dashed; }
.machine__tag { display: inline-block; margin-top: 10px; padding: 3px 10px; border: 1px solid rgba(var(--accent-rgb), .4); border-radius: 999px; background: rgba(var(--accent-rgb), .12); font-size: 12px; font-weight: 600; color: var(--bluesh); }

.info__text { display: block; font-size: 15px; line-height: 1.7; color: #ccd1de; }

.about__text .about__note { margin-top: 24px; font-size: 13px; line-height: 1.6; color: #8f96a9; }

/* Obrázek na pozadí karty služby – vpravo, směrem doleva mizí do 0 % */
.service::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; z-index: -1; width: 65%;
  background: var(--service-img, none) center / cover no-repeat;
  opacity: 50%; pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, #000 0%, transparent 100%);
  mask-image: linear-gradient(to left, #000 0%, transparent 100%);
}
.service2::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; z-index: -1; width: 65%;
  background: var(--service-img, none) center / cover no-repeat;
  opacity: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, #000 0%, transparent 100%);
  mask-image: linear-gradient(to left, #000 0%, transparent 100%);
}
.service3::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; z-index: -1; width: 65%;
  background: var(--service-img, none) center / cover no-repeat;
  opacity: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, #000 0%, transparent 100%);
  mask-image: linear-gradient(to left, #000 0%, transparent 100%);
}

/* Rozvoj dílny / dotace */
.project { padding: 22px 0 22px; border-top: 1px solid var(--line);background-color: #f8f8f8;color: var(--bg); }
.project__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items:center; justify-content: center; }
.project__text p { max-width: 540px; margin: 0 0 20px; font-size: 16px; line-height: 1.4; color: var(--bg); font-weight: 200; }
.project__text .about__lead { color: var(--text); ; font-weight: 500; color: var(--bg);}
.project__title { font-weight:700; color: var(--bg);font-size: 44px;margin: 10px; margin-left: 0px;}

.project__photos { display: grid;}
.project__photos .photo { min-height: 180px; padding: 16px; }
.project__photos .photo__img { min-height: 180px; height: 100%; }
@media (max-width: 480px) { .project__photos { grid-template-columns: 1fr; }; .project__text p {color:white; }}

@media (max-width: 900px) { .project__grid { grid-template-columns: 1fr; gap: 40px; } }

.equip--conv { border-top: 1px solid var(--line); padding-top: 72px; background-color: #080c11;}
.equip--conv2 { border-top: px solid var(--line); background-color: #080c11;}
.equip__grid--single { grid-template-columns: minmax(0, 560px); justify-content: center; }

/* Stroj: vlevo fotka (zřetelná, plynule mizí doprava), vpravo veškerý text */
.machine__img {
  min-height: 104px;
  background: var(--machine-img, none) center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, #000 35%, transparent 100%);
  mask-image: linear-gradient(to right, #000 35%, transparent 100%);
}
.machine__body { padding: 14px 16px 16px 0; min-width: 0; }
.machine__row { flex-wrap: wrap; row-gap: 2px; }

@media (max-width: 560px) {
  .machine { grid-template-columns: 1fr; }
  .machine__img { min-height: 120px; -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 100%); mask-image: linear-gradient(to bottom, #000 35%, transparent 100%); }
  .machine__body { padding: 0 16px 16px; }
}

/* CNC vybavení: všechny stroje v jednom bloku pod sebou přes celou šířku sekce */
.equip__grid--full { grid-template-columns: 1fr; }
@media (min-width: 561px) {
  .equip__grid--full .panel { padding: 28px; }
  .equip__grid--full .machines { gap: 20px; }
  /* fotka zabírá 50 % šířky bloku, text druhou polovinu */
  .equip__grid--full .machine { grid-template-columns: 1fr 1fr; min-height: 220px; }
  .equip__grid--full .machine__img { min-height: 220px; }
  .equip__grid--full .machine__body { display: flex; flex-direction: column; justify-content: center; padding: 32px 36px 32px 0; padding-left:36px; }
  .equip__grid--full .machine__row strong { font-size: 22px; }
  .equip__grid--full .machine__size { font-size: 16px; }
  .equip__grid--full .machine p { margin-top: 10px; font-size: 15px; }
  .equip__grid--full .machine__tag { align-self: flex-start; }
}

/* Konvenční vybavení: 6 bloků (3 + 3) – fotka nahoře, panel s textem dole */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none;}
.tile { position: relative; overflow: hidden; min-height: 400px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-card);}
.tiles2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding-top: 20px;; list-style: none;}
.tile2 { position: relative; overflow: hidden; min-height: 500px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-card);}
.tiles3 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 0; padding-top: 20px;; list-style: none;}
.tile3 { position: relative; overflow: hidden; min-height: 500px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-card);}
.tile__img { position: absolute; inset: 0; background: var(--tile-img, none) var(--tile-pos, center) / cover no-repeat; transition: transform .5s ease; }
.tile:hover .tile__img { transform: scale(1.04); }
.tile__panel {
  position: absolute; left: 0; right: 0; bottom: 0; min-height: 128px; padding: 22px 24px 24px; border-top: 1px solid rgba(var(--accent-rgb), .45); min-height: 200px;;
  background: linear-gradient(180deg, rgba(18, 23, 38, .80), rgba(18, 23, 38, .95));
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.tile__text h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; letter-spacing: .05em; line-height: 1.3; text-transform: uppercase; }
.tile__text p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } .tile { aspect-ratio: 4 / 3.7; } }
@media (prefers-reduced-motion: reduce) { .tile__img { transition: none; } .tile:hover .tile__img { transform: none; } }

@media (max-width: 720px) { .service h3 { font-size: 26px; } }

/* Galerie: nekonečný pomalý karusel */
.gallery { padding: 72px 0 96px; border-top: 1px solid var(--line); overflow: hidden; }
.gal { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); }
.gal__track { display: flex; width: max-content; animation: gal-scroll 80s linear infinite; }
.gal:hover .gal__track { animation-play-state: paused; }
.gal__set { display: flex; flex: none; }
.gal__item { flex: none; height: 360px; min-height: 0; margin-right: 20px; padding: 16px; object-fit: cover; }
img.gal__item { padding: 0; border: 1px solid var(--line); border-radius: 16px; }
@keyframes gal-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 720px) { .gal__item { height: 300px; } .gal__track { animation-duration: 60s; } }
@media (prefers-reduced-motion: reduce) {
  .gal { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .gal__track { animation: none; }
  .gal__set[aria-hidden="true"] { display: none; }
}
