/*
Theme Name: Cash For Scrap Cars Brampton
Theme URI: https://cashforcarsbrampton.ca
Author: Cash For Scrap Cars Brampton
Author URI: https://cashforcarsbrampton.ca
Description: A clean, mobile-first WordPress theme for Cash For Scrap Cars Brampton. Red and white design matching cashforcarsbrampton.ca — bold red header bar, hero with heading, checkmarks and pill buttons on the left and the Get An Offer form box on the right, 3-step process, 8 feature boxes, real reviews, service-area map — with 11 GTA city landing pages, working quote forms, click-to-call buttons and SEO-friendly markup. No plugins required.
Version: 8.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: cash-for-scrap-cars-brampton
Tags: scrap-car-removal, cash-for-cars, responsive, mobile-first, seo-friendly
*/

/* ============ Fonts (Google Fonts, same as the live site) ============ */
/* Be Vietnam Pro (headings) + Roboto (body) are loaded in functions.php. */

/* ============ Tokens (red + white, same design as cashforcarsbrampton.ca) ============ */
:root {
  --teal: #DC2626;
  --teal-dark: #991B1B;
  --teal-mid: #EF4444;
  --teal-soft: #FEE2E2;
  --teal-tint: #FEF2F2;
  --amber: #DC2626;
  --amber-dark: #991B1B;
  --amber-soft: #FEE2E2;
  --pink: #DC2626;
  --pink-soft: #FEF2F2;
  --ink: #1F2937;
  --muted: #4B5563;
  --bg: #FFFFFF;
  --card: #FFFFFF;
  --line: #FECACA;
  --whatsapp: #25D366;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(220, 38, 38, 0.10);
  --shadow-sm: 0 4px 14px rgba(220, 38, 38, 0.08);
  --font-head: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-mid); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--teal); margin: 0 0 12px; }
h1 { font-size: 2.35rem; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section-tint { background: var(--teal-tint); }
.section-warm { background: linear-gradient(180deg, #FEF2F2 0%, #FFF7F7 100%); }
.section-white { background: var(--card); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal-mid); margin-bottom: 10px;
}
.section-head { margin-bottom: 32px; }
.section-head.center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.1rem; color: var(--muted); }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--teal);
  color: #fff; padding: 10px 16px; z-index: 200; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 24px; border-radius: 999px;
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  border: 2px solid transparent; cursor: pointer; text-align: center;
  text-decoration: none; line-height: 1.3; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: #fff; box-shadow: 0 6px 18px rgba(220, 38, 38, 0.35); }
.btn-amber:hover { background: #EF4444; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-mid); }
.btn-outline { background: transparent; border-color: var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal-tint); }
.btn-whatsapp { background: var(--whatsapp); color: #14532D; }
.btn-block { width: 100%; }
.btn svg, .btn .icon { flex: 0 0 auto; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(90deg, #DC2626 0%, #B91C1C 100%);
  border-bottom: none;
  box-shadow: 0 2px 12px rgba(220, 38, 38, 0.30);
}
.header-inner {
  display: flex; align-items: center; gap: 3px;
  min-height: 60px; padding-top: 6px; padding-bottom: 6px;
}
.site-header .container { padding: 0 8px; }
.site-logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; text-decoration: none; }
.site-logo:hover { text-decoration: none; }
.site-logo img { height: 46px; width: auto; border-radius: 8px; }
.site-logo-text { font-family: var(--font-head); font-weight: 800; font-style: italic; color: #fff; line-height: 1.08; font-size: 0.62rem; letter-spacing: 0.01em; }
.site-logo-sub { font-size: 0.5rem; font-weight: 700; font-style: normal; letter-spacing: 0.04em; color: #FEE2E2; }
.main-nav { display: none; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 10px 13px; border-radius: 10px;
  color: #fff; font-weight: 600; font-size: 0.98rem; text-decoration: none;
}
.main-nav a:hover, .main-nav .current-menu-item a { background: rgba(255, 255, 255, 0.18); color: #fff; text-decoration: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.header-call { display: none; min-height: 46px; padding: 8px 16px; font-size: 0.95rem; white-space: nowrap; flex-shrink: 0; background: #fff; color: var(--teal); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18); }
.header-call:hover { background: #FEF2F2; }
.header-call .phone-num { display: none; white-space: nowrap; }
.header-call .call-word { white-space: nowrap; }
.header-quote { min-height: 36px; padding: 6px 7px; font-size: 0.82rem; white-space: nowrap; flex-shrink: 0; background: #fff; color: var(--teal); font-weight: 800; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18); }
.header-quote:hover { background: #FEF2F2; color: var(--teal); }
.header-whatsapp { display: inline-flex; min-height: 36px; padding: 6px 8px; flex-shrink: 0; }
.header-whatsapp .wa-text { display: none; }
.menu-toggle {
  min-width: 36px; min-height: 36px; border: 1.5px solid rgba(255, 255, 255, 0.7); background: transparent;
  border-radius: 12px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.menu-toggle svg { width: 24px; height: 24px; stroke: #fff; }
.mobile-nav { display: none; background: #B91C1C; border-top: 1px solid rgba(255, 255, 255, 0.25); padding: 8px 20px 16px; }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a {
  display: block; padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff; font-weight: 600; text-decoration: none;
}
.mobile-nav a:hover { color: #FEE2E2; text-decoration: none; }

/* ============ Hero ============ */
.hero {
  background:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.92)),
    url("images/hero-bg.webp") center 35% / cover no-repeat;
  padding: 44px 0 52px;
  color: var(--ink);
}
.hero .eyebrow { color: var(--teal); }
.hero h1 { color: var(--ink); font-size: 2.5rem; }
.hero h1 .hl {
  color: var(--teal);
  background: linear-gradient(transparent 62%, var(--amber-soft) 62%);
  padding: 0 4px;
}
.hero-grid { display: grid; gap: 28px; }
.hero-left { display: flex; flex-direction: column; justify-content: center; }
.hero-sub { font-size: 1.12rem; color: var(--muted); max-width: 560px; }
.hero-points { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hero-points li { font-weight: 700; font-size: 1.15rem; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.hero-points li::before {
  content: ""; width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/15px no-repeat;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 8px; }
.hero-actions .btn { border-radius: 999px; padding: 14px 28px; font-size: 1.05rem; }
.btn-dark { background: #1F2937; color: #fff; box-shadow: 0 6px 18px rgba(31, 41, 55, 0.35); }
.btn-dark:hover { background: #374151; color: #fff; }
.hero-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero-media img { width: 100%; height: 240px; object-fit: cover; object-position: center 35%; }
.hero-media figcaption {
  background: var(--teal); color: #fff; font-size: 0.9rem; font-weight: 600;
  padding: 12px 16px; text-align: center;
}

/* ============ Get An Offer box (home page hero, right column) ============ */
.offer-box {
  background: #fff; border: 2px solid var(--teal); border-radius: 24px;
  padding: 28px 26px; box-shadow: 0 14px 36px rgba(220, 38, 38, 0.18);
}
.offer-box h2 { font-size: 1.9rem; margin-bottom: 4px; }
.offer-box-sub { color: var(--muted); font-size: 1.05rem; margin-bottom: 20px; }
.offer-form { display: grid; gap: 14px; }
.offer-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.offer-field label { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 5px; color: var(--ink); }
.offer-field label .req { color: var(--teal); }
.offer-field-label { display: block; font-weight: 600; font-size: 0.92rem; color: var(--muted); margin-bottom: 5px; }
.offer-field input,
.offer-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #D1D5DB; border-radius: 10px;
  font-family: var(--font-body); font-size: 1rem; background: #fff; color: var(--ink);
}
.offer-field textarea { resize: vertical; min-height: 80px; }
.offer-field input:focus,
.offer-field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15); }
.offer-submit { width: 100%; border-radius: 999px; padding: 15px 28px; font-size: 1.1rem; }
.offer-note { color: var(--muted); font-size: 0.92rem; margin-bottom: 0; }
.offer-note a { color: var(--teal); font-weight: 700; }

/* ============ Quote form ============ */
.quote-card {
  background: var(--card); border-radius: 20px; box-shadow: var(--shadow);
  padding: 22px; border: 1px solid var(--line);
}
.quote-card h2 { font-size: 1.35rem; margin-bottom: 4px; }
.quote-card .quote-sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.quote-steps { display: flex; gap: 8px; margin-bottom: 18px; }
.quote-step {
  flex: 1; text-align: center; font-size: 0.8rem; font-weight: 700;
  padding: 8px 4px; border-radius: 999px; background: var(--teal-tint); color: var(--teal-mid);
}
.quote-step.active { background: var(--teal); color: #fff; }
.quote-step.done { background: var(--amber-soft); color: var(--amber-dark); }
.quote-error { display: none; background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; border-radius: 10px; padding: 10px 12px; font-size: 0.92rem; font-weight: 600; margin: 0 0 14px; }
.quote-error.show { display: block; }
.form-row { display: grid; gap: 12px; margin-bottom: 12px; }
.form-row.two { grid-template-columns: 1fr 1fr; }
.form-field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: #fff;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 3px solid rgba(245, 158, 11, 0.35); border-color: var(--amber);
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field .req { color: #C2410C; }
.quote-pane { display: none; }
.quote-pane.active { display: block; }
.quote-nav { display: flex; gap: 10px; margin-top: 16px; }
.quote-nav .btn { flex: 1; }
.quote-fallback { text-align: center; margin: 14px 0 0; font-size: 0.95rem; color: var(--muted); }
.quote-fallback a { font-weight: 700; color: var(--teal); }
.form-note { font-size: 0.85rem; color: var(--muted); text-align: center; margin: 10px 0 0; }
.form-error {
  background: #FEF2F2; border: 1.5px solid #FECACA; color: #991B1B;
  border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; font-weight: 600;
}
.form-success {
  background: #ECFDF5; border: 1.5px solid #A7F3D0; color: #065F46;
  border-radius: 12px; padding: 16px; margin-bottom: 14px; font-weight: 600;
}

/* ============ Trust bar ============ */
.trust-bar { background: var(--teal); color: #fff; padding: 20px 0; }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.98rem; }
.trust-item .t-ico {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14); display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
}

/* ============ Cards & grids ============ */
.cards { display: grid; gap: 18px; align-items: stretch; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.card-body { padding: 20px; flex: 1; }
.card-body h3 { margin-bottom: 6px; }
.card-body p { color: var(--muted); margin-bottom: 0; font-size: 0.98rem; }
/* Amber top edge — the accent used on the new home-page cards. Amber
   (#F59E0B) with the white card keeps the theme's contrast. */
.card-accent { border-top: 4px solid var(--amber); }
.card-img { aspect-ratio: 16/9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--amber); color: #1A1205; font-family: var(--font-head);
  font-size: 1.5rem; font-weight: 800; margin-bottom: 14px;
}
.factor-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--teal-tint); color: var(--teal); font-family: var(--font-head);
  font-size: 1.25rem; font-weight: 800; margin-bottom: 12px;
}

/* ============ Theme icons (v9.29) ============ */
/* Line icons in the theme colours (teal lines, amber accents). The large
   circle is used on the "Why us" and "We buy cars" cards; the small inline
   icon is used in benefit/contact lists; vehicle icons sit inline in the
   "Vehicles we buy" card headings (replacing the emoji). */
.fscr-ico {
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--teal-tint); border: 1px solid var(--teal-soft);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.fscr-ico svg { width: 56px; height: 56px; display: block; }
/* Live-site icon images (same icons as cashforcarsbrampton.ca): keep
   their shape, fit them inside the circle. */
.fscr-ico img { max-width: 64px; max-height: 64px; width: auto; height: auto; display: block; }
/* Step icon (How it works): same circle as .fscr-ico, left-aligned, with
   the step number as a small amber badge on the circle. */
.step-ico {
  position: relative; width: 92px; height: 92px; border-radius: 50%;
  background: var(--teal-tint); border: 1px solid var(--teal-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.step-ico svg { width: 56px; height: 56px; display: block; }
.step-ico img { max-width: 64px; max-height: 64px; width: auto; height: auto; display: block; }
.step-ico .step-num {
  position: absolute; top: -4px; right: -4px; width: 32px; height: 32px;
  font-size: 1rem; margin-bottom: 0;
}
.fscr-ico-sm { display: inline-flex; align-items: center; justify-content: center; flex: none; }
.fscr-ico-sm svg { width: 22px; height: 22px; display: block; }
.card-body h3 svg { width: 26px; height: 26px; vertical-align: -5px; margin-right: 8px; }
.city-card-name { display: inline-flex; align-items: center; gap: 8px; }
.city-card-name svg { width: 18px; height: 18px; flex: none; }
.nearby-list a svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 6px; }
.city-facts ul.icon-list li { padding-left: 0; display: flex; align-items: flex-start; gap: 10px; }
.city-facts ul.icon-list li::before { content: none; }
.icon-list { list-style: none; margin: 0; padding: 0; }
.icon-list li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.icon-list li:last-child { border-bottom: 0; }
.icon-list .fscr-ico-sm { margin-top: 2px; }
.payout-note {
  background: var(--amber-soft); border: 1.5px solid #FCA5A5; border-radius: 14px;
  padding: 16px 18px; margin-top: 20px; font-size: 0.98rem;
}
.payout-note strong { color: var(--amber-dark); }

/* ============ FAQ accordion ============ */
.faq-list { display: grid; gap: 12px; max-width: 780px; }
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: none; border: 0; padding: 18px 20px; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--teal);
}
.faq-q .faq-plus { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--teal-tint); color: var(--teal); font-size: 1.2rem; line-height: 28px; text-align: center; transition: transform .2s ease; }
.faq-item.open .faq-plus { transform: rotate(45deg); background: var(--amber); color: #1A1205; }
.faq-a { display: none; padding: 0 20px 18px; color: var(--muted); }
.faq-item.open .faq-a { display: block; }
.faq-a p:last-child { margin-bottom: 0; }

/* ============ Real customer reviews ============ */
.reviews-summary { text-align: center; margin-bottom: 24px; }
.reviews-summary .stars { font-size: 1.6rem; letter-spacing: 4px; color: var(--amber); }
.reviews-summary p { color: var(--muted); margin: 6px 0 0; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.review-card .stars { color: var(--amber); letter-spacing: 3px; margin-bottom: 10px; }
.review-card blockquote { margin: 0 0 14px; flex: 1; }
.review-card .reviewer { font-weight: 700; }
.reviews-source { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 20px; }
@media (max-width: 900px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .review-grid { grid-template-columns: 1fr; } }

/* ============ Section-head icon (Recycling) ============ */
.section-head-icon { display: flex; align-items: center; gap: 18px; }
.section-head-icon .fscr-ico { margin: 0; flex: none; width: 76px; height: 76px; background: var(--card); }
.section-head-icon .fscr-ico svg { width: 46px; height: 46px; }
.section-head-icon .eyebrow { margin-bottom: 4px; }
@media (max-width: 639px) {
  .section-head-icon { gap: 14px; }
  .section-head-icon .fscr-ico { width: 64px; height: 64px; }
  .section-head-icon .fscr-ico svg { width: 40px; height: 40px; }
}

/* ============ Google logo in reviews summary ============ */
.google-logo { display: inline-block; vertical-align: -5px; width: 22px; height: 22px; margin-right: 6px; }
.google-logo svg { width: 22px; height: 22px; display: block; }

/* ============ Border around reviews ============ */
.reviews-wrap { background: var(--card); border: 2px solid var(--teal); border-radius: var(--radius); padding: 28px 24px; }
.map-wrap { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }
.map-caption { text-align: center; color: var(--muted); font-size: 0.95rem; margin-top: 12px; }
@media (max-width: 639px) {
  .map-wrap iframe { height: 300px; }
}

/* ============ City cards ============ */
.city-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.city-card {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; font-family: var(--font-head); font-weight: 700; color: var(--teal);
  text-decoration: none; box-shadow: var(--shadow-sm);
}
.city-card:hover { border-color: var(--amber); background: var(--amber-soft); text-decoration: none; }
.city-card .arrow { color: var(--amber-dark); font-weight: 800; }

/* ============ CTA band ============ */
.cta-band { background: linear-gradient(120deg, #DC2626 0%, #EF4444 55%, #B91C1C 110%); color: #fff; border-radius: 22px; padding: 36px 26px; text-align: center; box-shadow: 0 10px 28px rgba(220, 38, 38, 0.25); }
.cta-band h2 { color: #fff; font-size: 1.7rem; }
.cta-band p { color: #FEE2E2; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: center; margin-top: 20px; }

/* ============ Page hero (inner pages) ============ */
.page-hero { background: var(--teal-tint); padding: 40px 0 32px; }
.page-hero h1 { margin-bottom: 8px; }
.page-hero p { color: var(--muted); max-width: 640px; margin-bottom: 0; }
.page-content { padding: 44px 0 56px; }
.page-content .container-narrow { max-width: 780px; margin: 0 auto; }
.breadcrumbs { font-size: 0.88rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumbs a { color: var(--teal-mid); font-weight: 600; }

/* ============ City page ============ */
.city-intro { display: grid; gap: 24px; }
.city-facts { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.city-facts h3 { margin-bottom: 12px; }
.city-facts ul { list-style: none; margin: 0; padding: 0; }
.city-facts li { padding: 9px 0 9px 30px; border-bottom: 1px solid var(--line); position: relative; }
.city-facts li:last-child { border-bottom: 0; }
.city-facts li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.nearby-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.nearby-list a {
  display: inline-block; padding: 10px 16px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  font-weight: 600; color: var(--teal); text-decoration: none;
}
.nearby-list a:hover { background: var(--teal-tint); text-decoration: none; }

/* ============ Footer ============ */
.site-footer { background: var(--teal-dark); color: #C7D8CF; margin-top: 0; }
.footer-grid { display: grid; gap: 28px; padding: 48px 0 28px; }
.site-footer h3, .site-footer h4 { color: #fff; font-size: 1.05rem; }
.site-footer a:not(.btn) { color: #E7F1EC; }
.site-footer a:not(.btn):hover { color: var(--amber); }
.footer-links { list-style: none; margin: 0; padding: 0; font-size: 0.92rem; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { text-decoration: none; white-space: nowrap; }
.footer-contact p { margin-bottom: 10px; }
.footer-contact a { font-weight: 700; color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 0 110px; font-size: 0.88rem; text-align: center; color: #9DB8AB;
}
.footer-bottom a { color: #C7D8CF; }

/* ============ Sticky mobile call bar ============ */
.sticky-callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
  display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line);
  box-shadow: 0 -4px 18px rgba(220, 38, 38, 0.12);
}
.sticky-callbar .btn { flex: 1; min-height: 52px; white-space: nowrap; }
body.has-stickybar { padding-bottom: 84px; }

/* ============ Posts / index ============ */
.post-list { display: grid; gap: 18px; }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.post-card h2 { font-size: 1.35rem; }
.post-card h2 a { color: var(--teal); text-decoration: none; }
.post-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 10px; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 28px; }
.pagination a, .pagination span {
  display: inline-block; padding: 10px 16px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--line); font-weight: 600; text-decoration: none;
}
.pagination .current { background: var(--teal); color: #fff; border-color: var(--teal); }

/* ============ Tablet ============ */
@media (min-width: 640px) {
  .cards.two { grid-template-columns: 1fr 1fr; }
  .cards.three { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-actions { flex-direction: row; justify-content: center; }
  .form-row.two-col { grid-template-columns: 1fr 1fr; }
}

/* ============ Desktop ============ */
@media (min-width: 900px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.1rem; }
  .section { padding: 80px 0; }
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 44px; }
  .hero h1 { font-size: 3.3rem; }
  .hero-media img { height: 400px; }
  .main-nav { display: block; margin-left: 12px; }
  .main-nav a { padding: 10px 10px; }
  .menu-toggle, .mobile-nav { display: none; }
  .header-inner { gap: 12px; }
  .site-header .container { padding: 0 20px; }
  .site-logo-text { font-size: 1.15rem; }
  .site-logo-sub { font-size: 0.82rem; }
  .header-call { display: inline-flex; min-height: 46px; }
  .header-call .phone-num { display: inline; }
  .header-call .call-word { display: none; }
  .header-quote { min-height: 46px; padding: 8px 18px; font-size: 0.95rem; }
  .header-whatsapp { min-height: 46px; padding: 8px 14px; }
  .header-whatsapp .wa-text { display: inline; }
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .cards.four { grid-template-columns: repeat(4, 1fr); }
  .city-intro { grid-template-columns: 1.5fr 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.2fr 0.85fr 1.35fr 1.2fr; }
  .footer-bottom { padding-bottom: 20px; }
  .sticky-callbar { display: none; }
  body.has-stickybar { padding-bottom: 0; }
}

/* ============ Mobile — quote form stands out ============ */
/* Phones only (desktop is unchanged). The quote card gets a clear amber
   frame, a warm tinted background and a bolder heading, so it is easy to
   spot on a small screen. The two-column fields also stack, so the
   "Choose a city" select is no longer cut off on narrow phones. */
@media (max-width: 639px) {
  .site-logo-text { font-size: 0.62rem; }
  .site-logo-sub { font-size: 0.5rem; }
  .offer-row { grid-template-columns: 1fr; }
  .offer-box { padding: 24px 20px; }
  .hero-points li { font-size: 1.05rem; }
  .quote-card {
    border: 2px solid var(--amber);
    background: var(--amber-soft);
    box-shadow: 0 10px 28px rgba(220, 38, 38, 0.14);
  }
  .quote-card h2 { font-weight: 800; font-size: 1.5rem; }
  .quote-card .form-row.two { grid-template-columns: 1fr; }
  .fscr-ico { width: 80px; height: 80px; }
  .fscr-ico svg { width: 48px; height: 48px; }
  .fscr-ico img { max-width: 56px; max-height: 56px; }
  .step-ico { width: 80px; height: 80px; }
  .step-ico svg { width: 48px; height: 48px; }
  .step-ico img { max-width: 56px; max-height: 56px; }
}
