body {
  background: var(--off);
}

site-header,
site-footer {
  display: block;
}

.footer a[aria-current="page"] {
  color: #deb16e;
}

.cotton-hero {
  position: relative;
  min-height: clamp(650px, 47vw, 810px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(165px, 14vw, 245px) 0 clamp(90px, 10vw, 160px);
  background: url("../assets/Global assets/companyherobanner.png") right center / cover no-repeat;
}

.cotton-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cotton-hero .eyebrow {
  margin-bottom: clamp(20px, 2vw, 32px);
  color: #d48700;
}

.cotton-hero h1 {
  max-width: 1450px;
  margin: 0 auto clamp(28px, 3vw, 44px);
  line-height: 1.03;
  text-wrap: balance;
}

.cotton-hero-inner > p:last-child {
  max-width: 1180px;
  margin: 0 auto;
  line-height: 1.5;
}

.technical-factors,
.cotton-categories {
  background: #fff;
}

.cotton-section-heading {
  margin-bottom: clamp(50px, 6vw, 90px);
}

.cotton-section-heading h2 {
  text-wrap: balance;
}

.cotton-section-heading .lead {
  max-width: 1000px;
}

.technical-carousel {
  --technical-gap: clamp(20px, 1.35vw, 28px);
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 76px;
  align-items: center;
  gap: clamp(14px, 1.25vw, 26px);
  width: min(98vw, 1960px);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.technical-carousel .carousel-control {
  width: 76px;
  height: 76px;
}

.technical-viewport {
  overflow: hidden;
  padding: 2px 1px;
  touch-action: pan-y;
}

.technical-viewport:focus-visible {
  outline: 3px solid rgba(213, 154, 37, 0.7);
  outline-offset: 5px;
  border-radius: 28px;
}

.technical-track {
  display: flex;
  gap: var(--technical-gap);
  transition: transform 0.42s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

.technical-card {
  flex: 0 0 100%;
  height: clamp(490px, 28vw, 550px);
  padding: clamp(46px, 3.7vw, 72px) clamp(32px, 3.15vw, 64px) clamp(42px, 3.1vw, 60px);
  border-radius: 24px;
  background: #fff1d8;
}

.technical-card img {
  width: clamp(132px, 8vw, 160px);
  aspect-ratio: 1;
  margin-bottom: clamp(38px, 3vw, 38px);
  border-radius: 50%;
}

.technical-card h3 {
  margin-bottom: clamp(14px, 1vw, 20px);
  color: var(--navy);
  font-size: clamp(1.65rem, 1.8vw, 2.25rem);
  font-weight: 600;
  line-height: 1.15;
}

.technical-card p {
  max-width: 340px;
  margin: 0;
  color: #111;
  font-size: clamp(1.08rem, 1.25vw, 1.5rem);
  font-weight: 100;
  line-height: 1.42;
}

.cotton-panorama {
  width: 100%;
  overflow: hidden;
  background: #3074ac;
}

.cotton-panorama img {
  width: 100%;
  height: clamp(390px, 40.55vw, 730px);
  object-fit: cover;
  object-position: center;
}

.cotton-category-layout {
  display: grid;
  gap: clamp(42px, 5vw, 82px);
  align-items: stretch;
}

.cotton-category-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cotton-category {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  padding: 0 0 clamp(34px, 3.5vw, 58px);
  margin-bottom: clamp(34px, 3.5vw, 58px);
  border-bottom: 1px solid #d5a95b;
}

.cotton-category:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.cotton-category-number {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-top: 24px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2c82b7, #00355d);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
}

.cotton-category-label {
  margin: 0 0 8px;
  color: #c89232;
  font-size: clamp(0.88rem, 1vw, 1.08rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.cotton-category h3 {
  margin-bottom: 20px;
  font-size: clamp(1.4rem, 1.7vw, 1.8rem);
  font-weight: 600;
  line-height: 1.25;
}

.cotton-category > div > p:last-child {
  margin: 0;
  color: #767676;
  font-size: clamp(0.95rem, 1.15vw, 1.28rem);
  font-weight: 400;
  line-height: 1.4;
}

.cotton-category-image {
  width: 100%;
  height: 100%;
  min-height: 680px;
  object-fit: cover;
  border-radius: clamp(30px, 3vw, 52px);
}

.cotton-availability-note {
  margin: clamp(54px, 6vw, 90px) 0 0;
  padding: clamp(24px, 2.5vw, 38px);
  border-radius: 16px;
  background: #f7f6f1;
  color: #969696;
  text-align: center;
  font-size: clamp(0.95rem, 1.08vw, 1.18rem);
  font-weight: 300;
  line-height: 1.5;
}

.cotton-cta .cta-panel {
  background: #f8ddb0;
}

.cotton-cta .cta-panel::before {
  background: url("../assets/ctabg.png") center/cover no-repeat;
}

.cotton-cta .cta-panel h2 {
  line-height: 1.02;
}

.cotton-cta .cta-panel .button {
  min-width: min(100%, 350px);
}

@media (min-width: 600px) {
  .technical-card {
    flex-basis: calc((100% - var(--technical-gap)) / 2);
  }
}

@media (min-width: 1024px) {
  .technical-card {
    flex-basis: calc((100% - (var(--technical-gap) * 3)) / 4);
  }

  .cotton-category-layout {
    grid-template-columns: minmax(250px, 1fr) minmax(390px, 1.15fr) minmax(250px, 1fr);
  }
}

@media (max-width: 1023px) {
  .cotton-category-layout {
    grid-template-columns: 1fr 1fr;
  }

  .cotton-category-image {
    order: -1;
    grid-column: 1 / -1;
    max-width: 620px;
    min-height: 720px;
    justify-self: center;
  }
}

@media (max-width: 767px) {
  .cotton-hero {
    min-height: 690px;
    padding-top: 145px;
    background-position: center;
  }

  .cotton-hero h1 {
    line-height: 0.98;
  }

  .technical-carousel {
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    gap: 8px;
  }

  .technical-carousel .carousel-control {
    width: 46px;
    height: 46px;
  }

  .technical-card {
    height: 490px;
    padding: 44px 34px;
  }

  .technical-card img {
    width: 132px;
    margin-bottom: 38px;
  }

  .technical-card h3 {
    font-size: 1.75rem;
  }

  .technical-card p {
    font-size: 1.1rem;
  }

  .cotton-category-layout {
    grid-template-columns: 1fr;
  }

  .cotton-category-image {
    grid-column: auto;
    min-height: 560px;
  }

  .cotton-category {
    grid-template-columns: 54px 1fr;
  }

  .cotton-category-number {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }

  .cotton-cta .cta-panel h2 br {
    display: none;
  }
}

@media (max-width: 599px) {
  .cotton-panorama img {
    height: 430px;
    object-position: 35% center;
  }

  .cotton-cta .button-row {
    flex-direction: column;
  }

  .cotton-cta .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .technical-track {
    transition: none;
  }
}
