/* Fotíme nehnuteľnosti – štýly webu.
   Pravidlá značky: krémová a bordová vedú, čierna je doplnok, rohy sú ostré,
   nadpisy Bricolage Grotesque 800, text Funnel Sans, zátvorky Fanwood Text Italic.
   Žiadne animácie okrem zmeny farby tlačidla. */

:root {
  --cream: #ECE6DF;
  --paper: #F4EFE8;
  --bordo: #6E0D1D;
  --bordo-deep: #4A0711;
  --ink: #121011;
  --muted: #5E5853;
  --petrol: #0F3F49;
  --line: rgba(18, 16, 17, 0.24);
  --line-light: rgba(236, 230, 223, 0.4);
  --cut: 0.4917;            /* sklon rezu: 26° od zvislice */
  --pad: clamp(20px, 4vw, 48px);
  --gap-sec: clamp(64px, 9vw, 128px);
  --display: 'Bricolage Grotesque', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Funnel Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --italic: 'Fanwood Text', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.55;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--cream); }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -9999px; top: 0; padding: 12px 16px; background: var(--ink); color: var(--cream); z-index: 10; }
.skip:focus { left: 0; }

h1, h2, h3, .display { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; }
h1 { font-size: clamp(44px, 7.4vw, 104px); line-height: 0.95; }
h2 { font-size: clamp(36px, 5vw, 68px); line-height: 0.98; }
h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.05; letter-spacing: -0.02em; }
.lead { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; max-width: 34em; }
.muted { color: var(--muted); }
.bracket { font-family: var(--italic); font-style: italic; letter-spacing: 0.04em; font-size: 1.15em; }

/* Tlačidlá: ostré rohy, výška 48 px, mení sa len farba */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 26px;
  border: 1.5px solid var(--bordo); background: var(--bordo); color: var(--cream);
  font: 600 17px/1.2 var(--text); text-decoration: none; cursor: pointer;
  transition: background-color 120ms, color 120ms, border-color 120ms;
}
.btn:hover { background: var(--bordo-deep); border-color: var(--bordo-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.on-dark .btn { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.on-dark .btn:hover { background: var(--paper); border-color: var(--paper); }
.on-dark .btn--ghost { background: transparent; color: var(--cream); border-color: var(--cream); }
.on-dark .btn--ghost:hover { background: var(--cream); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Pracovná verzia: zobrazí sa, kým v konfigurácii chýbajú údaje */

/* Hlavička */
/* Hlavička ostáva hore aj pri scrollovaní */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--cream); border-bottom: 1px solid var(--line); }
html { scroll-padding-top: 100px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 14px; color: var(--bordo); text-decoration: none; }
.logo svg { width: 58px; height: 44px; flex: none; }
.logo-rule { width: 1px; height: 40px; background: currentColor; opacity: 0.45; }
.logo-word { font: 600 12px/1 var(--text); letter-spacing: 0.36em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 17px; padding: 12px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-bottom-color: var(--bordo); }
.menu-btn { display: none; min-height: 48px; padding: 8px 18px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: 600 17px/1 var(--text); cursor: pointer; }

/* Úvod: jediné miesto so zrnitým gradientom */
.hero { position: relative; overflow: hidden; color: var(--cream);
  background: radial-gradient(70% 90% at 108% 88%, #D08A6E 0%, rgba(196,103,79,0.55) 30%, rgba(110,13,29,0) 70%), linear-gradient(98deg, #1F0407 0%, #2A050A 46%, #5E0E18 72%, #93301F 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: 0.6; mix-blend-mode: soft-light; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; padding-block: clamp(48px, 7vw, 96px); }
.hero-text { display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.hero-text .bracket { font-size: 24px; }
/* Paspartú: krémový okraj ako pri vytlačenej fotke v rámiku a tieň pod ňou */
.hero-photo { align-self: center; aspect-ratio: 3 / 2; background: var(--paper); padding: clamp(8px, 1.1vw, 16px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.65); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
/* Na počítači je fotka v pomere 3 : 2 a na širokých oknách siaha za okraj obsahu,
   ale vždy ostane odsadená od okraja okna (rovnako ako obsah stránky) */
@media (min-width: 1001px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
  .hero-photo { margin-right: calc(-1 * min(240px, max(0px, (100vw - 1280px) / 2))); }
}
/* Striedanie fotiek: všetky ležia na sebe, viditeľná je tá s triedou is-on. Bez JavaScriptu ostane prvá. */
.hero-slides { position: relative; height: 100%; }
.hero-slides img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-slides img.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-slides img { transition: none; } }
.hero--page .wrap { grid-template-columns: minmax(0, 1fr); padding-block: clamp(48px, 6vw, 88px); }
.hero--page h1 { font-size: clamp(40px, 6vw, 84px); max-width: 16em; }

/* Sekcie */
.sec { padding-block: var(--gap-sec); }
.sec--paper { background: var(--paper); }
.sec--bordo { background: var(--bordo); color: var(--cream); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(32px, 4.5vw, 60px); }
.sec-head .lead { justify-self: end; }

/* Tri sľuby: text medzi linkami, bez kariet a ikon */
.triplet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.triplet > li { padding-top: 22px; border-top: 2px solid currentColor; display: flex; flex-direction: column; gap: 10px; }
.triplet h3 { color: var(--bordo); }

/* Zoznam služieb: riadky s linkou */
.rows > li { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: clamp(16px, 4vw, 64px); padding-block: 28px; border-top: 1px solid var(--line); align-items: baseline; }
.rows > li:first-child { border-top: 2px solid var(--ink); }
.rows > li:last-child { border-bottom: 1px solid var(--line); }
.rows p { max-width: 36em; }

/* Ukážky */
.work-set + .work-set { margin-top: clamp(40px, 6vw, 80px); }
.work-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.work-grid a { display: block; overflow: hidden; background: var(--bordo-deep); }
.work-grid a:first-child { grid-row: 1 / 3; }
.work-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.work-grid--quad { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
.work-grid--quad a:first-child { grid-row: auto; }
.work-cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-top: 14px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery a { display: block; background: var(--paper); }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Úvod: služby a ceny v jednej karte */
.offer { --op: clamp(20px, 3vw, 40px); background: var(--cream); border: 1.5px solid var(--ink); }
/* Všetky riadky rovnako vysoké, obsah zvislo na strede, stĺpce v každom riadku na rovnakom mieste */
.offer-item { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr) clamp(130px, 13vw, 190px); gap: 8px clamp(20px, 3vw, 48px); align-items: center; min-height: clamp(136px, 10vw, 144px); padding: 20px var(--op); border-top: 1px solid var(--line); }
.offer-item:first-child { border-top: 0; }
.offer-item h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.05; }
.offer-item p { max-width: 34em; }
.offer-note { display: block; margin-top: 4px; font-weight: 600; color: var(--bordo); }
.offer-price { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.2vw, 46px); letter-spacing: -0.03em; line-height: 1; white-space: nowrap; text-align: right; }
/* Odporúčaný balík: bordový pás cez celú šírku karty, svetlé písmo */
.offer-item.is-main { background: var(--bordo); color: var(--cream); border-top: 0; }
.offer-item.is-main + .offer-item { border-top: 0; }
.offer-item.is-main .offer-note { color: var(--paper); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.offer-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 32px; margin-inline: var(--op); padding-block: 24px var(--op); border-top: 2px solid var(--ink); }
@media (max-width: 760px) {
  .offer-item { grid-template-columns: minmax(0, 1fr) auto; min-height: 0; align-items: baseline; }
  .offer-item p { grid-column: 1 / -1; grid-row: 2; }
  .offer-foot .btn-row { width: 100%; }
  .offer-foot .btn { flex: 1 1 auto; }
}

/* Cenník: tabuľka, nie tri rovnaké karty */
.price { width: 100%; border-collapse: collapse; }
.price th, .price td { text-align: left; vertical-align: baseline; padding: 24px 16px 24px 0; border-top: 1px solid var(--line); }
.price thead th { font-weight: 600; font-size: 16px; color: var(--muted); padding-block: 12px; border-top: 2px solid var(--ink); }
.price tbody tr:last-child td, .price tbody tr:last-child th { border-bottom: 1px solid var(--line); }
.price .p-name { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.02em; line-height: 1.05; white-space: nowrap; }
.price .p-price { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 3.6vw, 52px); letter-spacing: -0.03em; line-height: 1; text-align: right; white-space: nowrap; padding-right: 0; }
.price thead th:last-child { text-align: right; padding-right: 0; }
.price .is-main .p-name, .price .is-main .p-price { color: var(--bordo); }
.price .p-note { display: block; font-size: 16px; color: var(--muted); }
.addons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 5vw, 80px); margin-top: 18px; }
.addons li { display: flex; justify-content: space-between; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.addons b { font-weight: 600; white-space: nowrap; }
.addons small { display: block; margin-top: 3px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.sub { margin-top: clamp(40px, 5vw, 64px); }
.sub > h3 { margin-bottom: 6px; }

/* Postup: skutočná postupnosť, preto čísla */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.steps li { counter-increment: step; padding-top: 18px; border-top: 2px solid var(--ink); display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: counter(step) "."; font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -0.03em; color: var(--bordo); }
.steps b { font-weight: 600; font-size: 20px; line-height: 1.25; }

/* Otázky */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 44px 22px 0; font-weight: 600; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.3; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 30px/1 var(--text); color: var(--bordo); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 24px; max-width: 44em; }

/* Formulár */
.contact { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
.form label { display: flex; flex-direction: column; gap: 7px; font-weight: 600; font-size: 16px; }
.form input, .form select, .form textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 0;
  background: var(--paper); color: var(--ink); font: 400 17px/1.4 var(--text);
}
.form textarea { min-height: 132px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form-error { background: var(--cream); color: var(--ink); padding: 14px 18px; font-weight: 600; }
.form-error a { color: var(--bordo); white-space: nowrap; }
.form small { font-size: 15px; color: var(--muted); line-height: 1.45; }
.info { display: flex; flex-direction: column; }
.info > div { padding-block: 18px; border-top: 1px solid var(--line); }
.info > div:first-child { border-top: 2px solid var(--ink); }
.info dt, .info .k { font-weight: 600; font-size: 16px; color: var(--muted); }
.info .v { font-size: clamp(17px, 5.6vw, 22px); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.info a.v:hover { color: var(--bordo); }

/* Záverečná výzva */
.cta { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px 48px; align-items: end; }

/* Text právnych stránok */
.prose { max-width: 46em; }
.prose h2 { font-size: clamp(26px, 2.8vw, 36px); margin: 44px 0 12px; letter-spacing: -0.02em; }
.prose p, .prose ul { margin-bottom: 14px; }
.prose ul { padding-left: 22px; list-style: disc; }
.prose a { color: var(--bordo); }
.notice { border: 1.5px solid var(--bordo); padding: 16px 20px; margin-bottom: 28px; }

/* Pätička: čierna ako doplnok */
.site-footer { background: var(--ink); color: var(--cream); padding-block: clamp(48px, 6vw, 80px) 28px; }
.site-footer .logo { color: var(--cream); }
.foot { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.foot h3 { font: 600 16px/1.3 var(--text); letter-spacing: 0; color: #B9B2AA; margin-bottom: 12px; }
.foot li { margin-bottom: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot p { color: #B9B2AA; font-size: 16px; margin-top: 18px; max-width: 24em; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; margin-top: clamp(36px, 5vw, 60px); padding-top: 20px; border-top: 1px solid var(--line-light); font-size: 15px; color: #B9B2AA; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-legal a, .foot-legal button { color: inherit; text-decoration: none; }
.foot-legal a:hover, .foot-legal button:hover, .foot-credit a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-credit a { color: var(--cream); text-decoration: none; font-weight: 600; }
.foot-bottom button { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
@media (max-width: 600px) {
  .site-footer { padding-bottom: 96px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 0; padding-top: 8px; font-size: 14px; }
  .foot-legal { order: -1; width: 100%; flex-direction: column; gap: 0; margin-bottom: 18px; font-size: 16px; color: var(--cream); }
  .foot-legal a, .foot-legal button { display: block; width: 100%; text-align: left; padding-block: 14px; border-bottom: 1px solid var(--line-light); }
  .foot-copy { margin-bottom: 4px; }
}

/* Súhlas s cookies: zobrazí sa len vtedy, keď je v konfigurácii zapnuté meranie */
/* Malý box v ľavom dolnom rohu (vpravo je WhatsApp). Obe hlavné voľby sú rovnako veľké a na prvý pohľad. */
.consent { position: fixed; left: 20px; bottom: 20px; z-index: 20; width: min(380px, calc(100vw - 40px)); background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); padding: 20px 20px 14px; display: none; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.5; box-shadow: 0 18px 40px -18px rgba(18, 16, 17, 0.45); }
.consent.is-open { display: flex; }
.consent b { font-size: 18px; }
.consent p a { color: var(--bordo); }
.consent-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-btns .btn { width: 100%; padding-inline: 10px; }
.consent-link { align-self: flex-start; background: none; border: 0; padding: 4px 0; color: var(--ink); font: inherit; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.consent.show-opts .consent-link { display: none; }
.consent label { display: flex; align-items: center; gap: 10px; }
.consent-opts { display: none; flex-direction: column; gap: 8px; }
.consent.show-opts .consent-opts { display: flex; }

@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  /* Na mobile: nadpis, pod ním fotky, potom text a tlačidlá */
  .hero-text { display: contents; }
  .hero-text h1 { order: 1; }
  .hero-photo { order: 2; }
  .hero-text .lead { order: 3; }
  .hero-text .btn-row { order: 4; }
  .sec-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .sec-head .lead { justify-self: start; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 5; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 24px; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 18px; }
  .triplet { grid-template-columns: minmax(0, 1fr); }
  .rows > li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .addons { grid-template-columns: minmax(0, 1fr); }
  .price, .price tbody, .price tr, .price td, .price th { display: block; }
  .price thead { display: none; }
  .price tbody tr { padding-block: 22px; border-top: 1px solid var(--line); }
  .price tbody tr:first-child { border-top: 2px solid var(--ink); }
  .price th, .price td { padding: 0; border: 0 !important; }
  .price td { margin-top: 8px; }
  .price .p-price { text-align: left; margin-top: 14px; }
  .price .p-name { white-space: normal; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .logo-word, .logo-rule { display: none; }
  .work-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .work-grid a:first-child { grid-row: auto; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: minmax(0, 1fr); }
  .btn-row .btn { flex: 1 1 100%; }
}
@media print {
  .site-header, .site-footer, .consent, .btn-row { display: none; }
}

/* Doplnky k stránkam */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.page-head { background: var(--bordo); color: var(--cream); padding-block: clamp(48px, 7vw, 104px); }
.page-head h1 { font-size: clamp(40px, 6vw, 84px); max-width: 14em; }
.page-head .lead { margin-top: 22px; }
.sec-head--single { grid-template-columns: minmax(0, 1fr); }
.sec-head--stack { grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.sec-head--stack .lead { justify-self: start; max-width: none; }
.text-link { font-weight: 600; text-underline-offset: 5px; }
.note { margin-top: 28px; max-width: 44em; font-size: 17px; }
.cta h2 + .lead { margin-top: 18px; }
.on-dark .muted, .on-dark .form small, .on-dark .info .k { color: #DDD3CA; }
.on-dark .form small a { color: var(--cream); }
.on-dark .info > div { border-top-color: var(--line-light); }
.on-dark .info > div:first-child { border-top-color: var(--cream); }
.on-dark .info a.v:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 5px; }
.on-dark .form input, .on-dark .form select, .on-dark .form textarea { border-color: var(--paper); }
h1.display-2 { font-size: clamp(36px, 5vw, 68px); line-height: 0.98; }
.embed { aspect-ratio: 16 / 9; background: var(--ink); display: grid; place-items: center; }
.embed iframe { width: 100%; height: 100%; border: 0; }
.embed .btn { background: var(--cream); color: var(--ink); border-color: var(--cream); }
code { font-family: ui-monospace, Menlo, monospace; font-size: 0.9em; }


/* Petrolejová: jediná sekcia v tejto farbe */
.sec--petrol { background: var(--petrol); color: var(--cream); }
.agency { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(24px, 5vw, 80px); align-items: start; }
.agency .lead { margin-bottom: 26px; }
.on-dark a:not(.btn) { color: inherit; }

/* Podmienky */
/* Na počítači dva stĺpce, vždy otvorené. Na mobile sa každá podmienka rozbalí kliknutím. */
.term { border-bottom: 1px solid var(--line); padding-block: 14px; }
.term::after { content: ""; display: block; clear: both; }
.term summary { float: left; width: 30%; padding-right: 24px; font-weight: 600; list-style: none; cursor: default; }
.term summary::-webkit-details-marker { display: none; }
.term p { margin: 0 0 0 30%; }
@media (max-width: 860px) {
  .term { padding-block: 0; }
  .term summary { float: none; width: auto; cursor: pointer; padding: 16px 40px 16px 0; position: relative; }
  .term summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 26px/1 var(--text); color: var(--bordo); }
  .term[open] summary::after { content: "−"; }
  .term p { margin: 0; padding: 0 0 18px; }
}

/* Recenzie */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 5vw, 80px); }
.quotes figure { padding-block: 26px; border-top: 2px solid var(--ink); }
.quotes blockquote { margin: 0 0 16px; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.45; }
.quotes figcaption { font-size: 16px; color: var(--muted); }
.quotes figcaption b { color: var(--ink); }

/* Formulár: zaškrtávacie políčka doplnkov */
.form fieldset.checks { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.form fieldset.checks legend { font-weight: 600; font-size: 16px; margin-bottom: 10px; padding: 0; }
.form .checks label { flex-direction: row; align-items: center; gap: 10px; font-weight: 400; font-size: 17px; }
.form .checks input { width: 20px; height: 20px; min-height: 0; margin: 0; accent-color: var(--bordo); }
.on-dark .form .checks input { accent-color: var(--cream); }
.form input[type="date"] { appearance: none; -webkit-appearance: none; }

/* Návod na prípravu */
h2.h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.05; letter-spacing: -0.02em; }
.plain { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.plain li::marker { color: var(--bordo); }

/* Zväčšená fotka */
.lightbox { border: 0; padding: 0; max-width: none; max-height: none; width: 100%; height: 100%; background: rgba(18, 16, 17, 0.96); color: var(--cream); }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop { background: rgba(18, 16, 17, 0.96); }
.lightbox img { flex: 1; min-height: 0; width: 100%; object-fit: contain; padding: clamp(12px, 3vw, 40px) clamp(12px, 3vw, 40px) 0; }
.lb-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; padding: 16px; }
.lightbox .btn--ghost { color: var(--cream); border-color: var(--cream); background: transparent; }
.lightbox .btn--ghost:hover { background: var(--cream); color: var(--ink); }
.lightbox .btn { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.lb-count { min-width: 64px; text-align: center; font-size: 16px; }

@media (max-width: 860px) {
  .agency { grid-template-columns: minmax(0, 1fr); }
  .quotes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .lb-bar .btn { flex: 1 1 40%; padding-inline: 12px; }
  .lb-count { order: -1; flex-basis: 100%; }
}

h1, h2, h3 { text-wrap: balance; }
.lead, .faq p, .rows p { text-wrap: pretty; }

/* Spolupráca: kancelárie a developeri vedľa seba */
.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 5vw, 80px); }
.partners > div { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 22px; border-top: 2px solid var(--cream); }
.partners p { max-width: 34em; flex: 1; }

/* WhatsApp: jediná zelená na webe, aby ju záujemca hneď našiel */
.btn--wa, .on-dark .btn--wa {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 24px;
  background: #25D366; color: var(--ink); border: 1.5px solid var(--ink);
  font: 600 17px/1.2 var(--text); text-decoration: none; transition: background-color 120ms;
}
.btn--wa:hover, .on-dark .btn--wa:hover { background: #1EBE5A; border-color: var(--ink); color: var(--ink); }
.info-wa { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.wa-float {
  /* Obyčajný štvorec s ostrými rohmi */
  --s: 64px;
  position: fixed; right: 20px; bottom: 20px; z-index: 15; width: var(--s); height: var(--s);
  display: grid; place-items: center; background: #25D366; color: #fff; text-decoration: none;
  transition: background-color 120ms;
}
.wa-float:hover { background: #1EBE5A; }
.wa-float:focus-visible { outline: 3px solid var(--ink); outline-offset: -7px; }
.consent { z-index: 25; }
@media (max-width: 860px) {
  .partners { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .wa-float { --s: 56px; right: 16px; bottom: 16px; }
  .wa-float svg { width: 28px; height: 28px; }
  body { padding-bottom: 72px; }
  .consent { left: 16px; bottom: 88px; width: calc(100vw - 32px); }
}
@media print { .wa-float { display: none; } }

/* Objednávka: úvod a kontakty na bordovej, formulár na svetlej karte */
.order { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.order-intro .lead { margin-top: 20px; }
.order-alt { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: clamp(28px, 4vw, 48px); padding-top: 22px; border-top: 1px solid var(--line-light); }
.order-alt .k { font-weight: 600; color: #DDD3CA; }
.order-alt .v { color: var(--cream); font-size: clamp(18px, 5vw, 21px); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.order-alt a.v:hover { text-decoration: underline; text-underline-offset: 5px; }
.on-dark .form--card { background: var(--paper); color: var(--ink); padding: clamp(22px, 3.2vw, 44px); gap: 20px 18px; }
.on-dark .form--card input, .on-dark .form--card select, .on-dark .form--card textarea { background: #FFFCF8; border-color: rgba(18, 16, 17, 0.32); font-size: 18px; min-height: 56px; }
.on-dark .form--card textarea { min-height: 104px; }
.form--card input:focus, .form--card select:focus, .form--card textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(110, 13, 29, 0.25); }
.form--card input::placeholder, .form--card textarea::placeholder { color: #9A928B; }
.on-dark .form--card small { color: var(--muted); }
.on-dark .form--card small a { color: var(--bordo); }
.on-dark .form--card .btn { background: var(--bordo); color: var(--cream); border-color: var(--bordo); min-height: 58px; font-size: 18px; }
.on-dark .form--card .btn:hover { background: var(--bordo-deep); border-color: var(--bordo-deep); }
.on-dark .form--card .checks input { accent-color: var(--bordo); min-height: 0; width: 20px; height: 20px; padding: 0; }
.form--card .checks { gap: 12px 26px; }
.form .checks input { flex: none; }
.form--card .form-error { border: 1.5px solid var(--bordo); }
.choices { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choices legend { font-weight: 600; font-size: 16px; margin-bottom: 8px; padding: 0; }
.choice { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 56px; padding: 12px 16px; background: #FFFCF8; border: 1.5px solid rgba(18, 16, 17, 0.32); font-weight: 600; font-size: 16px; cursor: pointer; }
.form .choice { flex-direction: row; gap: 10px; }
.choice[hidden] { display: none; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice-price { font-weight: 400; white-space: nowrap; }
.choice:hover { border-color: var(--ink); }
.choice:has(input:checked) { background: var(--bordo); border-color: var(--bordo); color: var(--cream); }
.choice:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.more-grid .full { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .order { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .choices, .more-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Podrobnosti vo formulári: vždy viditeľné, označené ako nepovinné */
.more { padding-top: 22px; border-top: 1px solid var(--line); }
.more-title { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.more-title span { margin-left: 8px; font-family: var(--text); font-weight: 400; font-size: 15px; letter-spacing: 0; color: var(--muted); }
.more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 14px; }
.choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choices--3 .choice { justify-content: center; text-align: center; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-label { font-weight: 600; font-size: 16px; }
.form--card input[type="number"] { -moz-appearance: textfield; }
.form--card input[type="number"]::-webkit-inner-spin-button, .form--card input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* Vlastný výber dátumu v štýle webu (bez JavaScriptu ostane obyčajné políčko s dátumom) */
.cal-field { position: relative; }
.cal-toggle { width: 100%; min-height: 56px; padding: 12px 44px 12px 14px; background: #FFFCF8; border: 1.5px solid rgba(18, 16, 17, 0.32); color: var(--ink); font: 400 18px/1.4 var(--text); text-align: left; cursor: pointer; position: relative; }
.cal-toggle.is-empty { color: #9A928B; }
.cal-toggle::after { content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--bordo); border-bottom: 2px solid var(--bordo); transform: translateY(-70%) rotate(45deg); }
.cal-toggle[aria-expanded="true"] { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(110, 13, 29, 0.25); }
.cal { position: absolute; z-index: 6; top: calc(100% + 6px); left: 0; width: min(340px, 100%); min-width: 290px; background: var(--paper); border: 1.5px solid var(--ink); padding: 14px; box-shadow: 0 18px 40px -18px rgba(18, 16, 17, 0.45); }
.cal[hidden] { display: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.cal-head b { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.cal-nav { width: 40px; height: 40px; background: none; border: 1.5px solid var(--line); color: var(--ink); font: 400 22px/1 var(--text); cursor: pointer; }
.cal-nav:hover:not(:disabled) { border-color: var(--ink); }
.cal-nav:disabled { opacity: 0.3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.cal-wd { text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); padding-block: 4px; }
.cal-day { aspect-ratio: 1; background: none; border: 1.5px solid transparent; color: var(--ink); font: 600 15px/1 var(--text); cursor: pointer; }
.cal-day:hover:not(:disabled) { border-color: var(--ink); }
.cal-day.is-today { text-decoration: underline; text-underline-offset: 4px; }
.cal-day.is-on { background: var(--bordo); color: var(--cream); }
.cal-day:disabled { color: #B8B0A8; font-weight: 400; cursor: default; }
.cal-clear { margin-top: 10px; background: none; border: 0; padding: 4px 0; color: var(--bordo); font: 600 15px/1.4 var(--text); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
@media (max-width: 560px) {
  .choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cal { width: 100%; min-width: 0; padding: 12px; }
  .more-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Stránka Služby */
.svc { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: 16px clamp(24px, 5vw, 80px); padding-block: clamp(32px, 4vw, 52px); border-top: 1px solid var(--line); }
.svc:first-child { border-top: 2px solid var(--ink); }
.svc h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.02; }
.svc-pkg { margin-top: 12px; font-weight: 600; color: var(--bordo); }
.svc-body > p { max-width: 38em; }
.svc-body h3 { margin-top: 22px; font-size: 19px; }
.svc-body .plain { margin-top: 8px; }
.addons--wide { margin-top: 0; }
.svc-cta { margin-top: clamp(28px, 4vw, 44px); }
@media (max-width: 860px) {
  .svc { grid-template-columns: minmax(0, 1fr); }
}

/* Tabuľky cookies */
.table-wrap { overflow-x: auto; margin-block: 14px 8px; }
.ck { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; }
.ck th, .ck td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-top: 1px solid var(--line); }
.ck thead th { font-weight: 600; color: var(--muted); border-top: 2px solid var(--ink); }
.ck td:first-child { white-space: nowrap; }

/* Podklady pre klientov (/d/…) */
.head-link { font-weight: 600; text-decoration: none; }
.head-link:hover { color: var(--bordo); }
.dl-meta { font-weight: 600; color: #DDD3CA; margin-bottom: 14px; }
.dl-head .lead { margin-top: 14px; }
.dl-has { margin-top: 8px; color: #DDD3CA; }
.dl-head .btn-row { margin-top: 28px; }
.dl-cover figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper); }
.dl-cover figcaption { margin-top: 12px; color: var(--muted); font-size: 16px; }
.dl-group + .dl-group { margin-top: clamp(40px, 5vw, 64px); }
.dl-group-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 2px solid var(--ink); }
.dl-group-head h3 { font-size: clamp(24px, 2.4vw, 32px); }
.dl-group-head h3 span { margin-left: 6px; font-family: var(--text); font-weight: 400; font-size: 18px; color: var(--muted); letter-spacing: 0; }
.dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dl-tile { position: relative; }
.dl-tile > a:first-child { display: block; background: var(--cream); }
.dl-tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.dl-get { position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 40px; height: 40px; background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); }
.dl-get:hover { background: var(--bordo); color: var(--cream); border-color: var(--bordo); }
.embed--poster { position: relative; overflow: hidden; }
.embed--poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.embed--poster .btn { position: relative; }
.embed iframe { position: absolute; inset: 0; z-index: 2; }
.dl-link { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-top: 16px; }
.copy { flex: 1 1 280px; display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.copy input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid rgba(18, 16, 17, 0.32); background: #FFFCF8; font: 400 15px/1.4 ui-monospace, Menlo, monospace; color: var(--ink); }
.dl-plan { display: block; background: #F4EFE8; border: 1.5px solid var(--ink); }
.dl-plan img { width: 100%; height: auto; }
.dl-plan-btns { margin-top: 18px; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dl-end-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.dl-end h2 { font-size: clamp(30px, 3.4vw, 46px); }
.dl-end .lead { margin-top: 12px; }
.upsell { margin-top: 22px; border-top: 1px solid var(--line-light); }
.upsell a { display: flex; justify-content: space-between; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line-light); color: var(--cream); text-decoration: none; }
.upsell a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.upsell small { display: block; margin-top: 3px; font-size: 15px; color: #DDD3CA; }
.upsell b { font-weight: 600; white-space: nowrap; }
.dl-legal { padding-block: 20px; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) {
  .dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .steps--3, .dl-end-grid { grid-template-columns: minmax(0, 1fr); }
  .dl-get { width: 34px; height: 34px; right: 6px; bottom: 6px; }
}

/* Landing page pre reklamy (/predaj/, /makleri/): bez menu, tlačidlo na formulár je vždy po ruke */
.lp-head { display: flex; align-items: center; gap: 22px; }
.lp-tel { font-weight: 600; font-size: 17px; text-decoration: none; white-space: nowrap; }
.lp-tel:hover { text-decoration: underline; text-underline-offset: 4px; }
.lp-hero h1 { font-size: clamp(40px, 5.2vw, 76px); }
.lp-facts { display: flex; flex-wrap: wrap; row-gap: 8px; font-size: 16px; font-weight: 600; color: #EADFD6; }
.lp-facts li + li::before { content: ""; display: inline-block; width: 1px; height: 0.95em; margin: 0 16px; background: currentColor; opacity: 0.5; vertical-align: -0.1em; }
.form .opt { font-weight: 400; font-size: 14px; color: var(--muted); }
.site-footer--slim { padding-top: 0; }
.site-footer--slim .foot-bottom { margin-top: 0; border-top: 0; padding-top: 28px; }
.lp-bar { display: none; }
@media (max-width: 1000px) {
  .lp-hero .lp-facts { order: 5; }
}
@media (max-width: 760px) {
  .lp-head .btn, .lp-tel, .wa-float--lp { display: none; }
  .lp-bar { display: grid; grid-template-columns: minmax(0, 1fr) 56px; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: var(--cream); border-top: 1px solid var(--line); }
  .lp-bar.is-off { visibility: hidden; }
  .lp-bar .btn { min-height: 56px; }
  .lp-bar-wa { display: flex; align-items: center; justify-content: center; background: #25D366; color: var(--ink); border: 1.5px solid var(--ink); }
  .lp-bar-wa svg { width: 28px; height: 28px; }
  .site-footer--slim { padding-bottom: 100px; }
  .lp-facts { flex-direction: column; row-gap: 2px; font-size: 15px; }
  .lp-facts li + li::before { display: none; }
}
