/* =====================================================================
   styles_yp.css  —  carbon-copy YP rebuild stylesheet (2026-05-24)
   Loaded AFTER styles.css so it overrides the bloated 2026-05-04 header.
   Mirrors the proportions of the real Yellow Pages site (compact brand
   strip + slim black nav band + testimonial-overlay hero on sub-pages).
   ===================================================================== */

:root {
  --yp-red:    #E63A2A;    /* matches the YP arrows-logo red */
  --yp-ink:    #1A1A1A;
  --yp-amber:  #FFD400;
  --yp-cream:  #FCFCFC;
  --yp-line:   #E5E5E5;
  --yp-muted:  #6A6A6A;
  --yp-paper:  #F6F2EC;
  --yp-max:    1300px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #2A2A2A;
  background: #fff;
  line-height: 1.55;
  font-size: 16px;
}
h1, h2, h3, h4 {
  font-family: 'Anton', 'Poppins', sans-serif;
  font-weight: 400;
  letter-spacing: .5px;
  color: var(--yp-ink);
}
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
.skip { position: absolute; top: -40px; left: 12px; background: var(--yp-ink); color: #fff; padding: 8px 14px; border-radius: 4px; z-index: 200; }
.skip:focus { top: 12px; }

/* =====================================================================
   COMPACT HEADER (matches YP — ~120-150px tall brand strip + slim nav)
   ===================================================================== */
.yp-header {
  background: #fff;
  position: relative;
  z-index: 10;
}
/* 2026-07-09 (Victor item 1) — the banner photo was too small and floated above
   the nav on a 14px cushion. On the live site the strip is TALLER and the photo's
   bottom edge rests directly on the navigation bar. So: bottom-align the row,
   drop the bottom padding to 0, and give the banner column more width. */
.yp-brand-strip {
  display: grid;
  grid-template-columns: 260px 1fr 180px;
  align-items: end;
  gap: 16px;
  max-width: var(--yp-max);
  margin: 0 auto;
  padding: 8px 24px 0;
  overflow: hidden;   /* clip the banner overflow at the header's edges */
}
/* Big arrows logo — left (bumped per Victor 2026-05-24) */
.yp-brand-logo { display: block; align-self: center; }
.yp-brand-logo img {
  width: 290px;
  max-width: 100%;
  height: auto;
  display: block;
}
/* Line-of-movers banner — middle. Source is 1264x328 (ratio 3.854).
   2026-07-09 (Victor item 1): bottom-flush against the nav, no cushion, and
   allowed to grow taller. Never force-crop it — the whole strip must show. */
.yp-brand-banner {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.yp-brand-banner img {
  height: 285px;          /* matches the live figure height; bottom sits on the nav */
  width: auto;
  max-width: none;        /* the strip is 3.854:1 — let it overflow its column */
  display: block;
  margin-bottom: 0;
}
/* The banner is wider than its grid column and overflows both ways. Its
   background is white, like the header, so the overlap is invisible — but the
   logo and the phone/SD column must stay ON TOP of it. */
.yp-brand-banner { overflow: visible; min-width: 0; }
.yp-brand-logo, .yp-brand-side { position: relative; z-index: 2; }
/* Phone pill + SD badge — right (SD shrunk per Victor 2026-05-24).
   2026-07-09 — on the live site the phone pill hugs the TOP and the SD badge
   sits at the BOTTOM, level with the banner's base. Stretch + space-between. */
.yp-brand-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  align-self: stretch;
  padding-bottom: 6px;
  gap: 12px;
}
.yp-brand-phone {
  display: inline-flex;
  align-items: center;
  background: var(--yp-ink);
  color: #fff;
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0,0,0,.12);
}
.yp-brand-phone strong { color: var(--yp-amber); margin-right: 4px; }
.yp-brand-sd {
  width: 66px;
  height: auto;
  object-fit: contain;
  background: #fff;
}

/* Black nav band */
.yp-nav {
  background: var(--yp-ink);
  border-top: 1px solid #2a2a2a;
}
.yp-nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  max-width: var(--yp-max);
  margin: 0 auto;
  flex-wrap: wrap;
}
.yp-nav-links li { display: flex; }
.yp-nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 14px 18px;
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .2px;
  transition: background .15s ease, color .15s ease;
}
.yp-nav-links a:hover {
  background: #2a2a2a;
  color: var(--yp-amber);
}
.yp-nav-links a.active {
  background: var(--yp-amber);
  color: var(--yp-ink);
}
.yp-nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none;
  color: #fff;
  border: 0;
  margin: 4px auto;
  cursor: pointer;
}
.yp-nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 940px) {
  .yp-brand-strip {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px;
    padding: 10px 12px;
  }
  .yp-brand-logo img { margin: 0 auto; max-width: 220px; }
  .yp-brand-banner { max-width: 560px; margin: 0 auto; }
  .yp-brand-side { flex-direction: row; justify-content: center; }
  .yp-nav-links {
    display: none;
    flex-direction: column;
    padding: 6px 0;
  }
  .yp-nav-links.open { display: flex; }
  .yp-nav-links a { padding: 12px 18px; justify-content: center; }
  .yp-nav-toggle { display: flex; }
}

/* =====================================================================
   HERO with testimonial overlay (sub-pages — matches YP pattern)
   ===================================================================== */
.yp-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 540px;
  display: flex;
  align-items: center;
  padding: 60px 24px;
}
/* Lighter overlay per Victor 2026-05-24 — was .45/.55, now .22/.32
   so the YP background photo reads brighter. */
.yp-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.32) 100%);
}
.yp-hero-overlay {
  position: relative;
  max-width: 640px;
  margin: 0 auto 0 8%;
  background: rgba(26,26,26,.55);
  padding: 36px 40px;
  color: #fff;
  border-radius: 4px;
}
.yp-hero-eyebrow {
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 12px;
  color: #fff;
  font-family: 'Anton', sans-serif;
  letter-spacing: .5px;
}
.yp-hero-stars {
  color: var(--yp-amber);
  font-size: 22px;
  letter-spacing: 4px;
  margin-bottom: 16px;
}
.yp-hero-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
}
.yp-hero-quote p {
  margin: 0 0 10px;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.95);
  font-style: italic;
}
.yp-hero-author {
  margin-top: 14px;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

@media (max-width: 940px) {
  .yp-hero { min-height: 460px; padding: 40px 16px; }
  .yp-hero-overlay { margin: 0 auto; padding: 24px 22px; }
}

/* =====================================================================
   HOMEPAGE HERO (intro paragraphs + photo)
   ===================================================================== */
.yp-home-hero {
  padding: 64px 24px;
  background: #fff;
}
/* Adjusted text-vs-photo balance per Victor 2026-05-24 — photo column
   narrower (1.7fr vs 1fr) and capped at 380px so the H1 has room to
   sit on a single line at desktop width. */
.yp-home-hero-inner {
  max-width: var(--yp-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 48px;
  align-items: center;
}
/* H1 tightened to YP's actual 34px (clamp added for mobile down-scale). */
.yp-home-hero-text h1 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
  margin: 0 0 18px;
  color: var(--yp-ink);
}
.yp-home-hero-text p {
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 14px;
  color: #2A2A2A;
}
.yp-home-hero-text a {
  color: var(--yp-red);
  text-decoration: underline;
}
/* Photo capped so it stops fighting the H1 for column space. */
.yp-home-hero-photo {
  display: flex;
  justify-content: flex-end;
}
.yp-home-hero-photo img {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: 2px;
}
@media (max-width: 940px) {
  .yp-home-hero-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* =====================================================================
   PHOTO GALLERY band (dark strip of moving photos — matches YP homepage)
   ===================================================================== */
.yp-gallery { background: #2b2b2b; padding: 14px; }
.yp-gallery-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.yp-gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}
@media (max-width: 940px) { .yp-gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .yp-gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================================
   OUR SERVICES band (homepage — photo background + list)
   ===================================================================== */
.yp-services-band {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 24px;
  color: #fff;
}
/* Lighter overlay per Victor 2026-05-24 — was .7/.5, now .45/.28
   so the YP "smiling worker next to van" background shows brighter. */
.yp-services-band-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,.45) 0%, rgba(26,26,26,.28) 100%);
}
.yp-services-band-inner {
  position: relative;
  max-width: 540px;
  margin: 0 0 0 6%;
  text-align: left;
  background: rgba(38,42,48,.72);
  padding: 34px 40px;
  border-radius: 4px;
}
.yp-services-band-inner h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 36px);
  margin: 0 0 10px;
}
.yp-services-band-inner > p { font-size: 17px; margin: 0 0 22px; }
.yp-services-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}
.yp-services-list a {
  display: block;
  color: #fff;
  padding: 8px 0;
  font-size: 17px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.18);
  transition: color .15s ease;
}
.yp-services-list a:hover { color: var(--yp-amber); }
.yp-tip-cta {
  display: block;
  background: rgba(18,20,24,.85);
  color: #fff;
  padding: 14px 22px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  transition: background .15s ease;
}
.yp-tip-cta:hover { background: var(--yp-red); }
@media (max-width: 640px) { .yp-services-list { grid-template-columns: 1fr; } }

/* =====================================================================
   OUR PROMISE 4-up
   ===================================================================== */
.yp-promise-section {
  padding: 72px 24px;
  background: #414b57;
}
.yp-promise-section .yp-section-h2-centered { color: #fff; }
.yp-section-h2-centered {
  text-align: center;
  font-size: clamp(28px, 4vw, 36px);
  margin: 0 0 36px;
  color: var(--yp-ink);
}
.yp-promise-grid {
  max-width: var(--yp-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.yp-promise-card {
  text-align: center;
  padding: 18px 14px;
}
/* Promise icons bumped + given a subtle ring so they're visually unambiguous
   per Victor 2026-05-24 (he reported 3 of the 4 appeared "missing"). */
.yp-promise-card img {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  object-fit: contain;
  display: block;
}
.yp-promise-card h3 {
  font-size: 22px;
  margin: 0 0 8px;
  color: #fff;
  font-family: 'Anton', sans-serif;
  font-weight: 400;
}
.yp-promise-card p {
  color: rgba(255,255,255,.85);
  font-size: 15.5px;
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 940px) { .yp-promise-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .yp-promise-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   Single-testimonial band (homepage — photo background)
   ===================================================================== */
/* Testimonial band reworked 2026-05-24 — the old white-on-blurred-photo
   pattern hid the photo and looked washed out. Now uses the same
   dark-translucent-card-on-sharp-photo pattern as sub-page heroes,
   so the background actually shows through. Photo bg is set inline
   on the section element (build script switches to a higher-res image). */
.yp-testimonial-band {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 72px 24px;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.yp-testimonial-band::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.40) 100%);
}
.yp-testimonial-overlay {
  position: relative;
  max-width: 660px;
  margin: 0 auto;
  background: rgba(26,26,26,.62);
  padding: 32px 36px;
  border-radius: 4px;
  text-align: center;
  color: #fff;
}
.yp-testimonial-overlay .yp-section-h2-centered {
  color: #fff;
  margin-bottom: 14px;
}
.yp-testimonial-google { margin-bottom: 6px; }
.yp-testimonial-google img.yp-google-logo {
  width: 60px;
  height: auto;
  margin: 0 auto;
  display: block;
}
.yp-testimonial-overlay .yp-hero-stars {
  color: var(--yp-amber);
  text-align: center;
  margin: 6px 0 12px;
}
.yp-testimonial-overlay .yp-hero-title {
  color: #fff;
  font-size: 22px;
  margin-bottom: 12px;
}
.yp-testimonial-quote {
  font-style: italic;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255,255,255,.94);
  margin: 0 0 14px;
}
.yp-testimonial-overlay .yp-hero-author {
  color: #fff;
  margin-top: 12px;
}

/* =====================================================================
   MOVING TIPS 4-tile
   ===================================================================== */
.yp-tips-section {
  padding: 72px 24px;
  background: #fff;
}
.yp-tips-grid {
  max-width: var(--yp-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.yp-tip-tile {
  display: block;
  text-decoration: none;
  color: var(--yp-ink);
  transition: transform .15s ease;
}
.yp-tip-tile:hover { transform: translateY(-3px); }
.yp-tip-tile img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 12px;
}
.yp-tip-tile span {
  display: block;
  text-align: center;
  text-decoration: underline;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--yp-ink);
}
.yp-tip-tile:hover span { color: var(--yp-red); }
@media (max-width: 940px) { .yp-tips-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .yp-tips-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   3-CARD CTA ROW
   ===================================================================== */
.yp-3cta {
  padding: 72px 24px;
  background: #fff;
  max-width: var(--yp-max);
  margin: 0 auto;
}
.yp-3cta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.yp-3cta-card {
  text-align: center;
  border: 1px solid var(--yp-line);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
}
.yp-3cta-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 16px;
}
.yp-3cta-card h3 {
  font-size: 22px;
  margin: 4px 18px 8px;
  font-family: 'Anton', sans-serif;
  font-weight: 400;
}
.yp-3cta-card p {
  margin: 0 18px 18px;
  color: #444;
  font-size: 15.5px;
  flex: 1;
}
.yp-3cta-btn {
  display: inline-block;
  margin: 0 auto;
  padding: 10px 22px;
  background: var(--yp-ink);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  transition: background .15s ease;
}
.yp-3cta-btn:hover { background: var(--yp-red); }
@media (max-width: 940px) { .yp-3cta { grid-template-columns: 1fr; } }

/* =====================================================================
   Facebook strip (homepage bottom)
   ===================================================================== */
.yp-fb-strip {
  background: var(--yp-ink);
  color: #fff;
  text-align: center;
  padding: 56px 24px;
}
.yp-fb-strip h4 {
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  margin: 0 0 8px;
}
.yp-fb-strip p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 16px;
}

/* =====================================================================
   SUB-PAGE SECTIONS (H1+intro+side photo, H2+bullets, etc.)
   ===================================================================== */
.yp-section {
  padding: 64px 24px;
  background: #fff;
}
.yp-section-narrow { background: #fff; }
.yp-section-inner {
  max-width: var(--yp-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.yp-section-narrow .yp-section-inner {
  grid-template-columns: 1fr;
  max-width: 880px;
}
.yp-section + .yp-section { padding-top: 0; }

.yp-section-text h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 20px;
  color: var(--yp-ink);
}
.yp-section-text h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 24px 0 14px;
  color: var(--yp-ink);
}
.yp-section-text h3 {
  font-size: 20px;
  margin: 18px 0 10px;
  color: var(--yp-ink);
}
.yp-section-text p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.65;
  color: #2A2A2A;
}
.yp-bullets {
  margin: 12px 0 18px;
  padding-left: 24px;
}
.yp-bullets li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.55;
  color: #2A2A2A;
}
.yp-section-photo img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,.14);
}
@media (max-width: 940px) {
  .yp-section-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* =====================================================================
   QUOTE / CONTACT FORM
   ===================================================================== */
.yp-form { max-width: 760px; margin: 6px 0 0; }
.yp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
}
.yp-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
}
.yp-form input,
.yp-form select,
.yp-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  color: #222;
  background: #fff;
}
.yp-form input:focus,
.yp-form select:focus,
.yp-form textarea:focus {
  outline: none;
  border-color: var(--yp-red);
  box-shadow: 0 0 0 3px rgba(230,58,42,.15);
}
.yp-form textarea { resize: vertical; }
.yp-form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.yp-form-btn {
  display: inline-block;
  margin-top: 6px;
  padding: 13px 36px;
  border: 0;
  cursor: pointer;
  background: var(--yp-red);
  color: #fff;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .5px;
  transition: background .15s ease;
}
.yp-form-btn:hover { background: #C42A1C; }
.yp-form-btn:disabled { opacity: .55; cursor: default; }
.yp-form-status {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 600;
  min-height: 1.2em;
}
.yp-form-status.ok  { color: #1a7f37; }
.yp-form-status.err { color: #b3261e; }
@media (max-width: 640px) { .yp-form-row { grid-template-columns: 1fr; } }

/* =====================================================================
   CTA strip (white-paper-texture pattern from YP)
   ===================================================================== */
.yp-cta-strip {
  background: var(--yp-paper);
  padding: 56px 24px;
}
.yp-cta-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  border: 3px solid #E8C11A;
  border-radius: 4px;
  padding: 34px 30px;
  background: rgba(255,255,255,.35);
}
.yp-cta-inner h2 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 3.6vw, 32px);
  margin: 0 0 10px;
  color: var(--yp-ink);
}
.yp-cta-inner p {
  margin: 0 0 22px;
  font-size: 16.5px;
  color: #2A2A2A;
}
.yp-cta-btn {
  display: inline-block;
  background: #F5A623;
  color: #1A1A1A;
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .5px;
  transition: background .15s ease, transform .15s ease;
}
.yp-cta-btn:hover { background: #E0921A; transform: translateY(-1px); }

/* =====================================================================
   FOOTER (matches YP — address + hours + service area + copyright)
   ===================================================================== */
.yp-footer {
  background: var(--yp-ink);
  color: rgba(255,255,255,.82);
  padding: 48px 24px 20px;
}
.yp-footer-inner {
  max-width: var(--yp-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.yp-footer-logo img {
  width: 160px;
  height: auto;
  background: #fff;
  padding: 8px;
  border-radius: 6px;
}
.yp-footer-col h4 {
  color: #fff;
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: 1px;
  font-family: 'Anton', sans-serif;
  font-weight: 400;
}
.yp-footer-col p {
  margin: 0 0 8px;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.82);
}
.yp-footer-col a {
  color: var(--yp-amber);
  text-decoration: none;
}
.yp-footer-col a:hover { text-decoration: underline; }
.yp-footer-bottom {
  max-width: var(--yp-max);
  margin: 28px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
  text-align: center;
  color: rgba(255,255,255,.6);
}
@media (max-width: 940px) {
  .yp-footer-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .yp-footer-logo img { margin: 0 auto; }
}

/* =====================================================================
   2026-07-09 — Victor's review fixes (items 2, 9)
   ===================================================================== */

/* Contact Us — sub-headings + inline Interac mark (item 9).
   The source PNG is 38x38; never scale it up. */
.yp-contact-sub {
  font-size: 17px;
  font-weight: 800;
  margin: 22px 0 6px;
  color: var(--yp-ink);
}
.yp-payment-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.yp-interac-inline {
  width: 26px; height: 26px;
  max-width: 26px;          /* never blown up — it is a 38px source */
  vertical-align: middle;
  display: inline-block;
}

/* Moving Tips — the three article link boxes (item 2).
   Grey outer frame + dark inner plate + centred white label, per the YP page. */
.yp-tip-links { max-width: var(--yp-max); margin: 0 auto; padding: 34px 24px 10px; }
.yp-tip-link {
  display: block;
  background: #9a9a9a;
  padding: 22px;
  margin: 0 auto 24px;
  max-width: 780px;
  text-decoration: none;
}
.yp-tip-link span {
  display: block;
  background: var(--yp-ink);
  color: #fff;
  text-align: center;
  padding: 26px 18px;
  font-size: 17px;
  letter-spacing: .2px;
}
.yp-tip-link:hover span { background: #000; }
.yp-tip-link:focus-visible { outline: 3px solid var(--yp-red); outline-offset: 3px; }

/* Moving Tips — alternating content bands */
.yp-tip-band { padding: 46px 0; }
.yp-tip-band.alt { background: #f0f0f0; }
.yp-tip-band-inner { max-width: 980px; margin: 0 auto; padding: 0 24px; }
.yp-tip-band h2 { font-size: 22px; margin: 0 0 14px; }
.yp-tip-band ul { margin: 14px 0 0; padding-left: 22px; }
.yp-tip-band li { margin-bottom: 12px; line-height: 1.6; }

/* Centred intro (title + one-line subtitle) above the 4 tiles */
.yp-tips-intro { text-align: center; padding: 40px 24px 6px; }
.yp-tips-intro h1 { margin: 0 0 10px; }
.yp-tips-intro p { margin: 0; }

/* Home hero — item 6. Narrower centred container, H1 spanning above the two
   columns, photo top-aligned beside the narrative (matches the live page). */
.yp-home-hero { padding: 54px 24px 60px; }
.yp-home-hero-title {
  max-width: 1040px;
  margin: 0 auto 20px;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.2;
}
.yp-home-hero-inner {
  max-width: 1040px;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: start;
}
.yp-home-hero-photo { justify-content: flex-end; }
.yp-home-hero-photo img { max-width: 400px; }

/* Office Moves — item 3/4: full-width intro + grey photo-left band. */
.yp-section-text-full { grid-column: 1 / -1; }
.yp-section-grey { background: #f0f0f0; }
.yp-section-photo-left .yp-section-photo { order: -1; }
.yp-section-photo-left { align-items: center; }

/* Inline text links inside narratives (bold + underlined, like the original) */
.yp-inline-link {
  color: var(--yp-red);
  font-weight: 700;
  text-decoration: underline;
}

/* Mobile: the header banner must not keep its fixed 285px height (it is 3.854:1,
   so it would overflow the screen). Fall back to fluid width. */
@media (max-width: 940px) {
  .yp-brand-strip { overflow: hidden; align-items: center; padding: 10px 12px; }
  .yp-brand-banner img { height: auto; width: 100%; max-width: 100%; }
  .yp-brand-side { align-self: auto; padding-bottom: 0; }
  .yp-home-hero-title { font-size: 24px; }
  .yp-section-photo-left .yp-section-photo { order: 0; }
}

/* The grid overrides above are declared AFTER the original @media block, so at
   equal specificity they won on mobile too and the columns never collapsed.
   Re-assert the single-column layout here, last, so it wins. */
@media (max-width: 940px) {
  .yp-brand-strip { grid-template-columns: 1fr; }
  .yp-brand-logo img { margin: 0 auto; max-width: 220px; }
  .yp-brand-banner { max-width: 560px; margin: 0 auto; }
  .yp-brand-side { flex-direction: row; justify-content: center; }
  .yp-home-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .yp-home-hero-photo { justify-content: center; }
  .yp-home-hero-photo img { max-width: 100%; }
}

/* Nothing may scroll the page sideways on a phone. */
html, body { overflow-x: hidden; max-width: 100%; }
@media (max-width: 940px) {
  .yp-tips-intro h1 { font-size: 26px; }
  .yp-tip-band-inner, .yp-tip-links { padding-left: 16px; padding-right: 16px; }
}

/* The old mobile rule pinned the banner to 560px — wider than a 390px phone,
   which widened <body> and pushed the page text off-screen. Cap it to the
   viewport. This must be the LAST word on the banner width. */
@media (max-width: 940px) {
  .yp-brand-banner { max-width: 100%; margin: 0 auto; }
  .yp-brand-banner img { height: auto; width: 100%; max-width: 100%; }
  .yp-brand-strip > * { min-width: 0; }
}

/* =====================================================================
   2026-07-11 — Phase 3 pre-launch (Victor #7): loud quote CTA, sticky
   mobile call/quote bar, and an above-the-fold trust/proof bar.
   ===================================================================== */

/* (1) Loud "Get a Free Quote" button sitting in the black nav band. */
.yp-nav-cta a {
  background: var(--yp-red);
  color: #fff !important;
  border-radius: 999px;
  margin: 6px 12px;
  padding: 10px 22px !important;
  font-weight: 800;
  letter-spacing: .3px;
  box-shadow: 0 2px 8px rgba(0,0,0,.28);
}
.yp-nav-cta a:hover { background: #C42A1C; color: #fff !important; }
.yp-nav-cta a.active { background: #C42A1C; color: #fff !important; }

/* (1b) Sticky call / quote bar — phones only. Complements the nav CTA,
   which is hidden inside the collapsed hamburger menu on mobile. */
.yp-mobilebar { display: none; }
@media (max-width: 940px) {
  .yp-mobilebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 120;
    box-shadow: 0 -2px 12px rgba(0,0,0,.22);
  }
  .yp-mobilebar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 8px;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: .3px;
    color: #fff;
  }
  .yp-mobilebar-call  { background: var(--yp-ink); }
  .yp-mobilebar-quote { background: var(--yp-red); }
  /* keep the fixed bar from covering the footer's last line */
  .yp-footer { padding-bottom: 88px; }
}

/* (2) + (4) Trust / proof bar — homepage, directly under the header so it
   is above the fold. Carries the Google rating, the since-2004 line, and
   the senior-discount explainer (the SD badge is finally spelled out). */
.yp-trustbar {
  background: var(--yp-amber);
  color: var(--yp-ink);
  padding: 11px 16px;
  border-bottom: 2px solid #E8C11A;
}
.yp-trustbar-inner {
  max-width: var(--yp-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 16px;
  text-align: center;
  font-size: 15px;
}
.yp-trustbar-item strong { font-weight: 800; }
.yp-trustbar-stars { color: #B8860B; letter-spacing: 2px; }
.yp-trustbar-sub { color: #5a5a5a; }
.yp-trustbar-sep { color: rgba(0,0,0,.3); }
@media (max-width: 540px) {
  .yp-trustbar-sep { display: none; }
  .yp-trustbar-inner { flex-direction: column; gap: 4px; }
}

/* =====================================================================
   2026-07-11 — Moving Tips page rebuild: a friendly step-by-step guide.
   Jump menu, countdown timeline, accordions, checklists, and an Ontario
   change-of-address block.
   ===================================================================== */
.yp-lead { font-size: 17px; color: #444; max-width: 820px; margin: 0 0 4px; }

/* Jump menu — quick anchor links across the top of the guide */
.yp-tips-jump {
  max-width: var(--yp-max);
  margin: 0 auto;
  padding: 4px 24px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.yp-tips-jump a {
  display: inline-block;
  background: #f2f2f2;
  border: 1px solid var(--yp-line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--yp-ink);
  transition: background .15s ease, color .15s ease;
}
.yp-tips-jump a:hover { background: var(--yp-ink); color: #fff; }

/* Countdown timeline */
.yp-timeline { list-style: none; margin: 22px 0 0; padding: 0; }
.yp-timeline > li {
  position: relative;
  padding: 0 0 26px 26px;
  border-left: 3px solid var(--yp-amber);
}
.yp-timeline > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.yp-timeline > li::before {
  content: '';
  position: absolute; left: -9px; top: 3px;
  width: 15px; height: 15px;
  background: var(--yp-red);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--yp-red);
}
.yp-timeline-when {
  display: inline-block;
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  letter-spacing: .5px;
  font-size: 19px;
  color: var(--yp-ink);
  margin-bottom: 4px;
}
.yp-timeline ul { margin: 6px 0 0; padding-left: 20px; }
.yp-timeline li li { margin-bottom: 6px; line-height: 1.55; }

/* Accordions (native <details>/<summary> — no JS needed) */
.yp-acc {
  border: 1px solid var(--yp-line);
  border-radius: 6px;
  margin: 0 0 12px;
  background: #fff;
  overflow: hidden;
}
.yp-acc > summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  font-weight: 800;
  font-size: 16.5px;
  color: var(--yp-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.yp-acc > summary::-webkit-details-marker { display: none; }
.yp-acc > summary::after { content: '+'; font-size: 24px; color: var(--yp-red); line-height: 1; }
.yp-acc[open] > summary::after { content: '\2013'; }
.yp-acc > summary:hover { background: #fafafa; }
.yp-acc-body { padding: 2px 20px 18px; }
.yp-acc-body p { margin: 0 0 10px; }
.yp-acc-body ul { margin: 8px 0 0; padding-left: 20px; }
.yp-acc-body li { margin-bottom: 6px; line-height: 1.55; }

/* Checklist blocks (first-night box, etc.) */
.yp-checklist { list-style: none; margin: 14px 0 0; padding: 0; columns: 2; column-gap: 34px; }
.yp-checklist li {
  break-inside: avoid;
  margin-bottom: 9px;
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}
.yp-checklist li::before {
  content: '';
  position: absolute; left: 0; top: 2px;
  width: 16px; height: 16px;
  border: 2px solid var(--yp-red);
  border-radius: 3px;
}
@media (max-width: 640px) { .yp-checklist { columns: 1; } }

/* Change-of-address rows with a deadline badge */
.yp-addr-list { list-style: none; margin: 16px 0 0; padding: 0; }
.yp-addr-list > li {
  padding: 14px 0;
  border-bottom: 1px solid var(--yp-line);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.yp-addr-when {
  flex: 0 0 auto;
  min-width: 104px;
  background: var(--yp-amber);
  color: var(--yp-ink);
  font-weight: 800;
  font-size: 12.5px;
  text-align: center;
  padding: 5px 8px;
  border-radius: 4px;
  margin-top: 2px;
}
.yp-addr-when.law { background: var(--yp-red); color: #fff; }
.yp-addr-what strong { display: block; margin-bottom: 2px; }
.yp-addr-what span { color: #555; font-size: 14.5px; }
@media (max-width: 540px) {
  .yp-addr-list > li { flex-direction: column; gap: 6px; }
}

/* Warm callout / tie-in box */
.yp-note {
  background: #FFF8E1;
  border-left: 4px solid var(--yp-amber);
  padding: 16px 20px;
  border-radius: 4px;
  margin: 20px 0 0;
  font-size: 15.5px;
  line-height: 1.6;
}

/* Printable-checklist button */
.yp-print-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yp-ink);
  color: #fff;
  padding: 14px 26px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 16px;
  margin-top: 8px;
}
.yp-print-cta:hover { background: var(--yp-red); color: #fff; }

/* Packing how-to videos — embedded, responsive 16:9, so customers watch
   on our own page instead of being sent off-site. */
.yp-video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 18px;
}
.yp-video { margin: 0; }
.yp-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}
.yp-video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.yp-video figcaption {
  margin-top: 8px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--yp-ink);
}
@media (max-width: 700px) { .yp-video-grid { grid-template-columns: 1fr; } }
