:root {
  --bg: #fbf7ef;
  --paper: #fffdf8;
  --paper-soft: #f6efe4;
  --text: #1f1a15;
  --muted: #65584c;
  --primary: #a66825;
  --primary-dark: #744215;
  --primary-light: #c98a3c;
  --line: rgba(116, 66, 21, .14);
  --shadow: 0 24px 70px rgba(55, 35, 18, .14);
  --radius: 22px;
  --container: 1120px;
  --header-h: 88px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 8%, rgba(166, 104, 37, .08), transparent 26rem),
    linear-gradient(180deg, #fffaf2 0%, var(--bg) 58%, #f7f0e6 100%);
  line-height: 1.65;
}

body.nav-open { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: .7rem 1rem;
  background: var(--primary-dark);
  color: #fff;
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section-anchor { position: relative; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 251, 244, .94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(116, 66, 21, .08);
  transition: box-shadow .25s ease, background .25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 16px 40px rgba(50, 31, 14, .08);
  background: rgba(255, 251, 244, .98);
}

.nav-wrap {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: .05rem;
  line-height: .95;
  color: var(--primary-dark);
  letter-spacing: -.045em;
}

.brand__small {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #5d4634;
}

.brand__title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 2rem);
  font-size: .96rem;
  font-weight: 750;
}

.main-nav > a:not(.btn) {
  position: relative;
  padding-block: .6rem;
}

.main-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: .2rem;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.main-nav > a:hover::after,
.main-nav > a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 46px;
  padding: .88rem 1.35rem;
  border-radius: 7px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(201, 138, 60, .35); outline-offset: 3px; }

.btn--primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  box-shadow: 0 14px 26px rgba(116, 66, 21, .22);
}

.btn--primary:hover { box-shadow: 0 18px 34px rgba(116, 66, 21, .28); }

.btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,.62);
  background: rgba(255,255,255,.06);
}

.btn--ghost:hover { background: rgba(255,255,255,.14); }

.btn--outline {
  background: #fffaf3;
  color: var(--primary-dark);
  border-color: rgba(116, 66, 21, .25);
}

.btn--outline:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.nav-cta { padding-inline: 1.5rem; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px auto;
  background: var(--primary-dark);
  transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hero {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  padding-block: clamp(5rem, 8vw, 9rem);
  overflow: clip;
  background: #2c1c11;
  color: #fff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(42, 26, 13, .95) 0%, rgba(42, 26, 13, .82) 36%, rgba(42, 26, 13, .42) 65%, rgba(42, 26, 13, .20) 100%),
    linear-gradient(180deg, rgba(20, 12, 6, .2), rgba(20, 12, 6, .28)),
    url("assets/hero-kitchen.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(34, 21, 11, .32));
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 420px);
  align-items: center;
  gap: clamp(2rem, 8vw, 8rem);
}

.hero h1,
.about h2,
.section-heading h2,
.cta h2,
.contact h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: .98;
  letter-spacing: -.045em;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 7vw, 5.95rem);
}

.lead {
  max-width: 620px;
  margin: 1.55rem 0 0;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: rgba(255,255,255,.91);
}

.eyebrow,
.section-kicker {
  margin: 0 0 .7rem;
  color: var(--primary);
  text-transform: uppercase;
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .17em;
}

.hero .eyebrow { color: #dfad6f; }

.hero__actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.feature-card {
  width: min(100%, 390px);
  margin-left: auto;
  padding: clamp(1.55rem, 3vw, 2rem);
  border-radius: 12px;
  background: rgba(255, 252, 247, .96);
  color: var(--text);
  box-shadow: 0 28px 70px rgba(0,0,0,.18);
}

.feature-card__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem .25rem;
  font-weight: 740;
}

.feature-card__icon,
.service-card__icon {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  color: var(--primary);
}

.feature-card__icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about {
  padding-block: clamp(4rem, 9vw, 8rem);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(300px, 460px) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 4.8rem);
  align-items: center;
}

.about__copy h2,
.section-heading h2,
.contact h2 {
  font-size: clamp(2.65rem, 5vw, 4.5rem);
}

.about__copy p:not(.section-kicker) {
  margin: 1rem 0;
  color: var(--muted);
}

.about__copy .btn { margin-top: .8rem; }

.about__image-wrap {
  position: relative;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about__image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(44,26,10,.05));
  z-index: 1;
  pointer-events: none;
}

.about__image-wrap img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .45s ease;
}

.about__image-wrap:hover img { transform: scale(1.035); }

.services,
.references,
.contact {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section-heading {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.service-card,
.reference-card,
.contact-form {
  background: rgba(255, 252, 247, .82);
  border: 1px solid rgba(116, 66, 21, .09);
  box-shadow: 0 18px 50px rgba(76, 46, 18, .07);
}

.service-card {
  min-height: 210px;
  padding: 2rem 1.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 70px rgba(76, 46, 18, .12);
  border-color: rgba(166, 104, 37, .22);
}

.service-card__icon svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 1.2rem 0 .5rem;
  font-size: .96rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}

.gallery {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(246,239,228,.55));
}

.gallery .section-heading { margin-bottom: 1.8rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .55rem;
}

.gallery-item {
  position: relative;
  min-height: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: #ddd;
  aspect-ratio: 1 / .9;
}

.gallery-item::after {
  content: "Zobrazit";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(44,26,10,.45);
  color: #fff;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .25s ease;
}

.gallery-item:hover::after { opacity: 1; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item--hidden { display: none; }
.gallery-item--hidden.is-visible { display: block; }

.gallery__more {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
}

.references {
  background: rgba(255,255,255,.32);
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.reference-card {
  margin: 0;
  padding: 2rem;
  border-radius: 14px;
}

.reference-card blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  line-height: 1.45;
}

.reference-card figcaption {
  margin-top: 1.2rem;
  color: var(--primary-dark);
  font-weight: 850;
}

.cta {
  padding-block: 2.6rem;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(34,21,11,.92), rgba(34,21,11,.68)),
    url("assets/wood-strip.jpg") center / cover no-repeat;
}

.cta__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta .section-kicker {
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.05;
  margin-bottom: .45rem;
}

.cta h2 {
  font-family: inherit;
  letter-spacing: 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255,255,255,.86);
}

.contact__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact__info p:not(.section-kicker) {
  color: var(--muted);
  max-width: 520px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: .85rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-weight: 760;
}

.contact-list address {
  margin: 0;
  font-style: normal;
  line-height: 1.45;
}

.contact-list a:hover {
  color: var(--primary-dark);
}

.contact-list span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(166,104,37,.12);
}

.contact-form {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: .45rem;
  color: #3b3028;
  font-weight: 800;
  font-size: .93rem;
}

.contact-form label:nth-child(4) { grid-column: 1 / -1; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(116, 66, 21, .18);
  border-radius: 9px;
  background: #fffaf3;
  padding: .9rem 1rem;
  color: var(--text);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-form textarea { resize: vertical; min-height: 140px; }

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(166, 104, 37, .6);
  box-shadow: 0 0 0 4px rgba(166,104,37,.11);
  background: #fff;
}

.contact-form .btn { justify-self: start; }

.form-status {
  margin: 0;
  color: var(--primary-dark);
  font-weight: 760;
  align-self: center;
}

.site-footer {
  color: rgba(255,255,255,.78);
  background: linear-gradient(180deg, #1f1712, #14100d);
}

.footer__grid {
  padding-block: clamp(3rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2rem;
}

.brand--footer { color: #d9a568; }

.site-footer h3 {
  margin: 0 0 1rem;
  color: #d6a064;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .88rem;
}

.site-footer p { max-width: 270px; margin: 1rem 0 0; }

.site-footer a,
.site-footer span {
  display: block;
  margin: .28rem 0;
}

.site-footer a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 1.2rem;
  font-size: .9rem;
}

.footer__bottom p { margin: 0; max-width: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(20, 13, 8, .88);
}

.lightbox[hidden] { display: none; }

.lightbox img {
  width: min(1040px, 92vw);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 100px rgba(0,0,0,.45);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

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

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

.reveal--delay { transition-delay: .13s; }

@media (max-width: 1040px) {
  :root { --header-h: 76px; }

  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    height: calc(100svh - var(--header-h));
    padding: 2rem;
    display: grid;
    align-content: start;
    gap: 1rem;
    background: #fffaf3;
    transform: translateX(100%);
    transition: transform .28s ease;
    border-top: 1px solid var(--line);
  }

  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { font-size: 1.15rem; }
  .nav-cta { justify-self: start; }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .feature-card { margin-left: 0; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .container { width: min(100% - 28px, var(--container)); }
  .hero { min-height: auto; }
  .hero__bg {
    background:
      linear-gradient(90deg, rgba(42, 26, 13, .96), rgba(42, 26, 13, .62)),
      url("assets/hero-kitchen.jpg") center / cover no-repeat;
  }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4.6rem); }
  .hero__actions { align-items: stretch; }
  .hero__actions .btn { flex: 1 1 190px; }
  .about__grid,
  .contact__grid { grid-template-columns: 1fr; }
  .about__image-wrap { order: -1; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .reference-grid { grid-template-columns: 1fr; }
  .cta__grid { flex-direction: column; align-items: flex-start; }
  .contact-form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .btn { width: 100%; }
  .feature-card { padding: 1.15rem; }
  .service-grid { grid-template-columns: 1fr; }
  .gallery-grid { gap: .4rem; }
  .gallery-item { aspect-ratio: 1 / .82; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}


.gallery-empty {
  padding: 2rem;
  border: 1px dashed rgba(116, 66, 21, .28);
  border-radius: 16px;
  background: rgba(255, 252, 247, .74);
  text-align: center;
  color: var(--muted);
}

.gallery-empty p { margin: 0; font-weight: 750; }
