/* about-page.css — banner unique to the "אודות" page.
   Pattern: same scaled-stage as projects page (claude-html §3.8/§VV).
   - Team photo bg with dark gradient
   - Centered title "אודות" + gold rule
   - 3 feature text columns (mobile: vertical stack with check icons)
   - White callout card with 2 paragraphs + pendant
   Canvas: 1920px. */


/* base.css is NOT loaded on taxonomy-service pages → enforce border-box locally
   (otherwise width:100% + padding overflows on mobile and clips content). */
.lawyer-banner, .lawyer-banner *, .lawyer-banner *::before, .lawyer-banner *::after { box-sizing: border-box; }

/* ===== BANNER ===== */
.lawyer-banner {
    position: relative;
    width: 100%;
    height: 653px;                     /* Figma banner frame height */
    background: #131313;
    overflow: hidden;
    color: var(--c-wht);
}

.lawyer-banner__stage {
    position: absolute;
    top: 0;
    left: 0;                           /* anchored to LEFT, NOT margin auto (claude-html §VV) */
    width: 1920px;
    height: 653px;
    transform-origin: top left;        /* NOT top center — see §VV */
}

/* Team photo bg — fills the banner */
.lawyer-banner__photo {
    position: absolute;
    inset: 0;
    width: 1920px;
    height: 643px;
    object-fit: cover;
    object-position: center top;
    z-index: 1;
}

/* Dark gradients */
.lawyer-banner__fade-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 1920px;
    height: 159px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
    z-index: 2;
    pointer-events: none;
}

.lawyer-banner__fade-mid {
    position: absolute;
    top: 267px;
    left: 0;
    width: 1920px;
    height: 384px;
    background: linear-gradient(to bottom, rgba(19,19,19,0) 0%, #131313 100%);
    z-index: 2;
    pointer-events: none;
}

.lawyer-banner__fade-bottom {
    position: absolute;
    top: 410px;
    left: 0;
    width: 1920px;
    height: 238px;
    background: linear-gradient(to bottom, rgba(19,19,19,0) 0%, rgba(19,19,19,0.6) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Breadcrumb (top-right) */
.lawyer-banner__crumb {
    position: absolute;
    top: 105px;
    right: 310px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--c-wht);
    font-family: var(--ff-he);
    font-size: 16px;
    font-weight: 300;
    opacity: 0.85;
}

.lawyer-banner__crumb a { color: inherit; }
.lawyer-banner__crumb a:hover { opacity: 0.7; }

.lawyer-banner__crumb svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* ===== HERO row — 2 columns side by side (titles RIGHT / stats LEFT), vertically centered ===== */
.lawyer-banner__row {
    position: absolute;
    top: 0;
    left: 0;
    width: 1920px;
    height: 653px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 250px 250px 70px;     /* hero row position (Kfir) */
    direction: rtl;
    z-index: 5;
}

/* RIGHT column: title + rule + reviews */
.lawyer-banner__titles {
    flex: 0 1 auto;
    max-width: 660px;
    text-align: right;
    direction: rtl;
}
.lawyer-banner__title {
    margin: 0;
    font-family: var(--ff-he);
    font-size: 64px;
    font-weight: 900;
    line-height: 1.06;
    color: var(--c-wht);
    text-align: right;
    text-shadow: 0 2.994px 40.52px rgba(0, 0, 0, 0.52);
    direction: rtl;
}
.lawyer-banner__rule {
    width: 100%;
    max-width: 630px;
    height: 5px;
    margin: 20px 0 0 auto;
    background: var(--c-gold-flat);
}

/* LEFT column: badge + stats — Figma 2129-610 */
.lawyer-banner__col-stats {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    direction: rtl;
}
.lawyer-banner__badge {
    margin: 0;
    align-self: center;
    font-family: var(--ff-he);
    font-weight: 400;
    font-size: 30px;
    line-height: 40.812px;
    color: var(--c-wht);
    white-space: nowrap;
    text-shadow: 0 2.994px 40.52px rgba(0, 0, 0, 0.52);
}
.lawyer-banner__badge-gold {
    font-weight: 900;
    background: var(--c-gold-flat);
    padding: 0 7px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
.lawyer-banner__stats {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
    direction: rtl;
}
.lawyer-banner__statdiv {
    flex: 0 0 1px;
    align-self: flex-start;
    width: 1px;
    height: 100px;
    margin-top: 6px;
    background: rgba(255, 255, 255, 0.2);
}
.lawyer-banner__stat { text-align: center; }
.lawyer-banner__statnum {
    display: block;
    font-family: var(--ff-he);
    font-weight: 500;
    font-size: 76px;
    line-height: 86px;
    color: var(--c-wht);
    text-shadow: 0 2.994px 40.52px rgba(0, 0, 0, 0.52);
}
.lawyer-banner__statlabel {
    display: block;
    margin-top: 2px;
    font-family: var(--ff-he);
    font-weight: 400;
    font-size: 19px;
    line-height: 1.3;
    color: var(--c-wht);
    white-space: nowrap;
    text-shadow: 0 2.994px 40.52px rgba(0, 0, 0, 0.52);
}

/* ===== Google reviews row (under the rule, right) — Figma 2129-610 ===== */
.lawyer-banner__reviews {
    margin: 16px 0 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    direction: rtl;
    color: var(--c-wht);
    font-family: var(--ff-he);
}
.lawyer-banner__rev-rating { display: flex; align-items: center; gap: 8px; }
.lawyer-banner__rev-google { height: 22px; width: auto; display: block; }
.lawyer-banner__rev-score { font-weight: 700; font-size: 20px; text-shadow: 0 2.994px 40.52px rgba(0,0,0,0.52); }
.lawyer-banner__rev-stars { display: inline-flex; gap: 2px; }
.lawyer-banner__rev-stars img { width: 18px; height: 18px; display: block; }
.lawyer-banner__rev-sep { width: 1px; height: 16px; background: rgba(255, 255, 255, 0.5); }
.lawyer-banner__rev-link { display: flex; align-items: center; gap: 7px; color: #fff; font-size: 20px; text-shadow: 0 2.994px 40.52px rgba(0,0,0,0.52); }
.lawyer-banner__rev-count { font-weight: 400; }
.lawyer-banner__rev-all { font-weight: 700; color: var(--c-gold-flat); }
.lawyer-banner__rev-link:hover .lawyer-banner__rev-all { text-decoration: underline; }
.lawyer-banner__rev-chev { width: 14px; height: 14px; display: block; }

/* 3-feature row */
.lawyer-banner__features {
    position: absolute;
    top: 434px;
    left: 50%;
    transform: translateX(-50%);
    width: 1300px;
    height: 100px;
    z-index: 5;
    display: flex;
    direction: rtl;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    text-align: center;
    color: var(--c-wht);
}

.lawyer-banner__feature {
    flex: 1 1 0;
    text-align: center;
    direction: rtl;
}

.lawyer-banner__feature-text {
    font-family: var(--ff-he);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--c-wht);
    text-align: center;
    margin: 0;
}

/* Check icon (mobile-only by default; hidden in desktop columns).
   Hollow gold ring (24x24) + white checkmark inside (12.6x12.6) — per Figma node 1676:18740. */
.lawyer-banner__feature-check {
    display: none;
    position: relative;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;
}

.lawyer-banner__feature-check-ring,
.lawyer-banner__feature-check-mark {
    display: block;
    position: absolute;
}

.lawyer-banner__feature-check-ring {
    width: 24px;
    height: 24px;
    top: 0;
    left: 0;
}

.lawyer-banner__feature-check-mark {
    width: 12.63px;
    height: 12.63px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Responsive scaling — section-level scaled-stage.
   CRITICAL: must use `1920px` (length) not `1920` (number) in calc, otherwise
   scale() receives a length and silently ignores the rule (claude-html §H). */
@media (max-width: 1919px) {
    .lawyer-banner {
        height: calc(653px * (100vw / 1920px));
    }
    .lawyer-banner__stage {
        transform: scale(calc(100vw / 1920px));
    }
}


/* ===== CALLOUT (white card, overlaps onto banner photo) ===== */
.lawyer-banner-callout-wrap {
    position: relative;
    width: 100%;
    margin-top: -80px;
    padding: 0 24px 60px;
    z-index: 10;
    background: transparent;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.lawyer-banner-callout {
    position: relative;
    width: 100%;
    max-width: 1300px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    padding: 60px 80px 50px;
    pointer-events: auto;
    text-align: center;
}

/* Gold pendant decoration at top-center */
.lawyer-banner-callout__pendant {
    position: absolute;
    top: -37px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 75px;
    display: block;
    z-index: 2;
    pointer-events: none;
}

.lawyer-banner-callout__text {
    font-family: var(--ff-he);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--c-blk);
    text-align: center;
    direction: rtl;
    margin: 0;
}

.lawyer-banner-callout__text--bold {
    font-weight: 700;
    margin-bottom: 16px;
}

@media (max-width: 1919px) and (min-width: 1025px) {
    .lawyer-banner-callout-wrap {
        margin-top: calc(-80px * (100vw / 1920));
    }
}


/* ===== MOBILE OVERRIDES ===== */
@media (max-width: 1024px) {

    .lawyer-banner {
        position: relative;
        height: auto;
        min-height: 680px;
        padding: 270px 0 30px;             /* push content down so photo is visible above */
        background: #131313;
        overflow: hidden;
    }

    .lawyer-banner__stage {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        padding: 0 16px;
    }

    .lawyer-banner__photo {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 500px !important;          /* taller photo area */
        object-fit: cover;
        object-position: center top;
        z-index: 1;
        opacity: 0.95;
    }

    .lawyer-banner__fade-top,
    .lawyer-banner__fade-mid,
    .lawyer-banner__fade-bottom {
        position: absolute !important;
        left: 0 !important;
        width: 100% !important;
    }
    .lawyer-banner__fade-top    { top: 0 !important; height: 110px !important; }
    /* Fade the bottom of the photo into the dark bg — covers bottom half of photo (500px tall) */
    .lawyer-banner__fade-mid    { top: 250px !important; height: 250px !important;
        background: linear-gradient(180deg, rgba(19, 19, 19, 0.00) 0%, #131313 100%) !important; }
    .lawyer-banner__fade-bottom { display: none !important; }

    .lawyer-banner__crumb {
        position: absolute !important;
        top: 70px !important;
        right: 16px !important;
        z-index: 5;
        justify-content: flex-end;
        font-size: 13px;
    }

    .lawyer-banner__title {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        font-size: 56px;
        line-height: 1.05;
        text-align: center;
        margin: 0 0 14px;
        z-index: 5;
    }

    .lawyer-banner__rule {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 240px !important;
        height: 4px !important;
        margin: 0 auto 24px;
        z-index: 5;
    }

    .lawyer-banner__features {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        height: auto !important;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        z-index: 5;
    }

    .lawyer-banner__feature {
        display: flex;
        flex-direction: row;                  /* RTL natural: DOM 1 (check) → visual RIGHT */
        align-items: flex-start;
        gap: 12px;
        text-align: right;
    }

    .lawyer-banner__feature-check {
        display: inline-flex;
        margin-top: 3px;
    }

    .lawyer-banner__feature-text {
        font-size: 15px;
        line-height: 1.55;
        text-align: right;
        flex: 1 1 auto;
    }

    /* ----- CALLOUT (mobile) ----- */
    .lawyer-banner-callout-wrap {
        margin-top: -40px !important;
        padding: 0 16px 32px;
    }

    .lawyer-banner-callout {
        padding: 40px 18px 22px;   /* digidash-39: extra top pad so gold pendant clears the text */
        border-radius: 10px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    }

    /* digidash-39: shorten the gold diamond+line pendant on mobile so it no
       longer overlaps the first paragraph (was h:75 top:-37 → bottom rode 10px
       into the text). 50px height keeps it above the text with a clear gap. */
    .lawyer-banner-callout__pendant {
        top: -34px;
        height: 50px;
    }

    .lawyer-banner-callout__text {
        font-size: 14px;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .lawyer-banner__title { font-size: 46px; }
}



/* ============================================================
   BANNER (HERO) — lawyer-new: make it full-width like the header.
   Base rules build a fixed 1920px stage (photo + fades 1920px) that
   pins-left with a void on >1920 and shrinks via transform:scale on
   1401-1919. Content (title/rule/features) is CENTERED (left:50%),
   so we can safely drop the scale and let stage/photo/fades fill
   100%. Mobile (<=1400px) keeps its own reset.
   ============================================================ */
/* ≥1920: full size, no scale (below 1920 the scaled-stage handles it uniformly,
   so the 1920px row never overflows/clips — fixes text cut at 1401-1919). */
@media (min-width: 1920px) {
    .lawyer-banner            { height: 653px; }
    .lawyer-banner__stage     { width: 100%; transform: none; }
    .lawyer-banner__row       { left: 50%; transform: translateX(-50%); }
    .lawyer-banner__photo,
    .lawyer-banner__fade-top,
    .lawyer-banner__fade-mid,
    .lawyer-banner__fade-bottom { width: 100%; }
}



/* ===== Service hero (mobile ≤1024) — Figma 2129-612: stacked (title→rule→reviews→badge→stats) ===== */
@media (max-width: 1024px) {
    .lawyer-banner__row {
        position: relative !important;
        top: auto !important; left: auto !important;
        width: 100% !important; height: auto !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        padding: 0 16px !important;
    }
    .lawyer-banner__titles {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
    }
    .lawyer-banner__title {
        font-size: clamp(28px, 7.6vw, 44px) !important;
        line-height: 1.12 !important;
        text-align: center !important;
        overflow-wrap: break-word;
        word-break: break-word;
    }
    .lawyer-banner__rule {
        width: 240px !important; height: 4px !important;
        margin: 14px auto 0 !important;
    }
    .lawyer-banner__reviews {
        justify-content: center; flex-wrap: wrap; gap: 8px 12px;
        margin: 14px auto 0 !important;
        max-width: 340px;
    }
    .lawyer-banner__rev-sep { display: none !important; }
    .lawyer-banner__rev-score { font-size: 14px !important; }
    .lawyer-banner__rev-link { font-size: 13px !important; gap: 5px; }
    .lawyer-banner__rev-stars img { width: 15px; height: 15px; }
    .lawyer-banner__rev-google { height: 17px; }

    .lawyer-banner__col-stats {
        width: 100% !important;
        margin-top: 22px !important;
        gap: 14px !important;
    }
    .lawyer-banner__badge {
        font-size: 22px !important;
        text-align: center;
    }
    .lawyer-banner__stats {
        width: 100% !important; max-width: 360px;
        justify-content: space-between !important;
        gap: 8px !important;
        margin: 0 auto !important;
    }
    .lawyer-banner__stat { flex: 1 1 0; text-align: center; }
    .lawyer-banner__statdiv { height: 44px !important; margin-top: 4px !important; }
    .lawyer-banner__statnum { font-size: 33px !important; line-height: 1.1 !important; }
    .lawyer-banner__statlabel { font-size: 11px !important; white-space: normal !important; }
}

/* base.css not loaded on service pages → border-box for the ported why-us section */
.why-us, .why-us *, .why-us *::before, .why-us *::after { box-sizing: border-box; }
