:root {
  --royal: #005bbb;
  --blue-hot: #04a7e8;
  --mustard: #ffc300;
  --orange: #ff8a00;
  --brown: #3b2f2f;
  --black: #050505;
  --white: #ffffff;
  --paper: #f5f7fb;
  --muted: #69727d;
  --line: rgba(8, 18, 30, 0.12);
  --glass: rgba(255, 255, 255, 0.74);
  --shadow: 0 28px 90px rgba(0, 20, 46, 0.16);
  --radius: 8px;
  --gradient-brand: linear-gradient(110deg, var(--royal), var(--blue-hot) 42%, var(--mustard) 73%, var(--orange));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: #0b1118;
  font-family: Montserrat, Arial, sans-serif;
  line-height: 1.45;
}

body::before {
  background:
    linear-gradient(rgba(0, 91, 187, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 91, 187, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -2;
}

body::after {
  background:
    linear-gradient(132deg, transparent 0 58%, rgba(0, 91, 187, 0.11) 58% 61%, transparent 61%),
    linear-gradient(132deg, transparent 0 72%, rgba(255, 195, 0, 0.14) 72% 74%, transparent 74%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(245, 247, 251, 0.86);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  min-height: 66px;
  padding: 8px clamp(18px, 4vw, 58px);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.brand {
  align-items: center;
  display: inline-flex;
  min-width: 180px;
  text-decoration: none;
}

.brand img {
  height: 46px;
  object-fit: contain;
  object-position: left center;
  width: 150px;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: clamp(12px, 2vw, 34px);
  justify-content: center;
}

.main-nav a,
.header-action {
  font-family: Rajdhani, Montserrat, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a {
  color: #26323d;
  position: relative;
}

.main-nav a::after {
  background: var(--gradient-brand);
  bottom: -9px;
  content: "";
  height: 3px;
  left: 0;
  opacity: 0;
  position: absolute;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: 0.2s ease;
  width: 100%;
}

.main-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-action {
  background: var(--black);
  border-radius: var(--radius);
  color: var(--white);
  padding: 9px 15px;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(24px, 4vw, 68px);
  grid-template-columns: minmax(0, 1fr) clamp(260px, 24vw, 430px);
  min-height: auto;
  overflow: hidden;
  padding: clamp(34px, 5vw, 64px) clamp(18px, 4vw, 58px) clamp(28px, 4vw, 48px);
  position: relative;
}

.hero::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.45));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-content {
  max-width: none;
  position: relative;
  z-index: 2;
}

.section-kicker {
  background: var(--gradient-brand);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  display: inline-block;
  font-family: Rajdhani, Montserrat, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.75rem, 5.35vw, 6.05rem);
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 18px;
  max-width: 1280px;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.2rem, 4.6vw, 5.4rem);
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero-slogan {
  color: var(--black);
  font-family: Rajdhani, Montserrat, sans-serif;
  font-size: clamp(1.45rem, 2.35vw, 2.55rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 18px;
  max-width: none;
  text-transform: uppercase;
}

.hero-slogan::after {
  background: var(--gradient-brand);
  content: "";
  display: block;
  height: 5px;
  margin-top: 12px;
  width: min(560px, 54vw);
}

h3 {
  font-size: 1.25rem;
  line-height: 1.1;
  margin-bottom: 10px;
}

.hero p,
.section-heading p,
.contact-copy p {
  color: #4d5964;
  font-size: clamp(0.98rem, 1.05vw, 1.12rem);
  max-width: 680px;
}

.hero-line {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: space-between;
}

.hero-line p {
  margin-bottom: 0;
}

.pop-pets-showcase {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
  position: relative;
  z-index: 2;
}

.showcase-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
}

.showcase-heading span,
.showcase-info span {
  color: var(--royal);
  font-family: Rajdhani, Montserrat, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.showcase-heading strong {
  color: var(--black);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.showcase-card {
  background: var(--black);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--white);
  display: grid;
  flex: 1;
  min-height: 340px;
  overflow: hidden;
  position: relative;
}

.showcase-card::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.05) 58%, transparent);
  content: "";
  inset: 0;
  position: absolute;
}

.showcase-card img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.showcase-info {
  align-self: end;
  display: grid;
  gap: 6px;
  padding: 22px;
  position: absolute;
  z-index: 2;
}

.showcase-info span {
  color: var(--mustard);
}

.showcase-info h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.8rem);
  margin-bottom: 0;
}

.showcase-info p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
}

.showcase-controls {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.showcase-controls button {
  background: var(--black);
  border: 0;
  border-radius: var(--radius);
  color: var(--white);
  cursor: pointer;
  font-size: 1.55rem;
  height: 42px;
  line-height: 1;
  width: 42px;
}

.showcase-dots {
  display: flex;
  gap: 7px;
}

.showcase-dots button {
  background: rgba(5, 5, 5, 0.22);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 10px;
  padding: 0;
  width: 10px;
}

.showcase-dots button.is-active {
  background: var(--gradient-brand);
  width: 30px;
}

.contact-actions,
.modal-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font-family: Rajdhani, Montserrat, sans-serif;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0;
  min-height: 50px;
  padding: 13px 20px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  background: var(--gradient-brand);
  box-shadow: 0 18px 42px rgba(0, 91, 187, 0.22);
  color: var(--black);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--line);
  color: #121820;
}

.product-section,
.process-section,
.contact-section {
  padding: clamp(52px, 7vw, 94px) clamp(18px, 4vw, 58px);
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  margin-bottom: 28px;
}

.section-heading h2 {
  background: var(--gradient-brand);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 0;
}

.product-toolbar {
  align-items: end;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(280px, 420px) 1fr;
  margin-bottom: 22px;
  padding: 14px;
  backdrop-filter: blur(14px);
}

.search-field {
  display: grid;
  gap: 8px;
}

.search-field span {
  color: #2d3842;
  font-family: Rajdhani, Montserrat, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.search-field input {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.pill {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #1b2630;
  cursor: pointer;
  font-family: Rajdhani, Montserrat, sans-serif;
  font-weight: 700;
  min-height: 42px;
  padding: 9px 14px;
  text-transform: uppercase;
}

.pill.is-active {
  background: var(--black);
  color: var(--white);
}

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

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(0, 20, 46, 0.08);
  display: grid;
  min-height: 100%;
  overflow: hidden;
}

.product-media {
  background:
    linear-gradient(135deg, rgba(0, 91, 187, 0.12), rgba(255, 195, 0, 0.18)),
    #e9eef4;
  display: grid;
  min-height: 265px;
  overflow: hidden;
  padding: 0;
  place-items: center;
}

.product-media img {
  filter: none;
  height: 295px;
  object-fit: cover;
  transition: transform 0.24s ease;
  width: 100%;
}

.product-card:hover .product-media img {
  transform: translateY(-5px) scale(1.03);
}

.product-body {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.product-tag {
  color: var(--royal);
  font-family: Rajdhani, Montserrat, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
}

.product-body p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.product-footer {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.price {
  color: #080d13;
  font-size: 1.35rem;
  font-weight: 900;
}

.buy-button {
  background: var(--black);
  border: 0;
  border-radius: var(--radius);
  color: var(--white);
  cursor: pointer;
  font-family: Rajdhani, Montserrat, sans-serif;
  font-weight: 700;
  min-height: 42px;
  padding: 10px 14px;
  text-transform: uppercase;
}

.process-section {
  background: var(--black);
  color: var(--white);
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.process-section h2 {
  max-width: 720px;
}

.process-grid {
  display: grid;
  gap: 14px;
}

.process-grid article {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 22px;
}

.process-grid span {
  color: var(--mustard);
  display: block;
  font-family: Rajdhani, Montserrat, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.process-grid strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.process-grid p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
}

.contact-section {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.qr-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 24px;
  text-align: center;
}

.qr-card img {
  border: 0;
  box-shadow: none;
  width: 360px;
}

.qr-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 26px clamp(18px, 4vw, 58px);
}

.site-footer img {
  max-height: 54px;
  object-fit: contain;
  width: 170px;
}

.site-footer span {
  color: var(--muted);
  font-family: Rajdhani, Montserrat, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.buy-modal {
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: min(560px, calc(100vw - 28px));
  padding: 0;
  width: 100%;
}

.buy-modal::backdrop {
  background: rgba(0, 0, 0, 0.66);
}

.modal-close {
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font-size: 1.45rem;
  height: 40px;
  line-height: 1;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 40px;
}

.modal-body {
  padding: 36px;
}

.modal-body h2 {
  font-size: clamp(2rem, 6vw, 3.6rem);
}

.modal-body p,
.modal-qr span {
  color: var(--muted);
}

.modal-qr {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
}

.modal-qr img {
  border: 6px solid var(--white);
  box-shadow: 0 10px 24px rgba(0, 20, 46, 0.12);
  width: 118px;
}

.hidden {
  display: none !important;
}

@media (max-width: 1180px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .header-action {
    justify-self: start;
  }

  .hero,
  .section-heading,
  .product-toolbar,
  .process-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .pop-pets-showcase {
    display: none;
  }

  .filter-pills {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .brand img {
    height: 48px;
    width: 150px;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.55rem);
  }

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

  .product-footer,
  .contact-actions,
  .modal-options,
  .site-footer,
  .modal-qr {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .buy-button {
    width: 100%;
  }

}
