.guide-hero {
  background: linear-gradient(145deg, #214d39 0%, #173b2b 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 56px 20px 48px;
  position: relative;
  overflow: hidden;
}

.guide-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: min(82%, 360px);
  background: url("/images/brand/pet-cost-line-art.svg") center bottom / cover no-repeat;
  opacity: .36;
  pointer-events: none;
}

.guide-hero__inner {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.guide-hero__kicker,
.guide-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-family: var(--pcc-font-ui, system-ui, sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.guide-hero__kicker {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.78);
  padding: 10px 14px;
  margin-bottom: 18px;
}

.guide-hero__h1 {
  max-width: 760px;
  margin: 0 0 16px;
  color: #fffdf8;
  font-family: var(--pcc-font-display, Georgia, serif);
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .96;
}

.guide-hero__lead {
  max-width: 720px;
  margin: 0 0 24px;
  color: rgba(255,255,255,.80);
  font-size: 16px;
  line-height: 1.7;
}

.guide-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 660px;
}

.guide-stat {
  min-height: 78px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.09);
  padding: 16px 18px;
}

.guide-stat__val {
  color: #fff;
  font-family: var(--pcc-font-ui, system-ui, sans-serif);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.guide-stat__lbl {
  margin-top: 7px;
  color: rgba(255,255,255,.68);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.guide-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 20px 56px;
}

.guide-section + .guide-section {
  margin-top: 44px;
  padding-top: 44px;
  border-top: 1px solid #ded8cc;
}

.guide-section__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.guide-section__eyebrow {
  color: #2f5d3a;
  margin-bottom: 10px;
}

.guide-section__h2 {
  margin: 0;
  color: #10251a;
  font-family: var(--pcc-font-display, Georgia, serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.02;
}

.guide-section__sub {
  margin: 0;
  color: #53625a;
  font-size: 15px;
  line-height: 1.65;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.guide-card {
  position: relative;
  display: flex;
  min-height: 245px;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  border: 1px solid #ded8cc;
  border-radius: 22px;
  background: #fffdf9;
  box-shadow: 0 12px 30px rgba(24,58,37,.08);
  color: inherit;
  padding: 20px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.guide-card::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, #2f5d3a, #129360);
  transform: scaleX(.55);
  transform-origin: left center;
  transition: transform .18s ease;
}

.guide-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47,93,58,.45);
  box-shadow: 0 18px 40px rgba(24,58,37,.13);
}

.guide-card:hover::after {
  transform: scaleX(1);
}

.guide-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.guide-card__icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #edf4ef;
  color: #2f5d3a;
  font-size: 20px;
  font-weight: 800;
}

.guide-card__abbr {
  color: #78847b;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.guide-card__name {
  color: #10251a;
  font-family: var(--pcc-font-ui, system-ui, sans-serif);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.guide-card__tag {
  align-self: flex-start;
  border: 1px solid #dbe8df;
  border-radius: 999px;
  background: #f3f8f4;
  color: #2f5d3a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 5px 9px;
  text-transform: uppercase;
  white-space: nowrap;
}

.guide-card__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: auto;
}

.guide-card__metric {
  border: 1px solid #ebe3d8;
  border-radius: 14px;
  background: #faf7f0;
  padding: 11px 12px;
}

.guide-card__metric--wide {
  grid-column: 1 / -1;
  background: #edf4ef;
  border-color: #d7e5db;
}

.guide-card__val {
  color: #10251a;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.guide-card__metric--wide .guide-card__val {
  color: #2f5d3a;
}

.guide-card__lbl {
  margin-top: 6px;
  color: #6d7a70;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.guide-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid #ede7dd;
}

.guide-card__badge {
  border-radius: 999px;
  background: #edf4ef;
  color: #2f5d3a;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 10px;
}

.guide-card__cta {
  color: #2f5d3a;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.guide-cta {
  margin-top: 48px;
  border-radius: 26px;
  background: #173b2b;
  color: #fff;
  padding: 28px;
}

.guide-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.guide-cta__h2 {
  margin: 0 0 8px;
  color: #fffdf8;
  font-family: var(--pcc-font-display, Georgia, serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1.05;
}

.guide-cta__sub {
  max-width: 620px;
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 15px;
  line-height: 1.6;
}

.guide-cta__btns {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.guide-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 12px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.guide-cta__btn--primary {
  background: #fffdf9;
  color: #173b2b;
}

.guide-cta__btn--secondary {
  border: 1px solid rgba(255,255,255,.30);
  color: #fff;
}

@media (max-width: 760px) {
  .guide-hero {
    padding: 40px 16px 36px;
  }

  .guide-hero__stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .guide-stat {
    min-height: 0;
    padding: 14px 16px;
  }

  .guide-wrap {
    padding: 34px 14px 44px;
  }

  .guide-section + .guide-section {
    margin-top: 34px;
    padding-top: 34px;
  }

  .guide-section__header {
    display: block;
    margin-bottom: 18px;
  }

  .guide-section__sub {
    margin-top: 10px;
  }

  .guide-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .guide-card {
    min-height: 0;
    border-radius: 18px;
    padding: 16px;
  }

  .guide-card__name {
    font-size: 18px;
  }

  .guide-card__metrics {
    gap: 8px;
  }

  .guide-cta {
    margin-top: 36px;
    border-radius: 22px;
    padding: 22px;
  }

  .guide-cta__inner {
    display: block;
  }

  .guide-cta__btns {
    margin-top: 18px;
  }
}

@media (max-width: 390px) {
  .guide-card__metrics {
    grid-template-columns: 1fr;
  }

  .guide-card__metric--wide {
    grid-column: auto;
  }
}
