/* AL HAITHAM V2 — HEADER & HERO V2 */

.v2-shell {
    width: min(1200px, calc(100% - 64px));
    margin-inline: auto;
}

.v2-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(
        in srgb,var(--color-surface) 88%,transparent
    );
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: box-shadow .25s,background .25s;
}

.v2-header.is-scrolled {
    box-shadow: 0 8px 30px rgba(9,39,55,.08);
}

.v2-header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    transition: min-height .25s;
}

.v2-header.is-scrolled .v2-header-inner {
    min-height: 70px;
}

.v2-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.v2-brand-logo {
    width: 51px;
    height: 51px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--color-primary-soft);
}

.v2-brand-logo img {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.v2-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.45;
}

.v2-brand-text strong {
    font-size: 1.07rem;
    font-weight: 700;
}

.v2-brand-text small {
    color: var(--color-muted);
    font-size: .7rem;
    font-weight: 500;
}

.v2-nav {
    display: flex;
    align-items: center;
    gap: clamp(14px,2.4vw,34px);
    margin-inline-start: auto;
}

.v2-nav-link {
    text-decoration: none;
    font-size: .83rem;
    font-weight: 600;
    color: var(--color-muted);
    transition: color .2s;
}

.v2-nav-link:hover,
.v2-nav-link.is-active {
    color: var(--color-primary);
}

.v2-nav-cta {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 9px 20px;
    background: var(--color-primary-soft);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    color: var(--color-primary);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s,transform .2s;
}

.v2-nav-cta:hover {
    background: var(--color-surface-alt);
    transform: translateY(-2px);
}

.v2-header-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.v2-mobile-toggle {
    display: none;
}

.v2-hero {
    position: relative;
    overflow: clip;
    isolation: isolate;
    background:
        radial-gradient(ellipse at 17% 38%,
            rgba(33,185,177,.09),transparent 54%),
        linear-gradient(
            145deg,
            var(--color-bg),
            var(--color-surface-alt)
        );
}

.v2-hero::before {
    content: "";
    position: absolute;
    top: -180px;
    inset-inline-end: -150px;
    width: 510px;
    height: 510px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    opacity: .6;
    pointer-events: none;
}

.v2-hero-grid {
    min-height: 640px;
    padding-block: 77px 92px;
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    align-items: center;
    gap: clamp(40px,6vw,90px);
}

.v2-hero-content {
    position: relative;
    z-index: 2;
}

.v2-hero-kicker {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 15px;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    background: var(--color-surface);
    color: var(--color-primary);
    font-size: .77rem;
    font-weight: 700;
}

.v2-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-secondary);
    box-shadow: 0 0 0 4px var(--color-primary-soft);
}

.v2-hero h1 {
    max-width: 610px;
    margin: 25px 0 17px;
    font-size: clamp(2.8rem,4.7vw,4.8rem);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -.035em;
}

.v2-hero h1 span {
    display: block;
    color: var(--color-primary);
}

.v2-hero-description {
    max-width: 480px;
    color: var(--color-muted);
    font-size: .98rem;
    line-height: 2.1;
}

.v2-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 31px;
}

.v2-main-cta {
    gap: 30px;
    padding-inline: 25px;
    box-shadow: 0 10px 28px rgba(10,145,179,.16);
}

.v2-main-cta span,
.v2-nav-cta span {
    display: inline-block;
    transition: transform .2s;
}

.v2-main-cta:hover span,
.v2-nav-cta:hover span {
    transform: translate(-3px,-3px);
}

.v2-text-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text);
    font-size: .84rem;
    font-weight: 700;
}

.v2-text-link span {
    transition: transform .2s;
}

.v2-text-link:hover span {
    transform: translateX(-5px);
}

.v2-hero-caption {
    margin-top: 52px;
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--color-muted);
    font-size: .73rem;
}

.v2-caption-line {
    width: 32px;
    height: 1px;
    background: var(--color-secondary);
}

.v2-hero-media {
    position: relative;
    z-index: 1;
    padding: 22px 0 20px 20px;
}

.v2-media-glow {
    position: absolute;
    inset: 4% 1% 0 13%;
    border-radius: 40px;
    background: linear-gradient(
        135deg,
        rgba(17,171,196,.20),
        rgba(32,183,173,.17)
    );
    transform: rotate(-5deg);
    filter: blur(2px);
}

.v2-clinic-image-wrap {
    position: relative;
    height: clamp(330px,35vw,465px);
    border-radius: 28px 90px 28px 28px;
    overflow: hidden;
    box-shadow: var(--shadow-lift);
    background: var(--color-surface-alt);
    transform: translate3d(0,var(--v2-parallax,0px),0);
    will-change: transform;
}

.v2-clinic-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: scale .75s var(--ease-standard);
}

.v2-clinic-image-wrap:hover img {
    scale: 1.045;
}

.v2-photo-label {
    position: absolute;
    bottom: -7px;
    inset-inline-end: -12px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 19px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
}

.v2-photo-label-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    font-size: 1.25rem;
}

.v2-photo-label strong,
.v2-photo-label small {
    display: block;
}

.v2-photo-label strong {
    font-size: .83rem;
}

.v2-photo-label small {
    color: var(--color-muted);
    font-size: .69rem;
}

.v2-photo-decor {
    position: absolute;
    top: -4px;
    inset-inline-start: 10px;
    display: flex;
    gap: 5px;
}

.v2-photo-decor span {
    display: block;
    width: 7px;
    height: 7px;
    background: var(--color-secondary);
    border-radius: 50%;
}

.v2-photo-decor span:nth-child(2) {
    opacity: .55;
}

.v2-photo-decor span:nth-child(3) {
    opacity: .25;
}

.v2-hero-bottom {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-muted);
    font-family: var(--font-en);
    font-size: .59rem;
    letter-spacing: .16em;
}

.v2-scroll-line {
    display: block;
    width: 40px;
    height: 1px;
    background: var(--color-primary);
}

.v2-preview-section {
    padding: 105px 0;
    background: var(--color-surface);
}

.v2-preview-alt {
    background: var(--color-surface-alt);
}

.v2-section-label {
    margin-bottom: 8px;
    color: var(--color-primary);
    font-family: var(--font-en);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .11em;
}

.v2-preview-section h2 {
    margin: 10px 0;
    font-size: clamp(1.8rem,3vw,2.8rem);
}

.v2-preview-section p {
    max-width: 600px;
    color: var(--color-muted);
}

/* Entrance animation */
.v2-animate {
    animation: v2-enter .72s var(--ease-standard) both;
}

.v2-hero-content .v2-animate:nth-child(2) {
    animation-delay: .10s;
}

.v2-hero-content .v2-animate:nth-child(3) {
    animation-delay: .19s;
}

.v2-hero-content .v2-animate:nth-child(4) {
    animation-delay: .26s;
}

.v2-hero-media.v2-animate {
    animation-delay: .15s;
}

@keyframes v2-enter {
    from {
        opacity: 0;
        translate: 0 22px;
    }
    to {
        opacity: 1;
        translate: 0 0;
    }
}

@media (max-width: 980px) {
    .v2-header-inner {
        gap: 12px;
    }

    .v2-nav {
        gap: 14px;
    }

    .v2-nav-link {
        font-size: .75rem;
    }

    .v2-brand-text small {
        font-size: .62rem;
    }

    .v2-hero-grid {
        gap: 30px;
    }

    .v2-hero h1 {
        font-size: clamp(2.5rem,4.5vw,4rem);
    }
}

@media (max-width: 760px) {
    .v2-hero h1 {
        max-width: 600px;
        margin-top: 21px;
        font-size: 32px;
    }

    .v2-hero h1 span {
        font-size: 30px;
    }

    .v2-header-inner,
    .v2-header.is-scrolled .v2-header-inner {
        min-height: 72px;
    }

    .v2-brand-logo {
        width: 43px;
        height: 43px;
        border-radius: 13px;
    }

    .v2-brand-logo img {
        width: 38px;
        height: 38px;
    }

    .v2-brand-text strong {
        font-size: .88rem;
    }

    .v2-brand-text small {
        font-size: .59rem;
    }

    .v2-mobile-toggle {
        display: inline-grid;
    }

    .v2-nav {
        position: absolute;
        top: calc(100% + 7px);
        right: 18px;
        left: 18px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 13px;
        background: var(--color-surface);
        border: 1px solid var(--color-border);
        border-radius: 20px;
        box-shadow: var(--shadow-lift);
    }

    .v2-nav.is-open {
        display: flex;
        animation: v2-enter .26s ease both;
    }

    .v2-nav-link {
        padding: 12px 15px;
        border-radius: 10px;
        font-size: .91rem;
    }

    .v2-nav-link:hover {
        background: var(--color-primary-soft);
    }

    .v2-nav-cta {
        justify-content: center;
        margin-top: 6px;
    }

    .v2-menu-lines {
        width: 19px;
        display: grid;
        gap: 4px;
    }

    .v2-menu-lines i {
        width: 100%;
        height: 2px;
        border-radius: 5px;
        background: currentColor;
        transition: transform .2s,opacity .2s;
    }

    .v2-mobile-toggle[aria-expanded="true"]
    .v2-menu-lines i:first-child {
        transform: translateY(6px) rotate(45deg);
    }

    .v2-mobile-toggle[aria-expanded="true"]
    .v2-menu-lines i:nth-child(2) {
        opacity: 0;
    }

    .v2-mobile-toggle[aria-expanded="true"]
    .v2-menu-lines i:last-child {
        transform: translateY(-6px) rotate(-45deg);
    }

    .v2-hero-grid {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 35px;
        padding-block: 56px 96px;
    }

    .v2-hero h1 {
        max-width: 600px;
        margin-top: 32px;
        font-size: clamp(2.45rem,9vw,3.8rem);
    }

    .v2-hero-description {
        font-size: .9rem;
        line-height: 2;
    }

    .v2-hero-actions {
        gap: 19px;
        margin-top: 25px;
    }

    .v2-hero-caption {
        margin-top: 33px;
    }

    .v2-hero-media {
        padding: 8px 9px 13px;
    }

    .v2-clinic-image-wrap {
        height: clamp(250px,59vw,410px);
        border-radius: 24px 60px 24px 24px;
    }

    .v2-photo-label {
        bottom: -8px;
        inset-inline-end: -3px;
        padding: 10px 13px;
    }

    .v2-photo-label-icon {
        width: 32px;
        height: 32px;
    }

    .v2-hero-bottom {
        bottom: 18px;
    }

    .v2-preview-section {
        padding: 76px 0;
    }
}

@media (max-width: 390px) {
    .v2-brand-text small {
        display: none;
    }

    .v2-brand-text strong {
        font-size: .85rem;
    }

    .v2-header-actions {
        gap: 5px;
    }

    .v2-hero-kicker {
        font-size: .68rem;
    }

    .v2-hero h1 {
        font-size: 2.3rem;
    }

    .v2-main-cta {
        gap: 15px;
        padding-inline: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .v2-animate,
    .v2-nav.is-open {
        animation: none !important;
    }

    .v2-clinic-image-wrap {
        transform: none !important;
        will-change: auto;
    }

}


.clinic-hero-identity {display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:16px 0 4px;color:var(--color-muted);line-height:1.7;}
.clinic-hero-identity strong {color:var(--color-text);font-weight:750;}
.clinic-hero-identity small {flex-basis:100%;font-size:.85rem;}
