:root {
      --ink: #17342d;
      --accent: #a9472e;
      --accent-hover: #8d391f;
      --sage: #dce4d7;
      --paper: #f8f6f0;
      --line: #d7d5cc;
      --muted: #68736e;
      --white: #ffffff;
      --shadow: 0 20px 55px rgba(23, 52, 45, .12);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      background: var(--paper);
      color: var(--ink);
      font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system,
        "Segoe UI", sans-serif;
    }

    h1,
    h2,
    h3 {
      margin: 0 0 .5em;
      font-family: Georgia, "Times New Roman", serif;
      line-height: 1.08;
    }

    h1 {
      font-size: clamp(2.8rem, 5vw, 3.8rem);
      letter-spacing: -.05em;
    }

    h2 {
      font-size: clamp(2rem, 3.5vw, 3.15rem);
      letter-spacing: -.035em;
    }

    h3 {
      font-size: 1.25rem;
    }

    p {
      margin: .3em 0 1em;
    }

    a {
      color: inherit;
    }

    button,
    input,
    textarea,
    select {
      font: inherit;
    }

    button {
      cursor: pointer;
    }

    :focus-visible {
      outline: 3px solid var(--accent);
      outline-offset: 3px;
    }

    .wrap {
      width: min(1180px, calc(100% - 36px));
      margin-inline: auto;
    }

    .topbar {
      background: var(--ink);
      color: var(--white);
      font-size: .83rem;
    }

    .topbar-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      min-height: 38px;
    }

    .topbar a {
      color: white;
      font-weight: 800;
      text-underline-offset: 4px;
    }

    .site-header {
      position: sticky;
      z-index: 20;
      top: 0;
      border-bottom: 1px solid transparent;
      background: rgba(248, 246, 240, .96);
      backdrop-filter: blur(10px);
    }

    .site-header.scrolled {
      border-bottom-color: var(--line);
    }

    .nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      min-height: 75px;
      gap: 18px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 11px;
      color: var(--ink);
      font: 700 1.2rem Georgia, "Times New Roman", serif;
      text-decoration: none;
      white-space: nowrap;
    }

    .mark {
      position: relative;
      width: 33px;
      height: 33px;
      border-radius: 5px;
      background: var(--accent);
      transform: rotate(-4deg);
    }

    .mark::after {
      position: absolute;
      inset: 8px -3px;
      border-top: 2px solid rgba(255,255,255,.85);
      border-bottom: 2px solid rgba(255,255,255,.6);
      content: "";
      transform: rotate(-14deg);
    }

    .desktop-nav {
      display: flex;
      align-items: center;
      gap: 22px;
    }

    .desktop-nav a {
      color: var(--ink);
      font-size: .9rem;
      font-weight: 800;
      text-decoration: none;
    }

    .desktop-nav a:hover {
      color: var(--accent);
    }

    .menu-toggle {
      display: none;
      width: 44px;
      height: 44px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: white;
      font-size: 1.2rem;
    }

    .mobile-menu {
      display: none;
    }

    .eyebrow {
      margin-bottom: 12px;
      color: var(--ink);
      font-size: .72rem;
      font-weight: 900;
      letter-spacing: .18em;
      text-transform: uppercase;
    }

    .accent {
      color: var(--accent);
    }

    .lead {
      max-width: 610px;
      font-size: 1.1rem;
    }

    .identity,
    .muted {
      color: var(--muted);
    }

    .hero {
      display: grid;
      grid-template-columns: 1.03fr .97fr;
      align-items: center;
      gap: 52px;
      padding: 52px 0 65px;
    }

    .actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 16px;
      margin-top: 24px;
    }

    .btn {
      display: inline-flex;
      justify-content: center;
      align-items: center;
      min-height: 46px;
      padding: 12px 18px;
      border: 0;
      border-radius: 8px;
      background: var(--accent);
      color: var(--white);
      font-size: .93rem;
      font-weight: 850;
      text-decoration: none;
      transition: .2s ease;
    }

    .btn:hover {
      background: var(--accent-hover);
      transform: translateY(-2px);
    }

    .link {
      font-weight: 850;
      text-underline-offset: 5px;
    }

    .hero-room {
position: relative;
min-height: 420px;
overflow: hidden;
border-radius: 155px 155px 15px 15px;
background: linear-gradient(180deg, #aab59b 0 67%, #b98f64 68%);
box-shadow: var(--shadow);
}
 
.hero-room::before {
position: absolute;
right: 11%;
bottom: 14%;
left: 11%;
height: 32%;
border-radius: 18px 18px 8px 8px;
background: #eee7d7;
box-shadow: inset 0 -18px #c9aa82;
content: "";
}
 
.hero-room::after {
position: absolute;
top: 17%;
right: 28%;
left: 28%;
height: 27%;
border: 12px solid #f3eee2;
background: linear-gradient(
135deg,
#e9d5bd 0 45%,
#a9472e 46% 70%,
#d8ddd2 71%
);
box-shadow: 0 5px 20px rgba(23, 52, 45, .22);
content: "";
}

.hero-room {
  position: relative;
  height: 350px;
  min-height: 350px;
  overflow: hidden;
  border-radius: 120px 120px 15px 15px;
  box-shadow: var(--shadow);
}

.hero-room .hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;

  /* Malíř je v pravé části fotografie */
  object-position: 70% center;
}
    .benefits {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      overflow: hidden;
      margin-bottom: 75px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: rgba(255,255,255,.64);
    }

    .benefit {
      padding: 22px 25px;
    }

    .benefit + .benefit {
      border-left: 1px solid var(--line);
    }

    .benefit strong {
      display: block;
      margin-bottom: 4px;
      font: 700 1.1rem Georgia, "Times New Roman", serif;
    }

    section {
      padding: 75px 0;
    }

    .section-white {
      background: white;
    }

    .section-head {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 28px;
      margin-bottom: 35px;
    }

    .section-head p {
      max-width: 485px;
    }

    .service-note {
      max-width: 560px;
      margin-top: 18px;
      color: var(--muted);
      font-size: .95rem;
    }

    .cards {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
    }

    .card {
      min-height: 210px;
      padding: 24px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: var(--paper);
    }

    .num {
      margin-bottom: 12px;
      color: var(--accent);
      font: 1.85rem Georgia, "Times New Roman", serif;
    }

    .palette-zone {
      background: var(--sage);
    }

    .palette-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
      gap: 52px;
      align-items: start;
    }

    .room-selector,
    .target-selector {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
      margin: 15px 0;
    }

    .target-selector {
      grid-template-columns: repeat(3, 1fr);
    }

    .room-tab,
    .target-tab,
    .supplier-tab {
      min-height: 40px;
      padding: 8px 10px;
      border: 1px solid var(--line);
      border-radius: 7px;
      background: rgba(255,255,255,.66);
      color: var(--ink);
      font-size: .82rem;
      font-weight: 850;
    }

    .room-tab:hover,
    .target-tab:hover,
    .supplier-tab:hover {
      border-color: var(--ink);
    }

    .room-tab.active,
    .target-tab.active,
    .supplier-tab.active {
      border-color: var(--ink);
      background: var(--ink);
      color: white;
    }

    .preview {
      --wall-color: #eee9dc;
      --floor-color: #c89f72;
      --window-frame: #ffffff;
      --sofa-color: #eee6d7;
      --cabinet-color: #76503c;
      --kitchen-color: #ffffff;
      --bed-color: #eee6d7;
      --wardrobe-color: #c89f72;

      position: relative;
      min-height: 420px;
      overflow: hidden;
      border-radius: 14px;
      background: linear-gradient(
        180deg,
        var(--wall-color) 0 67%,
        var(--floor-color) 68% 100%
      );
      box-shadow: var(--shadow);
      transition: background .25s ease;
    }

    .preview-label {
      position: absolute;
      z-index: 30;
      top: 15px;
      left: 15px;
      padding: 7px 11px;
      border-radius: 99px;
      background: rgba(255,255,255,.95);
      font-size: .75rem;
      font-weight: 850;
    }

    .preview-note {
      position: absolute;
      z-index: 30;
      right: 12px;
      bottom: 12px;
      max-width: 225px;
      padding: 8px 10px;
      border-radius: 7px;
      background: rgba(23,52,45,.92);
      color: white;
      font-size: .71rem;
    }

    .window {
      position: absolute;
      z-index: 2;
      top: 17%;
      left: 10%;
      width: 29%;
      height: 36%;
      border: 10px solid var(--window-frame);
      background: linear-gradient(135deg, #edf4f5, #a5c0cb);
      box-shadow: 0 5px 16px rgba(23,52,45,.15);
    }

    .window::before,
    .window::after {
      position: absolute;
      background: var(--window-frame);
      content: "";
    }

    .window::before {
      top: 0;
      bottom: 0;
      left: 50%;
      width: 4px;
      transform: translateX(-50%);
    }

    .window::after {
      top: 50%;
      right: 0;
      left: 0;
      height: 4px;
      transform: translateY(-50%);
    }

    .living-sofa {
      position: absolute;
      z-index: 5;
      right: 12%;
      bottom: 9%;
      left: 11%;
      height: 29%;
      border-radius: 24px 24px 8px 8px;
      background: var(--sofa-color);
      box-shadow: inset 0 -18px rgba(0,0,0,.12),
        0 10px 15px rgba(23,52,45,.14);
    }

    .living-sofa::before {
      position: absolute;
      top: 14%;
      left: 12%;
      width: 27%;
      height: 43%;
      border-radius: 10px;
      background: rgba(255,255,255,.3);
      box-shadow: 112px 0 rgba(255,255,255,.3);
      content: "";
    }

    .living-cabinet {
      position: absolute;
      z-index: 6;
      right: 7%;
      bottom: 9%;
      width: 21%;
      height: 21%;
      border-radius: 4px 4px 0 0;
      background: var(--cabinet-color);
      box-shadow: inset 0 -11px rgba(0,0,0,.18);
    }

    .living-cabinet::before {
      position: absolute;
      top: -20px;
      left: 16%;
      width: 68%;
      height: 18px;
      border-radius: 50% 50% 3px 3px;
      background: #789067;
      content: "";
    }

    .kitchen-unit {
      position: absolute;
      z-index: 5;
      right: 6%;
      bottom: 8%;
      left: 6%;
      height: 27%;
      border-radius: 5px 5px 0 0;
      background:
        linear-gradient(
          90deg,
          transparent 0 16%,
          rgba(0,0,0,.12) 16% 18%,
          transparent 18% 36%,
          rgba(0,0,0,.12) 36% 38%,
          transparent 38% 56%,
          rgba(0,0,0,.12) 56% 58%,
          transparent 58% 76%,
          rgba(0,0,0,.12) 76% 78%,
          transparent 78%
        ),
        var(--kitchen-color);
      box-shadow: inset 0 -18px rgba(0,0,0,.18);
    }

    .kitchen-unit::before {
      position: absolute;
      top: -11px;
      right: -2%;
      left: -2%;
      height: 12px;
      border-radius: 3px;
      background: #4d504a;
      content: "";
    }

    .kitchen-upper {
      position: absolute;
      z-index: 5;
      top: 27%;
      right: 8%;
      width: 42%;
      height: 19%;
      border: 4px solid #d8d1c5;
      border-radius: 4px;
      background: var(--kitchen-color);
    }

    .kitchen-hood {
      position: absolute;
      z-index: 6;
      top: 39%;
      right: 28%;
      width: 15%;
      height: 9%;
      border-radius: 4px 4px 0 0;
      background: #73746f;
    }

    .bed {
      position: absolute;
      z-index: 5;
      right: 17%;
      bottom: 9%;
      left: 16%;
      height: 35%;
      border-radius: 15px 15px 8px 8px;
      background: linear-gradient(
        180deg,
        #d8d1c5 0 30%,
        var(--bed-color) 30%
      );
      box-shadow: inset 0 -18px rgba(0,0,0,.12),
        0 10px 15px rgba(23,52,45,.14);
    }

    .bed::before {
      position: absolute;
      top: 38%;
      left: 8%;
      width: 32%;
      height: 32%;
      border-radius: 8px;
      background: #fffdf7;
      box-shadow: 128px 0 #fffdf7;
      content: "";
    }

    .wardrobe {
      position: absolute;
      z-index: 5;
      right: 7%;
      bottom: 8%;
      width: 18%;
      height: 47%;
      border-radius: 5px 5px 0 0;
      background:
        linear-gradient(
          90deg,
          transparent 0 48%,
          rgba(0,0,0,.18) 48% 52%,
          transparent 52%
        ),
        var(--wardrobe-color);
      box-shadow: inset 0 -11px rgba(0,0,0,.18);
    }

    .kids-bed {
      position: absolute;
      z-index: 5;
      right: 12%;
      bottom: 10%;
      left: 10%;
      height: 28%;
      border-radius: 15px 15px 7px 7px;
      background: repeating-linear-gradient(
        45deg,
        var(--bed-color) 0 16px,
        rgba(255,255,255,.55) 16px 32px
      );
      box-shadow: inset 0 -15px rgba(0,0,0,.12),
        0 10px 15px rgba(23,52,45,.14);
    }

    .kids-chest {
      position: absolute;
      z-index: 6;
      right: 7%;
      bottom: 10%;
      width: 20%;
      height: 26%;
      border-radius: 5px 5px 0 0;
      background: var(--cabinet-color);
      box-shadow: inset 0 -10px rgba(0,0,0,.17);
    }

    .kids-decoration {
      position: absolute;
      z-index: 3;
      top: 25%;
      right: 15%;
      width: 62px;
      height: 62px;
      border-radius: 50%;
      background: #e8b6ab;
      box-shadow: 57px 16px 0 -12px #b8c6d8,
        22px 58px 0 -17px #e5cc78;
    }

    .preview[data-room="living"] .kitchen-unit,
    .preview[data-room="living"] .kitchen-upper,
    .preview[data-room="living"] .kitchen-hood,
    .preview[data-room="living"] .bed,
    .preview[data-room="living"] .wardrobe,
    .preview[data-room="living"] .kids-bed,
    .preview[data-room="living"] .kids-chest,
    .preview[data-room="living"] .kids-decoration,
    .preview[data-room="kitchen"] .living-sofa,
    .preview[data-room="kitchen"] .living-cabinet,
    .preview[data-room="kitchen"] .bed,
    .preview[data-room="kitchen"] .wardrobe,
    .preview[data-room="kitchen"] .kids-bed,
    .preview[data-room="kitchen"] .kids-chest,
    .preview[data-room="kitchen"] .kids-decoration,
    .preview[data-room="bedroom"] .living-sofa,
    .preview[data-room="bedroom"] .living-cabinet,
    .preview[data-room="bedroom"] .kitchen-unit,
    .preview[data-room="bedroom"] .kitchen-upper,
    .preview[data-room="bedroom"] .kitchen-hood,
    .preview[data-room="bedroom"] .kids-bed,
    .preview[data-room="bedroom"] .kids-chest,
    .preview[data-room="bedroom"] .kids-decoration,
    .preview[data-room="kids"] .living-sofa,
    .preview[data-room="kids"] .living-cabinet,
    .preview[data-room="kids"] .kitchen-unit,
    .preview[data-room="kids"] .kitchen-upper,
    .preview[data-room="kids"] .kitchen-hood,
    .preview[data-room="kids"] .bed,
    .preview[data-room="kids"] .wardrobe {
      display: none;
    }

    .supplier-selector {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      margin: 14px 0;
    }

    .supplier-note {
      margin: -4px 0 13px;
      color: var(--muted);
      font-size: .79rem;
    }

    .palette {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 9px;
      max-height: 365px;
      padding: 4px;
      overflow-y: auto;
    }

    .swatch {
      min-width: 0;
      padding: 0;
      border: 0;
      background: transparent;
      color: var(--ink);
      text-align: left;
    }

    .swatch-color {
      display: block;
      height: 31px;
      border: 1px solid rgba(0,0,0,.13);
      border-radius: 5px;
      transition: transform .15s ease;
    }

    .swatch:hover .swatch-color {
      transform: scale(1.07);
    }

    .swatch.active .swatch-color {
      outline: 3px solid var(--ink);
      outline-offset: 3px;
    }

    .swatch-name {
      display: block;
      overflow: hidden;
      margin-top: 5px;
      font-size: .65rem;
      font-weight: 800;
      line-height: 1.2;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .swatch-code {
      display: block;
      overflow: hidden;
      color: var(--muted);
      font-size: .58rem;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .choice-box {
      margin-top: 20px;
      padding: 17px;
      border: 1px solid rgba(23,52,45,.18);
      border-radius: 10px;
      background: rgba(255,255,255,.58);
    }

    .choice-box strong {
      display: block;
      font: 1.15rem Georgia, "Times New Roman", serif;
    }

    .choice-box p {
      margin: .35em 0 0;
    }

    .selected-code {
      color: var(--muted);
      font-size: .88rem;
      font-weight: 800;
    }

    .disclaimer {
      color: var(--muted);
      font-size: .8rem;
    }

    .catalog-links {
      margin-top: 20px;
      padding-top: 18px;
      border-top: 1px solid rgba(23,52,45,.2);
    }

    .catalog-links ul {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 7px 15px;
      padding: 0;
      margin: 9px 0 0;
      list-style: none;
    }

    .catalog-links a {
      font-size: .88rem;
      font-weight: 850;
      text-underline-offset: 5px;
    }

    .gallery {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      grid-auto-rows: 205px;
      gap: 14px;
    }

    .shot {
      position: relative;
      display: flex;
      align-items: end;
      min-height: 205px;
      padding: 18px;
      border-radius: 10px;
      background: linear-gradient(135deg, #e7dfcf, #9ba990);
      color: white;
      font-size: .9rem;
      font-weight: 850;
      box-shadow: inset 0 -70px 80px rgba(23,52,45,.5);
    }

    .shot:first-child {
      grid-row: span 2;
      background: linear-gradient(135deg, #718a7f, #d7c4a8);
    }

    .quote {
      background: var(--ink);
      color: white;
      text-align: center;
    }

    .quote p {
      max-width: 850px;
      margin: 0 auto 18px;
      font: clamp(1.55rem, 3vw, 2.4rem)/1.28 Georgia,
        "Times New Roman", serif;
    }

    .contact {
      display: grid;
      grid-template-columns: .8fr 1.2fr;
      gap: 60px;
      align-items: start;
    }

    .contact-list {
      padding: 0;
      margin: 23px 0 0;
      list-style: none;
    }

    .contact-list li {
      padding: 11px 0;
      border-bottom: 1px solid var(--line);
    }

    form {
  padding: 28px;
  border-radius: 13px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.form-field {
  margin-bottom: 15px;
}

.form-field label,
.service-options legend {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: .83rem;
  font-weight: 850;
}

input,
select,
textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fdfcf9;
  color: var(--ink);
}

input,
select {
  min-height: 52px;
}

textarea {
  min-height: 125px;
  resize: vertical;
}

input[type="file"] {
  min-height: 52px;
  padding: 9px;
  cursor: pointer;
}

input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-height: 17px;
  flex: 0 0 17px;
  margin: 0;
  accent-color: var(--accent);
}

input[type="date"] {
  min-height: 52px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ink);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(23, 52, 45, .1);
}

input::placeholder,
textarea::placeholder {
  color: #8b9290;
}

.service-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 4px 0 20px;
  padding: 16px 14px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.service-options legend {
  width: auto;
  padding: 0 7px;
  margin: 0;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: .85rem;
  font-weight: 800;
  cursor: pointer;
}

.check-label span {
  line-height: 1.35;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 4px 0 20px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.consent input {
  margin-top: 2px;
}

.status {
  display: none;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: .9rem;
  line-height: 1.45;
}

.status.is-sending,
.status.is-success,
.status.is-error {
  display: block;
}

.status.is-sending {
  background: #f3f0e7;
  color: var(--ink);
}

.status.is-success {
  border-color: #79a987;
  background: #eaf6ed;
  color: #205f36;
}

.status.is-error {
  border-color: #d38b78;
  background: #fff0ec;
  color: #8d391f;
}

.status-title {
  display: block;
  margin-bottom: 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.status-text {
  display: block;
}

@media (max-width: 620px) {
  form {
    padding: 22px 17px;
  }

  .form-row,
  .service-options {
    grid-template-columns: 1fr;
  }

  .service-options {
    gap: 12px;
  }
}
    footer {
      padding: 35px 0;
      border-top: 1px solid var(--line);
    }

    .footer {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 18px;
      color: var(--muted);
      font-size: .88rem;
    }

    .footer b {
      color: var(--ink);
    }

    .sticky {
      display: none;
    }

    @media (max-width: 960px) {
      .hero,
      .palette-layout,
      .contact {
        grid-template-columns: 1fr;
      }

      .cards {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 760px) {
      .topbar-inner {
        justify-content: center;
      }

      .topbar-inner span {
        display: none;
      }

      .site-header {
        position: relative;
      }

      .desktop-nav {
        display: none;
      }

      .menu-toggle {
        display: inline-flex;
        justify-content: center;
        align-items: center;
      }

      .mobile-menu {
        position: absolute;
        z-index: 30;
        top: 100%;
        right: 0;
        left: 0;
        padding: 12px 18px 18px;
        border-bottom: 1px solid var(--line);
        background: var(--paper);
        box-shadow: 0 15px 25px rgba(23,52,45,.1);
      }

      .mobile-menu.open {
        display: grid;
        gap: 3px;
      }

      .mobile-menu a {
        padding: 11px 3px;
        border-bottom: 1px solid var(--line);
        font-weight: 800;
        text-decoration: none;
      }

      .benefits {
        grid-template-columns: 1fr;
      }

      .benefit + .benefit {
        border-top: 1px solid var(--line);
        border-left: 0;
      }

      .section-head {
        display: block;
      }

      .gallery {
        grid-template-columns: 1fr 1fr;
      }

      .shot:first-child {
        grid-column: span 2;
        grid-row: auto;
      }

      .sticky {
        position: fixed;
        z-index: 25;
        right: 16px;
        bottom: 12px;
        left: 16px;
        display: flex;
        box-shadow: var(--shadow);
      }
    }

    @media (max-width: 520px) {
      .wrap {
        width: min(100% - 28px, 1180px);
      }

      h1 {
        font-size: 2.75rem;
      }

      h2 {
        font-size: 2.05rem;
      }

      section {
        padding: 62px 0;
      }

      .hero {
        padding: 37px 0 55px;
      }

      .hero-room {
        min-height: 320px;
      }

      .cards,
      .row {
        grid-template-columns: 1fr;
      }

      .target-selector {
        grid-template-columns: repeat(2, 1fr);
      }

      .preview {
        min-height: 350px;
      }

      .palette {
        grid-template-columns: repeat(5, 1fr);
        max-height: 330px;
      }

      .swatch-name,
      .swatch-code {
        display: none;
      }

      .swatch-color {
        height: 29px;
      }

      .catalog-links ul {
        grid-template-columns: 1fr;
      }
  
}

/* ===== GALERIE REALIZACÍ ===== */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  height: 180px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #d7c4a8;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  appearance: none;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  transition: transform .25s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* Zvětšený náhled */
.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 70px 80px;
  background: rgba(10, 24, 20, .94);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 1100px);
  height: min(100%, 800px);
  margin: 0;
}

.lightbox-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .35);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: white;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,.28);
}

.lightbox-close {
  top: 22px;
  right: 25px;
}

.lightbox-prev {
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
}

.lightbox-counter {
  position: absolute;
  right: 25px;
  bottom: 22px;
  left: 25px;
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  text-align: center;
}

body.lightbox-open {
  overflow: hidden;
}

/* Tablet */
@media (max-width: 760px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item {
    height: 150px;
  }

  .lightbox {
    padding: 65px 50px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
  }
}

/* Mobil */
@media (max-width: 520px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    height: 190px;
  }

  .lightbox {
    padding: 60px 40px;
  }

  .lightbox-figure img {
    max-height: calc(100vh - 130px);
  }

  .lightbox-prev,
  .lightbox-next {
    width: 38px;
    height: 38px;
    font-size: 1.6rem;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-caption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  padding: 30px 14px 11px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(23, 52, 45, .88)
  );
  color: #ffffff;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: left;
  pointer-events: none;
}

.gallery-item:hover .gallery-caption {
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(23, 52, 45, .95)
  );
}

/* Galerie */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  height: 180px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #d7c4a8;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  appearance: none;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .25s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 28px 14px 11px;
  background: linear-gradient(
    transparent,
    rgba(23, 52, 45, .85)
  );
  color: white;
  font-size: .78rem;
  font-weight: 800;
  text-align: left;
  pointer-events: none;
}

/* Zvětšený obrázek */
.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
  background: rgba(10, 24, 20, .94);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 1100px);
  height: 100%;
  margin: 0;
}

.lightbox-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-figure figcaption {
  position: absolute;
  bottom: 22px;
  color: white;
  font-size: .9rem;
  text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: white;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,.3);
}

.lightbox-close {
  top: 20px;
  right: 24px;
}

.lightbox-prev {
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
}

.lightbox-counter {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  color: rgba(255,255,255,.75);
  font-size: .8rem;
  text-align: center;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item {
    height: 150px;
  }

  .lightbox {
    padding: 55px 48px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }
}

@media (max-width: 520px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    height: 190px;
  }

  .lightbox {
    padding: 55px 38px;
  }

  .lightbox-figure img {
    max-height: calc(100vh - 120px);
  }
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: Arial, sans-serif;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.lightbox-close {
  padding-bottom: 3px;
  font-size: 2rem;
}

.lightbox-prev,
.lightbox-next {
  padding-bottom: 4px;
  font-size: 2rem;
}

@media (max-width: 520px) {
  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    padding-bottom: 3px;
    line-height: 1;
  }

  .lightbox-close {
    font-size: 1.8rem;
  }

  .lightbox-prev,
  .lightbox-next {
    font-size: 1.6rem;
  }
}

.lightbox-figure {
  position: relative;
}

.lightbox-figure figcaption {
  position: fixed;
  z-index: 3;
  right: 80px;
  bottom: 52px;
  left: 80px;
  margin: 0;
  color: #ffffff;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .7);
}

.lightbox-counter {
  position: fixed;
  z-index: 3;
  right: 20px;
  bottom: 18px;
  left: 20px;
  color: rgba(255,255,255,.78);
  font-size: .8rem;
  text-align: center;
}

@media (max-width: 760px) {
  .lightbox-figure figcaption {
    right: 50px;
    bottom: 50px;
    left: 50px;
    font-size: .82rem;
  }

  .lightbox-counter {
    bottom: 16px;
  }
}