/* ============================================================
 *  City Choice — Boca Raton location landing page styles.
 *  Scoped under .cc-location-page so nothing here can leak into
 *  the rest of the site. Pairs with templates/location-page.php.
 * ============================================================ */

/* ---------- Breadcrumb ---------- */
.cc-location-page .loc-breadcrumb {
  background:#fff;
  border-bottom:1px solid #ebebe2;
}
.cc-location-page .loc-breadcrumb .container {
  display:flex; align-items:center; gap:8px;
  padding-top:14px; padding-bottom:14px;
  font-size:13px; color:#6b7a6f;
}
.cc-location-page .loc-breadcrumb a { color:var(--green-700); text-decoration:none; font-weight:500; }
.cc-location-page .loc-breadcrumb a:hover { text-decoration:underline; }
.cc-location-page .loc-breadcrumb svg { width:14px; height:14px; color:#b6c2b9; }
.cc-location-page .loc-breadcrumb span { color:#2c3a31; font-weight:600; }

/* ---------- Hero (centered, sunset gradient, image fades into page) ----------
 *  Layout: single centered column for eyebrow + H1 + lede + CTAs. A full-width
 *  hero image lives at the bottom of the section and fades into the page
 *  background below via a gradient mask, so the next section reads as one
 *  continuous panel instead of a hard edge. The backdrop uses a warm sunset
 *  palette (amber → coral → soft pink → cream) to set a calm, golden-hour
 *  Florida feel.
 */
.cc-location-page .hero-pano {
  position:relative;
  padding:88px 0 0;            /* bottom padding handled by the image strip */
  overflow:hidden;
  text-align:center;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(255,210,170,.32), transparent 62%),
    radial-gradient(900px 500px at 18% 30%, rgba(255,180,140,.16), transparent 68%),
    radial-gradient(900px 500px at 82% 30%, rgba(255,200,200,.16), transparent 68%),
    linear-gradient(180deg, #fdf6ec 0%, #faf2e6 45%, #f7eee2 75%, #faf9f5 100%);
}
.cc-location-page .hero-pano-inner {
  display:flex; flex-direction:column; align-items:center;
  text-align:center;
  position:relative; z-index:2;
  padding-bottom:56px;
}
.cc-location-page .hero-pano-eyebrow {
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 16px; border-radius:999px;
  background:rgba(255,255,255,.72); border:1px solid rgba(199,70,31,.22);
  color:#9c3b18; font-weight:600; font-size:13px;
  letter-spacing:.01em;
  backdrop-filter:blur(4px);
}
.cc-location-page .hero-pano-pin { display:inline-flex; }
.cc-location-page .hero-pano-pin svg { width:15px; height:15px; color:var(--orange-600); }
.cc-location-page .hero-pano-h1 {
  font-family:Poppins,system-ui,sans-serif;
  margin:22px 0 20px;
  font-size:clamp(36px,5.6vw,62px);
  line-height:1.04; font-weight:800;
  color:#3a1a05; letter-spacing:-.022em;
  max-width:920px;
}
.cc-location-page .hero-pano-h1-accent {
  display:block;
  background:linear-gradient(90deg, #C7461F 0%, #E55E30 50%, #F08A2A 100%);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
  font-weight:800;
}
.cc-location-page .hero-pano-lede {
  font-size:17.5px; line-height:1.65; color:#5a3a26;
  max-width:680px; margin:0 auto 28px;
}
.cc-location-page .hero-pano-lede strong { color:#3a1a05; font-weight:600; }
.cc-location-page .hero-pano-cta {
  display:flex; flex-wrap:wrap; gap:12px; justify-content:center;
}
.cc-location-page .hero-pano-cta .btn { display:inline-flex; align-items:center; gap:8px; }
.cc-location-page .hero-pano-cta svg { width:16px; height:16px; }
/* On the warm hero, the ghost-button border reads better in deep coral. */
.cc-location-page .hero-pano-cta .btn-ghost {
  color:#9c3b18;
  border-color:#9c3b18;
}
.cc-location-page .hero-pano-cta .btn-ghost:hover {
  background:rgba(255,255,255,.55);
}

/* Full-width image strip pinned to the bottom of the hero. The mask gradient
   fades the bottom edge so the image dissolves into the page background. */
.cc-location-page .hero-pano-img {
  position:relative;
  width:100%;
  height:350px;
  margin:0;
  overflow:hidden;
}
.cc-location-page .hero-pano-img img {
  width:100%; height:100%; object-fit:cover; display:block;
}
.cc-location-page .hero-pano-fade { display:none; } /* handled by mask now */

@media (max-width:880px) {
  .cc-location-page .hero-pano { padding-top:48px; }
  .cc-location-page .hero-pano-inner { padding-bottom:36px; }
  .cc-location-page .hero-pano-img { height:240px; }
}

/* ---------- Service Area ----------
 *  Copy on top → horizontal neighborhood gallery (scrolls L→R, snaps to
 *  each card) → partner-hospitals strip. Gallery extends past the right
 *  edge of the container so the next card peeks in, hinting at scroll.
 */
.cc-location-page .loc-area .loc-area-copy { max-width:780px; }
.cc-location-page .loc-area .section-title { text-align:left; margin-top:8px; }
.cc-location-page .loc-area .lead {
  font-size:17px; line-height:1.65; color:#2c3a31; margin:14px 0 14px;
}
.cc-location-page .loc-area .body {
  font-size:15.5px; line-height:1.7; color:#3f4f45; margin:0;
}
.cc-location-page .loc-area .body strong { color:#0e2818; font-weight:600; }

/* Communities strip — same visual family as the homepage's
   "As trusted by South Florida families & physicians since 2018" row.
   Each community logo sits inside a white card with a thin border so
   logos with off-white / coloured backgrounds normalise against the
   page. Mizner Park (no logo) gets a typographic "MP" mark. */
.cc-location-page .loc-trust { margin:56px 0 32px; }
/* Reuse the global .eyebrow look (orange-600, uppercase, weight 600) so the
   gallery section header matches "Service area", "Insurance & payment", etc. */
.cc-location-page .loc-trust-eyebrow {
  display:block;
  text-align:left;
  margin:0 0 14px;
}
/* Mirrors the homepage .trust-grid / .trust-logo pattern: a single row of
   logos separated by thin vertical dividers — no cards, no border-radius,
   no box around each logo. */
.cc-location-page .loc-trust-grid {
  display:grid;
  grid-template-columns:repeat(7, 1fr);
  gap:10px;
  align-items:center;
}
.cc-location-page .loc-trust-logo {
  position:relative;
  height:80px;
  display:grid; place-items:center;
  padding:6px 14px;
  border-right:1px solid #e6ece6;
  transition:transform .2s ease;
}
.cc-location-page .loc-trust-logo:last-child { border-right:0; }
.cc-location-page .loc-trust-logo:hover { transform:translateY(-2px); }
.cc-location-page .loc-trust-logo img {
  /* Lock visual height so every logo reads the same size regardless of its
     source ratio — Delray + Deerfield were dominating because they're tall.
     Width is auto, capped to the column. */
  height:48px;
  width:auto;
  max-width:100%;
  max-height:48px;
  object-fit:contain;
  display:block;
  /* subtle desaturation so disparate community logos read as one family;
     hover restores full colour, same as the homepage trust row. */
  filter:grayscale(.30);
  opacity:.92;
  transition:filter .2s ease, opacity .2s ease;
}
.cc-location-page .loc-trust-logo:hover img { filter:none; opacity:1; }

/* Typographic fallback (Mizner Park, etc.) — same height as the logos
   so the dividers stay aligned. */
.cc-location-page .loc-trust-logo.is-typographic {
  flex-direction:column;
  display:flex;
  align-items:center; justify-content:center;
  gap:4px;
}
.cc-location-page .loc-trust-mark {
  font-family:Poppins,system-ui,sans-serif;
  font-size:26px; font-weight:800;
  letter-spacing:-0.01em;
  color:var(--green-800);
  line-height:1;
}
.cc-location-page .loc-trust-label {
  font-size:10.5px; font-weight:700;
  letter-spacing:.10em; text-transform:uppercase;
  color:#7a8a82;
}
.cc-location-page .sr-only {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

@media (max-width:1024px) {
  .cc-location-page .loc-trust-grid { grid-template-columns:repeat(4, 1fr); }
}
@media (max-width:720px) {
  .cc-location-page .loc-trust-grid { grid-template-columns:repeat(3, 1fr); gap:8px; }
  .cc-location-page .loc-trust-logo { height:80px; padding:10px; }
}
@media (max-width:440px) {
  .cc-location-page .loc-trust-grid { grid-template-columns:repeat(2, 1fr); }
}
.cc-location-page .loc-card-img img {
  width:100%; height:100%; object-fit:cover; display:block;
}
.cc-location-page .loc-card-placeholder {
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 12px; border-radius:999px;
  background:rgba(255,255,255,.85);
  color:var(--green-800);
  font-size:11.5px; font-weight:700;
  letter-spacing:.06em; text-transform:uppercase;
}
.cc-location-page .loc-card-placeholder svg { width:14px; height:14px; }
.cc-location-page .loc-card-body { padding:14px 16px 16px; }
.cc-location-page .loc-card-title {
  margin:0 0 4px; font-family:Poppins,system-ui,sans-serif;
  font-size:17px; font-weight:700; color:#0e2818; letter-spacing:-.01em;
}
.cc-location-page .loc-card-tag {
  margin:0; font-size:13px; color:#516b58;
}

/* Hospitals strip */
.cc-location-page .loc-hospitals-strip {
  margin-top:18px;
  padding:18px 22px;
  background:#fff;
  border:1px solid #e6ece6;
  border-radius:14px;
  display:flex; flex-wrap:wrap; align-items:center; gap:18px 28px;
}
.cc-location-page .loc-hospitals-label {
  margin:0; font-size:11px; font-weight:700;
  text-transform:uppercase; letter-spacing:.08em;
  color:#516b58;
}
.cc-location-page .loc-hospital-list {
  list-style:none; padding:0; margin:0;
  display:flex; flex-wrap:wrap; gap:18px 24px;
}
.cc-location-page .loc-hospital-list li {
  display:flex; align-items:center; gap:10px;
  font-size:14.5px; color:#0e2818; font-weight:600;
}
.cc-location-page .loc-hospital-list svg {
  width:18px; height:18px; color:var(--green-700); flex-shrink:0;
}

@media (max-width:880px) {
  .cc-location-page .loc-hospitals-strip { flex-direction:column; align-items:flex-start; }
}

/* ---------- Why City Choice rows (zero hover effect) ---------- */
.cc-location-page .why-rows {
  background:linear-gradient(180deg, #f5faf6 0%, #faf9f5 100%);
}
.cc-location-page .why-rows-head {
  text-align:left; margin-bottom:28px;
}
.cc-location-page .why-rows-head .section-title {
  text-align:left; margin-top:8px;
}
.cc-location-page .why-rows-list {
  list-style:none; padding:0; margin:0;
  display:flex; flex-direction:column; gap:14px;
}
.cc-location-page .why-row {
  display:grid;
  grid-template-columns:64px minmax(220px, 260px) 1fr;
  gap:28px; align-items:center;
  background:#fff;
  border:1px solid #e6ece6;
  border-radius:18px;
  padding:24px 28px;
  /* explicit: no hover transitions on this section */
  transition:none;
}
.cc-location-page .why-row:hover,
.cc-location-page .why-row:focus-within {
  background:#fff;
  border-color:#e6ece6;
  transform:none;
  box-shadow:none;
}
.cc-location-page .why-row-num {
  width:48px; height:48px; border-radius:50%;
  background:var(--green-050);
  border:1px solid #d5e6dc;
  color:var(--green-700);
  display:grid; place-items:center;
  font-family:Poppins,system-ui,sans-serif;
  font-size:14px; font-weight:700; letter-spacing:.04em;
}
.cc-location-page .why-row-key {
  display:flex; flex-direction:column; gap:6px;
  padding-right:24px; border-right:1px dashed #d8e1d9;
}
.cc-location-page .why-row-stat {
  font-family:Poppins,system-ui,sans-serif;
  font-size:38px; font-weight:800; color:#0e2818; line-height:1;
  letter-spacing:-.015em;
}
.cc-location-page .why-row-stat small {
  font-size:14px; font-weight:600; color:#516b58; margin:0 3px;
  letter-spacing:0; text-transform:none;
}
.cc-location-page .why-row-divider { color:#b6c2b9; margin:0 4px; font-weight:500; }
.cc-location-page .why-row-title {
  font-size:13.5px; font-weight:600; letter-spacing:.02em;
  color:var(--green-800);
}
.cc-location-page .why-row-desc {
  margin:0; font-size:15.5px; line-height:1.65; color:#3f4f45;
}

@media (max-width:880px) {
  .cc-location-page .why-row {
    grid-template-columns:48px 1fr;
    grid-template-areas:
      "num key"
      "desc desc";
    row-gap:14px; gap:18px;
  }
  .cc-location-page .why-row-num { grid-area:num; }
  .cc-location-page .why-row-key { grid-area:key; border-right:0; padding-right:0; }
  .cc-location-page .why-row-desc { grid-area:desc; }
}

/* ---------- Insurance ---------- */
.cc-location-page .loc-insurance .loc-insurance-card {
  background:#fff;
  border:1px solid #e6ece6;
  border-radius:22px;
  padding:36px;
  display:grid;
  gap:36px;
  grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  align-items:start;
  box-shadow:0 20px 40px -28px rgba(15,74,48,.20);
}
.cc-location-page .loc-insurance .section-title { text-align:left; margin-top:8px; }
.cc-location-page .loc-insurance .body {
  font-size:16px; line-height:1.7; color:#3f4f45; margin:0;
}
.cc-location-page .loc-insurance .body strong { color:#0e2818; font-weight:600; }
.cc-location-page .loc-insurance-list {
  list-style:none; padding:0; margin:0;
  display:flex; flex-direction:column; gap:12px;
  background:var(--green-050);
  border:1px solid #d8e8dc;
  border-radius:14px;
  padding:20px;
}
.cc-location-page .loc-insurance-list li {
  display:flex; align-items:center; gap:10px;
  font-size:15px; color:#0e2818; font-weight:600;
}
.cc-location-page .loc-insurance-list svg {
  width:18px; height:18px;
  color:#fff;
  background:var(--green-600);
  border-radius:50%;
  padding:3px;
  flex-shrink:0;
}

@media (max-width:880px) {
  .cc-location-page .loc-insurance .loc-insurance-card {
    grid-template-columns:1fr; padding:26px;
  }
}

/* ---------- Final CTA ---------- */
.cc-location-page .loc-finalcta-wrap { padding-top:20px; }
.cc-location-page .loc-finalcta {
  position:relative; overflow:hidden;
  background:linear-gradient(135deg, #1f6a48 0%, #23805a 60%, #2BA972 100%);
  color:#fff;
  border-radius:24px;
  padding:48px 36px;
  text-align:center;
  box-shadow:0 24px 50px -28px rgba(15,74,48,.45);
}
.cc-location-page .loc-finalcta-bg {
  position:absolute; inset:0; pointer-events:none;
}
.cc-location-page .loc-finalcta-bg svg {
  position:absolute; bottom:0; left:0; width:100%; height:100%;
}
.cc-location-page .loc-finalcta .eyebrow-dark {
  display:inline-block;
  padding:6px 14px; border-radius:999px;
  background:rgba(255,255,255,.16);
  color:#fff; font-size:12px; font-weight:700;
  letter-spacing:.06em; text-transform:uppercase;
  position:relative; z-index:1;
}
.cc-location-page .loc-finalcta h2 {
  font-family:Poppins,system-ui,sans-serif;
  margin:14px 0 12px; font-size:clamp(26px,3vw,36px);
  font-weight:800; color:#fff; line-height:1.15;
  position:relative; z-index:1;
}
.cc-location-page .loc-finalcta p {
  font-size:16px; line-height:1.65; max-width:680px;
  margin:0 auto 24px; color:rgba(255,255,255,.94);
  position:relative; z-index:1;
}
.cc-location-page .loc-finalcta p strong { color:#fff; font-weight:700; }
.cc-location-page .loc-finalcta-actions {
  display:flex; flex-wrap:wrap; gap:12px; justify-content:center;
  position:relative; z-index:1;
}
.cc-location-page .loc-finalcta-ghost {
  background:rgba(255,255,255,.12) !important;
  color:#fff !important;
  border-color:rgba(255,255,255,.45) !important;
}
.cc-location-page .loc-finalcta-ghost:hover {
  background:rgba(255,255,255,.22) !important;
}

/* ---------- FAQ overrides ----------
 * Bug fix: in the shared home.css cascade, when an .faq-item is .open AND
 * hovered, the button text was inheriting transparent/light colors from
 * compound hover rules and reading as "white." Force the open state's text
 * to stay ink-dark and the icon to stay green-600/white regardless of hover. */
.cc-location-page .faq-side .section-title { text-align:left; margin-top:8px; }
.cc-location-page .faq-side .section-sub  { text-align:left; margin-left:0; }
.cc-location-page .faq-item.open .faq-q,
.cc-location-page .faq-item.open .faq-q:hover,
.cc-location-page .faq-item.open .faq-q:focus,
.cc-location-page .faq-item.open .faq-q:active {
  color:#0e2818;
  background:transparent;
}
.cc-location-page .faq-item.open .faq-q span:first-child { color:#0e2818; }
.cc-location-page .faq-item.open:hover .faq-icon,
.cc-location-page .faq-item.open .faq-icon {
  background:var(--green-600);
  color:#fff;
  transform:rotate(45deg);
}
