@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --black: #080909;
  --dark: #0f1113;
  --white: #ffffff;
  --soft: #f5f5f5;
  --text: #101010;
  --muted: #4d4d4d;
  --line: #d8d8d8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 88px, 1440px);
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 610px;
  color: white;
  overflow: hidden;
  background: #050505;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,.98) 22%,
      rgba(0,0,0,.78) 39%,
      rgba(0,0,0,.30) 66%,
      rgba(0,0,0,.03) 100%
    ),
    url("assets/hero-house.jpg") right center / auto 100% no-repeat;
  transform: none;
  animation: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.brand-mark {
  width: 82px;
  height: 82px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.brand-name {
  font-size: clamp(30px, 2.7vw, 40px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 2px;
}

.brand-sub {
  margin-top: 9px;
  font-size: clamp(11px, .9vw, 15px);
  font-weight: 600;
  letter-spacing: 7px;
}

.hero-text {
  margin-top: 62px;
  max-width: 560px;
}

.small-line {
  width: 58px;
  height: 2px;
  background: rgba(255,255,255,.72);
  margin-bottom: 34px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 4.25vw, 66px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 1px;
}

.hero h2 {
  margin: 16px 0 28px;
  font-size: clamp(19px, 1.65vw, 27px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero p {
  max-width: 455px;
  margin: 0 0 30px;
  font-size: clamp(15px, 1.15vw, 20px);
  line-height: 1.75;
  font-weight: 500;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 275px;
  min-height: 58px;
  border: 2px solid rgba(255,255,255,.82);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .8px;
  transition: .28s ease;
}

.btn:hover {
  background: white;
  color: black;
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0,0,0,.35);
}

.services {
  background: linear-gradient(180deg, #fff, #f7f7f7);
  padding: 70px 0 66px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.card,
.why-card {
  text-align: center;
  padding: 10px 46px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.card:last-child,
.why-card:last-child {
  border-right: 0;
}

.icon {
  width: 70px;
  height: 70px;
  margin-bottom: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon.big {
  width: 86px;
  height: 86px;
  margin-bottom: 22px;
}

.card h3,
.step h3,
.why-card h3 {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
}

.card p,
.step p,
.why-card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.8;
  font-weight: 500;
}

.process {
  padding: 54px 0 70px;
  color: white;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,.06), transparent 32%),
    linear-gradient(180deg, #111315, #070808);
}

.section-title {
  margin: 0 0 50px;
  text-align: center;
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 700;
  letter-spacing: 2px;
}

.section-title.light {
  color: white;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 36px;
}

.step {
  position: relative;
  text-align: center;
  padding-top: 2px;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24px;
  right: -30px;
  width: 90px;
  height: 1px;
  background: rgba(255,255,255,.45);
}

.number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.75);
  margin-bottom: 22px;
  font-size: 16px;
  font-weight: 700;
}

.step-icon {
  display: block;
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step h3 {
  min-height: 48px;
  margin-bottom: 14px;
  color: white;
  font-size: 16px;
}

.step p {
  color: rgba(255,255,255,.9);
  font-size: 14.5px;
}

.why {
  padding: 46px 0 58px;
  background: linear-gradient(180deg, #fff, #f7f7f7);
}

.why .section-title {
  margin-bottom: 26px;
}

.why-card {
  min-height: 238px;
}

.contact {
  padding: 34px 0 42px;
  background: #f8f8f8;
  border-top: 1px solid #dadada;
}

.contact .section-title {
  margin-bottom: 30px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.45fr 1.25fr 1fr;
  align-items: center;
  gap: 40px;
}

.contact-grid > * {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 70px;
  font-size: 17px;
  font-weight: 500;
}

.contact-grid svg {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-grid a {
  transition: .25s ease;
}

.contact-grid a:hover {
  transform: translateY(-3px);
}

footer {
  background: #070808;
  color: white;
  padding: 22px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 240px 1fr 42px;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 19px;
  letter-spacing: 1px;
}

.footer-brand svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
}

.footer-brand small {
  font-size: 9px;
  letter-spacing: 3px;
}

footer p {
  text-align: center;
  margin: 0;
  color: rgba(255,255,255,.75);
  font-size: 13px;
}

#topBtn {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: white;
  font-size: 38px;
  cursor: pointer;
  transition: .25s ease;
}

#topBtn:hover {
  transform: translateY(-5px);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }

@keyframes heroZoom {
  from { transform: scale(1.035); }
  to { transform: scale(1.015); }
}

@media (max-width: 1100px) {
  .container {
    width: min(100% - 42px, 900px);
  }

  .hero {
    min-height: 720px;
  }

  .hero-bg {
    background:
      linear-gradient(90deg, rgba(0,0,0,.98), rgba(0,0,0,.72)),
      url("assets/hero-house.jpg") right center / auto 100% no-repeat;
  }

  .grid-4,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card:nth-child(2),
  .why-card:nth-child(2) {
    border-right: 0;
  }

  .card,
  .why-card {
    border-bottom: 1px solid var(--line);
  }

  .card:nth-child(3),
  .card:nth-child(4),
  .why-card:nth-child(3),
  .why-card:nth-child(4) {
    border-bottom: 0;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  #topBtn {
    margin: auto;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 520px);
  }

  .hero {
    min-height: 700px;
  }

  .hero-bg {
    background:
      linear-gradient(90deg, rgba(0,0,0,.96), rgba(0,0,0,.68)),
      url("assets/hero-house.jpg") right center / cover no-repeat;
  }

  .brand-mark {
    width: 68px;
    height: 68px;
  }

  .brand {
    gap: 14px;
  }

  .brand-name {
    font-size: 24px;
  }

  .brand-sub {
    font-size: 10px;
    letter-spacing: 4px;
  }

  .hero-text {
    margin-top: 78px;
  }

  .grid-4,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .why-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .card:last-child,
  .why-card:last-child {
    border-bottom: 0;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }
}


/* Finální transparentní logo v hlavičce */
.brand {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.header-logo {
  display: block;
  width: 390px;
  max-width: 90vw;
  height: auto;
  object-fit: contain;
}

/* jistota: žádné černé překryvné čtverce v hero části */
.hero::before,
.hero::after {
  display: none !important;
  content: none !important;
}

.footer-logo-unified{
    width:180px;
    height:auto;
    display:block;
    object-fit:contain;
}
.footer-brand{
    display:flex;
    align-items:center;
}
#cookie-banner{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);width:90%;max-width:900px;background:#111;color:#fff;padding:18px 25px;border-radius:14px;display:flex;justify-content:space-between;align-items:center;z-index:9999;box-shadow:0 10px 35px rgba(0,0,0,.35);} .cookie-buttons{display:flex;gap:12px;} .cookie-buttons button{padding:12px 20px;border:none;border-radius:10px;cursor:pointer;} @media(max-width:768px){#cookie-banner{flex-direction:column;text-align:center;}}