/* Cash For Cars Philadelphia - homepage header and banner */
:root{
  --bell-red:#92140C; --bell-red-dk:#6E0F09; --bell-ink:#1E1E24; --bell-navy:#111D4A;
  --bell-gold:#FFD23F; --bell-gold-dk:#F2B705; --bell-paper:#FFFDF6; --bell-line:#D8D3C4; --bell-mute:#5B5B66;
}
.bell-home{background:#f2f2f2}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}

/* ---------- header ---------- */
.bell-top{background:#fff;border-bottom:4px solid var(--bell-red);position:relative;z-index:5}
.bell-top__bar{max-width:1240px;margin:0 auto;padding:14px 20px;display:flex;align-items:center;gap:16px}
.bell-top .cfcp-logo{margin-right:auto;min-width:0}
.bell-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:4px}
.bell-nav a{display:block;font-family:'Archivo',sans-serif;font-size:16px;color:var(--bell-ink);padding:10px 12px;border-radius:8px;text-decoration:none;transition:background .15s,color .15s}
.bell-nav a:hover,.bell-nav a:focus{background:#FFF4CC;color:var(--bell-ink);text-decoration:none}
.bell-nav a.active{font-weight:700;box-shadow:inset 0 -3px 0 var(--bell-gold)}
.bell-nav__phone a.topbtn{margin-left:10px;border:2px solid var(--bell-red);color:var(--bell-red);font-weight:700;font-size:18px;line-height:1.05;text-align:center;padding:8px 16px;border-radius:10px;background:#fff}
.bell-nav__phone a.topbtn span{font-size:12px;letter-spacing:.14em}
.bell-nav__phone a.topbtn:hover,.bell-nav__phone a.topbtn:focus{background:var(--bell-red);color:#fff}
.bell-top__call,.bell-top__menu{display:none}
.bell-top a:focus-visible,.bell-top button:focus-visible{outline:3px solid var(--bell-navy);outline-offset:2px}

/* ---------- banner ---------- */
.bell-stage{position:relative;overflow:hidden;background:
  radial-gradient(1200px 520px at 78% 30%,rgba(255,255,255,.45),rgba(255,255,255,0) 60%),
  linear-gradient(160deg,#FFDB52 0%,var(--bell-gold) 45%,#FFC81F 100%);
  padding:56px 0 0}
.bell-stage__rays{position:absolute;left:-30%;top:-80%;width:110%;aspect-ratio:1;pointer-events:none;
  background:repeating-conic-gradient(from 0deg,rgba(255,255,255,.18) 0 6deg,rgba(255,255,255,0) 6deg 18deg);
  -webkit-mask:radial-gradient(circle,#000 0,rgba(0,0,0,.6) 35%,transparent 68%);mask:radial-gradient(circle,#000 0,rgba(0,0,0,.6) 35%,transparent 68%);
  animation:bell-spin 90s linear infinite}
@keyframes bell-spin{to{transform:rotate(360deg)}}
.bell-stage__wrap{position:relative;z-index:2;max-width:1240px;margin:0 auto;padding:0 20px;display:grid;
  grid-template-columns:minmax(0,1fr) 440px;grid-template-areas:"head card" "tag card" "line card" "dial card" ". card";
  column-gap:56px;align-items:start}
.bell-head{grid-area:head;font-family:'Archivo',sans-serif;font-weight:800;font-size:clamp(44px,5.6vw,76px);line-height:.98;letter-spacing:-.02em;color:var(--bell-ink);margin:18px 0 0}
.bell-head span{display:inline-block;font-weight:400;letter-spacing:-.01em;color:var(--bell-red);position:relative;padding-bottom:10px}
.bell-head span::after{content:"";position:absolute;left:2px;right:-6px;bottom:0;height:12px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C80 2 180 2 298 7' fill='none' stroke='%231E1E24' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  transform-origin:left;animation:bell-ink-in .9s .3s cubic-bezier(.2,.8,.2,1) both}
@keyframes bell-ink-in{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.bell-tag{grid-area:tag;justify-self:start;font-family:'Archivo',sans-serif;font-weight:800;font-size:22px;letter-spacing:.12em;color:#fff;background:var(--bell-red);
  margin:26px 0 0;padding:10px 18px 10px 16px;border-radius:6px;transform:rotate(-2deg);box-shadow:5px 5px 0 var(--bell-ink)}
.bell-line{grid-area:line;font-family:'Archivo',sans-serif;font-size:22px;color:var(--bell-ink);margin:22px 0 0}
.bell-dial{grid-area:dial;justify-self:start;display:inline-flex;align-items:center;gap:12px;margin:22px 0 40px;padding:12px 26px 12px 12px;
  background:var(--bell-ink);color:#fff;border-radius:999px;font-family:'Archivo',sans-serif;font-weight:800;font-size:26px;letter-spacing:.01em;text-decoration:none;
  box-shadow:0 10px 24px -10px rgba(30,30,36,.6);transition:transform .15s,box-shadow .15s}
.bell-dial:hover,.bell-dial:focus{color:#fff;text-decoration:none;transform:translateY(-2px);box-shadow:0 14px 28px -10px rgba(30,30,36,.7)}
.bell-dial:focus-visible{outline:3px solid var(--bell-navy);outline-offset:3px}
.bell-dial__icon{position:relative;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--bell-gold);color:var(--bell-ink)}
.bell-dial__icon::before{content:"";position:absolute;inset:-4px;border-radius:50%;border:2px solid var(--bell-gold);animation:bell-ring 2.4s ease-out infinite}
@keyframes bell-ring{0%{transform:scale(.9);opacity:.9}80%,100%{transform:scale(1.45);opacity:0}}

/* ---------- quote card ---------- */
.bell-card{grid-area:card;position:relative;z-index:3;background:#fff;border-radius:18px;padding:26px 26px 20px;margin-bottom:-70px;
  box-shadow:0 30px 60px -24px rgba(30,30,36,.45),0 0 0 1px rgba(30,30,36,.06);border-top:6px solid var(--bell-red)}
.bell-card__title{font-family:'Archivo',sans-serif;font-weight:800;font-size:26px;color:var(--bell-ink);margin:0;line-height:1.15}
.bell-card__sub{font-family:'Archivo',sans-serif;font-size:15px;color:var(--bell-mute);margin:6px 0 16px}
.bell-mode{display:grid;grid-template-columns:1fr 1fr;background:#F3F1EA;border-radius:12px;padding:4px;margin-bottom:16px}
.bell-mode button{font-family:'Archivo',sans-serif;font-weight:600;font-size:15px;color:var(--bell-ink);background:transparent;border:0;border-radius:9px;min-height:44px;cursor:pointer}
.bell-mode button[aria-checked="true"]{background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.14);color:var(--bell-red)}
.bell-mode button:focus-visible{outline:3px solid var(--bell-navy);outline-offset:1px}
.bell-fields{display:grid;gap:12px}
.bell-fields[hidden]{display:none}
.bell-pick,.bell-vin{position:relative}
.bell-pick label,.bell-vin label{display:block;font-family:'Archivo',sans-serif;font-weight:700;font-size:14px;color:var(--bell-ink);margin:0 0 5px}
.bell-pick__box{position:relative}
.bell-pick input,.bell-vin input{width:100%;height:50px;border:2px solid var(--bell-line);border-radius:11px;padding:0 44px 0 14px;font-family:'Archivo',sans-serif;font-size:17px;color:var(--bell-ink);background:#fff;transition:border-color .15s,box-shadow .15s}
.bell-vin input{padding-right:14px;text-transform:uppercase;letter-spacing:.06em}
.bell-vin input::placeholder{text-transform:none;letter-spacing:0}
.bell-pick input:focus,.bell-vin input:focus{outline:0;border-color:var(--bell-ink);box-shadow:0 0 0 4px rgba(255,210,63,.65)}
.bell-pick.is-off input{background:#F6F5F1;color:#8b8b93;cursor:not-allowed}
.bell-pick.is-bad input,.bell-vin.is-bad input{border-color:#B3261E}
.bell-pick__caret{position:absolute;right:4px;top:4px;width:42px;height:42px;border:0;background:transparent;cursor:pointer}
.bell-pick__caret::after{content:"";position:absolute;left:50%;top:45%;width:9px;height:9px;border-right:2px solid var(--bell-ink);border-bottom:2px solid var(--bell-ink);transform:translate(-50%,-50%) rotate(45deg)}
.bell-pick.is-off .bell-pick__caret{opacity:.35;cursor:not-allowed}
.bell-pick.is-loading .bell-pick__caret::after{border:2px solid #ccc;border-top-color:var(--bell-red);border-radius:50%;width:16px;height:16px;transform:translate(-50%,-50%);animation:bell-spin .8s linear infinite}
.bell-pick ul{position:absolute;left:0;right:0;z-index:20;max-height:248px;overflow:auto;margin:4px 0 0;padding:6px;list-style:none;background:#fff;border:2px solid var(--bell-ink);border-radius:12px;box-shadow:0 18px 36px -12px rgba(0,0,0,.35)}
.bell-pick li{font-family:'Archivo',sans-serif;font-size:16px;padding:10px 12px;border-radius:8px;cursor:pointer;color:var(--bell-ink)}
.bell-pick li.is-active,.bell-pick li:hover{background:#FFF1BF}
.bell-pick li[aria-selected="true"]{font-weight:700}
.bell-pick li.is-empty{color:var(--bell-mute);cursor:default;background:none}
.bell-vin__label{display:flex;justify-content:space-between;align-items:baseline}
.bell-help{font-family:'Archivo',sans-serif;font-size:14px;font-weight:600;color:var(--bell-navy);background:none;border:0;padding:6px 0;text-decoration:underline;text-underline-offset:3px;cursor:pointer;min-height:32px}
.bell-msg{font-family:'Archivo',sans-serif;font-size:14px;color:#B3261E;margin:4px 0 0;min-height:0}
.bell-msg:empty{display:none}
.bell-go{width:100%;margin-top:18px;min-height:56px;display:flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:12px;background:var(--bell-red);color:#fff;
  font-family:'Archivo',sans-serif;font-weight:800;font-size:20px;letter-spacing:.01em;cursor:pointer;box-shadow:0 6px 0 var(--bell-red-dk);transition:transform .12s,box-shadow .12s,background .15s}
.bell-go:hover{background:#A3180F}
.bell-go:active{transform:translateY(4px);box-shadow:0 2px 0 var(--bell-red-dk)}
.bell-go:focus-visible{outline:3px solid var(--bell-navy);outline-offset:3px}
.bell-go svg{transition:transform .15s}
.bell-go:hover svg{transform:translateX(4px)}
.bell-status{font-family:'Archivo',sans-serif;font-size:14px;color:#B3261E;margin:10px 0 0}
.bell-status:empty{display:none}
.bell-card__note{font-family:'Archivo',sans-serif;font-size:13px;color:var(--bell-mute);text-align:center;margin:12px 0 0}

/* ---------- skyline scene ---------- */
.bell-scene{position:relative;z-index:1;height:170px;margin-top:-6px}
.bell-scene svg{position:absolute;inset:0;width:100%;height:100%;display:block}
.bell-scene__far{opacity:.55}
.bell-scene__lights rect{animation:bell-twinkle 5s ease-in-out infinite}
.bell-scene__lights rect:nth-child(3n){animation-delay:1.6s}
.bell-scene__lights rect:nth-child(3n+1){animation-delay:3.1s}
@keyframes bell-twinkle{0%,100%{opacity:.25}50%{opacity:1}}
.bell-scene__lane{animation:bell-lane 1.1s linear infinite}
@keyframes bell-lane{to{stroke-dashoffset:-48}}
.bell-scene__rig{animation:bell-drive 22s linear infinite}
@keyframes bell-drive{from{transform:translateX(-300px)}to{transform:translateX(1500px)}}
.bell-scene__wheel{animation:bell-spin .7s linear infinite}
.bell-scene__bill{opacity:0;animation:bell-cash 3.6s ease-out infinite}
.bell-scene__bill.b2{animation-delay:1.2s}
.bell-scene__bill.b3{animation-delay:2.4s}
@keyframes bell-cash{0%{opacity:0;transform:translate(0,10px) rotate(0)}15%{opacity:1}70%{opacity:.9}100%{opacity:0;transform:translate(-30px,-70px) rotate(-18deg)}}

/* content below the banner breathes around the overlapping card */
.bell-home .philadelphia-text-section{padding-top:30px}

/* ---------- VIN help sheet (shared look) ---------- */
.cfcp-locked{overflow:hidden}
.cfcp-sheet{position:fixed;inset:0;z-index:1000;background:rgba(17,29,74,.55);display:flex;align-items:center;justify-content:center;padding:16px}
.cfcp-sheet[hidden]{display:none}
.cfcp-sheet__panel{position:relative;background:#fff;border-radius:18px;max-width:560px;width:100%;max-height:calc(100vh - 32px);overflow:auto;padding:28px;font-family:'Archivo',sans-serif;color:var(--bell-ink);box-shadow:0 30px 70px rgba(0,0,0,.35)}
.cfcp-sheet h2{font-family:'Archivo',sans-serif;font-weight:800;font-size:24px;margin:0 40px 10px 0;color:var(--bell-ink)}
.cfcp-sheet h3{font-family:'Archivo',sans-serif;font-weight:700;font-size:15px;margin:14px 0 6px;color:var(--bell-red);text-transform:uppercase;letter-spacing:.08em}
.cfcp-sheet p,.cfcp-sheet li{font-size:16px;line-height:1.5}
.cfcp-sheet ul{padding-left:20px;margin:0}
.cfcp-sheet__sample code{font-size:16px;background:#FFF4CC;color:var(--bell-ink);padding:3px 8px;border-radius:6px;letter-spacing:.06em}
.cfcp-sheet__cols{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.cfcp-sheet__x{position:absolute;right:14px;top:14px;width:44px;height:44px;border-radius:50%;border:0;background:#F3F1EA;cursor:pointer}
.cfcp-sheet__x::before,.cfcp-sheet__x::after{content:"";position:absolute;left:13px;top:21px;width:18px;height:2px;background:var(--bell-ink);transform:rotate(45deg)}
.cfcp-sheet__x::after{transform:rotate(-45deg)}
.cfcp-sheet__go{margin-top:20px;width:100%;min-height:52px;border:0;border-radius:12px;background:var(--bell-ink);color:#fff;font-family:'Archivo',sans-serif;font-weight:700;font-size:17px;cursor:pointer}
.cfcp-sheet__go:focus-visible,.cfcp-sheet__x:focus-visible{outline:3px solid var(--bell-gold);outline-offset:2px}

/* ---------- tablet ---------- */
@media (max-width:1100px){
  .bell-nav a{font-size:15px;padding:10px 8px}
  .bell-stage__wrap{grid-template-columns:minmax(0,1fr) 400px;column-gap:32px}
}
@media (max-width:991px){
  .bell-top__bar{flex-wrap:wrap}
  .bell-top__call{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border:2px solid var(--bell-red);border-radius:10px;color:var(--bell-red);font-family:'Archivo',sans-serif;font-weight:700;font-size:16px;text-decoration:none}
  .bell-top__call:hover,.bell-top__call:focus{color:#fff;background:var(--bell-red);text-decoration:none}
  .bell-top__menu{display:inline-grid;place-items:center;width:46px;height:46px;border:0;border-radius:10px;background:var(--bell-ink);cursor:pointer}
  .bell-top__bars,.bell-top__bars::before,.bell-top__bars::after{display:block;width:20px;height:2px;background:#fff;border-radius:2px;position:relative}
  .bell-top__bars::before,.bell-top__bars::after{content:"";position:absolute;left:0}
  .bell-top__bars::before{top:-6px}.bell-top__bars::after{top:6px}
  .bell-nav{display:none;width:100%}
  .bell-nav.is-open{display:block}
  .bell-nav ul{flex-direction:column;align-items:stretch;padding:8px 0 4px}
  .bell-nav a{font-size:17px;padding:12px 10px}
  .bell-nav__phone{display:none}
  .bell-stage{padding-top:28px}
  .bell-stage__wrap{grid-template-columns:1fr;grid-template-areas:"head" "card" "tag" "line" "dial";max-width:640px}
  .bell-card{margin:22px 0 0}
  .bell-dial{margin-bottom:28px}
  .bell-scene{height:130px}
}
/* ---------- phone ---------- */
@media (max-width:600px){
  .bell-top__bar{padding:10px 16px;gap:10px}
  .bell-top__call span{display:none}
  .bell-top .cfcp-logo{gap:8px}
  .bell-top .cfcp-logo__mark{width:40px;height:40px}
  .bell-top .cfcp-logo__top{font-size:18px}
  .bell-top .cfcp-logo__city{font-size:11px;letter-spacing:.3em;margin-top:3px;padding-top:3px}
  .bell-top__call{width:46px;padding:0;justify-content:center}
  .bell-stage{padding-top:18px}
  .bell-stage__wrap{padding:0 16px}
  .bell-head{font-size:34px;margin-top:0;line-height:1}
  .bell-head span{padding-bottom:6px}
  .bell-card{padding:18px 16px 16px;border-radius:16px;margin-top:14px}
  .bell-card__title{font-size:21px}
  .bell-card__sub{font-size:15px;margin-bottom:12px}
  .bell-mode{margin-bottom:12px}
  .bell-fields{gap:10px}
  .bell-tag{font-size:18px;margin-top:24px}
  .bell-line{font-size:19px}
  .bell-dial{font-size:22px}
  .bell-scene{height:104px}
  .cfcp-sheet{align-items:flex-end;padding:0}
  .cfcp-sheet__panel{border-radius:18px 18px 0 0;max-height:88vh;padding:24px 18px}
  .cfcp-sheet__cols{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  .bell-stage__rays,.bell-dial__icon::before,.bell-scene__lights rect,.bell-scene__lane,.bell-scene__wheel,.bell-scene__bill,.bell-head span::after{animation:none}
  .bell-scene__rig{animation:none;transform:translateX(560px)}
  .bell-scene__bill{opacity:0}
  .bell-go,.bell-dial,.bell-go svg{transition:none}
}

/* city pages: one-line H1 with the place name on its own line */
.bell-city .bell-head span{display:block}
.bell-city .bell-head{font-size:clamp(40px,5vw,68px)}
@media (max-width:600px){.bell-city .bell-head{font-size:31px}}
