/* Omítky M – MIDYANKA s.r.o. | design MESCON v3
   Celá šíře, bez rámečků. Text vždy na pevném podkladu s kontrastem AA. */
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dmsans-var.woff") format("woff");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #5885FA;
  --blue-ink: #2B58DC;
  --blue-soft: #EAF0FF;
  --navy: #101827;
  --navy-2: #18233A;
  --navy-3: #0B111D;
  --white: #FFFFFF;
  --paper: #F4F6F9;
  --paper-2: #E8ECF2;
  --text: #101827;
  --muted: #4A5568;          /* 7.4:1 na bílé */
  --on-dark: #E6EBF4;        /* 14:1 na navy */
  --on-dark-2: #B8C3D6;      /* 9:1 na navy */
  --ok: #1E7F4F;
  --err: #B42318;

  --gutter: clamp(20px, 4.4vw, 88px);
  --sec: clamp(64px, 7vw, 108px);
  --r: 18px;
  --r-lg: 26px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --hdr: 84px;
  --shadow: 0 30px 60px -32px rgba(16,24,39,.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65;
  color: var(--text); background: var(--white); overflow-x: clip;
  font-optical-sizing: auto; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; color: inherit; }
h1 { font-size: clamp(2.5rem, 5.4vw, 5rem); letter-spacing: -0.04em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); letter-spacing: -0.035em; }
h3 { font-size: clamp(1.18rem, 1.4vw, 1.36rem); letter-spacing: -0.02em; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

.wrap { width: 100%; padding: 0 var(--gutter); }
.sec { padding: var(--sec) 0; position: relative; }
.sec--paper { background: var(--paper); }
.sec--navy { background: var(--navy); color: var(--on-dark); }
.sec--navy h2, .sec--navy h3 { color: #fff; }
.sec--flush { padding-bottom: 0; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink); }
.kicker::before { content: ""; width: 30px; height: 3px; border-radius: 2px; background: currentColor; }
.sec--navy .kicker, .on-navy .kicker { color: #9DB6FF; }
.lead { font-size: clamp(1.06rem, 1.3vw, 1.24rem); line-height: 1.6; color: var(--muted); max-width: 58ch; }
.sec--navy .lead, .on-navy .lead { color: var(--on-dark-2); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 20px clamp(32px, 6vw, 112px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head h2 { margin: 0; max-width: 18ch; }
.sec-head .lead { margin: 0; }
.sec-head__aside { justify-self: end; }
.sec-head--flat { margin-bottom: 0; }
.idx { font-size: .85rem; font-weight: 700; letter-spacing: .12em; color: var(--blue-ink); font-variant-numeric: tabular-nums; }

/* Ikony a tlačítka */
.ico { width: 20px; height: 20px; flex: none; }
.btn {
  --bg: var(--blue-ink); --fg: #fff; --hov: var(--navy);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px; border: 0; overflow: hidden; isolation: isolate;
  background: var(--bg); color: var(--fg); font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), color .3s, box-shadow .3s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hov); border-radius: inherit; transform: translateY(101%); transition: transform .45s var(--ease-out); }
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(43,88,220,.7); }
.btn:hover::before { transform: none; }
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico--move { transform: translateX(4px); }
.btn--ghost { --bg: var(--paper); --fg: var(--navy); }
.btn--light { --bg: #fff; --fg: var(--navy); --hov: var(--blue-ink); }
.btn--outline-light { --bg: rgba(255,255,255,.12); --fg: #fff; --hov: #fff; }
.btn--outline-light:hover { color: var(--navy); }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(5px); }

/* Hlavička */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); transition: box-shadow .35s; }
.hdr.is-scrolled { box-shadow: 0 10px 30px -22px rgba(16,24,39,.45); }
.hdr__in { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); height: var(--hdr); }
.hdr__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--blue), var(--blue-ink)); transform-origin: left; transform: scaleX(var(--p, 0)); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 1.24rem; letter-spacing: -.02em; line-height: 1.1; }
.logo__mark { width: auto; height: 52px; transition: transform .5s var(--ease-out); }
.logo:hover .logo__mark { transform: translateY(-2px) rotate(-3deg); }
.logo small { display: block; font-size: .74rem; font-weight: 500; color: var(--muted); letter-spacing: .04em; margin-top: 3px; }
.logo img.logo__custom { height: 48px; width: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav a { position: relative; display: block; padding: 10px 16px; color: var(--navy); text-decoration: none; font-weight: 500; }
.nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--blue-ink); }
.hdr__tel { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: var(--navy); white-space: nowrap; }
.hdr__tel .ico-wrap { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-ink); display: grid; place-items: center; transition: background-color .3s, color .3s; }
.hdr__tel:hover .ico-wrap { background: var(--blue-ink); color: #fff; }
.hdr__tel .ico { width: 18px; height: 18px; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 14px; border: 0; background: var(--paper); color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.burger .ico { width: 24px; height: 24px; }

/* Hero – tmavý podklad, skutečné fotky v mozaice */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 600px at 10% 110%, rgba(88,133,250,.28), transparent 60%), radial-gradient(700px 500px at 60% -10%, rgba(43,88,220,.22), transparent 60%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 4vw, 72px); align-items: center; padding: clamp(48px, 6vw, 96px) var(--gutter) clamp(56px, 6vw, 104px); min-height: min(calc(100svh - var(--hdr)), 920px); }
.hero h1 { color: #fff; margin-bottom: 26px; max-width: 13ch; }
.hero h1 .w { display: inline-block; }
.hero h1 .w--accent { color: #8EAAFF; }
.js .hero h1 .w { opacity: 0; transform: translateY(.4em); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms + 100ms); }
.js .hero h1.is-in .w { opacity: 1; transform: none; }
.hero .kicker { color: #9DB6FF; }
.hero .lead { color: var(--on-dark); margin-bottom: 34px; }
.hero__trust { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); font-weight: 500; font-size: .98rem; }
.hero__trust .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--blue-ink); color: #fff; }
.mosaic { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(440px, 46vw, 680px); }
.mosaic__a { grid-row: 1 / 3; }
.mosaic figure { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-2); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figcaption { position: absolute; left: 12px; bottom: 12px; padding: 7px 13px; border-radius: 999px; background: rgba(11,17,29,.82); color: #fff; font-size: .8rem; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.mosaic__badge { position: absolute; z-index: 2; left: -28px; top: 40px; display: flex; align-items: center; gap: 14px; padding: 16px 22px 16px 16px; border-radius: var(--r); background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.mosaic__badge strong { display: block; font-size: 1.9rem; line-height: 1; letter-spacing: -.04em; }
.mosaic__badge span { font-size: .86rem; color: var(--muted); }
.mosaic__badge .ico-wrap { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft); color: var(--blue-ink); display: grid; place-items: center; }
.js .mosaic figure { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-out); }
.js .mosaic.is-in figure { clip-path: inset(0 0 0 0); }
.js .mosaic.is-in figure:nth-child(2) { transition-delay: .15s; }
.js .mosaic.is-in figure:nth-child(3) { transition-delay: .3s; }

/* Pás výhod */
.usp { background: var(--white); }
.usp__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.usp__item { display: flex; align-items: center; gap: 16px; padding: clamp(24px, 3vw, 40px) clamp(12px, 2vw, 32px) clamp(24px, 3vw, 40px) 0; }
.usp__item .ico-wrap { width: 56px; height: 56px; border-radius: 16px; background: var(--blue-soft); color: var(--blue-ink); display: grid; place-items: center; flex: none; transition: background-color .4s, color .4s, transform .5s var(--ease-out); }
.usp__item:hover .ico-wrap { background: var(--blue-ink); color: #fff; transform: rotate(-6deg); }
.usp__item .ico { width: 26px; height: 26px; }
.usp__item strong { display: block; font-size: 1.05rem; line-height: 1.25; }
.usp__item span { display: block; font-size: .92rem; color: var(--muted); line-height: 1.4; }

/* Služby – karty s fotkou nahoře, text na bílé */
.cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 20px); padding: 0 var(--gutter); }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); color: var(--text); }
.card__img { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--paper-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.card:hover .card__img img { transform: scale(1.07); }
.card__tag { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: #fff; color: var(--navy); }
.card__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 30px 24px 26px; }
.card__ico { position: absolute; top: -28px; right: 20px; width: 56px; height: 56px; border-radius: 16px; background: var(--blue-ink); color: #fff; display: grid; place-items: center; transition: transform .5s var(--ease-out); }
.card:hover .card__ico { transform: rotate(-8deg) scale(1.06); }
.card__ico .ico { width: 24px; height: 24px; }
.card h3 { margin: 0 0 10px; padding-right: 48px; }
.card p { color: var(--muted); font-size: .96rem; margin-bottom: 20px; }
.card .link-arrow { margin-top: auto; color: var(--blue-ink); }
.card:hover .link-arrow .ico { transform: translateX(5px); }

/* Interiér / fasáda – fotka + textový panel */
.duo { display: grid; grid-template-columns: 1fr 1fr; }
.duo__item { display: grid; grid-template-rows: auto 1fr; }
.duo__img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.duo__img img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.duo__label { position: absolute; left: var(--gutter); bottom: 22px; padding: 8px 16px; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: #fff; color: var(--navy); }
.duo__text { padding: clamp(36px, 4vw, 64px) var(--gutter) clamp(48px, 5vw, 80px); }
.duo__item--in .duo__text { background: var(--paper); }
.duo__item--out .duo__text { background: var(--navy); color: var(--on-dark); }
.duo__item--out h2 { color: #fff; }
.duo__item--out .duo__label { background: var(--navy); color: #fff; }
.duo h2 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); }
.duo p { max-width: 48ch; }
.duo__item--in p { color: var(--muted); }
.duo__item--out p { color: var(--on-dark-2); }
.duo__list { list-style: none; margin: 18px 0 0; padding: 0; }
.duo__list a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; text-decoration: none; color: inherit; font-size: clamp(1.05rem, 1.3vw, 1.22rem); font-weight: 600; }
.duo__list li + li a { box-shadow: inset 0 1px 0 rgba(16,24,39,.1); }
.duo__item--out .duo__list li + li a { box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.duo__list a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.duo__list a:hover::after { transform: scaleX(1); }
.duo__list .ico { transition: transform .35s var(--ease); }
.duo__list a:hover .ico { transform: translateX(6px); }
.duo__item--out .duo__list a:hover { color: #fff; }

/* Co je v ceně */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; background: var(--blue-ink); color: #fff; }
.price__img { position: relative; min-height: 420px; overflow: hidden; }
.price__img img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.price__text { padding: var(--sec) var(--gutter) var(--sec) clamp(32px, 6vw, 112px); display: flex; flex-direction: column; justify-content: center; }
.price .kicker { color: #fff; }
.price h2 { color: #fff; }
.price .lead { color: #E3EAFF; }
.price__list { list-style: none; margin: 26px 0 34px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.price__list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; font-size: 1.04rem; line-height: 1.4; }
.price__list .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: #fff; color: var(--blue-ink); margin-top: -1px; }

/* Skladba zateplení – schéma vrstev */
.layers { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 112px); align-items: center; }
.layers__list { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: ly; }
.layers__list li { counter-increment: ly; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 12px 0; align-items: baseline; cursor: default; }
.layers__list li::before { content: "0" counter(ly); font-weight: 700; font-size: .85rem; color: var(--blue-ink); letter-spacing: .08em; }
.layers__list strong { display: block; font-size: 1.06rem; transition: color .3s; }
.layers__list span { color: var(--muted); font-size: .95rem; }
.layers__list li.is-hot strong { color: var(--blue-ink); }
.layers__note { color: var(--muted); font-size: .88rem; margin: 18px 0 26px; }
.stack { position: relative; aspect-ratio: 1 / .78; }
.stack svg { width: 100%; height: 100%; overflow: visible; }
.stack .ly { transition: transform 1.1s var(--ease-out), opacity .9s; }
.js .stack .ly { opacity: 0; transform: translateY(-90px); }
.js .stack.is-in .ly { opacity: 1; transform: none; }
.stack .ly:nth-of-type(1) { transition-delay: .05s; } .stack .ly:nth-of-type(2) { transition-delay: .2s; } .stack .ly:nth-of-type(3) { transition-delay: .35s; }
.stack .ly:nth-of-type(4) { transition-delay: .5s; } .stack .ly:nth-of-type(5) { transition-delay: .65s; } .stack .ly:nth-of-type(6) { transition-delay: .8s; }
.stack .lbl line { stroke: var(--navy); stroke-width: 1; stroke-dasharray: 120; transition: stroke-dashoffset .8s var(--ease-out); }
.stack .lbl text { font: 600 17px var(--font); fill: var(--navy); transition: opacity .6s; }
.stack .lbl circle { fill: var(--blue-ink); transition: opacity .4s; }
.js .stack .lbl line { stroke-dashoffset: 120; }
.js .stack .lbl text, .js .stack .lbl circle { opacity: 0; }
.js .stack.is-in .lbl line { stroke-dashoffset: 0; }
.js .stack.is-in .lbl text, .js .stack.is-in .lbl circle { opacity: 1; }
.stack.is-in .lbl line, .stack.is-in .lbl text, .stack.is-in .lbl circle { transition-delay: calc(1.1s + var(--k, 0) * .12s); }

/* Realizace – mozaika přes celou šíři */
.refs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1vw, 16px); padding: 0 var(--gutter); }
.refs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ref { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r-lg); text-decoration: none; color: #fff; isolation: isolate; background: var(--navy-2); }
.ref__img { position: absolute; inset: 0; z-index: -2; }
.ref__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.ref:hover .ref__img img { transform: scale(1.08); }
.ref::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,17,29,0) 35%, rgba(11,17,29,.6) 62%, rgba(11,17,29,.94) 100%); }
.ref__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2vw, 30px); display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.ref h3 { color: #fff; margin: 0 0 6px; font-size: clamp(1.15rem, 1.4vw, 1.4rem); text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.ref__meta { color: var(--on-dark); font-size: .92rem; line-height: 1.4; }
.ref__count { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: rgba(255,255,255,.95); color: var(--navy); }
.ref__count .ico { width: 15px; height: 15px; }
.ref__more { width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; flex: none; transition: transform .5s var(--ease-out), background-color .3s, color .3s; }
.ref:hover .ref__more { background: var(--blue-ink); color: #fff; transform: rotate(-45deg); }
.empty-photo { position: absolute; inset: 0; display: grid; place-items: center; background: var(--paper-2); }

/* Postup – časová osa */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 56px); position: relative; counter-reset: st; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 31px; height: 2px; background: var(--paper-2); }
.steps::after { content: ""; position: absolute; left: 0; right: 0; top: 31px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--blue-ink)); transform-origin: left; transition: transform 2s var(--ease-out) .2s; }
.js .steps::after { transform: scaleX(0); }
.js .steps.is-in::after { transform: none; }
.step { position: relative; counter-increment: st; padding-top: 92px; }
.step::before { content: "0" counter(st); position: absolute; top: 0; left: 0; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; box-shadow: 0 0 0 8px var(--paper); z-index: 1; }
.js .steps:not(.is-in) .step::before { background: #fff; color: var(--navy); }
.step::before { transition: background-color .5s, color .5s; }
.steps.is-in .step:nth-child(2)::before { transition-delay: .5s; } .steps.is-in .step:nth-child(3)::before { transition-delay: 1s; } .steps.is-in .step:nth-child(4)::before { transition-delay: 1.5s; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; max-width: 34ch; }

/* O firmě */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; background: var(--white); }
.about__img { position: relative; min-height: clamp(460px, 50vw, 760px); overflow: hidden; }
.about__img > img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.about__year { position: absolute; left: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); padding: 22px 26px; border-radius: var(--r); background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.about__year strong { display: block; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -.05em; }
.about__year span { display: block; margin-top: 6px; color: var(--on-dark-2); font-size: .95rem; max-width: 22ch; }
.about__text { padding: var(--sec) var(--gutter) var(--sec) clamp(32px, 6vw, 112px); display: flex; flex-direction: column; justify-content: center; }
.about__text .lead { color: var(--muted); }
.about__company { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px clamp(24px, 3vw, 48px); margin: 32px 0 0; padding: 22px 26px; border-radius: var(--r); background: var(--paper); font-size: .95rem; }
.about__company div { display: flex; flex-direction: column; }
.about__company dt { color: var(--muted); font-size: .82rem; }
.about__company dd { margin: 0; font-weight: 600; }

/* Výzva + formulář */
.cta-sec { position: relative; overflow: hidden; }
.navy-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(900px 500px at 85% 0%, rgba(88,133,250,.22), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(43,88,220,.18), transparent 60%); }
.sec--navy > .wrap { position: relative; }
.cta { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 112px); align-items: start; }
.cta h2 { max-width: 14ch; }
.cta--photo { align-items: stretch; }
.cta__side { display: flex; flex-direction: column; }
.cta__photo { position: relative; flex: 1 1 auto; min-height: 220px; margin: 24px 0 0; max-width: 520px; border-radius: var(--r); overflow: hidden; background: var(--navy-2, #1B2536); }
.cta__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; max-width: 520px; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: var(--r); background: rgba(255,255,255,.08); color: #fff; text-decoration: none; transition: background-color .3s, transform .3s var(--ease); }
.contact-list a:hover { background: rgba(255,255,255,.14); color: #fff; transform: translateX(6px); }
.contact-list .ico-wrap { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-ink); color: #fff; flex: none; }
.contact-list small { display: block; color: var(--on-dark-2); font-size: .84rem; }
.contact-list strong { font-size: 1.12rem; font-weight: 600; word-break: break-word; }

.form-card { background: #fff; color: var(--navy); border-radius: 28px; padding: clamp(26px, 3.4vw, 48px); box-shadow: 0 50px 100px -50px rgba(0,0,0,.6); }
.form-card h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin-bottom: 6px; color: var(--navy); }
.form-card > p { color: var(--muted); margin-bottom: 26px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f { display: flex; flex-direction: column; gap: 8px; }
.f--full { grid-column: 1 / -1; }
.f label { font-weight: 600; font-size: .94rem; color: var(--navy); }
.f label .opt { font-weight: 400; color: var(--muted); }
.f input, .f select, .f textarea { width: 100%; min-height: 56px; padding: 14px 18px; border-radius: 14px; border: 0; background: var(--paper); font: 400 1rem/1.4 var(--font); color: var(--navy); transition: background-color .25s, box-shadow .25s; }
.f input::placeholder, .f textarea::placeholder { color: #6B7587; }
.f textarea { min-height: 136px; resize: vertical; }
.f select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23101827' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 46px; }
.f input:hover, .f select:hover, .f textarea:hover { background-color: var(--paper-2); }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; background-color: #fff; box-shadow: 0 0 0 2px var(--blue), 0 0 0 6px rgba(88,133,250,.18); }
.f [aria-invalid="true"] { background-color: #FDEEEC; box-shadow: 0 0 0 2px var(--err); }
.f__err { color: var(--err); font-size: .86rem; }
.f__err:empty { display: none; }
.f__hint { color: var(--muted); font-size: .86rem; margin: -4px 0 0; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 26px; }
.form-foot p { margin: 0; font-size: .86rem; color: var(--muted); flex: 1 1 260px; }
.form-msg { margin-top: 18px; padding: 16px 20px; border-radius: 14px; font-weight: 500; display: none; }
.form-msg.is-ok { display: block; background: #E9F7EF; color: var(--ok); }
.form-msg.is-err { display: block; background: #FDECEA; color: var(--err); }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* Podstránky – záhlaví: text na navy, fotka vpravo */
.page-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: clamp(360px, 40vw, 540px); background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 500px at 0% 120%, rgba(88,133,250,.25), transparent 60%); }
.page-hero__text { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 6vw, 96px) clamp(24px, 4vw, 64px) clamp(48px, 6vw, 88px) var(--gutter); }
.page-hero__media { position: relative; overflow: hidden; }
.page-hero__media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.6rem); max-width: 15ch; }
.page-hero .kicker { color: #9DB6FF; }
.page-hero .lead { color: var(--on-dark); margin: 0; }
.page-hero--plain { grid-template-columns: 1fr; min-height: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none; margin: 0 0 22px; padding: 0; font-size: .9rem; color: var(--on-dark-2); }
.crumbs a { color: var(--on-dark-2); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); margin-right: 10px; vertical-align: middle; opacity: .7; }

/* Služby – detail */
.svc-nav { position: sticky; top: var(--hdr); z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 10px 24px -22px rgba(16,24,39,.5); }
.svc-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 14px 0; overflow-x: auto; scrollbar-width: none; }
.svc-nav ul::-webkit-scrollbar { display: none; }
.svc-nav a { display: block; white-space: nowrap; padding: 9px 16px; border-radius: 999px; background: var(--paper); text-decoration: none; color: var(--navy); font-size: .93rem; font-weight: 500; transition: background-color .25s, color .25s; }
.svc-nav a:hover { background: var(--paper-2); color: var(--navy); }
.svc-nav a.is-active { background: var(--navy); color: #fff; }
.svc-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; scroll-margin-top: calc(var(--hdr) + 60px); }
.svc-detail:nth-child(even) { background: var(--paper); }
.svc-detail:nth-child(even) .svc-detail__media { order: 2; }
.svc-detail__media { position: relative; min-height: clamp(440px, 46vw, 700px); overflow: hidden; }
.svc-detail__media > img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.svc-detail__body { padding: clamp(48px, 6vw, 112px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.svc-detail:nth-child(odd) .svc-detail__body { padding-left: clamp(32px, 6vw, 112px); }
.svc-detail:nth-child(even) .svc-detail__body { padding-right: clamp(32px, 6vw, 112px); }
.svc-detail__n { margin-bottom: 14px; display: block; }
.svc-detail h2 { font-size: clamp(1.9rem, 3.2vw, 3rem); max-width: 16ch; }
.svc-detail__body > div > p { max-width: 58ch; color: #2D3748; }
.svc-detail__use { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--r); background: var(--blue-soft); margin: 10px 0 24px; max-width: 620px; }
.svc-detail:nth-child(even) .svc-detail__use { background: #fff; }
.svc-detail__use .ico { color: var(--blue-ink); margin-top: 3px; }
.svc-detail__use strong { display: block; font-size: .92rem; margin-bottom: 2px; }
.svc-detail__use p { margin: 0; font-size: .98rem; }
.svc-detail__thumbs { display: flex; gap: 10px; margin: 0 0 28px; }
.svc-detail__thumbs a { width: 92px; height: 92px; border-radius: 14px; overflow: hidden; display: block; }
.svc-detail__thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.svc-detail__thumbs a:hover img { transform: scale(1.1); }

/* Detail realizace */
.rd-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .45fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery a { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; border-radius: var(--r); background: var(--paper); }
.gallery a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.gallery a:hover img { transform: scale(1.05); }
@media (min-width: 1081px) {
  .gallery a:last-child:nth-child(3n+5) { grid-column: span 2; aspect-ratio: auto; }
  .gallery a:last-child:nth-child(3n+4) { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
}
@media (max-width: 1080px) {
  .gallery a:last-child:nth-child(2n):not(:first-child) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}
.rd-side { position: sticky; top: calc(var(--hdr) + 24px); background: var(--paper); border-radius: var(--r-lg); padding: 32px; }
.rd-side dl { margin: 0 0 26px; display: grid; gap: 16px; }
.rd-side dt { font-size: .84rem; color: var(--muted); }
.rd-side dd { margin: 0; font-weight: 600; }
.rd-side .btn-row { flex-direction: column; align-items: flex-start; }
.sec-desc { margin-top: 36px; }
.more-refs { margin-top: var(--sec); }

/* Reference (citace) */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 40px; }
.quote { margin: 0; padding: clamp(28px, 3vw, 44px); background: var(--paper); border-radius: var(--r-lg); }
.quote p { font-size: 1.12rem; }
.quote figcaption { color: var(--muted); font-size: .92rem; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(10,14,24,.95); display: none; align-items: center; justify-content: center; padding: 64px 16px; }
.lb.is-open { display: flex; }
.lb img { max-height: 100%; max-width: 100%; border-radius: 8px; object-fit: contain; }
.lb button { position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb button:hover { background: rgba(255,255,255,.28); }
.lb button .ico { width: 24px; height: 24px; }
.lb__close { top: 16px; right: 16px; }
.lb__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: var(--on-dark); font-size: .92rem; }

/* Kontakt */
.kontakt { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.kontakt__side { position: relative; background: var(--navy); color: var(--on-dark); padding: var(--sec) clamp(32px, 5vw, 96px) var(--sec) var(--gutter); overflow: hidden; }
.kontakt__side h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.8rem); position: relative; }
.kontakt__side > div { position: relative; }
.kontakt__form { background: var(--paper); padding: var(--sec) var(--gutter) var(--sec) clamp(32px, 5vw, 96px); }
.kontakt__form .form-card { box-shadow: none; max-width: 820px; }
.firm-box { margin-top: 32px; padding: 24px 26px; border-radius: var(--r); background: rgba(255,255,255,.06); font-size: .96rem; }
.firm-box h3 { font-size: 1.05rem; color: #fff; }
.firm-box p { margin: 0 0 4px; color: var(--on-dark-2); }
.firm-box strong { color: #fff; }
.kontakt__side > .kontakt__stack { display: flex; flex-direction: column; height: 100%; }
.kontakt__photo { position: relative; flex: 1 1 auto; min-height: 240px; margin: 24px 0 0; border-radius: var(--r); overflow: hidden; background: rgba(255,255,255,.06); }
.kontakt__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Právní text */
.legal-grid { display: grid; grid-template-columns: minmax(0, 780px) minmax(260px, 360px); justify-content: space-between; gap: clamp(32px, 5vw, 96px); align-items: start; }
.legal-aside { position: sticky; top: calc(var(--hdr) + 24px); margin-top: 2em; padding: 28px; border-radius: var(--r); background: var(--navy); color: var(--on-dark-2); font-size: .96rem; }
.legal-aside h2 { color: #fff; font-size: 1.25rem; margin: 0 0 12px; letter-spacing: -.01em; }
.legal-aside p { margin: 0 0 6px; }
.legal-aside strong { color: #fff; }
.legal-aside a:not(.btn) { color: #fff; }
.legal-aside .btn { margin-top: 18px; }
.legal { max-width: 780px; }
.legal h2 { font-size: 1.6rem; margin-top: 2em; letter-spacing: -.02em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }

/* Patička */
.ftr { position: relative; background: var(--navy-3); color: var(--on-dark-2); padding: clamp(64px, 7vw, 104px) 0 0; font-size: .96rem; overflow: hidden; }
.ftr a { color: var(--on-dark); text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; align-items: end; padding-bottom: clamp(48px, 5vw, 80px); }
.ftr__top h2 { color: #fff; margin: 0; max-width: 16ch; font-size: clamp(2rem, 3.8vw, 3.4rem); }
.ftr__top .btn-row { justify-content: flex-end; }
.ftr__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr; gap: 40px; padding: clamp(40px, 5vw, 64px) 0; position: relative; }
.ftr__grid::before, .ftr__bar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255,255,255,.1); }
.ftr--nocta { padding-top: 8px; }
.ftr--nocta .ftr__grid::before { display: none; }
.ftr__logo { width: 120px; height: auto; margin-bottom: 18px; }
.ftr h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr__bar { position: relative; padding: 24px 0 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; font-size: .88rem; }
.ftr__bar ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.mescon { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark-2) !important; }
.mescon b { color: #fff; letter-spacing: .08em; font-weight: 700; }

.mbar { display: none; }

/* Animace při zobrazení */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }
/* Odkrytí obrázku: ořez se aplikuje na obsah, ne na sledovaný kontejner (jinak by se animace nespustila) */
.js .rv-wipe > * { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.js .rv-wipe.is-in > * { clip-path: inset(0 0 0 0); }
.js .rv-wipe--x > * { clip-path: inset(0 100% 0 0); }
.js .rv-wipe--x.is-in > * { clip-path: inset(0 0 0 0); }
[data-d="1"] { --d: .08s; } [data-d="2"] { --d: .16s; } [data-d="3"] { --d: .24s; } [data-d="4"] { --d: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .rv, .js .hero h1 .w, .js .stack .ly { opacity: 1; transform: none; }
  .js .rv-wipe > *, .js .mosaic figure { clip-path: none; }
  .js .stack .lbl line { stroke-dashoffset: 0; }
  .js .stack .lbl text, .js .stack .lbl circle { opacity: 1; }
  .js .steps::after { transform: none; }
  [data-parallax] { transform: none !important; }
}

/* Responzivita */
@media (min-width: 1700px) { body { font-size: 18px; } }
@media (max-width: 1280px) {
  .cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .card { grid-column: span 2; }
  .card:nth-child(4), .card:nth-child(5) { grid-column: span 3; }
  .card:nth-child(4) .card__img, .card:nth-child(5) .card__img { aspect-ratio: 16 / 10; }
  .usp__in { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1080px) {
  .hdr__tel span { display: none; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .refs { grid-template-columns: repeat(2, 1fr); }
  .layers { grid-template-columns: 1fr; }
  .stack .lbl { display: none; }
  .stack { max-width: 640px; }
  .price__list { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --hdr: 70px; }
  body { font-size: 16px; }
  .logo__mark { height: 44px; }
  .burger { display: inline-flex; }
  .hdr { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .hdr__tel, .hdr__cta { display: none; }
  .nav { position: fixed; inset: var(--hdr) 0 0; background: #fff; margin: 0; padding: 20px var(--gutter) 120px; transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease-out), visibility 0s .45s; overflow-y: auto; }
  .nav.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease-out); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; padding: 18px 0; }
  .nav a::after { left: 0; right: auto; width: 40px; bottom: 8px; }
  .nav__extra { display: grid !important; gap: 10px; margin-top: 28px; }
  .hero__grid, .page-hero, .duo, .about, .price, .cta, .kontakt, .rd-grid, .svc-detail, .sec-head, .ftr__top, .legal-grid { grid-template-columns: 1fr; }
  .legal-aside { position: static; margin-top: 0; }
  .hero__grid { min-height: 0; padding-top: 40px; }
  .mosaic { height: 420px; }
  .mosaic__badge { left: 12px; top: auto; bottom: 12px; padding: 12px 16px 12px 12px; }
  .mosaic__badge strong { font-size: 1.5rem; }
  .page-hero__media { min-height: 240px; order: -1; }
  .sec-head__aside { justify-self: start; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card, .card:nth-child(4) { grid-column: span 1; }
  .card:nth-child(5) { grid-column: 1 / -1; }
  .card__img, .card:nth-child(4) .card__img { aspect-ratio: 4 / 3.4; }
  .price__img { min-height: 300px; }
  .price__text, .about__text { padding: 64px var(--gutter); }
  .about__img { min-height: 400px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps::before, .steps::after { display: none; }
  .svc-detail:nth-child(even) .svc-detail__media { order: 0; }
  .svc-detail__media { min-height: 340px; }
  .svc-detail .svc-detail__body { padding: 48px var(--gutter) 64px; }
  .rd-side { position: static; }
  .quotes { grid-template-columns: 1fr; }
  .kontakt__side, .kontakt__form { padding: 64px var(--gutter); }
  .ftr__top .btn-row { justify-content: flex-start; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); box-shadow: 0 -10px 30px -20px rgba(16,24,39,.5); }
  .mbar .btn { min-height: 52px; padding: 0 12px; }
  body { padding-bottom: 76px; }
}
@media (max-width: 600px) {
  .usp__in { grid-template-columns: 1fr; }
  .usp__item { padding: 18px 0; }
  .usp__item + .usp__item { box-shadow: inset 0 1px 0 var(--paper-2); }
  .cards { grid-template-columns: 1fr; }
  .card:nth-child(5) { grid-column: auto; }
  .refs, .refs--3, .steps, .fgrid { grid-template-columns: 1fr; }
  .ref { aspect-ratio: 4 / 4.2; }
  .ftr__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero__trust { gap: 10px 20px; }
  .mosaic { height: 360px; gap: 8px; }
  .mosaic figcaption { display: none; }
  .about__company { grid-template-columns: 1fr; gap: 10px; }
  .gallery a:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 3 / 4; }
  .svc-detail__thumbs a { width: 72px; height: 72px; }
}
.nav__extra { display: none; }
.empty-photo__m { opacity: .15; width: 60px; height: auto; }
/* Tlačítka mají vždy vlastní barvu textu, i uvnitř patičky a menu */
.ftr a.btn, .nav a.btn, .ftr a.btn:hover { color: var(--fg); text-decoration: none; }
.ftr a.btn:hover, .nav a.btn:hover { color: #fff; }
.ftr a.btn--outline-light:hover { color: var(--navy); }
.nav a.btn { padding: 0 28px; font-size: 1rem; letter-spacing: 0; display: inline-flex; }
.nav a.btn::after { display: none; }
