/* About Us dedicated page */

.about-page {
    overflow-x: hidden;
}

/* ----- Hero (split cinematic — matches testimonials pattern) ----- */
.about-page-hero {
    position: relative;
    min-height: auto;
    display: block;
    padding: calc(88px + var(--spacing-xl, 2rem)) 0 clamp(2rem, 4vw, 2.75rem);
    background:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(46, 134, 171, 0.18), transparent 55%),
        radial-gradient(ellipse 80% 50% at 100% 50%, rgba(139, 92, 246, 0.08), transparent 50%),
        linear-gradient(165deg, #0a0f16 0%, #121a28 45%, #0d1219 100%);
    color: #fff;
    overflow: hidden;
}

.about-page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(46, 134, 171, 0.5),
        rgba(139, 92, 246, 0.35),
        rgba(255, 182, 185, 0.45),
        transparent
    );
    opacity: 0.95;
}

.about-page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    mix-blend-mode: overlay;
}

.about-page-hero > .container {
    position: relative;
    z-index: 1;
}

.about-page-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
    grid-template-areas:
        "copy media"
        "actions media";
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
    width: 100%;
}

.about-page-hero__copy {
    grid-area: copy;
    text-align: left;
    max-width: 36rem;
}

.about-page-hero__eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 var(--spacing-md, 1rem);
}

.about-page-hero__title {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: clamp(1.85rem, 4.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin: 0 0 var(--spacing-md, 1rem);
    color: #fff;
}

.about-page-hero__lede {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    max-width: 34rem;
}

.about-page-hero__actions {
    grid-area: actions;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: var(--spacing-md, 1rem) var(--spacing-lg, 1.5rem);
    align-self: start;
}

.about-page-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.35rem;
    background: #fff;
    color: #0c121c;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: var(--font-size-sm, 0.875rem);
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.about-page-hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.about-page-hero__jump {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    transition: color 0.2s ease;
}

.about-page-hero__jump:hover {
    color: #e8cfa8;
}

.about-page-hero__jump i {
    font-size: 0.7rem;
    opacity: 0.85;
}

.about-page-hero__media {
    grid-area: media;
    margin: 0;
    width: 100%;
    max-height: clamp(480px, 62vh, 640px);
    justify-self: end;
    align-self: center;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow:
        0 28px 56px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.about-page-hero__media-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
}

.about-page-hero__media-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    transform: scale(1.04);
    transform-origin: center center;
    will-change: transform;
    background: #0a0e14;
}

.about-page-hero__media-video.is-ready {
    background: transparent;
}

@media (prefers-reduced-motion: reduce) {
    .about-page-hero__media-video {
        display: none;
    }

    .about-page-hero__media-inner {
        background: url("web_materials/baner/recepsion.jpg") center 42% / cover no-repeat;
    }
}

@media (max-width: 960px) {
    .about-page-hero__grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "media"
            "actions";
        gap: var(--spacing-xl, 2rem);
    }

    .about-page-hero__copy {
        text-align: center;
        max-width: none;
    }

    .about-page-hero__lede {
        margin-left: auto;
        margin-right: auto;
    }

    .about-page-hero__actions {
        justify-content: center;
        align-self: center;
    }

    .about-page-hero__media {
        width: min(100%, 22rem);
        max-width: 100%;
        max-height: none;
        min-height: clamp(320px, 55vw, 480px);
        justify-self: center;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .about-page-hero__title {
        font-size: clamp(1.65rem, 6vw, 2rem);
    }

    .about-page-hero__media {
        width: 100%;
        min-height: clamp(340px, 72vw, 480px);
    }

    .about-page-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .about-page-hero__jump {
        justify-content: center;
    }
}

/* ----- Story ----- */
.about-page-story {
    padding: var(--spacing-2xl, 4rem) 0;
    background: var(--background-light, #fafbfc);
}

.about-page-story__inner {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.about-page-story__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1.5rem;
}

.about-page-story__body p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-medium, #4b5563);
    margin: 0 0 1.1rem;
}

.about-page-story__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 2rem;
}

.about-page-story__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.about-page-story__chip i {
    color: var(--primary-color);
}

/* ----- Cinematic gallery (gpt-taste) ----- */
.about-page-gallery.about-gallery-cinematic {
    position: relative;
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: linear-gradient(180deg, #f4f8fa 0%, #fafcfd 45%, #fff 100%);
    border-top: 1px solid rgba(46, 134, 171, 0.08);
    overflow: hidden;
}

.about-gallery-cinematic__ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 50% at 10% 20%, rgba(46, 134, 171, 0.1), transparent 70%),
        radial-gradient(ellipse 50% 40% at 90% 80%, rgba(30, 107, 138, 0.07), transparent 65%);
    opacity: 0.9;
}

.about-gallery-cinematic__ambient::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.about-gallery-cinematic__stage {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(280px, 0.38fr) minmax(0, 0.62fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.about-gallery-cinematic__pin {
    position: relative;
    z-index: 2;
}

.about-gallery-cinematic__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text-dark);
    margin: 0 0 1.25rem;
}

.about-gallery-cinematic__pill {
    display: inline-block;
    width: clamp(3rem, 8vw, 5rem);
    height: 0.85em;
    margin: 0 0.15em;
    border-radius: 999px;
    vertical-align: middle;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 16px rgba(30, 107, 138, 0.2);
    transform: translateY(-0.05em);
}

.about-gallery-cinematic__lede {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.7;
    color: var(--text-medium, #4b5563);
    margin: 0;
    max-width: 28rem;
}

.about-gallery-word {
    opacity: 0.15;
}

.about-gallery-cinematic.is-ready .about-gallery-word,
.about-gallery-cinematic.is-static .about-gallery-word {
    opacity: 1;
}

.about-gallery-cinematic__track {
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 3vw, 2rem);
}

.about-gallery-card {
    margin: 0;
    min-width: 0;
}

.about-gallery-card__frame {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #eef1f3;
    min-height: 200px;
    box-shadow: 0 10px 32px rgba(30, 107, 138, 0.1);
    transition: transform 0.7s ease-out, box-shadow 0.7s ease-out;
    will-change: transform, opacity;
}

.about-gallery-card--hero .about-gallery-card__frame {
    min-height: clamp(280px, 40vh, 420px);
}

.about-gallery-card--tall .about-gallery-card__frame {
    min-height: clamp(260px, 35vh, 360px);
}

.about-gallery-card__frame img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease-out;
}

.about-gallery-card:hover .about-gallery-card__frame {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(30, 107, 138, 0.16);
}

.about-gallery-card:hover .about-gallery-card__frame img {
    transform: scale(1.05);
}

.about-gallery-card__caption {
    padding: 0.7rem 0.2rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

.about-gallery-card__trust {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 2rem 1.5rem;
    border-radius: 18px;
    text-align: center;
    background: linear-gradient(145deg, rgba(46, 134, 171, 0.1), rgba(46, 134, 171, 0.02));
    border: 1px solid rgba(46, 134, 171, 0.14);
    box-shadow: 0 10px 32px rgba(30, 107, 138, 0.08);
    transition: transform 0.7s ease-out, box-shadow 0.7s ease-out;
}

.about-gallery-card--trust:hover .about-gallery-card__trust {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(30, 107, 138, 0.14);
}

.about-gallery-card__trust img {
    width: auto;
    max-width: 72%;
    max-height: 88px;
    object-fit: contain;
    display: block;
    margin-bottom: 0.85rem;
}

.about-gallery-card__trust-title {
    margin: 0 0 0.35rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-dark, #1e6b8a);
}

.about-gallery-card__trust-text {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-medium, #4b5563);
}

.about-gallery-cinematic.is-ready .about-gallery-cinematic__title,
.about-gallery-cinematic.is-static .about-gallery-cinematic__title {
    opacity: 1;
    transform: none;
}

.about-gallery-cinematic:not(.is-ready):not(.is-static) .about-gallery-cinematic__title {
    opacity: 0;
    transform: translateY(24px);
}

@media (max-width: 1023px) {
    .about-gallery-cinematic__stage {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-gallery-cinematic__track {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-flow: dense;
        gap: 18px;
    }

    .about-gallery-card--hero {
        grid-column: span 2;
    }

    .about-gallery-card--trust {
        grid-column: span 2;
    }

    .about-gallery-card--hero .about-gallery-card__frame {
        min-height: 240px;
    }
}

@media (max-width: 767px) {
    .about-gallery-cinematic__track {
        grid-template-columns: 1fr;
    }

    .about-gallery-card--hero,
    .about-gallery-card--trust {
        grid-column: span 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-gallery-card:hover .about-gallery-card__frame,
    .about-gallery-card:hover .about-gallery-card__frame img,
    .about-gallery-card--trust:hover .about-gallery-card__trust {
        transform: none;
    }

    .about-gallery-card__frame,
    .about-gallery-card__frame img,
    .about-gallery-card__trust {
        transition: none;
    }

    .about-gallery-cinematic:not(.is-ready):not(.is-static) .about-gallery-cinematic__title {
        opacity: 1;
        transform: none;
    }
}

/* ----- Journey strip ----- */
.about-page-journey {
    padding: var(--spacing-2xl, 4rem) 0;
    background: var(--background-light, #fafbfc);
}

.about-page-journey__header {
    text-align: center;
    margin-bottom: 2rem;
}

.about-page-journey__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.about-page-journey__track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.about-page-journey__step {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.about-page-journey__step img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.about-page-journey__step-body {
    padding: 1.1rem 1.15rem 1.25rem;
}

.about-page-journey__step-body h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: var(--text-dark);
}

.about-page-journey__step-body p {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-medium, #4b5563);
    margin: 0;
}

@media (max-width: 768px) {
    .about-page-journey__track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding-bottom: 8px;
        margin: 0 calc(-1 * var(--spacing-md, 1rem));
        padding-left: var(--spacing-md, 1rem);
        padding-right: var(--spacing-md, 1rem);
    }
    .about-page-journey__step {
        flex: 0 0 min(82vw, 300px);
        scroll-snap-align: start;
    }
}

/* ----- Team ----- */
.about-page-team {
    padding: var(--spacing-2xl, 4rem) 0;
    background: #fff;
}

.about-page-team__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-page-team__copy h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--text-dark);
}

.about-page-team__copy p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-medium, #4b5563);
    margin: 0 0 1rem;
}

.about-page-team__images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.about-page-team__images figure {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.about-page-team__images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .about-page-team__grid {
        grid-template-columns: 1fr;
    }
}

/* ----- CTA ----- */
.about-page-cta {
    padding: var(--spacing-2xl, 4rem) 0 calc(var(--spacing-2xl, 4rem) + 1rem);
    background: linear-gradient(135deg, var(--primary-dark, #1e5f7a) 0%, var(--primary-color, #2e86ab) 100%);
    text-align: center;
    color: #fff;
}

.about-page-cta__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.65rem, 3.5vw, 2.25rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.about-page-cta__lede {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    max-width: 32rem;
    margin: 0 auto 1.75rem;
}

.about-page-cta__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 1.25rem;
}

.about-page-cta__link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.about-page-cta__link:hover {
    color: #fff;
}

/* ----- Scroll reveals ----- */
.about-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.about-reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .about-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Nav active state on about page */
.about-page .ht-nav-link--active {
    opacity: 1;
}

/* Patient stories: wider layout on about page */
.about-page .patient-stories--page {
    padding-top: var(--spacing-3xl);
}
.about-page .patient-stories--page .patient-stories__grid {
    max-width: 1200px;
    gap: clamp(1.5rem, 3.5vw, 2.75rem);
}
.about-page .patient-stories--page .patient-stories__header {
    max-width: 44rem;
}
