/* About page styles scoped to main.about-page */

.about-page {
    --about-text: #111827;
    --about-muted: #4b5563;
    --about-navy: #162435;
    --about-gold: #ab874b;
    --about-bg: #f3f4f6;
    --about-surface: #ffffff;
    --about-line: #e5e7eb;
    --about-shadow-soft: 0 8px 20px rgba(15, 23, 42, 0.06);
    --about-shadow-strong: 0 24px 60px rgba(0, 0, 0, 0.35);
    --about-radius-lg: 24px;
    --about-radius-md: 16px;
    --about-radius-sm: 12px;
    background-color: var(--about-bg);
    background-image:
        radial-gradient(circle at 8% 12%, rgba(171, 135, 75, 0.14), transparent 55%),
        radial-gradient(circle at 92% 6%, rgba(22, 36, 53, 0.08), transparent 45%),
        repeating-linear-gradient(135deg, rgba(22, 36, 53, 0.03), rgba(22, 36, 53, 0.03) 1px, transparent 1px, transparent 12px);
    background-size: auto, auto, 240px 240px;
    color: var(--about-text);
}

.about-page p {
    margin: 0;
}

.about-page .section-header {
    text-align: center;
    margin-bottom: 32px;
}

.about-page .section-header--centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.about-page .section-subtitle {
    max-width: 760px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.8;
    color: var(--about-muted);
}

/* Heading pattern used by sections */
.about-page .ov-heading {
    display: flex;
    align-items: center;
    gap: 16px;
}

.about-page .ov-heading--center {
    justify-content: center;
    width: 100%;
}

.about-page .ov-heading-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--about-navy);
    white-space: nowrap;
}

.about-page .ov-heading-line {
    flex: 1;
    height: 2px;
    border-radius: 999px;
    background-color: var(--about-gold);
    opacity: 0.9;
}

/* Hero (match services hero design) */
.about-page .services-hero {
    padding-block: 80px 56px;
    background: #ffffff;
}

.about-page .services-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-align: start;
}

.about-page .services-hero-title {
    font-size: clamp(30px, 3.2vw, 48px);
    font-weight: 700;
    line-height: 1.4;
    color: var(--about-navy);
    margin: 0;
}

.about-page .services-hero-subtitle {
    font-size: 18px;
    line-height: 1.9;
    color: #717171;
}

/* Hero */
.about-page .about-hero {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.98)),
        url("https://optimumval.com/wp-content/uploads/2025/10/light-grid.png");
    background-size: cover;
    background-position: center;
}

.about-page .about-hero-inner {
    padding-block: 56px;
    text-align: center;
}

.about-page .about-hero-title {
    margin: 0;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.5;
    color: var(--about-navy);
}

.about-page .about-hero-subtitle {
    margin-top: 12px;
    font-size: 16px;
    color: var(--about-muted);
}

/* Story */
.about-page .about-story {
    padding-block: 80px;
    background-color: white;
}

.about-page .about-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 40px;
    align-items: flex-start;
}

.about-page .about-story-text p + p {
    margin-top: 12px;
}

.about-page .about-story-text p {
    font-size: 15px;
    line-height: 1.9;
    color: #374151;
}

.about-page .about-story-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-page .about-story-image-placeholder {
    position: relative;
    border-radius: var(--about-radius-lg);
    min-height: 260px;
    background-image:
        linear-gradient(135deg, rgba(171, 135, 75, 0.16), rgba(22, 36, 53, 0.12)),
        url("../img/raw/services-hero(1).jpg");
    background-image:
        linear-gradient(135deg, rgba(171, 135, 75, 0.16), rgba(22, 36, 53, 0.12)),
        image-set(
            url("../img/webp/services-hero(1).webp") type("image/webp"),
            url("../img/raw/services-hero(1).jpg") type("image/jpeg")
        );
    background-size: cover;
    background-position: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.about-page .about-story-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    color: #374151;
}

.about-page .about-story-highlights li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: var(--about-radius-sm);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.about-page .about-story-highlights i {
    font-size: 18px;
    color: var(--about-gold);
}

/* Vision and values */
.about-page .about-vision-values {
    padding-block: 80px;
    background:
        radial-gradient(circle at top center, rgba(171, 135, 75, 0.08), rgba(255, 255, 255, 0.96) 70%),
        url("https://optimumval.com/wp-content/uploads/2025/10/light-grid.png");
    background-size: cover;
}

.about-page .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.about-page .value-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.about-page .value-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--about-navy);
    text-align: center;
}

.about-page .value-icon {
    width: 80px;
    height: 80px;
    border-radius: 999px;
    background:
        radial-gradient(circle, rgba(171, 135, 75, 0.25), rgba(22, 36, 53, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--about-gold);
}

.about-page .value-icon i {
    font-size: 28px;
    line-height: 1;
}

/* CEO message */
.about-page .about-ceo-message {
    padding-block: 80px;
    background:
        linear-gradient(135deg, rgba(22, 36, 53, 0.95), rgba(10, 16, 26, 0.95)),
        url("https://optimumval.com/wp-content/uploads/2025/10/dark-blueprint.png");
    background-size: cover;
    background-position: center;
    color: #f9fafb;
}

.about-page .about-ceo-message .ov-heading-text {
    color: #ffffff;
}

.about-page .ceo-grid {
    display: flex;
    align-items: stretch;
    gap: 32px;
    margin-top: 32px;
    padding: 40px 48px;
    border-radius: 30px;
    background: radial-gradient(120% 160% at 0% 0%, #1f2937 0%, #020617 60%, #020617 100%);
    box-shadow: var(--about-shadow-strong);
}

.about-page .ceo-photo-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    text-align: center;
}

.about-page .ceo-photo-placeholder {
    width: 260px;
    max-width: 100%;
    aspect-ratio: 4 / 3.5;
    background: radial-gradient(130% 160% at 0% 0%, #111827 0%, #020617 80%);
    border-radius: 16px;
    overflow: hidden;
}

.about-page .ceo-photo-placeholder img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-page .ceo-name {
    font-size: 16px;
    font-weight: 700;
    color: #f9fafb;
}

.about-page .ceo-title {
    font-size: 14px;
    color: #e5e7eb;
}

.about-page .ceo-message {
    position: relative;
    flex: 1;
    color: #e5e7eb;
    font-size: 16px;
    line-height: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-page .quote-icon {
    color: var(--about-gold);
    position: absolute;
    font-size: 40px;
    opacity: 0.4;
}

.about-page .quote-icon-start {
    inset-inline-start: -24px;
    top: -32px;
}

.about-page .quote-icon-end {
    inset-inline-end: 0;
    bottom: 0;
    transform: scaleX(-1);
}

.about-page[dir="ltr"] .quote-icon-start {
    transform: scaleX(-1);
}

.about-page[dir="ltr"] .quote-icon-end {
    transform: none;
}

/* Resources / CTA */
.about-page .resources-cta {
    padding-block: 80px;
    background:
        radial-gradient(circle at top, rgba(171, 135, 75, 0.14), transparent 60%),
        #f9fafb;
}

.about-page .resources-cta-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 32px;
}

.about-page .resources-cta-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--about-navy);
    margin-bottom: 12px;
}

.about-page .resources-cta-subtitle {
    font-size: 16px;
    line-height: 1.8;
    color: var(--about-muted);
}

.about-page .resources-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.about-page .resources-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 20px 18px;
    border-radius: 20px;
    background: var(--about-surface);
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
    text-align: start;
}

.about-page .resources-card-top {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-page .resources-icon {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: radial-gradient(circle at 0 0, #ab874b, #162435);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.about-page .resources-icon i {
    font-size: 22px;
}

.about-page .resources-badge {
    position: absolute;
    bottom: -4px;
    inset-inline-start: -4px;
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: #ffffff;
    color: #ab874b;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.16);
}

.about-page .resources-badge--en {
    color: #1d4ed8;
}

.about-page .resources-icon--whatsapp {
    background: radial-gradient(circle at 0 0, #22c55e, #15803d);
}

.about-page .resources-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--about-navy);
}

.about-page .resources-card-text {
    font-size: 14px;
    line-height: 1.9;
    color: var(--about-muted);
}

.about-page .resources-card-actions {
    margin-top: 16px;
}

.about-page .resources-card--whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff;
    border: none;
    box-shadow: 0 20px 40px rgba(18, 140, 126, 0.35);
}

.about-page .resources-card--whatsapp .resources-card-title,
.about-page .resources-card--whatsapp .resources-card-text {
    color: #ffffff;
}

.about-page .resources-card--whatsapp .resources-icon--whatsapp {
    background: #ffffff;
    color: #128c7e;
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.25);
}

.about-page .w-100 {
    width: 100%;
}

/* Responsive tweaks */
@media (max-width: 992px) {
    .about-page .about-story {
        padding-block: 56px;
    }

    .about-page .about-story-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-page .about-story-visual {
        order: -1;
    }

    .about-page .about-vision-values,
    .about-page .about-ceo-message,
    .about-page .resources-cta {
        padding-block: 64px;
    }
}

@media (max-width: 900px) {
    .about-page .ceo-grid {
        flex-direction: column-reverse;
        padding: 32px 24px;
    }

    .about-page .ceo-photo-placeholder {
        width: 220px;
    }
}

@media (max-width: 720px) {
    .about-page .ov-heading-text {
        font-size: 22px;
        white-space: normal;
        text-align: center;
    }

    .about-page .about-hero-inner {
        padding-block: 40px;
    }
}

@media (max-width: 600px) {
    .about-page .about-story {
        padding-block: 40px;
        background-position: top;
    }

    .about-page .about-story-image-placeholder {
        min-height: 220px;
    }

    .about-page .about-story-highlights li {
        font-size: 13px;
    }

    .about-page .resources-cta {
        padding-block: 56px 64px;
    }

    .about-page .resources-cta-title {
        font-size: 26px;
    }

    .about-page .resources-cta-subtitle {
        font-size: 14px;
    }
}
