:root {
  --bg: #f8f3ec;
  --bg-soft: #fffaf4;
  --panel: #ffffff;
  --text: #2d261f;
  --muted: #6a6156;
  --line: rgba(82, 66, 49, 0.18);
  --brand: #d46b2b;
  --brand-2: #bc4f24;
  --ok: #1f8c62;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scrollbar-width: thin;
  scrollbar-color: #b1845b #efe2d2;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: #efe2d2;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #c08d5f 0%, #a87447 100%);
  border: 2px solid #efe2d2;
  border-radius: 999px;
}

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -8%, #f3d9bf 0%, transparent 38%),
    radial-gradient(circle at 96% 6%, #f4e7d5 0%, transparent 34%),
    linear-gradient(180deg, #fcf7f0 0%, #f6efe6 100%);
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  letter-spacing: -0.02em;
  margin: 0;
}

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: radial-gradient(#734d24 0.45px, transparent 0.45px);
  background-size: 5px 5px;
  z-index: -1;
}

.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 5vw;
  backdrop-filter: blur(12px);
  background: rgba(252, 247, 240, 0.88);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 24px rgba(239, 127, 26, 0.45);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  margin-left: auto;
}

.nav-link {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
}

.main-nav a:hover,
.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.62);
}

.has-mega {
  position: relative;
  padding-bottom: 0.45rem;
}

.nav-trigger::after {
  content: "▾";
  margin-left: 0.35rem;
  font-size: 0.78rem;
}

.mega-menu {
  position: absolute;
  left: 50%;
  right: auto;
  top: 100%;
  transform: translateX(-50%);
  width: min(760px, calc(100vw - 2rem));
  margin-top: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 252, 247, 0.98);
  box-shadow: 0 22px 44px rgba(113, 80, 42, 0.16);
  display: none;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu,
.has-mega.is-open .mega-menu {
  display: grid;
}

.mega-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 12px;
}

.mega-col h3 {
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
}

.mega-col a {
  display: block;
  padding: 0.35rem 0;
  color: #5a4a3a;
}

.mega-col a:hover {
  color: var(--brand-2);
}

.mega-priority {
  border-left: 1px solid var(--line);
  padding-left: 0.8rem;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  font: inherit;
  font-weight: 600;
}

.header-utility {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.utility-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(124, 85, 43, 0.25);
  border-radius: 999px;
  padding: 0.36rem 0.62rem;
  background: rgba(255, 255, 255, 0.75);
  color: #5f4d3a;
  font-size: 0.83rem;
  white-space: nowrap;
}

.utility-chip:hover {
  border-color: var(--brand);
  color: var(--brand-2);
}

.utility-eshop {
  padding: 0.52rem 0.88rem;
  font-size: 0.9rem;
}

.hero {
  max-width: none;
  margin: 0;
  padding: 0;
  position: relative;
  height: clamp(500px, 68vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background:
    linear-gradient(
      96deg,
      rgba(26, 20, 14, 0.68) 0%,
      rgba(26, 20, 14, 0.46) 32%,
      rgba(26, 20, 14, 0.18) 56%,
      rgba(26, 20, 14, 0.02) 76%,
      rgba(26, 20, 14, 0) 100%
    ),
    url("https://www.chadim.cz/images/banners/dvere-hoermann.jpg") center 44% / cover no-repeat,
    #2b2118;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22px;
  background: linear-gradient(to bottom, rgba(23, 17, 12, 0), rgba(23, 17, 12, 0.95));
  pointer-events: none;
  z-index: 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  padding: 0 5vw;
}

.hero-copy > .eyebrow,
.hero-copy > h1,
.hero-copy > .lead,
.hero-copy > .cta-row,
.hero-copy > .stats {
  max-width: 640px;
}

.eyebrow {
  color: #ffcca0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 700;
  margin: 0 0 0.7rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.8rem);
  line-height: 1.05;
  color: #fff7ef;
}

.hero h1 span {
  color: #ffd8b4;
}

.lead {
  color: rgba(255, 243, 233, 0.94);
  margin: 1rem 0 1.6rem;
  max-width: 62ch;
  font-size: 1.06rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(130deg, var(--brand), #f09f4f);
  color: #16110a;
  box-shadow: 0 12px 35px rgba(239, 127, 26, 0.35);
}

.btn-outline {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.75);
}

.btn-ghost {
  border-color: rgba(82, 66, 49, 0.3);
  background: rgba(255, 255, 255, 0.55);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.stats article {
  background: linear-gradient(180deg, rgba(255, 247, 238, 0.18), rgba(255, 247, 238, 0.08));
  border: 1px solid rgba(255, 231, 209, 0.28);
  border-radius: var(--radius);
  padding: 0.85rem 0.9rem;
  box-shadow: 0 8px 20px rgba(136, 93, 42, 0.08);
  backdrop-filter: blur(2px);
}

.stats h3 {
  color: #ffd8b4;
  font-size: 1.4rem;
}

.stats p {
  margin: 0.25rem 0 0;
  color: rgba(255, 230, 205, 0.92);
  font-size: 0.92rem;
}

.trust-strip {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 5vw;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.trust-strip p {
  margin: 0;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.62rem 0.95rem;
  text-align: center;
  color: #4e3d2c;
  font-weight: 600;
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 3.4rem 5vw;
}

.section-head {
  margin-bottom: 1.2rem;
}

.section h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.grid {
  display: grid;
  gap: 1rem;
}

.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.97), rgba(255, 246, 236, 0.8));
  transition: transform 0.24s ease, border-color 0.24s ease;
  box-shadow: 0 10px 24px rgba(110, 72, 33, 0.08);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(239, 127, 26, 0.8);
}

.card p {
  color: var(--muted);
}

.card a {
  color: var(--brand-2);
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.partner-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.partner-cards article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.98), rgba(255, 244, 230, 0.86));
  padding: 1rem;
  box-shadow: 0 14px 28px rgba(110, 72, 33, 0.1);
}

.partner-cards h3 {
  margin-bottom: 0.45rem;
}

.partner-cards p {
  margin: 0;
  color: #4d3d2e;
  line-height: 1.45;
}

.offer-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.offer-cloud a {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(124, 85, 43, 0.25);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  background: rgba(255, 255, 255, 0.85);
  color: #4b3b2c;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.18s ease;
}

.offer-cloud a:hover {
  background: #fff;
  border-color: var(--brand);
  color: var(--brand-2);
  transform: translateY(-1px);
}

.timeline article {
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
}

.timeline span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: rgba(212, 107, 43, 0.18);
  color: var(--brand-2);
}

.timeline p {
  color: var(--muted);
}

.quotes {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quotes article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  background: linear-gradient(160deg, #fffefc 0%, #fff4e8 100%);
  box-shadow: 0 12px 24px rgba(112, 76, 40, 0.08);
}

.quotes p {
  color: #4d4135;
  margin-top: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.quotes h3 {
  font-size: 0.95rem;
  color: var(--muted);
}

.showcase-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.showcase-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.94), rgba(247, 234, 220, 0.75));
  box-shadow: 0 10px 24px rgba(112, 75, 40, 0.09);
}

.showcase-grid p {
  color: var(--muted);
}

.contact-wrap {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.2rem;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.98), rgba(255, 245, 234, 0.84));
  box-shadow: 0 14px 30px rgba(124, 85, 43, 0.11);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}

.contact-form {
  display: grid;
  gap: 0.7rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  padding: 0.7rem 0.8rem;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid var(--brand);
  border-color: var(--brand);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 5vw 2rem;
  color: var(--muted);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero {
    height: clamp(440px, 62vh, 620px);
  }

  .cards,
  .partner-cards,
  .timeline,
  .quotes,
  .showcase-grid,
  .contact-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 5vw;
    right: 5vw;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 252, 247, 0.98);
    padding: 0.7rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 18px 40px rgba(113, 80, 42, 0.15);
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-link {
    text-align: left;
    width: 100%;
    padding: 0.58rem 0.5rem;
  }

  .mega-menu {
    position: static;
    width: 100%;
    transform: none;
    right: auto;
    left: auto;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0.3rem 0.2rem;
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .has-mega .mega-menu {
    display: none;
  }

  .has-mega.is-open .mega-menu {
    display: grid;
  }

  .mega-priority {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 0.5rem;
  }

  .header-utility {
    display: none;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .cards,
  .partner-cards,
  .timeline,
  .quotes,
  .showcase-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    padding-top: 1rem;
  }

  .hero {
    height: clamp(400px, 58vh, 520px);
  }

}
