/* Elektro Lignum — self-contained stylesheet (no external fonts, no CDN).
   Compatible with CSP: default-src 'self'; style-src 'self'. */

:root {
  /* Plátno (paper/mist/ink/line) — predtým bolo definované LEN tu v
     :root a v žiadnej z tém sa nemenilo. Výsledok: farebný prepínač
     reálne farbil iba hero, tmavý pás "Prečo my" a pätičku; zvyšok
     stránky (karty služieb, kontakt, FAQ, formulár — teda väčšina
     obsahu) vyzeral vo všetkých 3 témach identicky. Každá téma teraz
     ladí aj svetlé plochy, nielen akcent. */
  --ink: #0f1620;
  --ink-2: #47525f;
  --ink-3: #5c6772;
  --paper: #ffffff;
  --mist: #f2f5f8;
  --mist-2: #e7ecf1;
  --line: #dbe2ea;

  /* Industriálny (default) — grafitová tmavá namiesto modrej navy,
     tyrkysový akcent namiesto sýtej modrej, žltá ostáva. */
  --navy-900: #1c2024;
  --navy-800: #23282d;
  --navy-700: #2f363d;
  --blue-600: #0b8277;
  --blue-500: #14b8a6;
  --blue-500-rgb: 20, 184, 166;
  --blue-300: #5eead4;
  --blue-100: #ccfbf1;
  --amber: #f0b429;
  --amber-rgb: 240, 180, 41;
  --amber-hover: #ffc63f;

  /* --timber-* zobrazuje SKUTOČNÉ drevo v hero ilustrácii (CLT panel),
     preto ostáva hnedé vo všetkých témach. NESMIE sa používať na prvky
     rozhrania — hnedá inde v palete nie je a zvýraznená karta potom
     v tyrkysovej aj modrej téme vyzerala ako cudzí prvok. */
  --timber-700: #6b4322;
  --timber-600: #8d5c30;
  --timber-500: #a9703f;
  --timber-400: #b07c46;
  --timber-300: #c08a4e;

  /* Zvýraznená karta ("Drevodomy a CLT") — jantár je spoločný sekundárny
     akcent naprieč všetkými témami, tak ho používa aj ona. */
  --featured-a: #ffffff;
  --featured-b: #f4fbf9;
  --featured-border: #bfe8e1;
  --featured-icon-bg: #fbf0d3;
  --featured-icon-ink: #63470d;

  /* Textové odtiene na tmavom pozadí (hero, section-dark, pätička) —
     ladené k odtieňu --navy/--blue danej témy. */
  --dark-text-lead: #b9d6d0;
  --dark-text-soft: #93b3ac;
  --dark-text-soft-2: #c7e6e0;
  --dark-text-muted: #a3c2ba;
  --dark-text-dim: #7f9c95;
  --dark-text-dimmer: #74908a;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .06), 0 6px 16px rgba(0, 0, 0, .06);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, .08), 0 18px 44px rgba(0, 0, 0, .12);
  --wrap: 1140px;
}

/* Svetlo-technický — hero/pätička ostávajú štrukturálne tmavé (rovnaká
   funkcia ako v defaulte), ale navy je výrazne posvetlená a odsýtená,
   modrá zostáva sýta technická modrá. Najsvetlejší z 3 variantov. */
[data-theme="svetlo-technicky"] {
  --ink: #16222c;
  --ink-2: #45596a;
  --ink-3: #576a7c;
  --paper: #f8fafc;
  --mist: #eef3f8;
  --mist-2: #dfe8f0;
  --line: #cddae5;

  --navy-900: #3d4a57;
  --navy-800: #4a5966;
  --navy-700: #5c6d7a;
  --blue-600: #1d6dae;
  --blue-500: #2f86cc;
  --blue-500-rgb: 47, 134, 204;
  --blue-300: #8fc4ec;
  --blue-100: #e3f1fb;
  --amber: #f0b429;
  --amber-rgb: 240, 180, 41;
  --amber-hover: #ffc63f;

  --featured-a: #ffffff;
  --featured-b: #f1f7fd;
  --featured-border: #c5ddf2;
  --featured-icon-bg: #fbf0d3;
  --featured-icon-ink: #63470d;

  --dark-text-lead: #d8e6f2;
  --dark-text-soft: #b8cddc;
  --dark-text-soft-2: #dbe9f5;
  --dark-text-muted: #c2d5e3;
  --dark-text-dim: #a3bccd;
  --dark-text-dimmer: #a8c1d2;
}

/* Uhľová a meď — takmer čierna teplá základňa namiesto modrej navy,
   medený akcent namiesto modrej. */
[data-theme="uhlova-a-med"] {
  --ink: #241a12;
  --ink-2: #5c4a3a;
  --ink-3: #6f5a48;
  --paper: #fdfaf7;
  --mist: #f6efe7;
  --mist-2: #ede0d2;
  --line: #ded0bd;

  --navy-900: #1a1512;
  --navy-800: #211a16;
  --navy-700: #2b221c;
  --blue-600: #a26437;
  --blue-500: #c98350;
  --blue-500-rgb: 201, 131, 80;
  --blue-300: #e0ab7c;
  --blue-100: #f5e2d0;
  --amber: #e0a83a;
  --amber-rgb: 224, 168, 58;
  --amber-hover: #eab975;

  --featured-a: #fffdfb;
  --featured-b: #f9efe4;
  --featured-border: #e8d3ba;
  --featured-icon-bg: #f5e4c8;
  --featured-icon-ink: #5c440f;

  --dark-text-lead: #e3d3c4;
  --dark-text-soft: #bfa792;
  --dark-text-soft-2: #ecdcce;
  --dark-text-muted: #cbb3a0;
  --dark-text-dim: #a68d79;
  --dark-text-dimmer: #9a8170;
}

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

/* Vlastné display (napr. .demand-form { display: grid }) prebíja
   prehliadačové [hidden]{display:none}, preto to vynucujeme. */
[hidden] { display: none !important; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

h1, h2, h3 {
  margin: 0 0 .6em;
  line-height: 1.12;
  letter-spacing: -0.022em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.05rem, 6.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.4rem); }
h3 { font-size: 1.14rem; letter-spacing: -0.012em; }

p { margin: 0 0 1rem; color: var(--ink-2); }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-600); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 700px) {
  .wrap { padding: 0 32px; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-800);
  color: #fff;
  padding: .75rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.btn-primary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--blue-500); }

.btn-accent {
  background: var(--amber);
  color: #2a1c00;
  box-shadow: 0 10px 26px rgba(var(--amber-rgb), .28);
}
.btn-accent:hover { background: var(--amber-hover); }

.btn-ghost {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .32);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }

.btn-lg { min-height: 54px; padding: 1rem 1.85rem; font-size: 1.05rem; }
.btn-sm { min-height: 42px; padding: .55rem 1.05rem; font-size: .95rem; }
.btn-block { display: flex; width: 100%; }

.btn:active { transform: translateY(1px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  padding-top: .6rem;
  padding-bottom: .6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark { display: flex; }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-weight: 750;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.brand-sub {
  display: none;
  font-size: .74rem;
  color: var(--ink-3);
  letter-spacing: .02em;
  line-height: 1.2;
}

@media (min-width: 560px) {
  .brand-sub { display: block; }
}

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav .btn { white-space: nowrap; }
.site-nav > a:not(.btn) {
  display: none;
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
  font-size: .96rem;
}
.site-nav > a:not(.btn):hover { color: var(--blue-600); }

@media (min-width: 860px) {
  .site-nav > a:not(.btn) { display: inline; }
}

.site-nav a.nav-phone {
  display: none;
  font-weight: 750;
  color: var(--blue-600);
  white-space: nowrap;
}

@media (min-width: 600px) {
  .site-nav a.nav-phone { display: inline; }
}

.hero-phone {
  margin: 1rem 0 0;
  font-size: .95rem;
  color: var(--dark-text-soft);
}

.hero-phone a {
  display: inline-block;
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(var(--amber-rgb), .55);
  /* padding drží dotykovú plochu nad WCAG 2.5.8 minimom 24 px */
  padding: .3rem 0 .35rem;
  white-space: nowrap;
}

.hero-phone a:hover { border-bottom-color: var(--amber); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90rem 42rem at 78% -10%, rgba(var(--blue-500-rgb), .42), transparent 62%),
    radial-gradient(52rem 34rem at 8% 108%, rgba(169, 112, 63, .3), transparent 60%),
    linear-gradient(168deg, var(--navy-700) 0%, var(--navy-900) 72%);
  color: #fff;
  padding: 3.25rem 0 3.5rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .06));
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }

.hero h1 { color: #fff; margin-bottom: .5em; }

.eyebrow {
  margin: 0 0 1rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--amber);
}
.eyebrow-dark { color: var(--blue-600); }

.lead {
  font-size: clamp(1.06rem, 2.3vw, 1.2rem);
  color: var(--dark-text-lead);
  max-width: 40ch;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin: 1.9rem 0 2.25rem;
}

@media (min-width: 560px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-actions .btn { flex: 0 0 auto; }
}

.hero-facts {
  list-style: none;
  margin: 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 620px) {
  .hero-facts { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.hero-facts li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "check title"
    ".     desc";
  column-gap: .55rem;
  row-gap: .15rem;
}

.hero-facts li::before {
  content: "✓";
  grid-area: check;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--amber);
}

.hero-facts strong {
  grid-area: title;
  font-size: .98rem;
  font-weight: 700;
  color: #fff;
}

.hero-facts span {
  grid-area: desc;
  font-size: .88rem;
  color: var(--dark-text-soft);
  line-height: 1.45;
}

.hero-art { display: none; }

@media (min-width: 960px) {
  .hero { padding: 4.75rem 0 5rem; }
  .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    grid-template-areas:
      "copy art"
      "facts facts";
    column-gap: 3.5rem;
    align-items: center;
  }
  .hero-copy { grid-area: copy; }
  .hero-art {
    grid-area: art;
    display: block;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45));
  }
  .art-svg { width: 100%; height: auto; border-radius: var(--radius-lg); }
  .hero-facts { grid-area: facts; margin-top: 1.5rem; }
}

/* ---------- Sections ---------- */

.section { padding: 3.5rem 0; }
main > section[id] { scroll-margin-top: 84px; }

@media (min-width: 760px) {
  .section { padding: 5.5rem 0; }
}

.section-title { max-width: 22ch; }

.section-lead {
  font-size: 1.08rem;
  max-width: 46ch;
  color: var(--dark-text-muted);
  margin-bottom: 2rem;
}
.section-lead-dark { color: var(--ink-2); }

.section-dark {
  background:
    radial-gradient(60rem 34rem at 88% 6%, rgba(var(--blue-500-rgb), .34), transparent 62%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: #fff;
}
.section-dark h2, .section-dark h3 { color: #fff; }

.section-form { background: var(--mist); }

/* ---------- Service cards ---------- */

.grid-3 {
  display: grid;
  gap: 1.1rem;
  margin-top: 2.25rem;
}

@media (min-width: 820px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.card h3 { margin-bottom: .45em; }
.card p { font-size: .98rem; margin: 0; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: var(--blue-100);
  color: var(--blue-600);
}

.card-featured {
  background: linear-gradient(180deg, var(--featured-a), var(--featured-b));
  border-color: var(--featured-border);
  box-shadow: var(--shadow-md);
}
.card-featured::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--blue-600), var(--amber));
}
.card-featured .card-icon {
  background: var(--featured-icon-bg);
  color: var(--featured-icon-ink);
}

/* ---------- Why us ---------- */

.two-col { display: grid; gap: 2.5rem; }

@media (min-width: 900px) {
  .two-col {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 4rem;
    align-items: start;
  }
}

.reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.reasons li {
  padding-left: 1.25rem;
  border-left: 3px solid var(--blue-500);
  color: var(--dark-text-muted);
  font-size: .99rem;
}
.reasons strong {
  display: block;
  color: #fff;
  font-size: 1.06rem;
  margin-bottom: .25rem;
  letter-spacing: -0.01em;
}

.panel {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
}

@media (min-width: 760px) {
  .panel { padding: 2.25rem 2rem; }
}

.panel-title { font-size: 1.3rem; margin-bottom: 1.1rem; }

.checklist { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .85rem; }
.checklist li {
  position: relative;
  padding-left: 2rem;
  color: var(--dark-text-soft-2);
  font-size: .99rem;
  line-height: 1.5;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: inset 0 0 0 6px var(--navy-900);
}

.panel-note {
  font-size: .92rem;
  color: var(--dark-text-soft);
  margin-bottom: 1.5rem;
}

/* ---------- Form ---------- */

.form-layout { display: grid; gap: 1.5rem; margin-top: 2.25rem; }

@media (min-width: 940px) {
  .form-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    gap: 2.5rem;
    align-items: start;
  }
}

.demand-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 620px) {
  .demand-form { padding: 2.25rem 2rem; }
}

.field-grid { display: grid; gap: 1.1rem; }

@media (min-width: 620px) {
  .field-grid { grid-template-columns: 1fr 1fr; }
}

.field { display: grid; gap: .4rem; margin: 0; }

.field label {
  font-size: .9rem;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: .8rem .9rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--mist-2);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 49%, var(--ink-3) 50%, var(--ink-3) 56%, transparent 57%),
                    linear-gradient(-45deg, transparent 49%, var(--ink-3) 50%, var(--ink-3) 56%, transparent 57%);
  background-size: 11px 11px, 11px 11px;
  background-position: right 1.35rem center, right 0.85rem center;
  background-repeat: no-repeat;
}

.field input::placeholder,
.field textarea::placeholder { color: #93a0ad; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(var(--blue-500-rgb), .16);
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}

@media (min-width: 860px) {
  .faq { grid-template-columns: 1fr 1fr; gap: 1.1rem 2.2rem; }
}

.faq-item {
  padding: 1.35rem 1.4rem;
  background: var(--mist);
  border: 1px solid var(--mist-2);
  border-radius: var(--radius);
}

.faq-item h3 {
  margin-bottom: .5em;
  font-size: 1.05rem;
  color: var(--ink);
}

.faq-item p {
  margin: 0;
  font-size: .97rem;
  line-height: 1.6;
}

.label-optional {
  margin-left: .4rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: .01em;
}

.field-file input[type="file"] {
  width: 100%;
  padding: .85rem .9rem;
  font: inherit;
  font-size: .95rem;
  color: var(--ink-2);
  background: var(--paper);
  border: 1.5px dashed var(--mist-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}

.field-file input[type="file"]:hover {
  border-color: var(--blue-300);
  background: #fff;
}

.field-file input[type="file"]:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue-500);
  border-style: solid;
  box-shadow: 0 0 0 4px rgba(var(--blue-500-rgb), .16);
}

.field-file input[type="file"]::file-selector-button {
  margin-right: .9rem;
  padding: .5rem 1rem;
  font: inherit;
  font-size: .9rem;
  font-weight: 650;
  color: #fff;
  background: var(--blue-600);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.field-file input[type="file"]::file-selector-button:hover {
  background: var(--blue-500);
}

.field-hint {
  font-size: .86rem;
  color: var(--ink-3);
  line-height: 1.5;
}

.field-consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .7rem;
  margin-top: .25rem;
}

.field-consent input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: .18rem 0 0;
  accent-color: var(--blue-600);
  flex: 0 0 auto;
}

.field-consent label {
  font-size: .92rem;
  font-weight: 400;
  color: var(--ink-2);
  line-height: 1.5;
}

.form-success {
  padding: 2rem 1.6rem;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--mist-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-success:focus { outline: none; }

.form-success:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
}

.form-success-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  background: var(--blue-600);
  border-radius: 50%;
}

.form-success h3 { font-size: 1.3rem; margin-bottom: .5em; }
.form-success p { margin: 0 auto; max-width: 34ch; }

.demo-warning {
  margin-top: 1.2rem !important;
  padding-top: 1.1rem;
  border-top: 1px solid var(--mist-2);
  font-size: .85rem;
  color: var(--ink-3);
}

.form-fineprint {
  margin: 0;
  font-size: .84rem;
  color: var(--ink-3);
  text-align: center;
}

/* ---------- Next steps ---------- */

.next-steps {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.next-steps h3 { font-size: 1.14rem; margin-bottom: 1.25rem; }

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.75rem;
  font-size: .95rem;
  color: var(--ink-2);
  line-height: 1.5;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -.1rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
}

.steps strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: .15rem;
}

.next-steps-address {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: .93rem;
  color: var(--ink-2);
  line-height: 1.55;
}
.next-steps-address strong { display: block; color: var(--ink); }

/* ---------- Kontakt a mapa ---------- */

.section-contact { background: var(--mist); }

.contact-layout {
  display: grid;
  gap: 1.4rem;
  margin-top: 1.8rem;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 2rem;
    align-items: start;
  }
}

.contact-card {
  background: var(--paper);
  border: 1px solid var(--mist-2);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}

.contact-row {
  display: grid;
  gap: .2rem;
  margin: 0 0 1.1rem;
}

.contact-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.contact-value {
  font-size: .98rem;
  color: var(--ink-2);
  line-height: 1.55;
}

a.contact-value { text-decoration: none; }
a.contact-value:hover { text-decoration: underline; }

.contact-strong {
  font-weight: 700;
  color: var(--blue-600);
}

/* .btn-ghost je určený na tmavé pozadie – na bielej karte ho preladíme */
.contact-card .btn-ghost {
  margin-top: .4rem;
  color: var(--blue-600);
  background: var(--paper);
  border-color: var(--mist-2);
}

.contact-card .btn-ghost:hover {
  background: var(--mist);
  border-color: var(--blue-300);
}

.contact-map {
  overflow: hidden;
  border: 1px solid var(--mist-2);
  border-radius: var(--radius);
  background: var(--mist-2);
  box-shadow: var(--shadow-sm);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

@media (min-width: 900px) {
  .contact-map iframe { height: 100%; min-height: 420px; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-900);
  color: var(--dark-text-soft);
  padding: 2.5rem 0 1.75rem;
  font-size: .93rem;
}

.footer-inner { display: grid; gap: 2rem; }

@media (min-width: 820px) {
  .footer-inner {
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.footer-heading {
  margin: 0 0 .7rem;
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.social {
  list-style: none;
  display: flex;
  gap: .6rem;
  margin: 1.1rem 0 0;
  padding: 0;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--dark-text-soft-2);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.social a:hover {
  color: #fff;
  background: var(--blue-600);
  border-color: var(--blue-500);
}

.social a:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.contact-link {
  display: block;
  /* padding drží dotykovú plochu nad WCAG 2.5.8 minimom 24 px */
  padding: .15rem 0;
  color: var(--blue-600);
  text-decoration: none;
  font-weight: 650;
}

.contact-link:hover { text-decoration: underline; }

.contact-hours { display: block; color: var(--ink-3); }

.site-footer .contact-link { color: var(--dark-text-soft-2); }
.site-footer .contact-link:hover { color: #fff; }
.site-footer .contact-hours { color: var(--dark-text-dim); }

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.5rem;
  justify-content: space-between;
  font-size: .85rem;
  color: var(--dark-text-dimmer);
}

.footer-bottom p { margin: 0; color: inherit; }

.footer-brand {
  margin: 0 0 .3rem;
  color: #fff;
  font-weight: 750;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.footer-line { margin: 0; color: var(--dark-text-dim); font-size: .9rem; }

.footer-address {
  font-style: normal;
  color: var(--dark-text-soft);
  line-height: 1.6;
}

.footer-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-nav a { color: var(--dark-text-soft-2); text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }

/* ---------- Prepínač farebnej témy ---------- */

.template-side-panel {
  position: fixed;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  z-index: 50;
  display: grid;
  gap: 14px;
}

.theme-switcher {
  display: grid;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 12px;
  box-shadow: var(--shadow-md);
}

.template-cta {
  display: grid;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow-md);
}

.theme-switcher-label {
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
}

.theme-switcher-options {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.theme-swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: conic-gradient(
    from 180deg,
    var(--swatch-a) 0deg 120deg,
    var(--swatch-b) 120deg 240deg,
    var(--swatch-c) 240deg 360deg
  );
  transition: transform .15s ease, border-color .15s ease;
}

.theme-swatch:hover { transform: scale(1.08); }

.theme-swatch[aria-pressed="true"] {
  border-color: var(--blue-600);
}

.theme-swatch:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  /* Panel sa na mobile presúva dolu doprava a oba boxy ostávajú pod
     sebou. `position: fixed` na .theme-switcher tu nefunguje: rodič
     .template-side-panel má transform, čím sa stáva obalom pre fixed
     potomkov — prepínač preto neskočil na vrch stránky, ale ľahol si
     na CTA box a prekryl tlačidlo „Chcem túto šablónu“. */
  .template-side-panel {
    top: auto;
    bottom: 12px;
    right: 12px;
    transform: none;
    gap: 8px;
  }

  .theme-switcher { padding: 8px 10px; }
  .template-cta { padding: 8px; }
  .theme-swatch { width: 28px; height: 28px; }

  .theme-switcher-label { display: none; }
  .theme-switcher-options { display: flex; flex-direction: row; gap: 10px; }
}

.theme-switcher-cta {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  background: #c6f46c;
  color: #172017;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.theme-switcher-cta:hover {
  background: #b5e955;
}

.theme-switcher-cta:hover {
  background: #b5e955;
}


.theme-switcher-back {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.25);
  text-underline-offset: 2px;
  color: inherit;
  opacity: 0.6;
}

.theme-switcher-back:hover {
  opacity: 1;
}


.velios-other-templates {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 18px clamp(16px, 4vw, 48px);
  background: #0b1220;
  color: #94a3b8;
  font-size: 12px;
}

.velios-other-templates > span:first-child {
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-right: 4px;
}

.velios-other-templates a {
  color: #cbd5e1;
  text-decoration: none;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.velios-other-templates a:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

