/* ==========================================================================
   PO STAV – Jan Poláček
   Barevnost: #007685 (firemní tyrkysová), bílá, černá
   ========================================================================== */

:root{
  /* značka */
  --teal:        #007685;
  --teal-dark:   #005B67;
  --teal-darker: #00464F;
  --teal-light:  #00A0B4;
  --teal-wash:   #E8F2F4;
  --teal-wash-2: #F3F8F9;

  /* neutrály */
  --ink:      #0E1113;
  --ink-2:    #171C1F;
  --ink-3:    #22292D;
  --body:     #3E4A50;
  --muted:    #667780;
  --line:     #E2E8EA;
  --line-2:   #EDF1F2;
  --white:    #FFFFFF;
  --paper:    #F6F8F9;

  /* rozměry */
  --wrap:     1200px;
  --gut:      24px;
  --r-sm:     10px;
  --r:        16px;
  --r-lg:     22px;

  --shadow:    0 2px 4px rgba(14,17,19,.04), 0 12px 28px rgba(14,17,19,.07);
  --shadow-lg: 0 4px 8px rgba(14,17,19,.05), 0 24px 60px rgba(14,17,19,.13);

  --font:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --disp:  'Barlow Condensed', 'Arial Narrow', 'Inter', sans-serif;

  --head-h: 84px;
}

/* ---------- reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font);
  font-size:17px;
  line-height:1.65;
  color:var(--body);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; }
h1,h2,h3{ color:var(--ink); margin:0; line-height:1.08; letter-spacing:-.015em; }
p{ margin:0; }
ul,ol{ margin:0; padding:0; list-style:none; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.01ms !important; transition-duration:.01ms !important; }
}

::selection{ background:var(--teal); color:#fff; }

:focus-visible{
  outline:3px solid var(--teal-light);
  outline-offset:3px;
  border-radius:4px;
}

.skip-link{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--teal); color:#fff; padding:12px 20px; font-weight:600;
}
.skip-link:focus{ left:12px; top:12px; }

/* ---------- layout ---------- */
.wrap{ width:100%; max-width:var(--wrap); margin-inline:auto; padding-inline:var(--gut); }

.section{ padding:104px 0; }
.section--tight{ padding:88px 0; }
.section--muted{ background:var(--paper); }
.section--dark{ background:var(--ink); color:#B9C6CC; }

/* ---------- typografie ---------- */
h1{ font-size:clamp(2.5rem, 6.2vw, 4.35rem); font-weight:800; letter-spacing:-.03em; }
h2{ font-size:clamp(1.95rem, 3.9vw, 3rem); font-weight:800; letter-spacing:-.025em; }
h3{ font-size:1.24rem; font-weight:700; letter-spacing:-.01em; }

.hl{ color:var(--teal); }
.section--dark .hl{ color:var(--teal-light); }

.lead{ font-size:1.11rem; line-height:1.72; color:var(--body); }
.lead--light{ color:#A9B8BF; }

.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-size:.775rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:var(--teal); margin-bottom:18px;
}
.eyebrow--light{ color:var(--teal-light); }
.dot{ width:7px; height:7px; border-radius:50%; background:currentColor; flex:none; }

.shead{ max-width:660px; margin-bottom:56px; }
.shead__sub{ margin-top:18px; font-size:1.08rem; color:var(--muted); line-height:1.7; }
.section--dark .shead__sub{ color:#8FA1A9; }

/* ---------- ikony ---------- */
svg{ fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }

/* ---------- tlačítka ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:13px 24px; border-radius:var(--r-sm); border:2px solid transparent;
  font-weight:650; font-size:.97rem; letter-spacing:.005em; cursor:pointer;
  transition:background .18s ease, color .18s ease, border-color .18s ease,
             transform .18s ease, box-shadow .18s ease;
  white-space:nowrap;
}
.btn svg{ width:18px; height:18px; stroke-width:2; flex:none; }
.btn--lg{ padding:16px 30px; font-size:1.02rem; }
.btn--full{ width:100%; }

.btn--primary{ background:var(--teal); color:#fff; box-shadow:0 8px 20px rgba(0,118,133,.24); }
.btn--primary:hover{ background:var(--teal-dark); transform:translateY(-2px); box-shadow:0 12px 26px rgba(0,118,133,.32); }

.btn--ghost{ background:var(--white); color:var(--ink); border-color:var(--line); }
.btn--ghost:hover{ border-color:var(--teal); color:var(--teal); transform:translateY(-2px); }

.btn--outline{ background:transparent; color:#fff; border-color:rgba(255,255,255,.34); }
.btn--outline:hover{ border-color:#fff; background:rgba(255,255,255,.1); transform:translateY(-2px); }

.btn--white{ background:#fff; color:var(--teal-darker); }
.btn--white:hover{ transform:translateY(-2px); box-shadow:0 12px 26px rgba(0,0,0,.18); }

.btn--quiet{ background:transparent; color:var(--ink); border-color:transparent; padding:10px 12px; }
.btn--quiet:hover{ color:var(--teal); }

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar{ background:var(--ink); color:#93A4AC; font-size:.845rem; }
.topbar__in{ display:flex; align-items:center; gap:26px; min-height:42px; }
.topbar__spacer{ flex:1; }
.topbar__item{ display:inline-flex; align-items:center; gap:8px; transition:color .18s ease; }
.topbar__item svg{ width:15px; height:15px; stroke-width:1.8; color:var(--teal-light); flex:none; }
a.topbar__item:hover{ color:#fff; }
.topbar__item--strong{ color:#fff; font-weight:650; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,.94);
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line-2);
  transition:box-shadow .22s ease;
}
.header.is-stuck{ box-shadow:0 6px 22px rgba(14,17,19,.09); }
.header__in{ display:flex; align-items:center; justify-content:space-between; gap:22px; min-height:var(--head-h); }

/* logo je dvouřádkové (PO STAV + JAN POLÁČEK), proto vyšší než u jednořádkových značek */
.brand img{ width:auto; height:58px; }

.nav{ display:flex; align-items:center; gap:34px; }
.nav__list{ display:flex; align-items:center; gap:30px; }
.nav__list a{
  position:relative; font-size:.96rem; font-weight:550; color:var(--ink-3);
  padding:6px 0; transition:color .18s ease;
}
.nav__list a::after{
  content:''; position:absolute; left:0; bottom:0; width:0; height:2px;
  background:var(--teal); transition:width .22s ease;
}
.nav__list a:hover{ color:var(--teal); }
.nav__list a:hover::after{ width:100%; }

/* burger */
.burger{
  display:none; width:46px; height:46px; border:1px solid var(--line); border-radius:var(--r-sm);
  background:#fff; cursor:pointer; padding:0;
  /* flex, ne grid – u gridu se řádky roztáhnou a příčky by na sebe při
     přepnutí na křížek nesedly */
  flex-direction:column; align-items:center; justify-content:center;
}
.burger span{
  display:block; width:20px; height:2px; background:var(--ink); border-radius:2px;
  transition:transform .25s ease, opacity .2s ease;
}
.burger span + span{ margin-top:5px; }
.burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.burger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{ position:relative; overflow:hidden; background:var(--white); }
.hero__bg{
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(760px 520px at 88% -8%, rgba(0,118,133,.13), transparent 62%),
    radial-gradient(560px 420px at 4% 106%, rgba(0,118,133,.07), transparent 60%);
}
.hero__bg::after{
  content:''; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(14,17,19,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,17,19,.032) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(760px 520px at 76% 26%, #000, transparent 74%);
  -webkit-mask-image:radial-gradient(760px 520px at 76% 26%, #000, transparent 74%);
}
.hero__in{
  position:relative; z-index:1;
  display:grid; grid-template-columns:1.05fr .95fr; gap:64px; align-items:center;
  padding:44px 24px 48px;
}
.hero__copy h1{ margin-bottom:26px; }
.hero__copy .lead{ max-width:34rem; }
.hero__actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:30px; }


/* obrázek */
.hero__media{ position:relative; }
.shot{
  margin:0; border-radius:var(--r-lg); overflow:hidden;
  box-shadow:var(--shadow-lg); background:var(--ink);
  transform:rotate(.6deg);
}
.shot img{ width:100%; }
.shot figcaption{
  padding:13px 20px; font-size:.83rem; font-weight:600; letter-spacing:.03em;
  color:#9FB0B7; background:var(--ink); text-transform:uppercase;
}
.shot--dark{ transform:none; }

.chip{
  position:absolute; z-index:2;
  background:#fff; border-radius:14px; padding:14px 20px;
  box-shadow:var(--shadow); border:1px solid var(--line-2);
  display:flex; flex-direction:column; line-height:1.2;
}
.chip strong{ font-family:var(--disp); font-size:1.85rem; font-weight:700; color:var(--teal); letter-spacing:.01em; }
.chip span{ font-size:.76rem; font-weight:600; color:var(--muted); text-transform:uppercase; letter-spacing:.07em; }
.chip--a{ top:-26px; left:-26px; }
.chip--b{ bottom:-24px; right:-20px; }

/* ==========================================================================
   TŘI HLAVNÍ VOLBY (rozcestník pod hero)
   ========================================================================== */
.volby{ background:var(--paper); border-block:1px solid var(--line-2); padding:34px 0 56px; }
.volby__nadpis{
  font-size:.8rem; font-weight:700; letter-spacing:.15em; text-transform:uppercase;
  color:var(--muted); text-align:center; margin-bottom:26px;
}
.volby__in{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }

.volba{
  position:relative; display:flex; flex-direction:column;
  background:#fff; border:1px solid var(--line); border-radius:var(--r);
  padding:38px 32px 32px; overflow:hidden;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
/* tenký tyrkysový proužek nahoře, který se na hover roztáhne */
.volba::before{
  content:''; position:absolute; top:0; left:0; right:0; height:4px;
  background:var(--teal); transform:scaleX(0); transform-origin:0 50%;
  transition:transform .3s ease;
}
.volba:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:transparent; }
.volba:hover::before{ transform:scaleX(1); }

.volba__ico{
  width:60px; height:60px; border-radius:16px; display:grid; place-items:center;
  background:var(--teal-wash); color:var(--teal); margin-bottom:22px;
  transition:background .22s ease, color .22s ease;
}
.volba__ico svg{ width:29px; height:29px; }
.volba:hover .volba__ico{ background:var(--teal); color:#fff; }

.volba h3{ font-size:1.62rem; font-weight:800; letter-spacing:-.02em; margin-bottom:10px; }
.volba > p{ color:var(--muted); font-size:.98rem; margin-bottom:22px; }

.volba__go{
  margin-top:auto; display:inline-flex; align-items:center; gap:8px;
  font-size:.94rem; font-weight:650; color:var(--teal);
}
.volba__go svg{ width:17px; height:17px; stroke-width:2.2; transition:transform .2s ease; }
.volba:hover .volba__go svg{ transform:translateX(5px); }

.volba--accent{ border-color:rgba(0,118,133,.32); background:linear-gradient(180deg, var(--teal-wash-2), #fff 48%); }
.volba__stuha{
  position:absolute; top:18px; right:18px;
  background:var(--teal); color:#fff; border-radius:999px;
  padding:5px 13px; font-family:var(--disp); font-size:1.02rem; font-weight:700;
  letter-spacing:.03em;
}

.volby__pod{
  margin-top:30px; text-align:center; font-size:.96rem; color:var(--muted);
}
.volby__pod a{ color:var(--teal); font-weight:600; }
.volby__pod a:hover{ text-decoration:underline; }

/* ==========================================================================
   KARTY SLUŽEB
   ========================================================================== */
.cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }

.card{
  background:#fff; border:1px solid var(--line); border-radius:var(--r);
  padding:34px 30px 32px; display:flex; flex-direction:column;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-lg); border-color:transparent; }
.card__ico{
  width:54px; height:54px; border-radius:14px; display:grid; place-items:center;
  background:var(--teal-wash); color:var(--teal); margin-bottom:22px;
  transition:background .22s ease, color .22s ease;
}
.card__ico svg{ width:26px; height:26px; }
.card:hover .card__ico{ background:var(--teal); color:#fff; }
.card h3{ margin-bottom:11px; }
.card > p{ color:var(--muted); font-size:.98rem; }

.ticks{ margin-top:20px; display:flex; flex-direction:column; gap:9px; }
.ticks li{
  position:relative; padding-left:26px; font-size:.94rem; color:var(--ink-3);
}
.ticks li::before{
  content:''; position:absolute; left:0; top:.52em;
  width:13px; height:7px; border-left:2.2px solid var(--teal); border-bottom:2.2px solid var(--teal);
  transform:rotate(-45deg);
}
.ticks--light li{ color:#B9C6CC; }
.ticks--light li::before{ border-color:var(--teal-light); }
.ticks--two{ display:grid; grid-template-columns:1fr 1fr; gap:11px 26px; }

.card__link{
  margin-top:auto; padding-top:22px;
  display:inline-flex; align-items:center; gap:8px;
  font-size:.93rem; font-weight:650; color:var(--teal);
}
.card__link svg{ width:17px; height:17px; stroke-width:2.2; transition:transform .2s ease; }
.card__link:hover svg{ transform:translateX(4px); }

.card--accent{ border-color:rgba(0,118,133,.3); background:linear-gradient(180deg, var(--teal-wash-2), #fff 46%); }

.card--cta{
  background:var(--ink); border-color:var(--ink); color:#A9B8BF;
  justify-content:center; align-items:flex-start; gap:14px;
}
.card--cta:hover{ transform:translateY(-5px); }
.card--cta h3{ color:#fff; font-size:1.5rem; }
.card--cta p{ font-size:.98rem; }
.card--cta .btn--quiet{ color:#A9B8BF; padding-left:0; }
.card--cta .btn--quiet:hover{ color:#fff; }

/* ==========================================================================
   PLOŠINA
   ========================================================================== */
.plosina{ display:grid; grid-template-columns:1.08fr .92fr; gap:70px; align-items:center; }
.plosina__copy h2{ color:#fff; margin-bottom:22px; }
.plosina__copy .lead{ max-width:36rem; }

.specs{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin:36px 0 32px; }
.spec{
  background:var(--ink-2); border:1px solid rgba(255,255,255,.09);
  border-radius:var(--r-sm); padding:18px 16px; display:flex; flex-direction:column; gap:2px;
}
.spec strong{
  font-family:var(--disp); font-size:1.85rem; font-weight:700;
  color:var(--teal-light); line-height:1.05; letter-spacing:.01em;
}
.spec span{ font-size:.79rem; color:#8FA1A9; }

.plosina__actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:34px; }
.note{ margin-top:18px; font-size:.9rem; color:#7E9098; }

.plosina__media .shot{ box-shadow:0 30px 70px rgba(0,0,0,.5); border:1px solid rgba(255,255,255,.08); }

/* ==========================================================================
   REKONSTRUKCE
   ========================================================================== */
.rek{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--r); overflow:hidden; }
.rek__item{
  background:#fff; padding:38px 32px 36px; position:relative;
  transition:background .22s ease;
}
.rek__item:hover{ background:var(--teal-wash-2); }
.rek__num{
  display:block; font-family:var(--disp); font-size:1.5rem; font-weight:700;
  color:var(--teal); opacity:.55; margin-bottom:14px; letter-spacing:.06em;
}
.rek__item h3{ margin-bottom:10px; }
.rek__item p{ color:var(--muted); font-size:.97rem; }

/* ==========================================================================
   POSTUP
   ========================================================================== */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }
.step{ position:relative; padding-top:8px; }
.step__n{
  display:grid; place-items:center; width:50px; height:50px; border-radius:50%;
  background:var(--teal); color:#fff; font-family:var(--disp); font-size:1.5rem; font-weight:700;
  margin-bottom:20px; position:relative; z-index:1;
}
.step:not(:last-child)::before{
  content:''; position:absolute; top:33px; left:58px; right:-26px; height:2px;
  background:linear-gradient(90deg, rgba(0,118,133,.35), rgba(0,118,133,.08));
}
.step h3{ margin-bottom:9px; }
.step p{ color:var(--muted); font-size:.96rem; }

/* ==========================================================================
   PROČ MY
   ========================================================================== */
.why{ display:grid; grid-template-columns:.95fr 1.05fr; gap:64px; align-items:start; }
.why__copy h2{ margin-bottom:22px; }
.why__grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.why__item{
  background:var(--paper); border-radius:var(--r); padding:26px 24px;
  border-left:3px solid var(--teal);
}
.why__item strong{ display:block; color:var(--ink); font-size:1.04rem; margin-bottom:7px; }
.why__item p{ font-size:.94rem; color:var(--muted); }

/* ==========================================================================
   CTA PRUH
   ========================================================================== */
.cta{
  background:linear-gradient(120deg, var(--teal-darker), var(--teal) 58%, var(--teal-light) 130%);
  color:#fff;
}
.cta__in{
  display:flex; align-items:center; justify-content:space-between; gap:44px; flex-wrap:wrap;
  padding-block:70px;
}
.cta h2{ color:#fff; margin-bottom:12px; }
.cta p{ color:rgba(255,255,255,.85); font-size:1.06rem; max-width:34rem; }
.cta__actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* ==========================================================================
   KONTAKT
   ========================================================================== */
.contact{ display:grid; grid-template-columns:.85fr 1.15fr; gap:56px; align-items:start; }

.info{ display:flex; gap:16px; align-items:flex-start; padding:16px 0; border-bottom:1px solid var(--line-2); }
.info:first-child{ padding-top:0; }
.info__ico{
  width:44px; height:44px; border-radius:12px; flex:none;
  background:var(--teal-wash); color:var(--teal); display:grid; place-items:center;
}
.info__ico svg{ width:20px; height:20px; }
.info__label{ display:block; font-size:.79rem; font-weight:650; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); margin-bottom:2px; }
.info__value{ font-size:1.06rem; font-weight:650; color:var(--ink); }
a.info__value:hover{ color:var(--teal); }

.area{ margin-top:26px; background:var(--paper); border-radius:var(--r); padding:22px 24px; }
.area strong{ display:block; color:var(--ink); margin-bottom:7px; }
.area p{ font-size:.94rem; color:var(--muted); }

/* formulář */
.form{
  background:#fff; border:1px solid var(--line); border-radius:var(--r-lg);
  padding:36px 34px; box-shadow:var(--shadow);
}
.form__row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field{ margin-bottom:18px; display:flex; flex-direction:column; }
.field label{ font-size:.89rem; font-weight:650; color:var(--ink); margin-bottom:7px; }
.field label span{ color:var(--teal); }

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea{
  font:inherit; font-size:.98rem; color:var(--ink);
  padding:13px 15px; border:1.5px solid var(--line); border-radius:var(--r-sm);
  background:#fff; width:100%;
  transition:border-color .18s ease, box-shadow .18s ease;
}
.field textarea{ resize:vertical; min-height:120px; line-height:1.6; }
.field select{ appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667780' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 13px center; background-size:18px;
  padding-right:42px;
}
.field :is(input,select,textarea):focus{
  outline:none; border-color:var(--teal); box-shadow:0 0 0 4px rgba(0,118,133,.13);
}
.field.is-bad :is(input,select,textarea){ border-color:#D14343; }
.field.is-bad .field__err{ display:block; }
.field__err{ display:none; margin-top:6px; font-size:.83rem; color:#D14343; font-weight:550; }

.field--check{ flex-direction:row; flex-wrap:wrap; align-items:flex-start; gap:11px; }
.field--check input{ width:19px; height:19px; margin-top:3px; accent-color:var(--teal); flex:none; cursor:pointer; }
.field--check label{ font-weight:450; font-size:.9rem; color:var(--muted); margin:0; flex:1; cursor:pointer; line-height:1.55; }
.field--check .field__err{ flex-basis:100%; margin-top:0; }

.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* Cloudflare Turnstile – widget je 300×65 px a na úzkém mobilu
   by jinak přetekl, proto se zmenší podle šířky formuláře */
.cf-turnstile{ margin:0 0 18px; min-height:65px; }
@media (max-width:380px){
  .cf-turnstile{ transform:scale(.9); transform-origin:0 0; margin-bottom:8px; }
}

.form__note{ margin-top:14px; font-size:.85rem; color:var(--muted); text-align:center; }
.form__status{ margin-top:16px; font-size:.94rem; font-weight:600; text-align:center; }
.form__status.is-ok{ color:var(--teal); }
.form__status.is-bad{ color:#D14343; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer{ background:var(--ink); color:#8FA1A9; padding-top:72px; font-size:.95rem; }
.footer__in{ display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:52px; padding-bottom:52px; }
.footer__brand img{ height:54px; width:auto; margin-bottom:20px; }
.footer__brand p{ max-width:26rem; line-height:1.75; }
.footer h3{ color:#fff; font-size:.85rem; text-transform:uppercase; letter-spacing:.12em; margin-bottom:18px; }
.footer ul{ display:flex; flex-direction:column; gap:11px; }
.footer a:hover{ color:var(--teal-light); }
.footer__contact p{ margin-bottom:9px; }
.footer__contact strong{ color:#fff; }

.footer__bottom{
  display:flex; justify-content:space-between; align-items:center; gap:18px; flex-wrap:wrap;
  padding:24px 0; border-top:1px solid rgba(255,255,255,.1); font-size:.87rem;
}
/* místo vpravo, ať text neleží pod plovoucím tlačítkem „nahoru“ */
.footer__claim{ padding-right:56px; color:#71838B; }

/* ---------- zpět nahoru ---------- */
.totop{
  position:fixed; right:22px; bottom:22px; z-index:90;
  width:48px; height:48px; border-radius:50%;
  background:var(--teal); color:#fff; display:grid; place-items:center;
  box-shadow:0 10px 26px rgba(0,118,133,.4);
  opacity:0; visibility:hidden; transform:translateY(14px);
  transition:opacity .25s ease, transform .25s ease, visibility .25s, background .18s ease;
}
.totop.is-on{ opacity:1; visibility:visible; transform:none; }
.totop:hover{ background:var(--teal-dark); }
.totop svg{ width:21px; height:21px; stroke-width:2.2; }

/* ---------- animace při scrollu ---------- */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .6s ease, transform .6s ease; }
.reveal.is-in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; } }

/* ==========================================================================
   ZÁHLAVÍ PODSTRÁNKY
   ========================================================================== */
.phead{ position:relative; overflow:hidden; background:var(--white); }
.phead__bg{
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background:radial-gradient(760px 480px at 84% -12%, rgba(0,118,133,.13), transparent 62%);
}
/* pozor: max-width a auto okraje musí zůstat z .wrap, jinak obsah uteče doleva */
.phead__in{ position:relative; z-index:1; padding-block:56px 72px; }
.phead__in > *{ max-width:44rem; }
.phead h1{ margin-bottom:22px; }
.phead .lead{ max-width:38rem; }
.phead__actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:32px; }

.phead--dark{ background:var(--ink); color:#B9C6CC; }
.phead--dark h1{ color:#fff; }
.phead--dark .phead__bg{
  background:radial-gradient(720px 460px at 88% -10%, rgba(0,160,180,.22), transparent 60%);
}
.phead__in--split{
  display:grid; grid-template-columns:1.05fr .95fr; gap:60px; align-items:center;
}
.phead__in--split > *{ max-width:none; }
.phead__media .shot{ box-shadow:0 30px 70px rgba(0,0,0,.5); border:1px solid rgba(255,255,255,.08); }

/* drobečky */
.crumbs{ font-size:.87rem; color:var(--muted); margin-bottom:22px; }
.crumbs a{ color:var(--teal); font-weight:550; }
.crumbs a:hover{ text-decoration:underline; }
.crumbs span[aria-hidden]{ margin:0 7px; opacity:.5; }
.crumbs--light{ color:#8FA1A9; }
.crumbs--light a{ color:var(--teal-light); }

/* aktivní položka v menu */
.nav__list a.is-active{ color:var(--teal); }
.nav__list a.is-active::after{ width:100%; }

/* ==========================================================================
   DALŠÍ BLOKY PODSTRÁNEK
   ========================================================================== */
.specs--light .spec{ background:var(--paper); border-color:var(--line); }
.specs--light .spec strong{ color:var(--teal); }
.specs--light .spec span{ color:var(--muted); }
.specs--light{ margin:0 0 44px; }

.dvojice{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.karta{
  background:#fff; border:1px solid var(--line); border-radius:var(--r);
  padding:32px 30px;
}
.karta h3{ margin-bottom:11px; }
.karta > p{ color:var(--muted); font-size:.98rem; }
.karta--accent{ border-color:rgba(0,118,133,.3); background:linear-gradient(180deg, var(--teal-wash-2), #fff 46%); }

.boxrow{ display:grid; grid-template-columns:1.08fr .92fr; gap:64px; align-items:center; }
.boxrow__copy h2{ color:#fff; margin-bottom:22px; }
.boxrow__copy .ticks{ margin-top:26px; }
.boxrow__media .note{ margin-top:16px; }
.boxrow__media .note a{ color:var(--teal-light); font-weight:600; }
.boxrow__media .note a:hover{ text-decoration:underline; }

.note--center{ text-align:center; margin-top:36px; color:var(--muted); }
.note--center a{ color:var(--teal); font-weight:650; }

/* karta služby, která odkazuje na podstránku */
.card--link h3 a{ color:inherit; }
.card--link:hover h3 a{ color:var(--teal); }
.card--link .card__link{ cursor:pointer; }

/* ==========================================================================
   GALERIE
   ========================================================================== */
.galerie{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:20px;
}
.galerie__item{
  margin:0; position:relative; border-radius:var(--r); overflow:hidden;
  background:var(--ink); cursor:zoom-in; box-shadow:var(--shadow);
  transition:transform .22s ease, box-shadow .22s ease;
}
.galerie__item:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.galerie__item img{
  width:100%; height:260px; object-fit:cover; display:block;
  transition:transform .4s ease;
}
.galerie__item:hover img{ transform:scale(1.045); }
.galerie__item figcaption{
  position:absolute; left:0; right:0; bottom:0;
  padding:26px 18px 14px; color:#fff; font-size:.92rem; font-weight:600;
  background:linear-gradient(transparent, rgba(6,9,10,.82));
}

/* zvětšená fotka */
.lightbox{
  position:fixed; inset:0; z-index:200;
  background:rgba(8,11,12,.94);
  display:flex; align-items:center; justify-content:center;
  padding:64px 72px;
}
.lightbox[hidden]{ display:none; }
/* při otevřené fotce se stránka pod ní nesmí rolovat */
body.lb-open{ overflow:hidden; }
.lightbox__img{
  max-width:100%; max-height:100%; object-fit:contain;
  border-radius:8px; box-shadow:0 24px 70px rgba(0,0,0,.6);
}
.lightbox__caption{
  position:absolute; left:0; right:0; bottom:22px;
  text-align:center; color:#D3DEE2; font-size:.95rem; padding:0 24px;
}
.lightbox__close,
.lightbox__nav{
  position:absolute; background:rgba(255,255,255,.1); color:#fff;
  border:1px solid rgba(255,255,255,.22); border-radius:50%;
  width:46px; height:46px; cursor:pointer; line-height:1;
  display:grid; place-items:center;
  transition:background .18s ease, transform .18s ease;
}
.lightbox__close:hover,
.lightbox__nav:hover{ background:rgba(255,255,255,.22); }
.lightbox__close{ top:18px; right:18px; font-size:1.9rem; }
.lightbox__nav{ top:50%; transform:translateY(-50%); font-size:2rem; }
.lightbox__nav:hover{ transform:translateY(-50%) scale(1.06); }
.lightbox__nav--prev{ left:16px; }
.lightbox__nav--next{ right:16px; }

/* ==========================================================================
   RESPONZIVITA
   ========================================================================== */

/* Nízké obrazovky (starší notebooky 1366×768): stáhneme hero tak, aby byl
   rozcestník „Vyberte, co potřebujete“ vidět bez scrollování. Na velkých
   displejích se nic nemění, tam je místa dost. */
@media (min-width:961px) and (max-height:820px){
  .hero__in{ padding-block:32px 36px; }
  .volby{ padding-top:26px; }
  .volby__nadpis{ margin-bottom:22px; }
}
@media (max-width:1080px){
  /* tři volby zůstávají vedle sebe co nejdéle – je to hlavní rozcestník */
  .volba{ padding:30px 24px 26px; }
  .volba h3{ font-size:1.4rem; }
  .volba > p{ font-size:.93rem; }
  .cards{ grid-template-columns:repeat(2,1fr); }
  .rek{ grid-template-columns:repeat(2,1fr); }
  .steps{ grid-template-columns:repeat(2,1fr); gap:34px 26px; }
  .step:nth-child(2)::before{ display:none; }
}

@media (max-width:960px){
  .section{ padding:80px 0; }
  .section--tight{ padding:70px 0; }

  /* mobilní menu */
  /* backdrop-filter dělá z hlavičky containing block pro position:fixed,
     což by uvěznilo vysouvací menu uvnitř hlavičky – proto ho tu vypínáme */
  .header{
    backdrop-filter:none; -webkit-backdrop-filter:none;
    background:#fff;
  }
  .burger{ display:flex; }
  .nav{
    position:fixed; inset:0 0 0 auto; width:min(340px, 86vw);
    background:#fff; flex-direction:column; align-items:stretch; justify-content:flex-start;
    gap:0; padding:96px 26px 32px;
    box-shadow:-14px 0 44px rgba(14,17,19,.18);
    transform:translateX(102%); transition:transform .3s cubic-bezier(.4,0,.2,1);
    z-index:110; overflow-y:auto;
  }
  .nav.is-open{ transform:none; }
  .nav__list{ flex-direction:column; align-items:stretch; gap:0; }
  .nav__list li + li{ border-top:1px solid var(--line-2); }
  .nav__list a{ display:block; padding:16px 2px; font-size:1.06rem; font-weight:600; }
  .nav__list a::after{ display:none; }
  .nav__cta{ margin-top:24px; }
  .burger{ position:relative; z-index:120; }

  body.nav-open{ overflow:hidden; }
  body.nav-open::after{
    content:''; position:fixed; inset:0; background:rgba(14,17,19,.5); z-index:105;
  }
  /* hlavička tvoří vlastní stacking context – bez tohoto by ztmavení
     překrylo i vysunuté menu, které je uvnitř ní */
  body.nav-open .header{ z-index:110; }

  /* hero */
  .hero__in{ grid-template-columns:1fr; gap:44px; padding:44px 24px 52px; }
  .hero__media{ max-width:560px; }
  .chip--a{ top:-20px; left:-14px; }
  .chip--b{ bottom:-18px; right:-10px; }

  .plosina{ grid-template-columns:1fr; gap:48px; }
  .phead__in--split{ grid-template-columns:1fr; gap:44px; }
  .boxrow{ grid-template-columns:1fr; gap:44px; }
  .galerie{ grid-template-columns:repeat(2, 1fr); gap:16px; }
  .why{ grid-template-columns:1fr; gap:40px; }
  .contact{ grid-template-columns:1fr; gap:40px; }
  .footer__in{ grid-template-columns:1fr 1fr; gap:40px; }
  .footer__brand{ grid-column:1 / -1; }
}

@media (max-width:720px){
  body{ font-size:16px; }
  .section{ padding:64px 0; }
  .section--tight{ padding:58px 0; }
  .shead{ margin-bottom:40px; }

  .topbar__item--hide{ display:none; }
  .topbar__in{ gap:16px; justify-content:space-between; font-size:.8rem; }
  .topbar__spacer{ display:none; }

  .brand img{ height:46px; }
  :root{ --head-h:70px; --gut:18px; }

  .hero__in{ padding:30px 18px 34px; }
  .hero__media{ display:none; }
  .hero__actions .btn{ flex:1 1 auto; }
  .chip{ padding:11px 15px; }
  .chip strong{ font-size:1.45rem; }
  .chip span{ font-size:.68rem; }
  .chip--a{ top:-16px; left:-8px; }
  .chip--b{ bottom:-14px; right:-6px; }

  .volby{ padding:48px 0 52px; }
  .volby__nadpis{ margin-bottom:24px; }
  .volby__in{ grid-template-columns:1fr; gap:16px; }
  .volba{ padding:26px 22px 24px; }
  .volba::before{ transform:scaleX(1); }   /* na mobilu není hover, proužek svítí rovnou */
  .volba__ico{ width:52px; height:52px; margin-bottom:16px; }
  .volba__ico svg{ width:25px; height:25px; }
  .volba h3{ font-size:1.35rem; }
  .volba > p{ margin-bottom:16px; }

  .cards{ grid-template-columns:1fr; gap:18px; }
  .card{ padding:28px 24px; }
  .rek{ grid-template-columns:1fr; }
  .rek__item{ padding:30px 24px; }
  .steps{ grid-template-columns:1fr; gap:28px; }
  .step::before{ display:none !important; }
  .step__n{ width:44px; height:44px; font-size:1.3rem; margin-bottom:14px; }

  .specs{ grid-template-columns:1fr 1fr; }
  .ticks--two{ grid-template-columns:1fr; }
  .dvojice{ grid-template-columns:1fr; gap:18px; }
  .karta{ padding:26px 24px; }

  .phead__in{ padding-block:38px 54px; }
  .galerie{ grid-template-columns:1fr; gap:14px; }
  .galerie__item img{ height:230px; }
  .lightbox{ padding:56px 14px; }
  .lightbox__nav{ width:40px; height:40px; font-size:1.6rem; }
  .lightbox__nav--prev{ left:6px; }
  .lightbox__nav--next{ right:6px; }
  .why__grid{ grid-template-columns:1fr; gap:16px; }

  .cta__in{ padding-block:56px; }
  .cta__actions{ width:100%; }
  .cta__actions .btn{ flex:1 1 auto; }

  .form{ padding:26px 20px; border-radius:var(--r); }
  .form__row{ grid-template-columns:1fr; gap:0; }

  .footer{ padding-top:56px; }
  .footer__in{ grid-template-columns:1fr; gap:34px; padding-bottom:38px; }
  .footer__bottom{ justify-content:center; text-align:center; }

  .totop{ right:16px; bottom:16px; width:44px; height:44px; }
}

@media print{
  .topbar,.header,.totop,.cta,.form{ display:none; }
  body{ color:#000; }
}
