:root {
  --dark: #101010;
  --dark-2: #171717;
  --dark-soft: #24211d;
  --gold: #d7a760;
  --gold-dark: #b98233;
  --orange: #d76011;
  --cream: #f6f1e9;
  --paper: #fffdf9;
  --line: #e9e1d7;
  --text: #181716;
  --muted: #6c6760;
  --shadow: 0 18px 45px rgba(27, 22, 17, .12);
  --radius: 16px;
}

body {
  font-family: "Manrope", Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
}

body.subpage-body {
  padding-top: 40px;
}

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover {
  color: var(--gold-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Manrope", Arial, sans-serif;
  color: var(--text);
  font-weight: 800;
}

section {
  padding: 72px 0;
  overflow: hidden;
}

[data-aos] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .65s ease, transform .65s ease;
  transition-delay: var(--aos-delay, 0ms);
}

[data-aos="fade-left"] {
  transform: translate3d(24px, 0, 0);
}

[data-aos="fade-right"] {
  transform: translate3d(-24px, 0, 0);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

img {
  max-width: 100%;
}

.btn {
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .03em;
  padding: 14px 24px;
  text-transform: uppercase;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-color: var(--gold);
  color: #fff;
  box-shadow: 0 12px 28px rgba(183, 126, 48, .28);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, var(--gold-dark), #99631f);
  border-color: var(--gold-dark);
  color: #fff;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, .72);
  color: #fff;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  background: #fff;
  border-color: #fff;
  color: var(--dark);
}

.form-group.has-error input, .form-group.has-error textarea {
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-group.has-error input:focus, .form-group.has-error textarea:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.form-group.has-error input, .form-group.has-error textarea {
  border-color: #dc3545;
}

.section-light {
  background: linear-gradient(180deg, #fff, var(--paper));
}

.section-title span {
  display: block;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: 34px;
  line-height: 1.18;
  margin: 0;
}

.section-title-row {
  align-items: end;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-link,
.card-link {
  align-items: center;
  color: var(--orange);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: var(--dark);
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 28px);
  left: calc(50% - 28px);
  width: 56px;
  height: 56px;
  border: 5px solid rgba(215, 167, 96, .18);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 18px;
  bottom: 18px;
  z-index: 996;
  width: 42px;
  height: 42px;
  background: var(--gold-dark);
  border-radius: 50%;
  transition: .25s ease;
}

.back-to-top i {
  color: #fff;
  font-size: 30px;
  line-height: 0;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

#header {
  height: 76px;
  background: rgba(15, 15, 15, .94);
  backdrop-filter: blur(12px);
  transition: .3s ease;
  z-index: 997;
}

#header.header-scrolled {
  height: 68px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
}

.logo {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 3;
}

.logo img {
  display: block;
  max-height: 45px;
  width: auto;
}

.navbar {
  padding: 0;
}

.navbar ul {
  align-items: center;
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  align-items: center;
  color: rgba(255, 255, 255, .9);
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 7px;
  padding: 12px 14px;
  white-space: nowrap;
  transition: .25s ease;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: var(--gold);
}

.navbar .nav-phone,
.navbar .nav-phone:focus {
  color: var(--gold);
  margin-left: 8px;
}

.navbar .nav-cta,
.navbar .nav-cta:focus {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 6px;
  color: #fff;
  margin-left: 6px;
  padding: 13px 20px;
  text-transform: uppercase;
}

.navbar .nav-cta:hover {
  background: linear-gradient(135deg, var(--gold-dark), #99631f);
  border-color: var(--gold-dark);
  color: #fff;
}

.mobile-nav-toggle {
  color: #fff;
  cursor: pointer;
  display: none;
  font-size: 30px;
  line-height: 0;
  position: relative;
  z-index: 3;
}

.hero-section {
  min-height: 820px;
  padding: 140px 0 48px;
  position: relative;
}

.hero-bg,
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img,
.cta-bg img {
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  width: 100%;
}

.hero-bg:after {
  background: linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .58) 38%, rgba(0, 0, 0, .16) 100%);
  content: "";
  position: absolute;
  inset: 0;
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, 0.06) 55%, rgba(0, 0, 0, .52) 100%)
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 610px;
}

.hero-content h1 {
  color: #fff;
  font-size: clamp(42px, 5vw, 66px);
  letter-spacing: -.04em;
  line-height: 1.06;
  margin-bottom: 20px;
}

.hero-content p {
  color: rgba(255, 255, 255, .92);
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 34px;
  max-width: 570px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-benefits {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 110px;
  max-width: 850px;
}

.hero-benefit {
  align-items: center;
  display: flex;
  gap: 14px;
}

.hero-benefit i {
  color: var(--gold);
  font-size: 28px;
}

.hero-benefit span {
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
  line-height: 1.32;
}

.hero-benefit strong {
  color: #fff;
  font-size: 13px;
}

.products-section {
  padding-top: 76px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
  overflow: hidden;
  transition: .25s ease;
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.product-image {
  height: 198px;
  position: relative;
}

.product-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.product-icon {
  align-items: center;
  background: var(--dark);
  border-radius: 50%;
  bottom: -28px;
  color: #fff;
  display: flex;
  height: 58px;
  justify-content: center;
  left: 22px;
  position: absolute;
  width: 58px;
}

.product-icon i {
  font-size: 26px;
}

.product-content {
  padding: 44px 20px 24px;
}

.product-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.product-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
  margin-bottom: 18px;
}

.gallery-section {
  background: var(--dark);
  color: #fff;
  padding: 76px 0;
  position: relative;
}

.gallery-section:before {
  background: radial-gradient(circle at 20% 20%, rgba(215, 167, 96, .22), transparent 30%);
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.gallery-section:after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            rgba(16,16,16,.98),
            rgba(16,16,16,.62)
        ),
        url("../img/cta-jezero-sauna.webp");
    background-size: cover;
    background-position: center;
    opacity: .18;
    z-index: 1;
}

.gallery-section .container {
  position: relative;
  z-index: 4;
}

.section-title-dark h2 {
  color: #fff;
  margin-bottom: 28px;
}

.gallery-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  grid-template-rows: 150px 150px;
}

.gallery-item {
  border-radius: 6px;
  display: block;
  overflow: hidden;
  position: relative;
}

.gallery-large {
  grid-row: span 2;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: .3s ease;
  width: 100%;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.process-section {
  background: var(--paper);
  padding-bottom: 0;
}

.process-section .container {
  border-bottom: 1px solid var(--line);
  padding-bottom: 44px;
}

.process-row {
  align-items: stretch;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
}

.process-item h3,
.inquiry-box h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.process-item p,
.inquiry-box p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.process-icon {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--orange);
  display: flex;
  height: 62px;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  width: 62px;
}

.process-icon i {
  font-size: 25px;
}

.process-icon span {
  align-items: center;
  background: var(--orange);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 12px;
  font-weight: 800;
  height: 24px;
  justify-content: center;
  position: absolute;
  right: -5px;
  top: -5px;
  width: 24px;
}

.process-separator {
  align-items: center;
  color: var(--dark);
  display: flex;
  font-size: 26px;
  opacity: .65;
  padding-top: 22px;
}

.inquiry-box {
  background: #f4ede4;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.inquiry-box > i {
  color: var(--orange);
  font-size: 42px;
  margin-bottom: 14px;
}

.inquiry-box .btn {
  margin-top: 22px;
  width: 100%;
}

.references-section {
  background: var(--paper);
  padding-bottom: 62px;
  padding-top: 50px;
}

.references-slider {
  margin: 0 -12px 42px;
  position: relative;
}

.references-slider .slick-list {
  overflow: hidden;
}

.references-slider .slick-track {
  align-items: stretch;
  display: flex;
}

.references-slider .slick-slide {
  height: auto;
  padding: 0 12px;
}

.references-slider .slick-slide > div,
.reference-slide {
  height: 100%;
}

.reference-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 350px;
  padding: 26px 24px;
}

.reference-brand,
.reference-photo {
  align-items: center;
  display: flex;
  height: 56px;
  margin-bottom: 18px;
}

.reference-brand span {
  color: var(--dark);
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: .9;
}

.reference-photo img {
  border-radius: 50%;
  height: 56px;
  object-fit: cover;
  width: 56px;
}

.reference-card p {
  color: var(--text);
  font-size: 14px;
  line-height: 1.62;
  margin-bottom: 16px;
}

.reference-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
}

.reference-card.is-open .reference-text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.reference-toggle {
  background: transparent;
  border: 0;
  color: var(--orange);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  margin: 0 0 18px;
  padding: 0;
  text-transform: uppercase;
}

.reference-toggle:hover {
  color: var(--gold-dark);
}

.reference-toggle:focus {
  color: var(--orange);
  outline: 0;
}

.reference-toggle .label-less {
  display: none;
}

.reference-toggle[aria-expanded="true"] .label-more {
  display: none;
}

.reference-toggle[aria-expanded="true"] .label-less {
  display: inline;
}

.reference-card strong,
.reference-card small {
  display: block;
}

.reference-card strong {
  font-size: 14px;
}

.reference-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.stars {
  color: var(--gold-dark);
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.reference-arrow {
  align-items: center;
  background: var(--dark);
  border: 0;
  border-radius: 50%;
  color: #fff;
  display: flex;
  height: 42px;
  justify-content: center;
  opacity: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: .25s ease;
  width: 42px;
  z-index: 5;
}

.reference-arrow:hover,
.reference-arrow:focus {
  background: var(--gold-dark);
  color: #fff;
}

.reference-arrow i {
  font-size: 20px;
  margin-left: 2px;
}

.reference-arrow i.bi-chevron-left {
  margin-left: -2px;
}

.reference-prev {
  left: -20px;
}

.reference-next {
  right: -20px;
}

.media-section {
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.media-section .row {
  --bs-gutter-x: 72px;
}

.partner-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partner-logo {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 74px;
  transition: .25s ease;
}

.partner-logo img {
  max-height: 44px;
  max-width: 90%;
  object-fit: contain;
}

.partner-logo:hover {
  transform: translateY(-3px);
}

.media-grid {
  display: grid;
  gap: 16px 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-item {
  align-items: center;
  color: var(--text);
  display: grid;
  gap: 14px;
  grid-template-columns: 64px 1fr;
  min-width: 0;
  transition: .25s ease;
}

.media-item:hover {
  color: var(--orange);
  transform: translateX(4px);
}

.media-item:focus {
  color: var(--text);
  outline: 0;
}

.media-logo {
  align-items: center;
  display: flex;
  height: 64px;
  justify-content: center;
  width: 64px;
}

.media-logo img {
  max-height: 48px;
  max-width: 58px;
  object-fit: contain;
}

.media-icon {
  color: var(--orange);
  font-size: 28px;
}

.media-item span:last-child {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.cta-section {
  background: radial-gradient(circle at 78% 55%, rgba(183, 126, 48, .22), transparent 28%), linear-gradient(90deg, #090909, #25211b);
  color: #fff;
  min-height: 240px;
  padding: 64px 0 38px;
  position: relative;
}

.cta-bg:after,
.cta-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, .52), rgba(0, 0, 0, .16));
  content: "";
  position: absolute;
  inset: 0;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: #fff;
  font-size: 32px;
  margin-bottom: 10px;
}

.cta-section p {
  color: rgba(255, 255, 255, .88);
  font-size: 17px;
  margin: 0;
  max-width: 650px;
}

.cta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 28px;
}

.cta-points span {
  align-items: center;
  color: rgba(255, 255, 255, .88);
  display: inline-flex;
  font-size: 13px;
  gap: 8px;
}

.cta-points i {
  color: var(--gold);
}

.footer {
  background: #fff;
  color: var(--text);
  padding-top: 36px;
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 14px;
}

.footer-logo img {
  max-height: 100px;
}

.footer p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.footer h3 {
  font-size: 13px;
  letter-spacing: .05em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

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

.footer li {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 7px;
}

.footer li a {
  color: var(--muted);
}

.footer li a:hover {
  color: var(--orange);
}

.footer-contact li {
  align-items: flex-start;
  display: flex;
  gap: 9px;
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-links a {
  align-items: center;
  color: var(--dark);
  display: inline-flex;
  font-size: 22px;
  justify-content: center;
}

.footer-bottom {
  background: var(--dark);
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  margin-top: 32px;
  padding: 12px 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, .72);
  margin-left: 18px;
}

@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1199px) {
  .navbar a,
  .navbar a:focus {
    padding-left: 9px;
    padding-right: 9px;
  }

  .navbar .nav-phone {
    display: none;
  }

  .hero-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 600px;
  }
}

@media (max-width: 991px) {
  #header,
  #header.header-scrolled {
    height: 68px;
  }

  .logo img {
    max-height: 40px;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .mobile-nav-toggle.bi-x {
    position: absolute;
    right: 28px;
  }

  .navbar ul {
    display: none;
  }

  .navbar.navbar-mobile {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .88);
    z-index: 999;
  }

  .navbar.navbar-mobile ul {
    background: var(--dark-2);
    border-radius: 12px;
    display: block;
    left: 18px;
    overflow-y: auto;
    padding: 18px 0;
    position: absolute;
    right: 18px;
    top: 82px;
  }

  .navbar.navbar-mobile a,
  .navbar.navbar-mobile a:focus {
    color: #fff;
    font-size: 16px;
    padding: 13px 24px;
  }

  .navbar.navbar-mobile .nav-cta,
  .navbar.navbar-mobile .nav-cta:focus {
    display: inline-flex;
    margin: 10px 24px 4px;
    padding: 13px 22px;
  }

  .hero-section {
    min-height: 710px;
    padding-top: 116px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, 180px);
  }

  .gallery-large {
    grid-row: span 1;
  }

  .process-row {
    grid-template-columns: 1fr;
  }

  .process-separator {
    display: none;
  }

  .process-item {
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
  }

  .reference-prev {
    left: -10px;
  }

  .reference-next {
    right: -10px;
  }

  .media-section .row {
    --bs-gutter-x: 24px;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

}

@media (min-width: 768px) and (max-width: 991px) {
  .gallery-hide-md {
    display: none;
  }
}

@media (max-width: 767px) {
  section {
    padding: 56px 0;
  }

  .hero-section {
    min-height: 690px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-benefits {
    gap: 16px;
    grid-template-columns: 1fr;
    margin-top: 70px;
  }

  .section-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .gallery-item {
    height: 220px;
  }

  .reference-card {
    padding: 24px 20px;
  }

  .partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .media-item {
    grid-template-columns: 58px 1fr;
  }

  .media-logo {
    height: 58px;
    width: 58px;
  }

  .cta-section {
    padding: 48px 0 30px;
  }

  .cta-section h2 {
    font-size: 28px;
  }

  .footer-bottom .flex-wrap {
    flex-wrap: none !important;
    display: block !important;
  }

  .footer-bottom span {
    display: block !important;
    text-align: center !important;
  }

  .footer-bottom span a {
    margin: 0 9px !important;
  }
}

@media (max-width: 420px) {
  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-content h1 {
    font-size: 34px;
  }
}

.site-wide {
  padding-left: clamp(24px, 5vw, 92px);
  padding-right: clamp(24px, 5vw, 92px);
}

@media (max-width: 575px) {
  .site-wide {
    padding-left: 18px;
    padding-right: 18px;
  }

  .logo img {
    max-height: 40px;
  }
}
