:root {
  --forest: #062416;
  --moss: #10351f;
  --gold: #c49a32;
  --cream: #f7f3ea;
  --ink: #10231b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
}

.hidden {
  display: none !important;
}

.text-gold {
  color: var(--gold);
}

.text-white {
  color: #ffffff;
}

.text-ink {
  color: var(--ink);
}

.site-container {
  margin-inline: auto;
  max-width: 1280px;
  padding-inline: 32px;
  width: 100%;
}

.hero-bg {
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(0, 13, 5, 0.9) 0%, rgba(3, 20, 9, 0.72) 32%, rgba(3, 20, 9, 0.18) 62%, rgba(3, 20, 9, 0.02) 100%),
    url("image_web/home_SAVA.png");
  background-position: center;
  background-size: cover;
  color: #ffffff;
  display: flex;
  min-height: 820px;
  padding-top: 96px;
  position: relative;
}

.hero-title,
.display-title {
  font-family: Georgia, "Times New Roman", serif;
}

.site-header {
  inset-inline: 0;
  position: absolute;
  top: 0;
  z-index: 30;
}

.site-header-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-inline: auto;
  max-width: 1280px;
  padding: 28px 32px;
  width: 100%;
}

.site-logo {
  align-items: center;
  display: inline-flex;
}

.brand-logo {
  height: auto;
  object-fit: contain;
}

.brand-logo-main {
  width: 124px;
}

.brand-logo-small {
  width: 110px;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: 38px;
}

.main-nav a,
.mobile-menu-nav a {
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  transition: color 180ms ease;
}

.main-nav a:first-child,
.mobile-menu-nav a:first-child,
.main-nav a:hover,
.mobile-menu-nav a:hover {
  color: var(--gold);
}

.nav-cta,
.mobile-cta,
.outline-button {
  align-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.16em;
  padding: 14px 28px;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.nav-cta:hover,
.mobile-cta:hover,
.outline-button:hover {
  background: var(--gold);
  color: var(--forest);
}

.menu-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: none;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.menu-toggle svg {
  height: 24px;
  width: 24px;
}

.mobile-menu {
  background: rgba(6, 36, 22, 0.96);
  border: 1px solid rgba(196, 154, 50, 0.35);
  margin: 0 24px;
  padding: 20px;
}

.mobile-menu-nav {
  display: grid;
  gap: 16px;
}

.hero-copy {
  max-width: 620px;
  padding-top: 64px;
}

.hero-title {
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 400;
  line-height: 1.08;
  margin: 0;
}

.hero-rule {
  align-items: center;
  color: var(--gold);
  display: flex;
  gap: 16px;
  margin: 36px 0;
}

.rule-line {
  background: var(--gold);
  display: block;
  height: 1px;
  width: 132px;
}

.hero-rule svg {
  height: 24px;
  width: 24px;
}

.hero-text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
  max-width: 420px;
}

.hero-copy .outline-button {
  margin-top: 40px;
  padding: 16px 36px;
}

.button-line {
  position: relative;
}

.button-line::after {
  background: currentColor;
  bottom: -4px;
  content: "";
  height: 1px;
  left: 0;
  opacity: 0;
  position: absolute;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: opacity 180ms ease, transform 180ms ease;
  width: 100%;
}

.button-line:hover::after,
.button-line:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.features-section {
  background: #fbfaf6;
  padding: 64px 0;
}

.feature-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-card {
  align-items: center;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  padding: 0 32px;
  text-align: center;
}

.feature-card:not(:last-child) {
  border-right: 1px solid rgba(196, 154, 50, 0.45);
}

.feature-card svg {
  height: 56px;
  width: 56px;
}

.feature-title {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 20px 0 0;
}

.feature-text {
  color: rgba(16, 35, 27, 0.8);
  font-size: 14px;
  line-height: 1.7;
  margin: 16px 0 0;
  max-width: 190px;
}

.about-section,
.products-section {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-media {
  height: 520px;
  overflow: hidden;
}

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

.about-content {
  align-items: center;
  display: flex;
  padding: 64px 80px;
}

.about-copy {
  max-width: 540px;
}

.eyebrow {
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.22em;
  margin: 0;
}

.section-title {
  color: #050505;
  font-size: clamp(38px, 4.5vw, 54px);
  font-weight: 400;
  line-height: 1.12;
  margin: 18px 0 0;
}

.section-text {
  color: rgba(16, 35, 27, 0.82);
  font-size: 16px;
  line-height: 1.8;
  margin: 28px 0 0;
}

.section-text + .section-text {
  margin-top: 12px;
}

.solid-button {
  background: var(--forest);
  color: #ffffff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-top: 32px;
  padding: 16px 32px;
  transition: background-color 180ms ease, color 180ms ease;
}

.solid-button:hover {
  background: var(--gold);
  color: var(--forest);
}

.products-section {
  padding: 64px 0 72px;
}

.products-inner {
  text-align: center;
}

.product-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 40px;
}

.product-card {
  background: #fbfaf6;
  border: 1px solid rgba(16, 35, 27, 0.15);
}

.product-image-wrap {
  height: 176px;
  overflow: hidden;
}

.product-body {
  padding: 24px 20px;
}

.product-title {
  color: #050505;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.12em;
  margin: 0;
}

.product-latin {
  color: rgba(16, 35, 27, 0.58);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-style: italic;
  margin: 8px 0 0;
}

.product-link {
  color: var(--ink);
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin-top: 28px;
  transition: color 180ms ease;
}

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

.dark-outline {
  border-color: var(--forest);
  color: var(--forest);
  margin-top: 40px;
  padding-inline: 64px;
}

.dark-outline:hover {
  background: var(--forest);
  color: #ffffff;
}

.leaf-watermark {
  overflow: hidden;
  position: relative;
}

.leaf-watermark::before,
.leaf-watermark::after {
  border: 1px solid rgba(196, 154, 50, 0.18);
  border-radius: 55% 45% 55% 45%;
  content: "";
  height: 150px;
  opacity: 0.45;
  position: absolute;
  top: 26px;
  transform: rotate(-28deg);
  width: 72px;
}

.leaf-watermark::before {
  left: -12px;
}

.leaf-watermark::after {
  right: -12px;
  transform: rotate(28deg);
}

.product-card img,
.about-image {
  transition: transform 450ms ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.cta-section {
  background: var(--forest);
  color: #ffffff;
  padding: 48px 0;
}

.cta-grid {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr auto 1fr;
  position: relative;
  z-index: 1;
}

.cta-copy {
  padding-left: 128px;
}

.cta-title {
  color: var(--gold);
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0.18em;
  line-height: 1.35;
  margin: 0;
  text-transform: uppercase;
}

.cta-text,
.cta-note {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.8;
}

.cta-text {
  margin: 18px 0 0;
  max-width: 340px;
}

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

.cta-mark-icon {
  height: 112px;
  width: 112px;
}

.cta-action {
  padding-left: 48px;
}

.cta-note {
  margin: 22px 0 0;
}

.site-footer {
  background: #041b10;
  color: #ffffff;
}

.footer-main {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 56px 0;
}

.footer-grid {
  display: grid;
  gap: 42px;
  grid-template-columns: 1.25fr 0.85fr 0.85fr 1.25fr 0.85fr;
}

.footer-brand {
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  padding-right: 48px;
}

.footer-brand-text,
.footer-list,
.footer-contact {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.75;
}

.footer-brand-text {
  margin: 30px 0 0;
  max-width: 260px;
}

.footer-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0;
}

.footer-list,
.footer-contact {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.footer-list li + li,
.footer-contact li + li {
  margin-top: 12px;
}

.footer-list a {
  color: inherit;
  transition: color 180ms ease;
}

.footer-list a:hover {
  color: var(--gold);
}

.footer-contact li {
  display: flex;
  gap: 12px;
}

.footer-contact svg {
  color: var(--gold);
  flex: 0 0 auto;
  height: 20px;
  margin-top: 2px;
  width: 20px;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-link {
  align-items: center;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  display: flex;
  font-size: 12px;
  font-weight: 800;
  height: 36px;
  justify-content: center;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease;
  width: 36px;
}

.social-link:hover {
  background: var(--gold);
  color: var(--forest);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  padding: 20px 24px;
  text-align: center;
}

@media (max-width: 767px) {
  .hero-bg {
    background-image:
      linear-gradient(90deg, rgba(0, 13, 5, 0.92) 0%, rgba(3, 20, 9, 0.72) 58%, rgba(3, 20, 9, 0.35) 100%),
      url("image_web/home_SAVA.png");
    background-position: 62% center;
  }
}

@media (max-width: 1199px) {
  .main-nav,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (min-width: 1200px) {
  .main-nav.hidden {
    display: flex !important;
  }

  .nav-cta.hidden {
    display: inline-flex !important;
  }
}

@media (max-width: 1023px) {
  .feature-grid,
  .product-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card {
    border-right: 0 !important;
    padding-block: 20px;
  }

  .about-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    padding: 56px 32px;
  }

  .cta-copy,
  .cta-action {
    padding-left: 0;
    text-align: center;
  }

  .cta-text {
    margin-inline: auto;
  }

  .footer-brand {
    border-right: 0;
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  .site-container {
    padding-inline: 24px;
  }

  .site-header-inner {
    padding: 22px 24px;
  }

  .brand-logo-main {
    width: 104px;
  }

  .hero-bg {
    min-height: 720px;
  }

  .hero-copy {
    padding-top: 40px;
  }

  .hero-title {
    font-size: 46px;
  }

  .rule-line {
    width: 88px;
  }

  .feature-grid,
  .product-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .features-section,
  .products-section {
    padding-block: 48px;
  }

  .about-media {
    height: 420px;
  }

  .about-content {
    padding: 48px 24px;
  }

  .section-title {
    font-size: 38px;
  }

  .product-image-wrap {
    height: 210px;
  }
}
