/* Thornvale Plumbing — generated by kit/_build/build.py. Do not edit by hand: */
/* re-run `python3 kit/_build/build.py sample-plumber-bold` instead. */
/* ============================================================================
   Style kit — BOLD & MODERN
   Character: dark ground, oversized type, hard contrast, full-bleed hero.
   For: younger firms that want to stand out. Tile in question 3.1 of the form.
   Fonts: Archivo (one family, 400/600/800) — Google Fonts.
   ========================================================================= */
:root {
  --font-head: "Archivo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --fw-head: 800;
  --track-head: -.02em;
  --case-head: none;
  --track-btn: .01em;
  --case-btn: none;

  --fs-h1: 4.25rem;
  --fs-h2: 2.75rem;
  --fs-h3: 1.3125rem;

  --bg: #ffffff;
  --surface: #f4f6f8;
  --text: #0d1117;
  --muted: #5a6672;
  --line: #e3e8ed;
  --line-strong: #ccd5dd;

  --ink: #0d1117;
  --ink-text: #ffffff;
  --ink-muted: #a8b3bf;
  --ink-line: rgba(255,255,255,.14);

  --accent: #2f6bff;
  --accent-hover: #1d52d8;
  --accent-ink: #ffffff;
  --accent-soft: rgba(47,107,255,.12);
  --accent-on-ink: #6d9bff;

  --head-bg: #ffffff;
  --head-text: #0d1117;
  --head-line: #e3e8ed;
  --head-h: 68px;
  --nav-bg: #f4f6f8;

  --card-bg: #ffffff;
  --card-border: 1px solid #e3e8ed;
  --shadow: 0 1px 2px rgba(13,17,23,.05), 0 10px 24px rgba(13,17,23,.06);

  --r-btn: 6px;
  --r-card: 10px;
  --r-input: 6px;
  --r-mark: 8px;

  --maxw: 1200px;
  --hero-scrim: linear-gradient(90deg, rgba(8,11,15,.94) 0%, rgba(8,11,15,.82) 42%, rgba(8,11,15,.35) 100%);
  --hero-scrim-m: linear-gradient(180deg, rgba(8,11,15,.72) 0%, rgba(8,11,15,.93) 62%, rgba(8,11,15,.93) 100%);
}

/* --- Thornvale Plumbing brand overrides --- */
:root {
  --accent: #2f6bff;
  --accent-hover: #1d52d8;
  --accent-soft: rgba(47,107,255,.12);
  --accent-on-ink: #7aa4ff;
  --hero-focus: 72% center;
}
/* ============================================================================
   TrueBuilt demo kit — base.css
   ----------------------------------------------------------------------------
   Layout, components and behaviour shared by EVERY demo, in every style kit.
   Nothing in this file names a colour, a font or a radius directly — it only
   uses the custom properties defined in kit/styles/<kit>.css. That separation
   is what makes one demo look like a different agency built it while the HTML
   stays identical.

   A demo NEVER links to this file. Its assets/style.css is a copy of
   <kit>.css followed by this file, concatenated at build time. One request,
   and a change to the kit can never silently alter a demo that was already
   sent to a customer.
   ========================================================================= */

/* --- Reset ---------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: var(--fw-head);
  line-height: 1.1;
  letter-spacing: var(--track-head);
  text-transform: var(--case-head);
}

h1 { font-size: clamp(2.1rem, 6.2vw, var(--fs-h1)); }
h2 { font-size: clamp(1.6rem, 4.4vw, var(--fs-h2)); }
h3 { font-size: var(--fs-h3); }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

ul { margin: 0; padding: 0; list-style: none; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: var(--accent-ink);
  padding: .75rem 1.25rem; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* --- Layout --------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 768px) { .wrap { padding-inline: 2rem; } }

.section { padding-block: clamp(3.25rem, 8vw, 5.5rem); }
.section--tight { padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.section--alt { background: var(--surface); }
.section--ink { background: var(--ink); color: var(--ink-text); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--ink-text); }
.section--ink .lede, .section--ink p { color: var(--ink-muted); }

.section__head { max-width: 46rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section__head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  margin-bottom: .75rem;
  font-family: var(--font-head);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.section--ink .eyebrow { color: var(--accent-on-ink); }

.lede { color: var(--muted); font-size: 1.0625rem; }
@media (min-width: 768px) { .lede { font-size: 1.125rem; } }

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: .5rem 1.6rem;
  border: 2px solid transparent; border-radius: var(--r-btn);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  letter-spacing: var(--track-btn); text-transform: var(--case-btn);
  cursor: pointer; text-align: center;
  transition: transform .12s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
/* Icons inside buttons and inline links have no width/height attributes of
   their own, so they must be sized here or they inflate to the box. */
.btn svg, .svc-link svg, .info-block svg { flex-shrink: 0; width: 1.125rem; height: 1.125rem; }
.btn { white-space: nowrap; }
@media (max-width: 420px) { .btn { padding-inline: 1.1rem; font-size: .9375rem; } }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.section--ink .btn--ghost,
.hero .btn--ghost { color: var(--ink-text); border-color: rgba(255,255,255,.35); }
.section--ink .btn--ghost:hover,
.hero .btn--ghost:hover { border-color: var(--ink-text); color: var(--ink-text); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 559px) { .hero .btn-row .btn, .cta-strip .btn-row .btn { flex: 1 1 100%; } }

/* --- Header --------------------------------------------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: var(--head-bg);
  border-bottom: 1px solid var(--head-line);
}
/* ⚠️ NEPRIDÁVAJ sem `backdrop-filter`, `filter` ani `transform`. Každý z nich
   vytvorí containing block pre `position: fixed` potomkov — rozbalené mobilné
   menu (.nav) by sa potom natiahlo len na výšku hlavičky, nie cez obrazovku.
   `position: sticky` túto vlastnosť nemá, preto lepkavá hlavička problém nerobí. */
.site-head__in { display: flex; align-items: center; gap: .75rem; height: var(--head-h); }

.brand { display: flex; align-items: center; gap: .625rem; flex: 1 1 auto; min-width: 0; }
/* ⚠️ Zámerne `.brand__text`, nie `.brand > span`. Selektor s typom prvku má
   vyššiu špecificitu než trieda, takže by prebil aj `.brand__mark` — a značka
   by sa potom nedala skryť na úzkom displeji. */
.brand__text { display: block; min-width: 0; }  /* bez toho sa ellipsis nikdy nespustí */
.brand:hover { text-decoration: none; }
.brand__mark {
  display: grid; place-items: center; flex-shrink: 0;
  width: 2.25rem; height: 2.25rem;
  border-radius: var(--r-mark);
  background: var(--accent); color: var(--accent-ink);
}
.brand__mark svg { width: 1.25rem; height: 1.25rem; }
.brand__name {
  display: block;   /* overflow/text-overflow na inline elemente neúčinkujú */
  font-family: var(--font-head); font-weight: var(--fw-head);
  font-size: 1.0625rem; line-height: 1.05; color: var(--head-text);
  letter-spacing: var(--track-head); text-transform: var(--case-head);
  /* Názov firmy sa nikdy neoreže na „Thornvale Plu…" — radšej sa zalomí do
     dvoch riadkov. Orezaný názov vyzerá ako chyba webu, dvojriadkový nie.
     Platí na všetkých šírkach: aj na desktope existujú dlhé názvy. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.15;
}
.brand__tag {
  display: none; font-family: var(--font-body); font-weight: 500;
  font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
/* Na úzkom displeji má prednosť celý názov firmy pred značkou. Značka je
   dekoratívna, názov je identita — orezané „Thornvale Plu…" vyzerá ako chyba.
   Pod 480 px preto značka mizne a názov sa smie zalomiť do dvoch riadkov,
   aby sa doň zmestili aj dlhé mená ako „Wildrye Lawn & Landscape". */
@media (max-width: 479px) { .brand__mark { display: none; } }
/* Najužšie telefóny: ešte o kúsok stiahnuť tlačidlo aj názov, aby sa dvojriadkový
   názov zmestil aj pri 320 px. */
@media (max-width: 359px) {
  .head-cta { padding-inline: .625rem; font-size: .8125rem; }
  .brand__name { font-size: .9375rem; }
}
@media (min-width: 560px) { .brand__name { font-size: 1.1875rem; } }
@media (min-width: 1024px) { .brand__tag { display: block; } }

/* ⚠️ `position: fixed`, nie `absolute`. Kliknutie na <label> presunie fokus na
   tento checkbox a prehliadač ho odroluje do zorného poľa. Pri `absolute` leží
   checkbox na začiatku dokumentu, takže by otvorenie menu vyhodilo návštevníka
   na začiatok stránky. Pri `fixed` je vždy v zornom poli a nič sa neodroluje. */
.nav-toggle-input { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-inline-end: -.5rem;
  cursor: pointer; flex-shrink: 0; color: var(--head-text);
}
/* Checkbox je neviditeľný, takže fokusový rámček musí prevziať jeho štítok —
   inak návštevník ovládajúci web klávesnicou nevidí, kde sa nachádza. */
.nav-toggle-input:focus-visible ~ .site-head__in .nav-toggle,
.nav-toggle-input:focus-visible ~ .site-head__in .nav__close {
  outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px;
}
.nav-toggle i, .nav-toggle i::before, .nav-toggle i::after {
  display: block; width: 22px; height: 2px; background: currentColor;
  border-radius: 2px; transition: transform .18s ease;
}
.nav-toggle i { position: relative; }
.nav-toggle i::before, .nav-toggle i::after { content: ""; position: absolute; left: 0; }
.nav-toggle i::before { top: -7px; }
.nav-toggle i::after { top: 7px; }
.nav-toggle-input:checked ~ .site-head__in .nav-toggle i { background: transparent; }
.nav-toggle-input:checked ~ .site-head__in .nav-toggle i::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle-input:checked ~ .site-head__in .nav-toggle i::after { transform: translateY(-7px) rotate(-45deg); }

/* Mobile: navigation is a fixed layer below the bar, so it can never be
   squeezed into the header row. Zero JavaScript — a checkbox drives it. */
/* Menu prekrýva CELÚ obrazovku vrátane hlavičky a núdzového pruhu, a nesie si
   vlastný horný riadok so zatváracím krížikom. Dôvod: keby začínalo pod
   hlavičkou, muselo by poznať jej presnú výšku — tá sa však mení podľa toho,
   či je núdzový pruh na jednom alebo dvoch riadkoch a či je stránka odrolovaná.
   Takto je poloha menu nezávislá od čohokoľvek nad ním. */
.nav {
  position: fixed; inset: 0; z-index: 70;
  display: flex; flex-direction: column;
  background: var(--nav-bg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav__top {
  display: flex; align-items: center; gap: .75rem;
  height: var(--head-h); padding-inline: 1.25rem;
  border-bottom: 1px solid var(--line); background: var(--bg);
}
.nav__top .brand__name { flex: 1 1 auto; }
.nav__close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-inline-end: -.5rem;
  cursor: pointer; color: var(--text); font-size: 1.5rem; line-height: 1;
}
.nav-toggle-input:checked ~ .site-head__in .nav { opacity: 1; visibility: visible; transform: none; }
body:has(.nav-toggle-input:checked) { overflow: hidden; }

.nav__list { padding-top: .5rem; overflow-y: auto; }
.nav__list li + li a { border-top: 1px solid var(--line); }
.nav__list a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 60px; padding-inline: 1.5rem;
  font-family: var(--font-head); font-weight: var(--fw-head); font-size: 1.3125rem;
  color: var(--text); letter-spacing: var(--track-head); text-transform: var(--case-head);
}
.nav__list a:hover { text-decoration: none; background: var(--surface); }
.nav__list a[aria-current="page"] { color: var(--accent); }
.nav__chev { color: var(--muted); font-size: 1.25rem; line-height: 1; }

/* Spodné odsadenie musí prekročiť výšku TrueBuilt lišty, inak ju tlačidlo
   podlezie a na malých displejoch sa nedá kliknúť. */
.nav__foot { margin-top: auto; padding: 1.5rem 1.5rem 7rem; border-top: 1px solid var(--line); background: var(--bg); }
.nav__foot .btn { width: 100%; }
.nav__micro { margin: .75rem 0 0; text-align: center; font-size: .8125rem; color: var(--muted); }

.head-cta { flex-shrink: 0; min-height: 44px; padding-inline: .875rem; font-size: .875rem; }
.head-cta__short { display: inline; }
.head-cta__full { display: none; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav {
    position: static; flex-direction: row; align-items: center;
    inset: auto; background: none; opacity: 1; visibility: visible;
    transform: none; transition: none; margin-inline-start: auto;
  }
  .nav__list { display: flex; align-items: center; gap: 1.75rem; padding: 0; overflow: visible; }
  .nav__list li + li a { border-top: 0; }
  .nav__list a {
    display: block; min-height: 0; padding: .5rem 0;
    font-family: var(--font-body); font-weight: 600; font-size: .9375rem;
    letter-spacing: .01em; text-transform: none; color: var(--head-text);
  }
  .nav__list a:hover { background: none; color: var(--accent); }
  .nav__chev, .nav__foot, .nav__top { display: none; }
  .head-cta { margin-inline-start: 1.75rem; padding-inline: 1.5rem; font-size: 1rem; }
  .head-cta__short { display: none; }
  .head-cta__full { display: inline; }
  body:has(.nav-toggle-input:checked) { overflow: visible; }
}

/* --- Hero ----------------------------------------------------------------- */
.hero { position: relative; background: var(--ink); color: var(--ink-text); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-focus, center); }
/* Vodorovný prechod je navrhnutý pre široký displej. Na mobile je text nad
   stredom fotky, takže tam musí ísť zvislý a výrazne tmavší. */
.hero__scrim { position: absolute; inset: 0; background: var(--hero-scrim-m, var(--hero-scrim)); }
@media (min-width: 768px) { .hero__scrim { background: var(--hero-scrim); } }
.hero__in { position: relative; padding-block: clamp(3.5rem, 13vw, 8rem); }
.hero__copy { max-width: 34rem; }
.hero h1 { color: var(--ink-text); }
.hero__sub { margin: 1.25rem 0 1.75rem; color: var(--ink-muted); font-size: 1.0625rem; max-width: 32rem; }
@media (min-width: 768px) { .hero__sub { font-size: 1.1875rem; } }
.hero__note { margin-top: 1.25rem; font-size: .875rem; color: var(--ink-muted); }

.hero--page { padding-block: 0; }
.hero--page .hero__in { padding-block: clamp(2.5rem, 7vw, 4.5rem); }

/* --- Trust strip ---------------------------------------------------------- */
.trust { background: var(--ink); color: var(--ink-text); border-top: 1px solid var(--ink-line); }
.trust__list { display: grid; gap: .875rem; padding-block: 1.25rem; }
@media (min-width: 700px) { .trust__list { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.trust__item { display: flex; align-items: center; gap: .625rem; font-size: .9375rem; color: var(--ink-text); }
.trust__item svg { flex-shrink: 0; width: 1.125rem; height: 1.125rem; color: var(--accent-on-ink); }

/* --- Cards ---------------------------------------------------------------- */
.card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.card__icon {
  display: grid; place-items: center;
  width: 3rem; height: 3rem; margin-bottom: 1.125rem;
  border-radius: var(--r-mark);
  background: var(--accent-soft); color: var(--accent);
}
.card__icon svg { width: 1.5rem; height: 1.5rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .9375rem; }

.svc-link { display: inline-block; margin-top: .875rem; font-weight: 700; font-size: .9375rem; }

/* --- Detailed service list ------------------------------------------------ */
.svc-row {
  display: grid; gap: 1rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 800px) { .svc-row { grid-template-columns: 15rem 1fr; gap: 2.5rem; } }
.svc-row h3 { display: flex; align-items: center; gap: .75rem; }
.svc-row__num {
  font-family: var(--font-head); font-size: .8125rem; color: var(--accent);
  letter-spacing: .1em;
}
.svc-row p { color: var(--muted); }
.svc-row__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .875rem; }
.tag {
  display: inline-block; padding: .3rem .7rem;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: .8125rem; color: var(--muted);
}

/* --- Split (text + photo) ------------------------------------------------- */
.split { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split--flip .split__media { order: -1; }
@media (max-width: 899px) { .split--flip .split__media { order: 0; } }
.split__media img { width: 100%; border-radius: var(--r-card); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 1.75rem; }
@media (min-width: 560px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__n {
  display: block; font-family: var(--font-head); font-weight: var(--fw-head);
  font-size: 1.875rem; line-height: 1; color: var(--accent);
}
.stat__l { display: block; margin-top: .35rem; font-size: .8125rem; color: var(--muted); }

/* --- Checklist ------------------------------------------------------------ */
.checks { display: grid; gap: .75rem; margin-top: 1.25rem; }
.checks li { display: flex; align-items: flex-start; gap: .75rem; }
.checks svg { flex-shrink: 0; width: 1.25rem; height: 1.25rem; margin-top: .2rem; color: var(--accent); }

/* --- Service area --------------------------------------------------------- */
.area { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .area { grid-template-columns: 1fr 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.chips li {
  padding: .45rem .9rem;
  background: var(--card-bg); border: 1px solid var(--line-strong);
  border-radius: 999px; font-size: .875rem; font-weight: 600;
}
.map { width: 100%; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }

/* --- Reviews -------------------------------------------------------------- */
.quote {
  display: flex; flex-direction: column;
  background: var(--card-bg); border: var(--card-border);
  border-radius: var(--r-card); box-shadow: var(--shadow);
  padding: 1.75rem;
}
.quote__mark { font-family: var(--font-head); font-size: 2.5rem; line-height: .8; color: var(--accent); margin-bottom: .5rem; }
.quote blockquote { margin: 0; }   /* prehliadač dáva blockquote 40 px po stranách */
.quote p { font-size: 1.0625rem; }
.quote__by { margin-top: auto; padding-top: 1.25rem; font-size: .875rem; color: var(--muted); }
.quote__by strong { display: block; color: var(--text); font-size: .9375rem; }

/* --- Gallery -------------------------------------------------------------- */
.gallery { display: grid; gap: 1rem; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.shot { display: flex; flex-direction: column; margin: 0; border-radius: var(--r-card); overflow: hidden; background: var(--surface); }
.shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.shot figcaption {
  padding: .875rem 1rem;
  font-size: .875rem; color: var(--muted);
  background: var(--card-bg); border-top: 1px solid var(--line);
  flex: 1 1 auto;   /* inak pod popiskom presvitá podklad ako sivý pruh */
}

/* --- CTA strip ------------------------------------------------------------ */
.cta-strip { text-align: center; }
.cta-strip .wrap { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.cta-strip p { max-width: 40rem; }

/* --- Form (inert in a demo) ----------------------------------------------- */
.form { display: grid; gap: 1rem; }
@media (min-width: 700px) { .form__2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } }
.field { display: grid; gap: .4rem; }
.field label { font-size: .875rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .75rem .875rem;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: var(--r-input);
  font: inherit; font-size: 1rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.form__note { font-size: .8125rem; color: var(--muted); }

.demo-notice {
  display: none;
  margin-top: 1rem; padding: .875rem 1rem;
  background: var(--accent-soft); border-left: 3px solid var(--accent);
  border-radius: var(--r-input); font-size: .9375rem;
}
.form:has(:focus-within) ~ .demo-notice { display: none; }
.demo-notice--on { display: block; }

/* --- Contact blocks ------------------------------------------------------- */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 22rem 1fr; gap: 3rem; } }
.info-block + .info-block { margin-top: 1.75rem; }
.info-block h3 { font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.info-block a { font-size: 1.125rem; font-weight: 700; }
.hours { display: grid; gap: .35rem; font-size: .9375rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding-bottom: .35rem; }

/* --- Emergency banner ----------------------------------------------------- */
.banner {
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: .9375rem;
}
.banner .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .25rem .75rem; padding-block: .5rem; text-align: center; }
.banner a { color: var(--accent-ink); text-decoration: underline; }
/* Na úzkom displeji je dlhá veta trojriadková a zožerie prvú obrazovku. */
.banner__full { display: none; }
@media (min-width: 560px) {
  .banner { font-size: .9375rem; }
  .banner .wrap { gap: .5rem 1rem; padding-block: .625rem; }
  .banner__full { display: inline; }
  .banner__short { display: none; }
}
@media (max-width: 559px) { .banner { font-size: .8125rem; } }

/* --- Footer --------------------------------------------------------------- */
.site-foot { background: var(--ink); color: var(--ink-muted); padding-block: 3.5rem 7rem; }
.site-foot__grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .site-foot__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.site-foot h4 { color: var(--ink-text); font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .875rem; }
.site-foot a { color: var(--ink-text); }
.site-foot__links li { margin-bottom: .5rem; }
.site-foot .brand__name { color: var(--ink-text); }
.site-foot__legal {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--ink-line);
  font-size: .8125rem;
}
.site-foot__sample { color: var(--ink-text); opacity: .95; }

/* --- Demo bar (the only TrueBuilt-branded element on the page) ------------ */
.demo-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: #14243a; color: #f5f2ec;
  border-top: 2px solid #e8752a;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
/* Jeden riadok na každej šírke. `nowrap` + skrátený text na mobile: zalomená
   lišta pôsobí rozhádzane a zbytočne uberá výšku obrazovky. Voľný priestor
   medzi textom a tlačidlom pohltí `margin-inline-start: auto` na tlačidle,
   takže CTA sedí vždy vpravo. */
.demo-bar__in {
  display: flex; flex-wrap: nowrap; align-items: center; gap: .625rem;
  max-width: var(--maxw); margin-inline: auto; padding: .5rem 1.25rem;
  font-size: .8125rem; line-height: 1.3;
}
.demo-bar__txt {
  flex: 0 1 auto; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.demo-bar__cta { margin-inline-start: auto; }
.demo-bar__pre, .demo-bar__txt-long { display: none; }
@media (min-width: 560px) { .demo-bar__pre { display: inline; } }
/* Dlhý dovetok až vtedy, keď je preň naozaj miesto — inak by ho ellipsis
   odrezal uprostred vety. */
@media (min-width: 860px) { .demo-bar__txt-long { display: inline; } }
.demo-bar__txt b { color: #fff; }
.demo-bar__cta {
  flex-shrink: 0;
  display: inline-flex; align-items: center; min-height: 38px;
  padding: 0 .75rem; border-radius: 8px; white-space: nowrap;
  background: #c2410c; color: #fff;
  font-weight: 600; font-size: .8125rem;
}
.demo-bar__cta:hover { background: #9a3412; text-decoration: none; }
.demo-bar__close {
  flex-shrink: 0; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 6px; margin-inline-end: -.375rem;
  background: none; border: 0; color: #9fb2c8; font-size: 1.125rem; cursor: pointer;
}
.demo-bar__close:hover { background: rgba(255,255,255,.1); color: #fff; }
.demo-bar__x { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.demo-bar__x:checked ~ .demo-bar { display: none; }

/* Vrátenie zavretej lišty. Bez tohto by sa lišta dala zavrieť len raz a
   natrvalo — zatváracie tlačidlo je totiž vnútri lišty, ktorú sme skryli.
   Ten istý checkbox, len druhý ovládač: klik ho odškrtne a lišta je späť.
   Stále 0 kB JavaScriptu. */
.demo-bar__restore {
  display: none;
  position: fixed; right: 14px; bottom: 14px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: #14243a; border: 2px solid #e8752a;
  color: #fff; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.28);
  align-items: center; justify-content: center;
  transition: transform .12s ease;
}
.demo-bar__restore:hover { transform: scale(1.06); }
.demo-bar__x:focus-visible ~ .demo-bar .demo-bar__close,
.demo-bar__x:focus-visible ~ .demo-bar__restore {
  outline: 3px solid #e8752a; outline-offset: 2px;
}
.demo-bar__restore svg { width: 22px; height: 22px; }
.demo-bar__x:checked ~ .demo-bar__restore { display: inline-flex; }
@media (prefers-reduced-motion: reduce) { .demo-bar__restore { transition: none; } }
/* ⚠️ Tento blok musí byť AŽ TU, za pravidlami .demo-bar__cta a .demo-bar__close.
   Médiá nezvyšujú špecificitu — pri rovnakej špecificite rozhoduje poradie
   v súbore, takže skoršie umiestnenie by neskoršie pravidlá neprebilo. */
@media (max-width: 359px) {
  .demo-bar__in { font-size: .75rem; gap: .5rem; padding-inline: 1rem; }
  .demo-bar__cta { padding-inline: .5rem; font-size: .75rem; min-height: 34px; }
}
@media (min-width: 700px) {
  .demo-bar__in { font-size: .875rem; padding-inline: 2rem; gap: .875rem; }
  .demo-bar__cta { min-height: 40px; padding-inline: 1rem; }
}
