:root {
  --primary: #1A7A8A;
  --secondary: #E8C4C4;
  --bg: #F5F7FA;
  --white: #ffffff;
  --text: #2D2D2D;
  --accent: #C9A84C;
  --radius: 12px;
  --shadow: 0 4px 16px rgba(26, 122, 138, 0.08);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1100px, 92%); margin-inline: auto; }
.section { padding: 2.4rem 0; }
.section-sm { padding-top: 1.2rem; }
.center { text-align: center; }
.small { font-size: .92rem; color: #555; }

.site-header { border-bottom: 1px solid #e9edf2; background: var(--white); position: sticky; top: 0; z-index: 10; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; }
.logo { font-weight: 800; color: var(--text); letter-spacing: .3px; }
.logo span { color: var(--primary); }
.nav-list { list-style: none; display: flex; gap: .9rem; margin: 0; padding: 0; align-items: center; }
.nav-list a { font-weight: 600; }

/* ─── Hero ─────────────────────────────────── */
.hero { background: linear-gradient(130deg, #f0f7f9 40%, #fff 100%); padding: 3.5rem 0; }
.eyebrow { text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; color: var(--primary); font-weight: 700; }
.hero h1 { font-size: clamp(1.7rem, 4.2vw, 2.9rem); margin: .2rem 0 .7rem; line-height: 1.2; }
.hero-sub { font-size: 1.08rem; color: #3c4752; max-width: 600px; margin-bottom: .5rem; }
.search-bar { display: flex; gap: .6rem; margin-top: 1rem; max-width: 580px; }
.search-bar input {
  flex: 1;
  padding: .88rem 1rem;
  border: 2px solid var(--primary);
  border-radius: 10px;
  font-size: 1rem;
}
.search-bar input:focus { outline: none; box-shadow: 0 0 0 3px rgba(26,122,138,0.18); }
.search-hint { font-size: .9rem; color: #555; margin-top: .6rem; }
.search-hint a { font-weight: 600; }

/* ─── Buttons ───────────────────────────────── */
.btn {
  background: var(--accent);
  color: #1a1a1a;
  border: 0;
  border-radius: 10px;
  padding: .78rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-block;
  white-space: nowrap;
  transition: opacity .15s;
}
.btn:hover { opacity: .88; text-decoration: none; }
.btn-sm { padding: .5rem .8rem; font-size: .9rem; }
.btn-outline { border: 2px solid var(--primary); background: transparent; color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* Hero / primary CTA */
.btn-hero {
  background: var(--primary);
  color: #fff;
  padding: .88rem 1.5rem;
  font-size: 1rem;
  border-radius: 10px;
  border: 0;
}
.btn-hero:hover { background: #155f6d; }

/* Practice page CTAs */
.btn-visit {
  background: var(--primary);
  color: #fff;
  padding: .78rem 1.2rem;
}
.btn-visit:hover { background: #155f6d; color: #fff; }
.btn-consult {
  background: var(--accent);
  color: #1a1a1a;
  padding: .78rem 1.2rem;
}
.btn-phone {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: .72rem 1.1rem;
}
.btn-phone:hover { background: var(--primary); color: #fff; }

/* ─── Trust strip ───────────────────────────── */
.trust-strip { background: var(--bg); border-top: 1px solid #e4eaef; border-bottom: 1px solid #e4eaef; padding: .6rem 0; }
.badges-row { display: flex; gap: .45rem; flex-wrap: wrap; }
.badge {
  display: inline-flex;
  align-items: center;
  background: #fff7df;
  color: #635019;
  border: 1px solid #f1dda5;
  border-radius: 999px;
  padding: .24rem .62rem;
  font-size: .8rem;
  font-weight: 600;
}
.badge.trust { background: #f7f3e6; }

/* ─── Cards & grids ─────────────────────────── */
.card-grid, .listing-grid, .photo-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.card {
  background: var(--white);
  border: 1px solid #e4eaef;
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}
.layout-grid { display: grid; gap: 1rem; }
.sidebar { align-self: start; position: sticky; top: 78px; }
.two-col { display: grid; gap: 1.1rem; }
.notice { background: #f8fcfd; border-left: 4px solid var(--primary); padding: .9rem 1rem; border-radius: 8px; }
.article { max-width: 760px; }
.lead { font-size: 1.05rem; color: #3c4752; }
.map { width: 100%; min-height: 260px; border: 0; border-radius: 10px; }
.breadcrumbs { font-size: .88rem; display: flex; gap: .45rem; flex-wrap: wrap; margin-bottom: .8rem; }
.checklist { padding-left: 1rem; }
.checklist li { margin-bottom: .3rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.contact-form { display: grid; gap: .8rem; }
.contact-form input, .contact-form textarea {
  width: 100%;
  margin-top: .3rem;
  padding: .78rem;
  border: 1px solid #d7dee6;
  border-radius: 8px;
}
.photo-grid img { width: 100%; border-radius: 10px; object-fit: cover; min-height: 160px; }

/* ─── How It Works (3-step section) ─────────── */
.how-it-works { background: var(--bg); }
.steps-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}
.step-card {
  background: var(--white);
  border: 1px solid #dde5ec;
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow);
  position: relative;
  padding-top: 2rem;
}
.step-number {
  position: absolute;
  top: -14px;
  left: 1.4rem;
  background: var(--primary);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .85rem;
}
.step-icon { font-size: 2rem; margin-bottom: .4rem; }
.step-card h3 { margin: .2rem 0 .4rem; font-size: 1.15rem; }
.step-card p { margin: 0; color: #3c4752; }

/* ─── Popular Areas ──────────────────────────── */
.popular-areas { border-top: 1px solid #e4eaef; }
.areas-grid {
  display: grid;
  gap: .7rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 1rem;
}
.area-card {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--bg);
  border: 1px solid #dde5ec;
  border-radius: var(--radius);
  padding: .7rem 1rem;
  font-weight: 600;
  color: var(--text);
  transition: background .15s, border-color .15s;
}
.area-card:hover { background: #e6f3f6; border-color: var(--primary); text-decoration: none; color: var(--primary); }
.area-icon { font-size: 1.3rem; }

/* ─── CTA Band (homepage bottom) ────────────── */
.cta-band { background: linear-gradient(130deg, #f0f7f9 40%, #fff 100%); text-align: center; padding: 2.8rem 0; border-top: 1px solid #dde5ec; }
.cta-band h2 { margin-bottom: .4rem; }
.cta-band p { color: #3c4752; margin-bottom: 1.2rem; }

/* ─── Profile page header ─────────────────────── */
.profile-header {
  display: grid;
  gap: 1.2rem;
  margin-bottom: 1rem;
}
.profile-address { color: #555; margin: .2rem 0; }
.profile-rating { margin: .3rem 0 .5rem; }
.profile-cta-box {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  align-self: start;
}
.profile-cta-box .btn { text-align: center; }

/* ─── Contact details ────────────────────────── */
.contact-detail { margin-bottom: .5rem; line-height: 1.6; }
.phone-link { font-weight: 700; font-size: 1.05rem; color: var(--primary); }
.cta-stack { display: flex; flex-direction: column; gap: .6rem; }
.cta-stack .btn { text-align: center; }

/* ─── Listing card actions ────────────────────── */
.listing-actions { display: flex; gap: .5rem; margin-top: .6rem; flex-wrap: wrap; }

/* ─── Share section ──────────────────────────── */
.share-section { border-top: 1px solid #e4eaef; padding-top: 1rem; }
.share-row { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .5rem; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--bg);
  border: 1px solid #dde5ec;
  border-radius: 8px;
  padding: .5rem .9rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background .15s;
}
.share-btn:hover { background: #e6f3f6; text-decoration: none; }

/* ─── County page inline CTAs ─────────────────── */
.county-cta-inline { display: flex; gap: .7rem; flex-wrap: wrap; margin: 1rem 0 1.4rem; }

/* ─── Can't find CTA ────────────────────────── */
.cant-find-cta {
  background: linear-gradient(135deg, #edf7f9 0%, #f5f7fa 100%);
  border: 1px solid #c6dde2;
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  margin-top: 2rem;
}
.cant-find-inner { display: grid; gap: 1rem; }
.cant-find-inner h3 { margin: 0 0 .3rem; font-size: 1.15rem; }
.cant-find-inner p { margin: 0; color: #3c4752; }
.cant-find-actions { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; }

/* ─── Footer ─────────────────────────────────── */
.site-footer { margin-top: 3rem; background: var(--text); color: #e8edf3; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; padding: 2rem 0 1rem; }
.site-footer h3 { margin: 0 0 .6rem; color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { color: #e1f6fa; }
.subfooter { border-top: 1px solid #45515f; padding: .7rem 0 1.1rem; font-size: .9rem; }
.newsletter-form { display: flex; gap: .5rem; flex-wrap: wrap; margin: .5rem 0 .7rem; }
.newsletter-form input {
  flex: 1;
  min-width: 180px;
  padding: .58rem .7rem;
  border-radius: 8px;
  border: 1px solid #5a6878;
  background: #2f3a46;
  color: #fff;
}
.social-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  border: 1px solid #5a6878;
  border-radius: 999px;
  padding: .28rem .62rem;
  text-decoration: none;
}
.social-links a:hover { background: #2f3a46; }

/* ─── Editorial ──────────────────────────────── */
.editorial-note {
  border-top: 1px solid #45515f;
  padding: 1rem 0 .5rem;
  font-size: .88rem;
  color: #c8d4de;
}
.editorial-note a { color: #e1f6fa; }
.editorial-note strong { color: #fff; }
.editorial-byline {
  background: #f0f7f9;
  border-left: 3px solid var(--primary);
  padding: .5rem .8rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: .88rem;
  color: #3c4752;
}

/* Claim box */
.claim-box { border: 1px dashed #c5d0db; border-radius: var(--radius); padding: 1.2rem; background: #fafcfd; }

/* Why-grid section */
.why-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}
.why-card {
  background: var(--white);
  border: 1px solid #e4eaef;
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow);
}
.why-card .why-icon { font-size: 1.6rem; margin-bottom: .4rem; }
.why-card h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.why-card p { margin: 0; color: #3c4752; font-size: .97rem; }

/* ─── Responsive ─────────────────────────────── */
@media (min-width: 700px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col { grid-template-columns: 1.2fr .8fr; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .areas-grid { grid-template-columns: repeat(4, 1fr); }
  .profile-header { grid-template-columns: 1fr auto; }
  .cant-find-inner { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 980px) {
  .layout-grid { grid-template-columns: 280px minmax(0, 1fr); }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .areas-grid { grid-template-columns: repeat(4, 1fr); }
}
