/* City Choice NYC — Why City Choice. Loaded after home.css (tokens, buttons, header, footer, CTA band).
   Values from the Figma "Why City Choice" frames / reference/design/why-page. */

/* Inner pages: solid white nav + breadcrumb */
.cch-inner .cch-nav { background: #fff; }
.cchw-crumbs { background: #FBFBFB; font-size: 13px; color: var(--cc-muted); }
.cchw-crumbs .cch-wrap { display: flex; align-items: center; gap: 9px; padding-top: 9px; padding-bottom: 9px; }
.cchw-crumbs svg { transform: rotate(-90deg); }
.cchw-crumbs a:hover { color: var(--cc-red); }
.cchw-crumbs span { color: var(--cc-head); font-weight: 600; }

/* Hero */
.cchw-hero { position: relative; height: 600px; overflow: hidden; background: #9BC998; }
.cchw-hero__img { position: absolute; top: 0; left: 19.45%; width: 100%; max-width: none; height: 100%; object-fit: cover; object-position: center; }
.cchw-hero__scrim { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(18,38,28,.90) 0%, rgba(18,38,28,.78) 34%, rgba(18,38,28,.32) 62%, rgba(18,38,28,.04) 100%); }
.cchw-hero__in { position: relative; height: 100%; display: flex; align-items: center; }
.cchw-hero__copy { width: 640px; max-width: 100%; display: flex; flex-direction: column; gap: 20px; }
.cchw-hero__eyebrow { display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; padding: 8px 16px; border-radius: 100px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.30); font-size: 13px; font-weight: 600; letter-spacing: .10em; text-transform: uppercase; color: #fff; }
.cch-page .cchw-hero h1 { font-size: 52px; line-height: 1.1; font-weight: 700; color: #fff; text-wrap: pretty; }
.cchw-hero__copy > p { font-size: 17px; line-height: 1.8; font-weight: 300; color: #E6EFE9; max-width: 580px; }
.cchw-hero__btns { display: flex; align-items: center; gap: 14px; padding-top: 6px; }
.cchw-hero__btns .cch-btn { padding: 15px 30px; font-size: 15px; }
.cchw-hero__btns .cch-btn--red { box-shadow: 0 8px 22px rgba(0,0,0,.35); }
.cch-page .cchw-btn--glass { gap: 9px; border: 1px solid rgba(255,255,255,.55); color: #fff !important; background: transparent; padding: 14px 30px; }
.cch-page .cchw-btn--glass:hover { background: rgba(255,255,255,.12); }

/* Assurance strip */
.cchw-assure { background: var(--cc-green-dk); }
.cch-page .cchw-assure ul { list-style: none; margin: 0 auto; display: flex; align-items: stretch; padding-top: 26px; padding-bottom: 26px; }
.cchw-assure li { flex: 1; display: flex; align-items: center; gap: 13px; padding: 0 28px; border-left: 1px solid rgba(255,255,255,.22); font-size: 14px; line-height: 1.55; font-weight: 500; color: #fff; }
.cchw-assure li:first-child { padding-left: 0; border-left: 0; }
.cchw-assure li:last-child { padding-right: 0; }

/* Shared section pieces */
.cchw-sec { padding: 86px 0; }
.cchw-sec--grey { background: var(--cc-grey); }
.cchw-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cc-head); }
.cch-page .cchw-sec h2 { font-size: 40px; line-height: 1.16; font-weight: 700; color: var(--cc-ink); text-wrap: pretty; }

/* Magazine rows (Our Story, Community Trust) */
.cchw-story { padding: 88px 0 78px; }
.cchw-mag { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.cchw-mag__copy { display: flex; flex-direction: column; gap: 22px; }
.cchw-mag--flip .cchw-mag__copy { gap: 20px; }
.cchw-mag__copy > p { font-size: 16px; line-height: 1.85; color: var(--cc-muted); }
.cchw-mag__media { position: relative; min-height: 320px; }
.cchw-mag__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 20px; background: var(--cc-mint); }
.cch-page .cchw-quote { margin: 0; display: flex; gap: 18px; align-items: flex-start; padding: 22px 22px 22px 22px; border: 0; border-left: 5px solid var(--cc-green); border-radius: 20px; background: var(--cc-mint); font-style: normal; quotes: none; }
.cchw-quote p { font-size: 18px; line-height: 1.7; font-weight: 500; color: var(--cc-head); }

/* Care philosophy */
.cchw-philo .cch-wrap { display: flex; flex-direction: column; gap: 30px; }
.cchw-philo h2 { max-width: 820px; }
.cchw-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 10px; }
.cchw-card { display: flex; flex-direction: column; gap: 14px; padding: 30px 26px; border-radius: 20px; background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.14); }
.cchw-card__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--cc-mint); display: flex; align-items: center; justify-content: center; }
.cchw-card h3 { font-size: 19px; line-height: 1.4; }
.cchw-card p { font-size: 14px; line-height: 1.85; font-weight: 300; color: var(--cc-muted); }

/* FAQ — native <details>, first one open */
.cchw-faq { padding-top: 0; }
.cchw-faq .cch-wrap { display: flex; flex-direction: column; gap: 26px; }
.cchw-faq h2 { max-width: 720px; }
.cchw-faq__list { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.cchw-faq details { padding: 24px 28px; border-radius: 18px; background: #fff; border: 1px solid #CDCBCC; }
.cchw-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; }
.cchw-faq summary::-webkit-details-marker { display: none; }
.cchw-faq summary:focus-visible { outline: 2px solid var(--cc-red); outline-offset: 6px; border-radius: 8px; }
.cchw-faq summary h3 { font-size: 17px; line-height: 1.5; }
.cchw-faq__toggle { position: relative; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--cc-grey); color: var(--cc-muted); transition: background-color .15s; }
.cchw-faq__toggle::before, .cchw-faq__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2.4px; margin: -1.2px 0 0 -5px; border-radius: 2px; background: currentColor; transition: transform .2s; }
.cchw-faq__toggle::after { transform: rotate(90deg); }
.cchw-faq details[open] .cchw-faq__toggle { background: var(--cc-mint); color: var(--cc-green-dk); }
.cchw-faq details[open] .cchw-faq__toggle::after { transform: rotate(0deg); }
.cchw-faq details > p { margin-top: 14px; max-width: 900px; font-size: 15px; line-height: 1.85; font-weight: 300; color: var(--cc-muted); }

/* CTA band (page variant of .cch-cta) */
.cchw-cta .cch-cta__in { gap: 60px; padding-top: 62px; padding-bottom: 62px; }
.cchw-cta .cch-cta__in > div:first-child { gap: 14px; max-width: 690px; }
.cch-page .cchw-cta h2 { font-size: 38px; line-height: 1.2; font-weight: 700; }
.cchw-cta p { font-size: 16px; line-height: 1.8; color: #ffe9e5; }
.cchw-cta .cch-cta__btns { width: auto; min-width: 232px; }
.cchw-cta .cch-cta__btns .cch-btn { font-size: 15px; padding: 15px 30px; }
.cch-page .cchw-cta .cch-btn--white { box-shadow: 0 0 10px rgba(0,0,0,.18); }
.cch-page .cchw-cta .cch-btn--ghost { gap: 9px; border: 1px solid rgba(255,255,255,.7); padding: 15px 30px; }

@media (max-width: 1279px) {
  .cchw-hero__in, .cchw-crumbs .cch-wrap, .cchw-assure ul { padding-left: 32px; padding-right: 32px; }
  .cchw-assure li { padding: 0 18px; }
  .cchw-mag { gap: 40px; }
}

@media (max-width: 960px) {
  .cchw-crumbs { font-size: 11px; }
  .cchw-crumbs .cch-wrap { padding-top: 8px; padding-bottom: 8px; gap: 6px; }

  .cchw-hero { height: 440px; background: var(--cc-ink); }
  .cchw-hero__img { left: 0; }
  .cchw-hero__scrim { background-image: linear-gradient(180deg, rgba(18,38,28,.34) 0%, rgba(18,38,28,.93) 100%); }
  .cchw-hero__in { align-items: flex-end; padding-bottom: 24px; }
  .cchw-hero__copy { width: 100%; gap: 14px; }
  .cchw-hero__eyebrow { display: none; }
  .cch-page .cchw-hero h1 { font-size: 31px; line-height: 1.16; }
  .cchw-hero__copy > p { font-size: 13px; line-height: 1.75; max-width: none; }
  .cchw-hero__btns { padding-top: 0; }
  .cchw-hero__btns .cch-btn--red { flex: 1; padding: 14px; box-shadow: none; }
  .cchw-btn--glass { display: none !important; }

  .cchw-assure ul { flex-direction: column; gap: 14px; padding-top: 22px; padding-bottom: 22px; }
  .cchw-assure li { padding: 0; border: 0; gap: 11px; font-size: 13px; }
  .cchw-assure li svg { width: 20px; height: 20px; }

  .cchw-sec, .cchw-story { padding: 34px 0; }
  .cchw-faq { padding-top: 0; }
  .cchw-eyebrow { font-size: 11px; gap: 8px; }
  .cch-page .cchw-sec h2 { font-size: 27px; line-height: 1.2; }

  /* Mobile order: heading → (photo) → copy → photo → quote, per the 390 frame */
  .cchw-mag { display: flex; flex-direction: column; gap: 16px; }
  .cchw-mag__copy { display: contents; }
  .cchw-mag__copy > p { font-size: 14px; font-weight: 300; }
  .cchw-mag__media { min-height: 0; height: 220px; order: 1; }
  .cchw-quote { order: 2; }
  .cch-page .cchw-quote { padding: 18px; gap: 12px; border-left-width: 4px; border-radius: 16px; }
  .cchw-quote p { font-size: 15px; }
  .cchw-mag--flip .cchw-mag__copy > p { order: 2; }

  .cchw-philo .cch-wrap { gap: 16px; }
  .cchw-cards { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin: 0 -20px; padding: 4px 20px 10px; }
  .cchw-card { flex: 0 0 278px; scroll-snap-align: start; gap: 10px; padding: 22px 20px; border-radius: 18px; box-shadow: 0 0 10px rgba(0,0,0,.13); }
  .cchw-card h3 { font-size: 16px; }
  .cchw-card p { font-size: 13px; }

  .cchw-faq .cch-wrap { gap: 16px; }
  .cchw-faq__list { padding-top: 0; }
  .cchw-faq details { padding: 18px; border-radius: 16px; }
  .cchw-faq summary h3 { font-size: 15px; }
  .cchw-faq details > p { font-size: 13px; margin-top: 10px; }

  .cchw-cta .cch-cta__in { gap: 14px; padding-top: 34px; padding-bottom: 34px; }
  .cch-page .cchw-cta h2 { font-size: 27px; }
  .cchw-cta p { font-size: 14px; }
  .cchw-cta .cch-cta__btns { min-width: 0; }
}

@media (max-width: 600px) {
  .cchw-hero__in, .cchw-crumbs .cch-wrap, .cchw-assure ul { padding-left: 20px; padding-right: 20px; }
}
@media (min-width: 601px) and (max-width: 960px) {
  .cchw-cards { margin: 0 -32px; padding-left: 32px; padding-right: 32px; }
}
