/* ==========================================================================
   About Us (#about-us) – Background image, curved content block, slides
   ========================================================================== */
#about-us {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    padding: 0;
    display: block;
    box-sizing: border-box;
}

#about-us .about-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    box-sizing: border-box;
}

#about-us .about-bg {
    position: absolute;
    inset: 0;
    background-color: #0a0e14;
    background-image: linear-gradient(rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.55)), url("../media/about-bg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    filter: grayscale(100%);
}

#about-us .about-content-block {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 52%;
    max-height: 58%;
    background: #11100E;
    border-radius: 150px 0px 0 0;
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 3rem) clamp(1rem, 2vw, 1.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    z-index: 1;
}

#about-us .about-slider {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(2.5rem, 3.25vw, 3.25rem);
    width: 100%;
    max-width: min(1120px, 94vw);
    flex: 1;
    min-height: 120px;
}

/* Desktop: prev | viewport | next on row; pagination below */
#about-us .about-slide-controls {
    display: contents;
}

#about-us .about-prev { order: 1; }
#about-us .about-slides-viewport { order: 2; }
#about-us .about-next { order: 3; }
#about-us .about-pagination { order: 4; width: 100%; }

#about-us .about-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, background 0.2s ease;
}

#about-us .about-arrow:hover {
    border-color: rgba(244, 108, 20, 0.7);
    background: rgba(244, 108, 20, 0.15);
}

#about-us .about-arrow:focus {
    outline: none;
    border-color: rgba(244, 108, 20, 0.6);
    box-shadow: 0 0 0 2px rgba(244, 108, 20, 0.25);
}

#about-us .about-slides-viewport {
    flex: 1;
    min-width: 0;
    min-height: 100px;
    overflow: hidden;
}

#about-us .about-slides-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#about-us .about-slide {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    box-sizing: border-box;
}

#about-us .about-slide-inner {
    text-align: center;
    max-width: min(900px, 88vw);
    width: 100%;
}

#about-us .about-heading {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: clamp(1.25rem, 2.5vw, 1.85rem);
    color: #fff;
    margin: 0 0 clamp(0.5rem, 1vw, 0.75rem) 0;
    line-height: 1.25;
}

#about-us .about-heading-gradient {
    background: linear-gradient(135deg, #F46C14, #ff9d5c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#about-us .about-text {
    font-family: var(--body-font);
    font-weight: 300;
    font-size: clamp(0.85rem, 1.05vw, 0.95rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 clamp(0.75rem, 1.25vw, 1rem) 0;
}

#about-us .about-list {
    list-style: none;
    margin: 0 0 clamp(0.75rem, 1.25vw, 1rem) 0;
    padding: 0;
    text-align: left;
    max-width: min(640px, 85vw);
    margin-left: auto;
    margin-right: auto;
}

#about-us .about-list li {
    font-family: var(--body-font);
    font-weight: 300;
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

#about-us .about-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #F46C14;
}

/* Slide 2: Why We're Different – 2x2 card grid */
#about-us .about-slide-different {
    max-width: min(960px, 92vw);
}

#about-us .about-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(0.6rem, 1vw, 0.9rem);
    margin: 0 auto clamp(1rem, 1.5vw, 1.25rem) auto;
    text-align: left;
}

#about-us .about-card {
    padding: clamp(0.5rem, 0.8vw, 0.75rem);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

#about-us .about-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

#about-us .about-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(244, 108, 20, 0.2);
    color: #F46C14;
    margin-bottom: 0.35rem;
}

#about-us .about-card-icon svg {
    width: 16px;
    height: 16px;
}

#about-us .about-card-title {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    color: #fff;
    margin: 0 0 0.2rem 0;
    line-height: 1.3;
}

#about-us .about-card-desc {
    font-family: var(--body-font);
    font-weight: 300;
    font-size: clamp(0.7rem, 0.85vw, 0.8rem);
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

#about-us .about-quote {
    font-family: var(--body-font);
    font-weight: 300;
    font-size: clamp(0.85rem, 1.05vw, 0.95rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 clamp(0.75rem, 1.25vw, 1rem) 0;
    font-style: italic;
    border-left: 3px solid #F46C14;
    padding-left: 1rem;
    text-align: left;
}

#about-us .about-cta {
    display: inline-block;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    letter-spacing: 0.08em;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 0.15em;
    transition: color 0.2s ease, border-color 0.2s ease;
}

#about-us .about-cta-btn {
    border: none;
    border-bottom: none;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, #F46C14, #e85a0a);
    color: #fff;
    border-radius: 30px;
    margin-top: 0.5rem;
    box-shadow: 0 4px 20px rgba(244, 108, 20, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

#about-us .about-cta-btn:hover {
    color: #fff;
    background: linear-gradient(135deg, #ff7d2e, #F46C14);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(244, 108, 20, 0.45);
}

#about-us .about-cta-intro {
    font-family: var(--body-font);
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 0.25rem 0;
}

#about-us .about-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    margin-top: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    padding-left: clamp(1rem, 2vw, 1.5rem);
    padding-right: clamp(1rem, 2vw, 1.5rem);
}

#about-us .about-pagination-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#about-us .about-dot {
    width: 24px;
    height: 3px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 2px;
    transition: background 0.25s ease, width 0.25s ease;
}

#about-us .about-dot.active {
    background: #F46C14;
    width: 32px;
}

#about-us .about-pagination-numbers {
    font-family: var(--heading-font);
    font-size: clamp(0.7rem, 0.9vw, 0.8rem);
    color: rgba(255, 255, 255, 0.7);
}

/* Desktop: pagination centered at bottom, inside border-frame */
@media (min-width: 980px) {
    #about-us .about-content-block {
        padding-bottom: calc(var(--space-2) + var(--space-3) + clamp(0.5rem, 1vw, 0.75rem));
    }

    #about-us .about-slider {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: 1fr auto;
        align-items: center;
        justify-items: center;
        gap: clamp(0.75rem, 1.5vw, 1.25rem) clamp(2.5rem, 3.25vw, 3.25rem);
        flex: 1;
        min-height: 0;
        width: 100%;
    }

    #about-us .about-prev {
        grid-column: 1;
        grid-row: 1;
        order: unset;
        align-self: center;
    }

    #about-us .about-slides-viewport {
        grid-column: 2;
        grid-row: 1;
        order: unset;
        width: 100%;
        min-height: 0;
    }

    #about-us .about-next {
        grid-column: 3;
        grid-row: 1;
        order: unset;
        align-self: center;
    }

    #about-us .about-pagination {
        grid-column: 1 / -1;
        grid-row: 2;
        order: unset;
        width: auto;
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
        margin-top: 0;
        margin-bottom: 0;
        padding-left: 0;
        padding-right: 0;
        justify-self: center;
    }
}

@media (max-width: 768px) {
    #about-us .about-content-block {
        min-height: 55%;
        max-height: 62%;
        border-radius: 48px 48px 0 0;
        padding: 1.25rem 1rem 1rem;
    }
    #about-us .section-vertical-label {
        font-size: clamp(0.55rem, 2vw, 0.65rem);
        left: max(4px, var(--safe-left));
    }
    #about-us .about-arrow {
        width: 36px;
        height: 36px;
    }
    #about-us .about-arrow svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    #about-us .about-content-block {
        border-radius: 32px 32px 0 0;
        min-height: 58%;
        max-height: 65%;
        padding: 1rem 0.75rem;
    }
    #about-us .section-vertical-label {
        font-size: clamp(0.5rem, 2vw, 0.6rem);
    }
    #about-us .about-heading {
        font-size: clamp(1rem, 4.5vw, 1.25rem);
    }
    #about-us .about-text,
    #about-us .about-quote {
        font-size: 0.85rem;
    }
}

@media (max-width: 400px) {
    #about-us .about-content-block {
        min-height: 60%;
        max-height: 70%;
    }
    #about-us .about-list li {
        font-size: 0.78rem;
        padding-left: 0.75rem;
    }
    #about-us .about-card-title {
        font-size: 0.8rem;
    }
    #about-us .about-card-desc {
        font-size: 0.72rem;
    }
}

@media (max-width: 380px) {
    #about-us .about-arrow {
        width: 40px;
        height: 40px;
    }
    #about-us .about-pagination {
        margin-top: 0.75rem;
        margin-bottom: 0.75rem;
    }
}
