/* ═══════════════════════════════════════════════════════════
   City Page v3
   Uses the existing tokens in main.css. Nothing new is invented.
   ═══════════════════════════════════════════════════════════ */

/* ── Offer card in the hero ── */
.offer-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: 0 18px 50px rgba(17, 17, 17, .10);
    overflow: hidden;
}
.offer-card-head {
    padding: 26px 26px 18px;
    border-bottom: 1px solid var(--gray-100);
    text-align: center;
}
.offer-card-title {
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    line-height: 1.05;
    margin-bottom: 8px;
}
.offer-card-sub {
    font-size: .875rem;
    line-height: 1.55;
    color: var(--gray-500);
}
.offer-card > form,
.offer-card > div:not(.offer-card-head) { padding: 22px 26px 26px; }

/* ── Trust bar as one sentence ── */
.trust-bar .trust-line {
    text-align: center;
    font-weight: 600;
    font-size: .95rem;
    color: var(--gray-900);
    padding: 4px 0;
    margin: 0;
}

/* ── Section heading block ── */
.sec-head { max-width: 780px; margin-bottom: 44px; }
.sec-head h2 { margin-bottom: 14px; }
.sec-head p { font-size: 1.05rem; line-height: 1.7; color: var(--gray-500); }
.section-dark .sec-head p { color: var(--gray-300); }

/* ── Section closing line ── */
/* Plain text. The yellow rule keeps it reading as a closer rather than body copy. */
.section-cta {
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid var(--gray-200);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--gray-700);
    max-width: 62ch;
}
.section-cta::before {
    content: "";
    display: block;
    width: 26px;
    height: 2px;
    background: var(--yellow);
    margin-bottom: 14px;
}
.section-dark .section-cta {
    border-top-color: rgba(255, 255, 255, .14);
    color: var(--gray-300);
}

/* ── Intro ── */
.section-intro { padding-top: 64px; padding-bottom: 56px; }
.intro-v3 { max-width: 900px; }
.intro-copy .tag { margin-bottom: 14px; }
.intro-lead {
    font-size: 1.16rem;      /* a touch larger than body, so it reads as the lede */
    line-height: 1.78;
    color: var(--gray-700);
}
.intro-lead::first-line { font-weight: 500; }
.intro-area {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 22px;
    padding: 16px 20px;
    background: var(--bone);
    border-left: 3px solid var(--yellow);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: .95rem;
    line-height: 1.65;
    color: var(--gray-700);
}
.intro-area svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--yellow-dark); }

/* ── Steps ── */
.step-card .step-title { margin: 14px 0 8px; font-size: 1.15rem; }
.step-card p { font-size: .95rem; line-height: 1.65; color: var(--gray-500); }

/* ── What you need ── */
.need-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px 40px;
}
.need-item { display: flex; gap: 14px; align-items: flex-start; }
.need-check {
    flex-shrink: 0;
    width: 26px; height: 26px;
    display: grid; place-items: center;
    background: var(--yellow);
    border-radius: 50%;
    margin-top: 2px;
}
.need-check svg { width: 14px; height: 14px; color: var(--black); }
.need-item h3 { font-size: 1.05rem; margin-bottom: 5px; }
.need-item p { font-size: .95rem; line-height: 1.6; color: var(--gray-500); }

/* ── Why us ── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, .12);
}
.why-card { background: var(--charcoal); padding: 30px 28px; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 12px; color: var(--yellow); }
.why-category {
    font-size: .9rem;
    line-height: 1.6;
    color: var(--gray-300);
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px dashed rgba(255, 255, 255, .16);
}
.why-brand { font-size: .97rem; line-height: 1.65; color: var(--white); font-weight: 500; }

/* ── Pricing ── */
.pay-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.pay-list { list-style: none; }
.pay-list li {
    position: relative;
    padding: 0 0 16px 30px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--gray-700);
}
.pay-list li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.pay-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 9px;
    width: 12px; height: 12px;
    background: var(--yellow);
    border-radius: 2px;
    transform: rotate(45deg);
}
.factor-wrap {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.factor-table { width: 100%; border-collapse: collapse; }
.factor-table th {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .02em;
    font-size: .85rem;
    text-align: left;
    padding: 14px 18px;
}
.factor-table td {
    padding: 14px 18px;
    font-size: .93rem;
    line-height: 1.5;
    border-top: 1px solid var(--gray-100);
    color: var(--gray-700);
}
.factor-table tbody tr:nth-child(even) { background: var(--off-white); }
.factor-table td:first-child { font-weight: 600; color: var(--gray-900); width: 45%; }

.price-note {
    margin-top: 34px;
    padding: 20px 24px;
    background: var(--bone);
    border-radius: var(--radius-lg);
    font-size: .97rem;
    line-height: 1.7;
    color: var(--gray-700);
}
.price-note a {
    color: var(--gray-900);
    font-weight: 600;
    border-bottom: 2px solid var(--yellow);
    white-space: nowrap;
}

/* ── Vehicle types ── */
.type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 20px;
}
.type-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-left: 3px solid var(--yellow);
    border-radius: var(--radius);
    padding: 24px 24px 22px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.type-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(17, 17, 17, .08); }
.type-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.type-card p { font-size: .93rem; line-height: 1.6; color: var(--gray-500); }

/* ── FAQ tweaks ── */
.faq-list .section-cta { margin-top: 26px; }

/* ── Final CTA ── */
.final-v3 { text-align: center; }
.final-inner { max-width: 760px; margin: 0 auto; }
.final-inner p {
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--gray-300);
    margin: 18px 0 30px;
}
.final-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-ghost-light {
    border: 1px solid rgba(255, 255, 255, .3);
    color: var(--white);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, .08); }

/* ── Responsive ── */
@media (max-width: 900px) {
    .pay-layout { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 640px) {
    .need-grid { grid-template-columns: 1fr; }
    .offer-card-head { padding: 20px 18px 14px; }
    .offer-card > form,
    .offer-card > div:not(.offer-card-head) { padding: 18px; }
    .why-card { padding: 24px 22px; }
    .section-intro { padding-top: 46px; padding-bottom: 40px; }
}

/* ── Hero without buttons ── */
/* The form is right there and the phone number is in the paragraph,
   so the hero runs H1, paragraph, then social proof. */
.hero-proof {
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid var(--gray-100);
}
.hero-proof .hero-social-proof { margin-bottom: 0; }
@media (max-width: 640px) {
    .hero-proof { margin-top: 24px; padding-top: 20px; }
}

/* ── City highlight in the H1 ── */
/* main.css already colours .hero-city yellow. It also sets display:block on
   mobile, which suited v2 where the city was always the last thing in the H1.
   In v3 the location can sit mid-sentence, so keep it inline at every width. */
.hero-h1 .hero-city { display: inline; }

/* ── Intro with city image ── */
/* Copy 60%, image 40%. minmax(0,...) stops a wide image forcing the grid open. */
.intro-v3.has-image {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 52px;
    align-items: center;
    max-width: none;
}
.intro-figure { margin: 0; }
.intro-figure img {
    display: block;
    width: 100%;
    max-width: 544px;
    aspect-ratio: 544 / 238;   /* never taller than 238px at full width */
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 40px rgba(17, 17, 17, .12);
}
@media (max-width: 900px) {
    .intro-v3.has-image { grid-template-columns: 1fr; gap: 32px; }
    .intro-figure { order: -1; }
    .intro-figure img { max-width: 100%; }
}
