/* Shared styles for focused service pages (puppy / behavior / aggression) */

.svc-hero {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  padding: clamp(70px, 8vw, 120px) var(--pad-x);
  background: var(--bg);
}
.svc-hero .tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 28px;
}
.svc-hero .tag::before { content: ""; width: 28px; height: 1px; background: var(--ink-3); }
.svc-hero h1 em { font-style: italic; color: var(--accent); }
.svc-hero .sub { margin-top: 28px; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); max-width: 54ch; }
.svc-hero .hero-actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.svc-hero .note { margin-top: 14px; font-size: 13px; color: var(--ink-3); }

/* Single-column variant for heros without a media slot. We keep the section
   full-bleed (so padding + background remain consistent with other heros) and
   constrain the content column to a comfortable reading width, centered. */
.svc-hero--text-only {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

/* Caption under hero video / portrait media — shared across service pages. */
.media-caption {
  font-family: var(--sans);
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--ink-3);
  text-align: center;
  margin: 12px 0 0;
}

.svc-img {
  aspect-ratio: 4/5;
  background: repeating-linear-gradient(135deg, #D9CFB6 0 14px, #CFC4A7 14px 28px);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.svc-img .cap {
  position: absolute; left: 20px; bottom: 20px;
  font-family: var(--mono); font-size: 11px; color: var(--ink-2);
  background: rgba(244,239,230,0.9); padding: 6px 10px; letter-spacing: 0.04em;
}

.svc-video {
  aspect-ratio: 1 / 1;
  width: 100%;
  border: 1px solid var(--line);
  background: #1F1B16;
  position: relative;
  overflow: hidden;
}
.svc-video iframe { border: 0; width: 100%; height: 100%; display: block; }

.story { padding: clamp(70px, 8vw, 120px) var(--pad-x); background: var(--bg-alt); }
.story h2 { max-width: 22ch; margin-bottom: 28px; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); }
.story-col p { font-size: 17.5px; line-height: 1.7; color: var(--ink-2); margin-bottom: 22px; max-width: 58ch; }
.story-col p:last-child { margin-bottom: 0; }
.story-col em { color: var(--ink); font-style: italic; }

.focus { padding: clamp(70px, 8vw, 120px) var(--pad-x); background: var(--bg); }
.focus h2 { max-width: 22ch; margin-bottom: 56px; }
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-soft); }
.focus-item {
  padding: 32px 28px 32px 0;
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 10px;
}
.focus-item:nth-child(3n) { border-right: 0; padding-right: 0; }
.focus-item:nth-child(3n+2) { padding-left: 28px; }
.focus-item:nth-child(3n+3) { padding-left: 28px; }
.focus-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--ink-3); }
.focus-item h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; letter-spacing: -0.01em; line-height: 1.25; }
.focus-item p { color: var(--ink-2); font-size: 15px; line-height: 1.55; max-width: 30ch; }

.big-quote { padding: clamp(80px, 9vw, 140px) var(--pad-x); background: var(--bg); text-align: center; }
.big-quote .eyebrow { display: inline-block; margin-bottom: 28px; }
.big-quote blockquote {
  margin: 0 auto;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(26px, 2.8vw, 38px); line-height: 1.3;
  letter-spacing: -0.015em; color: var(--ink);
  max-width: 24ch; font-weight: 400; text-wrap: balance;
}
.big-quote .attrib {
  margin-top: 32px; font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
}

.cta-band { background: var(--accent); color: var(--accent-ink); padding: clamp(80px, 10vw, 140px) var(--pad-x); text-align: center; }
.cta-band h2 { color: var(--accent-ink); max-width: 20ch; margin: 0 auto 24px; }
.cta-band .sub { color: rgba(244,239,230,0.85); font-family: var(--serif); font-style: italic; font-size: var(--fs-lead); max-width: 52ch; margin: 0 auto 44px; line-height: 1.5; }
.cta-band .btn { background: var(--bg); color: var(--accent); border-color: var(--bg); }
.cta-band .btn:hover { background: #fff; }
.cta-band .cta-microcopy { color: rgba(244,239,230,0.7); }

.other-cats { padding: 60px var(--pad-x); background: var(--bg); border-top: 1px solid var(--line-soft); }
.other-cats-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; gap: 20px; flex-wrap: wrap; }
.other-cats-head h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.other-cats-head span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.other-cats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); }
.other-cat {
  padding: 28px;
  text-decoration: none; color: var(--ink);
  background: var(--bg-card);
  border-right: 1px solid var(--line);
  transition: background .15s ease, color .15s ease;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
}
.other-cat:last-child { border-right: 0; }
.other-cat:hover { background: var(--accent); color: var(--accent-ink); }
.other-cat .eyebrow, .other-cat .sub { transition: color .15s ease; }
.other-cat:hover .eyebrow, .other-cat:hover .sub { color: rgba(244,239,230,0.75); }
.other-cat h4 { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
.other-cat h4 em { font-style: italic; }
.other-cat .sub { font-size: 14.5px; color: var(--ink-3); line-height: 1.5; max-width: 32ch; }
.other-cat .arrow { margin-top: 10px; font-family: var(--mono); color: var(--accent); font-size: 18px; }
.other-cat:hover .arrow { color: var(--accent-ink); }

@media (max-width: 900px) {
  .svc-hero { grid-template-columns: 1fr; }
  .svc-img { aspect-ratio: 4/3; order: -1; }
  .svc-video { order: -1; }
  .story-grid { grid-template-columns: 1fr; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-item, .focus-item:nth-child(3n), .focus-item:nth-child(3n+2), .focus-item:nth-child(3n+3) {
    padding: 24px 0; border-right: 0;
  }
  .other-cats-grid { grid-template-columns: 1fr; }
  .other-cat { border-right: 0; border-bottom: 1px solid var(--line); }
  .other-cat:last-child { border-bottom: 0; }
}
