/* ============================================================
   Golden Years Senior Care — About Us page
   Matches homepage design system (typography, colors, spacing)
   ============================================================ */

.page-about {
    background: #FAFAF8;
    --ab-y: 72px;
    --ab-y-sm: 48px;
    --ab-gap: 48px;
}

.page-about [id^="sec-"] { scroll-margin-top: calc(120px + var(--topbar-height)); }
.page-about main > .section-wrapper + .section-wrapper { margin-top: 0; }
.page-about .section-wrapper > .hero-our-homes { margin: 0; }
.page-about .section-wrapper > .ip-page-subnav { margin: 0; padding: 0; }

/* Shared */
.page-about .ab-section-head {
    max-width: 720px;
    margin: 0 auto 48px;
}
.page-about .ab-section-head--center {
    text-align: center;
}
.page-about .ab-section-title {
    margin-bottom: 16px;
}
.page-about .ab-section-lead {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    line-height: 1.75;
    margin: 0;
}
.page-about .ab-section-head--center .ab-section-lead {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Who we are --- */
.page-about .section-wrapper > .ab-who {
    padding: var(--ab-y) 0;
    background: #fff;
}
.page-about .ab-who .hp-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 5vw, 72px);
    align-items: center;
}
.page-about .ab-who .hp-about-grid--reverse .hp-about-content { order: 2; }
.page-about .ab-who .hp-about-grid--reverse .hp-about-photos { order: 1; }
.page-about .ab-who .oh-section-title {
    font-size: clamp(1.875rem, 3vw, 2.5rem);
    margin-bottom: 20px;
}
.page-about .ab-who .hp-about-text {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    line-height: 1.75;
    margin-bottom: 18px;
    max-width: 58ch;
}
.page-about .ab-who .hp-why-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
}
.page-about .ab-who .hp-why-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #002B49;
    line-height: 1.45;
}
.page-about .ab-who .hp-why-features svg { stroke: #E68A00; flex-shrink: 0; margin-top: 2px; }
.page-about .ab-who .hp-about-cta { margin-top: 16px; }
.page-about .ab-who .hp-about-photos {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.page-about .ab-who .hp-about-photo--feature {
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 12px 40px rgba(0, 43, 73, 0.1);
}
.page-about .ab-who .hp-about-photo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.page-about .ab-who .hp-about-photo--sm {
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
}

/* --- Mission --- */
.page-inner.page-about .section-wrapper > .ab-mission {
    padding: clamp(64px, 8vw, 96px) 0;
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.09), transparent 30%),
        radial-gradient(circle at 86% 16%, rgba(230, 138, 0, 0.13), transparent 28%),
        #002B49;
    position: relative;
    overflow: hidden;
}
.page-inner.page-about .section-wrapper > .ab-mission::before {
    display: none;
}
.page-inner.page-about .section-wrapper > .ab-mission .ab-mission-inner {
    position: relative;
    max-width: 1020px;
    margin: 0 auto;
    text-align: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.ab-mission-eyebrow { margin-bottom: 16px; }
.page-inner.page-about .section-wrapper > .ab-mission .ab-mission-title {
    font-family: var(--font-heading);
    font-size: clamp(2.35rem, 4vw, 3.45rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.06;
    letter-spacing: -0.035em;
    margin: 0 auto 20px;
    max-width: 780px;
}
.page-inner.page-about .section-wrapper > .ab-mission .ab-mission-lead {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.75;
    margin: 0 auto 12px;
    max-width: 760px;
}
.page-inner.page-about .section-wrapper > .ab-mission .ab-mission-text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.75;
    margin: 0 auto;
    max-width: 760px;
}
.ab-mission-cards {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 1120px;
    margin: 44px auto 0;
}
.ab-mission-card {
    min-height: 245px;
    padding: 30px 26px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 18px 44px rgba(0, 20, 34, 0.18);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.ab-mission-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 56px rgba(0, 20, 34, 0.24);
}
.ab-mission-card span {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--color-secondary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.ab-mission-card h3 {
    margin: 0 0 12px;
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 1.35rem;
    line-height: 1.18;
}
.ab-mission-card p {
    margin: 0;
    color: var(--color-text-light);
    font-size: 14.5px;
    line-height: 1.7;
}

/* --- Why choose us --- */
.page-about .section-wrapper > .ab-why {
    padding: var(--ab-y) 0;
    background: #FAFAF8;
}
.ab-why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.ab-why-card {
    background: #fff;
    border: 1px solid #EEF0F2;
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(0, 43, 73, 0.04);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.ab-why-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0, 43, 73, 0.08);
    border-color: rgba(230, 138, 0, 0.25);
}
.ab-why-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(230, 138, 0, 0.12);
    color: #E68A00;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.ab-why-icon svg { stroke: #E68A00; }
.ab-why-card h3 {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    color: #002B49;
    margin: 0 0 10px;
    line-height: 1.35;
}
.ab-why-card p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.65;
    margin: 0;
}

/* --- Commitments --- */
.page-about .section-wrapper > .sd-coverage {
    position: relative;
    padding: var(--ab-y) 0;
    background:
        radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.08), transparent 30%),
        radial-gradient(circle at 86% 18%, rgba(230, 138, 0, 0.12), transparent 28%),
        #002B49;
    overflow: hidden;
}
.page-about .section-wrapper > .sd-coverage::before {
    display: none;
}
.page-about .sd-coverage .container {
    position: relative;
    z-index: 1;
}
.page-about .sd-section-head {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}
.page-about .sd-section-head .oh-section-title {
    max-width: 700px;
    margin: 8px auto 14px;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.4vw, 2.85rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #fff;
}
.page-about .sd-section-lead {
    max-width: 620px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.02rem;
    line-height: 1.75;
}
.page-about .sd-coverage-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 1040px;
    margin: 0 auto;
}
.page-about .sd-coverage-card {
    position: relative;
    display: block;
    min-height: 0;
    padding: 26px 24px 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.32);
    box-shadow: 0 18px 42px rgba(0, 20, 34, 0.16);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.page-about .sd-coverage-card:hover {
    transform: translateY(-4px);
    border-color: rgba(91, 173, 211, 0.65);
    box-shadow: 0 24px 54px rgba(0, 20, 34, 0.24);
}
.page-about .sd-coverage-icon {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: #002B49;
    background: linear-gradient(145deg, rgba(0, 43, 73, 0.08), rgba(230, 138, 0, 0.11));
}
.page-about .sd-coverage-icon svg {
    stroke: currentColor;
}
.page-about .sd-coverage-card h3 {
    margin: 0 0 10px;
    font-family: var(--font-heading);
    color: #002B49;
    font-size: 1.18rem;
    line-height: 1.25;
}
.page-about .sd-coverage-card p {
    margin: 0;
    color: var(--color-text-light);
    font-size: 14.5px;
    line-height: 1.7;
}

/* --- Philosophy --- */
.page-about .section-wrapper > .ab-philosophy {
    padding: var(--ab-y) 0;
    background: #fff;
}
.ab-philosophy-blocks {
    display: flex;
    flex-direction: column;
    gap: clamp(48px, 6vw, 72px);
    margin-top: 8px;
}
.ab-philosophy-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: center;
}
.ab-philosophy-block--reverse .ab-philosophy-media { order: 2; }
.ab-philosophy-block--reverse .ab-philosophy-copy { order: 1; }
.ab-philosophy-image {
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 16px 48px rgba(0, 43, 73, 0.1);
}
.ab-philosophy-copy h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.2vw, 1.875rem);
    font-weight: 600;
    color: #002B49;
    margin: 0 0 16px;
    line-height: 1.25;
}
.ab-philosophy-copy p {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    line-height: 1.75;
    margin: 0;
    max-width: 52ch;
}

/* --- Stats --- */
.page-about .section-wrapper > .hp-stats {
    padding: 56px 0;
    background: #002B49;
}
.page-about .hp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.page-about .hp-stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 3.5vw, 3rem);
    font-weight: 600;
    color: #fff;
    line-height: 1;
    margin-bottom: 10px;
}
.page-about .hp-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
}

/* --- Testimonials --- */
.page-about .section-wrapper > .ab-testimonials {
    padding: var(--ab-y) 0;
    background: #FAFAF8;
}
.page-about .hp-testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(40px, 5vw, 64px);
    align-items: center;
}
.page-about .hp-testimonials-intro .oh-section-title {
    margin-bottom: 16px;
    max-width: 420px;
}
.page-about .hp-testimonials-intro .section-subheading {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    line-height: 1.7;
    max-width: 42ch;
}
.page-about .hp-testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 40px rgba(0, 43, 73, 0.08);
}
.page-about .hp-stars { color: #E68A00; font-size: 18px; letter-spacing: 3px; margin-bottom: 24px; }
.page-about .hp-testimonial-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-style: italic;
    color: #002B49;
    line-height: 1.55;
    margin-bottom: 28px;
}
.page-about .hp-testimonial-author { display: flex; align-items: center; gap: 14px; }
.page-about .hp-author-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}
.page-about .hp-author-name { font-weight: 600; font-size: 15px; color: #002B49; }
.page-about .hp-author-title { font-size: 13px; color: var(--color-text-light); }
.page-about .hp-testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
}
.page-about .hp-testimonial-dots {
    display: flex;
    gap: 8px;
    margin-top: 0;
    justify-content: center;
    flex: 1;
}
.page-about .hp-testimonial-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #D0D5DD;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.25s, width 0.25s, border-radius 0.25s;
}
.page-about .hp-testimonial-dot:hover { background: #4A9BC7; }
.page-about .hp-testimonial-dot.active { background: #4A9BC7; width: 24px; border-radius: 4px; }
.page-about .hp-testimonial-arrow {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid #E2E6EA;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    color: #002B49;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.page-about .hp-testimonial-arrow svg { stroke: currentColor; }
.page-about .hp-testimonial-arrow:hover {
    background: #002B49;
    border-color: #002B49;
    color: #fff;
}
.page-about .hp-testimonial-slide { display: none; animation: abTestimonialFade 0.45s ease; }
.page-about .hp-testimonial-slide.is-active { display: block; }
@keyframes abTestimonialFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- FAQ --- */
.page-about .section-wrapper > .ab-faq {
    padding: var(--ab-y) 0 0;
    background: #fff;
}
.page-about .hp-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}
.page-about .hp-faq-intro .oh-section-title { margin-bottom: 16px; }
.page-about .hp-faq-intro .section-subheading {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 0;
}
.page-about .hp-faq-cta-box {
    background: #E8F4FC;
    border-radius: 16px;
    padding: 28px;
    margin-top: 32px;
}
.page-about .hp-faq-cta-box h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #002B49;
}
.page-about .hp-faq-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.page-about .hp-faq-item {
    border-bottom: 1px solid #EEF0F2;
}
.page-about .hp-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: #002B49;
    line-height: 1.45;
}
.page-about .hp-faq-toggle {
    flex-shrink: 0;
    font-size: 1.25rem;
    color: #E68A00;
    line-height: 1;
}
.page-about .hp-faq-answer {
    padding: 0 0 20px;
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* --- CTA --- */
.page-about .section-wrapper > .oh-cta-wrap {
    padding: var(--ab-y) 0 calc(var(--ab-y) + var(--ab-gap));
    background: #FAFAF8;
}
.page-about .oh-cta {
    background: #002B49;
    border-radius: 24px;
    padding: clamp(40px, 5vw, 64px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 4vw, 48px);
    align-items: center;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 43, 73, 0.18);
}
.page-about .oh-cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 2.8vw, 2.375rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.22;
    margin-bottom: 16px;
}
.page-about .oh-cta p {
    color: rgba(255, 255, 255, 0.84);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 28px;
}
.page-about .oh-cta-eyebrow { color: #E68A00; margin-bottom: 12px; }
.page-about .hp-cta-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.page-about .oh-cta-outline-btn {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}
.page-about .oh-cta-outline-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}
.page-about .hp-cta-image {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    min-height: 280px;
}

/* --- Responsive --- */
@media (max-width: 1100px) {
    .ab-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ab-mission-cards { grid-template-columns: 1fr; }
    .page-about .sd-coverage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .page-about { --ab-y-sm: 48px; }

    .page-about .ab-who .hp-about-grid,
    .ab-philosophy-block,
    .page-about .hp-testimonials-grid,
    .page-about .hp-faq-grid,
    .page-about .oh-cta {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .ab-why-grid,
    .page-about .sd-coverage-grid { grid-template-columns: 1fr; gap: 14px; }
    .page-about .section-wrapper > .sd-coverage { padding: var(--ab-y-sm) 0; }
    .page-about .sd-section-head { margin-bottom: 28px; }
    .page-about .sd-coverage-card {
        padding: 20px;
        border-radius: 18px;
    }
    .page-about .sd-coverage-icon {
        width: 48px;
        height: 48px;
        border-radius: 15px;
    }
    .page-about .ab-who .hp-why-features { grid-template-columns: 1fr; }
    .page-about .ab-who .hp-about-grid--reverse .hp-about-content,
    .page-about .ab-who .hp-about-grid--reverse .hp-about-photos { order: unset; }
    .ab-philosophy-block--reverse .ab-philosophy-media,
    .ab-philosophy-block--reverse .ab-philosophy-copy { order: unset; }
    .page-about .hp-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .page-about .hp-testimonial-card { padding: 28px 24px; }
    .page-about .hp-cta-image { min-height: 220px; }
    .page-about .oh-cta .hp-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .page-about .oh-cta .hp-cta-actions .btn,
    .page-about .oh-cta .oh-cta-outline-btn {
        width: 100%;
        justify-content: center;
    }
    .page-about .section-wrapper > .ab-mission { padding: var(--ab-y-sm) 0; }
    .page-about .section-wrapper > .ab-why,
    .page-about .section-wrapper > .ab-philosophy,
    .page-about .section-wrapper > .ab-testimonials,
    .page-about .section-wrapper > .ab-who { padding: var(--ab-y-sm) 0; }
    .page-about .section-wrapper > .oh-cta-wrap {
        padding: var(--ab-y-sm) 0 calc(var(--ab-y-sm) + 32px);
    }
}
