:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef3fb;
  --text: #12233d;
  --muted: #5d6b80;
  --line: #dbe4f0;
  --primary: #0e3f91;
  --primary-dark: #0a2f6a;
  --accent: #f3a61c;
  --accent-soft: #fff2d9;
  --success: #157347;
  --success-soft: #ebf7f0;
  --danger: #b42318;
  --danger-soft: #fff1f0;
  --max: 1240px;
  --shadow: 0 14px 30px rgba(14, 63, 145, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(243, 166, 28, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(14, 63, 145, 0.08), transparent 24%),
    linear-gradient(180deg, #f8fafd 0%, #f2f5fb 100%);
  color: var(--text);
  line-height: 1.6;
}

body.admin-bar .topbar {
  top: 32px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}


.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 249, 252, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(219, 228, 240, 0.75);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.brand-logo {
  padding: 2px 0;
}

.brand-logo-image {
  height: 62px;
  width: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(14, 63, 145, 0.08));
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(237, 243, 255, 0.9);
  border-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 22px rgba(14, 63, 145, 0.18);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: var(--surface-soft);
}

main section {
  padding: 42px 0;
}

.hero {
  padding: 72px 0 44px;
}

.hero-home {
  padding: 76px 0 52px;
  position: relative;
}

.hero-join-page {
  padding: 56px 0 40px;
}

.hero-home::before {
  content: '';
  position: absolute;
  inset: 16px auto auto 50%;
  width: min(1200px, calc(100% - 32px));
  height: 100%;
  transform: translateX(-50%);
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72) 0%, rgba(240, 245, 255, 0.88) 100%);
  border: 1px solid rgba(219, 228, 240, 0.9);
  z-index: 0;
}

.hero-join-page::before {
  width: min(1200px, calc(100% - 48px));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  align-items: stretch;
}

.hero-grid-home {
  gap: 28px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-grid-contact-page {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.hero-copy p,
.section-head p,
.panel p,
.card p,
.listing-card p,
.callout p,
.info-strip p,
.footer,
.note-box p,
.content-shell p {
  color: var(--muted);
}

.eyebrow,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #8d5a00;
  font-size: 0.9rem;
  font-weight: 700;
}

.eyebrow {
  margin-bottom: 18px;
}

.badge {
  margin-bottom: 10px;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.45rem, 4.5vw, 4.5rem);
  max-width: 760px;
}

h2 {
  font-size: clamp(1.75rem, 2.85vw, 2.45rem);
}

h3 {
  font-size: 1.08rem;
}

p {
  margin: 0 0 14px;
}

.quick-links,
.chip-row,
.service-tags,
.popular-links,
.location-chips,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions,
.hero-mini-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-inline-points {
  margin-top: 6px;
}

.hero-inline-points span {
  background: rgba(255, 255, 255, 0.72);
}

.quick-links a,
.chip-row span,
.service-tags span,
.popular-links a,
.location-chips span,
.meta-row span {
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.popular-links a:hover {
  background: var(--surface-soft);
}

.panel,
.card,
.listing-card,
.callout,
.info-strip,
.form-shell,
.note-box,
.content-shell,
.detail-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-search-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 28px 52px rgba(14, 63, 145, 0.14);
  border-color: #d4e0f4;
}

.panel,
.form-shell,
.content-shell,
.detail-shell {
  padding: 28px;
}

.card,
.listing-card,
.callout,
.info-strip,
.note-box {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.search-form,
.filter-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.filter-row,
.field-grid,
.split-layout,
.grid-4,
.grid-3,
.grid-2,
.detail-grid {
  display: grid;
  gap: 18px;
}

.two-col-form {
  grid-template-columns: repeat(2, 1fr);
}

.filter-row {
  grid-template-columns: 1.1fr 0.9fr auto;
  align-items: end;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-group label {
  font-size: 0.93rem;
  font-weight: 700;
}

.field,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: 16px;
  padding: 15px 16px;
  color: var(--text);
  outline: none;
  transition: 0.2s ease;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.field:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(14, 63, 145, 0.12);
  background: var(--surface);
}

.section-head {
  max-width: 760px;
  margin-bottom: 22px;
}

main section:not(.hero-home) .container {
  position: relative;
}

main section:not(.hero-home) .section-head {
  margin-bottom: 26px;
}

.hero-copy-home h1 {
  max-width: 680px;
  margin-bottom: 18px;
}

.hero-copy-home p {
  max-width: 620px;
  font-size: 1rem;
  line-height: 1.7;
}

.hero-actions {
  margin: 24px 0 18px;
}

.hero-service-links {
  margin-top: 18px;
}

.hero-service-links a,
.hero-mini-points span {
  background: rgba(255, 255, 255, 0.9);
}

.hero-mini-points {
  margin-top: 18px;
}

.hero-mini-points span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.service-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(14, 63, 145, 0.11);
  border-color: #cdd9ea;
}

.service-grid-premium {
  align-items: stretch;
}

.service-grid-clean {
  gap: 22px;
}

.service-card-clean {
  padding: 0;
  overflow: hidden;
  background: #fff;
  border-color: #dbe4f0;
  box-shadow: 0 14px 28px rgba(14, 63, 145, 0.07);
}

.service-card-clean:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(14, 63, 145, 0.11);
}

.service-card-clean-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 176px;
  padding: 18px 18px 12px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  border-bottom: 1px solid #dbe4f0;
}

.service-card-clean-image {
  width: 100%;
  max-width: 220px;
  height: auto;
  max-height: 150px;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(14, 63, 145, 0.08);
}

.service-card-clean-body {
  display: grid;
  grid-template-rows: auto minmax(92px, auto) auto;
  gap: 12px;
  align-items: start;
  padding: 20px 22px 22px;
}

.service-card-clean-body h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.3;
}

.service-card-clean-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
  font-size: 0.97rem;
  max-width: 26ch;
}

.service-card-clean-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.93rem;
}

.service-card-clean-link::after {
  content: '→';
  margin-left: 8px;
}

.home-final-cta {
  background: linear-gradient(135deg, #0f3f91 0%, #1b54b1 100%);
  border-color: transparent;
  color: #fff;
}

.home-final-cta h2,
.home-final-cta p,
.home-final-cta .eyebrow {
  color: #fff;
}

.home-final-cta .eyebrow {
  background: rgba(255, 255, 255, 0.14);
}

.home-final-cta .btn-primary {
  background: #fff;
  color: var(--primary);
}

.home-final-cta .btn-primary:hover {
  background: #f2f7ff;
}

.grid-3 .card,
.grid-4 .listing-card {
  background: rgba(255, 255, 255, 0.96);
}

.partnership-strip {
  padding-top: 4px;
}

.partnership-callout {
  background: linear-gradient(135deg, #0f3f91 0%, #194ea8 100%);
  color: #ffffff;
  border-color: transparent;
}

.partnership-callout p,
.partnership-callout h2 {
  color: #ffffff;
}

.partnership-callout .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.partnership-callout .btn-primary {
  background: #ffffff;
  color: var(--primary);
}

.partnership-callout .btn-primary:hover {
  background: #f3f7ff;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2,
.split-layout,
.detail-grid {
  grid-template-columns: 1fr 1fr;
}

.icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.stat {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.listing-card {
  height: 100%;
}

.listing-card-premium {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
}

.listing-card-modern {
  overflow: hidden;
  padding: 0;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(247,250,255,0.98) 100%);
  border: 1px solid #dbe4f0;
  box-shadow: 0 22px 40px rgba(14, 63, 145, 0.08);
}

.listing-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 48px rgba(14, 63, 145, 0.14);
}

.listing-card-featured {
  background: #ffffff;
  border-color: #dbe4f0;
  box-shadow: 0 18px 34px rgba(14, 63, 145, 0.08);
}

.listing-card-featured .listing-card-body {
  gap: 12px;
  padding: 20px 20px 22px;
}

.listing-card-featured .listing-card-media {
  height: 220px;
  overflow: hidden;
}

.listing-card-featured .listing-card-image {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.listing-card-featured .listing-card-summary {
  font-size: 0.93rem;
  line-height: 1.6;
}

.listing-card-featured-meta,
.listing-card-highlights-featured,
.listing-card-booking,
.listing-card-mode-inline {
  display: none;
}

.listing-card-media {
  margin: 0;
  position: relative;
}

.listing-card-image,
.detail-profile-visual {
  width: 100%;
  display: block;
  object-fit: cover;
  background: linear-gradient(135deg, #eef3fb 0%, #dfe9fb 100%);
}

.listing-card-image {
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

.listing-card-overlay {
  position: absolute;
  inset: 16px auto auto 16px;
  display: block;
}

.listing-card-overlay .badge {
  margin: 0;
  background: rgba(255, 248, 230, 0.96);
  color: #8d5a00;
  backdrop-filter: blur(10px);
}

.detail-profile-visual-wrap {
  margin-bottom: 4px;
}

.detail-profile-visual {
  aspect-ratio: 16 / 9;
  border-radius: 24px;
}

.profile-visual-fallback {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  color: var(--primary);
}

.profile-visual-initials {
  display: inline-grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(14, 63, 145, 0.12);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.profile-visual-service {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
}

.listing-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.listing-type {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.listing-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 20px 22px;
}

.listing-card-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.listing-card-service-inline,
.listing-card-mode-inline {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.listing-card-service-inline {
  background: #edf3ff;
  color: var(--primary);
}

.listing-card-mode-inline {
  background: #eef1f6;
  color: #495a74;
}

.listing-card-headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.listing-card-headline h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
  line-height: 1.2;
}

.listing-card-featured .listing-card-headline h3 {
  font-size: 1.14rem;
  line-height: 1.28;
}

.listing-card-featured .listing-card-service-inline {
  background: #edf3ff;
  color: var(--primary);
}

.listing-card-featured .meta-strong {
  font-size: 0.95rem;
  color: var(--muted);
}

.listing-card-featured .listing-card-cta {
  margin-top: 4px;
}

.listing-card-booking {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.listing-card-summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.listing-card-highlight-single {
  padding: 12px 14px;
  border-radius: 18px;
  background: #f6f9ff;
  border: 1px solid #dbe4f0;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.5;
}

.listing-card .meta,
.detail-meta strong {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 10px;
}

.meta-strong {
  font-size: 1rem;
}

.listing-card-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.listing-card-highlights {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.listing-card-highlights li {
  position: relative;
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.5;
}

.listing-card-highlights li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}

.listing-detail-pill {
  padding: 9px 12px;
  border-radius: 999px;
  background: #f7f9fc;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.service-tags-soft span {
  background: #fff;
  color: var(--muted);
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.toolbar p {
  margin: 0;
}

.subtle {
  color: var(--muted);
  font-size: 0.95rem;
}

.callout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-item strong,
.note-box strong,
.detail-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.note-box {
  background: #f7fbf8;
  border-color: #d6ecdf;
}

.status-message {
  display: none;
  padding: 14px 16px;
  border-radius: 16px;
  margin-bottom: 16px;
  font-weight: 600;
}

.status-message.error {
  display: block;
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid #f4c7c3;
}

.status-message.success {
  display: block;
  background: var(--success-soft);
  color: var(--success);
  border: 1px solid #b7e4c7;
}

.field-error {
  color: var(--danger);
  font-size: 0.84rem;
  font-weight: 600;
  display: none;
}

.field-group.has-error .field,
.field-group.has-error textarea {
  border-color: var(--danger);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.08);
}

.field-group.has-success .field,
.field-group.has-success textarea {
  border-color: #9ed8b4;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(21, 115, 71, 0.08);
}

.field-group.has-error label {
  color: var(--danger);
}

.field-group.has-success label {
  color: var(--success);
}

.field-group.has-error .field-error {
  display: block;
}

.profile-progress-card,
.profile-image-preview,
.dashboard-action-grid,
.profile-form-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.join-checklist {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.join-checklist-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
}

.join-checklist-item strong {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #edf3ff;
  color: var(--primary);
}

.join-workspace-layout,
.join-auth-layout {
  align-items: start;
}

.join-workspace-main .content-shell,
.join-workspace-side .content-shell {
  height: 100%;
}

.pet-pro-dashboard-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pet-pro-dashboard-neutral {
  background: #f7fbf8;
  border-color: #d6ecdf;
}

.pet-pro-dashboard-info {
  background: #f4f8ff;
  border-color: #d7e3fb;
}

.pet-pro-dashboard-warning {
  background: #fff8ec;
  border-color: #f1d7a6;
}

.pet-pro-dashboard-success {
  background: #eef9f1;
  border-color: #cce8d3;
}

.pet-pro-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.pet-pro-status-item {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
}

.pet-pro-status-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pet-pro-status-item p,
.pet-pro-next-action p,
.pet-pro-change-note p,
.pet-pro-blockers ul {
  margin: 0;
}

.pet-pro-next-action,
.pet-pro-change-note,
.pet-pro-blockers,
.pet-pro-focus-alert,
.pet-pro-section-focus-card {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
}

.pet-pro-focus-alert {
  background: #fff7f6;
  border-color: #f1c6c1;
}

.pet-pro-section-focus-card {
  background: #f4f8ff;
  border-color: #d7e3fb;
}

.pet-pro-next-action strong,
.pet-pro-change-note strong,
.pet-pro-blockers strong,
.pet-pro-focus-alert strong,
.pet-pro-section-focus-card strong {
  display: block;
  margin-bottom: 8px;
}

.pet-pro-focus-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  color: var(--danger);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pet-pro-section-focus-card .pet-pro-focus-kicker {
  color: var(--primary);
}

.pet-pro-focus-alert strong {
  color: var(--danger);
}

.pet-pro-section-focus-card strong {
  color: var(--primary-dark);
}

.pet-pro-health-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pet-pro-health-item {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 600;
}

.pet-pro-health-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #d5dde9;
  border: 2px solid #c5d0df;
}

.pet-pro-health-item.is-complete {
  border-color: #b9e2c7;
  background: #f3fbf5;
}

.pet-pro-health-item.is-complete .pet-pro-health-dot {
  background: #1f8a4c;
  border-color: #1f8a4c;
}

.pet-pro-health-item.is-missing {
  border-color: #ead7d5;
  background: #fff8f7;
}

.pet-pro-health-item.is-missing .pet-pro-health-dot {
  background: #d35d4a;
  border-color: #d35d4a;
}

.profile-progress-card {
  padding: 16px 18px;
  border-radius: 18px;
  background: #f4f8ff;
  border: 1px solid #d7e3fb;
  margin: 0 0 18px;
}

.profile-progress-card > div {
  flex: 1 1 240px;
}

.join-blockers-card {
  margin: 0 0 18px;
  padding: 18px 20px;
  border-radius: 20px;
  background: #fff7f6;
  border: 1px solid #f1c6c1;
}

.join-blockers-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.join-blockers-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.join-blocker-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: var(--danger);
  font-weight: 600;
}

.profile-image-guidance {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.profile-image-guidance span {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f4f8ff;
  border: 1px solid #d7e3fb;
  color: var(--primary-dark);
  font-size: 0.88rem;
  line-height: 1.5;
}

.profile-image-preview {
  align-items: center;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfdff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.profile-image-preview img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 18px rgba(14, 63, 145, 0.1);
}

input[type="file"].field {
  padding: 12px 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #f2f6fd 100%);
}

input[type="file"].field::file-selector-button {
  margin-right: 12px;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

input[type="file"].field:hover::file-selector-button {
  background: var(--primary-dark);
}

.dashboard-action-grid p,
.profile-form-actions .btn {
  margin: 0;
}

.listing-card-tags {
  margin-top: auto;
  gap: 8px;
}

.listing-card-tags span {
  padding: 8px 12px;
  font-size: 0.8rem;
  color: #51627c;
}

.listing-card-cta {
  width: 100%;
  margin-top: 2px;
}

.profile-form-actions {
  margin-top: 18px;
}

.form-section-shell {
  margin-top: 22px;
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: 0 12px 26px rgba(14, 63, 145, 0.05);
}

.form-section-shell.has-section-errors {
  border-color: #efb8b2;
  background: linear-gradient(180deg, #fffefe 0%, #fff7f6 100%);
}

.form-section-shell.is-section-complete {
  border-color: #c7e8d2;
}

.form-section-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 2px 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.form-section-toggle strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.02rem;
  line-height: 1.2;
}

.form-section-heading-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.form-section-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid #dbe4f0;
  background: #f4f7fb;
  color: var(--muted);
}

.form-section-badge.is-complete {
  background: #eef9f1;
  border-color: #b9e2c7;
  color: #1f8a4c;
}

.form-section-badge.is-pending {
  background: #fff8ec;
  border-color: #f1d7a6;
  color: #9a6400;
}

.form-section-toggle small {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-section-toggle-icon {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: #f3f7ff;
  border: 1px solid #dbe4f0;
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.form-section-body {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(219, 228, 240, 0.9);
}

.form-section-shell.is-collapsed .form-section-body {
  display: none;
}

.form-section-shell.is-collapsed {
  padding-bottom: 18px;
}

.join-completeness-card {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #f7fbff;
}

.join-completeness-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.join-completeness-head > div:first-child {
  flex: 1 1 320px;
}

.join-completeness-head strong {
  display: block;
}

.join-completeness-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.join-completeness-focus {
  flex: 0 1 320px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid #d7e3fb;
  background: #eef4ff;
}

.join-completeness-focus-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.join-completeness-focus strong {
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--text);
}

.join-completeness-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.join-completeness-meta {
  display: inline-flex;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.join-completeness-item.is-focus {
  border-color: #b9cbec;
  background: #edf4ff;
  box-shadow: 0 12px 24px rgba(14, 63, 145, 0.08);
}

.join-completeness-item.is-focus .join-completeness-meta {
  color: var(--primary);
}

.join-completeness-item.is-complete .join-completeness-meta {
  color: #1f8a4c;
}

.join-completeness-item.is-incomplete .join-completeness-meta {
  color: #9a6400;
}

.join-completeness-item.is-complete.is-focus {
  border-color: #b9e2c7;
  background: #f3fbf5;
  box-shadow: none;
}

.join-completeness-item.is-focus .join-completeness-kicker {
  color: var(--primary-dark);
}

.join-completeness-focus.is-all-complete {
  border-color: #b9e2c7;
  background: #eef9f1;
}

.join-completeness-focus.is-all-complete strong {
  color: #1f8a4c;
}

.join-completeness-focus.is-all-complete .join-completeness-focus-label {
  color: #1f8a4c;
}

.join-completeness-grid {
  display: grid;
  gap: 12px;
}

.join-completeness-item {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.join-completeness-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(14, 63, 145, 0.08);
  border-color: #c9d7eb;
}

.join-completeness-item p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.join-completeness-dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  margin-top: 3px;
  background: #d5dde9;
  border: 2px solid #c5d0df;
}

.join-completeness-item.is-complete {
  border-color: #b9e2c7;
  background: #f3fbf5;
}

.join-completeness-item.is-complete .join-completeness-dot {
  background: #1f8a4c;
  border-color: #1f8a4c;
}

.join-completeness-item.is-incomplete {
  border-color: #f1d7a6;
  background: #fffaf0;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.94rem;
  margin: 8px 0 18px;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.empty-state {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: #f8fafc;
  border: 1px dashed var(--line);
  color: var(--muted);
}

.empty-state-rich {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.empty-state-rich strong {
  color: var(--text);
  font-size: 1.02rem;
}

.directory-active-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.directory-active-filters span,
.directory-active-filters a {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
}

.directory-active-filters a {
  background: #edf3ff;
}

.detail-shell h1 {
  max-width: none;
}

.detail-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

.detail-card-soft-blue {
  background: #f4f8ff;
  border-color: #d7e3fb;
}

.detail-grid-main {
  align-items: start;
}

.detail-sidebar {
  display: grid;
  gap: 18px;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.detail-hero-wrap {
  padding-bottom: 30px;
}

.detail-hero-shell {
  position: relative;
  z-index: 1;
}

.detail-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.detail-breadcrumbs a:hover {
  color: var(--primary);
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.detail-hero-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-hero-side {
  align-self: stretch;
}

.detail-meta-row {
  margin-top: 8px;
}

.detail-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.detail-trust-strip span {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 700;
}

.detail-contact-mini {
  margin-top: 14px;
}

.detail-contact-mini-label {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.detail-contact-mini-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.detail-contact-mini-pills span {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
}

.detail-card-contact {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.detail-contact-stack {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.detail-contact-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.detail-contact-label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.detail-contact-row a,
.detail-contact-row strong {
  color: var(--text);
  font-size: 0.98rem;
}

.profile-content-shell {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.profile-copy {
  color: var(--muted);
}

.profile-copy p + p {
  margin-top: 14px;
}

.detail-cta-card {
  background: linear-gradient(180deg, #ffffff 0%, #eef3fb 100%);
}

.detail-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.detail-list li + li {
  margin-top: 8px;
}

.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
}

.site-footer-premium {
  margin-top: 28px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  border-top: 1px solid #dbe4f0;
}

.footer-premium {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 34px;
  padding: 42px 0 26px;
  align-items: start;
}

.footer-premium-brand {
  max-width: 420px;
}

.footer-premium-logo {
  height: 44px;
  width: auto;
  margin-bottom: 14px;
}

.footer-premium-brand p {
  margin: 0;
  color: var(--muted);
}

.footer-premium-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.footer-premium-columns-simple {
  align-items: start;
}

.footer-premium-clean {
  grid-template-columns: 1fr 1.1fr;
}

.footer-premium-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-premium-column strong {
  margin-bottom: 4px;
  color: var(--text);
  font-size: 0.98rem;
}

.footer-premium-column a,
.footer-premium-column span {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-premium-column a:hover {
  color: var(--primary);
}

.footer-premium-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0 34px;
  border-top: 1px solid rgba(219, 228, 240, 0.9);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-country {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-flag {
  font-size: 1rem;
  line-height: 1;
}

.form-shell.is-submitting {
  opacity: 0.72;
  pointer-events: none;
}

.btn.is-loading,
button.is-loading {
  position: relative;
  color: transparent !important;
}

.btn.is-loading::after,
button.is-loading::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: bmg-spin 0.8s linear infinite;
}

.join-completeness-item.is-focus {
  border-color: #f0b66b;
  background: linear-gradient(180deg, #fff7ec 0%, #fffdf7 100%);
  box-shadow: 0 16px 26px rgba(243, 166, 28, 0.16);
}

.join-completeness-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff8ec;
  border: 1px solid #f1d7a6;
  margin: 0 0 18px;
}

.join-completeness-summary.is-all-complete {
  background: #eef9f1;
  border-color: #cce8d3;
}

.join-completeness-summary strong {
  margin: 0;
}

.status-message.info {
  display: block;
  background: #eef4ff;
  color: var(--primary);
  border: 1px solid #cfe0ff;
}

@keyframes bmg-spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-join-page .hero-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 0.82fr);
  gap: 20px;
  align-items: center;
}

.hero-join-page .hero-copy {
  min-width: 0;
  padding-right: 0;
  justify-self: end;
  margin-left: 80px;
}

.hero-join-page .hero-copy-home h1 {
  font-size: clamp(1.8rem, 2.75vw, 3rem);
  max-width: 500px;
  line-height: 1.1;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.hero-join-page .hero-copy-home p {
  max-width: 500px;
  font-size: 1rem;
  line-height: 1.75;
}

.hero-join-page .hero-search-card {
  min-width: 0;
  width: 100%;
  max-width: 540px;
  justify-self: start;
  padding: 30px;
}

.hero-about-page {
  padding: 56px 0 40px;
}

.hero-about-page::before {
  width: min(1240px, calc(100% - 40px));
}

.hero-grid-about-page {
  grid-template-columns: minmax(0, 1fr);
  justify-content: center;
}

.hero-copy-about-page {
  min-width: 0;
  max-width: 820px;
  margin-left: 70px;
}

.hero-about-page .hero-copy-about-page h1 {
  font-size: clamp(1.8rem, 2.75vw, 3rem);
  max-width: 820px;
  line-height: 1.1;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.hero-about-page .hero-copy-about-page p {
  max-width: 900px;
  font-size: 1rem;
  line-height: 1.75;
}

.hero-about-page .hero-mini-points,
.hero-about-page .hero-actions {
  max-width: 900px;
}

.hero-directory-page {
  padding: 56px 0 40px;
}

.hero-directory-page::before {
  width: min(1200px, calc(100% - 48px));
  left: 50%;
  transform: translateX(-50%);
}

.hero-directory-page .hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.hero-directory-page .hero-copy {
  min-width: 0;
  margin-left: 20px;
}


.hero-directory-page .hero-copy h1 {
  font-size: clamp(1.8rem, 2.75vw, 3rem);
  max-width: 520px;
  line-height: 1.1;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.hero-directory-page .hero-copy p {
  max-width: 540px;
  font-size: 1rem;
  line-height: 1.75;
}

.hero-front-page {
  padding: 56px 0 40px;
}

.hero-front-page::before {
  width: min(1200px, calc(100% - 48px));
}

.hero-front-page .hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: center;
}

.hero-front-page .hero-copy {
  min-width: 0;
  margin-left: 70px;
  align-self: start;
  padding-top: 0;
  margin-top: 4px;
}

.hero-front-page .hero-copy h1 {
  font-size: clamp(1.8rem, 2.75vw, 3rem);
  max-width: 520px;
  line-height: 1.1;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.hero-front-page .hero-copy p {
  max-width: 540px;
  font-size: 1rem;
  line-height: 1.75;
}

.hero-front-page .hero-search-card {
  justify-self: start;
  width: 100%;
  max-width: 540px;
  padding: 30px;
}

.hero-join-page .hero-copy,
.hero-copy-about-page,
.hero-front-page .hero-copy {
  margin-left: 70px;
}

@media (max-width: 1020px) {
  .hero-home::before {
    inset: 10px 16px auto 16px;
    width: auto;
    transform: none;
  }

  .hero-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .split-layout,
  .filter-row,
  .info-strip,
  .two-col-form,
  .detail-grid,
  .detail-info-grid,
  .detail-hero-grid,
  .footer-premium,
  .footer-premium-columns,
  .insurance-highlight-grid {
    grid-template-columns: 1fr;
  }

  .profile-progress-card,
  .profile-image-preview,
  .dashboard-action-grid,
  .profile-form-actions {
    flex-direction: column;
  }

  .pet-pro-status-grid,
  .pet-pro-health-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-hero-card {
  align-self: stretch;
}

.contact-points {
  display: grid;
  gap: 14px;
}

.contact-point-item {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.contact-point-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.contact-point-item strong {
  display: block;
  margin-bottom: 6px;
}

.contact-point-item p {
  margin: 0;
}

.contact-message-grid {
  align-items: stretch;
}

.contact-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-page-hero::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 248, 255, 0.98) 100%);
  border: 1px solid rgba(219, 228, 240, 0.9);
}

.contact-page-wrap {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.contact-page-shell {
  text-align: center;
  padding: 40px 32px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border: 1px solid rgba(219, 228, 240, 0.95);
  box-shadow: 0 18px 40px rgba(14, 63, 145, 0.08);
}

.contact-page-title {
  margin-bottom: 14px;
  color: var(--text);
}

.contact-page-copy {
  max-width: 560px;
  margin: 0 auto 16px;
  color: var(--muted) !important;
}

.contact-page-actions {
  justify-content: center;
  margin-top: 0;
}

.contact-page-links {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-page-links a {
  font-weight: 700;
  color: var(--primary);
}

.footer-disclaimer {
  margin-top: 6px;
  max-width: 620px;
  font-size: 0.85rem;
  color: var(--muted);
}

.legal-page-hero {
  padding: 56px 0 24px;
}

.legal-page-hero-shell {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border: 1px solid rgba(219, 228, 240, 0.95);
  box-shadow: 0 18px 40px rgba(14, 63, 145, 0.08);
}

.legal-page-hero-shell h1,
.legal-page-hero-shell p {
  color: var(--text);
}

.legal-page-hero-shell p {
  color: var(--muted);
}

.legal-page-shell {
  display: grid;
  gap: 24px;
}

.insurance-page-shell {
  display: grid;
  gap: 24px;
}

.insurance-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.insurance-highlight-item {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid var(--line);
}

.insurance-highlight-item strong {
  display: block;
  margin-bottom: 6px;
}

.insurance-highlight-item p {
  margin: 0;
}

.insurance-page-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f5f8ff;
}

.insurance-page-image {
  width: 100%;
  height: auto;
  display: block;
}

.legal-page-block + .legal-page-block {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.legal-page-block h3 {
  margin-bottom: 10px;
}

.legal-page-block p {
  margin: 0;
}

.callout-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 782px) {
  body.admin-bar .topbar {
    top: 46px;
  }
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-home::before {
    border-radius: 28px;
  }

  .hero-actions,
  .hero-mini-points,
  .hero-service-links {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .hero-search-card .btn {
    width: 100%;
  }

  .listing-card-media {
    margin: 0;
  }

  .panel,
  .form-shell,
  .content-shell,
  .detail-shell,
  .card,
  .listing-card,
  .callout,
  .info-strip,
  .note-box,
  .detail-card {
    padding: 22px;
  }

  .listing-card-modern {
    padding: 0;
  }

  .listing-card-headline,
  .listing-card-topline,
  .listing-card-featured-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .pet-pro-status-grid,
  .pet-pro-health-grid {
    grid-template-columns: 1fr;
  }

  .listing-card-featured-meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.5rem;
  }

  .brand {
    font-size: 1.15rem;
  }
}


.search-form-needs-location [data-location-input] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.search-form-needs-location .field-group:has([data-location-input])::after {
  content: 'Add a town, city or postcode to search locally.';
  display: block;
  margin-top: 6px;
  color: var(--danger);
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 720px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
  }

  .hero-copy-home,
  .hero-copy-about-page,
  .hero-front-page .hero-copy,
  .hero-join-page .hero-copy {
    margin-left: 0;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 2.5rem);
    line-height: 1.05;
  }
}


.trust-section {
  padding-top: 10px;
}

.trust-card,
.directory-trust-strip > div,
.detail-trust-box {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(219, 228, 240, 0.95);
}

.trust-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  font-weight: 900;
  margin-bottom: 12px;
}

.listing-card-trust-tags {
  margin-top: 14px;
}

.directory-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 22px;
}

.directory-trust-strip > div {
  padding: 16px 18px;
  border-radius: var(--radius-md);
}

.directory-trust-strip strong,
.directory-trust-strip span {
  display: block;
}

.directory-trust-strip span,
.field-help {
  color: var(--muted);
  font-size: 0.92rem;
}

.field-help {
  display: block;
  margin-top: 6px;
}

.detail-trust-box {
  padding: 16px;
  border-radius: var(--radius-md);
  margin: 16px 0;
}

.detail-trust-box strong {
  display: block;
  margin-bottom: 8px;
}

@media (max-width: 1020px) {
  .directory-trust-strip {
    grid-template-columns: 1fr;
  }
}


/* Slick shared Pet Pro profile template */
.profile-template-v2 {
  position: relative;
  overflow: hidden;
}

.profile-template-v2::after {
  content: '';
  position: absolute;
  inset: 90px 5% auto auto;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(243, 166, 28, 0.16), transparent 62%);
  pointer-events: none;
}

.profile-template-v2 .detail-hero-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.55fr);
  gap: 28px;
}

.profile-template-v2 .detail-hero-main {
  gap: 18px;
}

.profile-template-v2 .detail-profile-visual-wrap {
  position: relative;
  margin: 0;
  border-radius: 32px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(238,243,251,0.72));
  border: 1px solid rgba(219, 228, 240, 0.95);
  box-shadow: 0 24px 60px rgba(14, 63, 145, 0.12);
}

.profile-template-v2 .detail-profile-visual {
  aspect-ratio: 21 / 9;
  border-radius: 24px;
  min-height: 280px;
}

.profile-template-v2 .detail-hero-copy-card,
.profile-template-v2 .profile-booking-panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(219, 228, 240, 0.95);
  box-shadow: 0 22px 55px rgba(14, 63, 145, 0.10);
  backdrop-filter: blur(14px);
}

.detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.profile-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  border: 1px solid rgba(21, 115, 71, 0.18);
  font-weight: 900;
  font-size: 0.82rem;
  white-space: nowrap;
}

.profile-verified-badge::before {
  content: '✓';
}

.profile-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 14px 0 18px;
}

.profile-status-row span {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  background: #f4f8ff;
  color: var(--primary);
  border: 1px solid #d7e3fb;
  font-size: 0.86rem;
  font-weight: 800;
}

.profile-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.profile-snapshot-card {
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid var(--line);
}

.profile-snapshot-card span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.profile-snapshot-card strong {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.35;
}

.detail-highlights-embedded {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  background: #fffaf0;
  border: 1px solid #f3dbab;
}

.detail-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.profile-booking-panel {
  position: sticky;
  top: 92px;
}

.profile-primary-cta {
  width: 100%;
  justify-content: center;
  box-shadow: 0 14px 28px rgba(14, 63, 145, 0.18);
}

.detail-quick-facts {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.detail-quick-fact {
  padding: 13px 14px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid var(--line);
}

.detail-quick-fact span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.detail-quick-fact strong {
  color: var(--text);
}

.detail-map-inline-block {
  margin-top: 16px;
}

.detail-map-frame {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #edf3ff;
}

.detail-map-frame iframe {
  display: block;
  width: 100%;
  min-height: 210px;
  border: 0;
}

.detail-map-link {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

.profile-compare-box {
  margin: 16px 0;
  padding: 16px;
  border-radius: 18px;
  background: #f7fbff;
  border: 1px solid var(--line);
}

.profile-compare-box strong {
  display: block;
  margin-bottom: 8px;
}

.detail-side-actions .btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 1020px) {
  .profile-template-v2 .detail-hero-grid,
  .profile-snapshot-grid {
    grid-template-columns: 1fr;
  }

  .profile-template-v2 .detail-profile-visual {
    aspect-ratio: 16 / 10;
    min-height: 220px;
  }

  .profile-booking-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .detail-title-row {
    flex-direction: column;
  }

  .profile-template-v2 .detail-profile-visual-wrap {
    padding: 6px;
    border-radius: 24px;
  }

  .profile-template-v2 .detail-profile-visual {
    border-radius: 18px;
  }
}


/* profile-layout-polish-v3: wider, cleaner Pet Pro profile */
.profile-template-v2 .detail-hero-shell {
  width: min(1480px, calc(100% - 72px));
  padding: 34px;
  border-radius: 34px;
  background: rgba(255,255,255,0.78);
}

.profile-template-v2 .detail-hero-grid {
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 22px;
  align-items: start;
}

.profile-main-card {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(219, 228, 240, 0.95);
  box-shadow: 0 24px 60px rgba(14, 63, 145, 0.10);
}

.profile-template-v2 .profile-main-card .detail-profile-visual-wrap {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: linear-gradient(135deg, #eef3fb 0%, #f8fbff 100%);
  min-height: 100%;
}

.profile-template-v2 .profile-main-card .detail-profile-visual {
  height: 100%;
  min-height: 520px;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: contain;
  padding: 42px;
}

.profile-template-v2 .profile-main-card .profile-visual-fallback {
  min-height: 520px;
}

.profile-template-v2 .detail-hero-copy-card {
  padding: 34px;
}

.profile-template-v2 .detail-hero-copy-card h1 {
  font-size: clamp(2.25rem, 4vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
  margin: 6px 0 0;
}

.profile-template-v2 .detail-hero-description {
  margin-top: 20px;
  font-size: 1.04rem;
  line-height: 1.75;
  color: #3f5068;
}

.profile-template-v2 .profile-snapshot-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 26px 0;
}

.profile-template-v2 .profile-snapshot-card {
  padding: 18px;
  min-height: 104px;
}

.profile-template-v2 .detail-highlights-embedded {
  background: linear-gradient(135deg, #fff8e8 0%, #fffdf8 100%);
  border-radius: 22px;
}

.profile-template-v2 .profile-booking-panel {
  border-radius: 28px;
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(14, 63, 145, 0.12);
}

.profile-template-v2 .profile-booking-panel > strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-bottom: 10px;
}

.profile-template-v2 .profile-primary-cta {
  min-height: 52px;
  border-radius: 999px;
  font-size: 1rem;
}

.profile-template-v2 .detail-trust-box,
.profile-template-v2 .profile-compare-box,
.profile-template-v2 .profile-social-box,
.profile-template-v2 .detail-quick-fact,
.profile-template-v2 .detail-contact-mini-pills span {
  background: #f8fbff;
  border-color: #dbe7f6;
}

.profile-social-box {
  margin: 16px 0;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.profile-social-box strong {
  display: block;
  margin-bottom: 12px;
}

.profile-template-v2 .detail-map-frame iframe {
  min-height: 250px;
}

.profile-template-v2 + section .container {
  width: min(1480px, calc(100% - 72px));
}

@media (max-width: 1180px) {
  .profile-template-v2 .detail-hero-grid,
  .profile-main-card {
    grid-template-columns: 1fr;
  }

  .profile-template-v2 .profile-main-card .detail-profile-visual {
    min-height: 320px;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 720px) {
  .profile-template-v2 .detail-hero-shell,
  .profile-template-v2 + section .container {
    width: min(100% - 24px, 1480px);
    padding: 16px;
  }

  .profile-template-v2 .detail-hero-copy-card {
    padding: 22px;
  }

  .profile-template-v2 .profile-snapshot-grid {
    grid-template-columns: 1fr;
  }

  .profile-template-v2 .profile-main-card .detail-profile-visual {
    min-height: 240px;
    padding: 22px;
  }
}


/* profile-layout-remove-ghost-panel: remove unnecessary background card behind profile */
.profile-template-v2 {
  padding-top: 34px;
  background: linear-gradient(180deg, #f8fbff 0%, #f3f6fb 100%);
}

.profile-template-v2.hero-home::before,
.profile-template-v2::after {
  display: none;
}

.profile-template-v2 .detail-hero-shell {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding-top: 0;
}

.profile-template-v2 .detail-breadcrumbs {
  margin: 0 0 18px;
  padding: 0 4px;
}

.profile-template-v2 .detail-hero-grid {
  position: relative;
  z-index: 1;
}

@media (max-width: 720px) {
  .profile-template-v2 {
    padding-top: 22px;
  }
}


/* Join page conversion improvements */
.join-value-section {
  padding-top: 18px;
}

.join-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.join-value-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(219, 228, 240, 0.95);
  box-shadow: 0 14px 30px rgba(14, 63, 145, 0.06);
}

.join-value-card h3 {
  margin-top: 14px;
  margin-bottom: 8px;
}

.join-value-card p {
  margin: 0;
  color: var(--muted);
}

.join-prep-section {
  padding-top: 14px;
}

.join-prep-shell {
  background:
    radial-gradient(circle at top right, rgba(243, 166, 28, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.join-prep-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.join-prep-grid > div {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(219, 228, 240, 0.95);
}

.join-prep-grid strong,
.join-prep-grid span {
  display: block;
}

.join-prep-grid strong {
  margin-bottom: 6px;
  color: var(--text);
}

.join-prep-grid span {
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-join-page .hero-mini-points span {
  background: rgba(255, 255, 255, 0.74);
}

@media (max-width: 980px) {
  .join-value-grid,
  .join-prep-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .join-value-grid,
  .join-prep-grid {
    grid-template-columns: 1fr;
  }
}


/* responsive-hardening-v1: prevent mobile/tablet distortion */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.container,
.hero-grid,
.split-layout,
.grid-2,
.grid-3,
.grid-4,
.detail-grid,
.detail-hero-grid,
.field-grid,
.toolbar,
.callout,
.footer-premium,
.footer-premium-columns,
.nav,
.nav-links,
.profile-main-card,
.profile-template-v2 .detail-hero-grid {
  min-width: 0;
}

.container > *,
.hero-grid > *,
.split-layout > *,
.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.detail-grid > *,
.detail-hero-grid > *,
.field-grid > *,
.profile-main-card > * {
  min-width: 0;
}

input,
select,
textarea,
button,
.btn {
  max-width: 100%;
}

.field,
textarea {
  width: 100%;
}

@media (max-width: 1020px) {
  .hero-join-page .hero-copy,
  .hero-copy-about-page,
  .hero-front-page .hero-copy {
    margin-left: 0;
  }

  .hero-join-page .hero-grid,
  .hero-front-page .hero-grid,
  .hero-grid-home,
  .profile-template-v2 .detail-hero-grid,
  .profile-main-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-search-card,
  .hero-front-page .hero-search-card {
    max-width: none;
    justify-self: stretch;
  }

  .toolbar,
  .callout {
    align-items: stretch;
  }
}

@media (max-width: 720px) {
  main section {
    padding: 28px 0;
  }

  .hero,
  .hero-home,
  .hero-join-page,
  .legal-page-hero {
    padding: 34px 0 28px;
  }

  .container,
  .profile-template-v2 .detail-hero-shell,
  .profile-template-v2 + section .container {
    width: calc(100% - 24px);
  }

  .nav {
    gap: 12px;
  }

  .brand-logo-image {
    height: 48px;
  }

  .nav-links {
    overflow: visible;
  }

  .nav-links a,
  .btn,
  .hero-actions .btn,
  .callout-actions .btn,
  .profile-form-actions .btn,
  .dashboard-action-grid .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .panel,
  .form-shell,
  .content-shell,
  .detail-shell,
  .card,
  .listing-card,
  .callout,
  .info-strip,
  .note-box,
  .detail-card,
  .join-value-card,
  .join-prep-shell {
    padding: 18px;
    border-radius: 20px;
  }

  .hero-copy p,
  .section-head p,
  .panel p,
  .card p,
  .listing-card p,
  .callout p,
  .info-strip p,
  .note-box p,
  .content-shell p {
    font-size: 0.98rem;
  }

  .profile-template-v2 .detail-hero-copy-card h1,
  h1 {
    font-size: clamp(1.9rem, 10vw, 2.45rem);
    line-height: 1.06;
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(1.45rem, 7vw, 2rem);
    line-height: 1.12;
  }

  .profile-template-v2 .profile-main-card .detail-profile-visual,
  .profile-template-v2 .profile-main-card .profile-visual-fallback {
    min-height: 220px;
  }

  .profile-template-v2 .profile-main-card .detail-profile-visual {
    padding: 14px;
  }

  .form-section-heading-row,
  .join-completeness-head,
  .callout-actions,
  .profile-form-actions,
  .dashboard-action-grid,
  .footer-premium-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .join-checklist-item {
    grid-template-columns: 30px minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  .container,
  .profile-template-v2 .detail-hero-shell,
  .profile-template-v2 + section .container {
    width: calc(100% - 18px);
  }

  .panel,
  .form-shell,
  .content-shell,
  .detail-shell,
  .card,
  .listing-card,
  .callout,
  .info-strip,
  .note-box,
  .detail-card,
  .join-value-card,
  .join-prep-shell {
    padding: 16px;
  }

  .hero-mini-points span,
  .profile-status-row span,
  .detail-contact-mini-pills span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}


/* mobile-polish-v1: make phone layout feel designed, not just stacked */
@media (max-width: 720px) {
  body {
    background: linear-gradient(180deg, #f8fbff 0%, #f3f6fb 100%);
  }

  .topbar {
    background: rgba(255, 255, 255, 0.94);
  }

  .nav {
    padding: 10px 0 12px;
    align-items: center;
  }

  .brand-logo-image {
    height: 42px;
  }

  .nav-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    font-size: 0.84rem;
  }

  .nav-links a {
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 14px;
    background: #f5f8ff;
    border: 1px solid #e2eaf6;
  }

  .nav-links a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .hero-home::before {
    inset: 8px 8px auto 8px;
    border-radius: 24px;
  }

  .hero-copy-home,
  .hero-copy-about-page,
  .hero-front-page .hero-copy,
  .hero-join-page .hero-copy {
    text-align: left;
  }

  .eyebrow,
  .badge {
    padding: 7px 11px;
    font-size: 0.78rem;
  }

  .hero-copy p,
  .section-head p,
  .panel p,
  .card p,
  .listing-card p,
  .callout p,
  .info-strip p,
  .note-box p,
  .content-shell p {
    line-height: 1.62;
  }

  .hero-actions {
    gap: 9px;
  }

  .btn {
    min-height: 44px;
    padding: 11px 15px;
    border-radius: 14px;
    font-size: 0.94rem;
  }

  .hero-mini-points {
    gap: 7px;
    margin-top: 16px;
  }

  .hero-mini-points span {
    justify-content: flex-start;
    padding: 9px 12px;
    border-radius: 13px;
    font-size: 0.9rem;
  }

  .hero-search-card {
    margin-top: 6px;
    box-shadow: 0 14px 28px rgba(14, 63, 145, 0.08);
  }

  .join-checklist {
    gap: 8px;
  }

  .join-checklist-item {
    padding: 11px 12px;
    border-radius: 14px;
    background: #f8fbff;
  }

  .join-checklist-item strong {
    width: 28px;
    height: 28px;
    font-size: 0.84rem;
  }

  .join-value-section,
  .join-prep-section {
    padding-top: 4px;
  }

  .join-value-grid,
  .join-prep-grid {
    gap: 10px;
  }

  .join-value-card h3 {
    margin-top: 8px;
    margin-bottom: 5px;
  }

  .trust-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
  }

  .section-head {
    margin-bottom: 16px;
  }

  .toolbar {
    display: grid;
    gap: 12px;
  }

  .form-shell h2,
  .content-shell h2,
  .panel h3,
  .join-value-card h3 {
    letter-spacing: -0.025em;
  }

  .field-grid {
    gap: 13px;
  }

  .field-group label {
    font-size: 0.9rem;
  }

  input.field,
  select.field,
  textarea {
    min-height: 46px;
    border-radius: 14px;
    padding: 12px 13px;
    font-size: 16px;
  }

  textarea {
    min-height: 132px;
  }

  .form-section-shell {
    margin-top: 14px;
    padding: 13px;
    border-radius: 18px;
  }

  .form-section-toggle {
    gap: 10px;
  }

  .form-section-toggle strong {
    margin-bottom: 3px;
  }

  .form-section-toggle small {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .form-section-toggle-icon {
    width: 30px;
    height: 30px;
  }

  .form-section-body {
    margin-top: 12px;
    padding-top: 12px;
  }

  .join-completeness-card {
    padding: 14px;
    border-radius: 18px;
  }

  .join-completeness-head {
    gap: 10px;
  }

  .join-completeness-focus {
    width: 100%;
    padding: 10px 12px;
  }

  .join-completeness-grid {
    gap: 9px;
  }

  .join-completeness-item {
    padding: 12px;
    border-radius: 15px;
  }

  .checkbox-row {
    align-items: flex-start;
  }

  .site-footer-premium {
    margin-top: 10px;
  }

  .footer-premium-brand,
  .footer-premium-column,
  .footer-premium-bottom {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .nav-links {
    grid-template-columns: 1fr;
  }

  .nav-links a:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .hero,
  .hero-home,
  .hero-join-page {
    padding-top: 26px;
  }

  .profile-template-v2 .detail-hero-copy-card h1,
  h1 {
    font-size: clamp(1.75rem, 9.5vw, 2.15rem);
  }

  h2 {
    font-size: clamp(1.32rem, 7vw, 1.72rem);
  }
}


/* directory-mobile-polish-v1 */
.hero-directory-page .hero-search-card {
  border: 1px solid rgba(219, 228, 240, 0.95);
}

@media (max-width: 1020px) {
  .hero-directory-page .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-directory-page .hero-copy {
    margin-left: 0;
  }

  .hero-directory-page .hero-search-card {
    max-width: none;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero-directory-page {
    padding: 28px 0 18px;
  }

  .hero-directory-page::before {
    inset: 8px 8px auto 8px;
    width: auto;
    transform: none;
    border-radius: 24px;
  }

  .hero-directory-page .hero-copy h1 {
    font-size: clamp(1.85rem, 9vw, 2.35rem);
    line-height: 1.06;
    max-width: 100%;
  }

  .hero-directory-page .hero-copy p {
    max-width: 100%;
    line-height: 1.62;
  }

  .hero-directory-page .hero-mini-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-directory-page .hero-mini-points span {
    width: auto;
    justify-content: flex-start;
    text-align: left;
    font-size: 0.82rem;
    padding: 9px 10px;
  }

  .hero-directory-page .hero-search-card {
    padding: 16px;
    border-radius: 20px;
    background: #ffffff;
  }

  .hero-directory-page .hero-search-card h2 {
    font-size: 1.28rem !important;
  }

  .hero-directory-page .search-form .field-grid {
    gap: 10px;
  }

  .hero-directory-page .profile-form-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .toolbar {
    padding: 0 2px;
  }

  .toolbar h2 {
    margin-bottom: 4px !important;
  }

  .directory-trust-strip {
    gap: 9px;
    margin-bottom: 16px;
  }

  .directory-trust-strip > div {
    padding: 13px 14px;
    border-radius: 16px;
  }

  .directory-trust-strip strong {
    font-size: 0.94rem;
  }

  .directory-trust-strip span {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .directory-active-filters {
    align-items: stretch;
    gap: 8px;
    margin-bottom: 14px;
  }

  .directory-active-filters span,
  .directory-active-filters a {
    width: 100%;
    justify-content: center;
    border-radius: 13px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .listing-card-modern,
  .listing-card-featured {
    border-radius: 22px;
    box-shadow: 0 14px 30px rgba(14, 63, 145, 0.08);
    background: #ffffff;
  }

  .listing-card-featured .listing-card-media,
  .listing-card-media {
    height: auto;
  }

  .listing-card-image {
    aspect-ratio: 4 / 3;
    max-height: 210px;
    object-fit: cover;
  }

  .listing-card-overlay {
    inset: 10px auto auto 10px;
  }

  .listing-card-overlay .badge {
    font-size: 0.76rem;
    padding: 7px 10px;
  }

  .listing-card-featured .listing-card-body,
  .listing-card-body {
    padding: 15px;
    gap: 10px;
  }

  .listing-card-topline {
    gap: 7px;
  }

  .listing-card-service-inline,
  .listing-card-mode-inline,
  .listing-card-booking {
    font-size: 0.74rem;
    padding: 6px 9px;
    border-radius: 999px;
  }

  .listing-card-headline h3,
  .listing-card-featured .listing-card-headline h3 {
    font-size: 1.08rem;
    line-height: 1.22;
    margin-bottom: 3px;
  }

  .meta-strong,
  .listing-card-featured .meta-strong {
    font-size: 0.88rem;
  }

  .listing-card-summary,
  .listing-card-featured .listing-card-summary {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .listing-card-highlights {
    gap: 7px;
  }

  .listing-card-highlights li {
    font-size: 0.82rem;
    padding-left: 17px;
  }

  .listing-card-cta {
    margin-top: 2px;
    min-height: 42px;
  }
}

@media (max-width: 420px) {
  .hero-directory-page .hero-mini-points {
    grid-template-columns: 1fr;
  }

  .listing-card-image {
    max-height: 185px;
  }
}


/* nav-professional-v1 */
.topbar {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(14, 63, 145, 0.06);
}

.nav {
  padding: 14px 0;
}

.brand-logo-image {
  height: 54px;
}

.nav-links {
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(219, 228, 240, 0.9);
  border-radius: 999px;
  background: rgba(248, 251, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.nav-links a {
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #344761;
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 6px 16px rgba(14, 63, 145, 0.08);
}

.nav-links a:nth-child(2) {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(14, 63, 145, 0.16);
}

.nav-links a:nth-child(2):hover,
.nav-links a:nth-child(2).active {
  background: var(--primary-dark);
  color: #ffffff;
}

.hero-front-page .hero-actions {
  margin-top: 28px;
}

@media (max-width: 720px) {
  .nav-links {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-links a:nth-child(2) {
    box-shadow: none;
  }
}


/* header-active-state-v1 */
.topbar {
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(219, 228, 240, 0.9);
}

body.admin-bar .topbar {
  top: 32px;
}

.nav {
  padding: 8px 0;
  min-height: 72px;
}

.brand-logo-image {
  height: 46px;
}

.nav-links a,
.nav-links a:nth-child(2) {
  background: transparent;
  color: #344761;
  box-shadow: none;
}

.nav-links a:hover {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 6px 16px rgba(14, 63, 145, 0.08);
}

.nav-links a.active,
.nav-links a:nth-child(2).active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(14, 63, 145, 0.16);
}

.nav-links a.active:hover,
.nav-links a:nth-child(2).active:hover {
  background: var(--primary-dark);
  color: #ffffff;
}

.hero-home,
.hero-front-page,
.hero-join-page,
.hero-directory-page {
  padding-top: 44px;
}

@media (max-width: 782px) {
  body.admin-bar .topbar {
    top: 46px;
  }
}

@media (max-width: 720px) {
  .nav {
    min-height: auto;
    padding: 8px 0 10px;
  }

  .brand-logo-image {
    height: 40px;
  }

  .nav-links a,
  .nav-links a:nth-child(2) {
    background: #f5f8ff;
    color: #344761;
  }

  .nav-links a.active,
  .nav-links a:nth-child(2).active {
    background: var(--primary);
    color: #ffffff;
  }
}
