/* Page-specific styles for the CDA Motos landing page. */
.moto-landing { overflow: clip; }
.moto-hero { min-height: 570px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr); background: #f5f5f2; color: var(--brand-black); }
.moto-hero-copy { padding-top: clamp(2rem, 4vw, 3.5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.moto-hero .breadcrumbs { width: 100%; margin: 0 0 2.4rem; }
.moto-hero .breadcrumbs a { color: #373733; }
.moto-hero .eyebrow { color: #5f5f5b; }
.moto-hero h1 { max-width: 660px; font-size: clamp(2.8rem, 5vw, 4.6rem); }
.moto-hero p { max-width: 590px; color: #4e4e49; font-size: 1.08rem; }
.moto-hero .hero-actions { margin-top: 1.7rem; }
.moto-hero-photo { min-height: 570px; }
.moto-hero-photo img { object-position: center; }
.moto-hero-photo::after { background: linear-gradient(90deg, rgb(17 17 17 / 0%), rgb(17 17 17 / 10%)); }
.moto-hero-photo .photo-caption { right: auto; left: 20px; bottom: 20px; }
.moto-hero-facts { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.45rem; }
.moto-hero-facts span { padding: .42rem .7rem; border: 1px solid #deded9; border-radius: 99px; background: #fff; color: #333; font-size: .79rem; font-weight: 700; }
.moto-page-content { padding-bottom: 3.3rem; }
.moto-intro { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(270px, .55fr); align-items: center; gap: clamp(2rem, 7vw, 6rem); padding: clamp(4rem, 8vw, 7rem) 0; border-bottom: 1px solid var(--line); }
.moto-intro-copy { max-width: 760px; }
.moto-intro-copy h2 { max-width: 700px; margin-top: .6rem; }
.moto-intro-copy p { color: var(--muted); }
.moto-intro-copy .button { margin-top: .7rem; }
.moto-location-card { padding: 1.6rem; border-top: 5px solid var(--brand-yellow); border-radius: 0 0 var(--radius) var(--radius); background: var(--surface); }
.moto-location-mark { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 1.25rem; border-radius: 50%; background: var(--brand-yellow); font: 800 .85rem Manrope, sans-serif; }
.moto-location-card h3 { margin: .45rem 0 .4rem; }
.moto-location-card p { margin-bottom: .4rem; color: var(--muted); }
.moto-location-card .moto-hours { margin: .9rem 0; font-size: .88rem; }
.moto-location-card a, .moto-when-note a { font-weight: 800; text-underline-offset: 4px; }
.moto-section { padding: clamp(3.6rem, 7vw, 6rem) 0; }
.moto-section-heading { max-width: 760px; margin-bottom: 2rem; }
.moto-section-heading h2 { margin-top: .5rem; }
.moto-section-heading p { color: var(--muted); }
.moto-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.moto-card { min-height: 210px; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 5px 18px rgb(17 17 17 / 4%); }
.moto-card-number { display: inline-grid; width: 36px; height: 36px; place-items: center; margin-bottom: 1rem; border-radius: 50%; background: var(--brand-yellow); font-size: .76rem; font-weight: 900; }
.moto-card h3 { font-size: 1.08rem; }
.moto-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.moto-inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.35rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.moto-inline-cta p { margin: 0; font-weight: 800; }
.moto-inline-cta .text-link, .moto-inspection-link { font-weight: 800; text-underline-offset: 4px; }
.moto-when { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr); align-items: center; gap: clamp(2rem, 7vw, 6rem); margin-inline: calc((min(var(--max), 100vw - 48px) - 100vw) / 2); padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter); background: var(--surface); }
.moto-when h2 { max-width: 700px; margin-top: .5rem; }
.moto-when > div:first-child p { max-width: 720px; color: var(--muted); }
.moto-when-note { padding: 1.75rem; border-left: 5px solid var(--brand-yellow); background: #fff; }
.moto-when-note > span { display: block; margin-bottom: 1rem; color: #676760; font: 800 1.05rem Manrope, sans-serif; }
.moto-when-note strong { display: block; font: 800 1.15rem Manrope, sans-serif; }
.moto-when-note p { margin: .55rem 0 1rem; color: var(--muted); }
.moto-inspection { border-bottom: 1px solid var(--line); }
.moto-inspection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 1.4rem; }
.moto-inspection-card { display: flex; min-height: 140px; align-items: flex-start; gap: 1rem; padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.moto-inspection-card > span { display: grid; width: 40px; height: 40px; flex: none; place-items: center; border-radius: 50%; background: var(--surface); font-size: .78rem; font-weight: 900; }
.moto-inspection-card h3 { margin: .1rem 0 .4rem; font-size: 1.05rem; }
.moto-inspection-card p { margin: 0; color: var(--muted); font-size: .91rem; }
.moto-inspection-link { display: block; width: fit-content; margin: 0 0 1.25rem; }
.moto-process { padding: clamp(3.7rem, 7vw, 6rem) 0; }
.moto-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; margin: 2.25rem 0 1.6rem; padding: 0; list-style: none; counter-reset: step; }
.moto-timeline li { position: relative; padding: 0 1.1rem 1.1rem 0; border-top: 2px solid var(--line); }
.moto-timeline li::before { position: absolute; top: -2px; left: 0; width: 58px; height: 3px; background: var(--brand-yellow); content: ''; }
.moto-timeline li > span { display: grid; width: 40px; height: 40px; place-items: center; margin: -21px 0 1rem; border: 4px solid #fff; border-radius: 50%; background: var(--brand-yellow); font-weight: 900; }
.moto-timeline h3 { font-size: 1.04rem; }
.moto-timeline p { color: var(--muted); font-size: .92rem; }
.moto-process-action { display: flex; justify-content: center; }
.moto-pricing { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); align-items: center; gap: 2.5rem; margin: 0 0 1rem; padding: clamp(2rem, 5vw, 4rem); border-radius: 18px; background: var(--brand-black); color: #fff; }
.moto-pricing .eyebrow { color: var(--brand-yellow); }
.moto-pricing h2 { margin-top: .5rem; }
.moto-pricing-copy > p { max-width: 650px; color: #e2e2dd; }
.moto-pricing-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.moto-pricing .button-outline { border-color: #fff; }
.moto-pricing-side { padding: 1.35rem; border: 1px solid rgb(255 255 255 / 24%); border-radius: var(--radius); }
.moto-pricing-side > span { display: grid; width: 44px; height: 44px; place-items: center; margin-bottom: .85rem; border-radius: 50%; background: var(--brand-yellow); color: var(--brand-black); font: 800 1.4rem Manrope, sans-serif; }
.moto-pricing-side p { color: #e2e2dd; }
.moto-pricing-side a { color: var(--brand-yellow); font-weight: 800; text-underline-offset: 4px; }
.moto-faq { max-width: 960px; margin-inline: auto; }
.moto-faq-list { max-width: 920px; }
.moto-faq-list a { font-weight: 700; text-underline-offset: 3px; }
.moto-faq-action { display: flex; width: fit-content; justify-content: center; margin: 1.5rem auto 0; }
.moto-related { padding: 1rem 0 clamp(3rem, 6vw, 5rem); }
.moto-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.moto-related-grid > a { display: flex; min-height: 220px; flex-direction: column; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); color: inherit; text-decoration: none; transition: border-color .18s ease, transform .18s ease; }
.moto-related-grid > a:hover { border-color: #d4c83b; transform: translateY(-3px); }
.moto-related-grid > a > span { color: #62625b; font-size: .7rem; font-weight: 800; letter-spacing: .09em; }
.moto-related-grid h3 { margin: .8rem 0 .5rem; }
.moto-related-grid p { color: var(--muted); }
.moto-related-grid b { margin-top: auto; font-size: .88rem; }
.moto-landing :focus-visible { outline: 3px solid #5d5300; outline-offset: 3px; }

@media (max-width: 1060px) {
  .moto-hero { grid-template-columns: 1fr 1fr; }
  .moto-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .moto-hero { display: flex; min-height: 0; flex-direction: column; }
  .moto-hero-copy { align-items: center; padding: 2rem 24px 2.25rem; text-align: center; }
  .moto-hero .breadcrumbs { justify-content: center; margin-bottom: 1.5rem; }
  .moto-hero h1 { font-size: clamp(2.3rem, 9vw, 3.4rem); }
  .moto-hero p { font-size: 1rem; }
  .moto-hero .hero-actions { justify-content: center; width: 100%; }
  .moto-hero .hero-actions .button { width: min(100%, 350px); }
  .moto-hero-facts { justify-content: center; }
  .moto-hero-photo { width: 100%; min-height: 0; aspect-ratio: 1.45 / 1; }
  .moto-intro, .moto-when, .moto-pricing { grid-template-columns: 1fr; }
  .moto-intro { gap: 2rem; }
  .moto-location-card { max-width: 520px; }
  .moto-when { margin-inline: -24px; padding-inline: 24px; }
  .moto-timeline { grid-template-columns: 1fr; gap: 1.2rem; margin-left: .35rem; }
  .moto-timeline li { min-height: 115px; padding: 0 0 0 3.5rem; border-top: 0; border-left: 2px solid var(--line); }
  .moto-timeline li::before { top: 0; left: -2px; width: 3px; height: 58px; }
  .moto-timeline li > span { position: absolute; top: 0; left: -21px; margin: 0; }
  .moto-pricing-actions { flex-direction: column; }
  .moto-pricing-actions .button { width: 100%; }
  .moto-related-grid { grid-template-columns: 1fr; }
  .moto-related-grid > a { min-height: 175px; }
  .moto-inline-cta { align-items: center; flex-direction: column; text-align: center; }
  .moto-faq { text-align: left; }
  .moto-section-heading { margin-inline: auto; text-align: center; }
  .moto-faq-action { display: flex; width: 100%; max-width: 350px; margin-inline: auto; }
  .moto-inspection-link { margin-inline: auto; text-align: center; }
  .moto-inspection > .button { display: flex; width: min(100%, 350px); margin-inline: auto; }
}
@media (max-width: 520px) {
  .moto-card-grid, .moto-inspection-grid { grid-template-columns: 1fr; }
  .moto-card { min-height: 0; text-align: center; }
  .moto-card-number { margin-inline: auto; }
  .moto-inspection-card { min-height: 0; align-items: center; text-align: left; }
  .moto-hero-photo { aspect-ratio: 1.2 / 1; }
  .moto-hero-photo .photo-caption { left: 12px; bottom: 12px; font-size: .58rem; }
  .moto-landing .button { min-height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .moto-related-grid > a { transition: none; }
}

/* Visual refinements requested for the motorcycle landing page. */
.moto-hero { min-height: 0; align-items: stretch; }
.moto-hero-copy { padding-block: clamp(1.5rem, 2.5vw, 2.4rem); }
.moto-hero .breadcrumbs { margin-bottom: clamp(1rem, 2vw, 1.35rem); }
.moto-hero h1 { font-size: clamp(2.65rem, 4vw, 3.75rem); }
.moto-hero .hero-actions { margin-top: 1.2rem; }
.moto-hero-facts { margin-top: 1rem; }
.moto-hero-photo { min-height: 0; aspect-ratio: 1.32 / 1; }
.moto-hero-photo img { object-position: 56% center; }

/* Align hero copy to the site's centered content gutter while keeping room for text. */
.moto-hero-copy { padding-left: var(--gutter); padding-right: clamp(24px, 4vw, 72px); }

.moto-category-cta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.1rem 1.4rem; margin-top: 1.5rem; padding: 1.2rem 1.4rem; border: 1px solid #e9df62; border-radius: 16px; background: linear-gradient(105deg, #fffbd0, #fdf153); box-shadow: 0 8px 24px rgb(17 17 17 / 7%); }
.moto-category-cta-icon { display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid #111; border-radius: 50%; background: #fff; }
.moto-category-cta-icon svg { width: 34px; height: 34px; fill: none; stroke: #111; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.1; }
.moto-category-cta-copy h3 { margin: 0 0 .25rem; font-size: clamp(1.08rem, 1.6vw, 1.3rem); }
.moto-category-cta-copy p { margin: 0; color: #4d4d49; font-size: .9rem; }
.moto-category-cta .button { min-height: 50px; white-space: nowrap; }

.moto-when-note { padding-block: 1.35rem; }
.moto-when-note > span { display: none; }

.moto-needs .moto-section-heading,
.moto-inspection .moto-section-heading,
.moto-process .moto-section-heading { width: 100%; max-width: none; margin: 0 auto 2rem; text-align: center; }
.moto-needs .moto-section-heading h2,
.moto-inspection .moto-section-heading h2,
.moto-process .moto-section-heading h2 { max-width: 940px; margin-inline: auto; }
.moto-needs .moto-section-heading p,
.moto-inspection .moto-section-heading p,
.moto-process .moto-section-heading p { max-width: 760px; margin-inline: auto; }

.moto-timeline li::before { z-index: 0; }
.moto-timeline li > span { position: relative; z-index: 1; color: var(--brand-black); }
.moto-timeline li { isolation: isolate; }

.moto-landing .moto-faq { width: auto; max-width: none; margin-inline: 0; }
.moto-faq .section-heading { width: 100%; max-width: 780px; margin: 0 auto 2rem; text-align: center; }
.moto-faq .section-content { width: 100%; }
.moto-faq .faq-list { width: 100%; max-width: none; }
.moto-faq-list a { font-weight: 700; text-underline-offset: 3px; }

.moto-pricing-side { align-self: stretch; overflow: hidden; padding: 0; border: 1px solid rgb(255 255 255 / 24%); border-radius: var(--radius); }
.moto-pricing-photo { display: block; width: 100%; height: auto; aspect-ratio: 1.55 / 1; object-fit: cover; object-position: center; }
.moto-pricing-side > a { display: inline-flex; min-height: 52px; align-items: center; margin: .2rem 1.25rem .65rem; }

@media (max-width: 1060px) {
  .moto-hero h1 { font-size: clamp(2.55rem, 4.7vw, 3.4rem); }
  .moto-hero-photo { aspect-ratio: 1.12 / 1; }
  .moto-category-cta { grid-template-columns: auto minmax(0, 1fr); }
  .moto-category-cta .button { grid-column: 2; justify-self: start; }
}
@media (max-width: 760px) {
  .moto-hero { align-items: stretch; }
  .moto-hero-copy { padding: 1.5rem 24px 1.75rem; }
  .moto-hero .breadcrumbs { margin-bottom: 1.2rem; }
  .moto-hero h1 { font-size: clamp(2.35rem, 8vw, 3.1rem); }
  .moto-hero-photo { aspect-ratio: 1.5 / 1; }
  .moto-category-cta { display: flex; align-items: center; flex-direction: column; gap: .75rem; padding: 1.25rem; text-align: center; }
  .moto-category-cta-icon { width: 54px; height: 54px; }
  .moto-category-cta .button { width: min(100%, 360px); white-space: normal; }
  .moto-when-note { padding-block: 1.25rem; }
  .moto-when-note > span { display: none; }
  .moto-timeline li > span { position: absolute; }
  .moto-faq .section-heading { margin-bottom: 1.3rem; text-align: center; }
  .moto-pricing-side { width: 100%; }
}
@media (max-width: 840px) and (min-width: 761px) {
  .moto-hero { display: flex; flex-direction: column; }
  .moto-hero-copy { align-items: center; padding: 2rem 24px; text-align: center; }
  .moto-hero .breadcrumbs { justify-content: center; margin-bottom: 1.25rem; }
  .moto-hero .hero-actions { justify-content: center; }
  .moto-hero-facts { justify-content: center; }
  .moto-hero-photo { width: 100%; aspect-ratio: 1.7 / 1; }
}

.moto-inspection-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .85rem 1.35rem; margin-top: 1.75rem; }
.moto-inspection-actions .moto-inspection-link { margin: 0; text-align: center; }
.moto-inspection-actions .button { margin: 0; }
@media (max-width: 760px) {
  .moto-inspection-actions { flex-direction: column; gap: .8rem; }
  .moto-inspection-actions .button { width: min(100%, 350px); }
}

/* Original generated photos integrated into the regulatory process and inspection sections. */
.moto-intro-visual { display: grid; gap: .85rem; min-width: 0; }
.moto-process-photo, .moto-inspection-photo { display: block; width: 100%; height: auto; object-fit: cover; }
.moto-process-photo { aspect-ratio: 1.55 / 1; border-radius: var(--radius); }
.moto-intro-visual .moto-location-card { padding: 1.25rem 1.4rem; }
.moto-intro-visual .moto-location-mark { margin-bottom: .75rem; }
.moto-inspection-content { display: grid; grid-template-columns: minmax(250px, .68fr) minmax(0, 1.32fr); align-items: start; gap: 1rem; }
.moto-inspection-photo { aspect-ratio: 1.2 / 1; border-radius: var(--radius); }
.moto-inspection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 0; }
.moto-inspection .moto-section-heading { margin-bottom: 1.25rem; }
.moto-inspection { padding-block: clamp(2.4rem, 4.5vw, 3.8rem); }
.moto-inspection-card { min-height: 0; align-items: center; gap: .85rem; padding: 1rem; }
.moto-inspection-icon { display: grid; width: 42px; height: 42px; flex: none; place-items: center; border-radius: 13px; background: #fff9c4; color: #b79d00; }
.moto-inspection-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.moto-inspection-index { display: block; margin-bottom: .12rem; color: #76766f; font-size: .68rem; font-weight: 800; letter-spacing: .08em; line-height: 1; }
.moto-inspection-card h3 { margin: 0 0 .28rem; font-size: 1rem; }
.moto-inspection-card p { font-size: .86rem; line-height: 1.5; }
@media (max-width: 1060px) {
  .moto-inspection-content { grid-template-columns: 1fr; }
  .moto-inspection-photo { aspect-ratio: 1.85 / 1; }
  .moto-inspection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .moto-intro-visual { width: 100%; }
  .moto-process-photo { aspect-ratio: 1.5 / 1; }
  .moto-inspection-photo { aspect-ratio: 1.5 / 1; }
  .moto-inspection { padding-block: 2.6rem; }
  .moto-inspection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .moto-inspection-grid { grid-template-columns: 1fr; }
}

/* Center nested motorcycle page content on narrow screens. */
@media (max-width: 700px) {
  .moto-intro, .moto-section, .moto-when, .moto-process,
  .moto-pricing, .moto-related, .moto-location-card,
  .moto-when-note, .moto-pricing-side { text-align: center; }
  .moto-intro-copy, .moto-location-card, .moto-pricing-copy,
  .moto-when > div:first-child p, .moto-section-heading { margin-inline: auto; }
  .moto-intro-copy h2, .moto-when h2,
  .moto-pricing-copy > p { margin-inline: auto; }
  .moto-intro-copy .button, .moto-pricing-side > a { margin-inline: auto; }
  .moto-location-mark, .moto-pricing-side > span { margin-inline: auto; }
  .moto-inspection-card { flex-direction: column; align-items: center; text-align: center; }
  .moto-inspection-card > div { min-width: 0; }
  .moto-card-grid, .moto-inspection-grid, .moto-related-grid { min-width: 0; }
  .moto-card, .moto-related-grid > a { text-align: center; }
  .moto-card-number { margin-inline: auto; }
  .moto-pricing-actions { align-items: center; justify-content: center; }
  .moto-related-grid > a { align-items: center; }
  .moto-when { width: calc(100% + 36px); margin-inline: -18px; padding-inline: 18px; }
  .moto-timeline { margin-inline: 0; }
  .moto-timeline li { min-height: 0; padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: center; }
  .moto-timeline li::before { top: 0; left: 50%; width: 58px; height: 3px; transform: translateX(-50%); }
  .moto-timeline li > span { position: relative; top: auto; left: auto; margin: 0 auto .6rem; }
  .moto-faq { text-align: center; }
}
