/* About page — matches woodmeadauto.com/about-us */

/* Hero entrance */
.page-hero-content {
    animation: about-hero-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes about-hero-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reveal / fade-in */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .page-hero-content {
        animation: none;
    }
}

/* Intro */
.about-intro {
    padding-top: 80px;
    padding-bottom: 40px;
    background: #fff;
}

.about-intro-inner {
    max-width: 920px;
}

.about-intro-title {
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.15;
    letter-spacing: 0.02em;
    color: #111;
    margin: 10px 0 28px;
}

.about-pill-btn {
    border-radius: 999px;
    padding: 14px 32px;
    margin-bottom: 36px;
}

.about-lead {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 20px;
}

.about-body-p {
    color: #333;
    line-height: 1.85;
    margin: 0 0 18px;
    font-size: 0.98rem;
}

/* Feature car */
.about-feature-car {
    background: #fff;
    padding: 20px 0 40px;
}

.about-feature-car img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: center;
}

/* Ticker */
.about-ticker {
    background: #fff;
    overflow: hidden;
    padding: 22px 0;
    border-bottom: 8px solid var(--color-red);
}

.about-ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 18px;
    white-space: nowrap;
    animation: about-ticker 28s linear infinite;
}

.about-ticker-track span {
    font-family: var(--font-main);
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    font-weight: 600;
    color: var(--color-red);
}

.about-ticker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-red);
    display: inline-block;
    flex-shrink: 0;
}

@keyframes about-ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .about-ticker-track {
        animation: none;
    }
}

/* Why choose — red band */
.about-why {
    background: var(--color-red);
    color: #fff;
    padding: 80px 0 90px;
}

.about-why-title {
    text-align: center;
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 48px;
    color: #fff;
}

.about-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.about-why-card {
    position: relative;
    text-align: center;
    padding: 28px 16px 8px;
    z-index: 1;
}

.about-why-num {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -58%);
    font-size: clamp(5rem, 10vw, 8rem);
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.18);
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.about-why-card h3 {
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 14px;
    line-height: 1.35;
    color: #fff;
}

.about-why-card hr {
    position: relative;
    z-index: 1;
    width: 56px;
    margin: 0 auto 16px;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.85);
}

.about-why-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}

/* Offer cards — staggered */
.about-offers {
    background: #fff;
    padding-top: 80px;
}

.about-section-heading {
    text-align: center;
    margin-bottom: 48px;
}

.about-section-heading .section-heading {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.about-offers-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.about-offer-card {
    background: #1a1a1a;
    color: #fff;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px 18px;
}

.about-offer-card:nth-child(odd) {
    transform: translateY(-18px);
}

.about-offer-card:nth-child(even) {
    transform: translateY(18px);
}

.about-offer-card.is-visible:nth-child(odd) {
    transform: translateY(-18px);
}

.about-offer-card.is-visible:nth-child(even) {
    transform: translateY(18px);
}

.about-offer-card.reveal:not(.is-visible):nth-child(odd) {
    transform: translateY(10px);
}

.about-offer-card.reveal:not(.is-visible):nth-child(even) {
    transform: translateY(46px);
}

.about-offer-card span {
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0.02em;
}

/* Services */
.about-services {
    background: #f7f7f7;
}

.about-services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.about-services-header .section-heading {
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    line-height: 1.15;
}

.view-all-link {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--color-red);
    text-transform: uppercase;
    white-space: nowrap;
}

.about-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.about-service-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 28px 24px;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.about-service-card:hover {
    border-color: var(--color-red);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.about-service-card h3 {
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 12px;
    color: #111;
}

.about-service-card p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.7;
    color: #666;
}

/* Story */
.about-story {
    background: #fff;
    padding-bottom: 40px;
}

.about-story-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.about-story-header .section-heading {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    line-height: 1.15;
}

.about-story-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 72px;
}

.about-story-row.image-right .about-story-media {
    order: 2;
}

.about-story-row.image-right .about-story-content {
    order: 1;
}

.about-story-media img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    max-height: 560px;
    object-fit: cover;
    filter: grayscale(1);
    display: block;
}

.about-story-row.is-short .about-story-media img {
    min-height: 320px;
    max-height: 420px;
}

.about-story-content {
    position: relative;
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.about-story-rail {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 16px;
    min-height: 120px;
    padding-top: 6px;
}

.about-story-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #111;
    flex-shrink: 0;
}

.about-story-line {
    width: 1px;
    flex: 1;
    background: #d0d0d0;
    margin: 8px 0;
    min-height: 60px;
}

.about-story-mark {
    width: 4px;
    height: 28px;
    background: #c0c0c0;
    flex-shrink: 0;
}

.about-story-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.85;
    color: #333;
    padding-top: 2px;
}

.about-story-content p.align-right {
    text-align: right;
}

.about-story-row.image-right .about-story-content {
    flex-direction: row-reverse;
}

.about-story-closing {
    max-width: 1000px;
    margin: 20px auto 0;
    padding-top: 20px;
}

.about-story-closing-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px;
}

.about-story-closing-rail .about-story-line {
    min-height: 48px;
    flex: none;
    height: 48px;
}

.about-story-closing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-story-closing-media img {
    width: 100%;
    min-height: 280px;
    max-height: 360px;
    object-fit: cover;
    filter: grayscale(1);
    display: block;
}

.about-story-closing-grid p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.85;
    color: #333;
}

/* Responsive */
@media (max-width: 992px) {
    .about-why-grid,
    .about-services-grid {
        grid-template-columns: 1fr;
    }

    .about-offers-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .about-offer-card:nth-child(odd),
    .about-offer-card:nth-child(even),
    .about-offer-card.is-visible:nth-child(odd),
    .about-offer-card.is-visible:nth-child(even) {
        transform: none;
    }

    .about-offer-card.reveal:not(.is-visible):nth-child(odd),
    .about-offer-card.reveal:not(.is-visible):nth-child(even) {
        transform: translateY(28px);
    }

    .about-story-row,
    .about-story-closing-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-story-row.image-right .about-story-media,
    .about-story-row.image-right .about-story-content {
        order: initial;
    }

    .about-story-media img,
    .about-story-row.is-short .about-story-media img {
        min-height: 280px;
        max-height: 400px;
    }

    .about-story-content p.align-right {
        text-align: left;
    }

    .about-story-row.image-right .about-story-content {
        flex-direction: row;
    }
}

@media (max-width: 640px) {
    .about-intro {
        padding-top: 56px;
    }

    .about-offers-row {
        grid-template-columns: 1fr;
    }

    .about-story-header,
    .about-services-header {
        align-items: flex-start;
        flex-direction: column;
    }
}
