/* Sdílený styl pro podstránky (půlden, schody, domky, zahrada). Barvy a písma jsou stejné jako na hlavní stránce. */
/* ---------- Palette ----------
   Light: teal ink on cream paper, with a warm oak accent.
   Dark:  "night ink" — the same artwork inverted into pale teal lines on deep petrol. */
:root {
  color-scheme: light;
  --cream: #EAE3DE;
  --bg: #EAE3DE;
  --bg-alt: #E2D7CC;
  --ink-strong: #0E3C45;
  --ink: #175A67;
  --ink-soft: #2A707C;
  --accent: #97501F;
  --line: rgba(23, 90, 103, .24);
  --line-strong: #175A67;
  --btn-bg: #175A67;
  --btn-fg: #F4EFEA;
  --btn-hover: #0F454F;
  --field-bg: rgba(255, 255, 255, .45);
  --hover-bg: rgba(255, 255, 255, .3);
  --header-bg: rgba(234, 227, 222, .9);
  --focus: rgba(23, 90, 103, .25);
  --art-filter: none;
  --art-blend: normal;
  --seam: var(--bg);
  /* hero: morning */
  --night: 0;
  --ground: #EAE3DE;
  --h-word: #121A1C;
  --h-ink: #13262B;
  --h-ink-soft: rgba(19, 38, 43, .72);
  --h-btn-bg: #175A67;
  --h-btn-fg: #F4EFEA;
  --h-btn-hover: #0F454F;
  --h-ghost: rgba(19, 38, 43, .4);
  --h-glass-bg: rgba(255, 255, 255, .34);
  --h-glass-border: rgba(19, 38, 43, .16);
  --show-sun: none;
  --show-moon: block;
  --max: 1440px;
  --fs-nav: clamp(.9rem, .55vw + .75rem, 1.02rem);
}

/* Follows the system setting; the header switch flips it (pure CSS via :has) */
@media (prefers-color-scheme: dark) {
  :root:not(:has(#theme:checked)) {
  color-scheme: dark;
  --bg: #0F1D21;
  --bg-alt: #13262B;
  --ink-strong: #EAF2EF;
  --ink: #B7D6D4;
  --ink-soft: #8DB5B5;
  --accent: #E2A86E;
  --line: rgba(183, 214, 212, .18);
  --line-strong: rgba(183, 214, 212, .55);
  --btn-bg: #CFE6E2;
  --btn-fg: #0F1D21;
  --btn-hover: #F0F7F5;
  --field-bg: rgba(255, 255, 255, .05);
  --hover-bg: rgba(255, 255, 255, .04);
  --header-bg: rgba(15, 29, 33, .86);
  --focus: rgba(183, 214, 212, .35);
  --art-filter: invert(1) hue-rotate(180deg) saturate(.72) contrast(1.3);
  --art-blend: lighten;
  --seam: #000000;
  /* hero: evening */
  --night: 1;
  --ground: #1B1712;
  --h-word: #FBF8F4;
  --h-ink: #FBF8F4;
  --h-ink-soft: rgba(243, 238, 232, .7);
  --h-btn-bg: #F4EFEA;
  --h-btn-fg: #14201F;
  --h-btn-hover: #FFFFFF;
  --h-ghost: rgba(255, 255, 255, .5);
  --h-glass-bg: rgba(255, 255, 255, .14);
  --h-glass-border: rgba(255, 255, 255, .42);
  --show-sun: block;
  --show-moon: none;
  }
}

@media (prefers-color-scheme: light) {
  :root:has(#theme:checked) {
  color-scheme: dark;
  --bg: #0F1D21;
  --bg-alt: #13262B;
  --ink-strong: #EAF2EF;
  --ink: #B7D6D4;
  --ink-soft: #8DB5B5;
  --accent: #E2A86E;
  --line: rgba(183, 214, 212, .18);
  --line-strong: rgba(183, 214, 212, .55);
  --btn-bg: #CFE6E2;
  --btn-fg: #0F1D21;
  --btn-hover: #F0F7F5;
  --field-bg: rgba(255, 255, 255, .05);
  --hover-bg: rgba(255, 255, 255, .04);
  --header-bg: rgba(15, 29, 33, .86);
  --focus: rgba(183, 214, 212, .35);
  --art-filter: invert(1) hue-rotate(180deg) saturate(.72) contrast(1.3);
  --art-blend: lighten;
  --seam: #000000;
  /* hero: evening */
  --night: 1;
  --ground: #1B1712;
  --h-word: #FBF8F4;
  --h-ink: #FBF8F4;
  --h-ink-soft: rgba(243, 238, 232, .7);
  --h-btn-bg: #F4EFEA;
  --h-btn-fg: #14201F;
  --h-btn-hover: #FFFFFF;
  --h-ghost: rgba(255, 255, 255, .5);
  --h-glass-bg: rgba(255, 255, 255, .14);
  --h-glass-border: rgba(255, 255, 255, .42);
  --show-sun: block;
  --show-moon: none;
  }
}

@property --ground {
  syntax: "<color>";
  inherits: true;
  initial-value: #EAE3DE;
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  transition: background-color .6s ease, color .6s ease;
  font-family: Poppins, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-nav); font-weight: 400; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.wrap {
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding-right: max(clamp(1.25rem, 4vw, 4.5rem), env(safe-area-inset-right));
  padding-left: max(clamp(1.25rem, 4vw, 4.5rem), env(safe-area-inset-left));
}
.eyebrow { margin: 0 0 1rem; color: var(--accent); font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.btn {
  display: inline-flex; align-items: center; gap: .7rem; padding: .95rem 1.5rem;
  border: 1px solid var(--btn-bg); background: var(--btn-bg); color: var(--btn-fg);
  font-size: var(--fs-nav); font-weight: 500; text-decoration: none; border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover, .btn:focus-visible { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink-strong); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.text-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--accent); font-weight: 500; text-decoration: none; }
.text-link svg { width: 18px; height: 18px; transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.theme-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.page-header {
  position: sticky; top: 0; z-index: 20; background: var(--header-bg);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid var(--line); transition: background-color .6s ease;
}
.page-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand-link { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink-strong); }
.brand-link svg { width: 28px; height: auto; flex-shrink: 0; }
.brand-link span { font-family: "EB Garamond", Georgia, serif; font-size: 1.4rem; line-height: 1; letter-spacing: .02em; }
.page-nav { display: flex; gap: clamp(1.1rem, 2.2vw, 2.25rem); margin-left: auto; }
.page-nav a { padding: .4rem 0; border-bottom: 1px solid transparent; font-size: .92rem; text-decoration: none; transition: opacity .2s ease; }
.page-nav a:hover, .page-nav a:focus-visible { opacity: .6; }
.page-nav a[aria-current="page"] { border-bottom-color: var(--accent); color: var(--ink-strong); }
.page-nav .nav-home { display: inline-flex; align-items: center; gap: .4rem; margin-right: clamp(0rem, 1vw, .75rem); color: var(--ink-strong); }
.nav-home svg { width: 16px; height: 16px; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-cta { padding: .7rem 1.25rem; font-size: .92rem; }
.theme-toggle {
  display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0;
  border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink-strong); cursor: pointer;
}
.theme-input:focus-visible + .page-header .theme-toggle { outline: 2px solid currentColor; outline-offset: 2px; }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: var(--show-sun); }
.theme-toggle .i-moon { display: var(--show-moon); }
@media (max-width: 1000px) {
  .page-header .wrap { flex-wrap: wrap; align-content: center; row-gap: 0; padding-top: .7rem; }
  .header-actions { margin-left: auto; }
  .page-nav {
    order: 3; width: 100%; margin-left: 0; padding: .55rem 0 .5rem; gap: 1.4rem;
    overflow-x: auto; scrollbar-width: none;
  }
  .page-nav::-webkit-scrollbar { display: none; }
  .page-nav a { flex-shrink: 0; white-space: nowrap; }
}
@media (max-width: 440px) {
  .page-header .wrap { min-height: 68px; gap: .75rem; }
  .brand-link span { font-size: 1.15rem; }
  .header-cta { padding: .6rem .9rem; font-size: .84rem; }
  .theme-toggle { width: 40px; height: 40px; }
}

/* ---------- Hero ---------- */
.page-hero { padding: clamp(3rem, 9vh, 6rem) 0 clamp(3rem, 8vh, 5.5rem); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.page-hero h1 {
  margin: 0; color: var(--ink-strong); font-family: "EB Garamond", Georgia, serif; font-weight: 400;
  font-size: clamp(3rem, 6.4vw, 6rem); line-height: .98;
}
.page-hero h1, .section-head h2, .cta h2 { text-wrap: balance; }
.page-hero .lead, .section-head p, .offer p { text-wrap: pretty; }
.page-hero .lead { margin: clamp(1.25rem, 3vh, 2rem) 0 0; max-width: 36ch; font-size: clamp(1.05rem, .6vw + .9rem, 1.3rem); line-height: 1.65; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: clamp(1.5rem, 4vh, 2.25rem); }
.hero-meta { margin: 1.5rem 0 0; color: var(--ink-soft); font-size: .85rem; letter-spacing: .04em; }
.hero-photo { margin: 0; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-alt); }
.hero-photo figcaption { margin-top: .7rem; color: var(--ink-soft); font-size: .85rem; line-height: 1.5; }
.hero-panel { border-top: 1px solid var(--line-strong); padding-top: 1.5rem; }
.hero-panel .ticks { font-size: 1.05rem; gap: .8rem; }
@media (max-width: 900px) { .page-hero .wrap { grid-template-columns: 1fr; } }

/* ---------- Section ---------- */
.section { padding: clamp(3.5rem, 9vh, 7rem) 0; }
.section--paper { background: var(--bg-alt); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 1.5rem clamp(2rem, 5vw, 5rem); margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.section-head h2 { margin: 0; color: var(--ink-strong); font-family: "EB Garamond", Georgia, serif; font-weight: 400; font-size: clamp(2.1rem, 3.8vw, 3.4rem); line-height: 1.05; }
.section-head p:last-child { margin: 0; max-width: 46ch; line-height: 1.7; }
@media (max-width: 720px) { .section-head { grid-template-columns: 1fr; } }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .95rem; }
.ticks li { display: flex; gap: .65rem; }
.ticks li::before { content: ""; flex-shrink: 0; width: 14px; height: 1px; margin-top: .78em; background: var(--accent); }

.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.offers--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.offer { padding: clamp(1.25rem, 3vh, 2rem) clamp(1rem, 2vw, 2rem) clamp(1.5rem, 3.4vh, 2.25rem) 0; border-bottom: 1px solid var(--line); }
.offers .offer:nth-child(even) { padding-left: clamp(1rem, 2vw, 2rem); border-left: 1px solid var(--line); }
.offers--3 .offer { border-left: 0; padding-left: 0; }
.offers--3 .offer + .offer { padding-left: clamp(1rem, 2vw, 2rem); border-left: 1px solid var(--line); }
.offer h3 { margin: 0 0 .6rem; color: var(--ink-strong); font-family: "EB Garamond", Georgia, serif; font-weight: 400; font-size: clamp(1.55rem, 1.9vw, 2rem); line-height: 1.1; }
.offer p { margin: 0 0 1rem; max-width: 46ch; line-height: 1.65; }
.offer p:last-child { margin-bottom: 0; }
@media (max-width: 800px) {
  .offers, .offers--3 { grid-template-columns: 1fr; }
  .offers .offer:nth-child(n), .offers--3 .offer + .offer { padding-left: 0; padding-right: 0; border-left: 0; }
}

.note { max-width: 62ch; margin: clamp(1.75rem, 4vh, 2.5rem) 0 0; padding: 1.2rem 1.5rem; border-left: 2px solid var(--accent); background: var(--hover-bg); line-height: 1.65; }
.note strong { color: var(--ink-strong); font-weight: 500; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 3rem); }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { position: relative; padding-top: 2.4rem; }
.steps li::before { content: ""; position: absolute; top: .55rem; left: 0; right: calc(-1 * clamp(1.75rem, 3vw, 3rem)); height: 1px; background: var(--line-strong); opacity: .45; }
.steps li:last-child::before { right: 0; }
.steps li::after { content: ""; position: absolute; top: 0; left: 0; width: 1.1rem; height: 1.1rem; border: 1px solid var(--accent); border-radius: 50%; background: var(--bg); }
.section--paper .steps li::after { background: var(--bg-alt); }
.chapter { margin: 0 0 .35rem; color: var(--accent); font-family: "EB Garamond", Georgia, serif; font-size: 1.1rem; font-style: italic; }
.steps h3 { margin: 0 0 .65rem; font-size: 1.05rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.steps p:last-child { margin: 0; line-height: 1.65; }
@media (max-width: 1100px) { .steps:not(.steps--3) { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.75rem; } .steps:not(.steps--3) li:nth-child(2)::before { right: 0; } }
@media (max-width: 800px) {
  .steps, .steps--3 { grid-template-columns: 1fr; row-gap: 0; }
  .steps li { padding: 0 0 2.25rem 2.4rem; }
  .steps li::before, .steps li:nth-child(n)::before { top: 1.1rem; bottom: 0; left: .55rem; right: auto; width: 1px; height: auto; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li:last-child::before { display: none; }
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(.75rem, 1.5vw, 1.25rem); }
.shot { margin: 0; grid-column: span 4; }
.shot--half { grid-column: span 6; }
.shot img { display: block; width: 100%; height: clamp(220px, 26vw, 400px); object-fit: cover; background: var(--bg-alt); }
.shot figcaption { margin-top: .7rem; font-size: .88rem; line-height: 1.5; }
.shot figcaption b { display: block; color: var(--ink-strong); font-family: "EB Garamond", Georgia, serif; font-size: 1.25rem; font-weight: 400; }
@media (max-width: 800px) { .shot, .shot--half { grid-column: 1 / -1; } .shot img { height: auto; aspect-ratio: 4 / 3; } }

.brand-note { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-top: clamp(2rem, 5vh, 3rem); padding: clamp(1.25rem, 3vh, 1.75rem) 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.brand-note p { margin: 0; max-width: 60ch; line-height: 1.6; }
.brand-note strong { color: var(--ink-strong); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; padding: clamp(1.1rem, 2.4vh, 1.5rem) 0; color: var(--ink-strong); font-family: "EB Garamond", Georgia, serif; font-size: clamp(1.3rem, 1.6vw, 1.6rem); line-height: 1.25; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--accent); font-family: Poppins, system-ui, sans-serif; font-size: 1.4rem; font-weight: 300; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.faq details p { margin: 0; max-width: 68ch; padding-bottom: clamp(1.25rem, 2.6vh, 1.6rem); line-height: 1.7; }
.faq a { color: var(--accent); }

/* ---------- CTA ---------- */
.cta { padding: clamp(4rem, 11vh, 8rem) 0; text-align: center; }
.cta h2 { margin: 0 auto; max-width: 18ch; color: var(--ink-strong); font-family: "EB Garamond", Georgia, serif; font-weight: 400; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1.02; }
.cta .phone-big { display: inline-block; margin-top: clamp(1.5rem, 4vh, 2.5rem); color: var(--ink-strong); font-family: "EB Garamond", Georgia, serif; font-size: clamp(2.8rem, 8vw, 6rem); line-height: 1; text-decoration: none; }
.cta .phone-big:hover { color: var(--accent); }
.cta .hero-cta { justify-content: center; }
.cta .hero-meta { margin-top: 1.25rem; }

/* ---------- Footer ---------- */
.page-footer { border-top: 1px solid var(--line-strong); background: var(--bg-alt); padding: clamp(2.5rem, 6vh, 4rem) 0 clamp(1.5rem, 3vh, 2.25rem); transition: background-color .6s ease; }
.footer-grid { display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(150px, .8fr)); gap: clamp(1.75rem, 4vw, 4rem); }
.footer-brand { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.1rem; color: var(--ink-strong); font-family: "EB Garamond", Georgia, serif; font-size: 1.9rem; line-height: 1; }
.footer-brand svg { width: 40px; height: auto; }
.footer-blurb { margin: 0 0 1.25rem; max-width: 30ch; line-height: 1.6; }
.footer-col h2 { margin: 0 0 1.1rem; font-size: .95rem; font-weight: 600; letter-spacing: .055em; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer-col a { text-decoration: none; transition: opacity .2s ease; }
.footer-col a:hover, .footer-col a:focus-visible { opacity: .62; }
.contact-list li { display: flex; align-items: center; gap: .8rem; }
.contact-list svg { width: 18px; height: 18px; flex-shrink: 0; }
.footer-note { margin: clamp(2rem, 5vh, 3rem) 0 0; font-size: .82rem; opacity: .8; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand-col { grid-column: 1 / -1; } }
@media (max-width: 440px) { .footer-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { body, .page-header, .page-footer { transition: none; } }
