:root {
    --city-dark: #0c2e16;
    --city-lime: #cfff7f;
}

.city_page {
    background: #fff;
}
/* Bare tag selector (lower specificity than any class-based rule below, so
   it never needs source-order luck to be overridden) — resets the browser's
   default <p> margin, which was inflating card heights wherever a margin
   wasn't set explicitly. This file only ever loads on the city page, so
   there's no risk of it leaking onto other pages. */
p {
    margin: 0;
}

.city_page .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Clears the site-wide fixed "Get your 3 quotes now" tab (.quote_btn_left,
   defined in style.css, position:fixed; top:50%; left:0 — now included on
   this page too). Same 30px/45px convention as shared_sections.css's
   equivalent rule for the 4 shared sections; this one covers the sections
   that stay local to this page. (.city_hero has its own padding rule with
   these same values baked in, since it needs top/bottom control too.) */
.city_shows .container,
.city_banner .container,
.city_rvc .container,
.city_challenges .container,
.city_marketplace .container,
.city_faq .container {
    padding: 0 30px;
}
@media (min-width: 768px) {
    .city_shows .container,
    .city_banner .container,
    .city_rvc .container,
    .city_challenges .container,
    .city_marketplace .container,
    .city_faq .container {
        padding: 0 45px;
    }
}

/* Scroll-reveal: each top-level section fades/slides up once, first time it
   nears the viewport — matches the reference page's per-section fade-up. */
.city_page > section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.city_page > section.in-view {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .city_page > section {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- Shared buttons ---------- */
.city_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 999px;
    padding: 13px 28px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
    white-space: nowrap;
}
.city_btn-primary {
    background: var(--city-lime);
    color: var(--city-dark);
}
.city_btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    color: var(--city-dark);
}
.city_btn-outline {
    background: #fff;
    color: var(--city-dark);
    border: 2px solid var(--city-dark);
}
.city_btn-outline:hover {
    background: var(--city-dark);
    color: var(--city-lime);
}
.city_btn-dark {
    background: var(--city-dark);
    color: var(--city-lime);
}
.city_btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    color: var(--city-lime);
}
.city_btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}
.city_btn-outline-light:hover {
    background: #fff;
    color: var(--city-dark);
}

/* ---------- Hero ---------- */
.city_hero {
    position: relative;
    overflow: hidden;
    color: #111827;
}
.city_hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.city_hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f1ffb8 50%, var(--city-lime) 100%);
}
.city_hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}
.city_hero-deco {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.city_hero .city_hero-inner {
    position: relative;
    z-index: 1;
    padding: 56px 30px 80px;
}
.city_hero-content {
    max-width: 720px;
}
.city_hero-eyebrow {
    font-size: 14px;
    font-weight: 600;
    color: var(--city-dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}
.city_hero-title {
    font-size: 36px;
    font-weight: 700;
    color: #111827;
    line-height: 1.15;
    margin-bottom: 24px;
}
.city_hero-subtitle {
    font-size: 18px;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 640px;
}
.city_hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}
.city_hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 640px;
}
.city_hero-stat {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.city_hero-stat-value {
    font-size: 30px;
    font-weight: 700;
    color: var(--city-dark);
}
.city_hero-stat-label {
    font-size: 14px;
    color: #4b5563;
    margin-top: 4px;
}

@media (min-width: 640px) {
    .city_hero-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
    .city_hero .city_hero-inner { padding: 80px 45px; }
    .city_hero-title { font-size: 48px; }
}

/* ---------- Major Shows ---------- */
.city_shows {
    background: #f9fafb;
    padding: 48px 0;
}
.city_shows-head {
    text-align: center;
    margin-bottom: 32px;
}
.city_shows-head h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}
.city_shows-head p {
    color: #4b5563;
    max-width: 640px;
    margin: 0 auto;
}
.city_shows-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.city_show-card {
    position: relative;
    display: block;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #f3f4f6;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}
.city_show-card:hover {
    transform: translateY(-6px) rotate(-1.2deg);
    box-shadow: 0 20px 40px rgba(12, 46, 22, 0.15);
}
.city_show-splash {
    position: absolute;
    inset: 0;
    background: var(--city-lime);
    opacity: 0;
    pointer-events: none;
    border-radius: 100%;
    transform: scale(0);
    transform-origin: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
}
.city_show-card:hover .city_show-splash {
    transform: scale(3);
    opacity: 1;
}
.city_show-card-inner {
    position: relative;
    z-index: 1;
}
.city_show-badge {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 800;
    line-height: 1.15;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.city_show-card:hover .city_show-badge {
    transform: rotate(6deg) scale(1.1);
}
.city_show-badge-logo {
    border: 2px solid #e5e7eb;
}
.city_show-badge-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.city_show-badge-text {
    background: var(--city-dark);
    color: var(--city-lime);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    padding: 0 4px;
    font-size: 20px;
}
.city_show-card-inner h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}
.city_show-card:hover .city_show-card-inner h3 {
    color: var(--city-dark);
}
.city_show-card-inner p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    transition: color 0.3s ease;
}
.city_show-card:hover .city_show-card-inner p {
    color: rgba(12, 46, 22, 0.8);
}
.city_shows-cta {
    text-align: center;
    margin-top: 32px;
}
.city_shows-cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--city-dark);
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    padding: 10px 20px;
    transition: background 0.3s ease;
}
.city_shows-cta a:hover {
    background: var(--city-lime);
}
.city_shows-cta a svg {
    width: 16px;
    height: 16px;
}

@media (min-width: 640px) {
    .city_shows { padding: 56px 0; }
}
@media (min-width: 768px) {
    .city_shows-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .city_shows-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Mid Banner ---------- */
.city_banner {
    position: relative;
    overflow: hidden;
    padding: 56px 0;
}
.city_banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-repeat: no-repeat;
    background-size: cover;
    /* Base/no-JS state — top-aligned crop. initCityBannerParallax() in
       city_landing.js slides background-position-y from 0% to 100% as the
       section transits the viewport, sweeping through the image's full
       height (not just a small wobble around a fixed crop) — see that
       function for why this is safer and simpler than the scale()+
       translateY() approach tried earlier: background-size: cover is
       defined to always fully cover the box at *any* background-position,
       so there's no scale/margin math needed and no way for a gap to
       reappear at any viewport size. */
    background-position: center top;
    will-change: background-position;
}
.city_banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(12, 46, 22, 0.8);
}
.city_banner-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    text-align: center;
}
.city_banner-eyebrow {
    color: var(--city-lime);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}
.city_banner-eyebrow-below {
    margin-bottom: 0;
    margin-top: 8px;
}
.city_banner-inner h2 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
}
.city_banner-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
    width: 100%;
}
.city_banner-cta .city_btn {
    width: 100%;
}

@media (min-width: 640px) {
    .city_banner-cta { flex-direction: row; width: auto; }
    .city_banner-cta .city_btn { width: auto; }
}
@media (min-width: 768px) {
    .city_banner-inner { flex-direction: row; text-align: left; }
    .city_banner-inner h2 { font-size: 28px; }
}

/* ---------- Marketplace ---------- */
.city_marketplace {
    background: #fff;
    padding: 64px 0;
    overflow: hidden;
}
.city_marketplace-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}
.city_marketplace-inner h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
}
.city_marketplace-inner > div:first-child p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 16px;
}
.city_marketplace-cardwrap {
    position: relative;
    perspective: 1200px;
}
.city_marketplace-card-behind {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 2px solid var(--city-lime);
    background: var(--city-dark);
    transform: rotate(-4deg) translate(-14px, 14px);
    z-index: 0;
}
.city_marketplace-card-front {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transform: rotate(3deg);
    transform-style: preserve-3d;
}
.city_marketplace-card-front h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
}
.city_marketplace-card-front ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.city_marketplace-card-front li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.city_marketplace-check {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--city-dark);
    animation: cityTickPulse 2.4s ease-in-out infinite;
}
.city_marketplace-check svg {
    width: 20px;
    height: 20px;
}
.city_marketplace-card-front li span:last-child {
    color: #374151;
}
@keyframes cityTickPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.18); opacity: 0.75; }
}
@media (prefers-reduced-motion: reduce) {
    .city_marketplace-check { animation: none; }
}

@media (min-width: 768px) {
    .city_marketplace-inner { grid-template-columns: 1fr 1fr; }
}

/* ---------- Challenges ---------- */
.city_challenges {
    background: #f9fafb;
    padding: 48px 0;
}
.city_challenges-head {
    text-align: center;
    margin-bottom: 32px;
}
.city_challenges-head h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}
.city_challenges-head p {
    color: #4b5563;
    max-width: 640px;
    margin: 0 auto;
}
.city_challenges-wrap {
    position: relative;
}
.city_challenges-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.city_challenge-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.city_challenge-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}
.city_challenge-icon {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--city-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.city_challenge-icon svg {
    width: 24px;
    height: 24px;
    color: var(--city-lime);
}
.city_challenge-card h3 {
    position: relative;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}
.city_challenge-card p {
    position: relative;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
}
.city_challenge-accent {
    display: block;
    margin-top: 20px;
    height: 4px;
    width: 48px;
    border-radius: 999px;
    background: var(--city-lime);
}
.city_challenges-line {
    position: absolute;
    inset: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
}
.city_challenges-line path {
    stroke-dasharray: 0.14 0.86;
    stroke-dashoffset: 1;
    animation: cityTraceLine linear infinite;
}
@keyframes cityTraceLine {
    from { stroke-dashoffset: 1; }
    to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .city_challenges-line path { animation: none; }
}

@media (min-width: 640px) {
    .city_challenges { padding: 56px 0; }
}
@media (min-width: 768px) {
    .city_challenges-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .city_challenges-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- FAQ ---------- */
.city_faq {
    background: #f9fafb;
    padding: 48px 0;
}
.city_faq .city_faq-inner {
    max-width: 768px;
}
.city_faq-inner h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    text-align: center;
    margin-bottom: 8px;
}
.city_faq-sub {
    color: #4b5563;
    text-align: center;
    margin-bottom: 32px;
}
.city_faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.city_faq-item {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.city_faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font: inherit;
}
.city_faq-question span:first-child {
    font-weight: 600;
    color: #111827;
}
.city_faq-icon {
    flex-shrink: 0;
    color: var(--city-dark);
    display: flex;
}
.city_faq-icon svg {
    width: 20px;
    height: 20px;
}
.city_faq-icon .icon-minus { display: none; }
.city_faq-item.active .city_faq-icon .icon-plus { display: none; }
.city_faq-item.active .city_faq-icon .icon-minus { display: block; }
.city_faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}
.city_faq-item.active .city_faq-answer {
    grid-template-rows: 1fr;
}
.city_faq-answer p {
    min-height: 0;
    overflow: hidden;
    /* No bottom padding at rest so the collapsed row reaches true 0 height */
    padding: 0 20px 0;
    color: #4b5563;
    line-height: 1.6;
}
.city_faq-item.active .city_faq-answer p {
    padding-bottom: 20px;
}
@media (min-width: 640px) {
    .city_faq { padding: 56px 0; }
}

/* ---------- Rental vs Custom ---------- */
.city_rvc {
    background: #fafff0;
    padding: 48px 0;
    overflow: hidden;
}
.city_rvc-head {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.city_rvc-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(12, 46, 22, 0.7);
}
.city_rvc-head h2 {
    margin-top: 8px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--city-dark);
}
.city_rvc-intro {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.7;
    color: #4b5563;
}
.city_rvc-cards {
    position: relative;
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.city_rvc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    padding: 24px;
    box-shadow: 0 10px 30px -18px rgba(12, 46, 22, 0.35);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.city_rvc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -18px rgba(12, 46, 22, 0.45);
}
.city_rvc-card-topbar {
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--city-dark), #1a4a2a, var(--city-lime));
}
.city_rvc-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
}
.city_rvc-card-title h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--city-dark);
}
.city_rvc-card-title span {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
}
.city_rvc-card-label {
    margin-top: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(12, 46, 22, 0.7);
}
.city_rvc-card-label .dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--city-lime);
    box-shadow: 0 0 0 2px rgba(207, 255, 127, 0.4);
}
.city_rvc-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.city_rvc-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: #374151;
}
.city_rvc-card li .check {
    flex-shrink: 0;
    margin-top: 2px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: var(--city-lime);
    display: flex;
    align-items: center;
    justify-content: center;
}
.city_rvc-card li .check svg {
    width: 10px;
    height: 10px;
    color: var(--city-dark);
}
.city_rvc-vs {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--city-dark);
    color: var(--city-lime);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 4px solid #fafff0;
    pointer-events: none;
}
.city_rvc-cta {
    text-align: center;
    margin-top: 32px;
}
.city_rvc-cta p {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 500;
    color: #4b5563;
}

@media (min-width: 640px) {
    .city_rvc { padding: 56px 0; }
    .city_rvc-head h2 { font-size: 28px; }
}
@media (min-width: 1024px) {
    .city_rvc-cards { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .city_rvc-head h2 { font-size: 2.1rem; }
}

