/* ═══════════════════════════════════════════════════════════
   CLINIC HOME - clinic-home.min.css
   Uses the same design tokens as treatment.min.css
   ═══════════════════════════════════════════════════════════ */

:root {
  --primary: #663399;
  --primary-light: #994CE5;
  --accent: #3498db;
  --light-bg: #f9f9f9;
  --border: #e0e0e0;
  --white: #ffffff;
  --grey-text: #666666;
  --heading: #2c3e50;
}

/* ─── HERO ─────────────────────────────────────────────── */

.clinic-hero {
  background: linear-gradient(135deg, #f5f7fa 0%, #eef2f7 100%);
  padding: 55px 0 50px;
  border-bottom: 1px solid var(--border);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-left-col {
  padding: 20px 0;
}

.hero-title {
  font-size: 2.6rem;
  color: var(--heading);
  margin-bottom: 15px;
  letter-spacing: -1.5px;
  font-weight: 800;
  line-height: 1.1;
}

.hero-title em {
  font-style: normal;
  color: var(--primary);
}

.hero-kicker {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--grey-text);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 28px;
}

/* Hero search bar */
.hero-search-wrap {
  max-width: 520px;
  position: relative;
}

.hero-search-bar {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.hero-search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(102,51,153,0.12);
}

.hero-search-icon {
  padding: 0 0 0 18px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.hero-search-icon svg {
  width: 20px;
  height: 20px;
  color: #999;
}

.hero-search-bar input {
  flex: 1;
  padding: 14px 20px 14px 14px;
  border: none;
  outline: none;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  color: #212529;
  background: transparent;
  min-width: 0;
}

.hero-search-bar input::placeholder {
  color: #aaa;
}

.hero-search-hint {
  font-size: 0.8rem;
  color: #999;
  margin-top: 12px;
  padding-left: 4px;
}

.hero-search-hint a {
  color: var(--grey-text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s;
}

.hero-search-hint a:hover {
  color: var(--primary);
}

/* Hero autocomplete dropdown */
.hero-autocomplete {
  display: none;
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  z-index: 200;
  max-height: 340px;
  overflow-y: auto;
  padding: 6px 0;
}

.hero-ac-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.1s;
  gap: 12px;
}

.hero-ac-item:hover,
.hero-ac-item.active {
  background: #f5f0fa;
}

.hero-ac-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--heading);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-ac-type {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--light-bg);
  border: 1px solid var(--border);
}

/* Hero stats stack */
.hero-right-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stats-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 360px;
}

.hero-stat-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 26px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.hero-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.07);
}

.hero-stat-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #f0e6ff 0%, #e8d5f5 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stat-icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.hero-stat-info {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--heading);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--grey-text);
  font-weight: 500;
}

/* ─── SECTION SHARED ───────────────────────────────────── */

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--light-bg);
  padding-bottom: 15px;
}

.section-kicker {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.5px;
}

.section-title em {
  font-style: normal;
  color: var(--primary);
}

.section-view-all {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.section-view-all:hover {
  color: var(--primary);
}

/* ─── SEARCH WAYS CARDS ────────────────────────────────── */

.search-ways-section {
  padding: 60px 0;
}

.search-ways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.search-way-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.search-way-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--primary));
  opacity: 0;
  transition: opacity 0.3s;
}

.search-way-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  text-decoration: none;
}

.search-way-card:hover::before {
  opacity: 1;
}

.search-way-icon-wrap {
  padding: 28px 24px 0;
}

.search-way-icon-wrap svg {
  width: 36px;
  height: 36px;
  color: var(--card-accent, var(--primary));
}

.search-way-body {
  padding: 16px 24px 10px;
  flex: 1;
}

.search-way-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 8px;
  line-height: 1.3;
}

.search-way-desc {
  font-size: 0.85rem;
  color: var(--grey-text);
  line-height: 1.6;
  margin: 0;
}

.search-way-footer {
  padding: 16px 24px 22px;
}

.search-way-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.search-way-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.search-way-card:hover .search-way-cta {
  color: var(--primary);
}

.search-way-card:hover .search-way-cta svg {
  transform: translateX(3px);
}

/* ─── SPECIAL OFFERS ───────────────────────────────────── */

.special-offers-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #fdf8ff 0%, #f5f0fa 100%);
  border-top: 1px solid #ece3f3;
  border-bottom: 1px solid #ece3f3;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.offer-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  text-decoration: none;
}

.offer-card-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #eee;
}

.offer-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.offer-card:hover .offer-card-img-wrap img {
  transform: scale(1.03);
}

.offer-card-saving {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #e74c3c;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}

.offer-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.offer-card-clinic-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.offer-card-clinic-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.offer-card-clinic-town {
  font-size: 0.72rem;
  color: var(--grey-text);
  font-weight: 500;
}

.offer-card-clinic-town::before {
  content: '·';
  margin-right: 8px;
  color: #ccc;
}

.offer-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.3;
  margin-bottom: 8px;
}

.offer-card-desc {
  font-size: 0.82rem;
  color: var(--grey-text);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 12px;
}

.offer-card-pricing {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: auto;
}

.offer-card-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--heading);
}

.offer-card-price-was {
  font-size: 0.85rem;
  color: #999;
  text-decoration: line-through;
  font-weight: 500;
}

.offer-card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.offer-card-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.offer-card-cta svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}

.offer-card:hover .offer-card-cta {
  color: var(--primary);
}

.offer-card:hover .offer-card-cta svg {
  transform: translateX(3px);
}

.offer-card-expiry {
  font-size: 0.72rem;
  font-weight: 600;
  color: #e67e22;
  background: #fef5ec;
  padding: 3px 10px;
  border-radius: 20px;
}

.offer-card-footer form {
  display: inline;
}

.get-offer-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 8px 20px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s;
}

.get-offer-btn:hover {
  background: var(--primary-light);
}

a.offer-card-clinic-name {
  text-decoration: none;
  transition: color 0.15s;
}

a.offer-card-clinic-name:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

.offers-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--grey-text);
}

.offers-empty a {
  color: var(--primary);
  font-weight: 600;
}

/* ─── LATEST CLINICS ───────────────────────────────────── */

.latest-clinics-section {
  padding: 60px 0;
  background: var(--light-bg);
}

.latest-clinics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.clinic-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clinic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  text-decoration: none;
}

.clinic-card-logo-wrap {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fafbfc 0%, #f0f2f5 100%);
  border-bottom: 1px solid var(--border);
  padding: 20px;
}

.clinic-card-logo-wrap.logo-fallback {
  background: linear-gradient(135deg, #f5f7fa 0%, #eef2f7 100%);
}

.clinic-card-logo {
  max-height: 90px;
  max-width: 80%;
  object-fit: contain;
}

.clinic-card-initials {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  opacity: 0.5;
}

.clinic-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.clinic-card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 6px;
  line-height: 1.3;
}

.clinic-card-location {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--grey-text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.clinic-card-location svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--primary-light);
}

.clinic-card-desc {
  font-size: 0.82rem;
  color: var(--grey-text);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.clinic-card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
}

.clinic-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: color 0.2s;
}

.clinic-card-link svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}

.clinic-card:hover .clinic-card-link {
  color: var(--primary);
}

.clinic-card:hover .clinic-card-link svg {
  transform: translateX(3px);
}

/* ─── POPULAR TOWNS ────────────────────────────────────── */

.popular-towns-section {
  padding: 60px 0;
}

.towns-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.town-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 30px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--heading);
  text-decoration: none;
  transition: all 0.2s;
}

.town-pill svg {
  width: 16px;
  height: 16px;
  color: var(--primary-light);
  flex-shrink: 0;
}

.town-pill:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  text-decoration: none;
}

.town-pill:hover svg {
  color: var(--white);
}

/* ─── CTA BAND (mirrors treatment.min.css) ─────────────── */

.cta-band {
  background: linear-gradient(to bottom, #f2f2f2 0%, #ffffff 100%);
  border-top: 1px solid #e3e3e3;
  padding: 50px 0;
}

.cta-band-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.cta-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.3;
  margin-bottom: 8px;
}

.cta-sub {
  font-size: 17px;
  color: #555;
  line-height: 1.6;
  max-width: 500px;
}

.cta-buttons {
  display: flex;
  gap: 12px;
}

.btn-white {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 14px 30px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-white:hover {
  background: var(--primary-light);
  color: var(--white);
  text-decoration: none;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--heading);
  padding: 14px 30px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}

/* ─── DIRECTORY PAGES (treatment, product, condition, town, name) ── */

.clinic-hero--compact {
  padding: 40px 0 35px;
}

.clinic-hero--compact .hero-container {
  display: block;
}

.clinic-hero--compact .hero-title {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.clinic-hero--compact .hero-desc {
  margin-bottom: 0;
}

.hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grey-text);
  margin-bottom: 14px;
}

.hero-breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s;
}

.hero-breadcrumb a:hover {
  color: var(--primary);
}

.hero-breadcrumb svg {
  width: 12px;
  height: 12px;
  color: #ccc;
}

/* Directory search + filter sticky bar */
.dir-search-filter {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.dir-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 8px 18px;
  flex-shrink: 0;
  min-width: 240px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dir-search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 2px 10px rgba(102,51,153,0.1);
}

.dir-search-bar svg {
  width: 16px;
  height: 16px;
  color: #999;
  flex-shrink: 0;
}

.dir-search-bar input {
  border: none;
  outline: none;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #212529;
  background: transparent;
  width: 100%;
}

.dir-search-bar input::placeholder {
  color: #aaa;
}

.dir-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

/* Directory section */
.dir-section {
  padding: 40px 0 60px;
}

.dir-results-count {
  font-size: 0.9rem;
  color: var(--grey-text);
  margin-bottom: 24px;
}

.dir-results-count strong {
  color: var(--heading);
}

.dir-group {
  margin-bottom: 40px;
}

.dir-group-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--light-bg);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dir-group-count {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  background: var(--primary);
  padding: 2px 9px;
  border-radius: 10px;
}

.dir-group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}

.dir-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  gap: 10px;
}

.dir-item:hover {
  border-color: var(--primary);
  background: #faf5ff;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(102,51,153,0.08);
}

.dir-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--heading);
  flex: 1;
  min-width: 0;
}

.dir-item:hover .dir-item-name {
  color: var(--primary);
}

.dir-item-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.dir-item-arrow svg {
  width: 14px;
  height: 14px;
  color: #ccc;
  transition: color 0.2s, transform 0.2s;
}

.dir-item:hover .dir-item-arrow svg {
  color: var(--primary);
  transform: translateX(3px);
}

.dir-empty {
  text-align: center;
  padding: 50px 20px;
  color: var(--grey-text);
}

.dir-empty a {
  color: var(--primary);
  font-weight: 600;
}

/* ─── DIRECTORY CARD LAYOUT (with thumbnails) ──────────── */

.dir-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.dir-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
}

.dir-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(102,51,153,0.1);
  text-decoration: none;
  transform: translateY(-2px);
}

.dir-card-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #eef2f7 100%);
  flex-shrink: 0;
}

.dir-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dir-card-thumb.thumb-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0e6ff 0%, #e8d5f5 100%);
}

.dir-card-thumb.thumb-fallback::after {
  content: '';
  width: 24px;
  height: 24px;
  background: var(--primary);
  opacity: 0.15;
  border-radius: 50%;
}

.dir-card-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dir-card-cat {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  opacity: 0.7;
}

.dir-card-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.3;
  transition: color 0.2s;
}

.dir-card:hover .dir-card-name {
  color: var(--primary);
}

.dir-card-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-right: 4px;
}

.dir-card-arrow svg {
  width: 16px;
  height: 16px;
  color: #ccc;
  transition: color 0.2s, transform 0.2s;
}

.dir-card:hover .dir-card-arrow svg {
  color: var(--primary);
  transform: translateX(3px);
}

/* ─── REVEAL ANIMATION ─────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ───────────────────────────────────────── */

@media (max-width: 992px) {
  .search-ways-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-stats-stack {
    max-width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-stat-card {
    flex: 1 1 calc(50% - 6px);
    min-width: 150px;
    padding: 16px 18px;
  }

  .hero-stat-number {
    font-size: 1.15rem;
  }

  .search-ways-grid {
    grid-template-columns: 1fr 1fr;
  }

  .latest-clinics-section,
  .special-offers-section {
    padding: 40px 0;
  }

  .cta-band {
    padding: 40px 0;
  }

  .cta-band-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-sub {
    margin: 0 auto 20px;
  }

  .cta-buttons {
    justify-content: center;
    flex-direction: column;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .dir-search-filter {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .dir-search-bar {
    min-width: 0;
    width: 100%;
  }

  .dir-group-grid,
  .dir-card-grid {
    grid-template-columns: 1fr;
  }

  .clinic-hero--compact .hero-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .clinic-hero {
    padding: 35px 0 30px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .search-ways-grid {
    grid-template-columns: 1fr;
  }

  .hero-stat-card {
    flex: 1 1 100%;
  }

  .latest-clinics-grid,
  .offers-grid {
    grid-template-columns: 1fr;
  }

  .towns-grid {
    gap: 8px;
  }

  .town-pill {
    padding: 8px 16px;
    font-size: 0.82rem;
  }

  .clinic-hero--compact .hero-title {
    font-size: 1.6rem;
  }

  .clinic-hero--compact {
    padding: 30px 0 25px;
  }
}