/*
Theme Name: Webdsgn – Kanalpro
Author: Ján Kurták / jankurtak.eu
Author URI: https://www.jankurtak.eu/
Version: 1.3.4
Requires PHP: 8.1
Text Domain: webdsgn
*/

:root {
  --dark: #1c285f;
  --dark-soft: #2f3c78;
  --hero-overlay: #111940;
  --text: #1c285f;
  --light: #f5f7ff;
  --primary: #7be666;
  --primary-dark: #5fd14d;
  --primary-soft: #c8ffbd;
  --secondary: #7be666;
  --gray: #6b7394;
  --border-light: #dde0ed;
  --border-arrow: #cacddf;
  --white: #ffffff;
  --font: 'Encode Sans Expanded', Arial, sans-serif;
  --header-h: 100px;
  --radius: 50px;
  --radius-card: 6px;
  --container: 1230px;
}

@font-face {
  font-family: 'Encode Sans Expanded';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/encode-sans-expanded/400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Encode Sans Expanded';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/encode-sans-expanded/400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Encode Sans Expanded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/encode-sans-expanded/500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Encode Sans Expanded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/encode-sans-expanded/500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Encode Sans Expanded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/encode-sans-expanded/600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Encode Sans Expanded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/encode-sans-expanded/600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Encode Sans Expanded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/encode-sans-expanded/700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Encode Sans Expanded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/encode-sans-expanded/700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Encode Sans Expanded';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/encode-sans-expanded/800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Encode Sans Expanded';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/encode-sans-expanded/800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Base */
html, body {
  position: relative;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

*:focus {
  outline: none !important;
}

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

html body {
  padding-top: var(--header-h);
}

a {
  color: var(--dark);
  text-decoration: none;
  transition: all 0.3s;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

p {
  margin-bottom: 25px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 20px;
}

h1 { font-size: 44px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }

img {
  max-width: 100%;
  height: auto;
}

section {
  position: relative;
  margin-bottom: 80px;
}

section.bg {
  background-color: var(--light);
  padding: 80px 0;
  margin-bottom: 0;
}

/* Tlačidlá */
.btn {
  font-weight: 700;
  font-size: 15px;
  line-height: 18px;
  padding: 18px 44px;
  border-radius: var(--radius);
  border-width: 2px;
  transition: all 0.3s;
  letter-spacing: 0;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled):active {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--dark);
  box-shadow: none;
}

.btn-outline-primary {
  color: var(--dark);
  border-color: var(--primary);
  background: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
}

.btn-outline-light {
  color: var(--white);
  border-color: var(--primary);
  background: transparent;
}

.btn-outline-light:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
}

.btn-link {
  color: var(--dark);
  padding: 0;
  font-weight: 700;
}

/* Šípka sa pri hoveri len posunie (transform) – šírka tlačidla sa nemení */
.btn.with-arrow::after {
  content: "\f178";
  display: inline-block;
  font-family: 'Font Awesome 7 Pro';
  font-weight: 300;
  font-size: 18px;
  line-height: 1;
  vertical-align: -2px;
  margin-left: 14px;
  transition: transform 0.3s;
}

.btn.with-arrow:hover::after {
  transform: translateX(5px);
}

/* Formuláre */
.form-control {
  height: 58px;
  border: 2px solid var(--border-light);
  border-radius: 4px;
  font-size: 14px;
  background: var(--white);
  color: var(--dark);
  padding: 0 24px;
}

.form-control::placeholder {
  color: #9b9b9b;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: none;
  background: var(--white);
}

textarea.form-control {
  height: 112px;
  padding-top: 18px;
  resize: none;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group.suhlas label {
  font-weight: 400;
  font-size: 13px;
  color: #47527f;
}

.custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--primary);
  border-color: var(--primary);
}

.custom-control-label::before,
.custom-control-label::after {
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 2px;
}

.custom-checkbox .custom-control-label::before {
  border: 2px solid var(--border-light);
  background: var(--white);
}

.custom-control {
  padding-left: 34px;
  min-height: 22px;
}

.custom-control-label::before,
.custom-control-label::after {
  left: -34px;
}

.form-group.priloha {
  display: flex;
  gap: 15px;
}

.form-group.priloha .form-control {
  flex: 1;
  background: var(--white);
}

.form-group.priloha input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.form-group.priloha .btn {
  flex: 0 0 auto;
  height: 58px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 28px;
  border-radius: 4px;
}

/* Utility */
.title-h {
  position: relative;
}

.title-h > span {
  font-weight: 400;
}

.title-h.with-border {
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.title-h.with-border::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
}

.text-center .title-h.with-border::before {
  left: 50%;
  transform: translateX(-50%);
}

.perex {
  font-size: 17px;
  color: var(--dark);
  margin-bottom: 20px;
}

.perex > p:last-child {
  margin-bottom: 0;
}

ul.with-icon {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
}

ul.with-icon > li {
  position: relative;
  padding-left: 40px;
  min-height: 30px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
  color: var(--dark);
}

ul.with-icon > li::before {
  content: "\f105";
  font-family: 'Font Awesome 7 Pro';
  font-weight: 600;
  color: var(--text);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  font-size: 12px;
  line-height: 30px;
  text-align: center;
}

ul.with-icon > li a {
  color: var(--dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

ul.with-icon > li a:hover {
  color: var(--primary-dark);
}

picture.cover {
  margin: 0;
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

picture.cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s;
}

picture.cover.fit-43 { aspect-ratio: 4 / 3; }
picture.cover.fit-11 { aspect-ratio: 1 / 1; }
picture.cover.fit-45 { aspect-ratio: 4 / 5; }
picture.cover.fit-169 { aspect-ratio: 16 / 9; }

picture.cover.bg {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  z-index: 0;
  border-radius: 0;
}

section .intro {
  position: relative;
  margin-bottom: 50px;
}

section .intro .perex {
  max-width: 600px;
}

.s-arrows {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 26px;
}

.s-arrows .btn {
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--border-arrow);
  border-radius: 50%;
  color: var(--dark);
  background: var(--light);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s-arrows .btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
}

.s-arrows .btn.slick-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.s-dots ul.slick-dots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
}

.s-dots ul.slick-dots li button {
  font-size: 0;
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  opacity: 0.5;
  padding: 0;
  transition: all 0.3s;
}

.s-dots ul.slick-dots li.slick-active button {
  opacity: 1;
  width: 30px;
  border-radius: 6px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background-color: var(--dark);
  transition: all 0.3s;
}

header > .container > .row {
  min-height: var(--header-h);
  transition: all 0.3s;
}

header.mini {
  box-shadow: 0px 0px 30px rgba(0,0,0,.5);
}

header.mini > .container > .row {
  min-height: 80px;
}

header .logo {
  display: inline-block;
  line-height: 0;
}

header .logo img {
  max-height: 46px;
  width: auto;
  transition: all 0.3s;
}

header.mini .logo img {
  max-height: 40px;
}

header .logo .logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

header #menu {
  display: flex;
  align-items: center;
}

header #menu > ul {
  display: flex;
  align-items: center;
  margin: 0;
}

header #menu > ul > li {
  position: relative;
}

header #menu > ul > li > a {
  display: block;
  padding: 15px 17px;
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
}

header #menu > ul > li:hover > a,
header #menu > ul > li.current-menu-item > a,
header #menu > ul > li.current-menu-ancestor > a,
header #menu > ul > li.current-menu-parent > a {
  color: var(--primary);
}

header #menu > ul > li.menu-item-has-children > a {
  padding-right: 30px;
}

header #menu > ul > li.menu-item-has-children > .toggleSubmenu {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  pointer-events: none;
  color: var(--white);
}

header #menu > ul > li.menu-item-has-children > .toggleSubmenu::before {
  content: "\f105";
  display: inline-block;
  font-family: 'Font Awesome 7 Pro';
  font-weight: 300;
  transform: rotate(90deg);
}

header #menu ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  list-style: none;
  margin: 0;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 10;
}

header #menu > ul > li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

header #menu ul ul li a {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
  color: var(--white);
}

header #menu ul ul li a:hover,
header #menu ul ul li.current-menu-item > a {
  color: var(--primary);
}

header #menu ul ul li .toggleSubmenu {
  display: none;
}

header #menu .cta {
  margin-left: 27px;
  padding: 0 24px;
  height: 52px;
  line-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  background-color: var(--primary);
  border-color: var(--primary);
  font-size: 14px;
}

header #menu .cta > i {
  font-size: 20px;
}

header #menu .cta:hover,
header #menu .cta:focus,
header #menu .cta:not(:disabled):not(.disabled):active {
  background: transparent;
  background-color: transparent;
  color: var(--white);
  border-color: var(--primary);
  box-shadow: none;
}

header .btn-menu {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 22px;
  color: var(--white);
  border: 0;
}

/* Page head */
section.page-head {
  background-color: var(--dark);
  padding: 80px 0 60px;
  color: var(--white);
  overflow: hidden;
  margin: 0 max(0px, calc((100% - 1720px) / 2)) 0;
}

section.page-head > picture > img {
  opacity: 0.5;
  filter: grayscale(1); 
}

section.page-head > picture.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--hero-overlay) 0%, rgba(17, 25, 64, 0.85) 15%, rgba(17, 25, 64, 0.5) 35%, rgba(17, 25, 64, 0.22) 55%, rgba(17, 25, 64, 0) 80%),
    rgba(28, 40, 95, 0.35);
  z-index: 1;
}

section.page-head > .container {
  position: relative;
  z-index: 2;
}

section.page-head h1 {
  color: var(--white);
  margin-bottom: 10px;
}

section.page-head .breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
}

section.page-head .breadcrumb li {
  color: rgba(255, 255, 255, 0.7);
}

section.page-head .breadcrumb li + li::before {
  content: "/";
  padding: 0 10px;
  opacity: 0.5;
}

section.page-head .breadcrumb li a {
  color: var(--white);
}

section.page-head .breadcrumb li a:hover {
  color: var(--primary);
}

section.page-head + section:not(.bg):not(.module-services) {
  margin-top: 80px;
}

/* Slider (hero) – odsadený blok 1720 px, hranaté rohy, navy overlay */
section.module-slider {
  margin: 0 max(0px, calc((100% - 1720px) / 2)) 0;
}

section.module-slider .slider-item {
  position: relative;
  min-height: 800px;
  display: flex !important;
  align-items: center;
  background-color: var(--hero-overlay);
  padding: 60px 0;
  overflow: hidden;
}

/* Overlay: vľavo plná tmavá navy (prekryje západ slnka), doprava slabne; celá fotka má navy tón ~45 % */
section.module-slider .slider-item > picture.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--hero-overlay) 0%, rgba(17, 25, 64, 0.85) 15%, rgba(17, 25, 64, 0.5) 35%, rgba(17, 25, 64, 0.22) 55%, rgba(17, 25, 64, 0) 80%),
    rgba(28, 40, 95, 0.35);
}

section.module-slider .slider-item > .container {
  position: relative;
  z-index: 2;
}

section.module-slider .slider-item .text {
  color: var(--white);
  max-width: 720px;
}

section.module-slider .slider-item .text .title-h {
  color: var(--white);
  font-size: 44px;
  line-height: 1.12;
  font-weight: 700;
  margin-bottom: 22px;
}

section.module-slider .slider-item .text .title-h > span {
  font-weight: 400;
}

section.module-slider .slider-item .text .perex {
  color: var(--white);
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 32px;
}

section.module-slider .slider-item .text .buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

section.module-slider .slider-item .text .buttons .btn {
  min-width: 160px;
}

section.module-slider .s-dots {
  position: absolute;
  bottom: 40px;
  left: 0;
  z-index: 3;
}

section.module-slider > .container {
  position: relative;
}

/* Služby – svetlý pás za hornou časťou (382 px), karty z neho vyčnievajú */
section.module-services {
  padding-top: 50px;
  margin-bottom: 55px;
}

section.module-services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 382px;
  background: var(--light);
  z-index: 0;
}

section.module-services > .container {
  position: relative;
  z-index: 1;
}

section.module-services .intro {
  margin-bottom: 52px;
}

section.module-services .intro .title-h {
  margin-bottom: 14px;
}

section.module-services .intro .perex {
  font-size: 17px;
  max-width: 600px;
}

section.module-services .service-item {
  position: relative;
  max-width: 495px;
  padding-top: 38px;
  margin-bottom: 20px;
}

section.module-services .service-item > .title-h {
  position: absolute;
  top: 0;
  left: -49px;
  z-index: 2;
  display: inline-block;
  margin: 0;
  padding: 0 49px;
  height: 80px;
  line-height: 80px;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  background: var(--dark);
  white-space: nowrap;
}

section.module-services .service-item.lime > .title-h {
  background: var(--primary);
  color: var(--dark);
}

section.module-services .service-item > .title-h a {
  color: inherit;
}

section.module-services .service-item > a {
  display: block;
}

section.module-services .service-item picture.cover {
  aspect-ratio: 495 / 286;
  border-radius: 0;
}

section.module-services .service-item:hover picture.cover > img {
  transform: scale(1.05);
}

/* Obsah */
section.module-content {
  margin-bottom: 75px;
}

section.module-content.bg {
  padding: 50px 0;
}

section.module-content .text > *:last-child {
  margin-bottom: 0;
}

section.module-content .text .title-h {
  margin-bottom: 26px;
}

section.module-content .text p {
  color: var(--dark);
  font-size: 16px;
}

section.module-content .text .btn {
  margin-top: 6px;
  padding: 20px 30px;
}

section.module-content .text ul:not(.with-icon) {
  padding-left: 20px;
}

section.module-content .text ul.with-icon {
  padding-left: 0;
  margin: 24px 0 20px;
}

section.module-content .text ul.with-icon > li {
  line-height: 1.5;
  padding-top: 4px;
  padding-bottom: 4px;
}

section.module-content .text ul.with-icon > li::before {
  top: 4px;
}

section.module-content .cat {
  display: block;
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 8px;
}

section.module-content .place {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  margin-bottom: 16px;
}

section.module-content .place i {
  color: var(--primary);
}

section.module-content .perex p {
  font-size: 18px;
  font-weight: 500;
}

section.module-content picture.cover {
  border-radius: 0;
}

/* Výhody – navy blok od ľavého okraja po pravý okraj kontajnera, hranaté rohy;
   po svetlej sekcii (.bg) pokračuje svetlé pozadie za hornou polovicou bloku */
section.module-benefit {
  position: relative;
  z-index: 0;
  padding: 50px 0 46px;
  margin-bottom: 100px;
  color: var(--white);
}

section.module-benefit::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  z-index: 1;
}

section.bg + section.module-benefit::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--light);
  z-index: 0;
}

section.module-benefit > .container {
  position: relative;
  z-index: 2;
}

section.module-benefit .title-h {
  color: var(--white);
}

section.module-benefit .intro {
  margin-bottom: 50px;
}

section.module-benefit .intro .title-h {
  font-size: 34px;
  margin-bottom: 0;
}

section.module-benefit .benefit-item {
  text-align: center;
  padding: 0 30px;
}

section.module-benefit .benefit-item .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  border-radius: 22px;
  background: var(--dark-soft);
  color: var(--primary);
  font-size: 40px;
}

section.module-benefit .benefit-item .title-h {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

section.module-benefit .benefit-item p {
  font-size: 13px;
  color: var(--white);
  margin: 0;
}

/* Projekty – karty 390×400 s textom na navy gradiente, slider pretečie doprava */
section.module-projects {
  margin-bottom: 76px;
  overflow: hidden;
}

section.module-projects .intro {
  margin-bottom: 52px;
  min-height: 46px;
}

section.module-projects .intro .title-h {
  font-size: 34px;
  margin-bottom: 0;
  padding-right: 130px;
}

section.module-projects .slick-projects {
  position: relative;
  margin: 0 -15px 54px;
}

section.module-projects .slick-projects::before {
  content: "";
  position: absolute;
  top: -20px;
  bottom: -20px;
  right: 100%;
  width: 100vw;
  background: var(--white);
  z-index: 5;
}

section.module-projects .slick-projects .slick-list {
  overflow: visible;
}

section.module-projects .slick-projects .slide {
  padding: 0 15px;
}

section.module-projects .project-item {
  position: relative;
  display: block;
  aspect-ratio: 390 / 400;
  border-radius: var(--radius-card);
  overflow: hidden;
  color: var(--white);
}

section.module-projects a.project-item:hover {
  color: var(--white);
}

section.module-projects .project-item picture.cover {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  border-radius: 0;
  margin: 0;
}

section.module-projects .project-item picture.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(28, 40, 95, 0.25) 0%, rgba(28, 40, 95, 0.3) 40%, rgba(28, 40, 95, 0.85) 78%, var(--dark) 100%);
}

section.module-projects .project-item:hover picture.cover > img {
  transform: scale(1.05);
}

section.module-projects .project-item .text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 30px 36px;
}

section.module-projects .project-item .cat {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 4px;
}

section.module-projects .project-item .title-h {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

section.module-projects .project-item .place {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--white);
}

section.module-projects .project-item .place i {
  font-size: 16px;
  color: var(--white);
}

section.module-projects .text-center .btn {
  padding: 23px 48px;
}

/* Formulár – svetlá sekcia, do ktorej zasahuje lišta pätičky (100 px) */
section.module-form {
  background: var(--light);
  padding: 75px 0 156px;
  margin-bottom: 0;
}

section.module-form .intro {
  margin-bottom: 20px;
}

section.module-form .intro .title-h {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
}

section.module-form .intro .title-h > span {
  font-weight: 700;
}

section.module-form .intro .perex {
  font-size: 15px;
  color: var(--dark);
  max-width: 400px;
}

section.module-form .form-group {
  margin-bottom: 18px;
}

section.module-form form .row {
  margin-left: -9px;
  margin-right: -9px;
}

section.module-form form .row > [class*="col-"] {
  padding-left: 9px;
  padding-right: 9px;
}

section.module-form .form-group.textarea {
  height: 100%;
  margin-bottom: 0;
}

section.module-form .btn.send {
  width: 100%;
  height: 112px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 16px;
  margin-bottom: 10px;
}

section.module-form .btn.send i {
  font-size: 20px;
}

section.module-form .form-group.suhlas {
  margin: 0;
}

section.module-form .inner-contact {
  margin: 30px 0 0;
}

section.module-form .inner-contact .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

section.module-form .inner-contact .contact-item > i {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--dark);
  font-size: 18px;
}

section.module-form .inner-contact .contact-item a,
section.module-form .inner-contact .contact-item span {
  color: var(--dark);
  font-weight: 600;
  padding-top: 9px;
}

section.module-form .inner-contact .contact-item a:hover {
  color: var(--primary-dark);
}

section.module-form .alert {
  margin-bottom: 30px;
}

.alert-success {
  background: var(--primary-soft);
  border: 0;
  color: var(--dark);
}

.alert-danger {
  background: #ffe4e4;
  border: 0;
  color: #8a1f1f;
}

/* FAQ – nadpis na stred, otázky pod ním */
section.module-faq {
  margin-bottom: 90px;
}

section.module-faq.bg {
  background: var(--light);
  padding: 80px 0;
  margin-bottom: 0;
}

section.module-faq .intro {
  margin-bottom: 40px;
}

section.module-faq .intro .title-h {
  margin-bottom: 16px;
}

section.module-faq .intro .perex {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  color: var(--dark);
}

section.module-faq .faq-list {
  max-width: 860px;
  margin: 0 auto;
}

section.module-faq .faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  margin-bottom: 12px;
}

section.module-faq .faq-item:last-child {
  margin-bottom: 0;
}

section.module-faq .faq-q {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}

section.module-faq .faq-q button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 15px 20px;
  border: 0;
  background: none;
  text-align: left;
  font: inherit;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  transition: color 0.3s;
}

section.module-faq .faq-q button:hover {
  color: var(--primary-dark);
}

section.module-faq .faq-q button i {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--dark);
  font-size: 13px;
  transform: rotate(-90deg);
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
}

section.module-faq .faq-q button.collapsed i {
  background: var(--white);
  border: 1px solid var(--border-light);
  transform: rotate(90deg);
}

section.module-faq.bg .faq-q button.collapsed i {
  background: var(--light);
}

section.module-faq .faq-q:hover button.collapsed i {
  background-color: var(--primary);
  border-color: transparent;
}

section.module-faq .faq-a {
  padding: 0 80px 20px 20px;
  color: var(--dark);
}

section.module-faq .faq-a p:last-child,
section.module-faq .faq-a ul:last-child,
section.module-faq .faq-a ol:last-child {
  margin-bottom: 0;
}

section.module-faq .faq-a ul,
section.module-faq .faq-a ol {
  padding-left: 20px;
}

section.module-faq .faq-a a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

section.module-faq .faq-a a:hover {
  color: var(--primary-dark);
}

/* Odkazy v texte obsahových modulov (interné prelinkovanie) */
section.module-content .text p a,
section.module-content .text li a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

section.module-content .text p a:hover,
section.module-content .text li a:hover {
  color: var(--primary-dark);
}

section.module-content .text h3 {
  margin-top: 30px;
  margin-bottom: 14px;
}

section.module-content .text ul li,
section.module-content .text ol li {
  margin-bottom: 6px;
}

/* Keď stránka nekončí formulárom, lišta pätičky potrebuje miesto */
body > section:last-of-type:not(.module-form),
main > section:last-of-type:not(.module-form) {
  margin-bottom: 200px;
}

/* Obsah stránky (bez modulov), články */
section.content .text .date {
  display: block;
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 15px;
}

section.content.single picture.cover {
  margin-bottom: 30px;
}

section.content.archive .post-item {
  position: relative;
  margin-bottom: 30px;
}

section.content.archive .post-item picture.cover {
  margin-bottom: 15px;
}

section.content.archive .post-item .date {
  font-size: 13px;
  color: var(--gray);
}

section.content.archive .post-item .title-h {
  font-size: 20px;
  margin: 8px 0 10px;
}

section.content.archive .post-item .title-h a {
  color: var(--dark);
}

section.content.archive .post-item:hover .title-h a {
  color: var(--primary-dark);
}

section.content.archive .post-item:hover picture.cover > img {
  transform: scale(1.05);
}

section.content.archive .post-item .perex {
  font-size: 15px;
}

section.content .pagination {
  justify-content: center;
  margin-top: 20px;
}

section.content .pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 4px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: var(--dark);
}

section.content .pagination .page-numbers.current,
section.content .pagination .page-numbers:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
}

/* Footer – flow-root, aby záporný margin lišty nepretiekol na footer (navy začína až v polovici lišty) */
footer {
  display: flow-root;
  overflow-x: clip;
  background-color: var(--dark);
  color: var(--white);
  font-size: 16px;
}

footer a {
  color: var(--white);
}

footer a:hover {
  color: var(--primary);
}

/* Lišta s kontaktmi – v .container (obsah zarovnaný s kontajnerom), 200 px, prekrýva predchádzajúcu sekciu o 100 px;
   zelené pozadie ide od ľavého okraja kontajnera až po pravý okraj okna (::before) */
footer .bar {
  position: relative;
  z-index: 2;
  color: var(--dark);
  min-height: 200px;
  padding: 38px 0 35px;
  margin: -100px 0 0 0;
}

footer .bar::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  right: calc(50% - 50vw);
  background: linear-gradient(90deg, #7be666 0%, #c8ffbd 100%);
}

footer .bar a {
  color: var(--dark);
}

footer .bar a:hover {
  color: var(--dark);
}

footer .bar .contact-item {
  text-align: center;
}

footer .bar .contact-item > i {
  display: block;
  height: 50px;
  margin: 0 auto 28px;
  color: var(--dark);
  font-size: 46px;
  line-height: 50px;
}

footer .bar .contact-item .head {
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 4px;
}

footer .bar .contact-item strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

footer .footer-main {
  padding: 84px 0 70px;
}

footer .footer-box {
  margin-bottom: 40px;
}

footer .footer-box .head {
  display: block;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 26px;
  text-transform: uppercase;
}

footer .footer-box .logo {
  display: inline-block;
  margin-bottom: 28px;
}

footer .footer-box .logo img {
  max-height: 46px;
  width: auto;
}

footer .footer-box .text {
  font-size: 14px;
  line-height: 1.5;
  max-width: 260px;
}

footer .footer-box .text p:last-child {
  margin-bottom: 0;
}

footer .footer-box ul {
  margin: 0;
}

footer .footer-box ul li {
  margin-bottom: 6px;
  line-height: 1.5;
}

footer .footer-box ul.social {
  margin-top: 20px;
}

footer .footer-box ul.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

footer .footer-box ul.social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
}

footer .footer-box .inner-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

footer .footer-box .inner-contact li i {
  color: var(--primary);
  width: 18px;
  text-align: center;
}

footer .sign {
  background: var(--white);
  padding: 28px 0;
  font-size: 13px;
  color: #49537f;
}

footer .sign a {
  color: #49537f;
}

footer .sign a:hover {
  color: var(--primary-dark);
}

/* RESPONSIVE */
@media (min-width: 1300px) {
  .container {
    max-width: 1260px;
  }

  section.module-benefit::after {
    right: calc((100% - 30px - var(--container)) / 2);
  }

  section.module-services .row > .col-lg-6:nth-child(2) .service-item {
    margin-left: 51px;
  }

  section.module-content .row > .col-lg-7 .text {
    padding-left: 44px;
  }

  section.module-form .row > .col-lg-8 {
    padding-left: 44px;
  }
}

@media (min-width: 768px) {
  section.module-form .send-col {
    flex: 0 0 182px;
    max-width: 182px;
  }

  section.module-form .textarea-col {
    flex: 1 1 0;
    max-width: none;
  }
}

@media (min-width: 1200px) and (max-width: 1299px) {
  section.module-benefit::after {
    right: calc((100% - 1140px) / 2 + 15px);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  section.module-benefit::after {
    right: calc((100% - 960px) / 2 + 15px);
  }
}

@media (max-width: 1199px) {
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }

  section.module-slider .slider-item .text .title-h {
    font-size: 40px;
  }

  header #menu > ul > li > a {
    padding: 15px 10px;
    font-size: 15px;
  }

  header #menu .cta {
    padding: 0 22px;
    height: 52px;
    line-height: 48px;
  }

  section.module-services .service-item > .title-h {
    font-size: 20px;
    height: 64px;
    line-height: 64px;
    padding: 0 30px;
    left: -30px;
  }

  section.module-services .service-item {
    padding-top: 30px;
  }
}

@media (max-width: 991px) {
  :root {
    --header-h: 80px;
  }

  section {
    margin-bottom: 50px;
  }

  section.bg {
    padding: 50px 0;
  }

  header .btn-menu {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  header #menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    background: var(--dark);
    overflow-y: auto;
    padding: 20px 15px 40px;
    transform: translateX(100%);
    transition: transform 0.3s;
  }

  body.menuToggled {
    overflow: hidden;
  }

  body.menuToggled header #menu {
    transform: translateX(0);
  }

  header #menu > ul {
    display: block;
  }

  header #menu > ul > li > a {
    padding: 12px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  header #menu > ul > li.menu-item-has-children > .toggleSubmenu {
    right: 0;
    top: 24px;
    transform: none;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
  }

  header #menu > ul > li.current-menu-parent > .toggleSubmenu {
    transform: rotate(180deg);
  }

  header #menu ul ul {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 20px;
  }

  header #menu ul ul li a {
    padding: 10px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  header #menu .cta {
    margin: 25px 0 0;
    display: inline-flex;
    text-align: center;
  }

  section.module-slider .slider-item {
    min-height: 560px;
  }

  section.module-slider .slider-item .text .title-h {
    font-size: 32px;
  }

  section.module-services {
    padding-top: 40px;
  }

  section.module-services::before {
    height: 300px;
  }

  section.module-services .service-item {
    max-width: none;
  }

  section.module-services .service-item > .title-h {
    left: 0;
  }

  section.module-content.bg {
    padding: 50px 0;
  }

  section.module-content .row > [class*="col-"] + [class*="col-"] {
    margin-top: 30px;
  }

  section.module-content .row > .order-lg-1 {
    margin-top: 30px;
  }

  section.module-content .row > .order-lg-2 {
    margin-top: 0;
  }

  section.module-form .inner-contact {
    margin-bottom: 40px;
  }

  section.module-benefit {
    padding: 50px 0 30px;
    margin-bottom: 60px;
  }

  section.module-projects .intro .title-h {
    padding-right: 130px;
    font-size: 26px;
  }

  section.module-projects .slick-projects .slick-list {
    overflow: hidden;
  }

  section.page-head {
    padding: 50px 0 40px;
  }

  footer .bar {
    padding: 30px 0 10px;
    min-height: 0;
  }

  /* Na menších obrazovkách je lišta cez celú šírku okna */
  footer .bar::before {
    left: calc(50% - 50vw);
  }

  footer .bar .contact-item {
    margin-bottom: 30px;
  }

  footer .footer-main {
    padding: 50px 0 20px;
  }
}

@media (max-width: 767px) {
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }

  section.module-faq.bg {
    padding: 50px 0;
  }

  section.module-faq .faq-q button {
    gap: 12px;
  }

  section.module-faq .faq-q button i {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }

  section.module-faq .faq-a {
    padding: 0 20px 20px;
  }

  body {
    font-size: 15px;
  }

  .perex {
    font-size: 16px;
  }

  section.module-slider .slider-item {
    min-height: 480px;
  }

  section.module-slider .slider-item .text .title-h {
    font-size: 28px;
  }

  section.module-slider .slider-item .text .perex {
    font-size: 16px;
  }

  section.module-services .service-item > .title-h {
    font-size: 18px;
    height: 54px;
    line-height: 54px;
    padding: 0 20px;
  }

  section.module-services .service-item {
    padding-top: 27px;
  }

  section.module-benefit .benefit-item {
    margin-bottom: 28px;
  }

  section.module-benefit .intro .title-h,
  section.module-projects .intro .title-h {
    font-size: 26px;
  }

  section.module-form {
    padding: 50px 0 140px;
  }

  section.module-form .btn.send {
    height: 58px;
  }

  footer {
    text-align: center;
  }

  footer .footer-box .text {
    margin: 0 auto;
  }

  footer .footer-box .inner-contact li {
    justify-content: center;
  }

  footer .sign .col-12 + .col-12 {
    margin-top: 8px;
  }
}

@media (max-width: 575px) {
  .btn {
    padding: 14px 28px;
  }

  section.module-content .text .btn,
  section.module-projects .text-center .btn {
    padding: 16px 32px;
  }

  section.module-slider .slider-item .text .buttons .btn {
    width: 100%;
  }
}
