/* 2026 refresh: one stylesheet layered over the old Joomla template (loaded last).
   Brand blue stays; headings keep Comfortaa; body text is a regular-weight system sans.
   The amber "lamp" colour is reserved for the primary action. */
:root {
  --sky: #1b97e4;
  --deep: #0d5fa3;
  --ink: #1c2733;
  --text: #36414d;
  --muted: #5d6a78;
  --mist: #f1f6fa;
  --line: #d9e3eb;
  --lamp: #f5b83d;
  --radius: 10px;
}

/* ---------- base ---------- */
html body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
}
.body-innerwrapper { overflow-x: clip; }
body h1, body h2, body h3, body h4, body h5, body h6 {
  font-family: Comfortaa, system-ui, sans-serif;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
}
#sp-main-body p, #sp-main-body li { font-size: 17px; line-height: 1.65; color: var(--text); text-align: left; }
#sp-main-body p[style*="justify"], #sp-main-body div[style*="justify"] { text-align: left !important; }
/* full-width text blocks: a centred column of readable width instead of 1200px-long lines */
#sp-main-body .qx-col-lg-12 > .qx-col-wrap > .qx-element-wrap > .qx-element-text { max-width: 76ch; margin-inline: auto; }
/* !important: the per-element rules copied from the old headings carry an id and would win otherwise */
#sp-main-body h1 { font-size: clamp(30px, 3.4vw, 42px) !important; font-weight: 700 !important; line-height: 1.2 !important; margin: 0 0 14px; }
#sp-main-body .qx-element-text > h3, #sp-main-body .qx-element-text > h2,
#sp-main-body .lt-title-left h3 { font-size: 26px !important; font-weight: 700 !important; line-height: 1.25; margin: 34px 0 14px; }
#sp-main-body .qx-element-text > h1 ~ h3 { font-size: 19px !important; font-weight: 400 !important; line-height: 1.5; color: var(--muted); margin: 0 0 6px; }
/* headings carry old editor formatting like <span style="font-size:10pt">; let the heading decide its own size */
#sp-main-body h1 span[style], #sp-main-body h2 span[style], #sp-main-body h3 span[style] { font-size: inherit !important; }
#sp-main-body h1 strong, #sp-main-body h2 strong, #sp-main-body h3 strong { font-weight: inherit; color: inherit; }
#sp-main-body .lt-who-content h3 { font-size: 20px !important; margin-top: 10px; }
#sp-main-body h3 a { color: var(--ink); text-decoration: none; }
#sp-main-body h3 a:hover { color: var(--deep); }
#sp-component { padding-left: 15px; padding-right: 15px; }   /* the template had 15px / 10px */
#sp-main-body h3.qx-blurb-title { font-size: 18px; font-weight: 700; line-height: 1.35; margin: 18px 0 6px; }
#sp-page-title { display: none; }                       /* always empty on this site, but it reserved space */
#sp-main-body strong { color: var(--ink); font-weight: 650; }
#sp-main-body a { color: var(--deep); }
#sp-main-body img { border-radius: var(--radius); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--lamp); outline-offset: 2px;
}
/* the template faded every block in on scroll; show content straight away */
.wow { visibility: visible !important; animation: none !important; }

/* ---------- top bar + header ---------- */
#sp-section-1 { background: var(--ink); padding: 0; }
#sp-section-1 .sp-contact-info { margin: 0; padding: 9px 0; text-align: left; }
#sp-section-1 .sp-contact-info li { font-size: 14px; margin: 0 22px 0 0; color: #c9d6e2; }
#sp-section-1 .sp-contact-info a { color: #fff; }
#sp-section-1 .social-icons { margin: 0; padding: 9px 0; text-align: right; }
body #sp-header, body.itemid-437 #sp-header { background-color: var(--sky) !important; box-shadow: none; }
body #sp-header .container, body.itemid-437 #sp-header .container { background: none !important; }
body .sp-megamenu-parent > li > a { font-family: Comfortaa, sans-serif; font-size: 14px; letter-spacing: .01em; }
@media (min-width: 992px) { #offcanvas-toggler { display: none !important; } }   /* the full menu is already visible */

/* ---------- buttons ---------- */
.tmo-btn, body .qx-btn, body #kontaktny-formular button {
  display: inline-block; border: 0; border-radius: 999px; padding: 13px 26px;
  font-family: Comfortaa, sans-serif; font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: 0;
  text-transform: none; text-decoration: none; cursor: pointer;
  background: var(--sky); color: #fff !important; transition: background-color .15s;
}
.tmo-btn:hover, body .qx-btn:hover, body #kontaktny-formular button:hover { background: var(--deep); }
.tmo-btn--lamp { background: var(--lamp); color: var(--ink) !important; }
.tmo-btn--lamp:hover { background: #ffc955; }
.tmo-tel { font-family: Comfortaa, sans-serif; font-weight: 700; text-decoration: none; white-space: nowrap; }
.tmo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin: 0; }

/* ---------- full-bleed helper ---------- */
.tmo-bleed { width: 100vw; margin-left: calc(50% - 50vw); }

/* The page builder's script positions "stretched" sections with inline width/margin and gets it wrong on phones
   (the whole contact block ended up off-screen). Position them here instead; !important beats its inline styles. */
.qx-section--stretch { width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: 0 !important; left: auto !important; box-sizing: border-box; }
.qx-section--stretch .qx-container { max-width: 100%; }

/* ---------- homepage hero: evening bedroom seen through a fine insect mesh ---------- */
.tmo-hero { position: relative; top: 0 !important; min-height: min(72vh, 640px); display: flex; align-items: flex-end; background: var(--ink); }
.tmo-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; border-radius: 0 !important; }
.tmo-hero::before {            /* darkens the side the text sits on */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12, 22, 34, .88) 0%, rgba(12, 22, 34, .62) 36%, rgba(12, 22, 34, 0) 68%);
}
.tmo-hero::after {             /* the mesh: 1px threads every 5px, fading out towards the photo */
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .075) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .075) 0 1px, transparent 1px 5px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 30%, transparent 62%);
  mask-image: linear-gradient(90deg, #000 0%, #000 30%, transparent 62%);
  pointer-events: none;
}
.tmo-hero-inner { position: relative; z-index: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 72px 24px 64px; }
#sp-main-body .tmo-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 58px) !important; font-weight: 700; line-height: 1.12 !important; max-width: 14ch; margin: 0 0 18px; }
#sp-main-body .tmo-hero p.tmo-lead { color: #e6edf3; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; max-width: 44ch; margin: 0 0 30px; }
#sp-main-body .tmo-hero .tmo-tel { color: #fff; font-size: 18px; }

/* ---------- homepage intro ---------- */
#qx-section-7212 { padding: 72px 0 64px !important; }
#qx-section-7212 .lt-about-sub::before { display: none; }                /* the old vertical divider */
#qx-section-7212 .lt-about-sub p { max-width: 58ch; }
#qx-section-7212 #lt-learn-more .qx-btn { display: inline-block; width: auto; padding: 13px 26px; text-transform: none; border-radius: 999px !important; }
#qx-section-7212 #lt-learn-more .qx-btn::first-letter { text-transform: uppercase; }
#qx-section-7212 #lt-learn-more { text-align: left; padding-top: 8px; }

/* ---------- section headings ---------- */
body .lt-title h1, body .lt-title h2, body .lt-title h3, .tmo-h2 {
  font-size: clamp(28px, 3.2vw, 40px) !important; font-weight: 700 !important; line-height: 1.2 !important;
  letter-spacing: 0 !important; text-transform: none !important; text-align: left !important; color: var(--ink) !important; margin: 0 0 28px;
}
body .lt-title h3::after, body .lt-title h3::before, body .lt-title .qx-blurb-content { display: none !important; }

/* ---------- offer cards ---------- */
.tmo-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin: 0; padding: 0; list-style: none; }
.tmo-cards li:first-child { grid-column: span 2; }
.tmo-cards li:first-child .tmo-card img { aspect-ratio: 8 / 3; object-position: 30% 30%; }
@media (max-width: 1100px) { .tmo-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tmo-cards { grid-template-columns: 1fr; } .tmo-cards li:first-child { grid-column: auto; } .tmo-cards li:first-child .tmo-card img { aspect-ratio: 4 / 3; } }
.tmo-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: border-color .15s, transform .15s; }
.tmo-card:hover { border-color: var(--sky); transform: translateY(-3px); }
.tmo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0 !important; background: var(--mist); }
.tmo-card-body { padding: 18px 20px 22px; }
#sp-main-body .tmo-card h3 { font-size: 20px; font-weight: 700; line-height: 1.3; margin: 0 0 6px; color: var(--ink); }
.tmo-card p { font-size: 15.5px !important; line-height: 1.5 !important; color: var(--muted) !important; margin: 0; }
#qx-section-821827 { padding: 0 0 80px !important; }

/* ---------- what you can count on ---------- */
.tmo-facts { background: var(--mist); padding: 64px 24px; }
.tmo-facts-inner { max-width: 1200px; margin: 0 auto; }
.tmo-facts ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px 40px; margin: 0; padding: 0; list-style: none; }
.tmo-facts li { border-top: 3px solid var(--sky); padding-top: 16px; }
.tmo-facts li strong { display: block; font-family: Comfortaa, sans-serif; font-size: 19px; line-height: 1.3; color: var(--ink); margin-bottom: 6px; }
.tmo-facts li span { font-size: 15.5px; line-height: 1.5; color: var(--muted); }

/* ---------- closing call to action on product pages ---------- */
.tmo-cta { background: var(--ink); color: #fff; padding: 56px 24px; margin-top: 72px; }
.tmo-cta-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
#sp-main-body .tmo-cta h2 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; margin: 0 0 8px; }
.tmo-cta p { color: #c9d6e2 !important; margin: 0; max-width: 52ch; }
#sp-main-body .tmo-cta .tmo-tel { color: #fff; font-size: 18px; }

/* ---------- homepage contact block + closing band (photo backgrounds) ---------- */
#qx-section-4310060 p, #qx-section-4310060 label, #qx-section-4310060 h3, #qx-section-4310060 h4,
#qx-section-4310060 a, #qx-section-6414781 h1, #qx-section-6414781 h2, #qx-section-6414781 h3 { color: #fff !important; }
#qx-section-4310060 .qx-column { background: rgba(12, 22, 34, .72) !important; border-radius: var(--radius); padding: 28px !important; }
#qx-section-4310060 .qx-element-text h3, #qx-section-4310060 h4, #qx-section-6414781 h3, #qx-section-6414781 h2 { text-transform: lowercase !important; letter-spacing: 0 !important; }
#qx-section-4310060 .qx-element-text h3::first-letter, #qx-section-4310060 h4::first-letter,
#qx-section-6414781 h3::first-letter, #qx-section-6414781 h2::first-letter { text-transform: uppercase; }
#qx-section-4310060 .qx-element-text h3 { font-size: clamp(28px, 3.2vw, 40px) !important; line-height: 1.2; }
#qx-section-4310060 input, #qx-section-4310060 textarea, #kontaktny-formular input, #kontaktny-formular textarea {
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 16px; color: var(--ink); background: #fff;
}

/* ---------- tables in text pages ---------- */
.tmo-table { overflow-x: auto; margin: 18px 0 8px; }
.tmo-table table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.tmo-table th, .tmo-table td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); }
.tmo-table th { font-family: Comfortaa, sans-serif; font-size: 14px; color: var(--ink); border-bottom: 2px solid var(--ink); white-space: nowrap; }
.tmo-table td:first-child { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; color: var(--ink); min-width: 17ch; }

/* ---------- realizácie ---------- */
.tmo-refs { max-width: 1200px; margin: 0 auto; padding: 56px 0 0; }
#sp-main-body .tmo-refs-lead { font-size: 19px; color: var(--muted); max-width: 60ch; margin: 0 0 8px; }
.tmo-refs section { margin-top: 64px; }
#sp-main-body .tmo-refs .tmo-h2 { margin-bottom: 4px; }
#sp-main-body .tmo-refs-more, #sp-main-body .tmo-refs-more a { margin: 0 0 28px; font-size: 16px; }
.tmo-job { margin: 0 0 44px; }
#sp-main-body .tmo-job h3 { font-size: 21px !important; font-weight: 700 !important; line-height: 1.3; margin: 0 0 4px; }
#sp-main-body .tmo-job p { margin: 0; color: var(--muted); }
.tmo-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.tmo-gallery a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.tmo-gallery a:first-child { grid-column: span 2; grid-row: span 2; }      /* the finished result leads */
.tmo-gallery img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0 !important; transition: transform .2s; }
.tmo-gallery a:hover img { transform: scale(1.03); }
@media (max-width: 800px) { .tmo-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .tmo-gallery img { transition: none; } .tmo-gallery a:hover img { transform: none; } }

/* six menu items need a little more room than the template's 25% / 75% split gave five */
@media (min-width: 1200px) {
  body #sp-header #sp-logo { width: 22%; }
  body #sp-header #sp-menu { width: 78%; }
  body .sp-megamenu-parent > li > a { padding-left: 11px; padding-right: 11px; }
}

/* the two photo bands: fill the whole section, keep text readable on any crop */
#qx-section-4310060 { background-color: var(--ink) !important; background-size: cover !important; background-position: center !important; }
#qx-section-6414781 { box-shadow: inset 0 0 0 2000px rgba(12, 22, 34, .5); padding: 72px 20px !important; }
#sp-main-body #qx-section-6414781 .lt-provide p {
  color: #fff !important; font-family: Comfortaa, sans-serif; font-size: clamp(24px, 3vw, 36px) !important; font-weight: 700;
  line-height: 1.25 !important; text-transform: none !important; letter-spacing: 0 !important; text-align: center !important; margin: 0;
}
@media (max-width: 991px) {
  #qx-section-4310060 { padding-top: 48px !important; padding-bottom: 48px !important; }
  #qx-section-4310060 .qx-column { margin-bottom: 16px; }
  #qx-section-6414781 { padding: 48px 20px !important; }
}

/* ---------- footer ---------- */
#sp-bottom { background: #121b25 !important; }
#sp-bottom, #sp-bottom a, #sp-bottom li { font-size: 15.5px; }

/* ---------- phones ---------- */
.tmo-call { display: none; }
@media (max-width: 991px) {
  #sp-section-1 .sp-contact-info { text-align: center; padding: 7px 0; }
  #sp-section-1 .sp-contact-info li { margin: 0 10px; font-size: 13px; display: inline-block; }
  #sp-section-1 .sp-contact-time, #sp-section-1 #sp-top1 { display: none !important; }
  body #sp-header { height: 68px !important; }
  body #sp-header .row { display: flex; align-items: center; justify-content: space-between; margin: 0; }
  body #sp-header #sp-logo, body #sp-header #sp-menu { width: auto; float: none; padding: 0 6px; flex: 0 0 auto; }
  body #sp-header #sp-logo { flex: 1 1 auto; }
  body #sp-header .logo { display: flex !important; align-items: center; width: auto; margin: 0; }
  body #sp-header .logo a { display: block; }
  body #sp-header .logo { height: 68px !important; }
  body #sp-header .logo img { max-height: 40px; width: auto; }
  body #offcanvas-toggler { float: none; margin: 0; padding: 0 6px; line-height: 68px !important; font-size: 26px; color: #fff; }
  .tmo-hero { min-height: 78vh; }
  .tmo-hero::before { background: linear-gradient(0deg, rgba(12, 22, 34, .92) 0%, rgba(12, 22, 34, .7) 45%, rgba(12, 22, 34, .15) 100%); }
  .tmo-hero::after { -webkit-mask-image: linear-gradient(0deg, #000 0%, #000 40%, transparent 80%); mask-image: linear-gradient(0deg, #000 0%, #000 40%, transparent 80%); }
  .tmo-hero-inner { padding: 40px 20px 36px; }
  #qx-section-7212 { padding: 48px 0 40px !important; }
  .tmo-cta { margin-top: 48px; padding: 44px 20px; }
  .tmo-call {                    /* tap to call, always in reach */
    display: flex; align-items: center; justify-content: center; position: fixed; right: 16px; bottom: 16px; z-index: 900;
    width: 58px; height: 58px; border-radius: 50%; background: var(--lamp); color: var(--ink) !important; font-size: 26px;
    box-shadow: 0 6px 18px rgba(12, 22, 34, .35); text-decoration: none;
  }
}
@media (prefers-reduced-motion: reduce) { .tmo-card, .tmo-btn { transition: none; } .tmo-card:hover { transform: none; } }
