:root {
  --ink: #14211f;
  --muted: #65736f;
  --line: #dbe4e0;
  --panel: #ffffff;
  --soft: #f4f8f6;
  --brand: #154535;
  --brand-2: #1b7a5a;
  --accent: #c99742;
  --danger: #9b3b2f;
  --shadow: 0 20px 55px rgba(23, 44, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfcfb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 252, 251, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand img {
  width: 74px;
  height: 49px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 30px);
  color: #33413e;
  font-size: 0.94rem;
}

.nav-links a {
  padding: 10px 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle,
.phone-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 6px;
  border: 1px solid var(--line);
  padding: 0 16px;
  font-weight: 700;
  white-space: nowrap;
}

.lang-toggle {
  color: var(--brand);
  background: #fff;
  cursor: pointer;
}

.phone-link {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(42px, 7vw, 86px) clamp(18px, 4vw, 64px) 42px;
  background:
    linear-gradient(115deg, rgba(21, 69, 53, 0.08), rgba(201, 151, 66, 0.1) 46%, transparent 47%),
    var(--soft);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0;
  max-width: 850px;
}

.hero-text {
  max-width: 680px;
  margin: 24px 0 0;
  color: #485854;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
}

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

.button {
  border-color: transparent;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 14px 30px rgba(21, 69, 53, 0.2);
}

.button.secondary {
  color: var(--brand);
  background: #fff;
  border-color: #bfd0ca;
}

.button.small {
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.9rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 36px 0 0;
}

.trust-strip div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(219, 228, 224, 0.8);
}

.trust-strip dt {
  font-weight: 900;
}

.trust-strip dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-media {
  overflow: hidden;
  border: 1px solid #c8d6d0;
  box-shadow: var(--shadow);
  background: #fff;
}

.hero-media img {
  width: 100%;
  height: min(62vh, 620px);
  object-fit: cover;
}

.carousel {
  position: relative;
}

.carousel-track {
  display: flex;
  width: 400%;
  animation: heroCarousel 18s infinite;
}

.carousel-slide {
  position: relative;
  flex: 0 0 25%;
  margin: 0;
}

.carousel-slide figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 9px 12px;
  color: #fff;
  background: rgba(20, 33, 31, 0.82);
  border-left: 4px solid var(--accent);
  font-weight: 900;
}

.carousel-dots {
  position: absolute;
  right: 18px;
  bottom: 20px;
  display: flex;
  gap: 8px;
}

.carousel-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(20, 33, 31, 0.22);
}

@keyframes heroCarousel {
  0%, 20% { transform: translateX(0); }
  25%, 45% { transform: translateX(-25%); }
  50%, 70% { transform: translateX(-50%); }
  75%, 95% { transform: translateX(-75%); }
  100% { transform: translateX(0); }
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 64px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1fr);
  gap: 20px 60px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 30px;
}

.section-heading h2,
.company-copy h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.4vw, 3.25rem);
  line-height: 1.04;
}

.section-heading p:last-child,
.company-copy p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading.compact {
  display: block;
  max-width: 780px;
  text-align: center;
}

.section-heading.compact p:last-child {
  margin-top: 14px;
}

.product-section {
  background: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.model-catalog {
  display: grid;
  gap: 34px;
  max-width: 1180px;
  margin: 42px auto 0;
}

.model-group {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.model-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.model-group-heading h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.model-group-heading a {
  color: var(--brand-2);
  font-weight: 850;
  white-space: nowrap;
}

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

.model-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 250px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(24, 45, 39, 0.05);
}

.model-card img {
  width: 100%;
  aspect-ratio: 1.58;
  object-fit: cover;
  background: #f5f8f7;
  border-bottom: 1px solid var(--line);
}

.model-card h4 {
  margin: 14px 14px 10px;
  font-size: 1.05rem;
  line-height: 1.2;
}

.model-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin: 0 14px 14px;
  color: #fff;
  background: var(--brand);
  border-radius: 6px;
  font-weight: 850;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 10px 26px rgba(24, 45, 39, 0.06);
}

.product-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 44px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--brand);
  border-bottom: 4px solid var(--accent);
  font-weight: 900;
  font-size: 0.88rem;
}

.product-card h3,
.step h3 {
  margin: 0;
  font-size: 1.24rem;
}

.product-card p,
.step p {
  margin: 12px 0 0;
  color: var(--muted);
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.product-meta span {
  padding: 7px 10px;
  color: #2d413b;
  background: #eef4f1;
  border: 1px solid #d6e3de;
  font-size: 0.82rem;
  font-weight: 750;
}

.product-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
}

.text-link {
  color: var(--brand-2);
  font-weight: 800;
  font-size: 0.9rem;
}

.process-section {
  background: #f2f6f4;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 32px auto 0;
}

.step {
  padding: 26px;
  background: #fff;
  border-left: 5px solid var(--brand);
  box-shadow: 0 10px 26px rgba(24, 45, 39, 0.05);
}

.step span {
  display: block;
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 2rem;
  font-weight: 900;
}

.company-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 42px;
  align-items: start;
  background: #fff;
}

.company-copy {
  max-width: 790px;
}

.contact-panel {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: var(--brand);
  color: #fff;
  font-style: normal;
  box-shadow: var(--shadow);
}

.contact-panel strong {
  color: #d9b66b;
  font-size: 1.3rem;
}

.contact-panel span,
.contact-panel a {
  color: rgba(255, 255, 255, 0.88);
}

.inquiry-section {
  background:
    linear-gradient(180deg, rgba(21, 69, 53, 0.06), transparent 38%),
    #f8faf9;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1030px;
  margin: 30px auto 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: #2b3d38;
  font-weight: 800;
}

.inquiry-form .wide {
  grid-column: 1 / -1;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd9d4;
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdfc;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-actions,
.form-note {
  grid-column: 1 / -1;
}

.form-note {
  margin: 0;
  color: var(--danger);
  font-weight: 750;
}

.service-entry {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  justify-items: end;
  gap: 10px;
}

.service-toggle {
  min-width: 92px;
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 16px 35px rgba(21, 69, 53, 0.26);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.service-panel {
  display: none;
  width: min(310px, calc(100vw - 36px));
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-entry.is-open .service-panel {
  display: grid;
  gap: 10px;
}

.service-panel strong {
  color: var(--brand);
  font-size: 1.05rem;
}

.service-panel a {
  display: block;
  padding: 10px 12px;
  color: #263733;
  background: #f4f8f6;
  border: 1px solid #dbe4e0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 24px clamp(18px, 4vw, 64px);
  color: #dce8e3;
  background: #13221f;
}

.site-footer img {
  width: 78px;
}

.site-footer p {
  margin: 0;
}

.site-footer span {
  display: block;
  color: #aebfba;
  margin-top: 2px;
}

.footer-contact {
  display: grid;
  gap: 6px;
  justify-items: end;
  color: #fff;
  font-weight: 750;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero,
  .company-section {
    grid-template-columns: 1fr;
  }

  .hero-media img {
    height: auto;
  }

  .section-heading,
  .product-grid,
  .model-grid,
  .steps,
  .inquiry-form {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 62px;
  }

  .brand small,
  .phone-link {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .carousel-slide figcaption {
    left: 12px;
    bottom: 12px;
    font-size: 0.88rem;
  }

  .model-group-heading {
    display: grid;
    align-items: start;
  }

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

  .trust-strip,
  .product-actions,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    display: grid;
  }

  .product-actions {
    display: grid;
    align-items: stretch;
  }

  .text-link {
    padding: 8px 0;
  }

  .service-entry {
    right: 14px;
    bottom: 14px;
  }

  .service-toggle {
    min-width: 78px;
    min-height: 44px;
  }

  .footer-contact {
    justify-items: start;
  }
}
