:root {
  --accent: #e16a1a;
  --accent-dark: #b14f12;
  --brand-dark: #0b0b0b;
  --muted: #818385;
  --white: #ffffff;
  --footer-text: #d0d6e1;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}
html {
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  padding-top: 80px;
  background: #fff;
}

a {
  color: #000;
  transition: all 0.25s ease;
  text-decoration: none;
}
a:hover {
  color: var(--accent);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: 'Work Sans', sans-serif;
  color: #000;
  font-weight: 600;
  margin: 0 0 0.6em 0;
}

h1 {
  font-size: 45px;
}
h2 {
  font-size: 42px;
  line-height: 52px;
}
h3 {
  font-size: 24px;
}
h4 {
  font-size: 20px;
}
h5 {
  font-size: 16px;
}
h6 {
  font-size: 14px;
}

.padding-home {
  padding-top: 50px;
  padding-bottom: 50px;
}
.padding-60 {
  padding-top: 60px;
  padding-bottom: 60px;
}
.section {
  padding: 120px 0;
}
.padding-top-60 {
  padding-top: 60px;
}

@font-face {
  font-family: 'icomoon';
  src: url('../fonts/icomoon.eot');
  src: url('../fonts/icomoon.eot#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf') format('truetype'),
    url('../fonts/icomoon.woff') format('woff'),
    url('../fonts/icomoon.svg#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
[class^='icon-'],
[class*=' icon-'] {
  font-family: 'icomoon' !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  color: var(--accent) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon-biurowce:before {
  content: '\e900';
}
.icon-fabryki:before {
  content: '\e901';
}
.icon-hotel:before {
  content: '\e902';
}
.icon-sklep:before {
  content: '\e903';
}
.icon-transport:before {
  content: '\e904';
}
.icon-phone:before {
  content: '\e942';
}
.icon-envelop:before {
  content: '\e945';
}
.icon-location2:before {
  content: '\e948';
}
.icon-lock:before {
  content: '\e98f';
}

.navbar-nav .nav-link {
  padding: 20px 15px !important;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}
.navbar-brand img {
  height: 50px;
  width: auto;
  display: block;
}

.navbar .nav-link.active {
  color: var(--accent-dark) !important;
  font-weight: 600;
}

p {
  color: var(--muted);
  margin: 0;
  margin-bottom: 10px;
  line-height: 25px;
}
.mask-anim {
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.mask {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #fcfcfc;
  transform: translateX(100%);
  z-index: 3;
}
#animText {
  position: relative;
  color: var(--accent);
  z-index: 2;
  white-space: normal;
  text-transform: uppercase;
}

.form-control {
  border-radius: 0;
  height: 45px;
  border-color: #e8eefb;
}
.form-control:focus {
  box-shadow: none;
  border-color: var(--accent);
}
textarea.form-control {
  height: auto;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  min-height: 140px;
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  background: #fcfcfc;
  border-radius: 5px;
}

.service-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.service-icon {
  font-size: 45px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
}

.service-content h3 {
  margin: 0 0 10px 0;
  font-size: 22px;
  font-weight: 700;
}

.service-content p {
  margin: 0;
  line-height: 1.6;
}

.points-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.points-list li {
  position: relative;
  padding-left: 28px;
}

.points-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 5px;
  font-size: 18px;
  color: var(--accent);
}

.back-top {
  position: fixed;
  bottom: 90px;
  right: 40px;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  z-index: 1100;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.back-top::before {
  content: '';
  width: 22px;
  height: 22px;
  mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill="white" d="M12 4l-8 8h5v8h6v-8h5z"/></svg>')
    no-repeat center / contain;
  background: #fff;
}
.back-top:hover {
  background: var(--accent-dark);
}
.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#mbj-preloader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  z-index: 1999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  opacity: 1;
  visibility: visible;
}

#mbj-preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.mbj-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ddd;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 12px;
}

.mbj-loading-text {
  font-size: 16px;
  color: var(--accent);
  font-weight: 600;
  text-align: center;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.opinie-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 10px;
}
.opinie-subtitle {
  font-size: 16px;
  color: #777;
}

.opinieSwiper .swiper-wrapper {
  align-items: center;
}

.opinieSwiper .swiper-slide {
  opacity: 0 !important;
  transition: opacity 0.8s ease !important;
}

.opinieSwiper .swiper-slide.swiper-slide-active {
  opacity: 1 !important;
}

.opinia-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.opinia-text {
  font-size: 20px;
  line-height: 1.7;
  font-style: italic;
  color: #333;
  margin-bottom: 30px;
}

.opinia-author {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 3px;
  color: #111;
}

.opinia-role {
  font-size: 14px;
  opacity: 0.6;
}

.opinie-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.25);
  transition: 0.25s ease;
  opacity: 0;
  pointer-events: none;
}

#opinie:hover .opinie-arrow {
  opacity: 1;
  pointer-events: auto;
}

.opinie-arrow::after {
  font-size: 20px;
  color: #000;
}

.opinie-arrow:hover {
  border-color: #000000;
  transform: scale(1.1);
}

@media (max-width: 767px) {
  .opinie-title {
    font-size: 30px;
  }
  .opinia-text {
    font-size: 18px;
  }
  .section {
    padding: 60px 0;
  }
  .padding-home {
    padding-top: 25px;
    padding-bottom: 25px;
  }
  .opinie-section {
    padding: 30px 0;
    text-align: center;
  }
  .padding-60 {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

@media (max-width: 490px) {
  .mask-anim {
    height: 82px;
  }
}

.contact-box-modern {
  display: flex;
  gap: 18px;
  padding: 22px 26px;
  background: #fff;
  border-radius: 5px;
  border: 1px solid #f5f5f5;
  text-decoration: none;
  color: inherit;
  transition: 0.25s ease;
  align-items: flex-start;
}

.contact-box-modern:hover {
  border-color: var(--accent);
}

.icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-wrap i {
  font-size: 28px;
  color: var(--accent);
}

.contact-title-modern {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #000;
}

.contact-box-modern p {
  margin: 4px 0 0 0;
  color: #555;
  font-size: 15px;
}

.footer-section {
  background: var(--brand-dark);
  color: var(--footer-text);
  padding: 60px 0px 25px 0px;
  font-size: 15px;
}
.footer-section .footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
  text-transform: uppercase;
}
.footer-about {
  max-width: 360px;
  line-height: 1.7;
  color: #c4c9d4;
  margin-bottom: 8px;
}
.footer-section ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer-section li {
  margin-bottom: 2px;
  color: var(--footer-text);
}
.footer-section li a {
  color: var(--footer-text);
  text-decoration: none;
  transition: 0.2s;
}
.footer-section li a:hover {
  color: #fff;
  padding-left: 4px;
}
.footer-contact li {
  display: flex;
  gap: 8px;
  align-items: center;
}
.footer-contact i {
  color: var(--accent);
  font-size: 18px;
}
.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  color: #8c93a3;
  font-size: 14px;
}

@media (max-width: 991px) {
  .banner .cd-headline {
    font-size: 32px;
    line-height: 42px;
  }
  .navbar-brand img {
    height: 44px;
  }

  body {
    padding-top: 70px;
  }
}
@media (max-width: 575px) {
  h2 {
    font-size: 32px;
    line-height: 43px;
  }
  .navbar-brand img {
    height: 40px;
  }
  .opinia-text {
    font-size: 18px;
    padding: 0 20px;
  }

  body {
    padding-top: 66px;
  }
}

.map-wrapper {
  padding-bottom: 30%;
  position: relative;
  margin: 40px 0;
}

.map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.btn-main {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 10px 38px;
  font-size: 15px;
  border-radius: var(--radius);
  border: none;
  display: inline-block;
  text-transform: uppercase;
}

.btn-main:hover {
  background: var(--accent-dark) !important;
}

.opinia-stars {
  font-size: 35px;
  color: #f5b400;
  letter-spacing: 2px;
  user-select: none;
}

strong {
  color: var(--accent);
}

#home,
#opinie {
  background-color: #fcfcfc;
}

.border-top {
  border-top: var(--bs-border-width) var(--bs-border-style) #f8f8f8 !important;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1em;
  height: 1.5em;
  vertical-align: middle;
  background-image: var(--bs-navbar-toggler-icon-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

section {
  scroll-margin-top: 60px;
}

.woow-link {
  color: var(--accent);
}

.woow-link:hover {
  color: var(--accent-dark);
}

#cookieModal .modal-content {
  border-radius: 6px;
  border: 1px solid #e5e5e5;
  background: #fff;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.06);
}

#cookieModal .modal-header {
  padding: 14px 20px;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
}

#cookieModal .modal-header .nav-tabs {
  border: none;
  gap: 8px;
}

#cookieModal .modal-header .nav-tabs .nav-link {
  border: 1px solid #d0d0d0;
  background: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  color: #222;
  font-size: 14px;
  font-weight: 600;
}

#cookieModal .modal-header .nav-tabs .nav-link.active {
  background: #eaeaea;
  border-color: #c0c0c0;
  color: #000;
}

#cookieModal .btn-close {
  opacity: 0.65;
}

#cookieModal .btn-close:hover {
  opacity: 1;
}

#cookieModal .modal-body {
  padding: 28px;
}

#cookieModal .modal-body h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
}

#cookieModal .modal-body p {
  font-size: 15px;
  line-height: 1.65;
  color: #333;
}

#cookieModal .modal-footer {
  padding: 16px 22px;
  border-top: 1px solid #e5e5e5;
  background: #fff;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

#cookieModal .btn-default {
  background: #fff;
  border: 1px solid #ccc;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 6px;
  color: #333;
  font-weight: 500;
}

#cookieModal .accept-all {
  background: #28a745;
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
}

#cookieModal .accept-all:hover {
  background: #218838;
}

.cookie-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 16px;
  color: #333;
  user-select: none;
}

.cookie-checkbox input {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 2px solid var(--accent);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.2s;
}

.cookie-checkbox input:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.cookie-checkbox input:checked::after {
  content: '✔';
  font-size: 16px;
  color: white;
  font-weight: bold;
  line-height: 1;
}

.cookie-checkbox input:disabled {
  background: #ddd !important;
  border-color: #ccc !important;
  cursor: not-allowed;
}

.cookie-checkbox input:disabled::after {
  content: '✔';
  font-size: 16px;
  color: white !important;
}
