@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/amatic-sc-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/amatic-sc-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/amatic-sc-700-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/amatic-sc-700-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../assets/fonts/open-sans-300-800-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../assets/fonts/open-sans-300-800-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../assets/fonts/open-sans-300-800-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../assets/fonts/open-sans-300-800-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ---------- tokens ---------- */
:root {
  --orange: #ff784f;
  --orange-dark: #e9623a;
  --brown: #8f5f25;
  --red: #ad1801;
  --peach: #ffd9ce;
  --peach-deep: #ffaa89;
  --cream: #fff3ed;
  --ivory: #fffaf3;
  --text: #4a4a4a;
  --ink: #2b2b2b;
  --line: #f1c9a6;
  --shadow: 0 30px 70px rgba(56, 21, 0, .13);
  --display: 'Amatic SC', 'Open Sans', sans-serif;
  --body: 'Open Sans', -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); }
p { margin: 0 0 1em; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .4em;
  letter-spacing: .08em;
}
h1 { font-size: clamp(54px, 9vw, 104px); letter-spacing: .1em; }
h2 { font-size: clamp(40px, 5.5vw, 62px); }
h3 { font-size: 32px; color: var(--brown); }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
.rule { width: 90px; height: 1px; background: var(--line); margin: 18px 0 26px; border: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-size: 25px;
  letter-spacing: .08em;
  line-height: 1.3;
  padding: 10px 26px;
  border: 2px solid var(--brown);
  color: var(--brown);
  text-decoration: none;
  background: transparent;
  transition: background .2s, color .2s;
}
.btn-fill { background: var(--orange); border-color: var(--orange); color: #fff; }
@media (hover: hover) {
  .btn:hover { background: var(--brown); color: #fff; }
  .btn-fill:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--orange); color: #fff; font-size: 13px; font-weight: 600; }
.topbar .wrap { display: flex; gap: 22px; align-items: center; padding: 6px 0; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar .sep { margin-left: auto; font-weight: 400; }
.site-header { background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .08); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.logo img { width: 230px; height: 40px; }
.nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.nav a {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: .12em;
  color: var(--red);
  text-decoration: none;
  padding: 6px 0;
}
.nav a[aria-current] { color: var(--orange); }
.has-sub { position: relative; }
.has-sub > a::after { content: "▾"; font-family: var(--body); font-size: 14px; margin-left: 6px; vertical-align: middle; }
.nav ul.sub {
  display: none;
  position: absolute;
  top: 100%;
  left: -22px;
  flex-direction: column;
  gap: 0;
  min-width: 270px;
  padding: 10px 0;
  background: #fff;
  border-top: 3px solid var(--red);
  box-shadow: 0 20px 40px rgba(56, 21, 0, .14);
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub { display: flex; }
.nav .sub a { display: block; font-size: 24px; padding: 5px 22px; white-space: nowrap; }
@media (hover: hover) { .nav a:hover { color: var(--orange); } }
.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; width: 26px; height: 2px; background: var(--red); margin: 6px 0; }

/* ---------- hero (home) ---------- */
.hero { background: url(../assets/img/bg-listy.webp) center top / cover no-repeat; padding: 70px 0 90px; }
.hero-grid { display: grid; grid-template-columns: .9fr 1.45fr; align-items: center; gap: 0; }
.hero h1 { position: relative; z-index: 2; margin-right: -90px; }
.hero h1 small {
  display: block;
  margin-right: 90px; /* cancels the h1 overlap so the subtitle never runs under the photo */
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: .14em;
  color: var(--brown);
  margin-top: 14px;
}
.stack { position: relative; padding: 11% 0 5% 4%; }
/* orange squares sit in front of both photos */
.stack::before { content: ""; position: absolute; right: 0; top: -2.5%; width: 7%; aspect-ratio: 1; background: var(--orange); z-index: 3; }
.stack::after { content: ""; position: absolute; left: 1%; bottom: 1.5%; width: 9%; aspect-ratio: 1; background: var(--orange); z-index: 3; }
.stack .front { position: relative; z-index: 2; box-shadow: var(--shadow); width: 76%; aspect-ratio: 6 / 5; object-fit: cover; }
.stack .back { position: absolute; right: 2%; top: 0; width: 58%; z-index: 1; aspect-ratio: 19 / 20; object-fit: cover; }
.hero-intro { display: grid; grid-template-columns: 1fr 2.2fr 1fr; gap: 30px; margin-top: 10px; }
.hero-intro .rule { margin-top: 14px; width: 100%; }
.lead { font-size: 17px; }

/* ---------- generic sections ---------- */
.section { padding: 80px 0; }
.justify p { text-align: justify; hyphens: auto; }
.bg-kameny { background: url(../assets/img/bg-kameny-1.webp) center / cover no-repeat; }
.bg-kameny-2 { background: url(../assets/img/bg-kameny-2.webp) center / cover no-repeat; }

/* ---------- services panel (home) ---------- */
.band { background: linear-gradient(90deg, var(--peach) 0 12%, transparent 12% 88%, var(--red) 88%); padding: 0; margin: 60px 0 110px; }
.panel {
  position: relative;
  background: var(--cream) url(../assets/img/dekor-tvar.webp) right top / 62% auto no-repeat;
  box-shadow: var(--shadow);
  padding: 70px 50px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
  transform: translateY(-40px);
  margin-bottom: -80px;
}
.panel .fern { position: absolute; left: -70px; bottom: -120px; width: 270px; pointer-events: none; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cards .card:nth-child(odd) { transform: translateY(-26px); }
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  padding: 34px 20px;
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  box-shadow: 0 12px 34px rgba(56, 21, 0, .08);
  transition: transform .25s, box-shadow .25s;
}
.card img { width: 70px; height: 70px; margin-bottom: 12px; }
.card h3 { margin: 0 0 8px; font-size: 34px; line-height: 1.25; }
.card p { margin: 0; }
.card .more { margin-top: 12px; color: var(--orange-dark); text-decoration: underline; font-size: 14px; }
.card.hot { background: linear-gradient(160deg, var(--peach), var(--peach-deep)); color: #fff; }
.card.hot { color: #6b2b14; }
.card.hot h3, .card.hot .more { color: #fff; text-shadow: 0 1px 6px rgba(140, 50, 20, .35); }
.card.ivory { background: var(--ivory); }
@media (hover: hover) {
  .cards .card:hover { box-shadow: 0 22px 50px rgba(56, 21, 0, .16); }
  .grid-3 .card:hover { transform: translateY(-6px); }
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* ---------- decor strip ---------- */
.decor { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: center; text-align: center; }
.decor img { margin: 0 auto; width: min(230px, 100%); }
.decor-titles { display: grid; grid-template-columns: 1fr 1fr; text-align: center; margin-top: 10px; }

/* ---------- split (text + image) ---------- */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.split.rev { grid-template-columns: 1.2fr 1fr; }
.photo { position: relative; padding: 0 0 46px 0; }
.photo::after { content: ""; position: absolute; right: -20px; bottom: 0; width: 34%; height: 46%; background: var(--orange); z-index: 0; }
.photo img { position: relative; z-index: 1; box-shadow: var(--shadow); width: 100%; }
.cta-card { background: var(--ivory); box-shadow: var(--shadow); padding: 44px 50px; }
.cta-card .rule { margin-top: 0; }
.footer-strip { height: clamp(140px, 22vw, 300px); background: url(../assets/img/paticka-grep.webp) right bottom / cover no-repeat; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: .06em;
  color: var(--brown);
  padding: 10px 34px 10px 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 6px; color: var(--orange); font-size: 34px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; }

/* ---------- info boxes ---------- */
.info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; text-align: center; }
.info > div { background: #fff; box-shadow: 0 12px 34px rgba(56, 21, 0, .08); padding: 34px 22px; }
.info h3 { margin-bottom: 6px; }
.info p { margin: 0; }
.big-link { font-size: 20px; font-weight: 600; color: var(--ink); text-decoration: none; }

/* ---------- page hero (subpages) ---------- */
.page-hero { background: url(../assets/img/bg-kameny-1.webp) center / cover no-repeat; padding: 60px 0; }
.page-hero h1 { font-size: clamp(48px, 7.5vw, 88px); }
.page-hero .sub { font-family: var(--display); font-size: clamp(26px, 3.2vw, 36px); letter-spacing: .08em; color: var(--brown); margin: 0; }
.crumbs { font-size: 13px; margin-bottom: 22px; color: #777; }
.crumbs a { color: #777; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }

/* ---------- service detail ---------- */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: clamp(34px, 4.4vw, 48px); margin-top: 1.2em; }
.prose ul { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 4px; }
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; margin: 40px 0 10px; }
.price { background: #fff; box-shadow: 0 12px 34px rgba(56, 21, 0, .1); padding: 30px 20px; text-align: center; }
.price { transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease; }
@media (hover: hover) {
  .price:hover { transform: scale(1.04); background: #fbf1ea; box-shadow: 0 20px 46px rgba(56, 21, 0, .18); }
}
.price h3 { margin: 0; color: var(--orange); font-size: 34px; }
.justify .price p { text-align: center; }
.price .dur { color: var(--orange); font-weight: 600; margin: 0; }
.price .amount { font-size: 44px; color: var(--orange); line-height: 1.2; margin: 6px 0 0; font-weight: 300; }
.price .amount small { font-size: 18px; }
.note { font-size: 14px; color: #777; }
.gray { background: #f7f7f7; }

/* ---------- price list table ---------- */
.pricelist { width: 100%; border-collapse: collapse; background: #fff; box-shadow: 0 12px 34px rgba(56, 21, 0, .08); }
.pricelist th, .pricelist td { padding: 14px 20px; text-align: left; border-bottom: 1px solid #f3e6dc; }
.pricelist thead th { font-family: var(--display); font-size: 26px; letter-spacing: .08em; color: var(--brown); font-weight: 400; }
.pricelist td:first-child { font-family: var(--display); font-size: 28px; letter-spacing: .07em; line-height: 1.3; }
.pricelist td:nth-child(2) { font-size: 14px; color: #777; }
.pricelist td:last-child { font-size: 18px; }
.pricelist td a { text-decoration: none; }
.pricelist td:last-child, .pricelist th:last-child { text-align: right; white-space: nowrap; font-weight: 600; color: var(--orange-dark); }
.pricelist a { color: var(--ink); }
.pricelist thead th:last-child { font-weight: 400; color: var(--brown); }
.pricelist .group th { text-align: left; white-space: normal; color: var(--brown); background: var(--cream); font-family: var(--display); font-size: 30px; font-weight: 400; letter-spacing: .08em; padding: 10px 20px; }
.pricelist .group th a { color: var(--brown); text-decoration: none; }
.pricelist tr:not(.group) td:first-child { padding-left: 34px; font-size: 26px; }
.info.values { grid-template-columns: repeat(4, 1fr); }
ul.plain { padding-left: 20px; margin: 0 0 1em; }
ul.plain li { margin-bottom: 6px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.gallery figure { margin: 0; }
.gallery .side { display: grid; gap: 20px; }
.gallery img { width: 100%; height: auto; object-fit: cover; box-shadow: 0 12px 34px rgba(56, 21, 0, .12); }
.gallery .side img { aspect-ratio: 3 / 2; }
.gallery figcaption { font-size: 13px; color: #777; margin-top: 6px; }

/* ---------- footer ---------- */
.site-footer { background: #1a1a1a; color: #aaa; font-size: 14px; padding: 46px 0 24px; }
.site-footer a { color: #ddd; text-decoration: none; }
@media (hover: hover) { .site-footer a:hover { color: var(--orange); } }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-footer h2 { font-size: 28px; color: #fff; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer address { font-style: normal; }
.foot-bottom { border-top: 1px solid #333; margin-top: 34px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- mobile call bar ---------- */
.callbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .burger { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 3px solid var(--red); box-shadow: 0 20px 30px rgba(0, 0, 0, .1); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 10px 20px 20px; }
  .nav a { display: block; padding: 10px 0; }
  .nav ul.sub { display: flex; position: static; min-width: 0; padding: 0 0 6px 18px; border: 0; box-shadow: none; }
  .nav .sub a { font-size: 22px; padding: 5px 0; }
  .has-sub > a::after { content: none; }
  .hero { padding: 40px 0 60px; }
  .hero-grid, .hero-intro, .panel, .split, .split.rev, .foot-grid, .gallery { grid-template-columns: 1fr; }
  .hero h1 { margin: 0 0 30px; }
  .hero h1 small { margin-right: 0; }
  .hero-intro .rule { display: none; }
  .hero-intro > div:empty { display: none; }
  .panel { padding: 44px 24px; gap: 30px; background-image: none; }
  .panel .fern { display: none; }
  .band { background: var(--peach); margin-bottom: 70px; }
  .grid-3, .info, .info.values { grid-template-columns: 1fr 1fr; }
  .decor { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
  .photo::after { right: -10px; }
  .cta-card { padding: 34px 26px; }
  .split.rev .photo { order: -1; }
  .topbar .sep { display: none; }
  body { padding-bottom: 58px; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, .15);
  }
  .callbar a { text-align: center; padding: 12px 6px; font-family: var(--display); font-size: 26px; letter-spacing: .08em; text-decoration: none; color: #fff; background: var(--orange); }
  .callbar a + a { background: var(--red); }
}
@media (max-width: 620px) {
  .justify p { text-align: left; }
  .cards, .grid-3, .info, .info.values { grid-template-columns: 1fr; }
  .cards .card:nth-child(odd) { transform: none; }
  .logo img { width: 190px; height: 33px; }
  .pricelist, .pricelist tbody { display: block; }
  .pricelist tr { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding: 12px 16px; border-bottom: 1px solid #f3e6dc; }
  .pricelist td { padding: 0; border: 0; }
  .pricelist tr.group { display: block; padding: 0; }
  .pricelist tr.group th { display: block; padding: 10px 16px; font-size: 28px; }
  .pricelist tr:not(.group) td:first-child { padding-left: 0; font-size: 25px; }
  .pricelist td:first-child { grid-column: 1 / -1; font-size: 27px; }
  .pricelist td:nth-child(2) { align-self: center; }
  .pricelist thead { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
