/**
 * City Hub Page Styles (v2)
 *
 * 72 instances across 6 states. Scoped under .ch-page.
 * Industrial aesthetic: zero border-radius, Barlow/Barlow Condensed,
 * red/black/white. Matches state and listing page design system.
 *
 * @package GCS_Rentals
 * @since 3.0.0
 */

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */
.ch-page {
    --ch-red: #C41820;
    --ch-red-deep: #9E1015;
    --ch-black: #000;
    --ch-dark: #1A1A1A;
    --ch-white: #fff;
    --ch-gray-95: #F5F5F5;
    --ch-gray-90: #E8E8E8;
    --ch-gray-60: #888;
    --ch-line: #E2E2E2;
    --ch-max-w: 1320px;
}

/* ==========================================================================
   1. BREADCRUMB
   ========================================================================== */
.ch-page .ch-breadcrumb {
    background: var(--ch-gray-95);
    border-bottom: 1px solid var(--ch-line);
    padding: 12px 32px;
}

.ch-page .ch-breadcrumb__inner {
    max-width: var(--ch-max-w);
    margin: 0 auto;
}

/* ==========================================================================
   2. HERO
   ========================================================================== */
.ch-page .ch-hero {
    background: var(--ch-black);
    color: var(--ch-white);
    padding: 0;
}

.ch-page .ch-hero__inner {
    max-width: var(--ch-max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 200px;
    min-height: 420px;
}

.ch-page .ch-hero__content {
    padding: 64px 32px 64px 32px;
}

.ch-page .ch-hero__eyebrow {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ch-red);
    margin-bottom: 16px;
}

.ch-page .ch-hero__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.ch-page .ch-hero__subtitle {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin-bottom: 28px;
}

.ch-page .ch-hero__actions {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
}

.ch-page .ch-hero__stats {
    display: flex;
    gap: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ch-page .ch-hero__stat-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--ch-white);
    display: block;
}

.ch-page .ch-hero__stat-label {
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ch-gray-60);
    display: block;
}

.ch-page .ch-hero__sidebar {
    background: var(--ch-red);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    text-align: center;
}

.ch-page .ch-hero__sidebar-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 4rem;
    color: var(--ch-white);
    line-height: 1;
    opacity: 0.3;
}

.ch-page .ch-hero__sidebar-city {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ch-white);
    margin-top: 8px;
}

/* ==========================================================================
   3. EQUIPMENT CARDS
   ========================================================================== */
.ch-page .ch-equipment {
    padding: 80px 32px;
}

.ch-page .ch-equipment__inner {
    max-width: var(--ch-max-w);
    margin: 0 auto;
}

.ch-page .ch-section-head {
    margin-bottom: 48px;
}

.ch-page .ch-section-eyebrow {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ch-red);
    margin-bottom: 12px;
}

.ch-page .ch-section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.ch-page .ch-equipment__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ch-page .ch-equip-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--ch-line);
    transition: border-color 0.25s ease;
}

.ch-page .ch-equip-card:hover {
    border-color: var(--ch-red);
}

.ch-page .ch-equip-card__photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.ch-page .ch-equip-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ch-page .ch-equip-card:hover .ch-equip-card__photo img {
    transform: scale(1.03);
}

.ch-page .ch-equip-card__num {
    position: absolute;
    top: 16px;
    left: 16px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    color: var(--ch-white);
    opacity: 0.25;
    line-height: 1;
}

.ch-page .ch-equip-card__tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--ch-white);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 10px;
}

.ch-page .ch-equip-card__body {
    padding: 24px;
}

.ch-page .ch-equip-card__body h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.375rem;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.ch-page .ch-equip-card__body p {
    color: var(--ch-gray-60);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.ch-page .ch-equip-card__uses {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.ch-page .ch-equip-card__uses li {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border: 1px solid var(--ch-line);
    color: var(--ch-gray-60);
}

.ch-page .ch-equip-card__link {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ch-red);
}

/* ==========================================================================
   4. PROCESS (HOW TO RENT)
   ========================================================================== */
.ch-page .ch-process {
    background: var(--ch-dark);
    padding: 80px 32px;
    color: var(--ch-white);
}

.ch-page .ch-process__inner {
    max-width: var(--ch-max-w);
    margin: 0 auto;
}

.ch-page .ch-process__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 48px;
}

.ch-page .ch-process__step {
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ch-page .ch-process__num {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--ch-red);
    line-height: 1;
    margin-bottom: 16px;
}

.ch-page .ch-process__step h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.ch-page .ch-process__step p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ==========================================================================
   5. CONSTRUCTION CONTEXT
   ========================================================================== */
.ch-page .ch-context {
    padding: 80px 32px;
    background: var(--ch-gray-95);
}

.ch-page .ch-context__inner {
    max-width: 800px;
    margin: 0 auto;
}

.ch-page .ch-context__body h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    text-transform: uppercase;
    margin: 32px 0 16px;
}

.ch-page .ch-context__body h2:first-child {
    margin-top: 0;
}

.ch-page .ch-context__body p {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 16px;
}

/* ==========================================================================
   6. CTA + QUOTE FORM
   ========================================================================== */
.ch-page .ch-cta-form {
    background: var(--ch-red);
    padding: 80px 32px;
}

.ch-page .ch-cta-form__inner {
    max-width: var(--ch-max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.ch-page .ch-cta-form__text h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    text-transform: uppercase;
    color: var(--ch-white);
    line-height: 1.15;
    margin-bottom: 16px;
}

.ch-page .ch-cta-form__text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.0625rem;
    line-height: 1.65;
    margin-bottom: 24px;
}

.ch-page .ch-cta-form__actions {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.ch-page .ch-cta-form__hours {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.85);
}

.ch-page .ch-cta-form__form {
    background: var(--ch-white);
    padding: 32px;
}

/* ==========================================================================
   7. FAQ ACCORDION (shared component overrides)
   ========================================================================== */
.ch-page .faq-section {
    padding: 80px 32px;
}

.ch-page .faq-section .container {
    max-width: var(--ch-max-w);
    margin: 0 auto;
    padding: 0;
}

/* ==========================================================================
   8. NEARBY CITIES
   ========================================================================== */
.ch-page .ch-nearby {
    padding: 80px 32px;
    background: var(--ch-gray-95);
}

.ch-page .ch-nearby__inner {
    max-width: var(--ch-max-w);
    margin: 0 auto;
}

.ch-page .ch-view-all {
    color: var(--ch-red);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
}

.ch-page .ch-view-all:hover {
    text-decoration: underline;
}

.ch-page .ch-nearby__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 32px;
}

.ch-page .ch-nearby__card {
    display: block;
    padding: 32px;
    border: 1px solid var(--ch-line);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.25s ease;
    position: relative;
}

.ch-page .ch-nearby__card:hover {
    border-color: var(--ch-red);
}

.ch-page .ch-nearby__card h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.ch-page .ch-nearby__abbr {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ch-gray-60);
}

.ch-page .ch-nearby__link {
    display: block;
    margin-top: 12px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ch-red);
}

/* ==========================================================================
   9. FINAL CTA
   ========================================================================== */
.ch-page .ch-final-cta {
    background: var(--ch-black);
    color: var(--ch-white);
    padding: 80px 32px;
    text-align: center;
}

.ch-page .ch-final-cta__inner {
    max-width: 640px;
    margin: 0 auto;
}

.ch-page .ch-final-cta h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.ch-page .ch-final-cta p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
}

.ch-page .ch-final-cta__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ==========================================================================
   10. STICKY MOBILE CTA
   ========================================================================== */
.ch-page .ch-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: var(--ch-black);
    padding: 12px 16px;
    gap: 12px;
}

.ch-page .ch-sticky-cta__phone {
    flex: 1;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--ch-white);
    padding: 12px;
    text-decoration: none;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ch-page .ch-sticky-cta__btn {
    flex: 1;
    background: var(--ch-red);
    color: var(--ch-white);
    text-align: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 12px;
    text-decoration: none;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 980px) {
    .ch-page .ch-equipment__grid { grid-template-columns: 1fr; gap: 16px; }
    .ch-page .ch-process__grid { grid-template-columns: 1fr; }
    .ch-page .ch-nearby__grid { grid-template-columns: repeat(2, 1fr); }
    .ch-page .ch-cta-form__inner { grid-template-columns: 1fr; gap: 32px; }
    .ch-page .ch-hero__inner { grid-template-columns: 1fr; }
    .ch-page .ch-hero__sidebar { display: none; }
}

@media (max-width: 720px) {
    .ch-page .ch-sticky-cta { display: flex; }
    .ch-page .ch-hero__content { padding: 48px 20px; }
    .ch-page .ch-hero__stats { flex-direction: column; gap: 16px; }
    .ch-page .ch-equipment { padding: 56px 20px; }
    .ch-page .ch-process { padding: 56px 20px; }
    .ch-page .ch-context { padding: 56px 20px; }
    .ch-page .ch-cta-form { padding: 56px 20px; }
    .ch-page .faq-section { padding: 56px 20px; }
    .ch-page .ch-nearby { padding: 56px 20px; }
    .ch-page .ch-final-cta { padding: 56px 20px 100px; }
    .ch-page .ch-final-cta__actions { flex-direction: column; }
    .ch-page .ch-hero__actions { flex-direction: column; }
    .ch-page .ch-cta-form__actions { flex-direction: column; }
    .ch-page .ch-breadcrumb { padding: 10px 20px; }
}

@media (max-width: 560px) {
    .ch-page .ch-nearby__grid { grid-template-columns: 1fr; }
}
