/* =========================================================
   REALIZUJEME.SK – podstránky (page_header, detail služby, služby, galéria, FAQ, texty, CTA)
   Používa tokeny z style.css (:root, SPEC §2). Žiadny farebný akcent – monochróm antracit / betón / biela.
   ========================================================= */

/* ---------- spoločné ---------- */
.psec { position: relative; padding: 96px 0; background: var(--c-bg, #fff); }
.psec--soft { background: var(--c-bg-soft, #f6f6f6); }
.psec--flush { padding: 0; }
.pnarrow { max-width: 860px; }
.pnarrow.container { margin-left: auto; margin-right: auto; }

.ph2 {
  font-family: var(--font-head); font-weight: 800; color: var(--c-ink, #1f2021);
  font-size: clamp(28px, 2.6vw, 38px); line-height: 1.15; letter-spacing: -.01em; margin: 0;
  text-wrap: balance;
}
.ph2--light { color: #fff; }

/* nadtitulok s čiarou (— TEXT) / čiara za textom (TEXT ——) */
.peyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 12px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--c-ink, #1f2021);
}
.peyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; flex: none; }
.peyebrow--after::before { display: none; }
.peyebrow--after::after { content: ""; width: 100px; height: 2px; background: currentColor; flex: none; margin-left: 10px; }
.peyebrow--light { color: #fff; }

/* hlavička sekcie: nadpis vľavo, text / tlačidlo vpravo (ako „Čo pre vás realizujem?“) */
.phead2 { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 40px; flex-wrap: wrap; }
.phead2 > div { min-width: 0; }
.phead2__intro { max-width: 520px; color: var(--c-text, #3b3c3e); font-size: 17px; line-height: 1.55; margin: 0; }

/* tlačidlá: komponent .btn zo style.css; .pbtn = len úpravy pre podstránky */
.pbtn { white-space: nowrap; }

.pcheck { width: 24px; height: 24px; flex: none; color: var(--c-ink, #1f2021); }

.ptag {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 6px;
  background: var(--c-ink, #1f2021); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}

/* betónová textúra (fallback bez fotky): gradient + škvrny + jemný šum */
.phead__bg, .ctab__bg, .pconcrete {
  position: absolute; inset: 0; background-color: var(--c-dark, #2a2b2d);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 60% 70% at 78% 30%, rgba(255, 255, 255, .10), transparent 70%),
    radial-gradient(ellipse 40% 50% at 18% 80%, rgba(0, 0, 0, .28), transparent 70%),
    radial-gradient(ellipse 30% 40% at 55% 85%, rgba(255, 255, 255, .05), transparent 70%),
    radial-gradient(circle at 92% 88%, rgba(0, 0, 0, .25), transparent 40%),
    linear-gradient(120deg, #262729 0%, #3a3a3a 55%, #2d2e30 100%);
  background-size: 220px 220px, auto, auto, auto, auto, auto;
}
.phead--img .phead__bg { background-size: cover; background-position: center; }

/* ---------- hlavička podstránky ---------- */
/* header webu je nad tmavou hlavičkou podstránky priesvitný (ako na úvode); po skrolovaní tmavý (.is-scrolled z main.js) */
.is-sub:has(#main > .phead:first-child) .site-header { position: fixed; left: 0; right: 0; height: var(--header-h); background: transparent; box-shadow: none; }
.is-sub:has(#main > .phead:first-child) .site-header.is-scrolled { height: var(--header-h-scrolled); background: rgba(31, 32, 33, .94); box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
@supports (backdrop-filter: blur(8px)) {
  .is-sub:has(#main > .phead:first-child) .site-header.is-scrolled { background: rgba(31, 32, 33, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
}
.phead {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  padding: calc(var(--header-h, 96px) + 56px) 0 118px; min-height: 420px; display: flex; align-items: flex-end;
}
.phead--lg { min-height: 560px; padding-bottom: 140px; }
.phead__shade { position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(20, 21, 22, .72) 0%, rgba(20, 21, 22, .35) 55%, rgba(20, 21, 22, .05) 100%); }
.phead:not(.phead--img) .phead__shade { background: linear-gradient(180deg, rgba(0, 0, 0, .25), transparent 35%); }
.phead__bg { z-index: -1; }
.phead__inner { position: relative; z-index: 1; width: 100%; }
.phead__title {
  color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: clamp(36px, 4.3vw, 60px); line-height: 1.06;
  letter-spacing: -.015em; margin: 0; max-width: 900px; text-wrap: balance;
}
.phead__sub { margin: 18px 0 0; max-width: 640px; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; color: rgba(255, 255, 255, .9); }
.phead__btns { display: flex; flex-wrap: wrap; gap: 16px 22px; margin-top: 32px; }
.phead .peyebrow { margin-bottom: 16px; }
.pbrush { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; z-index: 2; pointer-events: none; display: block; }

/* homepage bloky (contact, why, services…) vložené hneď pod hlavičku podstránky dostanú odstup */
.phead + .sec { padding-top: 64px; }
.phead + .sec.contact { padding-bottom: 72px; }
@media (max-width: 640px) { .phead + .sec { padding-top: 40px; } .phead + .sec.contact { padding-bottom: 48px; } }

/* omrvinky */
.pcrumbs { margin-bottom: 26px; font-size: 14px; }
.pcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.pcrumbs li { display: inline-flex; align-items: center; color: rgba(255, 255, 255, .7); }
.pcrumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); margin: 0 12px 0 8px; opacity: .7; }
.pcrumbs a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.pcrumbs a:hover { color: #fff; text-decoration: underline; }
.pcrumbs [aria-current] { color: #fff; font-weight: 600; }
.pcrumbs--dark li, .pcrumbs--dark a { color: var(--c-muted, #6d6e70); }
.pcrumbs--dark a:hover, .pcrumbs--dark [aria-current] { color: var(--c-ink, #1f2021); }

/* ---------- karta služby (ako na úvode) ---------- */
.pcards { display: grid; gap: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pcards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcard {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg, 14px); color: #fff; text-decoration: none;
  aspect-ratio: 600 / 440; background: var(--c-concrete, #5c5a58); box-shadow: var(--shadow);
}
.pcard__media, .pcard__media > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.pcard__media img { object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.pcard__media .ph { aspect-ratio: auto !important; }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(20, 21, 22, .82) 100%); }
.pcard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 64px 22px 24px; display: flex; flex-direction: column; }
.pcard__icon .icon { width: 40px; height: 40px; margin-bottom: 12px; stroke-width: 1.4; }
.pcard__title { font-family: var(--font-head); font-weight: 700; font-size: 22px; line-height: 1.2; }
.pcard__sub { font-size: 15px; opacity: .9; margin-top: 2px; }
.pcard__arrow { position: absolute; right: 22px; bottom: 22px; transition: transform .25s; }
.pcard__arrow .icon { width: 26px; height: 26px; }
.pcard:hover .pcard__arrow { transform: translateX(4px); }

/* ---------- detail služby: popis + výhody ---------- */
.sd-about__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.sd-about__grid--solo { grid-template-columns: 1fr; }
.sd-about__grid--solo .sd-about__media { display: none; }
.sd-about__text .ph2 { margin-bottom: 22px; }
.sd-about__media { position: relative; }
.sd-about__media > img, .sd-about__media > .ph { width: 100%; border-radius: var(--radius-lg, 14px); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 800 / 600; }
.sd-about__media::after {   /* jemný „ťah“ za fotkou */
  content: ""; position: absolute; z-index: -1; right: -18px; bottom: -18px; width: 55%; height: 55%;
  border-radius: var(--radius-lg, 14px); background: var(--c-bg-soft, #f6f6f6);
}
.sd-benefits { margin-top: 72px; padding: 40px 44px; border-radius: var(--radius-lg, 14px); background: #fafafa; box-shadow: 0 2px 14px rgba(0, 0, 0, .05); border: 1px solid #efefef; }
.sd-benefits__title { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--c-ink, #1f2021); margin: 0 0 26px; }
.sd-benefits__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 36px; margin: 0; padding: 0; list-style: none; }
.sd-benefit { display: flex; gap: 14px; align-items: flex-start; }
.sd-benefit .pcheck { width: 30px; height: 30px; margin-top: -2px; }
.sd-benefit strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--c-ink, #1f2021); line-height: 1.3; }
.sd-benefit span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--c-muted, #6d6e70); }

/* ---------- postup práce ---------- */
.steps { --n: 4; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: s; position: relative; }
.step { position: relative; padding-top: 0; }
.step__num {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%; background: var(--c-ink, #1f2021); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 21px; letter-spacing: .02em; margin-bottom: 22px;
  box-shadow: 0 0 0 8px var(--c-bg-soft, #f6f6f6);
}
.step:not(:last-child)::after {   /* spojovacia čiara */
  content: ""; position: absolute; top: 32px; left: 80px; right: -20px; height: 0; border-top: 2px dashed #bdbdbd;
}
.step__title { font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--c-ink, #1f2021); margin: 0 0 8px; }
.step__text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--c-text, #3b3c3e); }

/* ---------- karty albumov ---------- */
.agrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.acard { position: relative; }
.acard[hidden] { display: none; }
.acard.is-in { animation: pg-rise .45s cubic-bezier(.2, .7, .2, 1) both; }
.acard__link { position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg, 14px); color: #fff; text-decoration: none; background: #cfcfcf; box-shadow: var(--shadow); aspect-ratio: 800 / 600; }
.acard__media, .acard__media > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.acard__media img { object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.acard__media .ph { aspect-ratio: auto !important; }
.acard--ph .acard__media { position: relative; display: block; border-radius: var(--radius-lg, 14px); overflow: hidden; aspect-ratio: 800 / 600; }
.acard__link:hover .acard__media img { transform: scale(1.05); }
.acard__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 45%, rgba(20, 21, 22, .85) 100%); }
.acard__tag { position: absolute; top: 16px; left: 16px; background: rgba(255, 255, 255, .95); color: var(--c-ink, #1f2021); }
.acard__ba { position: absolute; top: 16px; right: 16px; padding: 5px 10px; border-radius: 6px; background: rgba(31, 32, 33, .8); font-size: 12px; font-weight: 600; letter-spacing: .03em; }
.acard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 60px 20px 22px; }
.acard__title { display: block; font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1.25; }
.acard__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .88); }
.acard__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.acard__meta .icon { width: 16px; height: 16px; }
.acard__arrow { position: absolute; right: 20px; bottom: 22px; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .8); display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.acard__arrow .icon { width: 18px; height: 18px; }
.acard__link:hover .acard__arrow { background: #fff; color: var(--c-ink, #1f2021); }

/* ---------- galéria: filter ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--c-line, #e3e3e3); background: #fff; color: var(--c-ink, #1f2021); text-decoration: none;
  font-weight: 600; font-size: 15px; transition: background .2s, color .2s, border-color .2s; white-space: nowrap;
}
.pill .icon { width: 20px; height: 20px; }
.pill:hover { border-color: var(--c-ink, #1f2021); }
.pill.is-active { background: var(--c-ink, #1f2021); border-color: var(--c-ink, #1f2021); color: #fff; }
.pill__count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--c-bg-soft, #f6f6f6); color: var(--c-muted, #6d6e70); font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.pill.is-active .pill__count { background: rgba(255, 255, 255, .16); color: #fff; }
.gfull__empty { padding: 40px 0; text-align: center; color: var(--c-muted, #6d6e70); }
.gfull__empty a { color: var(--c-ink, #1f2021); font-weight: 600; }
.gfull__more { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- detail albumu ---------- */
.galbum { padding-top: 48px; }
.galbum__links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; }
.galbum__headl:empty { display: none; }
.galbum .pcrumbs { margin-bottom: 28px; }
.galbum__head { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; margin-bottom: 18px; }
.galbum__title { margin: 14px 0 10px; }
.galbum__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; color: var(--c-muted, #6d6e70); font-size: 15px; }
.galbum__meta span { display: inline-flex; align-items: center; gap: 7px; }
.galbum__meta .icon { width: 18px; height: 18px; color: var(--c-ink, #1f2021); }
.galbum__back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--c-ink, #1f2021); text-decoration: none; padding: 10px 0; }
.galbum__back .icon { width: 18px; height: 18px; }
.galbum__back:hover span { text-decoration: underline; }
.galbum__desc { max-width: 780px; margin-bottom: 8px; }
.galbum__ba { margin: 32px 0 8px; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 32px 0 0; padding: 0; list-style: none; }
.pgrid__link { position: relative; display: block; overflow: hidden; border-radius: var(--radius, 10px); aspect-ratio: 800 / 600; background: #cfcfcf; }
.pgrid__link > img, .pgrid__link > .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto !important; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.pgrid__zoom { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(20, 21, 22, .35); color: #fff; opacity: 0; transition: opacity .25s; }
.pgrid__zoom svg { width: 44px; height: 44px; }
.pgrid__link:hover .pgrid__zoom, .pgrid__link:focus-visible .pgrid__zoom { opacity: 1; }
.pgrid__link:hover > img { transform: scale(1.04); }
/* Samostatné fotky (bez albumu) pod albumami */
.gfull__photos { margin-top: 56px; }
.gfull__photos:first-child, .pills + .gfull__photos { margin-top: 0; }
.gfull__ptitle { font-family: var(--font-head, 'Montserrat', sans-serif); font-weight: 800; font-size: 26px; line-height: 1.2; color: var(--c-ink, #1f2021); margin: 0; }
.gfull__ptitle + .pgrid { margin-top: 22px; }
.gfull__pgrid .pgrid__item.is-in { animation: pg-rise .45s cubic-bezier(.2, .7, .2, 1) both; }
.pgrid__tag { position: absolute; left: 12px; bottom: 12px; z-index: 1; padding: 5px 10px; border-radius: 6px; background: rgba(255, 255, 255, .92); color: var(--c-ink, #1f2021); font-size: 12px; font-weight: 600; letter-spacing: .02em; pointer-events: none; }
.galbum__cta {
  position: relative; overflow: hidden; margin-top: 56px; padding: 34px 40px; border-radius: var(--radius-lg, 14px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; color: #fff; isolation: isolate;
  background: var(--c-dark, #2a2b2d) linear-gradient(120deg, #262729, #3a3a3a 60%, #2d2e30);
}
.galbum__cta h3 { font-family: var(--font-head); font-weight: 800; font-size: 24px; margin: 0 0 6px; }
.galbum__cta p { margin: 0; color: rgba(255, 255, 255, .85); }
.galbum__cta-btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* Pred/Po slider – komponent .ba-slider je v style.css (FRONT-HOME); tu len rozmer v detaile albumu */
.galbum__ba .ba-slider { border-radius: var(--radius-lg, 14px); border-color: transparent; box-shadow: var(--shadow); }

/* ---------- lightbox ---------- */
.plb { position: fixed; inset: 0; z-index: 900; display: flex; align-items: center; justify-content: center; padding: 70px 90px; }
.plb[hidden] { display: none; }
.plb__overlay { position: absolute; inset: 0; background: rgba(18, 19, 20, .95); animation: pg-fade .25s ease; }
.plb__figure { position: relative; z-index: 1; margin: 0; width: 100%; max-width: 1240px; display: flex; flex-direction: column; align-items: center; animation: pg-rise .3s cubic-bezier(.2, .7, .2, 1); }
.plb__stage { width: 100%; display: flex; justify-content: center; touch-action: pan-y; }
.plb__img { max-width: 100%; max-height: calc(100vh - 160px); width: auto; height: auto; border-radius: var(--radius, 10px); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); user-select: none; }
.plb__ph { width: min(100%, calc((100vh - 160px) * 4 / 3)); border-radius: var(--radius, 10px); background: #4a4a4a !important; color: rgba(255, 255, 255, .7) !important; }
.plb__cap { margin-top: 16px; display: flex; gap: 18px; align-items: baseline; justify-content: center; color: rgba(255, 255, 255, .85); font-size: 15px; text-align: center; }
.plb__count { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 14px; white-space: nowrap; padding: 3px 10px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; }
.plb__btn { position: absolute; z-index: 2; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25); color: #fff; cursor: pointer; padding: 0; transition: background .2s, color .2s; }
.plb__btn svg { width: 22px; height: 22px; }
.plb__btn:hover, .plb__btn:focus-visible { background: #fff; color: var(--c-ink, #1f2021); outline: none; }
.plb__close { top: 18px; right: 18px; }
.plb__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.plb__next { right: 20px; top: 50%; transform: translateY(-50%); }
body.plb-open { overflow: hidden; }

/* ---------- FAQ (akordeón) ---------- */
.pfaq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
.pfaq__side .ph2 { margin-bottom: 16px; }
.pfaq__lead { color: var(--c-text, #3b3c3e); margin: 0 0 22px; font-size: 16px; line-height: 1.55; }
.pfaq__phone { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--c-ink, #1f2021); text-decoration: none; }
.pfaq__phone-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--c-ink, #1f2021); color: #fff; display: flex; align-items: center; justify-content: center; }
.pfaq__phone-ic .icon { width: 20px; height: 20px; }
.pfaq__list { display: flex; flex-direction: column; gap: 12px; }
.pfaq__item { background: #fafafa; border-radius: var(--radius, 10px); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 3px 12px rgba(0, 0, 0, .05); border: 1px solid #eeeeee; transition: background .2s, box-shadow .2s; }
.pfaq__item[open] { background: #fff; box-shadow: var(--shadow); }
.pfaq__q { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-family: var(--font-head); font-weight: 700; font-size: 16.5px; color: var(--c-ink, #1f2021); }
.pfaq__q::-webkit-details-marker { display: none; }
.pfaq__q:focus-visible { outline: 2px solid var(--c-ink, #1f2021); outline-offset: 2px; border-radius: var(--radius, 10px); }
.pfaq__chev { width: 20px; height: 20px; flex: none; transition: transform .25s; }
.pfaq__item[open] .pfaq__chev { transform: rotate(180deg); }
.pfaq__a { padding: 0 22px 20px; color: var(--c-text, #3b3c3e); font-size: 15.5px; }

/* ---------- CTA tmavý pás ---------- */
.ctab { position: relative; overflow: hidden; color: #fff; isolation: isolate; padding: 72px 0; }
.ctab__bg { z-index: -1; }
.ctab__bg::after { content: ""; position: absolute; inset: auto -5% -40% auto; width: 50%; height: 140%; background: radial-gradient(ellipse at center, rgba(255, 255, 255, .08), transparent 65%); }
.ctab__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; }
.ctab__text { max-width: 700px; }
.ctab__title { color: #fff; font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.15; margin: 0; text-wrap: balance; }
.ctab__lead { margin: 14px 0 0; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .86); }
.ctab__btns { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- formulár na detaile služby ---------- */
.sd-form__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: 56px; align-items: start; }
.sd-form__side .ph2 { margin-bottom: 18px; }
.sd-form__lead { color: var(--c-text, #3b3c3e); font-size: 17px; line-height: 1.55; margin: 0 0 26px; }
.sd-form__lead strong { color: var(--c-ink, #1f2021); }
.sd-form__points { margin: 0 0 32px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.sd-form__points li { display: flex; gap: 12px; align-items: flex-start; color: var(--c-text, #3b3c3e); line-height: 1.45; }
.sd-form__card { background: #fff; border-radius: var(--radius-lg, 14px); box-shadow: 0 10px 40px rgba(0, 0, 0, .09); border: 1px solid #ededed; padding: 34px 36px 32px; min-width: 0; }
.sd-form__title { font-family: var(--font-head); font-weight: 800; font-size: 26px; color: var(--c-ink, #1f2021); margin: 0 0 20px; letter-spacing: -.01em; }
.pcontact { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--c-ink, #1f2021); font-family: var(--font-head); font-weight: 700; font-size: 19px; }
.pcontact small { display: block; font-family: var(--font-body, var(--font)); font-weight: 500; font-size: 13px; color: var(--c-muted, #6d6e70); }
.pcontact__ic { width: 50px; height: 50px; border-radius: 50%; background: var(--c-ink, #1f2021); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.pcontact__ic .icon { width: 22px; height: 22px; }

/* ---------- prehľad služieb ---------- */
.slist__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.scard { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg, 14px); overflow: hidden; box-shadow: var(--shadow); border: 1px solid #efefef; }
.scard__media { position: relative; display: block; aspect-ratio: 600 / 340; overflow: hidden; background: #cfcfcf; }
.scard__media > img, .scard__media > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto !important; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.scard:hover .scard__media > img { transform: scale(1.04); }
.scard__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(20, 21, 22, .78) 100%); }
.scard__num { position: absolute; top: 18px; right: 22px; font-family: var(--font-head); font-weight: 800; font-size: 15px; color: #fff; letter-spacing: .08em; padding: 4px 10px; border-radius: 6px; background: rgba(31, 32, 33, .55); }
.scard__head { position: absolute; left: 26px; bottom: 22px; color: #fff; }
.scard__icon .icon { width: 46px; height: 46px; stroke-width: 1.4; }
.scard__body { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.scard__title { font-family: var(--font-head); font-weight: 800; font-size: 26px; line-height: 1.2; margin: 0; }
.scard__title a { color: var(--c-ink, #1f2021); text-decoration: none; }
.scard__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.scard__sub { margin: 4px 0 0; color: var(--c-muted, #6d6e70); font-size: 15px; }
.scard__intro { margin: 14px 0 0; color: var(--c-text, #3b3c3e); line-height: 1.6; }
.scard__ben { margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--c-line, #e3e3e3); list-style: none; display: flex; flex-direction: column; gap: 10px; }
.scard__ben li { display: flex; gap: 10px; align-items: center; font-weight: 500; color: var(--c-ink, #1f2021); }
.scard__ben .pcheck { width: 22px; height: 22px; }
.scard__btns { margin-top: auto; padding-top: 26px; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; }
.scard__quote { font-weight: 600; color: var(--c-ink, #1f2021); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.scard__quote:hover { text-decoration-thickness: 2px; }

/* ---------- typografia textov (GDPR, popis služby) ---------- */
.pprose { color: var(--c-text, #3b3c3e); font-size: 17px; line-height: 1.7; }
.pprose > * + * { margin-top: 1em; }
.pprose h2 { font-family: var(--font-head); font-weight: 800; font-size: 26px; line-height: 1.25; color: var(--c-ink, #1f2021); margin-top: 2em; scroll-margin-top: calc(var(--header-h, 96px) + 16px); }
.pprose h3 { font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--c-ink, #1f2021); margin-top: 1.6em; }
.pprose h2:first-child, .pprose h3:first-child { margin-top: 0; }
.pprose h2 + *, .pprose h3 + * { margin-top: .55em; }
.pprose p { margin-bottom: 0; }
.pprose a { color: var(--c-ink, #1f2021); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pprose strong { color: var(--c-ink, #1f2021); }
.pprose ul, .pprose ol { padding-left: 0; list-style: none; }
.pprose ul > li, .pprose ol > li { position: relative; padding-left: 28px; }
.pprose li + li { margin-top: .45em; }
.pprose ul > li::before { content: ""; position: absolute; left: 6px; top: .68em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--c-ink, #1f2021); }
.pprose ol { counter-reset: li; }
.pprose ol > li { counter-increment: li; }
.pprose ol > li::before { content: counter(li) "."; position: absolute; left: 0; font-weight: 700; color: var(--c-ink, #1f2021); }
.pprose blockquote { border-left: 3px solid var(--c-ink, #1f2021); padding: 4px 0 4px 20px; color: var(--c-ink, #1f2021); font-style: italic; }
.pprose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.pprose th, .pprose td { padding: 10px 12px; border-bottom: 1px solid var(--c-line, #e3e3e3); text-align: left; vertical-align: top; }
.pprose th { font-family: var(--font-head); font-weight: 700; color: var(--c-ink, #1f2021); background: var(--c-bg-soft, #f6f6f6); }
.pprose hr { border: 0; border-top: 1px solid var(--c-line, #e3e3e3); margin: 2em 0; }
.pprose img { border-radius: var(--radius, 10px); }
.pprose--dark, .pprose--dark h2, .pprose--dark h3, .pprose--dark strong, .pprose--dark a { color: #fff; }
.pprose--dark { color: rgba(255, 255, 255, .86); }
.pprose--dark ul > li::before { border-color: #fff; }
.pprose--doc { max-width: 820px; }
.pprose--doc > h2 { padding-top: 1.2em; border-top: 1px solid var(--c-line, #e3e3e3); }
.pprose--doc > h2:first-child { padding-top: 0; border-top: 0; }

.rtext--light { background: var(--c-bg-soft, #f6f6f6); }
.rtext--dark { background: var(--c-dark, #2a2b2d); }
.rtext__head { margin-bottom: 30px; }
.rtext__grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 64px; align-items: start; }
.rtext__toc { position: sticky; top: calc(var(--header-h-scrolled, 76px) + 24px); padding: 24px 24px 22px; border-radius: var(--radius-lg, 14px); background: #fafafa; border: 1px solid #eeeeee; }
.rtext__toc-title { font-family: var(--font-head); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--c-ink, #1f2021); margin: 0 0 12px; }
.rtext__toc ol { margin: 0; padding: 0; list-style: none; counter-reset: t; display: flex; flex-direction: column; gap: 2px; }
.rtext__toc li { counter-increment: t; }
.rtext__toc a { display: flex; gap: 10px; padding: 6px 0; font-size: 14.5px; line-height: 1.4; color: var(--c-text, #3b3c3e); text-decoration: none; }
.rtext__toc a::before { content: counter(t, decimal-leading-zero); font-family: var(--font-head); font-weight: 700; font-size: 12px; color: var(--c-muted, #6d6e70); padding-top: 2px; }
.rtext__toc a:hover, .rtext__toc a.is-active { color: var(--c-ink, #1f2021); font-weight: 600; }

/* ---------- obrázok + text ---------- */
.imgtext--light { background: var(--c-bg-soft, #f6f6f6); }
.imgtext--dark { color: #fff; overflow: hidden; isolation: isolate; }
.imgtext--dark .pconcrete { z-index: -1; }
.imgtext__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.imgtext--right .imgtext__media { order: 2; }
.imgtext__media > img, .imgtext__media > .ph { width: 100%; border-radius: var(--radius-lg, 14px); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 800 / 600; }
.imgtext__body .ph2 { margin-bottom: 20px; }
.imgtext__btn { margin-top: 28px; }

/* ---------- vlastné HTML ---------- */
.chtml > .container { padding-top: 48px; padding-bottom: 48px; }

/* ---------- animácie ---------- */
@keyframes pg-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pg-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .acard.is-in, .gfull__pgrid .pgrid__item.is-in, .plb__overlay, .plb__figure { animation: none; }
  .pcard__media img, .acard__media img, .pgrid__link > img, .scard__media > img { transition: none; }
}

/* =========================================================
   RESPONZÍVNE
   ========================================================= */
@media (max-width: 1180px) {
  .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sd-benefits__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(min(var(--n), 3), minmax(0, 1fr)); row-gap: 40px; }
  .step:nth-child(3n)::after { display: none; }
}

@media (max-width: 992px) {
  .psec { padding: 72px 0; }
  .phead { min-height: 360px; padding-bottom: 96px; }
  .phead--lg { min-height: 460px; padding-bottom: 110px; }
  .sd-about__grid, .imgtext__grid, .pfaq__grid, .sd-form__grid { grid-template-columns: 1fr; gap: 36px; }
  .imgtext--right .imgtext__media { order: 0; }
  .sd-about__media::after { display: none; }
  .agrid, .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slist__grid { grid-template-columns: 1fr; }
  .rtext__grid { grid-template-columns: 1fr; gap: 28px; }
  .rtext__toc { position: static; }
  .sd-benefits { margin-top: 48px; padding: 30px 26px; }

  /* postup práce: vertikálne s čiarou vľavo */
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; padding-bottom: 30px; }
  .step:last-child { padding-bottom: 0; }
  .step__num { grid-row: 1 / span 2; width: 56px; height: 56px; font-size: 18px; margin: 0; }
  .step__title { align-self: end; margin-top: 4px; }
  .step:not(:last-child)::after, .step:nth-child(3n):not(:last-child)::after { display: block; top: 64px; bottom: 6px; left: 27px; right: auto; height: auto; width: 0; border-top: 0; border-left: 2px dashed #bdbdbd; }
  .plb { padding: 64px 16px 84px; }
  .plb__prev, .plb__next { top: auto; bottom: 18px; transform: none; }
  .plb__prev { left: calc(50% - 66px); }
  .plb__next { right: calc(50% - 66px); }
}

@media (max-width: 640px) {
  .psec { padding: 56px 0; }
  .phead { min-height: 0; padding: calc(var(--header-h, 76px) + 34px) 0 76px; }
  .phead--lg { padding-bottom: 82px; }
  .phead__title { font-size: clamp(30px, 8.6vw, 38px); }
  .phead__sub { font-size: 16.5px; margin-top: 14px; }
  .phead__sub br { display: none; }
  .phead__btns { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 26px; }
  .pbrush { height: 48px; }
  .pcrumbs { font-size: 13px; margin-bottom: 18px; }
  .peyebrow { font-size: 12.5px; gap: 10px; }
  .peyebrow::before { width: 22px; }
  .peyebrow--after::after { width: 46px; }
  .phead2 { margin-bottom: 28px; align-items: flex-start; flex-direction: column; }
  .phead2__intro { font-size: 16px; }
  .phead2__intro br { display: none; }
  .pbtn { white-space: normal; text-align: center; }
  .pcards, .pcards--3, .agrid, .pgrid { grid-template-columns: 1fr; gap: 16px; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pcard { aspect-ratio: 600 / 400; }
  .sd-benefits { padding: 24px 20px; }
  .sd-benefits__list { grid-template-columns: 1fr; gap: 18px; }
  .sd-form__card { padding: 24px 18px; margin: 0 -4px; }
  .sd-form__title { font-size: 22px; }
  .ctab { padding: 56px 0; }
  .ctab__lead br { display: none; }
  .ctab__btns { flex-direction: column; align-items: stretch; width: 100%; }
  .pills { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 26px; padding: 2px 16px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .pills::-webkit-scrollbar { display: none; }
  .pill { min-height: 42px; padding: 0 14px; font-size: 14px; }
  .acard__title { font-size: 18px; }
  .galbum { padding-top: 36px; }
  .galbum__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .galbum__links { gap: 8px 18px; }
  .galbum__links .pbtn { --btn-h: 44px; font-size: 14.5px; }
  .galbum__ba .ba-slider { aspect-ratio: 4 / 3; }
  .galbum__cta { padding: 26px 20px; margin-top: 40px; }
  .galbum__cta-btns { width: 100%; flex-direction: column; }
  .scard__body { padding: 22px 20px 24px; }
  .scard__title { font-size: 22px; }
  .pprose { font-size: 16px; }
  .pprose h2 { font-size: 22px; }
  .pfaq__q { padding: 16px 16px; font-size: 15.5px; }
  .pfaq__a { padding: 0 16px 18px; }
  .plb__btn { width: 46px; height: 46px; }
}
@media (max-width: 560px) {
  .gfull__photos { margin-top: 40px; }
  .gfull__ptitle { font-size: 21px; }
  .pgrid__tag { left: 8px; bottom: 8px; padding: 3px 7px; font-size: 10.5px; }
}
