﻿:root {
  --bg-off-white: #f5f6f8;
  --white: #ffffff;
  --primary: #111827;
  --accent: #2563eb;
  --accent-sand: #c9a36b;
  --border: #e5e7eb;
  --text: #1c1c1c;
  --text-soft: #4b5563;
  --radius: 14px;
  --shadow-soft: 0 8px 24px rgba(17, 24, 39, 0.08);
  --shadow-strong: 0 14px 32px rgba(17, 24, 39, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background: var(--bg-off-white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin-top: 0;
  color: var(--text-soft);
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--text);
  line-height: 1.2;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.narrow {
  width: min(880px, 100%);
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--white);
}

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

.section-head p {
  max-width: 720px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--primary);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.nav-wrap {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  color: var(--white);
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
}

.brand-main {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.6px;
}

.brand-sub {
  font-size: 0.72rem;
  opacity: 0.84;
}

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

.main-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.main-nav a.active,
.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: scale(1.04);
  box-shadow: var(--shadow-soft);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #253041;
}

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--primary);
  color: var(--white);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.88rem;
}

.nav-cta {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.small {
  padding: 9px 16px;
  font-size: 0.86rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  z-index: 1205;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 78%);
  height: 100vh;
  background: var(--primary);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 100px 24px 24px;
  transform: translateX(110%);
  transition: transform 0.3s ease;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  padding: 8px 2px;
}

.mobile-nav a.active {
  color: var(--accent);
}

.mobile-cta {
  margin-top: 14px;
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.mobile-cta:hover,
.mobile-cta:focus-visible {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.mobile-nav-close {
  position: absolute;
  top: 18px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.mobile-nav-close:hover,
.mobile-nav-close:focus-visible {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.42);
  opacity: 0;
  pointer-events: none;
  z-index: 1050;
  transition: opacity 0.3s ease;
}

.menu-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.hero {
  min-height: 88vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 80px;
}

.hero-small {
  min-height: 58vh;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.58);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 760px;
  padding: 42px 0;
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  margin-bottom: 16px;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
}

.eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 12px;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-content .btn-primary {
  background: var(--white);
  color: var(--primary);
}

.hero-content .btn-primary:hover,
.hero-content .btn-primary:focus-visible {
  background: #e8ebef;
}

.hero-content .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.hero-content .btn-outline:hover,
.hero-content .btn-outline:focus-visible {
  background: var(--white);
  color: var(--primary);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover,
.card:focus-within {
  transform: scale(1.03);
  box-shadow: var(--shadow-strong);
  border-color: #d3d8e1;
}

.product-preview img,
.product-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}

.price {
  color: var(--primary);
  font-weight: 700;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.value-item i {
  color: var(--accent);
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.text-link {
  color: var(--accent);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.22s ease;
}

.text-link:hover,
.text-link:focus-visible {
  transform: scale(1.04);
}

.list-plain {
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
}

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

.timeline-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-soft);
}

.year {
  display: inline-block;
  background: var(--accent-sand);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  border-radius: 8px;
  padding: 5px 10px;
  margin-bottom: 10px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.tab {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--primary);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tab:hover,
.tab:focus-visible,
.tab.active {
  transform: scale(1.04);
  box-shadow: var(--shadow-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  padding: 0;
  overflow: hidden;
}

.product-card .card-body {
  padding: 0 18px 18px;
}

.badge {
  display: inline-flex;
  background: var(--accent-sand);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1300;
}

.modal.open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.54);
}

.modal-panel {
  position: relative;
  width: min(540px, 92%);
  margin: 12vh auto 0;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-strong);
  padding: 24px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: 0;
  font-size: 1.1rem;
  cursor: pointer;
}

.contact-layout {
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: #d6deea;
}

.contact-list i {
  color: var(--accent);
  margin-right: 8px;
}

.contact-list.big {
  color: var(--text-soft);
}

.form-group {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

label {
  font-size: 0.92rem;
  font-weight: 600;
}

input,
textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 12px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
}

input:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
.tab:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form-feedback {
  margin: 6px 0 14px;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-feedback.success {
  color: #0f7a39;
}

.form-feedback.error {
  color: #b42318;
}

.partnership-cta {
  text-align: center;
}

.site-footer {
  background: var(--primary);
  color: var(--white);
  margin-top: 24px;
}

.footer-grid {
  padding: 54px 0 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 26px;
}

.site-footer h3 {
  color: var(--white);
  margin-bottom: 12px;
}

.site-footer p,
.site-footer li {
  color: #d6deea;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.site-footer a {
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
  transform: scale(1.05);
}

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

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  justify-content: center;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--accent-sand);
  border-color: var(--accent-sand);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #d6deea;
  text-align: center;
  padding: 16px 12px;
  font-size: 0.88rem;
}

@media (max-width: 1024px) {
  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
  }

  .grid-2,
  .cards-3,
  .timeline,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-small {
    min-height: 50vh;
  }

  .section {
    padding: 60px 0;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(1120px, 94%);
  }

  .product-grid,
  .cards-4 {
    grid-template-columns: 1fr;
  }

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

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1;
    min-width: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

