:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --ink: #17211c;
  --muted: #627067;
  --panel: #ffffff;
  --line: #d9ded5;
  --green: #2e8f68;
  --blue: #3979b8;
  --coral: #e66f5c;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #f7f5ef 0%, #edf5f1 52%, #eef3f8 100%);
  color: var(--ink);
}

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

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

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  color: var(--muted);
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  font-weight: 900;
}

.mark {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: conic-gradient(from 45deg, var(--green), var(--blue), var(--coral), var(--green));
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 180px);
  padding: 42px 0 54px;
}

.care-card {
  position: relative;
  min-height: 540px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(46, 143, 104, 0.12), transparent 38%),
    var(--panel);
  box-shadow: 0 28px 80px rgba(32, 48, 39, 0.14);
}

.pet-head {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 24px auto 34px;
  border-radius: 48% 48% 42% 42%;
  background: #f0c78b;
}

.pet-head::before,
.pet-head::after {
  content: "";
  position: absolute;
  top: -26px;
  width: 86px;
  height: 112px;
  border-radius: 50% 50% 12px 12px;
  background: #be8550;
}

.pet-head::before {
  left: -18px;
  transform: rotate(-24deg);
}

.pet-head::after {
  right: -18px;
  transform: rotate(24deg);
}

.pet-head span {
  position: absolute;
  top: 86px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #20241f;
  z-index: 1;
}

.pet-head span:first-child { left: 70px; }
.pet-head span:last-child { right: 70px; }

.status,
.dose {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.78);
}

.status {
  padding: 20px;
}

.status strong,
.dose strong {
  display: block;
  font-size: 24px;
}

.status p,
.dose span {
  color: var(--muted);
}

.dose {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding: 18px 20px;
}

.bars {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.bars span {
  height: 12px;
  border-radius: 999px;
  background: var(--green);
}

.bars span:nth-child(2) {
  background: var(--blue);
}

.bars span:nth-child(3) {
  background: var(--coral);
}

.eyebrow {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(54px, 8vw, 108px);
  line-height: 0.94;
  letter-spacing: 0;
}

.lead {
  max-width: 560px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.45);
  font-weight: 900;
}

.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0 0 56px;
}

.services article {
  min-height: 178px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.68);
}

.services h2 {
  margin: 0 0 34px;
  font-size: 23px;
}

.services p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 820px) {
  .hero,
  .services {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .care-card {
    min-height: 460px;
  }
}
