/* CZ Tiny Houses Production – central stylesheet
   Consolidated 2026-10-06. Shared by the entire website. */

/* Local typography */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-normal-100-900.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-italic-100-900.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("/assets/fonts/lora-normal-400-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("/assets/fonts/lora-italic-400-700.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #f5f3ee;
  --paper: #fff;
  --ink: #17201d;
  --muted: #68706c;
  --line: #d8ddd8;
  --sage: #7d8f80;
  --sage-dark: #4f6254;
  --sand: #d7c6ac;
  --dark: #17201d;
  --warm: #b87648;
  --radius: 24px;
  --shadow: 0 18px 50px rgba(26,35,31,.09);
  --shell: min(1380px,calc(100% - 48px));
  --site-h1-size: clamp(2.95rem,4.8vw,5.9rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

button, input, textarea, select {
  font: inherit;
}

img, svg {
  display: block;
  max-width: 100%;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -50px;
  padding: 10px 14px;
  background: #fff;
  z-index: 9999;
}

.skip-link:focus {
  top: 12px;
}

.eyebrow {
  display: inline-block;
  font-size: .73rem;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 18px;
}

.section {
  padding: 120px 0;
}

.section-soft {
  background: #ecece5;
}

.section-dark {
  background: var(--dark);
  color: #f8faf7;
}

.section-head {
  max-width: 850px;
  margin-bottom: 52px;
}

.section-head.split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr);
  gap: 80px;
  align-items: end;
}

.section-head h2, .custom-copy h2, .philosophy-copy h2, .contact-copy h2, .sticky-copy h2, .apartment-inner h2 {
  font-size: clamp(2.35rem,4.3vw,5rem);
  letter-spacing: -.055em;
  line-height: .96;
  margin: 0;
  font-weight: 650;
}

.section-head p, .custom-copy>p, .philosophy-copy>p, .sticky-copy>p, .apartment-inner p, .contact-copy>p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 650px;
  margin: 20px 0 0;
}

.section-head.split>p {
  margin: 0;
}

.section-head.light .eyebrow {
  color: #b5c7b7;
}

.section-head.light p {
  color: #aeb9b3;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  padding: 16px 23px;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .01em;
  transition: .25s ease;
  border: 1px solid transparent;
}

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

.btn-primary {
  color: #fff;
}

.btn-ghost {
  border-color: rgba(23,32,29,.25);
  background: rgba(255,255,255,.35);
}

.btn-dark {
  background: var(--dark);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--dark);
}

.btn.full {
  width: 100%;
  border-radius: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  font-size: .88rem;
}

.text-link b {
  font-size: 1.1rem;
  transition: .2s;
}

.text-link:hover b {
  transform: translateX(4px);
}

.text-link.big {
  font-size: 1rem;
}

/* header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: .3s;
}

.site-header.scrolled {
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(23,32,29,.09);
}

.header-inner {
  display: flex;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.main-nav>a, .nav-item>a {
  font-weight: 750;
  white-space: nowrap;
  transition: .2s;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-toggle {
  border: 0;
  background: none;
  padding: 2px 0 2px 4px;
  font-size: 1rem;
  cursor: pointer;
}

.dropdown {
  position: absolute;
  top: calc(100% + 25px);
  left: 50%;
  transform: translate(-50%,12px);
  min-width: 240px;
  background: #fff;
  border: 1px solid #e6e7e2;
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: .2s;
  display: grid;
  gap: 2px;
}

.has-dropdown:hover>.dropdown, .has-dropdown.open>.dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%,0);
}

.dropdown:before {
  content: "";
  position: absolute;
  inset: -25px 0 auto;
  height: 25px;
}

.dropdown a {
  padding: 9px 11px;
  border-radius: 9px;
  font-size: .81rem;
  color: #39413e;
}

.dropdown a:hover {
  background: #f1f2ee;
  color: #111;
}

.mega-modular {
  width: 430px;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 20px;
}

.mega-modular>div {
  display: flex;
  flex-direction: column;
}

.dropdown-label {
  text-transform: uppercase;
  font-size: .64rem;
  letter-spacing: .13em;
  font-weight: 800;
  padding: 5px 11px;
}

.dropdown-label.second {
  margin-top: 12px;
}

.header-cta {
  margin-left: 4px;
  padding: 11px 16px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 800;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  padding: 10px;
  margin-left: auto;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: .2s;
}

/* hero */

.hero {
  min-height: 780px;
  height: 100vh;
  max-height: 980px;
  position: relative;
  overflow: hidden;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-copy {
  padding-top: 50px;
}

.hero h1 {
  font-size: clamp(3.55rem,6.8vw,7.7rem);
  line-height: .86;
  letter-spacing: -.07em;
  margin: 0;
  font-weight: 640;
}

.hero h1 em {
  font-family: Georgia,serif;
  font-weight: 400;
  color: var(--sage-dark);
}

.hero-copy>p {
  font-size: 1.08rem;
  max-width: 610px;
  margin: 30px 0;
  color: #58625d;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-points {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 54px;
  font-size: .74rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-points span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points i {
  font-style: normal;
  color: var(--sage-dark);
}

.window {
  position: absolute;
  top: 42px;
  height: 112px;
  background: linear-gradient(145deg,#cddedc,#869b9b);
  border: 7px solid #252c29;
  z-index: 2;
}

.window:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 5px;
  background: #252c29;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .69rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.scroll-cue span {
  width: 36px;
  height: 1px;
  background: var(--ink);
}

/* categories */

.category-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr .9fr;
  gap: 18px;
}

.category-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  transition: .3s;
  box-shadow: 0 1px 0 rgba(23,32,29,.06);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.category-visual {
  height: 300px;
  position: relative;
  overflow: hidden;
}

.category-mobile .category-visual {
  background: linear-gradient(155deg,#d8d7c9,#a9bba4);
}

.category-module .category-visual {
  background: linear-gradient(155deg,#d5dcd9,#9aa5a1);
}

.category-classic .category-visual {
  background: linear-gradient(155deg,#dfd4c5,#c7aa88);
}

/* model cards */

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

.model-card {
  background: #f7f7f4;
  border-radius: 20px;
  overflow: hidden;
  transition: .3s;
}

.model-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.model-image {
  height: 280px;
  position: relative;
  overflow: hidden;
}

.model-info {
  padding: 20px 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.model-info span {
  font-size: .64rem;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 800;
  color: var(--muted);
}

.model-info h3 {
  font-size: 1.25rem;
  margin: 3px 0 0;
}

.model-info>a {
  width: 42px;
  height: 42px;
  border: 1px solid #cdd2ce;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: .2s;
}

.model-card:hover .model-info>a {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

/* modular */

.modular-layout {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 85px;
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: 135px;
}

.sticky-copy .btn {
  margin-top: 30px;
}

.series-list {
  display: grid;
  gap: 20px;
}

.series-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  background: #fafaf7;
}

.series-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.series-top span {
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted);
}

.series-top h3 {
  font-size: 2rem;
  margin: 2px 0 0;
  letter-spacing: -.04em;
}

.series-top strong {
  font-size: .72rem;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 99px;
}

.series-visual {
  height: 280px;
  margin: 24px 0;
  border-radius: 17px;
  position: relative;
}

.series-visual span {
  position: absolute;
  height: 105px;
  background: #4f5a52;
  bottom: 55px;
  box-shadow: 0 18px 30px rgba(31,41,35,.16);
}

.series-visual span:before {
  content: "";
  position: absolute;
  left: 13%;
  top: 18%;
  width: 40%;
  height: 54%;
  background: #9bafaa;
  border: 6px solid #343b36;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chips a {
  font-size: .77rem;
  font-weight: 750;
  border: 1px solid #d5d9d5;
  border-radius: 999px;
  padding: 8px 11px;
  background: #fff;
}

.chips a:hover {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

/* classics */

.classic-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.classic-card {
  background: #222d29;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 22px;
  overflow: hidden;
  transition: .3s;
}

.classic-card:hover {
  transform: translateY(-6px);
}

.classic-visual {
  height: 320px;
  position: relative;
  overflow: hidden;
}

.classic-copy {
  padding: 22px 24px 26px;
}

.classic-copy>span {
  font-size: .67rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9daba4;
  font-weight: 800;
}

.classic-copy h3 {
  font-size: 1.35rem;
  margin: 5px 0 18px;
  font-weight: 550;
}

.classic-copy h3 strong {
  font-weight: 800;
}

.classic-copy a {
  font-size: .82rem;
  font-weight: 800;
  color: #cfdbd1;
}

/* custom */

.custom-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 90px;
  align-items: center;
}

.custom-art {
  height: 560px;
  border-radius: 28px;
  background: #e6e2d9;
  position: relative;
  overflow: hidden;
}

.custom-art>span {
  position: absolute;
  font-size: .68rem;
  font-weight: 800;
  color: #5c6d61;
}

.custom-art>span:nth-of-type(1) {
  left: 14%;
  top: 14%;
}

.custom-art>span:nth-of-type(2) {
  right: 13%;
  top: 39%;
}

.custom-art>span:nth-of-type(3) {
  left: 18%;
  bottom: 16%;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 27px 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  font-size: .9rem;
  font-weight: 650;
}

.check-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sage-dark);
  font-weight: 900;
}

/* apartment */

.apartment-banner {
  background: #9dac9f;
}

.apartment-inner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
}

.apartment-inner>div {
  max-width: 850px;
}

.apartment-inner h2 {
  font-size: clamp(2.4rem,4vw,4.6rem);
}

.apartment-inner p {
  max-width: 700px;
}

/* philosophy */

.philosophy-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 90px;
  align-items: center;
}

.quote-panel {
  min-height: 510px;
  border-radius: 28px;
  background: var(--dark);
  color: #fff;
  padding: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-mark {
  font-family: Georgia,serif;
  font-size: 7rem;
  line-height: .45;
  color: #92a596;
}

.quote-panel p {
  font-family: Georgia,serif;
  font-size: clamp(1.7rem,3vw,3rem);
  line-height: 1.16;
  margin: 40px 0;
}

.quote-author {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #aab6b0;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 40px;
}

.stat-grid>div {
  padding: 22px;
  border-top: 1px solid var(--line);
}

.stat-grid strong {
  display: block;
  font-size: 2.3rem;
  letter-spacing: -.05em;
}

.stat-grid span {
  font-size: .8rem;
  color: var(--muted);
}

/* process */

.steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid #cfd3cf;
}

.step {
  padding: 32px 28px 10px;
  border-right: 1px solid #cfd3cf;
}

.step:first-child {
  padding-left: 0;
}

.step:last-child {
  border-right: 0;
}

.step>span {
  font-size: .7rem;
  font-weight: 800;
  color: var(--sage-dark);
}

.step h3 {
  font-size: 1.4rem;
  margin: 30px 0 10px;
}

.step p {
  font-size: .88rem;
  color: var(--muted);
  margin: 0;
}

/* news */

.news-grid {
  display: grid;
  grid-template-columns: 1.45fr .55fr;
  gap: 20px;
}

.news-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
}

.news-visual {
  min-height: 430px;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.news-visual:before {
  content: "";
  position: absolute;
  width: 65%;
  height: 120px;
  background: #4b534d;
  left: 18%;
  bottom: 78px;
}

.news-visual span {
  position: relative;
  font-size: 3rem;
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.06em;
}

.news-copy {
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-copy>span {
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-weight: 800;
}

.news-copy h3 {
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -.04em;
  margin: 16px 0;
}

.news-copy p {
  color: var(--muted);
  font-size: .9rem;
}

.news-copy a {
  font-size: .82rem;
  font-weight: 800;
  margin-top: 14px;
}

/* contact/footer */

.contact-section {
  padding: 120px 0;
  background: #d9d7ca;
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

.contact-note {
  margin-top: 45px;
  padding-top: 20px;
  border-top: 1px solid #adb4aa;
  display: grid;
  gap: 4px;
}

.contact-note span {
  font-size: .67rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
  color: #667168;
}

.contact-note strong {
  font-size: 1rem;
}

.contact-form {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 18px 50px rgba(26,35,31,.07);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: .72rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  border: 1px solid #d8ded9;
  background: #f9faf8;
  border-radius: 12px;
  padding: 13px 14px;
  outline: none;
  color: var(--ink);
}

.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  border-color: #829386;
  box-shadow: 0 0 0 3px rgba(94,117,99,.1);
}

.contact-form small {
  display: block;
  margin-top: 12px;
  text-align: center;
  color: #7a827e;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 22px;
  font-size: .72rem;
}

/* reveal */

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

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (max-width:1180px) {
  .header-inner {
    gap: 20px;
  }

  .main-nav {
    gap: 14px;
  }

  .main-nav>a, .nav-item>a {
    font-size: .73rem;
  }

  .header-cta {
    display: none;
  }

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

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

  .category-classic {
    grid-column: 1/-1;
  }

  .category-classic .category-visual {
    height: 330px;
  }

  .modular-layout {
    gap: 50px;
  }

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

@media (max-width:980px) {
  :root {
    --shell: min(100% - 32px,760px);
  }

  .section {
    padding: 88px 0;
  }

  .header-inner {
    height: 76px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 76px 0 auto;
    background: #f5f3ee;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 28px;
    border-bottom: 1px solid #dfe2dd;
    max-height: calc(100vh - 76px);
    overflow: auto;
  }

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

  .main-nav>a, .nav-item>a {
    font-size: 1rem;
    padding: 13px 6px;
  }

  .nav-item {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .dropdown-toggle {
    padding: 10px 14px;
    font-size: 1.35rem;
  }

  .dropdown {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    display: none;
    box-shadow: none;
    border: 0;
    background: #eaece7;
    margin: 0 0 10px;
    grid-column: 1/-1;
    min-width: 0;
    width: 100%;
    border-radius: 12px;
  }

  .has-dropdown.open>.dropdown {
    display: grid;
  }

  .mega-modular {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    height: auto;
    min-height: 820px;
  }

  .hero:after {
    background: linear-gradient(180deg,rgba(245,243,238,.97) 0%,rgba(245,243,238,.88) 52%,rgba(245,243,238,.2) 78%,rgba(245,243,238,0) 100%);
  }

  .hero-copy {
    width: 100%;
    padding: 145px 0 380px;
  }

  .hero h1 {
    max-width: 720px;
  }

  .scroll-cue {
    display: none;
  }

  .section-head.split, .custom-grid, .philosophy-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .section-head.split {
    gap: 22px;
  }

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

  .category-card {
    min-height: 470px;
  }

  .category-visual {
    height: 260px;
  }

  .modular-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .sticky-copy {
    position: static;
  }

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

  .classic-card {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
  }

  .classic-visual {
    height: 300px;
  }

  .classic-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .custom-art {
    height: 430px;
  }

  .apartment-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .step:nth-child(2) {
    border-right: 0;
  }

  .step {
    border-bottom: 1px solid #cfd3cf;
    padding: 28px;
  }

  .step:first-child {
    padding-left: 28px;
  }

  .news-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:640px) {
  :root {
    --shell: calc(100% - 28px);
    --radius: 18px;
  }

  .section {
    padding: 72px 0;
  }

  .eyebrow {
    margin-bottom: 13px;
  }

  .section-head {
    margin-bottom: 35px;
  }

  .section-head h2, .custom-copy h2, .philosophy-copy h2, .contact-copy h2, .sticky-copy h2, .apartment-inner h2 {
    font-size: 2.55rem;
  }

  .hero {
    min-height: 760px;
  }

  .hero-copy {
    padding: 126px 0 325px;
  }

  .hero h1 {
    font-size: 3.65rem;
  }

  .hero-copy>p {
    font-size: .96rem;
    margin-top: 22px;
  }

  .hero-actions {
    margin-top: 25px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-points {
    display: none;
  }

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

  .category-card {
    min-height: 0;
  }

  .category-classic {
    grid-column: auto;
  }

  .category-visual, .category-classic .category-visual {
    height: 240px;
  }

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

  .model-image {
    height: 260px;
  }

  .mega-modular {
    grid-template-columns: 1fr;
  }

  .series-card {
    padding: 20px;
  }

  .series-visual {
    height: 220px;
  }

  .classic-card {
    display: block;
  }

  .classic-visual {
    height: 250px;
  }

  .custom-art {
    height: 340px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .quote-panel {
    min-height: 420px;
    padding: 35px;
  }

  .quote-panel p {
    font-size: 1.8rem;
  }

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

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

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

  .news-main {
    grid-template-columns: 1fr;
  }

  .news-visual {
    min-height: 300px;
  }

  .news-copy {
    padding: 28px;
  }

  .contact-form {
    padding: 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-up {
    grid-row: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .apartment-banner {
    padding: 58px 0;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn, .category-card, .model-card, .classic-card {
    transition: none;
  }
}

/* Photo presentation */

.photo-fill {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero {
  background: #e8e8e2;
}

.hero:after {
  background: linear-gradient(90deg,rgba(245,243,238,.99) 0%,rgba(245,243,238,.96) 31%,rgba(245,243,238,.68) 47%,rgba(245,243,238,.08) 72%,rgba(245,243,238,0) 100%);
}

.hero-copy {
  width: min(680px,52%);
}

.hero h1 {
  text-shadow: 0 1px 0 rgba(255,255,255,.25);
}

.category-visual {
  background: #dfe3dc !important;
}

.category-visual .photo-fill, .model-image .photo-fill, .series-visual .photo-fill, .classic-visual .photo-fill, .custom-art .photo-fill, .news-visual .photo-fill {
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}

.category-card:hover .category-visual .photo-fill, .model-card:hover .model-image .photo-fill, .classic-card:hover .classic-visual .photo-fill {
  transform: scale(1.035);
}

.category-visual:after, .model-image:after, .classic-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,rgba(12,24,18,0) 55%,rgba(12,24,18,.16) 100%);
}

.model-image {
  background: #dde2db !important;
}

.model-photo {
  object-position: center center;
}

#rodina .model-photo {
  object-position: center 55%;
}

#rodina-l .model-photo {
  object-position: center 48%;
}

.series-visual {
  padding: 0;
  overflow: hidden;
  background: #d9ded8 !important;
}

.series-visual .photo-fill {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: none;
}

.series-card:hover .series-visual .photo-fill {
  transform: scale(1.025);
}

.classic-visual {
  background: #2c3732 !important;
}

.classic-photo {
  object-position: center center;
}

.custom-art.custom-photo {
  background: #d8ddd6;
}

.custom-art.custom-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(15,24,20,0) 55%,rgba(15,24,20,.42) 100%);
  pointer-events: none;
}

.custom-art .photo-badge {
  position: absolute !important;
  z-index: 2;
  left: 28px !important;
  bottom: 26px !important;
  top: auto !important;
  color: #fff !important;
  background: rgba(20,28,24,.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: .69rem !important;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.apartment-banner {
  position: relative;
  background-image: linear-gradient(90deg,rgba(18,30,25,.88),rgba(18,30,25,.63)),url("../images/photos/apartment.webp");
  background-size: cover;
  background-position: center 48%;
  color: #fff;
  padding: 92px 0;
}

.apartment-inner {
  position: relative;
  z-index: 1;
}

.apartment-inner .eyebrow {
  color: #c8d7cc;
}

.apartment-inner p {
  color: rgba(255,255,255,.78);
}

.news-visual {
  padding: 30px;
  overflow: hidden;
  background: #798d7c;
}

.news-visual:before, .news-visual:after {
  display: none;
}

.news-visual .photo-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-visual:after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(0,0,0,0) 45%,rgba(10,18,14,.58) 100%);
  transform: none;
  width: auto;
  height: auto;
  left: 0;
  bottom: 0;
}

.news-visual span {
  z-index: 3;
  color: #fff;
  text-shadow: 0 3px 22px rgba(0,0,0,.28);
}

@media (max-width:980px) {
  .hero:after {
    background: linear-gradient(180deg,rgba(245,243,238,.98) 0%,rgba(245,243,238,.94) 41%,rgba(245,243,238,.43) 67%,rgba(245,243,238,.03) 100%);
  }

  .hero-copy {
    width: 100%;
    padding: 135px 0 360px;
  }
}

@media (max-width:640px) {
  .hero {
    min-height: 790px;
  }

  .hero:after {
    background: linear-gradient(180deg,rgba(245,243,238,.99) 0%,rgba(245,243,238,.96) 49%,rgba(245,243,238,.48) 69%,rgba(245,243,238,.06) 100%);
  }

  .hero-copy {
    padding: 118px 0 320px;
  }

  .hero h1 {
    font-size: 3.45rem;
  }

  .category-visual, .category-classic .category-visual {
    height: 255px;
  }

  .model-image {
    height: 285px;
  }

  .custom-art.custom-photo {
    height: 390px;
  }

  .apartment-banner {
    padding: 68px 0;
    background-position: 58% center;
  }
}

/* Logo, hero video and main categories */

/* Brand/header */

.site-header {
  border-bottom: 1px solid rgba(17,25,22,.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 94px;
  gap: 22px;
}

.brand-logo {
  flex: 0 0 148px;
}

.brand-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.main-nav {
  gap: 17px;
}

.main-nav>a, .nav-item>a {
  font-size: .74rem;
}

/* Hero with supplied video */

.hero.hero-v03 {
  height: auto;
  max-height: none;
  min-height: 760px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 132px 0 88px;
}

.hero.hero-v03:before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  right: -220px;
  top: -220px;
  pointer-events: none;
}

.hero.hero-v03:after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  left: -260px;
  bottom: -250px;
  z-index: 0;
  pointer-events: none;
}

.hero-v03-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(420px,.78fr);
  gap: clamp(48px,6vw,104px);
  align-items: center;
}

.hero-v03-copy {
  width: auto;
  padding: 0;
}

.hero-v03 h1 {
  font-size: clamp(3.4rem,5.2vw,6.5rem);
  line-height: .91;
  letter-spacing: -.065em;
  max-width: 820px;
}

.hero-v03 h1 em {
  font-family: Georgia,serif;
  font-weight: 400;
}

.hero-v03 .hero-copy>p {
  font-size: 1.08rem;
  line-height: 1.72;
  max-width: 650px;
  margin: 28px 0 0;
}

.hero-v03 .hero-points {
  margin-top: 42px;
}

.hero-video-wrap {
  position: relative;
}

.hero-video-frame {
  position: relative;
  width: min(100%,620px);
  aspect-ratio: 1/1;
  margin-left: auto;
  border-radius: 30px;
  overflow: hidden;
  background: #171818;
  box-shadow: 0 36px 80px rgba(26,29,28,.18);
  border: 1px solid rgba(255,255,255,.8);
}

.hero-video-frame:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(0,0,0,.03) 58%,rgba(0,0,0,.34) 100%);
  pointer-events: none;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video-badge {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  padding: 9px 13px;
  border-radius: 999px;
  font-size: .66rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  font-weight: 800;
  color: #343636;
}

.hero-video-badge span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.hero-v03 .scroll-cue {
  bottom: 26px;
}

/* Five primary divisions */

.category-grid.category-grid-five {
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 14px;
}

.category-grid-five .category-card {
  position: relative;
  min-height: 410px;
  height: 410px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: none;
}

.category-grid-five .category-card:hover {
  transform: translateY(-6px);
}

.category-grid-five .category-visual {
  position: absolute;
  inset: 0;
  height: 100%;
  background: #d9d9d5 !important;
}

.category-grid-five .category-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.category-grid-five .category-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}

.category-grid-five .category-card:hover .category-visual img {
  transform: scale(1.045);
}

.category-grid-five .category-overlay {
  position: absolute;
  z-index: 3;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 13px;
  align-items: end;
  padding: 22px;
  color: #fff;
}

.category-grid-five .category-overlay>span {
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .12em;
  opacity: .68;
  padding-bottom: 5px;
}

.category-grid-five .category-overlay h3 {
  font-size: 1.38rem;
  line-height: 1.04;
  letter-spacing: -.035em;
  margin: 0 0 7px;
}

.category-grid-five .category-overlay p {
  font-size: .73rem;
  line-height: 1.3;
  margin: 0;
  color: rgba(255,255,255,.72);
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 700;
}

.category-grid-five .category-overlay b {
  font-size: 1.3rem;
  font-weight: 400;
  transition: transform .25s;
  padding-bottom: 1px;
}

.category-grid-five .category-card:hover .category-overlay b {
  transform: translate(3px,-3px);
}

.category-grid-five .category-custom .photo-fill {
  object-position: center center;
}

.category-grid-five .category-apartment .photo-fill {
  object-position: center center;
}

/* Accent styling */

@media (max-width:1280px) {
  .brand-logo {
    width: 125px;
    flex-basis: 125px;
  }

  .main-nav {
    gap: 12px;
  }

  .main-nav>a, .nav-item>a {
    font-size: .69rem;
  }

  .category-grid.category-grid-five {
    grid-template-columns: repeat(3,1fr);
  }

  .category-grid-five .category-card {
    height: 360px;
    min-height: 360px;
  }

  .category-grid-five .category-custom, .category-grid-five .category-apartment {
    grid-column: auto;
  }
}

@media (max-width:980px) {
  .header-inner {
    height: 80px;
  }

  .brand-logo {
    width: 118px;
    flex-basis: 118px;
  }

  .main-nav {
    inset: 80px 0 auto;
    background: #fff;
    max-height: calc(100vh - 80px);
  }

  .hero.hero-v03 {
    min-height: auto;
    padding: 122px 0 76px;
  }

  .hero-v03-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-v03-copy {
    padding: 0;
    width: 100%;
  }

  .hero-v03 h1 {
    max-width: 760px;
  }

  .hero-video-frame {
    width: min(100%,620px);
    margin: 0 auto;
  }

  .hero-v03 .scroll-cue {
    display: none;
  }

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

  .category-grid-five .category-card {
    height: 390px;
    min-height: 390px;
  }
}

@media (max-width:640px) {
  .header-inner {
    height: 74px;
  }

  .brand-logo {
    width: 106px;
    flex-basis: 106px;
  }

  .main-nav {
    inset: 74px 0 auto;
    max-height: calc(100vh - 74px);
  }

  .hero.hero-v03 {
    padding: 106px 0 58px;
  }

  .hero-v03-grid {
    gap: 34px;
  }

  .hero-v03 h1 {
    font-size: 3.15rem;
    line-height: .92;
  }

  .hero-v03 .hero-copy>p {
    font-size: .95rem;
    margin-top: 20px;
  }

  .hero-v03 .hero-actions {
    margin-top: 24px;
  }

  .hero-v03 .hero-points {
    display: none;
  }

  .hero-video-frame {
    border-radius: 21px;
  }

  .hero-video-badge {
    left: 13px;
    bottom: 13px;
    font-size: .58rem;
    padding: 8px 10px;
  }

  .category-grid.category-grid-five {
    grid-template-columns: 1fr;
  }

  .category-grid-five .category-card {
    height: 330px;
    min-height: 330px;
  }

  .category-grid-five .category-overlay {
    padding: 20px;
  }

  .category-grid-five .category-overlay h3 {
    font-size: 1.55rem;
  }
}

/* Natural colour palette */

:root {
  --brand-red: var(--sage-dark);
  --brand-red-dark: #3e5143;
  --brand-gray: #68706c;
}

/* Logo keeps its own red artwork, the website UI stays natural and calm. */

.site-header {
  border-bottom-color: rgba(23,32,29,.07);
}

.main-nav>a:hover, .nav-item>a:hover {
  color: var(--sage-dark);
}

.dropdown-label {
  color: var(--sage-dark);
}

.header-cta {
  background: var(--dark);
  color: #fff;
}

.header-cta:hover {
  background: #26332d;
}

.hero.hero-v03 {
  background: linear-gradient(135deg,#f5f3ee 0%,#eeeee7 54%,#dce3d9 100%);
}

.hero.hero-v03:before {
  background: rgba(125,143,128,.12);
}

.hero.hero-v03:after {
  background: rgba(215,198,172,.16);
}

.hero-v03 .eyebrow {
  color: var(--sage-dark);
}

.hero-v03 h1 {
  color: var(--ink);
}

.hero-v03 h1 em {
  color: var(--sage-dark);
}

.hero-v03 .hero-copy>p {
  color: #58625d;
}

.hero-v03 .btn-primary {
  background: var(--sage-dark);
}

.hero-v03 .btn-primary:hover {
  background: #3e5143;
}

.hero-v03 .btn-ghost {
  background: rgba(255,255,255,.62);
  border-color: #cfd5cf;
}

.hero-v03 .hero-points {
  color: #4e5953;
}

.hero-v03 .hero-points i {
  color: var(--sage-dark);
}

.hero-video-badge span {
  background: var(--sage-dark);
  box-shadow: 0 0 0 4px rgba(79,98,84,.13);
}

.hero-v03 .scroll-cue {
  color: #4e5953;
}

.hero-v03 .scroll-cue span {
  background: var(--sage-dark);
}

/* General accents */

.btn-primary {
  background: var(--sage-dark);
}

.btn-primary:hover {
  background: #3e5143;
}

.eyebrow {
  color: var(--sage-dark);
}

.text-link:hover {
  color: var(--sage-dark);
}

/* Soften the five main boxes slightly so they belong to the natural palette. */

.intro-section {
  background: #f9f8f4;
}

.category-grid-five .category-card {
  background: #17201d;
}

.category-grid-five .category-visual:after {
  background: linear-gradient(180deg,rgba(16,26,21,.01) 28%,rgba(16,26,21,.15) 52%,rgba(16,26,21,.80) 100%);
}

.category-grid-five .category-card:hover {
  box-shadow: 0 22px 50px rgba(26,35,31,.14);
}

@media (max-width:980px) {
  .main-nav {
    background: #f5f3ee;
  }
}

/* Footer and logo */

.footer-up:hover {
  color: #fff;
}

/* Public pages */

:root {
  --footer-text: #e7e2d7;
  --footer-muted: #c7c1b4;
}

.site-header {
  background: rgba(245,243,238,.92);
}

.site-header.scrolled {
  background: rgba(245,243,238,.97);
}

.brand-logo {
  width: 156px;
  flex-basis: 156px;
}

.brand-logo img {
  aspect-ratio: auto;
  object-fit: contain;
}

.site-footer {
  background: #101815;
  color: var(--footer-text);
  padding: 64px 0 24px;
}

.footer-production {
  display: grid;
  align-items: start;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(234,231,223,.15);
}

.footer-brand-block p {
  color: #d9d3c7;
  margin: 18px 0 0;
}

.footer-contact, .footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact>span, .footer-links>span {
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
  color: #aeb9b1;
  margin-bottom: 5px;
}

.footer-contact strong {
  font-size: 1.05rem;
  color: #f7f3ea;
}

.footer-contact a, .footer-links a {
  color: #ded8cc;
  font-size: .88rem;
}

.footer-contact a:hover, .footer-links a:hover, .footer-up:hover {
  color: #fff;
}

.footer-up {
  color: #f0ece2;
  font-size: .8rem;
  font-weight: 800;
}

.footer-bottom {
  color: #bbb5aa;
}

.footer-bottom a {
  color: #ccc6ba;
}

.page-main {
  min-height: 70vh;
}

.page-hero {
  padding: 154px 0 76px;
  background: linear-gradient(135deg,#f5f3ee 0%,#eeeee7 55%,#dce3d9 100%);
  position: relative;
  overflow: hidden;
}

.page-hero:after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  right: -260px;
  top: -250px;
  background: rgba(125,143,128,.12);
}

.page-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(400px,.7fr);
  gap: 72px;
  align-items: center;
}

.breadcrumbs {
  font-size: .72rem;
  color: #6d7671;
  margin-bottom: 25px;
}

.breadcrumbs a:hover {
  color: var(--sage-dark);
}

.breadcrumbs span {
  margin: 0 7px;
}

.page-hero h1 {
  font-size: clamp(3.2rem,5.6vw,6.4rem);
  line-height: .92;
  letter-spacing: -.06em;
  margin: 0;
  font-weight: 640;
}

.page-hero p {
  font-size: 1.08rem;
  color: #59625d;
  max-width: 670px;
  margin: 25px 0 0;
}

.page-hero-media {
  background: #e8e9e3;
  border-radius: 28px;
  padding: 16px;
  box-shadow: 0 24px 70px rgba(26,35,31,.12);
}

.page-hero-media img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.page-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.content-section {
  padding: 96px 0;
}

.content-section.soft {
  background: #ecece5;
}

.content-section.dark {
  background: #17201d;
  color: #f7f7f3;
}

.lead-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.lead-grid h2, .article-body h2 {
  font-size: clamp(2.1rem,3.5vw,4rem);
  line-height: 1;
  letter-spacing: -.045em;
  margin: 0;
}

.lead-grid p, .article-body p {
  color: #66706b;
}

.content-section.dark p {
  color: #b9c2bd;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 26px;
}

.feature-list span {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 15px 16px;
  border: 1px solid #d8ddd8;
  border-radius: 14px;
  background: rgba(255,255,255,.46);
  font-size: .9rem;
}

.feature-list span:before {
  content: "✓";
  color: var(--sage-dark);
  font-weight: 900;
}

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

.catalog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e0e3dd;
  border-radius: 22px;
  overflow: hidden;
  transition: .25s;
  min-width: 0;
}

.catalog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.catalog-card-media {
  background: #e8e9e4;
  min-height: 230px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.catalog-card-media img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
}

.catalog-card-copy {
  padding: 22px;
}

.catalog-card-copy span {
  display: block;
  font-size: .67rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--sage-dark);
  font-weight: 800;
  margin-bottom: 9px;
}

.catalog-card-copy h2, .catalog-card-copy h3 {
  font-size: 1.55rem;
  letter-spacing: -.035em;
  margin: 0;
}

.catalog-card-copy p {
  font-size: .9rem;
  color: #69716d;
  margin: 10px 0 0;
}

.catalog-card-copy .card-link {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 800;
  font-size: .83rem;
}

.detail-aside-card {
  background: #e8ebe5;
  border-radius: 20px;
  padding: 24px;
}

.detail-aside-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.detail-aside-card p {
  font-size: .88rem;
  color: #5f6963;
  margin: 0 0 20px;
}

.detail-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 45px;
}

.gallery-item {
  display: block;
  background: #e8e9e3;
  border-radius: 20px;
  padding: 10px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.gallery-item:hover img {
  opacity: .94;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11,16,14,.94);
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 30px 90px;
}

.lightbox.open {
  display: grid;
}

.lightbox-figure {
  margin: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  max-width: 100%;
  max-height: 100%;
}

.lightbox img {
  max-width: min(88vw,1500px);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-close, .lightbox-nav {
  position: fixed;
  border: 0;
  background: rgba(245,243,238,.94);
  color: #17201d;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  transition: transform .2s ease,background .2s ease;
}

.lightbox-close:hover, .lightbox-nav:hover {
  background: #fff;
  transform: scale(1.06);
}

.lightbox-close {
  right: 24px;
  top: 20px;
  font-size: 1.55rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.25rem;
  line-height: 1;
}

.lightbox-nav:hover {
  transform: translateY(-50%) scale(1.06);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-count {
  min-height: 20px;
  color: #e9e5dc;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.lightbox-nav[hidden] {
  display: none;
}

.cta-band {
  background: #a8b4a5;
  padding: 68px 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.cta-band h2 {
  font-size: clamp(2.2rem,4vw,4.3rem);
  letter-spacing: -.05em;
  line-height: .98;
  margin: 0;
  max-width: 780px;
}

.cta-band p {
  max-width: 560px;
  margin: 16px 0 0;
  color: #39443e;
}

.article-list {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(280px,.7fr);
  gap: 28px;
}

.article-card {
  background: #fff;
  border: 1px solid #e0e3dd;
  border-radius: 24px;
  overflow: hidden;
}

.article-card img {
  width: 100%;
  height: auto;
}

.article-card-copy {
  padding: 30px;
}

.article-card-copy h2 {
  font-size: clamp(2rem,3.2vw,3.5rem);
  line-height: 1;
  letter-spacing: -.05em;
  margin: 0;
}

.article-card-copy p {
  color: #68706c;
}

.article-meta {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--sage-dark);
  font-weight: 800;
}

.article-side-note {
  background: #e5e8e1;
  border-radius: 24px;
  padding: 30px;
  align-self: start;
}

.article-side-note h3 {
  margin: 0;
  font-size: 1.3rem;
}

.article-side-note p {
  color: #66706b;
}

.article-body {
  max-width: 860px;
  margin: 0 auto;
}

.article-body .article-lead {
  font-size: 1.25rem;
  color: #3e4943;
}

.article-body h2 {
  margin-top: 70px;
  margin-bottom: 20px;
}

.article-body h3 {
  font-size: 1.55rem;
  margin-top: 40px;
}

.article-body p, .article-body li {
  font-size: 1.02rem;
  line-height: 1.8;
}

.article-body ul {
  padding-left: 20px;
}

.article-quote {
  border-left: 4px solid var(--sage-dark);
  padding: 8px 0 8px 24px;
  margin: 38px 0;
  font-family: Georgia,serif;
  font-size: 1.35rem;
  color: #344039;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 70px;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 14px;
}

.contact-detail {
  padding: 22px;
  border: 1px solid #d8ddd8;
  border-radius: 18px;
  background: #fff;
}

.contact-detail span {
  display: block;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--sage-dark);
  font-weight: 800;
  margin-bottom: 7px;
}

.contact-detail strong, .contact-detail a {
  font-size: 1.08rem;
}

.form-status {
  position: fixed;
  z-index: 1400;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw,680px);
  margin: 0;
  padding: 16px 52px 16px 18px;
  border-radius: 14px;
  display: none;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 0 14px 40px rgba(24,34,29,.18);
  opacity: 1;
  transition: opacity .22s ease,transform .22s ease;
}

.form-status.sending {
  display: block;
  background: #eef0eb;
  color: #344039;
}

.form-status.success {
  display: block;
  background: #e3eee5;
  color: #315039;
  border: 1px solid #bdd3c2;
}

.form-status.error {
  display: block;
  background: #f4e7e5;
  color: #75413b;
  border: 1px solid #dec5c1;
}

.form-status.is-hiding {
  opacity: 0;
  transform: translate(-50%,-8px);
}

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

.error-page {
  text-align: center;
  padding: 180px 20px 120px;
}

.error-page h1 {
  font-size: clamp(5rem,15vw,11rem);
  margin: 0;
  line-height: .8;
  color: var(--sage-dark);
}

.error-page h2 {
  font-size: 2rem;
  margin: 30px 0 10px;
}

.error-page p {
  color: #68706c;
}

@media (max-width:1180px) {
  .footer-production {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-up {
    grid-column: 3;
  }

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

  .page-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 45px;
  }
}

@media (max-width:980px) {
  .brand-logo {
    width: 122px;
    flex-basis: 122px;
  }

  .footer-production {
    grid-template-columns: 1fr 1fr;
  }

  .footer-up {
    grid-column: auto;
  }

  .page-hero {
    padding-top: 120px;
  }

  .page-hero-grid, .lead-grid, .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-media {
    max-width: 720px;
  }

  .article-list {
    grid-template-columns: 1fr;
  }

  .cta-band-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width:640px) {
  .brand-logo {
    width: 108px;
    flex-basis: 108px;
  }

  .footer-production {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .page-hero {
    padding: 108px 0 55px;
  }

  .page-hero h1 {
    font-size: 3.15rem;
  }

  .page-hero-grid {
    gap: 35px;
  }

  .page-hero-media {
    padding: 10px;
    border-radius: 20px;
  }

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

  .feature-list {
    grid-template-columns: 1fr;
  }

  .detail-gallery {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: 72px 0;
  }

  .cta-band {
    padding: 55px 0;
  }

  .article-card-copy {
    padding: 24px;
  }

  .contact-form {
    padding: 22px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-production {
    padding-bottom: 35px;
  }
}

.news-grid-single {
  grid-template-columns: 1fr;
}

.section-end-link {
  margin-top: 34px;
}

.model-card>a, .classic-card>a {
  display: block;
  height: 100%;
}

.model-info b {
  width: 42px;
  height: 42px;
  border: 1px solid #cdd2ce;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: .2s;
}

.model-card:hover .model-info b {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

.classic-copy .card-arrow {
  font-size: .82rem;
  font-weight: 800;
  color: #cfdbd1;
  text-transform: none;
  letter-spacing: 0;
}

.classic-card a {
  color: inherit;
}

@media (max-width:640px) {
  .lightbox {
    padding: 70px 12px 76px;
  }

  .lightbox img {
    max-width: 96vw;
    max-height: 76vh;
  }

  .lightbox-close {
    right: 12px;
    top: 12px;
    width: 44px;
    height: 44px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }

  .lightbox-nav:hover {
    transform: scale(1.06);
  }

  .lightbox-prev {
    left: calc(50% - 62px);
  }

  .lightbox-next {
    right: calc(50% - 62px);
  }

  .lightbox-count {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
  }
}

.gallery-empty {
  margin: 24px 0 0;
  padding: 18px 20px;
  border: 1px dashed #cbd1cb;
  border-radius: 14px;
  color: #69716d;
  background: #f4f5f1;
}

/* Footer, legal pages and cookie notice */

.footer-production {
  grid-template-columns: minmax(230px,1.25fr) minmax(170px,.72fr) minmax(170px,.78fr) minmax(170px,.78fr) auto;
  gap: 42px;
}

.footer-brand-block p {
  max-width: 390px;
}

.footer-house-links a, .footer-info-links a {
  line-height: 1.35;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-legal a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-legal a:hover {
  text-decoration: underline;
}

.contact-form small a {
  color: var(--sage-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-hero {
  padding-bottom: 76px;
}

.legal-hero-inner {
  max-width: 950px;
}

.legal-hero h1 {
  max-width: 900px;
}

.legal-section {
  padding-top: 76px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 330px;
  gap: 88px;
  align-items: start;
}

.legal-content {
  max-width: 850px;
  color: #3f4944;
}

.legal-content h2 {
  font-size: clamp(1.65rem,2.3vw,2.35rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  color: var(--ink);
  margin: 52px 0 16px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p, .legal-content li {
  font-size: 1rem;
  line-height: 1.8;
}

.legal-content ul {
  padding-left: 1.3rem;
}

.legal-content li+li {
  margin-top: 10px;
}

.legal-content a {
  color: var(--sage-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-aside {
  position: sticky;
  top: 120px;
}

.legal-aside .detail-aside-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.legal-aside .detail-aside-card .eyebrow {
  margin-bottom: 6px;
}

.legal-aside .detail-aside-card h3 {
  margin: 0 0 6px;
}

.legal-aside .detail-aside-card p {
  margin: 0 0 8px;
}

.legal-aside .detail-aside-card a {
  color: var(--sage-dark);
  font-weight: 700;
}

.legal-updated {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 24px 0 34px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.legal-table th, .legal-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
  line-height: 1.55;
}

.legal-table th {
  background: #eef0ea;
  color: var(--ink);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-table code {
  font-size: .82rem;
  background: #eef0ea;
  padding: 3px 6px;
  border-radius: 5px;
  color: #344039;
}

.cookie-notice {
  position: fixed;
  z-index: 120;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 20px 18px 22px;
  background: rgba(16,24,21,.97);
  color: #ece7dc;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(0,0,0,.24);
  backdrop-filter: blur(12px);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice-copy {
  max-width: 790px;
  font-size: .86rem;
  line-height: 1.55;
  color: #d8d2c6;
}

.cookie-notice-copy strong {
  color: #fff;
}

.cookie-notice-copy a {
  color: #f0ece2;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-notice-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.cookie-notice .btn {
  padding: 11px 18px;
  font-size: .78rem;
  background: #e8e3d8;
  color: #17201d;
  border: 0;
}

.cookie-notice .btn:hover {
  background: #fff;
}

@media (max-width:1280px) {
  .footer-production {
    grid-template-columns: 1.1fr .8fr .8fr .8fr;
    gap: 38px;
  }

  .footer-up {
    grid-column: 4;
    justify-self: end;
  }
}

@media (max-width:980px) {
  .footer-production {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 38px;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }

  .footer-up {
    grid-column: auto;
    justify-self: start;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .legal-aside {
    position: static;
    max-width: 560px;
  }
}

@media (max-width:700px) {
  .cookie-notice {
    left: 12px;
    right: 12px;
    bottom: 12px;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 17px;
    border-radius: 15px;
  }

  .cookie-notice-actions {
    width: 100%;
  }

  .cookie-notice .btn {
    width: 100%;
  }
}

@media (max-width:640px) {
  .footer-production {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand-block {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
  }

  .footer-legal {
    justify-content: flex-start;
  }

  .legal-hero {
    padding-bottom: 54px;
  }

  .legal-section {
    padding-top: 58px;
  }

  .legal-content h2 {
    margin-top: 40px;
  }
}

/* Typography roles: Lora for calm editorial headings, Inter for interface and body text. */

body {
  font-family: "Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

h1, h2, .page-hero h1, .legal-hero h1, .error-page h1, .error-page h2, .section-head h2, .custom-copy h2, .philosophy-copy h2, .contact-copy h2, .sticky-copy h2, .apartment-inner h2, .lead-grid h2, .cta-band h2, .article-card-copy h2, .article-body h2, .legal-content h2 {
  font-family: "Lora",Georgia,serif;
  font-weight: 500;
  letter-spacing: -.035em;
}

.hero h1, .hero-v03 h1, .page-hero h1, .legal-hero h1 {
  font-weight: 500;
}

.hero h1 em, .hero-v03 h1 em {
  font-family: "Lora",Georgia,serif;
  font-style: italic;
  font-weight: 500;
}

.quote-panel p, .article-quote {
  font-family: "Lora",Georgia,serif;
}

h3, .model-info h3, .series-top h3, .classic-copy h3, .step h3, .news-copy h3, .category-grid-five .category-overlay h3, .catalog-card-copy h3, .detail-aside-card h3, .article-side-note h3, .article-body h3, .legal-aside .detail-aside-card h3 {
  font-family: "Inter",ui-sans-serif,system-ui,sans-serif;
}

/* H2 typography */

.section-head h2, .custom-copy h2, .philosophy-copy h2, .contact-copy h2, .sticky-copy h2, .apartment-inner h2, .lead-grid h2, .cta-band h2, .article-card-copy h2, .article-body h2, .legal-content h2, .error-page h2 {
  line-height: 1.12;
}

@media (max-width:640px) {
  .section-head h2, .custom-copy h2, .philosophy-copy h2, .contact-copy h2, .sticky-copy h2, .apartment-inner h2, .lead-grid h2, .cta-band h2, .article-card-copy h2, .article-body h2, .legal-content h2, .error-page h2 {
    line-height: 1.16;
  }
}

/* H1 typography */

.hero h1, .hero-v03 h1, .page-hero h1, .legal-hero h1 {
  line-height: 1.08;
}

@media (max-width:640px) {
  .hero h1, .hero-v03 h1, .page-hero h1, .legal-hero h1 {
    line-height: 1.12;
  }
}

/* --- CZTiny: homepage 5 kategorií = 3 nahoře + 2 vycentrované dole --- */

@media (min-width:1281px) {
  .category-grid.category-grid-five {
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: 18px;
  }

  .category-grid-five .category-card {
    grid-column: span 2;
  }

  .category-grid-five .category-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .category-grid-five .category-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

/* Odkazy na přehled jednotlivých modulárních systémů v rozbalovacím menu */

.dropdown a.system-overview-link {
  font-size: .69rem;
  font-weight: 800;
  color: var(--sage-dark);
  padding: 6px 11px 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
  background: transparent;
}

.dropdown a.system-overview-link:hover {
  background: transparent;
  color: var(--ink);
}

.series-card>a.series-top {
  color: inherit;
  text-decoration: none;
}

.series-card>a.series-visual {
  display: block;
}

.series-card>a.series-top:hover h3 {
  color: var(--sage-dark);
}

.series-list>a.series-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.series-list>a.series-card:hover h3 {
  color: var(--sage-dark);
}

/* Jednotná velikost všech H1 – upravuje se pouze hodnota --site-h1-size v :root */

h1 {
  font-size: var(--site-h1-size) !important;
}

/* Klikatelné názvy systémů v mega menu */

.mega-modular a.dropdown-label {
  padding: 5px 11px;
  color: var(--sage-dark);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.mega-modular a.dropdown-label:hover {
  background: transparent;
  color: var(--ink);
}

@media (max-width:640px) {
  .form-status {
    top: 12px;
    width: calc(100vw - 24px);
    padding: 14px 16px;
    font-size: .9rem;
  }
}

/* =========================================================
   Prodejní produktový detail – Systém Modul
   Styly přesunuty z index.php do centrálního CSS
   ========================================================= */

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  overflow-x: hidden;
}

/* Detail konstrukce domu */

.construction-visuals {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 0 0 30px;
}

.construction-card {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(25,39,31,.08);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(24,36,30,.05);
}

.construction-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.construction-card figcaption {
  margin-top: 12px;
  font-size: .95rem;
  font-weight: 700;
  color: #1f2e27;
}

.construction-text {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 22px 26px;
}

.construction-item {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid rgba(25,39,31,.08);
  border-radius: 20px;
}

.construction-item h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.construction-item p {
  margin: 0 0 10px;
}

.construction-item p:last-child {
  margin-bottom: 0;
}

@media (max-width:900px) {
  .construction-visuals, .construction-text {
    grid-template-columns: 1fr;
  }
}

@media (max-width:640px) {
  .construction-card, .construction-item {
    padding: 14px;
    border-radius: 16px;
  }
}

.construction-image-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: zoom-in;
  background: #fff;
}

.construction-image-link img {
  transition: transform .25s ease,opacity .25s ease;
}

.construction-image-link:hover img {
  transform: scale(1.012);
  opacity: .96;
}

.construction-zoom-hint {
  display: inline-block;
  margin-left: 8px;
  font-size: .78rem;
  font-weight: 600;
  color: #66756d;
}

@media (max-width:640px) {
  .construction-zoom-hint {
    display: block;
    margin: 4px 0 0;
  }
}

/* Viditelná drobečková navigace */

.product-sales-page .breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 18px;
  font-size: .84rem;
  line-height: 1.5;
  color: #6b756f;
}

.product-sales-page .breadcrumbs a {
  color: #536159;
  text-decoration: none;
  border-bottom: 1px solid rgba(83,97,89,.28);
  transition: color .2s ease,border-color .2s ease;
}

.product-sales-page .breadcrumbs a:hover {
  color: #1f3429;
  border-color: #1f3429;
}

.product-sales-page .breadcrumbs span[aria-current="page"] {
  color: #26362e;
  font-weight: 700;
}

.product-sales-page .breadcrumbs>span:not([aria-current="page"]) {
  color: #9aa39e;
}

@media (max-width:640px) {
  .product-sales-page .breadcrumbs {
    font-size: .78rem;
    gap: 5px;
    margin-bottom: 14px;
  }
}

/* Prodejní detail: Modulární dům M */

.sales-hero {
  padding: 145px 0 52px;
  background: linear-gradient(180deg,#f5f3ee 0%,#fff 100%);
}

.sales-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(420px,1.08fr);
  gap: 54px;
  align-items: center;
}

.sales-hero-copy h1 {
  margin: 8px 0 18px;
  max-width: 720px;
}

.sales-hero-lead {
  font-size: 1.14rem;
  line-height: 1.75;
  color: #425047;
  max-width: 680px;
}

.sales-hero-image {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 28px;
  background: #e8e9e3;
  box-shadow: 0 26px 60px rgba(20,34,27,.14);
  text-decoration: none;
}

.sales-hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .35s ease;
}

.sales-hero-image:hover img {
  transform: scale(1.02);
}

.sales-hero-image>span, .sales-plan-image>span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(15,24,20,.82);
  color: #fff;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.sales-facts {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 10px;
  margin: 28px 0 18px;
}

.sales-facts>div {
  padding: 15px 14px;
  border: 1px solid rgba(28,45,36,.09);
  background: #fff;
  border-radius: 16px;
}

.sales-facts strong {
  display: block;
  font-size: 1.12rem;
  color: #15251d;
}

.sales-facts span {
  display: block;
  margin-top: 3px;
  font-size: .73rem;
  color: #69766e;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.sales-price-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}

.sales-price-line span {
  color: #66736b;
}

.sales-price-line strong {
  font-size: 1.55rem;
  color: #1d3328;
}

.sales-reassurance {
  font-size: .88rem;
  color: #6b776f;
  margin: 12px 0 0;
}

.sales-section {
  padding: 72px 0;
}

.sales-section:nth-of-type(even) {
  background: #faf9f6;
}

.sales-two-col {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.sales-two-col h2, .sales-section-head h2 {
  max-width: 820px;
  margin-top: 8px;
}

.sales-two-col p {
  font-size: 1.06rem;
  line-height: 1.8;
  color: #46534b;
}

.sales-section-head {
  max-width: 820px;
  margin-bottom: 30px;
}

.sales-section-head p {
  max-width: 760px;
  color: #55635b;
}

.sales-plan-grid {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(320px,.7fr);
  gap: 34px;
  align-items: stretch;
}

.sales-plan-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(25,39,31,.08);
  border-radius: 26px;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(24,36,30,.07);
}

.sales-plan-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
}

.sales-area-card {
  padding: 30px;
  background: #1f3429;
  color: #fff;
  border-radius: 26px;
}

.sales-area-card h3 {
  margin: 0 0 12px;
  color: #fff;
}

.sales-area-card h3:not(:first-child) {
  margin-top: 30px;
}

.sales-area-card dl {
  margin: 0;
}

.sales-area-card dl>div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.sales-area-card dt {
  color: rgba(255,255,255,.78);
}

.sales-area-card dd {
  margin: 0;
  font-weight: 750;
  color: #fff;
}

.sales-area-card .sales-total {
  padding-top: 14px;
  border-bottom: 0;
}

.sales-area-card .sales-total dt, .sales-area-card .sales-total dd {
  font-weight: 800;
  color: #fff;
  font-size: 1.06rem;
}

.sales-price-box {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  padding: 38px;
  background: #eef0e9;
  border-radius: 30px;
  align-items: center;
}

.sales-price-box h2 {
  margin: 7px 0 14px;
}

.sales-price-box p {
  max-width: 760px;
}

.sales-price-cta {
  padding: 28px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(26,39,32,.07);
}

.sales-price-cta strong {
  font-size: 1.08rem;
}

.sales-price-cta p {
  font-size: .94rem;
  color: #5d6a62;
}

.sales-option-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}

.sales-option-grid>div {
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(25,39,31,.08);
  border-radius: 20px;
}

.sales-option-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.sales-option-grid p {
  margin: 0;
  color: #58655d;
  font-size: .94rem;
  line-height: 1.65;
}

.sales-tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
}

.sales-tech-badges span {
  padding: 9px 13px;
  border-radius: 999px;
  background: #e9eee9;
  color: #274034;
  font-size: .82rem;
  font-weight: 700;
}

.sales-construction-images {
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto 30px;
}

.sales-construction-images .construction-card {
  max-width: none;
}

.sales-construction-images .construction-card img {
  width: 100%;
  height: auto;
  max-height: 430px;
  object-fit: contain;
}

.sales-tech-grid {
  margin-top: 28px;
}

.sales-steps {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
}

.sales-steps>div {
  padding: 24px;
  border: 1px solid rgba(25,39,31,.08);
  background: #fff;
  border-radius: 20px;
}

.sales-steps span {
  display: block;
  margin-bottom: 28px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: #6c7c72;
}

.sales-steps strong {
  display: block;
  margin-bottom: 9px;
}

.sales-steps p {
  margin: 0;
  color: #5b6860;
  font-size: .93rem;
  line-height: 1.65;
}

.sales-faq-wrap {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 56px;
  align-items: start;
}

.sales-faq-list details {
  border-top: 1px solid rgba(25,39,31,.13);
  padding: 18px 0;
}

.sales-faq-list details:last-child {
  border-bottom: 1px solid rgba(25,39,31,.13);
}

.sales-faq-list summary {
  cursor: pointer;
  font-weight: 750;
  list-style: none;
  position: relative;
  padding-right: 34px;
}

.sales-faq-list summary::-webkit-details-marker {
  display: none;
}

.sales-faq-list summary:after {
  content: "+";
  position: absolute;
  right: 4px;
  top: -2px;
  font-size: 1.25rem;
}

.sales-faq-list details[open] summary:after {
  content: "–";
}

.sales-faq-list details p {
  margin: 12px 0 2px;
  color: #56645c;
  line-height: 1.7;
}

.sales-final-cta .eyebrow {
  color: rgba(255,255,255,.72);
}

@media (max-width:1020px) {
  .sales-hero-grid, .sales-plan-grid, .sales-price-box, .sales-two-col, .sales-faq-wrap {
    grid-template-columns: 1fr;
  }

  .sales-hero-grid {
    gap: 32px;
  }

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

  .sales-option-grid, .sales-steps {
    grid-template-columns: repeat(2,1fr);
  }

  .sales-plan-image {
    min-height: 0;
  }

  .sales-two-col {
    gap: 24px;
  }

  .sales-faq-wrap {
    gap: 24px;
  }
}

@media (max-width:760px) {
  .sales-construction-images {
    grid-template-columns: 1fr !important;
    max-width: 680px;
  }
}

@media (max-width:640px) {
  .sales-hero {
    padding: 102px 0 36px;
  }

  .sales-hero-lead {
    font-size: 1rem;
  }

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

  .sales-facts>div {
    padding: 12px;
  }

  .sales-price-line strong {
    font-size: 1.3rem;
  }

  .sales-section {
    padding: 50px 0;
  }

  .sales-option-grid, .sales-steps {
    grid-template-columns: 1fr;
  }

  .sales-plan-image {
    padding: 12px;
    border-radius: 18px;
  }

  .sales-area-card, .sales-price-box {
    padding: 20px;
    border-radius: 20px;
  }

  .sales-price-cta {
    padding: 20px;
  }

  .sales-hero-image {
    border-radius: 20px;
  }

  .sales-hero-image>span, .sales-plan-image>span {
    font-size: .7rem;
  }

  .sales-tech-badges {
    gap: 7px;
  }

  .sales-tech-badges span {
    font-size: .76rem;
  }

  .sales-construction-images .construction-card {
    padding: 10px;
  }
}

/* Odsazení pro fixní hlavičku – produktové prodejní stránky */

@media (max-width:980px) {
  .product-sales-page .sales-hero {
    padding-top: 112px;
  }
}

@media (max-width:640px) {
  .product-sales-page .sales-hero {
    padding-top: 102px;
  }
}

/* Unified sales layout for all product detail pages */

.sales-intro-copy>p:first-child {
  margin-top: 0;
}

.sales-intro-copy ul {
  margin: 22px 0 0;
  padding-left: 20px;
  color: #55635b;
}

.sales-intro-copy li+li {
  margin-top: 8px;
}

.sales-facts-compact {
  grid-template-columns: repeat(3,minmax(0,1fr));
  max-width: 620px;
}

.sales-gallery-section .detail-gallery {
  margin-top: 0;
}

.product-sales-page .construction-text {
  margin-top: 28px;
}

@media (max-width:640px) {
  .sales-facts-compact {
    grid-template-columns: 1fr;
  }
}

/* Footer certification */

.footer-certification {
  width: min(100%,300px);
  margin: 0 0 18px;
}

.footer-certification img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width:980px) {
  .footer-certification {
    width: min(100%,280px);
  }
}

@media (max-width:640px) {
  .footer-certification {
    width: min(100%,260px);
    margin-bottom: 16px;
  }
}

/* Shared header: current section */

.main-nav .is-active {
  color: var(--sage-dark);
}

.main-nav>.is-active {
  font-weight: 850;
}

/* 404 */

.error-page .page-actions {
  justify-content: center;
}

/* ========================================================================== 
   Produkt M – SEO / UX / konverzní detail 2026
   ========================================================================== */
.product-m-2026{--m-ink:#17251e;--m-green:#20382c;--m-soft:#eef1eb;--m-sand:#f6f2ea;--m-line:rgba(24,39,31,.11)}
.product-m-2026 [id]{scroll-margin-top:118px}
.product-m-2026 .product-m-hero{background:linear-gradient(180deg,#f5f3ee 0%,#fbfaf7 64%,#fff 100%);padding-bottom:66px}
.product-m-2026 .sales-hero-copy h1{font-size:clamp(3.25rem,5.8vw,6.8rem);line-height:.9;letter-spacing:-.06em;margin:10px 0 20px}
.product-m-2026 .sales-hero-lead{max-width:700px;font-size:1.08rem;line-height:1.78}
.product-price-primary{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin:23px 0 16px;padding:18px 20px;background:#fff;border:1px solid var(--m-line);border-radius:18px;box-shadow:0 10px 30px rgba(24,39,31,.05)}
.product-price-primary>span{font-size:.76rem;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#66736b}
.product-price-primary>strong{font-size:clamp(1.75rem,3vw,2.45rem);line-height:1.05;color:var(--m-green);letter-spacing:-.035em}
.product-price-primary>small{margin-top:7px;color:#69766f;line-height:1.5}
.product-hero-benefits{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}
.product-hero-benefits span{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;background:#e9efe9;color:#2d4739;font-size:.79rem;font-weight:750}
.product-hero-benefits span:before{content:"✓";font-weight:900}
.product-hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.product-hero-media{min-width:0}
.product-image-note{margin:12px 8px 0;color:#69766f;font-size:.8rem;line-height:1.55}

.product-anchor-nav{position:sticky;top:78px;z-index:16;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-top:1px solid rgba(25,39,31,.06);border-bottom:1px solid rgba(25,39,31,.09)}
.product-anchor-nav .shell{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;padding-top:9px;padding-bottom:9px}
.product-anchor-nav .shell::-webkit-scrollbar{display:none}
.product-anchor-nav a{flex:0 0 auto;padding:8px 11px;border-radius:999px;color:#425249;text-decoration:none;font-size:.78rem;font-weight:760;white-space:nowrap}
.product-anchor-nav a:hover{background:#edf1ec;color:#1d3328}

.product-value-section{background:#fff!important}
.product-value-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.product-value-grid article{padding:28px;border:1px solid var(--m-line);border-radius:24px;background:#fff;box-shadow:0 14px 34px rgba(22,36,28,.045)}
.product-value-grid article>span{display:inline-flex;margin-bottom:38px;font-size:.72rem;font-weight:850;letter-spacing:.12em;color:#718078}
.product-value-grid h3{font-size:1.25rem;margin:0 0 10px;letter-spacing:-.025em}
.product-value-grid p{margin:0;color:#5a675f;line-height:1.72}
.area-card-note{margin:20px 0 0;padding-top:18px;border-top:1px solid rgba(255,255,255,.14);font-size:.8rem;line-height:1.55;color:rgba(255,255,255,.72)}

.product-standard-section{background:#f3f1eb!important}
.product-standard-head{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:46px;align-items:end;margin-bottom:30px}
.product-standard-head h2{margin:8px 0 15px;max-width:840px}
.product-standard-head p{max-width:780px;color:#536159;line-height:1.75}
.product-price-card{padding:28px;border-radius:24px;background:var(--m-green);color:#fff;box-shadow:0 18px 44px rgba(19,37,28,.16)}
.product-price-card>span{display:block;font-size:.73rem;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.7);font-weight:800}
.product-price-card>strong{display:block;margin-top:8px;font-size:2.2rem;line-height:1;color:#fff;letter-spacing:-.04em}
.product-price-card>small{display:block;margin-top:5px;color:rgba(255,255,255,.72)}
.product-price-card>p{margin:18px 0;color:rgba(255,255,255,.84);font-size:.92rem}
.standard-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}
.standard-card{padding:28px;border-radius:26px;background:#fff;border:1px solid var(--m-line);box-shadow:0 15px 36px rgba(23,37,29,.05)}
.standard-card-heading{display:flex;gap:16px;align-items:flex-start;margin-bottom:20px}
.standard-card-heading>span{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;font-weight:900}
.standard-in .standard-card-heading>span{background:#dfe9df;color:#21412f}
.standard-out .standard-card-heading>span{background:#eee8df;color:#5a4b38}
.standard-card-heading p{margin:1px 0 4px;font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;color:#6e7a73;font-weight:800}
.standard-card-heading h3{margin:0;font-size:1.35rem}
.standard-list{list-style:none;margin:0;padding:0}
.standard-list li{display:grid;grid-template-columns:minmax(145px,.75fr) minmax(0,1.25fr);gap:20px;padding:14px 0;border-top:1px solid rgba(25,39,31,.085)}
.standard-list strong{font-size:.91rem;color:#263b30}
.standard-list span{font-size:.9rem;line-height:1.58;color:#657169}
.standard-disclaimer{margin:20px 0 0;padding:18px 20px;border-radius:16px;background:rgba(255,255,255,.6);border:1px solid rgba(25,39,31,.08);font-size:.82rem;line-height:1.65;color:#68746d}

.logistics-section{background:#fff!important}
.logistics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.logistics-card{position:relative;min-height:250px;padding:28px;border:1px solid var(--m-line);border-radius:24px;background:#fbfbf8;overflow:hidden}
.logistics-card-featured{background:var(--m-green);color:#fff;border-color:transparent}
.logistics-number{display:block;margin-bottom:52px;font-size:.72rem;letter-spacing:.12em;font-weight:850;color:#718078}
.logistics-card-featured .logistics-number{color:rgba(255,255,255,.62)}
.logistics-card h3{margin:0 0 10px;font-size:1.35rem;letter-spacing:-.025em}
.logistics-card-featured h3{color:#fff}
.logistics-card p{margin:0;color:#5c6961;line-height:1.7}
.logistics-card-featured p{color:rgba(255,255,255,.78)}
.land-cta{display:flex;align-items:center;justify-content:space-between;gap:40px;margin-top:22px;padding:28px 30px;border-radius:24px;background:#eef1eb}
.land-cta h3{margin:6px 0 8px;font-size:1.45rem;letter-spacing:-.03em}
.land-cta p{margin:0;color:#5f6b64}

.tech-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:28px}
.tech-details-grid details{background:#fff;border:1px solid var(--m-line);border-radius:18px;padding:0 20px}
.tech-details-grid summary{position:relative;cursor:pointer;list-style:none;padding:19px 38px 19px 0;font-weight:800;color:#24372d}
.tech-details-grid summary::-webkit-details-marker{display:none}
.tech-details-grid summary:after{content:"+";position:absolute;right:0;top:17px;font-size:1.25rem;color:#66766d}
.tech-details-grid details[open] summary:after{content:"–"}
.tech-details-grid details>div{padding:0 0 19px;color:#5b6860;line-height:1.72}
.tech-details-grid details p{margin:0}
.tech-details-grid details p+p{margin-top:10px}

.product-trust-section{background:#f2f0e9!important}
.product-trust-grid{display:grid;grid-template-columns:1fr 1fr;gap:54px;align-items:center}
.product-trust-grid h2{margin:8px 0 15px;max-width:760px}
.product-trust-grid p{color:#56635b;line-height:1.72}
.product-contact-lines{display:flex;gap:18px;flex-wrap:wrap;margin:20px 0 22px}
.product-contact-lines a{font-weight:850;color:#20382c;text-decoration:none;border-bottom:1px solid rgba(32,56,44,.25)}
.product-trust-points{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.product-trust-points>div{padding:22px;border-radius:18px;background:#fff;border:1px solid var(--m-line)}
.product-trust-points strong{display:block;margin-bottom:7px;font-size:.95rem}
.product-trust-points span{display:block;color:#68746d;font-size:.86rem;line-height:1.55}

.related-model-section{background:#fff!important}
.related-model-inner{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.related-model-inner h2{margin:8px 0 12px}
.related-model-inner p{color:#5a675f;line-height:1.7}
.related-model-links{display:grid;gap:10px}
.related-model-links a{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 22px;border-radius:18px;border:1px solid var(--m-line);background:#fafaf7;color:#22352b;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.related-model-links a:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(24,38,30,.08);background:#fff}
.related-model-links strong{font-size:1rem}
.related-model-links span{font-size:.82rem;color:#66736b;text-align:right}
.product-final-cta .cta-band-inner{align-items:center}
.final-cta-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;justify-content:flex-end}
.final-phone{color:#fff;font-weight:850;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.42);white-space:nowrap}

@media (max-width:1020px){
  .product-anchor-nav{top:70px}
  .product-standard-head,.product-trust-grid,.related-model-inner{grid-template-columns:1fr}
  .standard-columns{grid-template-columns:1fr}
  .product-value-grid{grid-template-columns:1fr}
  .product-value-grid article>span{margin-bottom:24px}
  .land-cta{align-items:flex-start;flex-direction:column}
}
@media (max-width:760px){
  .logistics-grid,.tech-details-grid,.product-trust-points{grid-template-columns:1fr}
  .standard-list li{grid-template-columns:1fr;gap:4px}
  .logistics-card{min-height:0}
  .logistics-number{margin-bottom:30px}
  .related-model-links a{align-items:flex-start;flex-direction:column;gap:5px}
  .related-model-links span{text-align:left}
}
@media (max-width:640px){
  .product-m-2026 .product-m-hero{padding-bottom:42px}
  .product-m-2026 .sales-hero-copy h1{font-size:3.3rem}
  .product-m-2026 .sales-facts{grid-template-columns:1fr 1fr}
  .product-m-2026 .sales-facts>div{min-height:72px}
  .product-hero-actions .btn{width:100%;justify-content:center}
  .product-anchor-nav{top:64px}
  .product-anchor-nav .shell{padding-left:14px;padding-right:14px}
  .product-standard-head{gap:20px}
  .product-price-card,.standard-card,.logistics-card{padding:21px;border-radius:20px}
  .land-cta{padding:22px;border-radius:20px}
  .product-trust-grid{gap:28px}
  .final-cta-actions{justify-content:flex-start}
}
