:root {
  --red:    #D22D26;
  --red-dk: #b02420;
  --yellow: #F2E500;
  --rust:   #C77B3B;

  --bg-grey:  #E7E7E2;
  --bg-beige: #F3EAD9;
  --bg-dark:  #24221d;

  --ink:   #262019;   /* nadpisy / tmavý text */
  --body:  #675f52;   /* běžný text */
  --line:  rgba(38,32,25,.12);
  --card:  #ffffff;

  --container: 1120px;
  --radius: 14px;
  --shadow-sm: 0 4px 16px rgba(0,0,0,.05);
  --shadow:    0 14px 40px rgba(38,32,25,.10);

  --ff: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  /* výchozí akcent (přepisují ho sekce) */
  --accent: var(--red);
  --on-accent: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--ff); color: var(--body);
  background: var(--bg-beige); line-height: 1.65; font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 900; color: var(--ink); letter-spacing: -.01em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

.topbar { height: 5px; background: linear-gradient(90deg, var(--red), var(--rust), var(--yellow)); }

.section { padding: 92px 0; }
.section--grey  { background: var(--bg-grey);  --accent: var(--yellow); --on-accent: #24221d; }
.section--beige { background: var(--bg-beige); --accent: var(--red);    --on-accent: #ffffff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--body); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--accent);
}
.section-title { font-size: 36px; margin-bottom: 16px; }
/* zvýrazněné slovo: na žlutých akcentech = highlighter, na červených = barva */
.section--grey  .section-title em,
.hero .hero__title em { font-style: normal; background: linear-gradient(transparent 62%, rgba(242,229,0,.65) 62%); padding: 0 2px; }
.section--beige .section-title em { font-style: normal; color: var(--red); }
.section-intro { max-width: 640px; color: var(--body); font-size: 17.5px; margin: 0 0 50px; }

.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  padding: 14px 26px; border-radius: 9px; font-weight: 700; font-size: 14.5px;
  border: 1.5px solid transparent; transition: transform .14s ease, box-shadow .2s ease, background .2s ease;
}
.btn::after { content: "\2192"; font-size: 17px; line-height: 1; transition: transform .16s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(4px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(210,45,38,.26); }
.btn--primary:hover { background: var(--red-dk); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(38,32,25,.24); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--yellow { background: var(--yellow); color: #24221d; box-shadow: 0 8px 20px rgba(242,229,0,.28); }

/* =========== IKONA V ČIPU (jednotná) =========== */
.chip {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent); margin-bottom: 20px; flex: none;
}
.chip svg { width: 27px; height: 27px; }

/* =========== ZAŠKRTÁVACÍ BODY (jednotné) =========== */
.ticklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.ticklist li { display: flex; gap: 14px; align-items: flex-start; }
.ticklist .tick {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  display: grid; place-items: center; margin-top: 1px;
}
.ticklist .tick svg { width: 15px; height: 15px; }
.ticklist b { display: block; font-size: 16px; color: var(--ink); font-weight: 700; }
.ticklist span { color: var(--body); font-size: 15px; }

/* placeholder obrázku (jednotný) */
.ph {
  background: repeating-linear-gradient(45deg, rgba(38,32,25,.04) 0 14px, rgba(38,32,25,.07) 14px 28px);
  border: 2px dashed rgba(38,32,25,.22); border-radius: var(--radius);
  display: grid; place-items: center; color: #9a8f79; font-weight: 600; font-size: 14px;
  text-align: center; min-height: 320px;
}

/* fotografie (náhrada placeholderu) */
.photo {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  min-height: 320px;
}
.photo img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }

/* fotka „na výšku" složená ze dvou fotek pod sebou v jednom rámečku — bez ořezu, jen zmenšené při zachování poměru stran */
.photo--stack { display: flex; flex-direction: column; gap: 3px; min-height: 0; background: var(--ink); }
.photo--stack img { height: auto; min-height: 0; object-fit: unset; }

/* ===================== HERO ===================== */
.hero {
  position: relative; overflow: hidden; --accent: var(--yellow); --on-accent: #24221d;
  background: radial-gradient(ellipse 60% 65% at 74% 40%, #f4f4f1 0%, #e7e7e2 58%, #dcdcd6 100%);
}
/* --- Hero: statická fotka na pozadí --- */
.hero-bg {
  position: absolute; inset: 0; overflow: hidden;
  background-size: cover; background-position: center; opacity: .5;
}
.hero-bg__mask {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    var(--bg-grey) 0%, var(--bg-grey) 10%,
    rgba(231,231,226,.82) 30%, rgba(231,231,226,.42) 66%, rgba(231,231,226,.12) 100%);
}
.nav {
  position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin: 22px auto 0; max-width: var(--container); width: calc(100% - 56px);
  background: rgba(255,255,255,.78); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius);
  padding: 12px 14px 12px 22px; box-shadow: var(--shadow-sm);
}
.nav__brand { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 900; }
.nav__brand img { height: 44px; width: auto; }
.nav__brand small { display: block; font-size: 9px; font-weight: 700; letter-spacing: .18em; color: #9a8f79; margin-top: 3px; }
.nav__menu { display: flex; align-items: center; gap: 22px; font-size: 14.5px; font-weight: 500; }
.nav__menu a { color: var(--ink); transition: color .15s; }
.nav__menu a:hover { color: var(--red); }
.nav__phone { background: var(--red); color: #fff !important; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 24px; color: var(--ink); }

/* ===================== FIXNÍ LIŠTA + TLAČÍTKO NAHORU ===================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); box-shadow: 0 6px 24px rgba(38,32,25,.08);
  transform: translateY(-100%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.navbar.is-visible { transform: translateY(0); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 10px; padding-bottom: 10px; }
.navbar__brand { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 900; color: var(--ink); }
.navbar__brand img { height: 40px; width: auto; }
.navbar__brand small { display: block; font-size: 8.5px; font-weight: 700; letter-spacing: .18em; color: #9a8f79; margin-top: 2px; }
.navbar__menu { display: flex; align-items: center; gap: 22px; font-size: 14.5px; font-weight: 500; }
.navbar__menu a { color: var(--ink); transition: color .15s; }
.navbar__menu a:hover { color: var(--red); }
.navbar__menu .nav__phone { color: #fff !important; }
.navbar__toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 24px; color: var(--ink); }

.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; padding: 0;
  background: var(--red); color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 8px 22px rgba(210,45,38,.4);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s, background .15s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--red-dk); }
.to-top svg { width: 22px; height: 22px; }

.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: center; padding-top: 64px; padding-bottom: 90px; }
.hero__title { font-size: 52px; margin-bottom: 22px; letter-spacing: -.02em; }
.hero__lead { font-size: 18px; color: var(--body); max-width: 450px; margin: 0 0 32px; }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }

.erb-stage { perspective: 900px; display: grid; place-items: center; min-height: 420px; }
.erb-tilt { position: relative; transform-style: preserve-3d; will-change: transform; animation: erb-float 5s ease-in-out infinite; }
@keyframes erb-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.erb-tilt img { height: 330px; width: auto; }
.erb-tilt .erb-shadow { position: absolute; left: 50%; bottom: -26px; width: 210px; height: 34px; translate: -50% 0; background: radial-gradient(ellipse, rgba(60,50,30,.30) 0%, transparent 70%); filter: blur(3px); z-index: -1; }

/* ===================== O NÁS ===================== */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about p { font-size: 17px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 14px; text-align: center; }
.stat b { display: block; font-size: 32px; color: var(--red); line-height: 1; font-weight: 900; }
.stat span { font-size: 13px; color: var(--body); margin-top: 9px; display: block; }

/* ===================== SLUŽBY ===================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .16s ease, box-shadow .22s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 18.5px; margin-bottom: 9px; }
.card p { margin: 0; color: var(--body); font-size: 15px; }

/* ===================== PROČ MY ===================== */
.why { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }

/* ===================== NÁHRADNÍ PLNĚNÍ ===================== */
.band { background: linear-gradient(120deg, #2a2620, #423626); color: #f4efe4; position: relative; overflow: hidden; --accent: var(--yellow); }
.band::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--rust), var(--yellow)); }
.band__inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; padding-top: 60px; padding-bottom: 60px; }
.band .eyebrow { color: #ded6c6; }
.band h2 { font-size: 30px; margin-bottom: 12px; color: #fff; }
.band h2 em { font-style: normal; background: linear-gradient(transparent 62%, rgba(242,229,0,.55) 62%); padding: 0 2px; }
.band p { margin: 0; max-width: 560px; color: #d8d0c1; }

/* ===================== REFERENCE ===================== */
.ref-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 44px; }
.ref-cat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.ref-cat h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; display: inline-flex; align-items: center; gap: 9px; }
.ref-cat h3::before { content: ""; width: 20px; height: 3px; border-radius: 3px; background: var(--accent); }
.ref-cat ul { list-style: none; margin: 0; padding: 0; }
.ref-cat li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--body); }
.ref-cat li:last-child { border-bottom: 0; }
.ref-logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.ref-logo { background: var(--card); border: 1px solid var(--line); border-radius: 12px; min-height: 82px; display: grid; place-items: center; color: #b0a488; font-size: 12px; font-weight: 600; padding:10px;}

/* ===================== KONTAKT ===================== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__block { margin-bottom: 28px; }
.contact__block h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 9px; display: inline-flex; align-items: center; gap: 9px; }
.contact__block h3::before { content: ""; width: 20px; height: 3px; border-radius: 3px; background: var(--accent); }
.contact__block p { margin: 0; color: var(--body); }
.contact__block a { color: var(--ink); font-weight: 700; }

/* ===================== PATIČKA ===================== */
.footer { background: var(--bg-dark); color: #c4bbab; padding: 56px 0 26px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 34px; margin-bottom: 34px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer a { color: #c4bbab; } .footer a:hover { color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; }
.footer__brand { font-size: 18px; font-weight: 900; color: #fff; }
.footer__brand small { display: block; font-size: 10px; letter-spacing: .18em; color: #9a8f79; margin-top: 5px; font-weight: 700; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; font-size: 13px; color: #9a8f79; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ===================== RESPONZIVITA ===================== */
@media (max-width: 920px) {
  .nav { position: relative; flex-wrap: wrap; }
  .nav__menu {
    position: absolute; top: calc(100% + 8px); right: 0; left: 0; flex-direction: column; align-items: stretch;
    gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 12px; box-shadow: var(--shadow); display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a { padding: 10px 8px; }
  .nav__toggle { display: block; }

  .navbar__inner { position: relative; flex-wrap: wrap; }
  .navbar__menu {
    position: absolute; top: calc(100% + 10px); right: 0; left: 0; flex-direction: column; align-items: stretch;
    gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 12px; box-shadow: var(--shadow); display: none;
  }
  .navbar__menu.is-open { display: flex; }
  .navbar__menu a { padding: 10px 8px; }
  .navbar__toggle { display: block; }
  .to-top { right: 16px; bottom: 16px; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 64px; }
  .erb-stage { min-height: 300px; order: -1; }
  .hero-bg__mask {
    background: linear-gradient(180deg,
      rgba(231,231,226,.12) 0%, rgba(231,231,226,.5) 30%,
      var(--bg-grey) 52%, var(--bg-grey) 100%);
  }
  .erb-tilt img { height: 230px; }
  .hero__title { font-size: 38px; }
  .about, .why, .contact { grid-template-columns: 1fr; gap: 34px; }
  .cards, .ref-cats { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .ref-logos { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards, .ref-cats { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .section-title { font-size: 28px; } .hero__title { font-size: 32px; }
}
.responsive-iframe-container {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 4 / 3;
}

.responsive-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
