/* ============================================================= */
/* ===== Location Page Template — cm-locp (AR/RTL) ============= */
/* ============================================================= */

/*
 * Loaded only on pages using page-templates/location-page.php.
 * home.css is loaded alongside this file so cm-h2/cm-h3/cm-lead/
 * cm-chip/cm-badge/cm-price/cm-step/cm-process are already defined.
 *
 * This file provides:
 *  1. cm-bc  breadcrumb (also in blog.css — not loaded on location pages)
 *  2. cm-prose (also in blog.css — not loaded here otherwise)
 *  3. cm-faq  details/summary pattern (location variant)
 *  4. cm-locp__* — all location-page-specific layout and components
 */

/* ─── 1. Breadcrumb ─────────────────────────────────────────── */
.cm-bc {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  color: rgba(44,52,64,.72);
  flex-wrap: wrap;
}
.cm-bc a { color: rgba(11,31,59,.86); text-decoration: none; }
.cm-bc span[aria-hidden="true"] { opacity: .5; }

/* ─── 2. Prose ──────────────────────────────────────────────── */
.cm-prose {
  color: rgba(44,52,64,.88);
  line-height: 2.0;
  font-weight: 800;
}
.cm-prose p { margin: 0 0 12px; }
.cm-prose h2, .cm-prose h3 { color: var(--cm-navy); font-weight: 950; }
.cm-prose a { color: rgba(11,31,59,.92); font-weight: 950; }
.cm-prose ul { padding-right: 18px; }
.cm-prose strong { font-weight: 950; }

/* ─── 3. FAQ — details/summary pattern ─────────────────────── */
details.cm-faq {
  border: 1px solid rgba(11,31,59,.10);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 8px;
  background: #fff;
}
details.cm-faq[open] {
  background: rgba(11,31,59,.015);
}
summary.cm-faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-weight: 900;
  font-size: 15px;
  color: var(--cm-navy, #0B1F3B);
  cursor: pointer;
  list-style: none;
  text-align: right;
  user-select: none;
}
summary.cm-faq__q::-webkit-details-marker { display: none; }
summary.cm-faq__q::marker { display: none; }
summary.cm-faq__q:focus-visible {
  outline: 2px solid rgba(200,162,74,.80);
  outline-offset: -2px;
}
.cm-faq__icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(11,31,59,.06);
  border: 1px solid rgba(11,31,59,.12);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.cm-faq__icon::after {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-right: 2px solid rgba(11,31,59,.65);
  border-bottom: 2px solid rgba(11,31,59,.65);
  transform: rotate(45deg) translate(-1px, -2px);
  transition: transform .25s ease;
}
details.cm-faq[open] .cm-faq__icon::after {
  transform: rotate(-135deg) translate(-1px, 2px);
}
.cm-faq__a {
  padding: 0 16px 14px;
  color: rgba(44,52,64,.86);
  font-weight: 800;
  line-height: 1.9;
}
.cm-faq__a > p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .cm-faq__icon,
  .cm-faq__icon::after { transition: none !important; }
}

/* ─── 4. Location Page Main ─────────────────────────────────── */
.cm-locp {
  background: var(--cm-off, #F7F5EF);
  color: rgba(44,52,64,.92);
}

/* Breadcrumb bar — dark strip above hero */
.cm-locp__crumbnav {
  background: rgba(11,31,59,.97);
  padding: 9px 0;
  border-bottom: 1px solid rgba(247,245,239,.08);
}
.cm-locp__crumbnav .cm-bc {
  color: rgba(247,245,239,.70);
}
.cm-locp__crumbnav .cm-bc a {
  color: rgba(247,245,239,.88);
}
.cm-locp__crumbnav .cm-bc span[aria-hidden="true"] {
  opacity: .45;
}

/* ─── Hero ──────────────────────────────────────────────────── */
.cm-locp__hero {
  position: relative;
  overflow: hidden;
  background-color: #0B1F3B;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: rgba(247,245,239,.92);
  border-bottom: 1px solid rgba(247,245,239,.08);
}

/* Fallback gradient when no thumbnail is set */
.cm-locp__hero:not(.cm-locp__hero--cover) {
  background-image: linear-gradient(135deg, #0B1F3B 0%, #07162a 100%);
}

/* Dark overlay over the cover photo — keeps text readable */
.cm-locp__hero--cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,31,59,.90) 0%, rgba(7,22,42,.75) 100%);
  z-index: 0;
}

/* All hero children must sit above the overlay */
.cm-locp__heroinner,
.cm-locp__trustrow {
  position: relative;
  z-index: 1;
}

.cm-locp__heroinner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-block: 56px 40px;
}

/* Single-column layout when no right-column figure */
.cm-locp__heroinner--solo {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.cm-locp__herotxt {
  min-width: 0;
}

/* Hero label chip — small badge above H1 */
.cm-locp__herolabel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(200,162,74,.18);
  border: 1px solid rgba(200,162,74,.40);
  color: rgba(200,162,74,1);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .3px;
  margin-bottom: 14px;
}

.cm-locp__h1 {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 950;
  color: rgba(247,245,239,.98);
  margin: 0 0 16px;
  line-height: 1.15;
  letter-spacing: -.3px;
}

.cm-locp__lead {
  font-size: 15px;
  font-weight: 700;
  color: rgba(247,245,239,.75);
  line-height: 1.9;
  max-width: 55ch;
  margin: 0 0 24px;
}

.cm-locp__herocta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.cm-locp__herochips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Hero image — larger, full column */
.cm-locp__herofig {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  width: 100%;
  box-shadow: 0 36px 80px rgba(0,0,0,.50);
  border: 1px solid rgba(247,245,239,.10);
}

.cm-locp__heroimg {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ─── Hero Trust Row ─────────────────────────────────────────── */
.cm-locp__trustrow {
  border-top: 1px solid rgba(247,245,239,.10);
  background: rgba(0,0,0,.18);
  padding: 16px 0;
}

.cm-locp__trustgrid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cm-locp__trustitem {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 16px;
  flex: 1 1 160px;
  min-width: 0;
}

.cm-locp__trustitem + .cm-locp__trustitem {
  border-right: 1px solid rgba(247,245,239,.10);
}

.cm-locp__trustico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(200,162,74,.16);
  border: 1px solid rgba(200,162,74,.28);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  color: rgba(200,162,74,.95);
}

.cm-locp__trustico .cm-ico__svg {
  width: 16px;
  height: 16px;
  display: block;
}

.cm-locp__trustlabel {
  font-size: 12px;
  font-weight: 900;
  color: rgba(247,245,239,.80);
  line-height: 1.4;
  white-space: nowrap;
}

/* Hero — button visibility overrides for dark background
   cm-btn--ghost uses navy text/border (fine on light, invisible on dark).
   cm-btn--primary uses navy background (fine on light, merges into dark).
   Both are scoped so they don't bleed into other templates. */
.cm-locp__hero .cm-btn--ghost {
  background: rgba(247,245,239,.08);
  color: rgba(247,245,239,.92);
  border-color: rgba(247,245,239,.20);
}
.cm-locp__hero .cm-btn--ghost:hover {
  background: rgba(247,245,239,.15);
  transform: translateY(-1px);
}
.cm-locp__hero .cm-btn--primary {
  background: rgba(247,245,239,.95);
  color: var(--cm-navy, #0B1F3B);
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
}
.cm-locp__hero .cm-btn--primary:hover {
  background: #fff;
  box-shadow: 0 14px 32px rgba(0,0,0,.28);
  transform: translateY(-1px);
}

/* Hero image fallback (no image uploaded) */
.cm-locp__herofig--fb {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(200,162,74,.14), transparent 60%),
    linear-gradient(135deg, rgba(247,245,239,.06), rgba(247,245,239,.03));
  border: 1px solid rgba(247,245,239,.10);
  min-height: 220px;
  display: grid;
  place-items: center;
}
.cm-locp__herofb {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: .75;
}
.cm-locp__herofb .cm-ico {
  width: 56px;
  height: 56px;
  border-radius: 20px;
}
.cm-locp__herofb .cm-ico .cm-ico__svg {
  width: 28px;
  height: 28px;
}

/* ─── Area Intro ─────────────────────────────────────────────── */
.cm-locp__intro {
  background: #fff;
}

.cm-locp__introgrid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 40px;
  align-items: start;
}

.cm-locp__introtxt {
  /* main text column — inherits section padding */
}
.cm-locp__introtxt .cm-btn {
  margin-top: 18px;
}

.cm-locp__introbullets {
  padding: 24px 20px;
  border-radius: 20px;
  background: rgba(11,31,59,.03);
  border: 1px solid rgba(11,31,59,.09);
}

.cm-locp__blist {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.cm-locp__bitem {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 850;
  font-size: 14px;
  color: rgba(44,52,64,.88);
  line-height: 1.6;
}

/* Intro grid — photo variant: equal columns, vertically centred */
.cm-locp__introgrid--photo {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

/* Intro photo figure */
.cm-locp__introfig {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(11,31,59,.14);
  border: 1px solid rgba(11,31,59,.07);
}

.cm-locp__introimg {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

/* ─── Neighborhoods Grid ─────────────────────────────────────── */
.cm-locp__nbhd {
  background: #fff;
}

.cm-locp__nbhdhead {
  text-align: center;
  margin-bottom: 28px;
}
.cm-locp__nbhdhead .cm-lead {
  max-width: 60ch;
  margin-inline: auto;
}

.cm-locp__nbhdgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.cm-locp__nbhdcard {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(11,31,59,.10);
  transition: transform .3s ease, box-shadow .3s ease;
}
.cm-locp__nbhdcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 52px rgba(11,31,59,.18);
}

.cm-locp__nbhdfig {
  position: relative;
  margin: 0;
  display: block;
}

.cm-locp__nbhdimg {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* Fallback tile when no photo is uploaded */
.cm-locp__nbhdfb {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(11,31,59,.07), rgba(11,31,59,.03));
}

/* Name overlay — gradient at bottom of each card */
.cm-locp__nbhdname {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 36px 14px 14px;
  background: linear-gradient(to top, rgba(11,31,59,.82) 0%, transparent 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 950;
  text-align: center;
  line-height: 1.3;
  letter-spacing: .2px;
}

.cm-locp__nbhdfooter {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: rgba(44,52,64,.58);
  line-height: 1.7;
}

@media (max-width: 600px) {
  .cm-locp__nbhdgrid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .cm-locp__nbhdname {
    font-size: 14px;
    padding: 28px 10px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cm-locp__nbhdcard { transition: none !important; }
}

/* ─── Services Grid ──────────────────────────────────────────── */
.cm-locp__services {
  background: rgba(11,31,59,.025);
}

.cm-locp__srvhead {
  text-align: center;
  margin-bottom: 28px;
}
.cm-locp__srvhead .cm-lead {
  max-width: 60ch;
  margin-inline: auto;
}

.cm-locp__srvgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.cm-locp__srvcard {
  background: #fff;
  border: 1px solid rgba(11,31,59,.08);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(11,31,59,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.cm-locp__srvcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(11,31,59,.12);
}

/* Service card icon container — mirrors .cm-ico appearance from pages.css
   but scoped here because the template uses .cm-locp__srvico, not .cm-ico */
.cm-locp__srvico {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: rgba(247,245,239,.92);
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(200,162,74,.22), transparent 55%),
    linear-gradient(135deg, rgba(11,31,59,.92), rgba(7,22,42,.98));
  border: 1px solid rgba(200,162,74,.18);
  box-shadow: 0 8px 20px rgba(11,31,59,.12);
}
.cm-locp__srvico .cm-ico__svg {
  width: 20px;
  height: 20px;
  display: block;
}

.cm-locp__srvtag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(200,162,74,.14);
  border: 1px solid rgba(200,162,74,.32);
  color: #6b4e00;
  font-size: 11px;
  font-weight: 900;
  width: fit-content;
}

.cm-locp__srvtitle {
  font-size: 16px;
  font-weight: 950;
  color: var(--cm-navy, #0B1F3B);
  margin: 0;
  line-height: 1.3;
}

.cm-locp__srvdesc {
  font-size: 13px;
  font-weight: 800;
  color: rgba(44,52,64,.78);
  line-height: 1.8;
  margin: 0;
  flex: 1;
}

/* Section-level CTA row below the cards grid */
div.cm-locp__srvcta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

/* ─── FAQ ────────────────────────────────────────────────────── */
.cm-locp__faq {
  background: #fff;
}

.cm-locp__faqhead {
  margin-bottom: 24px;
}

.cm-locp__faqgrid {
  display: grid;
  grid-template-columns: 1.45fr .55fr;
  gap: 32px;
  align-items: start;
}

.cm-locp__faqlist {
  /* accordion column */
}

.cm-locp__faqside {
  position: sticky;
  top: 80px;
}

.cm-locp__faqcard {
  background: rgba(11,31,59,.03);
  border: 1px solid rgba(11,31,59,.10);
  border-radius: 20px;
  padding: 22px 20px;
}

.cm-locp__faqcta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* ─── Related Areas ──────────────────────────────────────────── */
.cm-locp__related {
  background: rgba(11,31,59,.025);
}

.cm-locp__relhead {
  margin-bottom: 24px;
}

.cm-locp__relgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}

.cm-locp__relcard {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(11,31,59,.08);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(11,31,59,.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cm-locp__relcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(11,31,59,.12);
  border-color: rgba(200,162,74,.40);
}
.cm-locp__relcard:focus-visible {
  outline: 2px solid rgba(200,162,74,.80);
  outline-offset: 2px;
}

.cm-locp__relabel {
  font-size: 11px;
  font-weight: 900;
  color: rgba(44,52,64,.55);
  letter-spacing: .4px;
}

.cm-locp__reltitle {
  font-size: 15px;
  font-weight: 950;
  color: var(--cm-navy, #0B1F3B);
  line-height: 1.3;
}

.cm-locp__relarrow {
  margin-top: 6px;
  font-size: 18px;
  color: rgba(200,162,74,.80);
  display: block;
}

/* ─── Editor Content Section ────────────────────────────────── */
.cm-locp__content {
  background: #fff;
}

.cm-locp__editorwrap {
  max-width: 860px;
  margin-inline: auto;
}

.cm-locp__editorwrap img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.cm-locp__editorwrap figure {
  margin: 0 0 20px;
}
.cm-locp__editorwrap figcaption {
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: rgba(44,52,64,.55);
  margin-top: 6px;
}
.cm-locp__editorwrap .alignwide {
  max-width: 100%;
  width: 100%;
}
.cm-locp__editorwrap .alignfull {
  max-width: none;
  margin-inline: calc(-1 * var(--cm-container-pad, 24px));
}
.cm-locp__editorwrap .alignleft {
  float: right;
  margin-inline-start: 20px;
  margin-block-end: 12px;
}
.cm-locp__editorwrap .alignright {
  float: left;
  margin-inline-end: 20px;
  margin-block-end: 12px;
}

/* ─── Location Pricing ───────────────────────────────────────── */
.cm-locp__pricing {
  background: var(--cm-off, #F7F5EF);
}

.cm-locp__pricehead {
  margin-bottom: 28px;
}

.cm-locp__pricegrid {
  display: grid;
  grid-template-columns: 1fr .5fr;
  gap: 36px;
  align-items: start;
}

.cm-locp__pricelist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.cm-locp__priceitem {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid rgba(11,31,59,.08);
  border-radius: 14px;
  padding: 14px 16px;
}

.cm-locp__priceico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(200,162,74,.12);
  border: 1px solid rgba(200,162,74,.28);
  color: #6b4e00;
}
.cm-locp__priceico .cm-ico__svg {
  width: 14px;
  height: 14px;
  display: block;
}

.cm-locp__pricetxt {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cm-locp__pricet {
  font-size: 14px;
  font-weight: 950;
  color: var(--cm-navy, #0B1F3B);
  line-height: 1.4;
}
.cm-locp__priced {
  font-size: 13px;
  font-weight: 800;
  color: rgba(44,52,64,.70);
  line-height: 1.7;
}

.cm-locp__priceside {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cm-locp__pricenote {
  background: rgba(11,31,59,.04);
  border: 1px solid rgba(11,31,59,.09);
  border-radius: 16px;
  padding: 18px 16px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(44,52,64,.80);
  line-height: 1.8;
}
.cm-locp__pricenote p { margin: 0; }

.cm-locp__pricecta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ─── Location Process ───────────────────────────────────────── */
.cm-locp__proc {
  background: linear-gradient(135deg, #0B1F3B 0%, #07162a 100%);
  color: rgba(247,245,239,.92);
}

.cm-locp__prochead {
  text-align: center;
  margin-bottom: 36px;
}
.cm-locp__proctitle {
  font-size: clamp(20px, 3.5vw, 32px);
  font-weight: 950;
  color: rgba(247,245,239,.98);
  margin: 0 0 12px;
  line-height: 1.25;
}
.cm-locp__proclead {
  font-size: 15px;
  font-weight: 700;
  color: rgba(247,245,239,.68);
  max-width: 65ch;
  margin: 0 auto;
  line-height: 1.85;
}

/* Steps — 4 columns with arrows between */
.cm-locp__procsteps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  margin-bottom: 28px;
}

.cm-locp__procstep {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
}

.cm-locp__procnum {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(200,162,74,.16);
  border: 1px solid rgba(200,162,74,.42);
  color: rgba(200,162,74,1);
  font-size: 18px;
  font-weight: 950;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.cm-locp__procstept {
  font-size: 14px;
  font-weight: 950;
  color: rgba(247,245,239,.95);
  margin: 0 0 6px;
  line-height: 1.3;
}
.cm-locp__procstepd {
  font-size: 12px;
  font-weight: 700;
  color: rgba(247,245,239,.58);
  margin: 0;
  line-height: 1.7;
}

.cm-locp__procarrow {
  align-self: start;
  margin-top: 11px;
  color: rgba(200,162,74,.45);
  font-size: 20px;
  padding: 0 4px;
  display: block;
}

/* Photos row */
.cm-locp__procphotos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.cm-locp__procphoto {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(247,245,239,.08);
  position: relative;
}
.cm-locp__procphotoimg {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 1;
}
.cm-locp__proccap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 20px 10px 8px;
  background: linear-gradient(to top, rgba(11,31,59,.78), transparent);
  color: rgba(247,245,239,.92);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.cm-locp__proccta {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Button overrides for dark process background */
.cm-locp__proc .cm-btn--ghost {
  background: rgba(247,245,239,.08);
  color: rgba(247,245,239,.92);
  border-color: rgba(247,245,239,.20);
}
.cm-locp__proc .cm-btn--ghost:hover {
  background: rgba(247,245,239,.15);
  transform: translateY(-1px);
}

/* ─── FAQ Polish (Step 6) ────────────────────────────────────── */
.cm-locp__faqhead {
  margin-bottom: 28px;
}

details.cm-faq {
  border-inline-start: 3px solid rgba(200,162,74,.22);
}
details.cm-faq[open] {
  border-inline-start-color: rgba(200,162,74,.55);
}

/* ─── Related Areas Polish (Step 6) ─────────────────────────── */
.cm-locp__relgrid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.cm-locp__relcard {
  padding: 14px 16px;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .cm-locp__heroinner {
    grid-template-columns: 1fr;
    padding-block: 36px 32px;
  }
  .cm-locp__herofig {
    max-width: 480px;
    margin-inline: auto;
  }
  .cm-locp__introgrid {
    grid-template-columns: 1fr;
  }
  .cm-locp__faqgrid {
    grid-template-columns: 1fr;
  }
  .cm-locp__faqside {
    position: static;
  }
  .cm-locp__trustitem {
    flex: 1 1 140px;
  }
  /* Pricing */
  .cm-locp__pricegrid {
    grid-template-columns: 1fr;
  }
  .cm-locp__priceside {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .cm-locp__pricecta {
    flex-direction: row;
    flex-wrap: wrap;
  }
  /* Process */
  .cm-locp__procsteps {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .cm-locp__procarrow { display: none; }
  .cm-locp__procphotos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cm-locp__h1 { font-size: 26px; }
  .cm-locp__lead { font-size: 14px; }
  .cm-locp__srvgrid { grid-template-columns: 1fr; }
  .cm-locp__relgrid { grid-template-columns: 1fr 1fr; }
  .cm-locp__herocta { gap: 8px; }
  .cm-locp__trustitem {
    flex: 1 1 calc(50% - 16px);
    border-right: none !important;
  }
  .cm-locp__trustlabel { white-space: normal; }
  .cm-locp__herolabel { font-size: 11px; }
  /* Process */
  .cm-locp__procsteps { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cm-locp__procphotos { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cm-locp__proctitle { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .cm-locp__srvcard,
  .cm-locp__relcard { transition: none !important; }
}
