:root {
  --blue: #006db6;
  --blue-dark: #00599e;
  --blue-light: #6fd1f3;
  --ink: #252b33;
  --muted: #5b6169;
  --rule: #dedede;
  --soft: #f4f5f7;
  --white: #fff;
  --header-height: 166px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

section {
  scroll-margin-top: var(--header-height);
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

.center {
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 18px 60px 24px;
  background: var(--white);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

.brand img {
  width: 220px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 12px;
}

.primary-nav a {
  color: var(--blue);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--blue-light);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  margin: 7px 0;
  background: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 620px;
  padding: 70px 48px 90px;
}

.hero h1 {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: clamp(54px, 5.4vw, 76px);
  font-weight: 900;
  line-height: 1.08;
}

.hero p {
  max-width: 560px;
  margin: 0 0 34px;
  color: #111;
  font-size: 21px;
}

.hero-media {
  position: relative;
  min-height: 554px;
}

.hero-media::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 32%;
  content: "";
  background: linear-gradient(90deg, var(--white) 0%, rgba(255, 255, 255, 0.78) 44%, rgba(255, 255, 255, 0) 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  min-height: 56px;
  padding: 14px 24px;
  border: 0;
  border-radius: 3px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.light {
  color: var(--blue-dark);
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.retailer-callout {
  padding: 54px 0;
  color: var(--white);
  background: var(--blue);
}

.system-section h2,
.benefits-section h2,
.gallery-section h2,
.customer-section h2,
.contact-section h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.12;
}

.retailer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
}

.retailer-callout h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 39px;
  font-weight: 400;
  line-height: 1.25;
}

.retailer-callout p {
  margin: 0;
  max-width: 720px;
  color: var(--white);
  font-size: 23px;
  line-height: 1.45;
}

.retailer-callout .button {
  flex: 0 0 auto;
  min-width: 218px;
  min-height: 78px;
  font-size: 20px;
}

.system-section {
  padding: 96px 0 92px;
  text-align: center;
}

.system-section h2 span,
.customer-section h2 span {
  display: block;
}

.section-intro {
  margin: 48px auto 58px;
  color: #111;
  font-size: 21px;
}

.feature-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  text-align: center;
}

.feature-columns h3 {
  margin: 0 0 42px;
  color: var(--blue);
  font-size: 27px;
  line-height: 1.25;
}

.ruled-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ruled-list li {
  padding: 18px 22px;
  border-top: 1px solid var(--rule);
  color: #111;
}

.ruled-list li:last-child {
  border-bottom: 1px solid var(--rule);
}

.system-action {
  margin-top: 58px;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--soft);
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px clamp(48px, 7vw, 94px);
}

.split-copy h2 {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 46px;
  line-height: 1.1;
}

hr {
  width: 100%;
  height: 1px;
  margin: 0 0 26px;
  border: 0;
  background: var(--rule);
}

.split-copy p {
  margin: 0 0 22px;
  color: #30343a;
  font-size: 21px;
}

.retailer-logos {
  display: flex;
  justify-content: center;
  padding: 74px 24px 88px;
  background: var(--white);
}

.retailer-logos img {
  width: min(950px, 100%);
  height: auto;
}

.benefits-section {
  padding: 0;
  background: var(--soft);
  text-align: center;
}

.benefits-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(480px, 1.2fr) minmax(260px, 0.72fr);
  align-items: stretch;
  min-height: 520px;
}

.benefits-section h2 {
  max-width: 760px;
  margin: 0 auto 18px;
}

.benefits-section hr {
  max-width: 240px;
  margin: 0 auto 30px;
}

.benefits-section p {
  margin: 0 auto 32px;
  max-width: 720px;
  font-size: 20px;
}

.benefits-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 76px 48px;
}

.benefit-side-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.gallery-section {
  padding: 92px 0 104px;
  background: var(--white);
}

.gallery-section h2 {
  margin-bottom: 44px;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  background: #e8e8e8;
}

.gallery-grid img {
  width: 100%;
  height: 154px;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gallery-grid a:hover img {
  transform: scale(1.04);
}

.customer-section {
  background: var(--white);
}

.customer-banner {
  width: 100%;
  height: 245px;
  background-image: url("assets/fishing-banner.png");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.customer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 56px;
  align-items: center;
  padding-top: 86px;
  padding-bottom: 100px;
}

.customer-section h2 {
  margin-bottom: 34px;
}

.ruled-list.large li {
  padding-left: 20px;
  font-size: 22px;
}

.customer-layout .button {
  margin-top: 46px;
}

.customer-logo {
  width: min(100%, 430px);
  height: auto;
  justify-self: center;
}

.contact-cta {
  padding: 28px 0;
  color: var(--white);
  background: var(--blue);
  border-bottom: 6px solid var(--blue-dark);
}

.contact-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.contact-cta h2 {
  max-width: 800px;
  margin: 0;
  color: var(--white);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 1.28;
}

.contact-section {
  padding: 88px 0 126px;
  background: var(--white);
  text-align: center;
}

.contact-section h2 {
  margin-bottom: 44px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 50px;
  color: #252525;
  font-style: normal;
  font-size: 21px;
  line-height: 1.35;
}

.contact-details a {
  text-decoration: none;
}

.contact-details strong {
  margin-right: 7px;
  color: #111;
}

.contact-form {
  display: grid;
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

label {
  display: grid;
  gap: 8px;
  color: #767676;
  font-size: 16px;
}

input,
textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 2px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 76px;
  color: var(--white);
  background: var(--blue);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(0, 0, 0, 0.84);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(100%, 1100px);
  max-height: 86vh;
  object-fit: contain;
  background: var(--white);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 980px) {
  :root {
    --header-height: 118px;
  }

  .site-header {
    min-height: var(--header-height);
    padding: 14px 24px;
  }

  .brand img {
    width: 170px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: var(--white);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  }

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

  .primary-nav a {
    width: 100%;
    padding: 15px 24px;
    border-top: 1px solid #e7e7e7;
  }

  .hero,
  .split-section,
  .feature-columns,
  .benefits-layout,
  .customer-layout,
  .contact-cta .container {
    grid-template-columns: 1fr;
  }

  .retailer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy {
    order: 2;
    padding: 42px 24px 60px;
  }

  .hero-media {
    order: 1;
    min-height: 340px;
  }

  .split-media img {
    min-height: 320px;
  }

  .benefits-copy {
    order: 1;
  }

  .benefit-side-image {
    order: 2;
  }

  .benefit-side-image img {
    min-height: 260px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .customer-banner {
    background-attachment: scroll;
  }

  .contact-cta .container {
    display: grid;
    justify-items: start;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(100% - 30px, 1120px);
  }

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

  .hero p,
  .split-copy p,
  .section-intro,
  .benefits-section p,
  .contact-details,
  .ruled-list.large li {
    font-size: 18px;
  }

  .retailer-callout h2,
  .system-section h2,
  .benefits-section h2,
  .gallery-section h2,
  .customer-section h2,
  .contact-section h2 {
    font-size: 39px;
  }

  .split-copy {
    padding: 46px 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .gallery-grid img {
    height: 132px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px;
  }
}
