/* ==========================================================================
   CALZADA - ABOUT PAGE STYLES
   Strictly scoped to body.about-page
   Single centered column layout (max-width: 640px) at every size
   ========================================================================== */

:root {
    --biz-spring: cubic-bezier(.34, 1.56, .64, 1);
    --biz-out: cubic-bezier(.22, 1, .36, 1);
}

/* Floating header backdrop strip: hides scrolling content above the scrolled nav pill */
body.about-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: var(--bg, #f0f6fc);
    z-index: 199;
    pointer-events: none;
}

body.about-page {
    background-color: var(--bg, #f0f6fc);
    color: #3D5068;
    overflow-x: hidden;
}

/* Non-draggable icons and logos */
.logo-img,
.drawer-logo,
.about-plain-row-icon img,
.about-routie-avatar img {
    -webkit-user-drag: none;
    user-select: none;
}

/* Base override for about page container: centered column with 24px side padding */
body.about-page .about-page-container {
    padding: 120px 24px 80px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    background: transparent;
    box-sizing: border-box;
}

/* Single centered column container (max-width: 640px) */
.about-shell {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Section base: vertical padding 40px, NO lines/dividers */
.about-section {
    padding: 40px 0;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.about-intro-section {
    padding-top: 16px;
    padding-bottom: 40px;
}

/* Each section: title in Sora 24px */
.about-main-title,
.about-section-heading {
    font-family: 'Sora', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #0E2A47;
    line-height: 1.3;
    margin: 0 0 16px 0;
    text-align: left;
}

/* Sub-note under section heading */
.about-heading-note {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    color: #5A6A7F;
    line-height: 1.5;
    margin-top: 8px;
    margin-bottom: 14px;
    text-align: left;
}

/* Paragraphs of one sentence each: max width 640px, Outfit 16px, line-height 1.6, 14px between paragraphs */
.about-body-text,
.about-intro-p,
.about-lead-text,
.about-shell p {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #3D5068;
    max-width: 640px;
    margin: 0 0 14px 0;
    text-align: left;
}

.about-shell p:last-child {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   3. What Calzada Covers
   -------------------------------------------------------------------------- */
.about-covers-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 20px;
}

.about-group-col {
    display: flex;
    flex-direction: column;
}

.about-group-label {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #5A6A7F;
    margin-bottom: 14px;
    text-align: left;
}

.about-item-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-item-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}

.about-plain-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.about-plain-row-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1F69B8;
}

.about-plain-row-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.about-plain-row-icon svg {
    width: 22px;
    height: 22px;
    stroke: #378ADD;
}

.about-plain-row-label {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #0E2A47;
    line-height: 1.3;
}

/* --------------------------------------------------------------------------
   4. Routie Row
   White card, 1px solid #E2E8F0, 12px radius
   -------------------------------------------------------------------------- */
.about-routie-section {
    padding: 24px 0;
}

.about-routie-row {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-sizing: border-box;
}

.about-routie-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.about-routie-avatar {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-routie-avatar img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.about-routie-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.about-routie-title {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #0E2A47;
    margin: 0 0 4px 0;
    text-align: left;
}

.about-routie-info p.about-body-text {
    margin: 0 0 6px 0;
    font-size: 15px;
}

.about-routie-info p.about-body-text:last-child {
    margin-bottom: 0;
}

.btn-about-routie {
    background: transparent;
    color: #2272C3;
    border: 1.5px solid #378ADD;
    border-radius: 8px;
    padding: 8px 18px;
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}

.btn-about-routie:hover {
    background-color: #F0F7FF;
    border-color: #2272C3;
}

.btn-about-routie:focus-visible {
    outline: 2px solid #378ADD;
    outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   4b. For local businesses
   -------------------------------------------------------------------------- */
.about-business-summary-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}

.about-business-link,
.about-business-faq-link,
.about-transparency-link {
    display: inline-block;
    color: #1F69B8;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    width: fit-content;
    transition: color 0.15s ease;
}

.about-business-link:hover,
.about-business-faq-link:hover,
.about-transparency-link:hover {
    color: #134B85;
}

.about-business-link:focus-visible,
.about-business-faq-link:focus-visible,
.about-transparency-link:focus-visible {
    outline: 2px solid #378ADD;
    outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   5. Why Calzada?
   -------------------------------------------------------------------------- */
.about-why-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 16px;
}

.about-why-col {
    display: flex;
    flex-direction: column;
}

.about-why-title {
    font-family: 'Sora', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #0E2A47;
    margin: 0 0 6px 0;
    text-align: left;
}

/* --------------------------------------------------------------------------
   6. Made by
   -------------------------------------------------------------------------- */
.about-team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.about-team-member {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-sizing: border-box;
}

.about-team-name {
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #0E2A47;
}

.about-team-role {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    color: #5A6A7F;
}

/* --------------------------------------------------------------------------
   7. CTA Banner
   -------------------------------------------------------------------------- */
.about-cta-section {
    padding: 40px 0 64px;
}

.about-cta-banner {
    background-color: #1E62A8;
    border-radius: 14px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    box-sizing: border-box;
}

.about-cta-text-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-cta-title {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.25;
    margin: 0;
    text-align: left;
}

.about-shell .about-cta-sub,
.about-cta-sub {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88) !important;
    margin: 0;
    text-align: left;
}

.btn-about-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    color: #1A5CA3;
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-about-cta:hover {
    background: #F8FAFC;
    transform: translateY(-1px);
}

.btn-about-cta:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Responsive Adaptations
   The same layout at every width; only the padding changes.
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    body.about-page .about-page-container {
        padding: 104px 24px 60px;
    }

    .about-section {
        padding: 32px 0;
    }
}

@media (max-width: 480px) {
    body.about-page .about-page-container {
        padding: 96px 20px 48px;
    }

    .about-section {
        padding: 28px 0;
    }

    .about-item-list-grid {
        grid-template-columns: 1fr;
    }

    .about-routie-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .btn-about-routie {
        width: 100%;
        text-align: center;
    }

    .about-team-grid {
        grid-template-columns: 1fr;
    }

    .btn-about-cta {
        width: 100%;
        text-align: center;
    }
}