:root {
  --navy: #2f1b54;
  --green: #07892f;
  --ink: #012c6d;
  --card: #1c1b40;
  --card-text: #e4e4f2;
  --desc: #646a8c;
  --gray: #ebebeb;
  --muted: #7a7a7a;
  --wrap: 1140px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: #202020;
  background: #fff;
  font-family: Ubuntu, "Segoe UI", sans-serif;
}

img { max-width: 100%; height: auto; }

.wrap {
  width: min(var(--wrap), calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #111;
  color: #fff;
  padding: 8px 12px;
  z-index: 20;
}

.skip-link:focus { left: 0; }

.topbar { background: #fff; padding: 18px 0 14px; }

.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img { width: min(378px, 100%); height: auto; display: block; }

.contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
}

.contact svg { color: var(--green); flex: 0 0 auto; }

.equipe {
  margin: 2px 0 0 26px;
  color: #666;
  font-size: 13px;
}

.mainnav {
  background: var(--navy);
  border-top: 3px solid var(--green);
  min-height: 56px;
  position: relative;
}

.menu {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: stretch;
  margin: 0;
  padding: 0;
}

.menu a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 18px 18px;
  font-family: Roboto, Ubuntu, sans-serif;
}

.menu a.is-on,
.menu a:hover { background: var(--green); }

.site-header .nav-toggle {
  display: none;
  margin: 8px auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  padding: 0;
}

.hero { position: relative; background: #111; overflow: hidden; }

.hero-viewport { overflow: hidden; }

.hero-track {
  display: flex;
  width: 100%;
  transition: transform 500ms ease;
  will-change: transform;
}

.hero-slide { flex: 0 0 100%; width: 100%; min-width: 0; overflow: hidden; }

.hero-slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 495;
  object-fit: cover;
}

.hero-arrow,
.feat-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #1f2226;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.hero-prev, .feat-prev { left: 16px; }
.hero-next, .feat-next { right: 16px; }

.rotate-note {
  margin: 0;
  background: var(--green);
  color: #fff;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 12px 16px;
  min-height: 41px;
}

.intro { background: var(--gray); padding: 40px 0 56px; }

.intro h1,
.intro-strong,
.lead { text-align: center; margin: 0 auto; max-width: 1120px; }

.intro h1 {
  font-size: 2.2em;
  font-weight: 400;
  line-height: 1.3;
  color: #000;
}

.intro-strong {
  font-size: 2.8em;
  font-weight: 700;
  color: #000;
  line-height: 1.15;
}

.lead {
  margin-top: 12px;
  font-size: 1.2em;
  font-weight: 300;
  line-height: 1.3;
  color: #000;
}

.cards {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.card {
  background: var(--card);
  border-radius: 10px;
  padding: 16px 16px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background 0.6s ease, box-shadow 0.3s ease;
}

.card:hover {
  background: linear-gradient(180deg, #1c1b40 0%, #343666 100%);
  box-shadow: inset 0 0 0 2px #6f4bf1;
}

.card-photo {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 10px;
}

.card-icon { width: 80px; height: 80px; margin: 14px 0 6px; }

.card h2 {
  margin: 0 0 12px;
  color: var(--card-text);
  font-size: 1.5em;
  font-weight: 500;
  line-height: 1.2;
}

.card-text {
  margin: 0 0 16px;
  width: 100%;
  min-height: 125px;
  background: var(--desc);
  color: var(--card-text);
  border-radius: 5px;
  padding: 15px;
  font-size: 1em;
  font-weight: 300;
  line-height: 1.35;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-size: 1em;
  padding: 12px 22px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.29);
}

.btn span {
  width: 18px;
  height: 18px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 14px;
  line-height: 1;
}

.btn:hover { background: #7e81e6; }

@keyframes fadeInDown {
  from { opacity: 0; transform: translate3d(0, -40px, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 48px, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes elementor-animation-bob {
  0% { transform: translateY(-8px); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(-8px); }
}

.anim-down { animation: fadeInDown 1.1s both; }

.anim-up { animation: fadeInUp 1.1s both; }

.card:nth-child(2) { animation-delay: 0.15s; }
.card:nth-child(3) { animation-delay: 0.3s; }

.elementor-animation-bob:hover,
.elementor-animation-bob:focus {
  animation: elementor-animation-bob 1.5s ease-in-out infinite alternate;
}

.site-footer { animation: fadeIn 1s 0.3s both; }

.feature {
  position: relative;
  min-height: 452px;
  background: #f3f3f3 url("/wp-content/uploads/2024/09/134-scaled.jpg") center / cover no-repeat;
  display: flex;
  align-items: stretch;
}

.feature-viewport {
  overflow: hidden;
  width: 100%;
}

.feature-track {
  display: flex;
  width: 100%;
  transition: transform 800ms ease;
  will-change: transform;
}

.feature-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  min-height: 452px;
  display: grid;
  grid-template-columns: minmax(0, 530px) minmax(0, 570px);
  justify-content: center;
  align-items: end;
  box-sizing: border-box;
  padding: 0 56px;
}

.feature-copy {
  text-align: center;
  align-self: center;
  padding: 48px 28px 56px;
}

.kicker {
  margin: 0;
  font-family: "Open Sans", Ubuntu, sans-serif;
  font-size: 40px;
  font-weight: 400;
  color: #202020;
  line-height: 1;
}

.feature-copy h2 {
  margin: -12px 0 10px;
  font-family: "Open Sans", Ubuntu, sans-serif;
  font-size: 46px;
  font-weight: 800;
  color: #202020;
  line-height: 1;
}

.feature-copy p {
  margin: 0 auto 16px;
  max-width: 420px;
  font-family: "Open Sans", Ubuntu, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #202020;
  line-height: 1.35;
}

.feature-slide img {
  width: min(100%, 570px);
  max-width: 100%;
  max-height: 380px;
  justify-self: center;
  align-self: end;
  object-fit: contain;
  object-position: center bottom;
}

.btn-dark {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 10px 18px;
}

.btn-dark:hover { background: #1c1b40; }

.site-footer { background: #fff; padding: 0 0 20px; }

.footer-grid {
  display: grid;
  grid-template-columns: 35.632% 32.394% 31.608%;
  align-items: center;
  margin: 50px auto;
}

.footer-col--office { padding: 1em 3em 1em 1em; }

.footer-col--plant,
.footer-col--logos {
  border-left: 1px solid rgba(100, 106, 140, 0.36);
  padding: 1em 1em 1em 3em;
}

.footer-col--logos {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer h2 {
  margin: 0 0 15px;
  font-family: Ubuntu, "Segoe UI", sans-serif;
  font-size: 1.55em;
  font-weight: 700;
  color: #000;
  line-height: 1.25;
}

.addr {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin: 0;
  font-family: Ubuntu, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #000;
  line-height: 1.4;
}

.addr svg { color: #7e81e6; flex: 0 0 auto; margin-top: 2px; }

.footer-col--logos img { width: min(295px, 100%); height: auto; }

.copy {
  margin: 0;
  padding: 0 16px;
  text-align: center;
  font-family: Roboto, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .intro h1 { font-size: 1.8em; }
  .intro-strong { font-size: 2.1em; }
  .cards { gap: 16px; }
  .kicker { font-size: 28px; }
  .feature-copy h2 { font-size: 36px; }
}

@media (max-width: 767px) {
  .topbar-row { flex-direction: column; align-items: center; text-align: center; }
  .contacts { align-items: center; }
  .equipe { margin-left: 0; }
  .site-header .nav-toggle { display: grid; place-items: center; }
  .menu {
    display: none;
    flex-direction: column;
    background: var(--navy);
  }
  .mainnav.is-open .menu { display: flex; }
  .menu a { padding: 14px 20px; }
  .cards { grid-template-columns: 1fr; }
  .feature-slide {
    grid-template-columns: 1fr;
    width: 100%;
    flex: 0 0 100%;
    padding: 0 36px;
    align-items: center;
  }
  .feature-copy { padding: 24px 8px 8px; }
  .feature-slide img { width: min(100%, 360px); max-height: 280px; }
  .footer-grid {
    grid-template-columns: 1fr;
    margin: 32px auto;
    text-align: center;
  }
  .footer-col--office,
  .footer-col--plant,
  .footer-col--logos {
    border-left: 0;
    padding: 0 0 1.25em;
  }
  .footer-col--logos { padding-bottom: 0; }
  .addr { justify-content: center; text-align: left; max-width: 340px; margin-inline: auto; }
  .site-footer h2 { font-size: 1.35em; }
}
