/* =========================================================================
   Charry's Premier K-9 Training — Design System
   Dark editorial aesthetic · gold accent · built for speed + Local SEO
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* color */
  --bg:        #0e0e10;
  --bg-2:      #141417;
  --surface:   #1a1a1e;
  --surface-2: #212128;
  --line:      rgba(255, 255, 255, 0.09);
  --line-2:    rgba(255, 255, 255, 0.14);

  --gold:      #c9a24a;
  --gold-2:    #e2c079;
  --gold-dim:  rgba(201, 162, 74, 0.14);

  --ink:       #f6f4ee;   /* headings */
  --text:      #cbc7bf;   /* body */
  --muted:     #8d897f;   /* secondary */

  /* type */
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;

  /* scale */
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --radius-lg: 22px;

  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px 1px var(--gold);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  margin: 0.7rem 0 1rem;
}
.section-head p { color: var(--muted); font-size: 1.08rem; max-width: 60ch; }
.gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 0.9rem; --pad-x: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1a1408;
  box-shadow: 0 12px 30px -12px rgba(201, 162, 74, 0.7);
}
.btn--primary:hover { box-shadow: 0 16px 36px -12px rgba(201, 162, 74, 0.85); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--lg { --pad-y: 1.05rem; --pad-x: 2rem; font-size: 1rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 14, 16, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand__mark {
  width: 52px; height: 52px;
  flex: none;
  display: grid; place-items: center;
  border: 1.5px solid var(--gold);
  border-radius: 10px;
  color: var(--gold);
}
.brand__mark svg { width: 20px; height: 20px; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: 0.01em;
}
.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  color: var(--muted);
  margin-top: 4px;
}
.nav__links { display: flex; align-items: center; gap: 2.1rem; }
.nav__links a {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
  position: relative;
}
.nav__links a:not(.btn):hover { color: var(--gold); }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1.5px; background: var(--gold);
  transition: width 0.25s var(--ease);
}
.nav__links a:not(.btn):hover::after { width: 100%; }
.nav__toggle { display: none; background: none; border: 0; color: var(--ink); padding: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 82% 15%, rgba(201, 162, 74, 0.10), transparent 55%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.6em;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.6rem;
}
.hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.hero h1 {
  font-size: clamp(3rem, 8.5vw, 6rem);
  line-height: 0.95;
  margin-bottom: 1.5rem;
}
.hero h1 .accent { color: var(--gold); display: block; }
.hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text);
  max-width: 46ch;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.6rem; }
.hero__meta {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem;
}
.hero__meta strong { color: var(--text); font-weight: 600; }
.hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
}
.hero__media .tag {
  position: absolute; left: 1rem; bottom: 1rem;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text);
  background: rgba(14, 14, 16, 0.6);
  border: 1px solid var(--line);
  border-radius: 999px; padding: 0.4rem 0.9rem;
  backdrop-filter: blur(6px);
}

/* image placeholder frame (swap for real photos) */
.imgph {
  width: 100%; height: 100%;
  background:
    radial-gradient(80% 60% at 70% 20%, rgba(201, 162, 74, 0.16), transparent 60%),
    linear-gradient(135deg, #26262c, #17171b 70%);
  display: grid; place-content: center; gap: 0.5rem; text-align: center;
  color: var(--muted);
  position: relative;
}
.imgph::after {
  content: attr(data-label);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0 1.5rem;
}
.imgph svg { width: 46px; height: 46px; opacity: 0.4; margin-inline: auto; }

/* ---------- Curriculum grid ---------- */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.ccard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.ccard__body { display: flex; flex-direction: column; flex: 1; }
.ccard:hover { transform: translateY(-5px); border-color: var(--line-2); }
.ccard__img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; flex: none; }
.ccard__img img.ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.ccard__body { padding: 1.4rem 1.4rem 1.6rem; }
.ccard__body h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.ccard__body p { font-size: 0.94rem; color: var(--muted); }
.ccard__body .arrow { color: var(--gold); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; margin-top: auto; padding-top: 1rem; display: inline-block; align-self: flex-start; }

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.pcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  display: flex; flex-direction: column;
  position: relative;
}
.pcard--flag { border-color: var(--gold); background: linear-gradient(180deg, rgba(201,162,74,0.07), var(--surface) 40%); }
.pcard__flag {
  position: absolute; top: 1.4rem; right: 1.4rem;
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold); border-radius: 999px; padding: 0.28rem 0.7rem;
}
.pcard h3 { font-size: 1.3rem; margin-bottom: 0.9rem; max-width: 14ch; }
.pcard__price { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 1rem; }
.pcard__price .amt { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--ink); }
.pcard__price .per { font-size: 0.82rem; color: var(--muted); }
.pcard__desc { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.2rem; }
.pcard__list { display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 1.6rem; }
.pcard__list li { font-size: 0.88rem; padding-left: 1.5rem; position: relative; color: var(--text); }
.pcard__list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg) translateY(-2px);
}
.pcard .btn { margin-top: auto; }

/* ---------- About / stats ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about__body h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 0.7rem 0 1.3rem; }
.about__body p { color: var(--text); margin-bottom: 1.1rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.stat {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1rem; text-align: center; background: var(--surface);
}
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--gold); }
.stat .lab { font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 0.3rem; }
.about__media { aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); }

/* ---------- Reviews ---------- */
.reviews { background: var(--bg-2); border-block: 1px solid var(--line); }
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
.rating-badge { display: flex; align-items: center; gap: 0.9rem; }
.rating-badge .score { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--ink); }
.stars { color: var(--gold); letter-spacing: 0.1em; font-size: 1.05rem; }
.rating-badge .count { font-size: 0.82rem; color: var(--muted); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.rcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.rcard .stars { font-size: 0.95rem; }
.rcard p { font-size: 0.95rem; color: var(--text); }
.rcard .who { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.rcard .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--gold-dim); color: var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; }
.rcard .name { font-weight: 600; color: var(--ink); font-size: 0.9rem; }
.rcard .src { font-size: 0.75rem; color: var(--muted); }

/* ---------- Location + lead form ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.info-block { display: flex; flex-direction: column; gap: 1.4rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item .ic { flex: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--gold); }
.info-item .ic svg { width: 20px; height: 20px; }
.info-item .lab { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.info-item a, .info-item .val { color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.map-frame { margin-top: 0.5rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); filter: grayscale(0.3) contrast(1.05); }
.map-frame iframe { width: 100%; height: 240px; border: 0; display: block; }

.lead-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.lead-form h3 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.lead-form .sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.6rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.45rem; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 1rem; text-align: center; }
.form-success { display: none; background: var(--gold-dim); border: 1px solid var(--gold); color: var(--gold-2); border-radius: 10px; padding: 1rem; font-size: 0.9rem; margin-bottom: 1rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(90% 140% at 15% 0%, rgba(201, 162, 74, 0.16), transparent 55%),
    var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.3rem;
}
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3rem); max-width: 18ch; }
.cta-band p { color: var(--muted); max-width: 50ch; }
.cta-band .hero__actions { justify-content: center; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer-grid h4 { font-family: var(--font-body); font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; font-weight: 600; }
.footer-grid a { display: block; color: var(--text); font-size: 0.92rem; margin-bottom: 0.55rem; transition: color 0.2s; }
.footer-grid a:hover { color: var(--gold); }
.footer-about p { color: var(--muted); font-size: 0.9rem; max-width: 34ch; margin-top: 1rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.8rem; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }

/* ---------- Sticky mobile call bar ---------- */
.call-fab {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90;
  display: inline-flex; align-items: center; gap: 0.6em;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1a1408; font-weight: 700; font-size: 0.9rem;
  padding: 0.85rem 1.3rem; border-radius: 999px;
  box-shadow: 0 14px 34px -10px rgba(201, 162, 74, 0.8);
  transition: transform 0.25s var(--ease);
}
.call-fab:hover { transform: translateY(-3px); }
.call-fab svg { width: 18px; height: 18px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; margin-inline: auto; }
  .grid-cards, .price-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .about, .contact { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem;
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 1.5rem var(--gutter);
  }
  .grid-cards, .price-grid, .review-grid, .stats, .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =======================================================================
   Additional components for interior pages (services / locations / etc.)
   ======================================================================= */

/* Page hero (interior) */
.page-hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(110% 100% at 85% 10%, rgba(201, 162, 74, 0.10), transparent 55%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  padding-block: clamp(3rem, 6vw, 5rem);
}
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 0.9rem 0 1.1rem; max-width: 18ch; line-height: 0.98; }
.page-hero .lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--text); max-width: 56ch; margin-bottom: 1.8rem; }
.page-hero .hero__actions { margin-bottom: 0; }

/* Breadcrumbs */
.crumbs { font-size: 0.78rem; letter-spacing: 0.04em; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.crumbs a { color: var(--muted); transition: color 0.2s; }
.crumbs a:hover { color: var(--gold); }
.crumbs span.sep { opacity: 0.5; }
.crumbs .current { color: var(--text); }

/* Prose blocks */
.prose { max-width: 66ch; }
.prose p { margin-bottom: 1.15rem; color: var(--text); }
.prose h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 2.2rem 0 1rem; }
.prose h3 { font-size: 1.3rem; margin: 1.6rem 0 0.6rem; color: var(--ink); }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }

/* Two-column split (content + aside) */
.split { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; position: sticky; top: 96px; }
.aside-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.aside-card .price-tag { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--gold); margin: 0.4rem 0 0.2rem; }
.aside-card .per { font-size: 0.8rem; color: var(--muted); }
.aside-card ul { margin: 1.2rem 0; display: flex; flex-direction: column; gap: 0.5rem; }
.aside-card li { font-size: 0.88rem; padding-left: 1.4rem; position: relative; color: var(--text); }
.aside-card li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg) translateY(-2px); }
.aside-card .btn { width: 100%; }

/* Feature list (checkmark grid) */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; margin: 1.5rem 0; }
.feature-grid li { position: relative; padding-left: 1.9rem; color: var(--text); font-size: 0.95rem; }
.feature-grid li::before {
  content: ""; position: absolute; left: 0; top: 0.15em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold-dim);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a24a' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 13px; background-repeat: no-repeat; background-position: center;
}

/* Service-areas grid */
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.area-chip {
  display: flex; flex-direction: column; gap: 0.15rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.2rem; transition: border-color 0.25s, transform 0.25s var(--ease);
}
.area-chip:hover { border-color: var(--gold); transform: translateY(-3px); }
.area-chip .town { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.area-chip .county { font-size: 0.74rem; color: var(--muted); letter-spacing: 0.04em; }

/* Related links row */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.related a {
  display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.3rem; transition: border-color 0.25s, transform 0.25s var(--ease);
}
.related a:hover { border-color: var(--gold); transform: translateY(-3px); }
.related .k { font-weight: 700; color: var(--ink); font-family: var(--font-display); }
.related .d { font-size: 0.85rem; color: var(--muted); margin-top: 0.25rem; }

/* FAQ accordion */
.faq { max-width: 780px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  margin-bottom: 0.8rem; overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 1.2rem 1.4rem;
  font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; font-weight: 400; transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 1.4rem 1.3rem; color: var(--text); font-size: 0.95rem; }

/* Alt section bg */
.bg-2 { background: var(--bg-2); border-block: 1px solid var(--line); }

/* Gallery grid */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; grid-auto-rows: 220px; }
.gallery-grid .g-item { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery-grid .g-item.tall { grid-row: span 2; }

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .related { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
}

/* ---------- Real photos (replace .imgph placeholders) ---------- */
img.ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand__mark img { width: 42px; height: auto; display: block; }

/* ---------- Uncropped photo handling ---------- */
/* Cropped (grid) contexts keep faces: bias framing toward the top of the photo */
img.ph { object-position: 50% 22%; }
/* Flow contexts: natural aspect ratio, never cropped */
.img-natural { display: flex; justify-content: center; }
.img-natural img.ph { width: auto; height: auto; max-width: 100%; max-height: 540px;
  object-fit: unset; border-radius: 12px; border: 1px solid var(--line); }

/* ---------- Topbar ---------- */
.topbar {
  background: linear-gradient(90deg, #1e1608 0%, #2a1e0b 38%, #241a09 62%, #1e1608 100%);
  border-bottom: 1px solid rgba(201, 162, 74, 0.32);
  font-size: 0.78rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center;
  padding-top: 0.45rem; padding-bottom: 0.45rem; }
.topbar__slogan { color: #c9b586; letter-spacing: 0.05em; }
.topbar__info { color: #a69469; display: flex; align-items: center; gap: 0.6rem; }
.topbar__info a { color: var(--gold); font-weight: 600; }
.topbar__info a:hover { color: var(--gold-2); }
@media (max-width: 640px) {
  .topbar__slogan { display: none; }
  .topbar .container { justify-content: center; }
}

/* ---------- Nav dropdowns ---------- */
.nav__item { position: relative; }
.nav__item > a { display: inline-flex; align-items: center; gap: 0.35rem; }
.nav__item .caret { transition: transform 0.2s ease; }
.nav__item:hover .caret, .nav__item:focus-within .caret { transform: rotate(180deg); }
.nav__item .drop {
  position: absolute; top: calc(100% + 10px); left: -0.9rem;
  min-width: 232px; display: none; flex-direction: column; gap: 0.1rem;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 0.55rem; box-shadow: var(--shadow); z-index: 60;
}
.nav__item .drop::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav__item:hover .drop, .nav__item:focus-within .drop { display: flex; }
.nav__item .drop a { padding: 0.5rem 0.7rem; border-radius: 8px; font-size: 0.86rem; }
.nav__item .drop a:hover { background: var(--gold-dim); color: var(--gold-2); }
.nav__item .drop a::after { display: none; }
@media (max-width: 960px) {
  .nav__item { width: 100%; }
  .nav__item .drop { position: static; display: flex; border: 0; box-shadow: none;
    background: transparent; padding: 0.3rem 0 0 0.9rem; min-width: 0; }
  .nav__item .caret { display: none; }
}

/* ---------- Featured (inverse gold) card for the flagship program ---------- */
/* Featured card: subtle gold border only — badge carries the emphasis */
.ccard--featured { border-color: rgba(201, 162, 74, 0.55); }
.ccard--featured:hover { border-color: var(--gold); }
.featured-badge {
  display: inline-block; font-size: 0.66rem; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #ecd394; background: #191307;
  border: 1px solid rgba(236, 211, 148, 0.35);
  padding: 0.32rem 0.7rem; border-radius: 999px; margin-bottom: 0.65rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}
