/* ================================================
   ANIMATIONS & KEYFRAMES
================================================ */

/* Scroll-reveal base states */
.lsa-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.lsa-reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.lsa-reveal-right {
    opacity: 0;.lsa-hero-bg
    transform: translateX(32px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Triggered state — added by JS IntersectionObserver */
.lsa-reveal.lsa-visible,
.lsa-reveal-left.lsa-visible,
.lsa-reveal-right.lsa-visible {
    opacity: 1;
    transform: none;
}

/* Hero entrance animations */
@keyframes lsaFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes lsaFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes lsaLineGrow {
    from { width: 0; opacity: 0; }
    to   { width: 32px; opacity: 1; }
}

@keyframes lsaTagFade {
    from { opacity: 0; letter-spacing: 0.30em; }
    to   { opacity: 1; letter-spacing: 0.18em; }
}

/* Brand shimmer on <span> in hero h1 */
@keyframes lsaBrandShimmer {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Image clip-path wipe */
@keyframes lsaImgReveal {
    from { clip-path: inset(0 100% 0 0); }
    to   { clip-path: inset(0 0% 0 0); }
}

/* Badge spring pop */
@keyframes lsaBadgePop {
    0%   { transform: scale(0.6); opacity: 0; }
    70%  { transform: scale(1.08); }
    100% { transform: scale(1); opacity: 1; }
}

/* ------------------------------------------------
   HERO BANNER
------------------------------------------------ */
.lsa-hero {
    position: relative;
    min-height: 470px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: url('/images/services/bannerimg.png') center/cover no-repeat;
}

/* Brand-colored left accent line */
.lsa-hero::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, transparent, var(--brand) 30%, #fffefa 70%, transparent);
    z-index: 2;
}

.lsa-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 0 64px;
}

.lsa-hero-bg {
    position: absolute;
    inset: 0;
    background:
linear-gradient(
  rgba(10, 10, 10, 0.85),
  rgba(10, 10, 10, 0.85)
),
url(images/services/consult.jpg) center / cover no-repeat;
    z-index: 0;
}

/* Eyebrow tag */
.lsa-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    border: 1px solid var(--brand);
    padding: 6px 16px 6px 12px;
    animation: lsaFadeIn 0.6s ease both;
}

.lsa-hero-eyebrow::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    flex-shrink: 0;
    animation: ltPulse 2s 1s ease infinite;
}

.lsa-hero-eyebrow span {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    opacity: 0;
    animation: lsaTagFade 0.8s 0.4s ease forwards;
}

/* h1 slides up */
.lsa-hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
    max-width: 700px;
    animation: lsaFadeUp 0.9s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Brand <span> shimmer in hero h1 */
.lsa-hero h1 span {
    font-style: normal;
    background: linear-gradient(90deg, var(--brand), var(--brand-dark), var(--brand));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: lsaBrandShimmer 3s 1.5s linear infinite;
    -webkit-text-stroke: 1px rgba(255,255,255,0.2);
}

/* Description fades up after h1 */
.lsa-hero-desc {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    color: rgba(255,255,255,0.50);
    max-width: 520px;
    line-height: 1.8;
    margin: 0;
    opacity: 0;
    animation: lsaFadeUp 0.9s 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ------------------------------------------------
   BREADCRUMB
------------------------------------------------ */
.lsa-breadcrumb {
    background: #111;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 14px 0;
}

.lsa-breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.04em;
}

.lsa-breadcrumb-inner a {
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.2s;
}

.lsa-breadcrumb-inner a:hover { color: var(--brand); }

.lsa-breadcrumb-inner .bsep {
    color: var(--brand);
    font-size: 10px;
}

.lsa-breadcrumb-inner .bcurrent {
    color: rgba(255,255,255,0.65);
}

/* ------------------------------------------------
   SHARED SECTION HEADER
------------------------------------------------ */
.lsa-sec-header {
    margin-bottom: 56px;
}

.lsa-sec-header.center { text-align: center; }

.lsa-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 14px;
}

.lsa-tag::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--brand);
}

.lsa-sec-header.center .lsa-tag { justify-content: center; }
.lsa-sec-header.center .lsa-tag::before { display: none; }
.lsa-sec-header.center .lsa-tag::after {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--brand);
}

.lsa-sec-header h2 {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    color: var(--black);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 16px;
}

.lsa-sec-header h2 em {
    font-style: normal;
    color: var(--brand);
}

.lsa-sec-header p {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    color: var(--grey-text);
    line-height: 1.85;
    max-width: 620px;
    margin: 0;
}

.lsa-sec-header.center p { margin: 0 auto; }

/* ------------------------------------------------
   INTRO SECTION
------------------------------------------------ */
.lsa-intro {
    padding: 80px 0;
    background: var(--white);
    overflow: hidden;
}

.lsa-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 540px;
}

.lsa-intro-text {
    background: var(--offwhite);
    padding: 80px 60px 80px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lsa-intro-text p {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    color: #444;
    line-height: 1.95;
    margin: 0 0 18px;
}

.lsa-intro-text p:last-child { margin: 0; }

.lsa-intro-img {
    position: relative;
    overflow: hidden;
    clip-path: polygon(6% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.lsa-intro-img.lsa-visible img {
    animation: lsaImgReveal 1.2s cubic-bezier(0.77,0,0.18,1) both;
}

.lsa-intro-img img {
    width: 100%;
    height: 100%;
    min-height: 540px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94),
                filter 0.6s ease;
}

.lsa-intro-img:hover img {
    transform: scale(1.06);
    filter: brightness(0.85);
}

/* Brand-tinted overlay on hover */
.lsa-intro-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        var(--brand-pale) 0%,
        rgba(175, 37, 27, 0.03) 50%,
        transparent 100%
    );
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.lsa-intro-img:hover::before {
    opacity: 1;
    transform: translateY(0);
}

/* Dark badge with brand left border */
.lsa-intro-img-badge {
    position: absolute;
    bottom: 32px;
    left: 40px;
    background: var(--black);
    padding: 20px 26px;
    min-width: 190px;
    border-left: 3px solid var(--brand);
    opacity: 0;
    z-index: 2;
}

.lsa-intro-img.lsa-visible .lsa-intro-img-badge {
    animation: lsaBadgePop 0.7s 1s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

.lsa-intro-img-badge .badge-num {
    font-size: 40px;
    font-weight: 800;
    color: var(--brand);
    line-height: 1;
    display: block;
}

.lsa-intro-img-badge .badge-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 5px;
    display: block;
}

/* ------------------------------------------------
   SCOPE OF SERVICES
------------------------------------------------ */
.lsa-scope {
    padding: 96px 0;
    background: var(--grey-bg);
}

.lsa-scope-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--border);
}

.lsa-scope-item {
    padding: 36px 30px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--white);
    transition: background 0.3s,
                transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

/* Brand underline sweeps on hover */
.lsa-scope-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--brand);
    transition: width 0.35s ease;
}

.lsa-scope-item:hover {
    background: var(--brand-pale);
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.lsa-scope-item:hover::after { width: 100%; }

.lsa-scope-item:nth-child(4n) { border-right: none; }

.lsa-scope-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: 0.12em;
    display: block;
    margin-bottom: 14px;
}

.lsa-scope-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 10px;
    line-height: 1.3;
}

.lsa-scope-item p {
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 300;
    color: var(--grey-text);
    line-height: 1.75;
    margin: 0;
}

/* ------------------------------------------------
   ADVANTAGES
------------------------------------------------ */
.lsa-advantages {
    padding: 96px 0;
    background: var(--white);
}

.lsa-adv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: var(--border);
}

.lsa-adv-item {
    background: var(--white);
    padding: 44px 40px;
    display: flex;
    gap: 28px;
    align-items: flex-start;
    transition: background 0.25s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.lsa-adv-item:hover {
    /*background: var(--brand-pale);*/
    transform: scale(1.015);
}

/* Icon box — fills brand color and rotates on hover */
.lsa-adv-icon-wrap {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border: 1.5px solid var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lsa-adv-item:hover .lsa-adv-icon-wrap {
    background: var(--brand);
    transform: rotate(6deg);
}

.lsa-adv-icon-wrap svg {
    width: 24px;
    height: 24px;
    stroke: var(--brand);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.25s;
}

.lsa-adv-item:hover .lsa-adv-icon-wrap svg {
    stroke: var(--white);
}

.lsa-adv-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.lsa-adv-body p {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    color: var(--grey-text);
    line-height: 1.8;
    margin: 0;
}

/* ------------------------------------------------
   APPROACH — FULL BLEED
------------------------------------------------ */
.lsa-approach {
    background: var(--black);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

.lsa-approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.lsa-approach-left .lsa-tag { color: var(--brand); }
.lsa-approach-left .lsa-tag::before { background: var(--brand); }

.lsa-approach-left h2 {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 28px;
}

.lsa-approach-left p {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    color: rgba(255,255,255,0.50);
    line-height: 1.9;
    margin: 0 0 18px;
}

.lsa-approach-right {
    border-left: 1px solid rgba(255,255,255,0.08);
    padding-left: 60px;
    padding-top: 8px;
}

/* Blockquote — border expands on hover */
.lsa-quote-block {
    margin-bottom: 48px;
}

.lsa-quote-block blockquote {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
    letter-spacing: -0.01em;
    margin: 0 0 16px;
    position: relative;
    padding-left: 24px;
    border-left: 3px solid var(--brand);
    transition: border-left-width 0.3s ease, padding-left 0.3s ease;
}

.lsa-quote-block blockquote:hover {
    border-left-width: 6px;
    padding-left: 27px;
}

.lsa-quote-block cite {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-style: normal;
}

/* Stats row */
.lsa-approach-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid rgba(255,255,255,0.08);
    margin-top: 48px;
}

.lsa-stat {
    padding: 28px 24px;
    border-right: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

.lsa-stat:last-child { border-right: none; }

.lsa-stat-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--brand);
    display: block;
    line-height: 1;
    margin-bottom: 6px;
}

.lsa-stat-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ------------------------------------------------
   CTA STRIP
------------------------------------------------ */
.lsa-cta {
    background: var(--brand);
    padding: 72px 0;
}

.lsa-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.lsa-cta-text h2 {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
    margin: 0 0 8px;
    line-height: 1.15;
}

.lsa-cta-text p {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.70);
    margin: 0;
}

.lsa-cta-btns {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

.lsa-btn-dark {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 16px 36px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.lsa-btn-dark:hover {
    background: #1f1f1f;
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.lsa-btn-ghost {
    display: inline-block;
    background: transparent;
    color: var(--white);
    border: 1.5px solid var(--white);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 15px 36px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.lsa-btn-ghost:hover {
    background: var(--white);
    color: var(--brand);
    text-decoration: none;
    transform: translateY(-2px);
}

/* ------------------------------------------------
   RESPONSIVE
------------------------------------------------ */
@media (max-width: 1100px) {
    .lsa-scope-grid { grid-template-columns: repeat(2, 1fr); }
    .lsa-scope-item:nth-child(4n) { border-right: 1px solid var(--border); }
    .lsa-scope-item:nth-child(2n) { border-right: none; }
}

@media (max-width: 991px) {
    .lsa-intro-grid { grid-template-columns: 1fr; }
    .lsa-intro-img { max-width: 100%; }
    .lsa-intro-img-badge { bottom: -20px; left: 0; }
    .lsa-approach-grid { grid-template-columns: 1fr; gap: 50px; }
    .lsa-approach-right {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255,255,255,0.08);
        padding-top: 50px;
    }
    .lsa-cta-inner { flex-direction: column; text-align: center; align-items: center; }
    .lsa-cta-btns { justify-content: center; }
}

@media (max-width: 767px) {
    .lsa-hero { min-height: 340px; }
    .lsa-intro, .lsa-scope, .lsa-advantages, .lsa-approach, .lsa-cta { padding: 64px 0; }
    .lsa-scope-grid { grid-template-columns: 1fr; }
    .lsa-scope-item { border-right: none; }
    .lsa-scope-item:nth-child(2n) { border-right: none; }
    .lsa-adv-grid { grid-template-columns: 1fr; gap: 1px; }
    .lsa-adv-item { padding: 32px 24px; }
    .lsa-approach-stats { grid-template-columns: 1fr; }
    .lsa-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .lsa-stat:last-child { border-bottom: none; }
}

/* Reduced motion — respects user OS preference */
@media (prefers-reduced-motion: reduce) {
    .lsa-reveal,
    .lsa-reveal-left,
    .lsa-reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .lsa-hero h1,
    .lsa-hero-desc,
    .lsa-hero-eyebrow,
    .lsa-hero-eyebrow span {
        animation: none;
        opacity: 1;
    }
    .lsa-hero h1 span {
        animation: none;
        -webkit-text-fill-color: var(--brand);
        color: var(--brand);
    }
    .lsa-intro-img.lsa-visible img,
    .lsa-intro-img.lsa-visible .lsa-intro-img-badge {
        animation: none;
        opacity: 1;
        clip-path: none;
    }
}