:root {
  color-scheme: light;
  --ink: #202237;
  --muted: #626779;
  --line: #d9dee8;
  --surface: #ffffff;
  --soft: #f5f7fb;
  --yellow: #fdd407;
  --orange: #f2672a;
  --green: #6bbe44;
  --teal: #5bc5be;
  --blue: #243793;
  --sky: #98dbf8;
  --purple: #a56eb3;
  --shadow: 0 24px 70px rgba(32, 34, 55, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(217, 222, 232, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand img {
  display: block;
  width: clamp(170px, 22vw, 260px);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 36px);
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
}

.main-nav a {
  padding: 10px 0;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  place-items: center;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 78px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0 37%, rgba(255, 255, 255, 0.68) 56%, rgba(255, 255, 255, 0.08) 100%),
    url("assets/hero-b2b-pet-products.png") center right / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 18%;
  content: "";
  background: linear-gradient(0deg, rgba(245, 247, 251, 0.92), rgba(245, 247, 251, 0));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 650px;
  padding: clamp(52px, 8vw, 110px) clamp(22px, 6vw, 84px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(4.4rem, 13vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.15;
}

.hero-copy {
  max-width: 570px;
  margin: 0;
  color: #45495d;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-copy-primary {
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 3rem);
  font-weight: 850;
  line-height: 1.08;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
  line-height: 1.1;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 12px 28px rgba(242, 103, 42, 0.28);
}

.button-secondary {
  border-color: rgba(36, 55, 147, 0.26);
  background: rgba(255, 255, 255, 0.74);
  color: var(--blue);
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.quick-stats article {
  min-height: 132px;
  padding: 28px clamp(20px, 4vw, 54px);
  background: var(--surface);
}

.quick-stats strong {
  display: block;
  color: var(--blue);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.quick-stats span {
  display: block;
  max-width: 280px;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(58px, 9vw, 112px) clamp(18px, 5vw, 70px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 8vw, 110px);
  align-items: end;
  background: var(--surface);
}

.intro p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.catalog {
  background: #f0f4f7;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-note {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.section-note a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-weight: 850;
}

.filter.active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

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

.product-card {
  display: grid;
  grid-template-rows: 190px auto auto 1fr;
  min-height: 418px;
  padding: 16px;
  border: 1px solid rgba(217, 222, 232, 0.9);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 40px rgba(32, 34, 55, 0.07);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.product-card.is-hidden {
  display: none;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card span {
  margin-top: 18px;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.product-art {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border-radius: 6px;
  background: #eef2f6;
}

.product-art::before,
.product-art::after {
  position: absolute;
  content: "";
}

.food-art {
  background: linear-gradient(140deg, rgba(253, 212, 7, 0.88), rgba(242, 103, 42, 0.3));
}

.food-art::before {
  right: 36px;
  bottom: 28px;
  width: 104px;
  height: 128px;
  border: 8px solid #fff;
  border-radius: 18px 18px 8px 8px;
  background: var(--orange);
}

.food-art::after {
  left: 34px;
  bottom: 30px;
  width: 92px;
  height: 92px;
  border: 8px solid #fff;
  border-radius: 50%;
  background: var(--yellow);
}

.care-art {
  background: linear-gradient(140deg, rgba(152, 219, 248, 0.95), rgba(165, 110, 179, 0.35));
}

.care-art::before {
  left: 44px;
  bottom: 24px;
  width: 76px;
  height: 132px;
  border: 8px solid #fff;
  border-radius: 26px 26px 10px 10px;
  background: var(--blue);
}

.care-art::after {
  right: 42px;
  bottom: 34px;
  width: 98px;
  height: 98px;
  border: 8px solid #fff;
  border-radius: 50%;
  background: var(--purple);
}

.retail-art {
  background: linear-gradient(140deg, rgba(107, 190, 68, 0.88), rgba(91, 197, 190, 0.42));
}

.retail-art::before {
  left: 38px;
  bottom: 34px;
  width: 120px;
  height: 86px;
  border: 8px solid #fff;
  border-radius: 50px;
  background: var(--teal);
}

.retail-art::after {
  right: 40px;
  bottom: 42px;
  width: 88px;
  height: 88px;
  border: 8px solid #fff;
  border-radius: 18px;
  background: var(--yellow);
  transform: rotate(12deg);
}

.small-pet-art {
  background: linear-gradient(140deg, rgba(165, 110, 179, 0.86), rgba(253, 212, 7, 0.34));
}

.small-pet-art::before {
  left: 44px;
  bottom: 38px;
  width: 116px;
  height: 88px;
  border: 8px solid #fff;
  border-radius: 50% 50% 44% 44%;
  background: var(--purple);
}

.small-pet-art::after {
  right: 46px;
  bottom: 44px;
  width: 86px;
  height: 110px;
  border: 8px solid #fff;
  border-radius: 50% 50% 10px 10px;
  background: var(--green);
}

.logistics {
  position: relative;
  isolation: isolate;
  overflow: visible;
  background: var(--blue);
  color: #fff;
}

.logistics::before,
.logistics::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.logistics::before {
  top: clamp(-150px, -10vw, -90px);
  right: clamp(-190px, -11vw, -118px);
  z-index: 0;
  width: clamp(260px, 28vw, 430px);
  aspect-ratio: 1;
  background: url("assets/logistics-amazonia-dog.png") center / contain no-repeat;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.2));
  opacity: 1;
  transform: rotate(7deg);
}

.logistics::after {
  display: none;
}

.logistics-panel {
  position: relative;
  z-index: 1;
  max-width: 1180px;
}

.logistics .eyebrow {
  color: var(--yellow);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 34px;
  background: rgba(255, 255, 255, 0.22);
}

.timeline article {
  min-height: 230px;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.1);
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 950;
}

.timeline p {
  color: rgba(255, 255, 255, 0.82);
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: start;
  background: var(--surface);
}

.contact-copy p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  color: var(--ink);
  font-style: normal;
  font-weight: 800;
}

.contact-details a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd2df;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

input,
select {
  height: 48px;
  padding: 0 14px;
}

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

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(152, 219, 248, 0.9);
  outline-offset: 2px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.form-status.is-error {
  color: #b42318;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 70px);
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-weight: 750;
}

.site-footer img {
  width: 190px;
  max-width: 48vw;
}

@media (max-width: 1060px) {
  .hero {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0 44%, rgba(255, 255, 255, 0.56) 70%, rgba(255, 255, 255, 0.12) 100%),
      url("assets/hero-b2b-pet-products.png") center right / cover no-repeat;
  }

  .hero-content {
    max-width: 760px;
    padding-bottom: 26px;
  }

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

@media (max-width: 780px) {
  .site-header {
    gap: 14px;
  }

  .main-nav {
    position: fixed;
    inset: 78px 14px auto;
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    padding: 14px;
  }

  .menu-toggle {
    display: block;
  }

  .quick-stats,
  .intro,
  .timeline,
  .contact {
    grid-template-columns: 1fr;
  }

  .logistics {
    padding-top: clamp(220px, 48vw, 340px);
    overflow: hidden;
  }

  .logistics::before {
    inset: 18px 50% auto auto;
    width: min(320px, 82vw);
    height: min(320px, 82vw);
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.18));
    transform: translateX(50%) rotate(5deg);
    opacity: 1;
  }

  .logistics::after {
    display: none;
  }

  .logistics-panel {
    max-width: none;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0 43%, rgba(255, 255, 255, 0.72) 66%, rgba(255, 255, 255, 0.14) 100%),
      url("assets/hero-b2b-pet-products.png") center bottom / cover no-repeat;
  }
}

@media (max-width: 580px) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(3.5rem, 18vw, 5.6rem);
  }

  .hero-actions,
  .filter-group {
    width: 100%;
  }

  .button,
  .filter {
    flex: 1 1 auto;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-rows: 170px auto auto 1fr;
    min-height: 380px;
  }

  .product-art {
    min-height: 170px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
