/**
 * DucorMall about page
 */
.dm-about {
    background: var(--dm-bg);
    padding-bottom: 3.5rem;
}

.dm-about__container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dm-about__container--top {
    padding-top: 0.5rem;
}

.dm-about > .dm-parallax-band {
    margin-block: 1.25rem;
}

@media (min-width: 768px) {
    .dm-about > .dm-parallax-band {
        margin-block: 1.75rem;
    }
}

.dm-about > .dm-parallax-band:first-of-type {
    margin-top: 0.75rem;
}

.dm-about .dm-parallax-band[id] {
    scroll-margin-top: 5.5rem;
}

/* Highlights */
.dm-about-features {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .dm-about-features {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
        margin-bottom: 2rem;
    }
}

.dm-about-feature {
    background: #fff;
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius);
    padding: 1.15rem 1rem;
    text-align: center;
    box-shadow: var(--dm-shadow);
    transition: box-shadow 0.2s, transform 0.2s;
}

@media (min-width: 768px) {
    .dm-about-feature:hover {
        box-shadow: var(--dm-shadow-lg);
        transform: translateY(-2px);
    }
}

.dm-about-feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.65rem;
    border-radius: 50%;
    background: var(--dm-primary-light);
    font-size: 1.25rem;
    line-height: 1;
}

.dm-about-feature h4 {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--dm-navy-dark);
    margin: 0 0 0.35rem;
}

.dm-about-feature p {
    font-size: 0.75rem;
    color: var(--dm-slate);
    margin: 0;
    line-height: 1.45;
}

/* Intro */
.dm-about-intro {
    margin-bottom: 2rem;
    padding: 1.35rem;
    background: linear-gradient(135deg, #fff 0%, #fafbfc 100%);
    border: 1px solid var(--dm-border);
    border-left: 4px solid var(--dm-secondary);
    border-radius: var(--dm-radius);
    box-shadow: var(--dm-shadow);
}

@media (min-width: 768px) {
    .dm-about-intro {
        padding: 1.75rem;
    }
}

.dm-about-intro__title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 800;
    color: var(--dm-navy-dark);
    letter-spacing: -0.02em;
}

.dm-about-intro p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--dm-slate);
    margin-bottom: 0.85rem;
}

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

/* Sticky nav */
.dm-about-nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.35rem;
    padding: 0.65rem;
    margin-bottom: 2rem;
    background: #fff;
    border: 1px solid var(--dm-border);
    border-radius: 999px;
    box-shadow: var(--dm-shadow);
    position: sticky;
    top: 0.75rem;
    z-index: 20;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.dm-about-nav::-webkit-scrollbar {
    display: none;
}

@media (min-width: 768px) {
    .dm-about-nav {
        flex-wrap: wrap;
        justify-content: center;
        overflow: visible;
    }
}

.dm-about-nav a {
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dm-slate);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.dm-about-nav a:hover {
    color: var(--dm-navy-dark);
    background: var(--dm-bg);
}

/* Sections */
.dm-about-section {
    margin-bottom: 2rem;
    scroll-margin-top: 5.5rem;
    padding: 1.35rem;
    background: #fff;
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius);
    box-shadow: var(--dm-shadow);
}

@media (min-width: 768px) {
    .dm-about-section {
        padding: 1.75rem 1.85rem 2rem;
        margin-bottom: 2.25rem;
    }
}

.dm-about-section--contact {
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.dm-about-section__head {
    margin-bottom: 1.5rem;
    max-width: 42rem;
}

.dm-about-section__eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dm-orange);
    margin: 0 0 0.5rem;
}

.dm-about-section__title {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--dm-navy-dark);
    margin: 0 0 0.65rem;
}

.dm-about-section__lead {
    font-size: 0.975rem;
    line-height: 1.6;
    color: var(--dm-slate);
    margin: 0;
}

.dm-about-section__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-top: 1.5rem;
    padding-top: 1.35rem;
    border-top: 1px solid var(--dm-border);
}

.dm-about-section__footer-note {
    flex: 1 1 12rem;
    margin: 0;
    font-size: 0.8125rem;
    color: var(--dm-slate);
    line-height: 1.5;
}

.dm-about-section__footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.dm-about-cta-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin: 2rem 0 0;
    padding: 1.5rem 1.35rem;
    background: linear-gradient(135deg, var(--dm-navy-dark) 0%, #1a3a52 100%);
    border-radius: var(--dm-radius);
    color: #fff;
}

@media (min-width: 768px) {
    .dm-about-cta-band {
        padding: 1.75rem 2rem;
    }
}

.dm-about-cta-band__copy h2 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.dm-about-cta-band__copy p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    max-width: 32rem;
}

.dm-about-cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    flex-shrink: 0;
}

.dm-about-cta-band .dm-btn--primary {
    background: var(--dm-secondary);
    border-color: var(--dm-secondary);
}

.dm-about-cta-band .dm-btn--outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
    background: transparent;
}

.dm-about-cta-band .dm-btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.65);
}

/* Steps */
.dm-about-steps {
    position: relative;
}

.dm-about-steps__track {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .dm-about-steps--2 .dm-about-steps__track {
        grid-template-columns: repeat(2, 1fr);
    }

    .dm-about-steps--3 .dm-about-steps__track {
        grid-template-columns: repeat(3, 1fr);
    }

    .dm-about-steps--4 .dm-about-steps__track {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .dm-about-steps--4 .dm-about-steps__track {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767.98px) {
    .dm-about-steps--carousel .dm-about-steps__track {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.85rem;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        padding: 0.15rem 0 0.5rem;
        margin: 0;
        scrollbar-width: none;
    }

    .dm-about-steps--carousel .dm-about-steps__track::-webkit-scrollbar {
        display: none;
    }

    .dm-about-steps--carousel .dm-about-step {
        flex: 0 0 min(88vw, 20rem);
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .dm-about-steps__nav {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }

    .dm-about-steps__dots {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .dm-about-steps__dot {
        width: 0.5rem;
        height: 0.5rem;
        padding: 0;
        border: none;
        border-radius: 50%;
        background: var(--dm-border);
        cursor: pointer;
        transition: transform 0.2s, background-color 0.2s;
    }

    .dm-about-steps__dot.is-active {
        width: 1.35rem;
        border-radius: 999px;
        background: var(--dm-primary);
    }

    .dm-about-steps__dot:focus-visible {
        outline: 2px solid var(--dm-primary);
        outline-offset: 2px;
    }
}

@media (min-width: 768px) {
    .dm-about-steps__nav {
        display: none;
    }
}

.dm-about-step {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius-sm);
    padding: 1.35rem;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

@media (min-width: 768px) {
    .dm-about-step:hover {
        border-color: rgba(var(--dm-primary-rgb), 0.25);
        box-shadow: var(--dm-shadow);
        transform: translateY(-2px);
    }
}

.dm-about-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dm-orange), #d97706);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
}

.dm-about-step__title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dm-navy-dark);
    margin: 0 0 0.45rem;
}

.dm-about-step__text {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--dm-slate);
    margin: 0;
    flex-grow: 1;
}

.dm-about-step__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dm-about-step__actions .dm-btn {
    text-align: center;
    min-height: 42px;
}

.dm-about-section--steps-only {
    padding-top: 1rem;
}

.dm-about-section--steps-only .dm-about-section__head {
    display: none;
}

/* Contact */
.dm-about-contact {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
    padding: 1.35rem;
    background: #fff;
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius);
    box-shadow: var(--dm-shadow);
}

@media (min-width: 768px) {
    .dm-about-contact {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
        gap: 1.75rem;
        align-items: start;
        padding: 1.75rem;
    }
}

.dm-about-contact__intro {
    min-width: 0;
}

.dm-about-contact__channels {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 1fr;
}

@media (min-width: 576px) {
    .dm-about-contact__channels {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.dm-about-contact__channel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    height: 100%;
    padding: 1.1rem;
    background: var(--dm-bg);
    border: 1px solid var(--dm-border);
    border-radius: var(--dm-radius-sm);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.dm-about-contact__channel:hover {
    border-color: rgba(var(--dm-primary-rgb), 0.25);
    box-shadow: var(--dm-shadow);
}

.dm-about-contact__channel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.75rem;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--dm-border);
}

.dm-about-contact__channel img {
    height: 1.35rem;
    width: auto;
}

.dm-about-contact__channel h4 {
    font-size: 0.875rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
    color: var(--dm-navy-dark);
}

.dm-about-contact__channel p {
    font-size: 0.8125rem;
    color: var(--dm-slate);
    margin: 0 0 0.65rem;
    line-height: 1.45;
    flex-grow: 1;
}

.dm-about-contact__channel a {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--dm-primary);
    margin: 0;
    text-decoration: none;
}

.dm-about-contact__channel a:hover {
    color: var(--dm-secondary);
    text-decoration: underline;
}

@media (max-width: 575.98px) {
    .dm-about .dm-parallax-band__actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 18rem;
        margin-inline: auto;
    }

    .dm-about .dm-parallax-band__actions .dm-btn {
        width: 100%;
    }

    .dm-about-section {
        padding: 1.15rem;
    }

    .dm-about-nav {
        margin-inline: -0.25rem;
        border-radius: var(--dm-radius);
    }
}
