:root {
  --green: #087d37;
  --green-dark: #045b28;
  --yellow: #ffd52a;
  --orange: #f28b18;
  --red: #df2029;
  --ink: #05080b;
  --muted: #4b565e;
  --line: #dfe5e8;
  --soft: #f5f8f8;
  --footer: #071015;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: #fff;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
}

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

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

.page-shell {
  width: 100%;
  min-height: 100vh;
  background: #fff;
}

.site-container {
  width: min(1400px, calc(100% - 96px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: relative;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid #e8ecef;
}

.utility-bar {
  border-bottom: 1px solid #eef1f2;
}

.utility-inner {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
}

.utility-left,
.social-mini {
  display: flex;
  align-items: center;
}

.utility-left {
  gap: 24px;
  white-space: nowrap;
}

.social-mini {
  gap: 18px;
  font-size: 17px;
  font-weight: 900;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lang {
  display: inline-grid;
  place-items: center;
  min-width: 27px;
  height: 19px;
  padding: 0 6px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.lang.active {
  color: #fff;
  background: #c91d22;
}

.main-nav {
  height: 74px;
  display: grid;
  grid-template-columns: 310px 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand img {
  width: auto;
  height: 64px;
  max-width: 300px;
  object-fit: contain;
}

.nav-links {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.15vw, 25px);
  white-space: nowrap;
  font-size: 13px;
  font-weight: 650;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 74px;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 4px;
  background: var(--green);
}

.payment-link {
  height: 34px !important;
  padding: 0 13px;
  border: 1px solid rgba(8, 125, 55, 0.35);
  border-radius: 5px;
  color: var(--green);
  background: rgba(8, 125, 55, 0.06);
}

.payment-link::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 34px;
  border: 0;
  background: transparent;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  height: 3px;
  margin: 5px 0;
  background: var(--ink);
}

/* Home hero */
.hero {
  position: relative;
  min-height: 455px;
  isolation: isolate;
  background:
    linear-gradient(90deg, #fff 0 38%, rgba(255, 255, 255, 0.72) 48%, rgba(255, 255, 255, 0) 61%),
    repeating-linear-gradient(90deg, rgba(130, 150, 160, 0.08) 0 2px, transparent 2px 88px),
    linear-gradient(135deg, #f9fbfb, #e8eef0);
}

.hero-grid {
  width: 100%;
  min-height: 455px;
  display: grid;
  grid-template-columns: minmax(430px, calc((100vw - 1400px) / 2 + 532px)) minmax(0, 1fr);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(520px, calc(100% - 48px));
  margin-left: max(48px, calc((100vw - 1400px) / 2));
  padding: 34px 18px 86px 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 4.15vw, 66px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 900;
}

.hero h1 span {
  color: var(--red);
}

.lead {
  margin: 18px 0 12px;
  color: var(--green);
  font-size: 20px;
  font-weight: 800;
}

.body-copy {
  max-width: 500px;
  margin: 0 0 24px;
  color: #1e282d;
  font-size: 13.5px;
  line-height: 1.65;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 140px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(180deg, #0c9948, #057331);
  box-shadow: 0 9px 18px rgba(5, 115, 49, 0.2);
}

.btn.secondary {
  background: #fff;
  border-color: #7e878d;
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-width: 0;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 0 78px;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: auto;
  max-height: none;
  min-height: 390px;
  object-fit: cover;
  object-position: center bottom;
}

.ribbon-green {
  position: absolute;
  z-index: 1;
  left: -150px;
  bottom: 20px;
  width: 670px;
  height: 165px;
  border-top: 24px solid rgba(10, 145, 58, 0.95);
  border-bottom: 20px solid rgba(4, 91, 40, 0.92);
  border-radius: 50%;
  transform: rotate(9deg);
  box-shadow:
    inset 0 18px 0 rgba(18, 178, 75, 0.7),
    inset 0 34px 0 rgba(255, 213, 42, 0.55);
  pointer-events: none;
}

/* Feature strip */
.features {
  position: relative;
  z-index: 4;
  min-height: 88px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: -42px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(211, 218, 221, 0.95);
  box-shadow: 0 14px 30px rgba(20, 28, 30, 0.08);
}

.features article {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 22px;
  border-right: 1px solid var(--line);
}

.features article:last-child {
  border-right: 0;
}

.features h3 {
  margin: 0 0 5px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 850;
}

.features p {
  margin: 0;
  color: #46515a;
  font-size: 10.5px;
  line-height: 1.45;
}

.icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 2px solid var(--green);
  border-radius: 50%;
  position: relative;
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
  border-color: var(--green);
}

.leaf::before {
  width: 18px;
  height: 25px;
  left: 8px;
  top: 4px;
  border: 2px solid var(--green);
  border-radius: 100% 0 100% 0;
  transform: rotate(37deg);
}

.leaf::after {
  width: 20px;
  left: 7px;
  top: 20px;
  border-top: 2px solid var(--green);
  transform: rotate(-38deg);
}

.medal::before {
  width: 18px;
  height: 18px;
  left: 8px;
  top: 5px;
  border: 2px solid var(--green);
  border-radius: 50%;
}

.medal::after {
  left: 10px;
  top: 22px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 13px solid var(--green);
}

.factory {
  border-radius: 7px;
}

.factory::before {
  left: 7px;
  right: 7px;
  bottom: 8px;
  height: 16px;
  border: 2px solid var(--green);
  border-top: 0;
}

.factory::after {
  width: 8px;
  height: 22px;
  left: 20px;
  top: 5px;
  border: 2px solid var(--green);
  border-bottom: 0;
}

.team::before {
  width: 11px;
  height: 11px;
  left: 12px;
  top: 6px;
  border: 2px solid var(--green);
  border-radius: 50%;
}

.team::after {
  width: 25px;
  height: 13px;
  left: 5px;
  bottom: 7px;
  border: 2px solid var(--green);
  border-radius: 16px 16px 4px 4px;
}

.globe::before {
  inset: 6px;
  border: 2px solid var(--green);
  border-radius: 50%;
}

.globe::after {
  left: 18px;
  top: 6px;
  height: 25px;
  border-left: 2px solid var(--green);
}

/* Home content */
.about-band {
  display: grid;
  grid-template-columns: 285px 1fr;
  gap: 40px;
  padding: 34px 0 36px;
}

.section-line {
  display: block;
  width: 54px;
  height: 4px;
  margin-bottom: 12px;
  background: linear-gradient(90deg, var(--red) 0 33%, var(--yellow) 33% 66%, var(--green) 66%);
}

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

.about-copy h2,
.section-head h2,
.inner-hero h1 {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0;
}

.about-copy h2,
.section-head h2 {
  font-size: 26px;
  line-height: 1.1;
}

.about-copy p {
  margin: 24px 0 20px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.about-copy a,
.section-head a,
.info-card a {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

figure {
  margin: 0;
}

.about-gallery,
.image-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.about-gallery figure,
.fair-grid figure,
.gallery-grid figure,
.image-row figure {
  overflow: hidden;
  border-radius: 7px;
  background: #f3f6f7;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
}

.about-gallery figure,
.image-row figure {
  height: 170px;
}

.about-gallery img,
.image-row img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-gallery img[src*="line"],
.image-row img[src*="line"] {
  padding: 16px;
  object-fit: contain;
  background: #fff;
}

.home-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(210px, 0.62fr) minmax(210px, 0.62fr) minmax(210px, 0.72fr);
  border-top: 1px solid #d9dddf;
  background: #fff;
}

.fair-block,
.info-card,
.social-card {
  min-width: 0;
  padding: 18px 22px 22px;
  border-right: 1px solid var(--line);
}

.fair-block {
  padding-left: 0;
}

.social-card {
  border-right: 0;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.section-head a {
  flex: 0 0 auto;
  white-space: nowrap;
}

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

.fair-grid figure {
  height: 105px;
  background: #0c1115;
}

.fair-grid img,
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fair-gallery-page {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.fair-gallery-page figure {
  height: 320px;
  background: #f6f8f8;
  cursor: zoom-in;
}

.fair-gallery-page img {
  object-fit: contain;
  transition: transform 0.25s ease;
}

.fair-gallery-page figure:hover img {
  transform: scale(1.02);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(2, 8, 12, 0.92);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.lightbox button:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-close {
  top: 22px;
  right: 22px;
}

.lightbox-prev {
  left: 22px;
}

.lightbox-next {
  right: 22px;
}

.lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 8px 14px;
  backdrop-filter: blur(8px);
}

.info-card h2,
.social-card h2 {
  margin: 0;
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.12;
  font-weight: 900;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.info-card img {
  width: min(150px, 100%);
  height: 96px;
  margin: 14px auto 10px;
  object-fit: contain;
}

.social-card p {
  margin: 18px 0 22px;
  color: #394248;
  font-size: 12.5px;
  line-height: 1.55;
}

.social-big {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-big a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
}

.ig {
  background: linear-gradient(135deg, #7c39d8, #ff244d, #ffb02e);
}

.li {
  background: #0077b5;
}

.yt {
  background: #e30f18;
}

/* Inner pages */
.inner-hero {
  padding: 58px 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.76)),
    repeating-linear-gradient(90deg, rgba(112, 134, 146, 0.08) 0 2px, transparent 2px 88px),
    linear-gradient(135deg, #f8fbfb, #e9eef0);
}

.inner-hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
}

.inner-hero p {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.split-section,
.product-showcase,
.form-layout,
.contact-grid,
.document-grid,
.simple-cta,
.card-list,
.prose,
.gallery-page {
  padding: 54px 0;
}

.split-section,
.product-showcase,
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

.split-section h2,
.product-showcase h2,
.form-layout h2,
.simple-cta h2,
.contact-grid h2,
.card-list h2 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.12;
}

.split-section p,
.product-showcase p,
.form-layout p,
.simple-cta p,
.contact-grid p,
.card-list p,
.prose p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

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

.gallery-grid figure {
  height: 210px;
  background: #0c1115;
}

.document-grid,
.contact-grid,
.card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.document-grid article,
.contact-grid article,
.card-list article,
.simple-cta,
.form-layout form,
.form-layout aside {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(20, 28, 30, 0.06);
}

.document-grid img {
  width: 190px;
  height: 130px;
  object-fit: contain;
  margin-bottom: 18px;
}

.product-showcase figure {
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.product-showcase img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: #1a2329;
  font-size: 13px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfd6da;
  border-radius: 6px;
  padding: 12px 13px;
  font: inherit;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

/* Footer */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--footer);
  color: #fff;
}

.footer-accent {
  height: 18px;
  background: linear-gradient(90deg, var(--green) 0 28%, var(--yellow) 42%, var(--orange) 62%, var(--red) 100%);
}

.footer::after {
  content: "";
  position: absolute;
  right: -220px;
  bottom: -150px;
  width: 820px;
  height: 260px;
  border-top: 28px solid rgba(226, 32, 41, 0.42);
  border-bottom: 25px solid rgba(242, 138, 23, 0.36);
  border-radius: 50%;
  transform: rotate(10deg);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(220px, 1.45fr) repeat(5, minmax(120px, 1fr));
  gap: 28px;
  padding: 46px 0 34px;
}

.footer-brand img {
  width: min(190px, 100%);
  max-height: 150px;
  object-fit: contain;
  background: #fff;
}

.footer h4 {
  margin: 0 0 13px;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 1.25;
}

.footer a,
.footer p {
  display: block;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  line-height: 1.38;
}

.copyright {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 16px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
}

@media (max-width: 1320px) {
  .site-container {
    width: min(1200px, calc(100% - 56px));
  }

  .main-nav {
    grid-template-columns: 250px 1fr auto;
  }

  .brand img {
    height: 58px;
    max-width: 240px;
  }

  .nav-links {
    gap: 10px;
    font-size: 11.5px;
  }

  .payment-link {
    padding: 0 9px;
  }

  .hero h1 {
    font-size: clamp(40px, 3.85vw, 56px);
  }
}

@media (max-width: 1120px) {
  .main-nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    position: absolute;
    right: 28px;
    top: 109px;
    width: min(360px, calc(100vw - 56px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    height: auto;
    padding: 12px 10px;
  }

  .nav-links a.active::after {
    left: 10px;
    right: auto;
    bottom: 4px;
    width: 45px;
  }

  .payment-link {
    height: auto !important;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid,
  .split-section,
  .product-showcase,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 38px 0 14px;
  }

  .hero-visual {
    padding-bottom: 74px;
  }

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

  .features article:nth-child(2n),
  .home-panels > *:nth-child(2n) {
    border-right: 0;
  }

  .fair-block {
    grid-column: 1 / -1;
  }

  .about-band,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .lightbox {
    padding: 16px;
  }

  .lightbox button {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .site-container {
    width: calc(100% - 28px);
  }

  .utility-left a,
  .utility-left > span:not(.lang) {
    display: none;
  }

  .social-mini {
    gap: 14px;
  }

  .main-nav {
    height: 66px;
  }

  .brand img {
    height: 54px;
    max-width: 214px;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

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

  .lead {
    font-size: 15px;
  }

  .body-copy {
    font-size: 12px;
  }

  .hero-visual img {
    max-height: none;
  }

  .ribbon-green {
    left: -170px;
    bottom: 16px;
    width: 410px;
    height: 110px;
  }

  .features,
  .home-panels,
  .about-band,
  .about-gallery,
  .image-row,
  .document-grid,
  .contact-grid,
  .card-list,
  .gallery-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .features {
    margin-top: 0;
  }

  .features article,
  .fair-block,
  .info-card,
  .social-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .features article:last-child,
  .home-panels > *:last-child {
    border-bottom: 0;
  }

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

  .section-head {
    flex-direction: column;
  }

  .footer-inner {
    gap: 22px;
  }

  .copyright {
    flex-direction: column;
    gap: 8px;
  }
}
