:root {
  --yellow: #ffd800;
  --yellow-2: #f5c400;
  --blue: #0055a6;
  --blue-dark: #003f84;
  --text: #17202a;
  --muted: #6b7280;
  --line: #e6e9ee;
  --bg: #f7f8fb;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header__inner {
  width: min(1220px, calc(100% - 32px));
  min-height: 78px;
  display: grid;
  grid-template-columns: auto minmax(320px, 560px) auto;
  gap: 22px;
  align-items: center;
  margin: 0 auto;
}

.study-logo {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--blue);
  text-decoration: none;
  font-size: 20px;
  font-weight: 900;
}

.header-search input,
.finder input,
.newsletter input[type="email"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 20px;
  color: var(--text);
  font-size: 15px;
}

.header-nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
}

.header-nav a {
  color: var(--blue);
  text-decoration: none;
}

.hero-banner {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--yellow) 0%, #ffe457 52%, var(--yellow-2) 100%);
}

.hero-banner__content {
  position: relative;
  width: min(1220px, calc(100% - 72px));
  min-height: 480px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 34px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy p {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 520px;
  margin: 0;
  color: var(--blue);
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.95;
  font-weight: 900;
}

.hero-copy span {
  display: block;
  max-width: 500px;
  margin-top: 18px;
  color: #21415f;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.hero-illustration {
  position: relative;
  min-height: 440px;
}

.chain {
  position: absolute;
  width: 210px;
  height: 92px;
  border: 18px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  transform: rotate(-18deg);
}

.chain--one {
  right: 270px;
  top: 44px;
}

.chain--two {
  right: 120px;
  top: 110px;
}

.factory {
  position: absolute;
  right: 80px;
  bottom: 68px;
  width: 420px;
  height: 260px;
}

.factory__roof {
  height: 70px;
  clip-path: polygon(0 100%, 12% 35%, 27% 100%, 40% 30%, 56% 100%, 73% 42%, 100% 100%);
  background: #fff;
}

.factory__body {
  height: 190px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 28px;
  border-radius: 0 0 18px 18px;
  background: #fff;
  box-shadow: 0 25px 60px rgba(0, 63, 132, 0.18);
}

.factory__body i {
  border-radius: 8px;
  background: #d9eaff;
}

.brand-strip {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}

.brand-strip b {
  min-height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 13px;
  text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(0, 63, 132, 0.11);
}

.slider-control {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 63, 132, 0.16);
}

.slider-control--left,
.slider-control--right {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
}

.slider-control--left {
  left: 22px;
}

.slider-control--right {
  right: 22px;
}

.path-section,
.news-intro,
.finder,
.products,
.differentials,
.commitment,
.updates,
.newsletter {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
  text-align: center;
}

.path-section h2,
.news-intro h2,
.finder h2,
.section-title h2,
.commitment h2,
.updates h2,
.newsletter h2 {
  max-width: 940px;
  margin: 0 auto 14px;
  color: var(--text);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  font-weight: 900;
}

.partner-marquee,
.quote-marquee {
  overflow: hidden;
  margin-top: 30px;
}

.partner-marquee div,
.quote-marquee div {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: marquee 26s linear infinite;
}

.partner-marquee span {
  width: 132px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.news-intro {
  padding-top: 28px;
}

.news-intro p,
.section-title p,
.updates p,
.newsletter p,
.commitment p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.news-intro a,
.all-products,
.commitment a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.finder {
  width: 100%;
  padding-right: max(16px, calc((100% - 1220px) / 2));
  padding-left: max(16px, calc((100% - 1220px) / 2));
  background: #fff;
}

.finder form {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin: 28px auto 0;
}

.finder button,
.newsletter button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.quote-marquee span {
  color: var(--blue);
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.product-carousel {
  display: grid;
  grid-template-columns: auto repeat(4, minmax(0, 1fr)) auto;
  gap: 16px;
  align-items: center;
  margin-top: 34px;
}

.product-control {
  align-self: center;
}

.product-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: left;
  box-shadow: 0 18px 40px rgba(23, 32, 42, 0.06);
}

.product-image {
  width: 100%;
  height: 205px;
  margin-bottom: 18px;
  border-radius: 8px;
}

.product-image--yellow {
  background: linear-gradient(145deg, #fff5ae, #ffd800);
}

.product-image--blue {
  background: linear-gradient(145deg, #d9ebff, #0055a6);
}

.product-image--green {
  background: linear-gradient(145deg, #dfffea, #19a86b);
}

.product-image--red {
  background: linear-gradient(145deg, #ffe0dd, #e14332);
}

.product-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.product-card h3 {
  min-height: 60px;
  margin: 8px 0 18px;
  color: var(--text);
  font-size: 23px;
  line-height: 1.14;
}

.product-card a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.differentials {
  width: 100%;
  padding-right: max(16px, calc((100% - 1220px) / 2));
  padding-left: max(16px, calc((100% - 1220px) / 2));
  background: #fff;
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.differentials-grid article {
  text-align: left;
}

.diff-icon {
  height: 185px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--yellow);
}

.diff-icon--years {
  background: linear-gradient(135deg, #fff3a5, var(--yellow));
}

.diff-icon--quality {
  background: linear-gradient(135deg, #d7ebff, #6eb4ff);
}

.diff-icon--map {
  background: linear-gradient(135deg, #dcffe9, #67d99a);
}

.diff-icon--price {
  background: linear-gradient(135deg, #ffe4de, #ff7a64);
}

.differentials-grid h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.12;
}

.differentials-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
}

.commitment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 44px;
  align-items: center;
  text-align: left;
}

.commitment h2,
.commitment p {
  margin-left: 0;
}

.numbers {
  display: grid;
  gap: 14px;
}

.numbers div {
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(23, 32, 42, 0.06);
}

.numbers strong {
  display: block;
  color: var(--blue);
  font-size: 52px;
  line-height: 0.9;
}

.numbers span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.updates-grid article {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--blue), var(--blue-dark));
  color: #fff;
  text-align: left;
}

.updates-grid span {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.updates-grid h3 {
  margin: 10px 0 0;
  font-size: 25px;
  line-height: 1.12;
}

.newsletter {
  margin-bottom: 62px;
  padding: 42px;
  border-radius: 8px;
  background: var(--yellow);
}

.newsletter form {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin: 28px auto 0;
}

.newsletter label {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  align-items: center;
  color: #24435f;
  font-size: 13px;
  font-weight: 700;
}

.newsletter label input {
  width: auto;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 38px max(16px, calc((100% - 1220px) / 2));
  background: var(--blue);
  color: #fff;
}

.footer strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.footer p {
  max-width: 540px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-content: flex-start;
}

.footer a {
  color: #fff;
  font-weight: 800;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-35%);
  }
}

@media (max-width: 1040px) {
  .header__inner,
  .hero-banner__content,
  .commitment {
    grid-template-columns: 1fr;
  }

  .header-nav {
    display: none;
  }

  .hero-banner__content {
    padding: 32px 0 72px;
  }

  .brand-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .product-control {
    display: none;
  }

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

@media (max-width: 680px) {
  .hero-banner__content {
    width: min(100% - 30px, 1220px);
  }

  .slider-control--left,
  .slider-control--right {
    display: none;
  }

  .hero-illustration {
    min-height: 330px;
  }

  .factory {
    right: 0;
    width: 280px;
    height: 210px;
  }

  .chain {
    width: 150px;
    height: 70px;
  }

  .brand-strip,
  .product-carousel,
  .differentials-grid,
  .updates-grid,
  .finder form,
  .newsletter form {
    grid-template-columns: 1fr;
  }

  .newsletter {
    padding: 28px 18px;
  }

  .footer {
    display: block;
  }
}
