/* ================================================
   ALPA — Legal Pages Supplemental Styles
   Used by privacy.html and terms.html
   ================================================ */

/* Inner page base */
.inner-page {
    padding-top: 0;
}

/* Force navbar to always appear scrolled on inner pages */
.inner-page .navbar {
    background: rgba(255,255,255,0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}

/* On inner pages the logo is always over a white navbar — show the dark version */
.inner-page .navbar .logo-img {
    filter: invert(0) brightness(1) !important;
}

/* Also ensure the wrap doesn't inherit any stray invert from navbar state */
.inner-page .navbar .logo-wrap .logo-img {
    filter: invert(0) brightness(1) !important;
}

/* Inner Hero */
.inner-hero {
    background: var(--black);
    padding: 110px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.inner-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(44,95,141,0.18) 0%, transparent 70%);
    pointer-events: none;
}

.inner-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 20px;
}

.inner-hero h1 {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 16px;
}

.inner-hero p {
    font-size: 14px;
    color: rgba(255,255,255,0.42);
    letter-spacing: 0.5px;
}

/* Inner Content */
.inner-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 80px 60px 100px;
}

.inner-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 56px;
    transition: gap 0.2s ease, color 0.2s ease;
    border: 1px solid rgba(44,95,141,0.2);
    padding: 9px 18px;
    border-radius: 30px;
}

.inner-back:hover {
    gap: 14px;
    color: var(--accent-light);
    background: rgba(44,95,141,0.05);
}

.inner-content > p:first-of-type {
    font-size: 18px;
    line-height: 1.75;
    color: var(--grey-dark);
    margin-bottom: 20px;
}

.inner-content h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--black);
    margin: 52px 0 14px;
    letter-spacing: -0.4px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--grey-light);
}

.inner-content p {
    font-size: 16px;
    line-height: 1.85;
    color: #555;
    margin-bottom: 16px;
}

.inner-content p strong {
    color: var(--grey-dark);
    font-weight: 600;
}

.inner-content ul {
    margin: 8px 0 20px 0;
    padding: 0;
    list-style: none;
}

.inner-content li {
    position: relative;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    padding-left: 24px;
    margin-bottom: 8px;
}

.inner-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

/* Policy Section Divider (Cancellation / Shipping headings) */
.policy-section-divider {
    margin-top: 64px !important;
    padding-top: 20px !important;
    border-top: 2px solid var(--grey-light) !important;
}

.policy-meta {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--grey-mid);
    margin-bottom: 24px;
    margin-top: -6px;
}

/* Contact block on legal pages */
.contact-block {
    background: var(--grey-lightest);
    border-radius: 18px;
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 8px;
}

.contact-block-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

.contact-block-row i {
    color: var(--accent);
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

.contact-block-row strong {
    color: var(--grey-dark);
}

/* ── Ride Rules Grid ── */
.ride-rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.ride-rule-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: var(--grey-lightest);
    border-radius: 16px;
    padding: 26px 24px;
    border: 1px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.ride-rule-card:hover {
    border-color: rgba(44, 95, 141, 0.18);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}

.ride-rule-card--alert {
    background: rgba(220, 53, 69, 0.05);
    border-color: rgba(220, 53, 69, 0.12);
}

.ride-rule-card--alert:hover {
    border-color: rgba(220, 53, 69, 0.3);
}

.ride-rule-card--alert .ride-rule-icon {
    background: rgba(220, 53, 69, 0.1);
}

.ride-rule-card--alert .ride-rule-icon i {
    color: #c0392b;
}

.ride-rule-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(44, 95, 141, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ride-rule-icon i {
    font-size: 18px;
    color: var(--accent);
}

.ride-rule-body h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.ride-rule-body p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--grey-mid);
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .inner-hero { padding: 100px 0 60px; }

    .inner-content {
        padding: 60px 24px 80px;
    }

    .inner-content h2 { margin: 40px 0 12px; }

    .ride-rules-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
