@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi/Satoshi-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi/Satoshi-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi/Satoshi-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi/Satoshi-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #25b7d3;
  --brand-dark: #0a7892;
  --ink: #33383b;
  --muted: #667176;
  --paper: #f5fbfb;
  --mist: #eef8fa;
  --line: #dce8eb;
  --white: #ffffff;
  --leaf: #6fb56c;
  --warm: #f4b255;
  --shadow: 0 18px 50px rgba(28, 54, 62, .12);
  --radius: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Satoshi", Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  padding: 12px clamp(18px, 5vw, 64px);
  background: rgba(245, 251, 251, .96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 26px rgba(28, 54, 62, .06);
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 72px;
  overflow: visible;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.brand img {
  width: 170px;
  max-width: none;
  max-height: 72px;
  object-fit: contain;
  transform: none;
  filter: drop-shadow(0 8px 16px rgba(28, 54, 62, .14));
}
.nav { display: flex; align-items: center; gap: 28px; font-weight: 800; color: var(--ink); }
.nav a { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"], .nav a:hover { color: var(--brand-dark); border-color: var(--brand); }
.header-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms cubic-bezier(.16, 1, .3, 1), background 180ms cubic-bezier(.16, 1, .3, 1), color 180ms cubic-bezier(.16, 1, .3, 1);
}
.header-cta, .btn.primary { background: var(--brand); color: var(--white); }
.btn.secondary { background: var(--mist); color: var(--brand-dark); }
.btn.ghost { color: var(--white); border: 1px solid rgba(255,255,255,.7); background: rgba(255,255,255,.08); }
.btn.full { width: 100%; }
.header-cta:hover, .btn:hover { transform: translateY(-2px); }
.header-cta:focus-visible, .btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(37, 183, 211, .38);
  outline-offset: 3px;
}
.nav-toggle { display: none; min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font-weight: 900; color: var(--ink); }

.hero {
  position: relative;
  min-height: calc(100svh - 84px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #173b44 url("../img/mevetlab/hero-clinic-dog.jpg") center/cover no-repeat;
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 38, 45, .82), rgba(11, 38, 45, .44) 48%, rgba(11, 38, 45, .12)); }
.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(44px, 9vw, 96px) clamp(18px, 7vw, 96px);
  color: var(--white);
  animation: riseIn 760ms cubic-bezier(.16, 1, .3, 1) both;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero .eyebrow { color: #9de9f5; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-size: clamp(42px, 6.4vw, 78px); line-height: .98; letter-spacing: 0; font-weight: 900; }
h2 { margin: 0; font-size: clamp(32px, 4.3vw, 56px); line-height: 1; letter-spacing: 0; font-weight: 900; }
h3 { margin: 0; font-size: 20px; line-height: 1.2; }
.hero-lead, .page-hero p, .section-head p, .split p, .about-hero p, .contact-hero p {
  color: var(--muted);
  font-size: 18px;
}
.hero-lead { max-width: 680px; color: rgba(255,255,255,.86); font-size: clamp(18px, 2vw, 22px); margin: 22px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.section-pad { max-width: var(--max); margin: 0 auto; padding: clamp(50px, 7vw, 92px) clamp(18px, 4vw, 32px); }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head.compact { max-width: 820px; }

.product-row { max-width: 1260px; }
.carousel { display: grid; grid-template-columns: 46px 1fr 46px; align-items: center; gap: 12px; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 18px; scrollbar-width: thin; }
.icon-btn { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--brand-dark); font-size: 30px; line-height: 1; cursor: pointer; }
.product-card {
  min-width: 0;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(28, 54, 62, .08);
}
.product-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--mist); }
.product-card h3, .product-card p, .product-card strong, .product-card .mini-link { margin-left: 18px; margin-right: 18px; }
.product-card .tag { margin-top: 16px; color: var(--brand-dark); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.product-card p:not(.tag) { color: var(--muted); min-height: 54px; }
.product-card strong { display: block; padding: 2px 0 18px; color: var(--ink); font-size: 20px; }
.mini-link { display: inline-flex; margin-bottom: 18px; color: var(--brand-dark); font-weight: 900; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 72px); align-items: start; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.service-grid article {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 190px;
}
.service-grid span { color: var(--brand); font-weight: 900; }
.service-grid p { color: var(--muted); }
.text-link { display: inline-flex; margin-top: 18px; color: var(--brand-dark); font-weight: 900; border-bottom: 2px solid var(--brand); }

.clinic-band {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: stretch;
  background: #173b44;
  color: var(--white);
}
.clinic-band.reverse { grid-template-columns: .95fr 1.05fr; }
.clinic-band img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.clinic-band > div { padding: clamp(42px, 7vw, 88px); align-self: center; }
.clinic-band .eyebrow { color: #9de9f5; }
.clinic-band p, .clinic-band li { color: rgba(255,255,255,.82); }
.steps { margin: 28px 0 0; padding-left: 20px; display: grid; gap: 16px; }

.faq { max-width: 920px; }
details { border-top: 1px solid var(--line); padding: 22px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-size: 22px; font-weight: 900; }
details p { color: var(--muted); max-width: 760px; }

.page-hero, .shop-hero {
  padding: clamp(38px, 5vw, 64px) clamp(18px, 6vw, 84px);
  background: var(--paper);
}
.page-hero h1 {
  max-width: 830px;
  color: var(--ink);
  font-size: clamp(40px, 5.4vw, 68px);
}
.page-hero p { max-width: 760px; }
.shop-hero h1 { max-width: 1080px; }

.shop-layout {
  max-width: 1260px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 36px) clamp(18px, 4vw, 32px) clamp(42px, 5vw, 64px);
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
}
.filters {
  position: sticky;
  top: 104px;
  align-self: start;
  padding: 24px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(28, 54, 62, .06);
}
.filters h2 { font-size: 26px; margin-bottom: 16px; }
fieldset { border: 0; padding: 18px 0; margin: 0; border-top: 1px solid var(--line); }
legend { font-weight: 900; margin-bottom: 10px; }
label { display: grid; gap: 8px; color: var(--ink); font-weight: 700; }
.filters label { display: flex; align-items: center; gap: 10px; min-height: 34px; color: var(--muted); }
.filters input[type="checkbox"],
.filters input[type="radio"] {
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  padding: 0;
  accent-color: var(--brand);
}
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
textarea { min-height: 140px; resize: vertical; }
.results-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.results-top p { color: var(--muted); font-weight: 800; }
.products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.products-grid.small { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.detail-layout, .about-hero, .contact-hero, .cart-layout, .checkout-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 86px) clamp(18px, 4vw, 32px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}
.detail-media img, .about-hero img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--mist); }
.price { color: var(--brand-dark); font-size: 32px; font-weight: 900; }
.check-list { padding-left: 20px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { padding: 10px 14px; border-radius: 999px; background: var(--mist); color: var(--brand-dark); font-weight: 900; }
.contact-card, .summary, .form-panel, .map-panel, .cart-table {
  padding: 26px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(28, 54, 62, .07);
}
.contact-card p { display: grid; gap: 4px; color: var(--muted); }
.contact-card strong { color: var(--ink); }
.form-panel { display: grid; gap: 16px; }
.map-panel { min-height: 520px; padding: 0; overflow: hidden; }
.map-panel iframe { width: 100%; height: 100%; min-height: 520px; border: 0; }
.cart-layout { grid-template-columns: 1fr 360px; align-items: start; }
.cart-table { display: grid; gap: 16px; }
.cart-line { display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; padding-bottom: 0; }
.cart-line img { width: 92px; height: 92px; object-fit: cover; border-radius: var(--radius); }
.cart-line h2 { font-size: 20px; }
.cart-line p { margin: 6px 0 0; color: var(--muted); }
.summary { align-self: start; }
.summary p { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); }
.summary .total { padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); font-size: 20px; }
.fineprint { font-size: 13px; }

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 28px;
  padding: 42px clamp(18px, 5vw, 64px);
  background: #263236;
  color: rgba(255,255,255,.78);
}
.site-footer img {
  width: 150px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin-bottom: 14px;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.26));
}
.site-footer nav { display: grid; gap: 10px; align-content: start; font-weight: 900; color: var(--white); }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (max-width: 980px) {
  .site-header { min-height: 76px; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; }
  .nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    display: none;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: grid; gap: 8px; }
  .hero { min-height: calc(100svh - 76px); }
  .hero-content { margin-left: 18px; margin-bottom: 42px; }
  .split, .clinic-band, .clinic-band.reverse, .shop-layout, .detail-layout, .about-hero, .contact-hero, .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .products-grid, .products-grid.small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .brand img { width: 142px; }
  h1 { font-size: clamp(38px, 12vw, 54px); }
  h2 { font-size: clamp(30px, 9vw, 42px); }
  .hero-overlay { background: linear-gradient(0deg, rgba(11, 38, 45, .88), rgba(11, 38, 45, .42)); }
  .carousel { grid-template-columns: 1fr; }
  .icon-btn { display: none; }
  .carousel-track { grid-auto-columns: minmax(252px, 86vw); }
  .service-grid, .products-grid, .products-grid.small { grid-template-columns: 1fr; }
  .results-top { align-items: stretch; flex-direction: column; }
  .cart-line { grid-template-columns: 76px 1fr; }
  .cart-line strong { grid-column: 2; }
}
