:root {
  --bg: #eef6f8;
  --panel: #ffffff;
  --ink: #202124;
  --muted: #687782;
  --line: #d7e7ec;
  --teal: #47b7aa;
  --blue: #2385bd;
  --deep-blue: #17617f;
  --gold: #f5b73b;
  --leaf: #6faa5d;
  --coral: #f07b5f;
  --shadow: 0 16px 34px rgba(24, 68, 84, 0.11);
  --max: 1136px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  overflow-x: hidden;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 10px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(28, 72, 85, 0.08);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--teal);
}

.brand-mark svg {
  display: block;
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.brand-text {
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.operator-badge {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #adbec5;
  background: #fff;
  color: var(--deep-blue);
  font-size: 9px;
  line-height: 1.1;
}

.operator-badge strong {
  color: var(--coral);
  font-size: 10px;
}

.menu-button {
  display: grid;
  gap: 7px;
  width: 52px;
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 10px 4px;
}

.header-link {
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 14px;
  color: var(--deep-blue);
  text-decoration: none;
  font-weight: 900;
}

.menu-button span {
  display: block;
  height: 2px;
  background: var(--ink);
}

.drawer {
  position: absolute;
  top: 72px;
  right: max(24px, calc((100vw - var(--max)) / 2));
  display: none;
  width: min(260px, calc(100vw - 40px));
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.drawer.is-open {
  display: grid;
}

.drawer a {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-weight: 800;
}

.drawer a:last-child {
  border-bottom: 0;
}

.hero {
  position: relative;
  min-height: min(72vh, 680px);
  overflow: hidden;
  background: #e9fbfd;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 31%, rgba(255, 255, 255, 0.16) 66%),
    url("assets/pet-kindergarten-hero.png") center / cover no-repeat;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(62px, 9vw, 104px) 0 154px;
}

.speech-label {
  position: relative;
  display: inline-block;
  margin: 0 0 28px 86px;
  padding: 10px 22px;
  border: 2px solid var(--blue);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--deep-blue);
  font-weight: 800;
}

.speech-label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 16px;
  height: 16px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-50%) rotate(45deg);
}

.hero h1 {
  max-width: 730px;
  margin: 0;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.28;
  font-weight: 900;
  word-break: keep-all;
}

.hero h1 span {
  font-size: clamp(40px, 5.6vw, 66px);
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 900;
}

.mini-mark {
  display: inline-block;
  width: 54px;
  height: 54px;
  background:
    radial-gradient(circle at 50% 24%, var(--teal) 0 10%, transparent 11%),
    radial-gradient(circle at 29% 36%, var(--teal) 0 9%, transparent 10%),
    radial-gradient(circle at 70% 36%, var(--teal) 0 9%, transparent 10%),
    radial-gradient(ellipse at 50% 70%, var(--teal) 0 32%, transparent 33%);
}

.hero-search {
  position: absolute;
  left: 50%;
  bottom: 112px;
  z-index: 2;
  display: grid;
  grid-template-columns: 140px minmax(220px, 1fr) 58px;
  width: min(640px, calc(100% - 48px));
  transform: translateX(-50%);
  border: 2px solid rgba(35, 133, 189, 0.55);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.hero-search select,
.hero-search input,
.hero-search button {
  min-width: 0;
  height: 54px;
  border: 0;
  background: transparent;
}

.hero-search select,
.hero-search input {
  padding: 0 16px;
  color: var(--ink);
}

.hero-search select {
  border-right: 1px solid var(--line);
  font-weight: 800;
}

.hero-search button {
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #fff;
}

.hero-search svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
}

.section-band {
  padding: 72px 0;
  background: var(--bg);
}

.section-heading {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2 {
  position: relative;
  display: inline-block;
  margin: 0;
  color: var(--blue);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.4;
  font-weight: 900;
}

.section-heading h2::before,
.section-heading h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 78px;
  height: 1px;
  background: #9bb4bd;
}

.section-heading h2::before {
  right: calc(100% + 26px);
  transform: rotate(-48deg);
}

.section-heading h2::after {
  left: calc(100% + 26px);
  transform: rotate(-48deg);
}

.section-heading p {
  margin: 26px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.popular-card {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.logo-box {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border: 1px solid #cad8de;
  border-radius: 8px;
  background: #fff;
  color: var(--deep-blue);
  font-weight: 900;
  font-size: clamp(22px, 3vw, 38px);
}

.logo-puppy {
  background:
    linear-gradient(135deg, rgba(71, 183, 170, 0.16), rgba(245, 183, 59, 0.16)),
    #fff;
}

.logo-mate {
  color: var(--leaf);
}

.logo-urban {
  color: var(--coral);
}

.logo-tail {
  color: var(--blue);
}

.logo-calm {
  color: #8b6bc7;
}

.popular-card h3,
.ranking-card h3,
.listing-card h2,
.listing-card h3,
.guide-grid h3 {
  margin: 0;
  line-height: 1.45;
}

.star-line {
  color: #e6c638;
  font-weight: 900;
  white-space: nowrap;
}

.star-line strong {
  color: var(--ink);
}

.count-link {
  color: var(--deep-blue);
  font-weight: 800;
  text-decoration: none;
}

.teal-button,
.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.12);
}

.ranking-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(310px, 1fr);
  gap: 20px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x proximity;
}

.ranking-card {
  scroll-snap-align: start;
  min-height: 380px;
  padding: 26px 22px;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 18px rgba(24, 68, 84, 0.06);
}

.ranking-card h3 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 22px;
}

.ranking-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ranking-item {
  display: grid;
  grid-template-columns: 54px 76px 1fr;
  align-items: center;
  gap: 14px;
}

.rank-crown {
  display: grid;
  gap: 4px;
  color: var(--gold);
  text-align: center;
  font-weight: 900;
}

.rank-crown::before {
  content: "";
  width: 28px;
  height: 22px;
  margin: 0 auto;
  background: currentColor;
  clip-path: polygon(0 100%, 0 34%, 26% 63%, 50% 0, 74% 63%, 100% 34%, 100% 100%);
}

.ranking-item:nth-child(2) .rank-crown {
  color: #b8c1c6;
}

.ranking-item:nth-child(3) .rank-crown {
  color: #b98146;
}

.small-logo {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid #cad8de;
  border-radius: 8px;
  background: #fff;
  color: var(--deep-blue);
  font-weight: 900;
}

.ranking-meta strong {
  display: block;
  margin-bottom: 4px;
}

.ranking-meta a {
  color: inherit;
  text-decoration: none;
}

.ranking-meta a:hover {
  color: var(--blue);
}

.condition-search {
  padding: 74px 0;
  background: #fff;
}

.criteria {
  padding: 76px 0;
  background: #fff;
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.criteria-grid article {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f5fbfc);
  padding: 22px;
}

.criteria-grid span {
  display: inline-block;
  margin-bottom: 12px;
  border-left: 4px solid var(--teal);
  padding-left: 10px;
  color: var(--deep-blue);
  font-weight: 900;
}

.criteria-grid h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.45;
}

.criteria-grid p {
  margin: 0;
  color: var(--muted);
}

.condition-panel {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfeff;
}

.condition-group {
  display: grid;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.condition-group:first-child {
  padding-top: 0;
}

.condition-group:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.condition-group > span {
  color: var(--deep-blue);
  font-weight: 900;
}

.chip-row,
.toggle-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip,
.toggle-grid label {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 7px 14px;
  color: var(--ink);
  font-weight: 800;
}

.chip.is-active {
  border-color: var(--teal);
  background: #e7faf7;
  color: var(--deep-blue);
}

.toggle-grid label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.toggle-grid input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.listings {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0;
}

.listings-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.listings h2 {
  margin: 0;
  font-size: 30px;
}

.tabs,
.detail-tabs {
  display: grid;
  grid-auto-flow: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-x: auto;
  background: #fff;
}

.tab,
.detail-tab {
  min-width: 130px;
  min-height: 54px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}

.tab:last-child,
.detail-tab:last-child {
  border-right: 0;
}

.tab.is-active,
.detail-tab.is-active {
  background: linear-gradient(135deg, var(--teal), #39a0d4);
  color: #fff;
}

.listing-stack {
  display: grid;
  gap: 24px;
}

.listing-card {
  display: grid;
  gap: 22px;
  padding: 28px;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.listing-top {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: center;
}

.listing-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.rank-label {
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  min-height: 34px;
  border-radius: 6px;
  background: var(--gold);
  color: #fff;
  font-weight: 900;
}

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

.score {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 10px;
}

.score-circle {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 48%, transparent 50%),
    conic-gradient(var(--teal) var(--percent), #d7e7ec 0);
  color: var(--ink);
  font-weight: 900;
}

.score span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.listing-card p {
  margin: 0;
}

.spec-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.spec-inline li,
.tag {
  border-radius: 6px;
  background: #eaf4f7;
  padding: 7px 10px;
  color: var(--deep-blue);
  font-size: 13px;
  font-weight: 800;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.listing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.ghost-link {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 11px 16px;
  color: var(--deep-blue);
  text-decoration: none;
  font-weight: 900;
}

.empty-state {
  padding: 34px;
  border: 1px dashed #9bb4bd;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  font-weight: 800;
}

.detail {
  padding: 80px 0;
  background: #e6f1f4;
}

.detail-shell {
  display: grid;
  grid-template-columns: minmax(280px, 390px) 1fr;
  gap: 30px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  align-items: start;
}

.detail-card,
.detail-content {
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-card {
  padding: 24px;
}

.breadcrumb {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--deep-blue);
  text-decoration: none;
}

.detail-card h2 {
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #c2d2d8;
  font-size: 21px;
}

.detail-summary {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
}

.detail-summary .logo-box {
  width: 116px;
  height: 116px;
}

.detail-summary p {
  margin: 8px 0 0;
  font-weight: 900;
}

.detail-summary h2 {
  margin: 0;
  padding-bottom: 0;
  border-bottom: 0;
  font-size: 22px;
  line-height: 1.35;
}

.spec-list {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
}

.spec-list div {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 12px;
}

.spec-list dt {
  color: var(--deep-blue);
  font-weight: 900;
}

.spec-list dd {
  margin: 0;
}

.primary-cta {
  width: 100%;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-actions .teal-button,
.detail-actions .ghost-link {
  flex: 1 1 170px;
  justify-content: center;
  text-align: center;
}

.detail-content {
  overflow: hidden;
}

.detail-tabs {
  border: 0;
  border-bottom: 2px solid var(--teal);
  border-radius: 8px 8px 0 0;
}

.detail-tab {
  min-height: 68px;
  font-size: 18px;
}

.detail-panel {
  display: none;
  padding: 34px 38px;
}

.detail-panel.is-active {
  display: block;
}

.detail-panel h3 {
  margin: 28px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--deep-blue);
  color: var(--deep-blue);
  font-size: 22px;
}

.detail-panel h3:first-child {
  margin-top: 0;
  border-bottom-color: transparent;
  color: var(--ink);
  text-align: center;
  font-size: 28px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.feature-grid span {
  border: 1px solid var(--line);
  background: #edf8fb;
  padding: 12px;
  text-align: center;
  font-weight: 800;
}

.static-detail .detail-panel {
  display: block;
}

.detail-meta-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.detail-meta-list div {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.detail-meta-list dt {
  color: var(--deep-blue);
  font-weight: 900;
}

.detail-meta-list dd {
  margin: 0;
}

.source-box {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbfc;
  padding: 18px;
}

.source-box p {
  margin: 0;
}

.source-box small {
  color: var(--muted);
  font-weight: 800;
}

.facility-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.facility-link-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  text-decoration: none;
}

.facility-link-card span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.facility-link-card strong {
  color: var(--ink);
  line-height: 1.45;
}

.facility-link-card small {
  color: var(--muted);
  font-weight: 800;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

summary {
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.review-list {
  display: grid;
  gap: 16px;
}

.review-list section {
  border-left: 4px solid var(--teal);
  background: #f7fbfc;
  padding: 16px 18px;
}

.review-list h4 {
  margin: 0 0 8px;
  color: var(--deep-blue);
}

.review-list p {
  margin: 0;
}

.record-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.record-grid div {
  display: grid;
  place-items: center;
  min-height: 120px;
  border: 1px solid var(--line);
  background: #f7fbfc;
}

.record-grid strong {
  font-size: 32px;
  color: var(--blue);
}

.record-grid span {
  color: var(--muted);
  font-weight: 800;
}

.guide {
  padding: 80px 0 120px;
  background: #fff;
}

.directory-links {
  padding: 76px 0 124px;
  background: var(--bg);
}

.directory-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(860px, calc(100% - 48px));
  margin: 0 auto;
}

.directory-link-grid a {
  display: grid;
  gap: 8px;
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(24, 68, 84, 0.06);
}

.directory-link-grid span {
  color: var(--coral);
  font-weight: 900;
}

.directory-link-grid strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.4;
}

.directory-link-grid small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.lead-section {
  padding: 82px 0 132px;
  background: #fff;
}

.lead-shell {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 32px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  align-items: start;
}

.lead-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.32;
}

.lead-copy p:last-child {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fcfd;
  padding: 24px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--deep-blue);
  font-weight: 900;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid #c6dbe2;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  font-weight: 700;
}

.lead-form textarea {
  resize: vertical;
}

.lead-wide {
  grid-column: 1 / -1;
}

.directory-hero {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 78px 0 36px;
}

.directory-hero h1 {
  max-width: 780px;
  margin: 0 0 18px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.28;
  font-weight: 900;
  word-break: keep-all;
}

.directory-hero p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.directory-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(760px, calc(100% - 48px));
  margin: 0 auto 38px;
}

.directory-stats div {
  display: grid;
  place-items: center;
  min-height: 110px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(24, 68, 84, 0.06);
}

.directory-stats strong {
  color: var(--blue);
  font-size: clamp(20px, 4vw, 32px);
  line-height: 1;
  text-align: center;
}

.directory-stats span {
  color: var(--muted);
  font-weight: 900;
}

.directory-listings {
  padding-top: 28px;
}

.directory-guide {
  padding-top: 30px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.guide-grid article {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f4fbfc);
  padding: 24px;
}

.guide-grid span {
  display: inline-block;
  margin-bottom: 16px;
  border-left: 4px solid var(--coral);
  padding-left: 10px;
  color: var(--coral);
  font-weight: 900;
}

.guide-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 72px;
  padding: 10px 20px;
  background: rgba(32, 33, 36, 0.72);
  color: #fff;
  font-weight: 900;
}

.sticky-cta button {
  min-height: 52px;
  border: 0;
  border-radius: 3px;
  background: var(--gold);
  color: #fff;
  padding: 0 28px;
  font-weight: 900;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.14);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 40;
  max-width: 360px;
  transform: translateY(16px);
  opacity: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 14px 18px;
  font-weight: 800;
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.site-footer {
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 50px 24px 100px;
  background: #1d4b5e;
  color: #fff;
  text-align: center;
}

.footer-brand .brand-mark {
  color: #84d9ce;
}

.site-footer p {
  margin: 0;
  color: #d7e7ec;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

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

  .listings-head,
  .detail-shell {
    grid-template-columns: 1fr;
  }

  .listings-head {
    display: grid;
    align-items: start;
  }

  .score-row,
  .criteria-grid,
  .directory-link-grid,
  .directory-stats,
  .lead-shell,
  .lead-form,
  .guide-grid,
  .facility-link-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .site-header {
    min-height: 64px;
    padding-inline: 18px;
  }

  .brand-text {
    font-size: 19px;
  }

  .operator-badge {
    width: 42px;
    height: 42px;
    font-size: 8px;
  }

  .drawer {
    top: 64px;
    right: 18px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.8) 48%, rgba(255, 255, 255, 0.15) 100%),
      url("assets/pet-kindergarten-hero.png") 65% bottom / auto 70% no-repeat,
      #e9fbfd;
  }

  .hero-copy {
    width: min(100% - 32px, var(--max));
    padding: 54px 0 240px;
  }

  .speech-label {
    margin-left: 0;
    font-size: 13px;
  }

  .hero-search {
    grid-template-columns: 1fr 54px;
    bottom: 28px;
  }

  .hero-search select {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-heading h2::before,
  .section-heading h2::after {
    display: none;
  }

  .popular-grid {
    grid-template-columns: 1fr;
    width: min(100% - 32px, var(--max));
  }

  .ranking-rail,
  .criteria-grid,
  .directory-link-grid,
  .directory-hero,
  .directory-stats,
  .lead-shell,
  .listings,
  .detail-shell,
  .guide-grid,
  .condition-panel,
  .section-heading {
    width: min(100% - 32px, var(--max));
  }

  .ranking-rail {
    grid-auto-columns: minmax(280px, 90vw);
  }

  .ranking-item {
    grid-template-columns: 44px 64px 1fr;
  }

  .small-logo {
    width: 64px;
    height: 64px;
  }

  .condition-panel,
  .listing-card,
  .detail-card,
  .detail-panel {
    padding: 20px;
  }

  .listing-top {
    grid-template-columns: 74px 1fr;
  }

  .listing-top .logo-box {
    width: 74px;
    height: 74px;
  }

  .tabs,
  .detail-tabs {
    grid-auto-columns: minmax(128px, 1fr);
  }

  .score-row,
  .feature-grid,
  .record-grid {
    grid-template-columns: 1fr;
  }

  .detail-summary {
    grid-template-columns: 92px 1fr;
  }

  .detail-summary .logo-box {
    width: 92px;
    height: 92px;
  }

  .spec-list div {
    grid-template-columns: 82px 1fr;
  }

  .detail-meta-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .sticky-cta {
    justify-content: space-between;
    min-height: 70px;
    font-size: 13px;
  }

  .sticky-cta button {
    min-height: 48px;
    padding: 0 14px;
  }
}

.shortlist-button.is-active {
  background: var(--deep-blue);
  color: #fff;
  border-color: var(--deep-blue);
}

.detail-actions .shortlist-button {
  flex: 1 1 170px;
  justify-content: center;
}

.review-form {
  display: grid;
  gap: 20px;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fcfd;
  padding: 24px;
}

.rating-fieldset {
  display: grid;
  gap: 12px;
  margin: 0;
  border: 0;
  padding: 0;
}

.rating-fieldset legend {
  margin-bottom: 6px;
  padding: 0;
  color: var(--deep-blue);
  font-weight: 900;
}

.rating-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 12px;
}

.rating-label {
  font-weight: 800;
}

.rating-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rating-option {
  position: relative;
}

.rating-option input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.rating-option span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-weight: 900;
}

.rating-option input:checked + span {
  border-color: var(--teal);
  background: #e7faf7;
  color: var(--deep-blue);
}

.rating-option input:focus-visible + span {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.review-grid label {
  display: grid;
  gap: 8px;
  color: var(--deep-blue);
  font-weight: 900;
}

.review-grid input,
.review-grid select,
.review-grid textarea {
  width: 100%;
  border: 1px solid #c6dbe2;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
  font-weight: 700;
}

.review-grid textarea {
  resize: vertical;
}

.review-wide {
  grid-column: 1 / -1;
}

.local-reviews {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.local-reviews h4 {
  margin: 0;
  color: var(--deep-blue);
}

.local-review-list {
  display: grid;
  gap: 14px;
}

.local-review-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.local-review-card p {
  margin: 0;
}

.local-review-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pending-badge {
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  padding: 2px 12px;
  font-size: 12px;
  font-weight: 900;
}

.review-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.lead-candidates-block {
  display: grid;
  gap: 8px;
}

.lead-label {
  color: var(--deep-blue);
  font-weight: 900;
}

.lead-candidates {
  display: grid;
  gap: 10px;
}

.lead-candidates .candidate-hint {
  margin: 0;
  border: 1px dashed #9bb4bd;
  border-radius: 6px;
  background: #fff;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.lead-candidates .candidate-hint a {
  color: var(--deep-blue);
}

.lead-candidates label.candidate-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 10px 14px;
  color: var(--ink);
  font-weight: 800;
}

.candidate-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  width: min(var(--max), calc(100% - 48px));
  margin: 34px auto 0;
}

.policy-links .teal-button {
  padding: 0 22px;
}

.area-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(860px, calc(100% - 48px));
  margin: 24px auto 0;
}

.area-nav a {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 8px 14px;
  color: var(--deep-blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.area-nav a:hover {
  border-color: var(--teal);
  background: #e7faf7;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.footer-nav a {
  color: #d7e7ec;
  font-size: 13px;
  font-weight: 800;
}

.legal-body {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 110px;
}

.legal-body h2 {
  margin: 34px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--deep-blue);
  color: var(--deep-blue);
  font-size: 22px;
}

.legal-body p,
.legal-body li {
  color: var(--ink);
}

.legal-body ul {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.legal-list div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.legal-list dt {
  color: var(--deep-blue);
  font-weight: 900;
}

.legal-list dd {
  margin: 0;
}

.legal-date {
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 680px) {
  .review-form {
    padding: 18px;
  }

  .legal-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .directory-hero h1 {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .rating-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .rating-option span {
    width: 46px;
    height: 46px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .toast {
    transition: none;
  }
}
