:root {
  --color-dark: #050505;
  --color-text: #111111;
  --color-muted: #777777;
  --color-light: #f2f3ed;
  --color-accent: #9c7f68;
  --color-accent-dark: #80664f;
  --font-main: "Nunito Sans", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-text);
  background: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
}

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

img {
  max-width: 100%;
  height: auto;
}

section {
  overflow: hidden;
}

.container {
  max-width: 1110px;
}

.narrow {
  max-width: 800px;
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: #ffffff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  width: 60px;
  height: 60px;
  border: 6px solid var(--color-accent);
  border-top-color: #dfd3c8;
  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;
  border-radius: 50%;
  background: var(--color-accent);
  color: #ffffff;
  transition: all 0.3s ease;
}

.back-to-top i {
  font-size: 28px;
  line-height: 0;
}

.back-to-top:hover {
  background: var(--color-accent-dark);
  color: #ffffff;
}

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

#header {
  height: 86px;
  z-index: 997;
  transition: all 0.35s ease;
  background: transparent;
}

#header.header-scrolled {
  height: 72px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.header-wrap {
  height: 100%;
  padding: 0 70px;
}

.navbar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
}

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

.nav-left {
  justify-content: flex-start;
}

.nav-right {
  justify-content: flex-end;
}

.navbar a,
.navbar a:focus {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

.navbar a:hover,
.navbar .active,
.navbar li:hover > a {
  color: rgba(255, 255, 255, 0.75);
}

.logo {
  position: static;
  justify-self: center;
  z-index: 2;
}

.logo img {
  display: block;
  width: 160px;
  max-height: 76px;
}

#header.header-scrolled .logo img {
  width: 120px;
}

.social-link {
  text-transform: uppercase !important;
  font-size: 11px !important;
  letter-spacing: 0.04em !important;
}

.social-link i {
  font-size: 21px;
}

.mobile-nav-toggle {
  display: none;
  color: #ffffff;
  font-size: 32px;
  line-height: 0;
  cursor: pointer;
  z-index: 1000;
}

#hero {
  position: relative;
  height: 100vh;
  background: url("../img/hero-bg.webp") center center / cover no-repeat;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: url("../img/hero-bg.webp") center center / cover no-repeat;
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
}

#hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.48) 115px, rgba(0, 0, 0, 0.12) 260px, rgba(0, 0, 0, 0) 100%), linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.34) 42%, rgba(0, 0, 0, 0.08) 100%);
  pointer-events: none;
}

#hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.08) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(860px, calc(100% - 110px));
  margin-left: 78px;
  margin-top: 40px;
  color: #ffffff;
}

.hero-content h1 {
  margin: 0 0 28px;
  font-size: clamp(48px, 4.25vw, 72px);
  line-height: 1.08;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

.hero-content p {
  margin: 0 0 34px;
  font-size: clamp(20px, 1.65vw, 28px);
  line-height: 1.25;
  font-weight: 500;
  text-transform: uppercase;
}

.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 48px;
  padding: 15px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--color-accent);
  color: #ffffff !important;
  font-size: 13px;
  line-height: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

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

.about-section {
  padding: 98px 0 102px;
  background: #ffffff;
}

.section-kicker {
  margin-bottom: 26px;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lead-text {
  margin: 0 auto 28px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 500;
}

.muted-text {
  margin: 0;
  color: #7e7e7e;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 300;
}

.products-section {
  padding: 82px 0 92px;
  background: var(--color-light);
}

.section-head {
  margin-bottom: 34px;
}

.section-head .section-kicker {
  margin-bottom: 12px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(38px, 3.6vw, 48px);
  line-height: 1.1;
  font-weight: 700;
}

.product-card {
  height: 100%;
  background: #ffffff;
  transition: transform 0.25s ease;
}

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

.product-card-link {
  display: block;
  height: 100%;
  color: inherit;
}

.product-card-link:hover {
  color: inherit;
}

.product-card:hover .product-link {
  color: var(--color-accent);
}


.product-card img {
  display: block;
  width: 100%;
  height: 218px;
  object-fit: cover;
  background: #ffffff;
}

.product-body {
  padding: 24px 18px 28px;
  text-align: center;
}

.product-body h3 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 700;
}

.product-body p {
  min-height: 70px;
  margin: 0 0 22px;
  font-size: 12px;
  line-height: 1.34;
  color: #222222;
  font-weight: 400;
}

.product-link {
  display: inline-block;
  color: #767676;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.products-cta {
  margin-top: 56px;
}

.products-cta p {
  margin: 0 0 26px;
  color: #797979;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 300;
}

.why-section {
  padding: 88px 0 78px;
  background: #ffffff;
}

.why-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 26px;
  align-items: start;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.why-item:hover {
  transform: translateY(-4px);
}

.why-icon {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.why-item h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.why-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #333;
  font-weight: 400;
}

.map-section {
  height: 330px;
  padding: 0;
  background: #e6e6e6;
}

.map-section iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.72) contrast(0.96);
}

#footer {
  padding: 52px 0 50px;
  background: #000000;
  color: #ffffff;
  font-size: 13px;
}

.footer-info strong {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
}

.footer-info p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ffffff;
  font-weight: 700;
}

.footer-links i {
  color: #ffffff;
  font-size: 15px;
}

.footer-brand img {
  width: 180px;
  margin-bottom: 18px;
}

.footer-brand p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.footer-brand a {
  color: rgba(255, 255, 255, 0.68);
}

.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);
}

@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

@media (max-width: 1199px) {
  .header-wrap {
    padding: 0 28px;
  }

  .navbar ul {
    gap: 6px;
  }

  .navbar a,
  .navbar a:focus {
    font-size: 13px;
  }

  .social-link {
    font-size: 10px !important;
  }

  .hero-content {
    margin-left: 48px;
  }
}

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

  .header-wrap {
    padding: 0 20px;
  }

  .navbar {
    display: flex;
    justify-content: flex-start;
  }

  .navbar ul {
    display: none;
  }

  .logo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .logo img,
  #header.header-scrolled .logo img {
    width: 120px;
    max-height: 58px;
  }

  .mobile-nav-toggle {
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .navbar-mobile {
    position: fixed;
    inset: 0;
    display: block;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999;
  }

  .navbar-mobile .mobile-nav-toggle {
    position: absolute;
    right: 20px;
    top: 38px;
  }

  .navbar-mobile .logo {
    left: 20px;
    top: 38px;
    transform: translateY(-50%);
  }

  .navbar-mobile ul {
    position: static;
    display: block;
    width: calc(100% - 30px);
    margin: 92px 15px 0;
    padding: 18px 0;
    background: #ffffff;
  }

  .navbar-mobile .nav-right {
    margin-top: 0;
    padding-top: 0;
  }

  .navbar-mobile li {
    display: block;
  }

  .navbar-mobile a,
  .navbar-mobile a:focus {
    display: flex;
    padding: 12px 22px;
    color: #111111;
    text-shadow: none;
  }

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

  #hero {
    height: 100vh;
    height: 100svh;
    min-height: 620px;
  }

  .hero-content {
    width: calc(100% - 40px);
    margin-left: 20px;
    padding-top: 220px;
    padding-bottom: 100px;
  }

  .why-item {
    max-width: 560px;
    margin: 0 auto;
  }

  .footer-brand,
  .footer-info {
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
  #header .navbar-mobile,
  #header.header-scrolled .navbar-mobile {
    position: fixed;
    inset: 0;
    height: 100vh;
    z-index: 9999;
  }

  #header .navbar-mobile .logo,
  #header.header-scrolled .navbar-mobile .logo {
    position: absolute;
    left: -2px;
    top: 38px;
    transform: translateY(-50%);
  }

  #header .navbar-mobile .logo img,
  #header.header-scrolled .navbar-mobile .logo img {
    width: 120px;
    max-height: 58px;
  }

  #header .navbar-mobile .mobile-nav-toggle,
  #header.header-scrolled .navbar-mobile .mobile-nav-toggle {
    position: absolute;
    right: 20px;
    top: 38px;
    transform: translateY(-50%);
  }

}

@media (max-width: 767px) {
  .about-section,
  .products-section,
  .why-section {
    padding: 58px 0;
  }

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

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

  .lead-text {
    font-size: 16px;
  }

  .products-cta p {
    font-size: 15px;
  }

  .map-section {
    height: 300px;
  }

  .footer-links {
    gap: 6px;
    flex-direction: column;
  }
  .footer-links a {
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .hero-content h1 {
    font-size: 34px;
  }

  .btn-main {
    min-width: 150px;
    padding: 14px 22px;
  }

  .why-item {
    grid-template-columns: 58px 1fr;
    gap: 16px;
  }

  .why-icon {
    width: 48px;
    height: 48px;
  }
}


.footer-links a,
.footer-brand a {
  transition: color 0.25s ease, opacity 0.25s ease;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.75);
}

.footer-brand a:hover {
  color: rgba(255, 255, 255, 1);
}
