/* ==========================================================================
   Rosseta: globálne premenné a štýly
   ========================================================================== */

:root {
  /* --- Farby --- */
  --main-theme: #0d9c1a;              /* hlavná brand zelená (ikony, akcenty, eyebrow tagy) */
  --main-theme-text-color: #ffffff;   /* text/ikony na hlavnej zelenej */
  --dark-color: #10241a;              /* tmavá "forest" zelená (footer, CTA banner, tmavé sekcie) */
  --dark-text-color: #f3f7f4;         /* text na tmavej zelenej */
  --third-color: #f4f8f4;             /* jemné svetlozelené pozadie sekcií */
  --third-text-color: #17201a;        /* hlavný tmavý text na svetlom pozadí */
  --muted-text-color: #5c6b62;        /* tlmený text (odseky, popisky) */
  --border-color: rgba(16, 36, 26, 0.10);
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(237, 237, 237, 0.2);
  --surface-color: #ffffff;
  --main-color: #063a2b;              /* tmavá zelená pre pozadie tlačidiel (téma 1) */
  --main-text-color: #ffffff;         /* text/ikony na main-color */
  --second-color: #abdf6d;            /* limetková zelená pre pozadie tlačidiel (téma 2) / akcent */
  --second-text-color: #063a2b;       /* text/ikony na second-color */

  /* --- Typografia --- */
  --font-main: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* --- Ostatné --- */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-soft: 0 20px 60px -20px rgba(16, 36, 26, 0.25);
  --shadow-card: 0 10px 30px -12px rgba(16, 36, 26, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--third-text-color);
  background-color: var(--surface-color);
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1250px;
  padding-left: 25px;
  padding-right: 25px;
}

.text-muted-custom {
  color: var(--muted-text-color);
}

.bg-theme {
  background-color: var(--main-theme);
  color: var(--main-theme-text-color);
}

.bg-second {
  background-color: var(--dark-color);
  color: var(--dark-text-color);
}

.bg-third {
  background-color: var(--third-color);
  color: var(--third-text-color);
}

.text-theme {
  color: var(--main-theme);
}

/* --- Lucide ikony --- */
[data-lucide] {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.icon-sm [data-lucide] {
  width: 18px;
  height: 18px;
}

.icon-lg [data-lucide] {
  width: 32px;
  height: 32px;
}

/* --- Glass efekt --- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
}

.glass-dark {
  background: rgba(16, 36, 26, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
}

/* ==========================================================================
   Univerzálny základ sekcií a nadpisov
   Použiteľné na akejkoľvek stránke: <section class="section">, vnútri
   <div class="heading-box"><span class="eyebrow">…</span><h2 class="heading">…</h2></div>
   ========================================================================== */

.section {
  padding-top: 110px;
  padding-bottom: 110px;
}

@media (max-width: 767.98px) {
  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

.heading-box {
  margin-bottom: 3rem;
}

.heading-box .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 300;
  color: #0b0b0b;
  margin-bottom: 14px;
}

.heading-box .eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--second-color);
  flex-shrink: 0;
}

.heading,
.heading-box .heading {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.0304em;
  line-height: 1.15;
  color: var(--third-text-color);
  margin: 0;
}

@media (max-width: 767.98px) {
  .heading,
  .heading-box .heading {
    font-size: 2rem;
  }
}

/* --- FAQ položka (globálna, znovupoužiteľná na akejkoľvek stránke) --- */
.faq-item {
  background: var(--third-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item + .faq-item {
  margin-top: 16px;
}

.faq-item-toggle {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  text-align: left;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--third-text-color);
}

.faq-item-answer {
  padding: 0 24px 24px;
  color: var(--muted-text-color);
  line-height: 1.6;
}

.faq-item-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--third-text-color);
}

.faq-item-icon::before,
.faq-item-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: opacity 0.2s ease;
}

.faq-item-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-item-icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item-toggle[aria-expanded="true"] .faq-item-icon::after {
  opacity: 0;
}

/* --- Page banner (globálny, pre úvod podstránok ako sluzby.php) --- */
.page-banner {
  padding-top: 170px;
  padding-bottom: 90px;
}

@media (max-width: 767.98px) {
  .page-banner {
    padding-top: 140px;
    padding-bottom: 60px;
  }
}

.page-banner p {
  max-width: 520px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}

.page-banner-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s ease;
}

.page-banner-back:hover {
  color: #ffffff;
}

.page-banner-back [data-lucide] {
  width: 16px;
  height: 16px;
}

.page-banner-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
}

.page-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Obsah detailu služby (globálne, sluzba-*.php) --- */
.service-info-card {
  background: var(--third-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.service-info-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.service-info-card p {
  color: var(--muted-text-color);
  margin-bottom: 20px;
}

.service-info-card .t-btn {
  width: 100%;
  justify-content: center;
}

.service-info-card .t-btn + .t-btn {
  margin-top: 12px;
}

.service-includes {
  padding-left: 20px;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--muted-text-color);
}

.service-includes li::marker {
  color: var(--second-color);
}

/* --- Galéria služby: 7 na riadok na desktope, 3 na mobile --- */
.service-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-gallery img {
  width: calc((100% - 6 * 12px) / 7);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  .service-gallery img {
    width: calc((100% - 2 * 12px) / 3);
  }
}

/* --- Fotogaléria (globálna, napr. galeria.php): 6 na riadok --- */
.photo-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.photo-gallery a {
  display: block;
  width: calc((100% - 5 * 12px) / 6);
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.photo-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-gallery a:hover img {
  transform: scale(1.06);
}

@media (max-width: 767.98px) {
  .photo-gallery a {
    width: calc((100% - 2 * 12px) / 3);
  }
}

/* --- Videogaléria (globálna, napr. galeria.php): obrázok + pulzujúca play ikonka --- */
.video-tile {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.video-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-tile:hover img {
  transform: scale(1.06);
}

.video-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 15, 9, 0.25);
}

.video-tile-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--second-color);
  color: var(--second-text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  animation: video-pulse 2s infinite;
}

.video-tile-play [data-lucide] {
  width: 24px;
  height: 24px;
  transform: translateX(2px);
}

@keyframes video-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(171, 223, 109, 0.55);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(171, 223, 109, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(171, 223, 109, 0);
  }
}

/* --- Cenníková tabuľka (globálna, napr. kamenivo.php) --- */
.pricing-table-note {
  color: var(--muted-text-color);
  font-size: 0.9rem;
}

.pricing-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.pricing-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.pricing-table th {
  background: var(--dark-color);
  color: var(--dark-text-color);
  text-align: left;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.pricing-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  color: var(--third-text-color);
  white-space: nowrap;
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody tr:not(.pricing-table-category):hover td {
  background: var(--third-color);
}

.pricing-table th:nth-child(n+2),
.pricing-table td:nth-child(n+2) {
  text-align: right;
}

.pricing-table-category td {
  background: var(--second-color);
  color: var(--second-text-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: left !important;
}

/* --- Kontaktný hero s prekrývajúcou formulárovou kartou (globálne, kontakt.php) --- */
.contact-form-card {
  background: var(--surface-color);
  color: var(--third-text-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 36px;
  text-align: left;
}

.contact-form-card h2 {
  color: var(--third-text-color);
}

.contact-form-card .form-label {
  color: var(--third-text-color);
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
  background: var(--third-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.95rem;
  color: var(--third-text-color);
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  background: var(--third-color);
  border-color: var(--main-theme);
  box-shadow: none;
  color: var(--third-text-color);
}

.contact-form-card textarea.form-control {
  resize: vertical;
}

/* --- Jednoduchá karta s kontaktnými údajmi (globálne, kontakt.php) --- */
.contact-person-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
}

.contact-person-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-person-card .contact-person-role {
  color: var(--muted-text-color);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.contact-person-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.contact-person-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--third-text-color);
}

.contact-person-card a {
  color: var(--third-text-color);
  transition: color 0.2s ease;
}

.contact-person-card a:hover {
  color: var(--main-theme);
}

/* --- Tmavá karta s rýchlymi odkazmi (globálna, napr. namiesto parallaxu) --- */
.quick-links-card {
  background: var(--dark-color);
  color: var(--dark-text-color);
  border-radius: var(--radius-lg);
  padding: 50px 44px;
}

@media (max-width: 767.98px) {
  .quick-links-card {
    padding: 36px 26px;
  }
}

.quick-links-card .heading-box {
  margin-bottom: 0;
}

.quick-links-card .heading-box .eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.quick-links-card .heading {
  color: #ffffff;
}

.quick-links-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-link-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 400;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.quick-link-tag:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

/* --- CTA parallax pruh (globálny, spoločný include cta-parallax.php) --- */
.cta-parallax {
  position: relative;
  padding: 130px 0;
  color: #ffffff;
  text-align: center;
  background-image: linear-gradient(rgba(6, 15, 9, 0.6), rgba(6, 15, 9, 0.6)), url("../img/projects/proj2.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 992px) {
  .cta-parallax {
    background-attachment: fixed;
  }
}

@media (max-width: 767.98px) {
  .cta-parallax {
    padding: 80px 0;
  }
}

/* --- Karta služby s obrázkom (globálna, napr. sluzby.php) --- */
.service-detail-card {
  display: block;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-detail-card:hover {
  transform: translateY(-6px);
}

.service-detail-card img {
  width: 100%;
  aspect-ratio: 4 / 2.8;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.service-detail-card-body {
  padding: 20px 0 0;
}

.service-detail-card-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--third-text-color);
  margin-bottom: 10px;
}

.service-detail-card-body p {
  color: var(--muted-text-color);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 16px;
}

.service-detail-card-link {
  color: var(--dark-color);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-detail-card-link [data-lucide] {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.service-detail-card:hover .service-detail-card-link [data-lucide] {
  transform: translateX(4px);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-bar {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-pill);
  padding: 14px 18px 14px 26px;
  box-shadow: var(--shadow-soft);
}

.header-logo img {
  height: 34px;
  width: auto;
}

.main-nav .nav-link {
  color: #444444;
  font-weight: 300;
  font-size: 16px;
  padding: 8px 4px !important;
  border-radius: 0;
  transition: color 0.2s ease;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus {
  color: var(--main-theme);
}

.main-nav .dropdown-menu {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 10px;
  margin-top: 10px !important;
}

.main-nav .dropdown-item {
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-nav .dropdown-item:hover {
  background-color: var(--third-color);
  color: var(--main-theme);
}

/* --- Mobilné offcanvas menu --- */
.offcanvas {
  width: min(340px, 85vw);
  border: none;
}

.offcanvas-header {
  padding: 22px 24px 12px;
}

.offcanvas-header img {
  height: 28px;
}

.offcanvas-header .btn-close {
  width: 34px;
  height: 34px;
  background-color: var(--third-color);
  background-size: 12px;
  border-radius: 50%;
  opacity: 1;
}

.offcanvas-body {
  padding: 12px 24px 28px;
  display: flex;
  flex-direction: column;
}

.offcanvas-body .navbar-nav {
  gap: 4px !important;
}

.offcanvas-body .nav-link {
  padding: 14px 14px !important;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--third-text-color);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.offcanvas-body .nav-link:hover,
.offcanvas-body .nav-link:focus {
  background-color: var(--third-color);
  color: var(--main-theme);
}

.offcanvas-body .t-btn {
  margin-top: 22px;
}

.header-cta {
  margin-left: 50px;
}

@media (max-width: 991.98px) {
  .header-cta {
    margin-left: auto;
  }
}

/* --- Tlačidlá ---
   Spoločný základ .t-btn (rozmery, typografia, medzery) + variantné
   modifikátory (.theme / .theme2 / .outline / .glass), ktoré menia
   len farby, pozadie a border. --------------------------------------- */
.t-btn {
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 0.65em 1.4em;
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

@media (max-width: 767.98px) {
  .t-btn {
    min-height: 44px;
  }
}

.t-btn.theme {
  background-color: var(--main-color);
  border-color: var(--main-color);
  color: var(--main-text-color);
}

.t-btn.theme:hover {
  background-color: var(--second-color);
  border-color: var(--second-color);
  color: var(--second-text-color);
}

.t-btn.theme .btn-icon-circle {
  background: var(--second-color);
  color: var(--main-color);
}

.t-btn.theme:hover .btn-icon-circle {
  background: var(--main-color);
  color: var(--second-color);
}

.t-btn.theme2 {
  background-color: var(--second-color);
  border-color: var(--second-color);
  color: var(--second-text-color);
}

.t-btn.theme2:hover {
  background-color: var(--main-color);
  border-color: var(--main-color);
  color: var(--main-text-color);
}

.t-btn.theme2 .btn-icon-circle {
  background: var(--main-color);
  color: var(--second-color);
}

.t-btn.theme2:hover .btn-icon-circle {
  background: var(--second-color);
  color: var(--main-color);
}

.t-btn.outline {
  background-color: transparent;
  color: var(--dark-text-color);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.t-btn.outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--dark-text-color);
}

.t-btn.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  color: #ffffff;
  border: 1px solid var(--glass-border);
}

.t-btn.glass:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.btn-icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-icon-circle [data-lucide] {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: var(--surface-color);
  color: var(--third-text-color);
  border-top: 1px solid var(--border-color);
}

.site-footer p,
.site-footer a,
.site-footer span,
.site-footer li {
  font-size: 15px;
  font-weight: 300;
  color: #4d4d4d;
}

.site-footer a {
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--main-theme);
}

.site-footer .footer-logo img {
  height: 32px;
}

.footer-heading {
  font-size: 16px;
  font-weight: 600;
  color: #0b0b0b;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
  font-size: 0.95rem;
}

.footer-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--third-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--third-text-color);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-social:hover {
  background: var(--main-theme);
  color: var(--main-theme-text-color);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.contact-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--muted-text-color);
}

.site-footer .container.section {
  padding-bottom: 0;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
  padding-bottom: 40px;
  margin-top: 50px;
}

.footer-bottom,
.footer-bottom span,
.footer-bottom a {
  font-size: 14px;
}

/* ==========================================================================
   .home-page — štýly patriace výhradne obsahu na home.php
   ========================================================================== */

.home-page .hero-banner {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.home-page .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-page .hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.home-page .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: hero-zoom 16s ease-out forwards;
}

@keyframes hero-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.home-page .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 20, 12, 0.15) 0%, rgba(9, 20, 12, 0.15) 40%, rgba(6, 15, 9, 0.85) 100%);
}

.home-page .hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 70px;
  padding-top: 160px;
  width: 100%;
}

.home-page .hero-badge {
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.home-page .hero-badge img {
  width: 20px;
  height: 20px;
}

.home-page .hero-badge span {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-page .hero-title {
  font-size: clamp(2.6rem, 4.5vw, 58px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.3;
  max-width: 780px;
}

@media (max-width: 767.98px) {
  .home-page .hero-title {
    font-size: 2.1rem;
  }
}

.home-page .hero-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.home-page .hero-feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 300;
  color: #fafafa;
}

@media (max-width: 767.98px) {
  .home-page .hero-feature-list {
    gap: 14px;
  }

  .home-page .hero-feature-list li {
    font-size: 13px;
    gap: 6px;
  }
}

.home-page .hero-feature-list [data-lucide] {
  width: 23px;
  height: 23px;
  color: var(--second-color);
}

@media (max-width: 767.98px) {
  .home-page .hero-feature-list [data-lucide] {
    width: 16px;
    height: 16px;
  }
}

.home-page .hero-side-text {
  max-width: 550px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.55;
  color: #fafafa;
}

@media (max-width: 767.98px) {
  .home-page .hero-side-text {
    font-size: 14px;
    line-height: 1.5;
  }
}

@media (max-width: 767.98px) {
  .home-page .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .home-page .hero-buttons .t-btn {
    font-size: 13px;
    padding: 0.6em 1.1em;
  }

  .home-page .hero-buttons .btn-icon-circle {
    width: 26px;
    height: 26px;
  }

  .home-page .hero-buttons .btn-icon-circle [data-lucide] {
    width: 13px;
    height: 13px;
  }
}

/* --- Nástupná animácia obsahu hero banneru (pri načítaní stránky) --- */
.home-page .hero-badge,
.home-page .hero-title,
.home-page .hero-feature-list,
.home-page .hero-side-text,
.home-page .hero-buttons {
  opacity: 0;
  animation: hero-fade-up 0.8s ease forwards;
}

.home-page .hero-badge {
  animation-delay: 0.1s;
}

.home-page .hero-title {
  animation-delay: 0.25s;
}

.home-page .hero-side-text {
  animation-delay: 0.35s;
}

.home-page .hero-feature-list {
  animation-delay: 0.5s;
}

.home-page .hero-buttons {
  animation-delay: 0.6s;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .hero-media img {
    animation: none;
  }

  .home-page .hero-badge,
  .home-page .hero-title,
  .home-page .hero-feature-list,
  .home-page .hero-side-text,
  .home-page .hero-buttons {
    opacity: 1;
    animation: none;
  }
}

/* --- Scroll animácie (globálne, JS v main.js pridáva triedu .reveal a .is-visible) --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Dôvera / štatistiky (obrázkový panel + glass karty) --- */
.home-page .trust-stats-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 28px;
}

.home-page .trust-stats-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.home-page .trust-stats-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 15, 9, 0.55);
  z-index: 0;
}

.home-page .trust-stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 767.98px) {
  .home-page .trust-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.home-page .trust-stat-card {
  padding: 30px 16px;
  text-align: center;
  color: #ffffff;
}

.home-page .trust-stat-card .stat-number {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.home-page .trust-stat-card .stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
}

/* --- Dlaždice služieb (obrázok + popisok) --- */
.home-page .service-tile {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3.3;
}

.home-page .service-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.home-page .service-tile:hover img {
  transform: scale(1.06);
}

.home-page .service-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(6, 15, 9, 0.65) 100%);
  transition: background 0.3s ease;
}

.home-page .service-tile:hover::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(6, 15, 9, 0.82) 100%);
}

.home-page .service-tile .service-tile-content {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
}

.home-page .service-tile .service-tile-label {
  display: block;
  color: #ffffff;
  font-weight: 500;
  font-size: 24px;
}

.home-page .service-tile .service-tile-desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease, margin-top 0.3s ease;
}

.home-page .service-tile:hover .service-tile-desc {
  margin-top: 8px;
  max-height: 4.5em;
  opacity: 1;
  transform: translateY(0);
}

.home-page .about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.home-page .about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.home-page .about-floating-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
}

.home-page .check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.home-page .check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.home-page .check-list .check-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--main-theme) 15%, transparent);
  color: var(--main-theme);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.home-page .check-list .check-icon [data-lucide] {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}

.home-page .reference-item {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.home-page .reference-item.small {
  aspect-ratio: 1.3 / 1;
}

.home-page .reference-item.big {
  aspect-ratio: 1 / 1.5;
}

.home-page .reference-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.home-page .reference-item:hover img {
  transform: scale(1.06);
}

.home-page .reference-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(6, 15, 9, 0.6) 100%);
}

.home-page .reference-item-label {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  color: #ffffff;
  font-weight: 500;
  font-size: 1.15rem;
}

