/* assets/css/style.css - SmileHub Design System */

:root {
  --color-pine: #177245;
  --color-pine-hover: #125C38;
  --color-dark: #1C2B24;
  --color-body: #55665C;
  --color-secondary: #3D4F44;
  --color-border: #E7EDE3;
  --color-bg: #FDFBF6;
  --color-white: #FFFFFF;
  --color-amber: #F2A93B;
  --color-amber-hover: #DD9226;
  --color-star: #FFB703;
  --color-sage: #E9F2EB;
  --color-amber-soft: #FDF0D5;
  --color-blue-soft: #E7F3FB;
  --color-rose-soft: #FDECEA;
  --color-footer-note: #8FB39E;
  --font-stack: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --radius-card: 22px;
  --radius-pill: 999px;
  --shadow-soft: 0 8px 24px rgba(28,43,36,0.06);
  --shadow-lg: 0 18px 44px rgba(28,43,36,0.18);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-stack);
  color: var(--color-dark);
  background-color: var(--color-bg);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* TOP STRIP */
.topstrip {
  background: var(--color-dark);
  color: #CFE8D8;
  text-align: center;
  font-size: 13.5px;
  padding: 8px 16px;
  letter-spacing: 0.2px;
}

.topstrip b {
  color: var(--color-amber);
}

/* HEADER & NAVIGATION */
header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  color: var(--color-pine);
  letter-spacing: -0.5px;
}

.logo span.mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-pine);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 19px;
  flex-shrink: 0;
}

nav.links {
  display: flex;
  gap: 22px;
  margin-left: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-secondary);
  white-space: nowrap;
}

nav.links a:hover,
nav.links a.active {
  color: var(--color-pine);
}

.nav .spacer {
  flex: 1;
}

.phone {
  font-weight: 700;
  color: var(--color-secondary);
  font-size: 14.5px;
  white-space: nowrap;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-pine);
  color: #fff;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 0;
  cursor: pointer;
  font-size: 15px;
  white-space: nowrap;
  font-family: inherit;
  transition: all 0.15s ease;
  line-height: 1.2;
}

.btn:hover {
  background: var(--color-pine-hover);
  color: #fff;
}

.btn.amber {
  background: var(--color-amber);
  color: var(--color-dark);
}

.btn.amber:hover {
  background: var(--color-amber-hover);
  color: var(--color-dark);
}

.btn.outline {
  background: transparent;
  color: var(--color-pine);
  border: 1.5px solid var(--color-pine);
}

.btn.outline:hover {
  background: var(--color-pine);
  color: #fff;
}

.btn.ghost {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn.sm {
  padding: 8px 16px;
  font-size: 13.5px;
}

.btn.lg {
  padding: 15px 30px;
  font-size: 16.5px;
}

.btn.full {
  width: 100%;
}

/* FULL-BLEED HERO */
.hero-full {
  position: relative;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  background-color: var(--color-dark);
}

.hero-full::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,50,36,0.78), rgba(18,50,36,0.52) 55%, rgba(18,50,36,0.72));
}

.hero-inner {
  position: relative;
  text-align: center;
  padding: 84px 24px 96px;
  color: #fff;
}

.hero-inner .eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.hero-inner h1 {
  font-size: 54px;
  line-height: 1.06;
  letter-spacing: -1.5px;
  font-weight: 800;
  max-width: 860px;
  margin: 0 auto;
}

.hero-inner h1 em {
  font-style: normal;
  color: var(--color-amber);
}

.hero-inner p.lead {
  font-size: 19px;
  color: #EAF3EC;
  margin: 16px auto 0;
  max-width: 640px;
  line-height: 1.45;
}

/* OVERLAPPING SEARCH CARD */
.hero-search-wrap {
  position: relative;
  max-width: 880px;
  margin: -46px auto 0;
  padding: 0 16px;
  z-index: 10;
}

.hero-search {
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero-search input,
.hero-search select {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 15.5px;
  padding: 12px 14px;
  background: transparent;
  color: var(--color-dark);
  min-width: 0;
  font-family: inherit;
}

.hero-search input {
  border-right: 1px solid var(--color-border);
}

.hero-search select {
  border-right: 1px solid var(--color-border);
  cursor: pointer;
}

.hero-search .btn {
  padding: 14px 28px;
  font-size: 15.5px;
}

.hero-trust {
  text-align: center;
  margin: 18px 0 8px;
  font-size: 14px;
  color: var(--color-body);
}

.hero-trust b {
  color: var(--color-dark);
}

.stars {
  color: var(--color-amber);
  letter-spacing: 2px;
}

/* SECTIONS */
section {
  padding: 64px 0;
}

section.tint {
  background: var(--color-white);
}

h2 {
  font-size: 32px;
  letter-spacing: -0.8px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.sub {
  color: var(--color-body);
  font-size: 17px;
  margin-bottom: 32px;
  max-width: 680px;
}

.center {
  text-align: center;
}

.center .sub {
  margin-left: auto;
  margin-right: auto;
}

/* TREATMENT CARDS */
.treat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.treat {
  border-radius: var(--radius-card);
  padding: 28px 24px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.treat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.treat.t1 { background: var(--color-sage); }
.treat.t2 { background: var(--color-amber-soft); }
.treat.t3 { background: var(--color-blue-soft); }
.treat.t4 { background: var(--color-rose-soft); }

.treat .ic {
  font-size: 32px;
  margin-bottom: 14px;
  line-height: 1;
}

.treat h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-dark);
}

.treat p {
  color: var(--color-body);
  font-size: 14.5px;
  flex: 1;
  line-height: 1.4;
}

.treat .from {
  font-weight: 800;
  font-size: 17px;
  color: var(--color-dark);
  margin-top: 14px;
}

.treat a.more-link {
  font-weight: 700;
  color: var(--color-pine);
  font-size: 14.5px;
  margin-top: 6px;
  display: inline-block;
}

.treat a.more-link:hover {
  text-decoration: underline;
}

/* DENTIST LIST ROWS */
.dlist {
  border-top: 1px solid var(--color-border);
}

.drow {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.15s ease;
}

.drow:hover {
  background-color: rgba(23, 114, 69, 0.02);
}

.drow img {
  width: 132px;
  height: 132px;
  object-fit: cover;
  object-position: top;
  border-radius: 18px;
  flex-shrink: 0;
  background: #EAEFEA;
}

.drow .info {
  flex: 1;
  min-width: 0;
}

.drow h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 2px;
}

.drow h3 a:hover {
  color: var(--color-pine);
}

.drow .spec {
  color: var(--color-pine);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}

.drow .meta {
  color: var(--color-body);
  font-size: 14.5px;
  margin-bottom: 12px;
}

.drow .meta b {
  color: var(--color-dark);
}

.tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tags span, .tag {
  background: var(--color-sage);
  color: var(--color-pine-hover);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

.tag.amber {
  background: var(--color-amber-soft);
  color: #7B4B02;
}

.tag.blue {
  background: var(--color-blue-soft);
  color: #0A538F;
}

.drow .side {
  text-align: right;
  flex-shrink: 0;
  min-width: 180px;
}

.drow .side .avail {
  font-weight: 700;
  color: var(--color-pine);
  font-size: 14.5px;
  display: block;
  margin-bottom: 10px;
}

.seeall {
  display: block;
  text-align: center;
  font-weight: 700;
  color: var(--color-pine);
  margin-top: 26px;
  font-size: 16px;
}

.seeall:hover {
  text-decoration: underline;
}

/* SPLIT: PRICE TABLE + INSURANCE PANEL */
.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

table.prices {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}

table.prices th,
table.prices td {
  padding: 15px 20px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--color-border);
}

table.prices th {
  background: var(--color-dark);
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
}

table.prices tr:last-child td {
  border-bottom: 0;
}

table.prices td.price {
  font-weight: 800;
  color: var(--color-pine);
  white-space: nowrap;
}

.fine {
  font-size: 13.5px;
  color: var(--color-body);
  margin-top: 14px;
  line-height: 1.45;
}

.insure {
  background: var(--color-pine);
  color: #fff;
  border-radius: 20px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
}

.insure h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.insure p {
  color: #D8EBDD;
  font-size: 15.5px;
  margin-bottom: 20px;
  line-height: 1.45;
}

.insure ul {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}

.insure li {
  padding: 8px 0;
  font-size: 15.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
}

.insure li:last-child {
  border-bottom: 0;
}

.insure li::before {
  content: '✓';
  color: var(--color-amber);
  font-weight: 800;
  margin-right: 12px;
  font-size: 16px;
}

.insure .btn.amber {
  align-self: flex-start;
}

/* TIMELINE */
.timeline {
  position: relative;
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: #D8E5DB;
  z-index: 0;
}

.tstep {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 10px;
}

.tstep .tnum {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--color-pine);
  color: var(--color-pine);
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tstep h3 {
  font-size: 19px;
  margin-bottom: 8px;
  font-weight: 700;
}

.tstep p {
  color: var(--color-body);
  font-size: 14.5px;
  line-height: 1.45;
}

/* BIG QUOTE */
.bigquote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.bigquote blockquote {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 27px;
  line-height: 1.45;
  color: var(--color-dark);
}

.bigquote .who {
  margin-top: 20px;
  font-weight: 700;
  font-size: 16px;
}

.bigquote .who small {
  display: block;
  color: var(--color-body);
  font-weight: 400;
  font-size: 14px;
  margin-top: 2px;
}

.avatars {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.avatars span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 15px;
}

.avatars .a1 { background: var(--color-pine); }
.avatars .a2 { background: var(--color-amber); color: var(--color-dark); }
.avatars .a3 { background: #5B8DEF; }

/* DENTIST CTA BAND */
.band {
  background: var(--color-dark);
  border-radius: 28px;
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #fff;
}

.band h2 {
  color: #fff;
  font-size: 32px;
  margin-bottom: 8px;
}

.band p {
  color: #CFE8D8;
  font-size: 17px;
  max-width: 580px;
  line-height: 1.45;
}

/* PROVINCES DIRECTORY */
.provinces {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.prov h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-pine);
  margin-bottom: 14px;
  font-weight: 800;
}

.prov a {
  display: block;
  padding: 6px 0;
  font-weight: 600;
  color: var(--color-secondary);
  font-size: 15.5px;
}

.prov a:hover {
  color: var(--color-pine);
  padding-left: 4px;
}

/* FOOTER */
footer {
  background: var(--color-dark);
  color: #B9D6C8;
  padding: 54px 0 36px;
  font-size: 14.5px;
  margin-top: auto;
}

footer .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
}

footer h4 {
  color: #fff;
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 700;
}

footer p {
  line-height: 1.5;
  color: #CFE8D8;
  max-width: 340px;
}

footer a {
  display: block;
  margin-bottom: 9px;
  color: #B9D6C8;
}

footer a:hover {
  color: #fff;
}

footer .note {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #2C4636;
  font-size: 13px;
  color: var(--color-footer-note);
  line-height: 1.5;
}

/* BREADCRUMBS */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--color-body);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--color-secondary);
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: var(--color-pine);
}

.breadcrumbs span.sep {
  color: #A3B5AA;
}

/* FAQ ACCORDION */
.faq-block {
  margin-top: 36px;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 16.5px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question:hover {
  color: var(--color-pine);
}

.faq-answer {
  padding: 0 22px 18px;
  color: var(--color-body);
  font-size: 15px;
  line-height: 1.55;
}

/* INCENTIVE OFFER CARD */
.incentive-card {
  background: linear-gradient(135deg, #177245, #125C38);
  color: #fff;
  border-radius: var(--radius-card);
  padding: 28px 32px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-soft);
}

.incentive-card h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 4px;
}

.incentive-card p {
  color: #D8EBDD;
  font-size: 14.5px;
}

.incentive-card .terms {
  font-size: 12px;
  color: #A3CFB2;
  margin-top: 6px;
}

/* CLINIC DETAIL PAGE */
.clinic-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 36px 0;
}

.clinic-hero {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.clinic-hero img {
  width: 160px;
  height: 160px;
  border-radius: 20px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow-soft);
}

.clinic-hero-info {
  flex: 1;
}

.clinic-hero-info h1 {
  font-size: 36px;
  letter-spacing: -0.8px;
  margin-bottom: 6px;
}

.clinic-rating-box {
  display: flex;
  gap: 16px;
  margin: 12px 0 16px;
  align-items: center;
  flex-wrap: wrap;
}

.clinic-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-top: 36px;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  padding: 30px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
}

.card h2, .card h3 {
  margin-bottom: 16px;
}

/* RATING BREAKDOWN */
.rating-bars {
  display: flex;
  gap: 20px;
  margin: 16px 0 24px;
  background: var(--color-bg);
  padding: 16px 20px;
  border-radius: 16px;
}

.rating-metric {
  flex: 1;
  text-align: center;
}

.rating-metric .val {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-pine);
}

.rating-metric .lbl {
  font-size: 13px;
  color: var(--color-body);
  font-weight: 600;
}

/* REVIEW ITEMS */
.review-item {
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}

.review-item:last-child {
  border-bottom: 0;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.review-author {
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.verified-badge {
  color: var(--color-pine);
  font-size: 12.5px;
  font-weight: 700;
  background: var(--color-sage);
  padding: 2px 8px;
  border-radius: 999px;
}

.review-date {
  color: var(--color-body);
  font-size: 13.5px;
}

.doctor-reply {
  background: var(--color-sage);
  border-left: 3px solid var(--color-pine);
  padding: 14px 18px;
  border-radius: 0 12px 12px 0;
  margin-top: 12px;
  font-size: 14px;
}

.doctor-reply strong {
  display: block;
  color: var(--color-pine-hover);
  margin-bottom: 4px;
}

/* BOOKING FLOW */
.booking-container {
  max-width: 760px;
  margin: 40px auto;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.slot-btn {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.slot-btn:hover,
.slot-btn.selected {
  border-color: var(--color-pine);
  background: var(--color-sage);
  color: var(--color-pine-hover);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 6px;
  color: var(--color-dark);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  background: var(--color-white);
  transition: border-color 0.15s ease;
}

.form-control:focus {
  border-color: var(--color-pine);
}

/* BLOG */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card h3 {
  font-size: 19px;
  margin: 10px 0 8px;
  line-height: 1.35;
}

.blog-card h3 a:hover {
  color: var(--color-pine);
}

.blog-card p {
  color: var(--color-body);
  font-size: 14.5px;
  flex: 1;
}

.blog-meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-body);
  display: flex;
  justify-content: space-between;
}

/* TABLE STYLED */
.table-styled {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.table-styled th, .table-styled td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 14.5px;
}

.table-styled th {
  background: var(--color-sage);
  font-weight: 700;
  color: var(--color-dark);
}

/* EDITORIAL CALENDAR TABLE */
.calendar-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.calendar-badge.Scheduled { background: #E3F0E6; color: #177245; }
.calendar-badge.InDraft { background: #FDF0D5; color: #B36B00; }
.calendar-badge.Planned { background: #E7F3FB; color: #0A538F; }

/* RESPONSIVE DESIGN (360px compatible) */
@media (max-width: 960px) {
  .hero-inner h1 { font-size: 42px; }
  .treat-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .provinces { grid-template-columns: repeat(2, 1fr); }
  .clinic-layout { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero-inner h1 { font-size: 36px; }
  .hero-search { flex-direction: column; margin: -30px 16px 0; }
  .hero-search input { border-right: 0; border-bottom: 1px solid var(--color-border); }
  .hero-search select { border-right: 0; border-bottom: 1px solid var(--color-border); }
  .timeline { flex-direction: column; }
  .timeline::before { display: none; }
  .tstep { text-align: left; display: flex; gap: 16px; align-items: flex-start; }
  .tstep .tnum { margin: 0; flex-shrink: 0; }
  .drow { flex-wrap: wrap; }
  .drow .side { text-align: left; width: 100%; margin-top: 12px; }
  nav.links, .phone { display: none; }
  .nav.mobile-open nav.links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    border-bottom: 2px solid var(--color-border);
    box-shadow: var(--shadow-lg);
  }
  .band { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .bigquote blockquote { font-size: 21px; }
  .incentive-card { flex-direction: column; align-items: flex-start; }
  .clinic-hero { flex-direction: column; align-items: center; text-align: center; }
  .rating-bars { flex-direction: column; gap: 10px; }
}

@media (max-width: 540px) {
  .wrap { padding: 0 16px; }
  .hero-inner h1 { font-size: 32px; letter-spacing: -1px; }
  .treat-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .provinces { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr; }
  .drow img { width: 100px; height: 100px; }
}
