/* Tesartom.cz — doladěný layout podle návrhu */

:root {
  --bg: #f6efe9;
  --bg-certs: #efe5d8;
  --text: #1a1a1a;
  --muted: #6a635c;
  --soft: #9a9188;
  --orange: #e35226;
  --orange-dark: #cc451c;
  --green: #0e3528;
  --green-mid: #164a38;
  --line: #e5dbd0;
  --line-soft: #eee6dc;
  --white: #fff;
  --velux: #e30613;
  --bramac: #c8102e;
  --fatrafol: #0055a5;
  --font: "Manrope", system-ui, sans-serif;
  --wrap: 1480px;
  --gutter: 22px;
  --r: 6px;
  --r-sm: 4px;
  --r-btn: 999px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

.dot { color: var(--orange); }

/* ========== Header ========== */

.header {
  position: relative;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo__mark {
  color: var(--orange);
  flex-shrink: 0;
  display: block;
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.logo__name {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.logo__sub {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav,
.phone-btn { display: none; }

.header__mobile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header__icon-tel { color: var(--orange); display: inline-flex; }

.burger {
  width: 24px;
  height: 16px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.mobile-menu {
  border-bottom: 1px solid var(--line);
  padding: 4px 0 18px;
  background: var(--bg);
}

.mobile-menu[hidden] { display: none; }

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-menu__list a {
  font-size: 1.1rem;
  font-weight: 700;
}

/* ========== Buttons ========== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 28px;
  border-radius: var(--r-btn);
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  width: fit-content;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover { background: var(--orange-dark); }
.btn:active { transform: translateY(1px); }

/* ========== Hero ========== */

.hero { padding: 14px 0 0; }

.hero__kicker {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero__right {
  display: contents;
}

.hero__content {
  display: flex;
  flex-direction: column;
  order: 1;
}

.hero__title {
  margin: 0 0 12px;
  font-size: clamp(2.05rem, 8vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.hero__lead {
  margin: 0 0 22px;
  max-width: 32ch;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.5;
}

.hero__visual {
  margin: 0;
  order: 2;
  position: relative;
  width: calc(100% + (var(--gutter) * 2));
  margin-left: calc(var(--gutter) * -1);
  margin-right: calc(var(--gutter) * -1);
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e8dfd4;
}

.hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.peek {
  order: 3;
  position: relative;
  display: block;
  width: calc(100% + (var(--gutter) * 2));
  margin-left: calc(var(--gutter) * -1);
  margin-right: calc(var(--gutter) * -1);
  aspect-ratio: 16 / 10;
  border-radius: 0;
  overflow: hidden;
  background: #e8dfd4;
}

.hero__side-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.peek__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 32px var(--gutter) 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 18, 14, 0.72) 70%);
  color: var(--white);
}

.peek__label {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.peek__go {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: var(--orange);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
  -webkit-text-stroke: 0;
  text-shadow: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.peek:hover .peek__go {
  background: var(--orange-dark);
  transform: translateX(2px);
}

/* ========== Sections ========== */

.block { padding: 48px 0 0; }

.h2 {
  margin: 0 0 20px;
  font-size: 1.95rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.h2--rule {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.h2--rule::after {
  display: none;
}

.block__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 22px;
}

.block__head .h2 { margin: 0; }

.block__link {
  color: var(--orange);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.block__link:hover { color: var(--orange-dark); }

/* ========== Services ========== */

.services-panel {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.services-panel__title {
  margin: 0;
}

.services-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.services-cols li {
  border-bottom: 1px solid var(--line);
}

.services-cols span {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: default;
  padding: 16px 0;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  transition: color 0.15s ease;
}

.services-cols span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.services-cols span:hover { color: var(--orange); }

@media (min-width: 640px) and (max-width: 959px) {
  .services-cols {
    grid-template-columns: 1fr 1fr;
    column-gap: 36px;
  }
}

/* ========== Gallery ========== */

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.gallery__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.gallery__media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--r);
  overflow: hidden;
  background: #e8dfd4;
}

.gallery__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery__item:hover .gallery__media img { transform: scale(1.03); }

.gallery__cap {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}


/* ========== Brands ========== */

.block--brands { padding-top: 40px; }

.brands__title { margin-bottom: 16px; }

.brands__viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}

.brands__logos {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 18px 0 8px;
  width: max-content;
  flex-wrap: nowrap;
  will-change: transform;
}

.brands__logos.is-manual {
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  mask-image: none;
}

.brands__logos.is-manual::-webkit-scrollbar { display: none; }

.brands__logos.is-manual:active { cursor: grabbing; }

.brands__logos .brand { flex-shrink: 0; }

.brand {
  display: block;
  width: auto;
  height: 44px;
  object-fit: contain;
  object-position: center;
}

.brand--velux { height: 40px; }
.brand--bramac { height: 52px; }
.brand--iko { height: 48px; }
.brand--prefa { height: 56px; width: 56px; }
.brand--fatrafol { height: 42px; }

/* ========== Certs ========== */

.certs {
  margin-top: 40px;
  background: var(--bg-certs);
  padding: 40px 0;
}

.certs__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
}

.certs__icon { color: var(--orange); display: inline-flex; flex-shrink: 0; }

.certs__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 220px;
  min-width: 0;
}

.certs__text strong,
.certs__text h2 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.certs__text span {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.45;
}

.certs__link {
  color: var(--orange);
  font-size: 1.08rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-left: auto;
}

.certs__link:hover { color: var(--orange-dark); }

/* ========== Contact ========== */

.contact {
  background: var(--green);
  color: var(--white);
  padding: 44px 0 48px;
  position: relative;
  overflow: hidden;
}

.contact__grid {
  position: relative;
  z-index: 1;
}

.contact__title {
  margin: 0 0 10px;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.contact__lead {
  margin: 0 0 22px;
  max-width: 28ch;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.contact__left .btn {
  margin-bottom: 28px;
}

.contact__right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  transition: opacity 0.15s ease;
}

.contact__row:hover { opacity: 0.88; }

.contact__row svg {
  color: var(--white);
  flex-shrink: 0;
}

.contact__row span {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.contact__phone span {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.contact__mail span {
  font-size: 1.02rem;
  font-weight: 500;
  word-break: break-word;
  color: rgba(255, 255, 255, 0.95);
}

.contact__art {
  display: none;
}

/* ========== Footer ========== */

.footer {
  background: var(--bg);
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
}

.footer__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.logo--foot .logo__mark { color: var(--orange); }

.footer__meta {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.45;
}

.footer__ico {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 500;
}

.footer__nav {
  display: none;
  flex-wrap: wrap;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--muted);
}

.footer__nav a:not(:last-child)::after {
  content: "·";
  margin: 0 10px;
  color: var(--soft);
}

.footer__nav a:hover { color: var(--orange); }

/* ========== Fotogalerie page ========== */

.page-hero {
  padding: 28px 0 8px;
}

.page-hero__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-hero__crumb a {
  color: var(--orange);
  text-decoration: none;
}

.page-hero__crumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-hero__crumb [aria-current="page"] {
  color: var(--muted);
}

.page-hero__title {
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 7vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.page-hero__lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 500;
}

.page-hero__back {
  margin: 18px 0 0;
}

.block--cats { padding-top: 28px; padding-bottom: 48px; }

.cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.cat-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  border-radius: var(--r);
  overflow: hidden;
  background: #e8dfd4;
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.cat-card:hover img { transform: scale(1.03); }

.cat-card__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 28px 16px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 18, 14, 0.72) 70%);
  color: var(--white);
}

.cat-card__title {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.cat-card__go {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}

.cat-card:hover .cat-card__go {
  background: var(--orange-dark);
  transform: translateX(2px);
}

.album {
  padding-top: 12px;
  padding-bottom: 56px;
}

.album__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.album__item {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: var(--r);
  overflow: hidden;
  background: #e8dfd4;
  cursor: zoom-in;
}

.album__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.album__item:hover img { transform: scale(1.03); }

.album__empty {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 14, 12, 0.88);
  padding: 24px;
}

.lightbox[hidden] { display: none !important; }

.lightbox__figure {
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 80px);
}

.lightbox__img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 80px);
  object-fit: contain;
  border-radius: var(--r-sm);
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox__close:hover { background: var(--orange); }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox__nav:hover { background: var(--orange); }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }

body.is-lightbox-open { overflow: hidden; }

/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 960px) {
  :root {
    --gutter: 48px;
    --wrap: 1480px;
  }

  .header {
    position: sticky;
    top: 0;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .header__inner {
    display: flex;
    align-items: center;
    min-height: 78px;
    gap: 28px;
  }

  .logo { margin-right: auto; gap: 12px; }
  .logo__mark { width: 42px; height: 34px; }
  .logo__name { font-size: 1.3rem; }
  .logo__sub { font-size: 0.64rem; letter-spacing: 0.11em; }

  .header__mobile { display: none; }
  .mobile-menu { display: none !important; }

  .nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 34px;
    margin: 0 22px 0 0;
  }

  .nav__link {
    font-size: 1.08rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 6px;
  }

  .nav__link.is-active::after,
  .nav__link:hover::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 22px;
    height: 2px;
    background: var(--orange);
    transform: translateX(-50%);
    border-radius: 1px;
  }

  .nav__link.is-active::after { width: 28px; }

  .phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: var(--r-btn);
    background: var(--orange);
    color: var(--white);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    flex-shrink: 0;
    transition: background 0.15s ease;
  }

  .phone-btn__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }

  .phone-btn:hover { background: var(--orange-dark); }

  /* Hero — 60/40, výška do viewportu */
  .hero { padding-top: 18px; }

  .hero__kicker {
    margin: 0 0 12px;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
  }

  .hero__grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    column-gap: 36px;
    align-items: stretch;
    max-height: calc(100vh - 110px);
  }

  .hero__right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 22px;
    min-width: 0;
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 110px);
  }

  .hero__visual {
    order: 0;
    display: block;
    background: transparent;
    overflow: hidden;
    aspect-ratio: auto;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: var(--r);
    height: 100%;
    min-height: 0;
    max-height: calc(100vh - 110px);
  }

  .hero__visual img {
    position: static;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    border-radius: var(--r);
  }

  .hero__content {
    order: 0;
    padding-top: 2px;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    flex: 0 0 auto;
  }

  .hero__title {
    font-size: clamp(2.2rem, 2.8vw, 2.85rem);
    max-width: none;
    width: 100%;
    margin-bottom: 14px;
    line-height: 1.05;
  }

  .hero__lead {
    font-size: 1.12rem;
    max-width: none;
    width: 100%;
    margin-bottom: 20px;
    line-height: 1.5;
  }

  .hero__content .btn {
    align-self: flex-start;
  }

  .peek {
    order: 0;
    flex: 1 1 auto;
    min-height: 220px;
    aspect-ratio: auto;
    height: auto;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: var(--r);
  }

  .peek__bar {
    padding: 36px 20px 16px;
  }

  .peek__label {
    font-size: 1.18rem;
    text-align: left;
  }

  .peek__go {
    width: 46px;
    height: 46px;
  }

  .btn {
    min-height: 52px;
    padding: 0 28px;
    font-size: 1.08rem;
  }

  /* Services — dle návrhu: nadpis vlevo, 3 sloupce */
  .block { padding-top: 56px; }

  .h2 { font-size: 2.25rem; }

  .services-panel {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: start;
    gap: 40px 56px;
    padding-top: 28px;
  }

  .services-cols {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    column-gap: 48px;
  }

  .services-cols li {
    border-bottom: 1px solid var(--line);
  }

  .services-cols li:nth-child(3n) {
    border-bottom: 0;
  }

  .services-cols span {
    padding: 18px 0;
    font-size: 1.22rem;
  }

  /* Gallery — obdélníky */
  .h2--rule::after {
    display: block;
    content: "";
    width: 32px;
    height: 2px;
    background: var(--orange);
    flex-shrink: 0;
  }

  .block__head {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
  }

  .block__link { font-size: 1.05rem; }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .gallery__media {
    aspect-ratio: 16 / 9;
  }

  .gallery__cap { font-size: 1.18rem; }

  /* Brands */
  .block--brands { padding-top: 64px; }

  .brands {
    display: flex;
    align-items: center;
    gap: 56px;
  }

  .brands__title {
    margin: 0;
    flex-shrink: 0;
    font-size: 1.75rem;
  }

  .brands__title.h2--rule::after { width: 28px; }

  .brands__viewport {
    flex: 1;
    min-width: 0;
    mask-image: none;
  }

  .brands__logos {
    gap: 72px;
    padding: 8px 0;
  }

  .brands__logos.is-manual {
    mask-image: none;
  }

  .brand--velux { height: 48px; }
  .brand--bramac { height: 62px; }
  .brand--iko { height: 56px; }
  .brand--prefa { height: 68px; width: 68px; }
  .brand--fatrafol { height: 50px; }

  /* Certs full-bleed feel */
  .certs {
    margin-top: 48px;
    padding: 44px 0;
  }

  .certs__inner {
    flex-wrap: nowrap;
    gap: 18px 24px;
  }

  .certs__link { white-space: nowrap; }

  /* Contact — nižší, kresba vpravo mimo text a čáru */
  .contact {
    padding: 56px 0 60px;
  }

  .contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 56px;
    align-items: center;
    min-height: 0;
  }

  .contact__left .btn { margin-bottom: 0; }

  .contact__title {
    font-size: 2.55rem;
    margin-bottom: 10px;
  }

  .contact__lead {
    margin-bottom: 24px;
    font-size: 1.12rem;
    max-width: 28ch;
  }

  .contact__right {
    position: relative;
    z-index: 1;
    padding-left: 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
    gap: 16px;
    max-width: 380px;
    margin-right: min(22vw, 250px);
  }

  .contact__row { gap: 16px; }

  .contact__phone span { font-size: 1.95rem; }

  .contact__mail span {
    font-size: 1.12rem;
    font-weight: 500;
  }

  .contact__art {
    display: block;
    position: absolute;
    right: max(var(--gutter), calc((100% - var(--wrap)) / 2));
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
    color: var(--white);
    opacity: 0.2;
    pointer-events: none;
    width: min(18vw, 210px);
  }

  .contact__art svg {
    width: 100%;
    height: auto;
    display: block;
  }

  /* Footer — 4 sloupce, krátké elegantní oddělovače */
  .footer {
    padding: 0;
    border-top: 0;
  }

  .footer__grid {
    display: grid;
    grid-template-columns: 1.45fr 1.25fr 0.85fr 1.5fr;
    align-items: center;
    gap: 0;
    min-height: 104px;
  }

  .footer__grid > * {
    position: relative;
    padding: 28px 28px;
    border-left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 104px;
  }

  .footer__grid > *:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 42px;
    background: var(--line);
  }

  .footer__grid > .footer__nav::before {
    background: var(--orange);
  }

  .footer__grid > *:first-child {
    padding-left: 0;
  }

  .footer__grid > .logo--foot {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }

  .footer__nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    font-size: 1.05rem;
  }

  .footer__meta { font-size: 1.05rem; }
  .footer__meta span { display: block; }
  .footer__ico { font-size: 1.05rem; }

  .logo--foot .logo__mark {
    width: 40px;
    height: 33px;
  }

  .logo--foot .logo__name { font-size: 1.12rem; }
  .logo--foot .logo__sub { font-size: 0.6rem; }
}

@media (min-width: 1200px) {
  :root {
    --wrap: 1520px;
    --gutter: 40px;
  }

  .hero__title { font-size: 2.95rem; }

  .peek { min-height: 240px; }

  .nav { gap: 40px; margin-right: 24px; }

  .services-panel {
    grid-template-columns: 220px 1fr;
  }

  .services-cols span { font-size: 1.28rem; }

  .brands__logos { gap: 88px; }

  .page-hero {
    padding: 48px 0 20px;
  }

  .page-hero__title { font-size: 3.2rem; }

  .cat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .cat-card { aspect-ratio: 16 / 10; }

  .album__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}
