
/* ==========================================
   EXPERT GROUP - PREMIUM HOMEPAGE
   Phase 3.1
========================================== */

.eg-premium-home {
    --eg-orange: #F47B20;
    --eg-orange-dark: #DB6712;
    --eg-navy: #10243A;
    --eg-black: #101214;
    --eg-white: #FFFFFF;
    --eg-light: #F5F6F8;
    --eg-muted: #697586;

    color: var(--eg-black);
    background: var(--eg-white);
    font-family: inherit;
    overflow: hidden;
}

.eg-premium-home * {
    box-sizing: border-box;
}

.eg-container {
    width: min(1180px, 90%);
    margin: 0 auto;
}

.eg-section {
    padding: 110px 0;
}

.eg-section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: var(--eg-orange-dark);
}

.eg-section-label span {
    width: 34px;
    height: 2px;
    background: var(--eg-orange);
}


/* HERO */

.eg-hero {
    position: relative;
    min-height: 720px;
    min-height: min(820px, 90svh);
    display: flex;
    align-items: center;
    color: white;
    background: var(--eg-navy);
    isolation: isolate;
}

.eg-hero-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        url('public/assets/expert/images/home/corporate-hero.jpg')
        center / cover no-repeat,
        linear-gradient(120deg, #10243A, #263D55);
    transform: scale(1.03);
    animation: egHeroZoom 12s ease-out forwards;
}

.eg-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            90deg,
            rgba(10, 24, 39, .96) 0%,
            rgba(16, 36, 58, .82) 50%,
            rgba(16, 36, 58, .25) 100%
        );
}

.eg-hero-content {
    position: relative;
    padding-top: 75px;
    padding-bottom: 100px;
    animation: egFadeUp .9s ease both;
}

.eg-hero .eg-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 30px;
}

.eg-eyebrow-line {
    width: 38px;
    height: 2px;
    background: var(--eg-orange);
}

.eg-hero h1 {
    font-size: clamp(44px, 6.4vw, 82px);
    line-height: 1.08;
    letter-spacing: -3px;
    font-weight: 850;
    max-width: 850px;
    margin: 0;
    color: white;
}

.eg-hero h1 span {
    color: var(--eg-orange);
}

.eg-hero-description {
    font-size: 17px;
    line-height: 1.9;
    max-width: 570px;
    color: rgba(255,255,255,.78);
    margin: 28px 0 35px;
}

.eg-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.eg-btn {
    min-height: 54px;
    padding: 0 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition: .3s ease;
}

.eg-btn-primary {
    color: #101214;
    background: var(--eg-orange);
}

.eg-btn-primary:hover {
    background: white;
    color: var(--eg-navy);
    transform: translateY(-3px);
}

.eg-btn-outline {
    border: 1px solid rgba(255,255,255,.55);
    color: white;
    background: rgba(255,255,255,.04);
}

.eg-btn-outline:hover {
    background: white;
    color: var(--eg-navy);
}

.eg-hero-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 80px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,.22);
}

.eg-hero-bottom span {
    font-size: 9px;
    letter-spacing: 1.7px;
    color: rgba(255,255,255,.75);
    font-weight: 700;
}

.eg-hero-scroll {
    position: absolute;
    right: 5%;
    bottom: 35px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 9px;
    letter-spacing: 2px;
    color: white;
}

.eg-hero-scroll span {
    width: 35px;
    height: 1px;
    background: var(--eg-orange);
}


/* ABOUT */

.eg-about {
    background: #fff;
}

.eg-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.eg-premium-home h2 {
    font-size: clamp(34px, 4.4vw, 54px);
    letter-spacing: -1.8px;
    line-height: 1.15;
    font-weight: 850;
    color: var(--eg-navy);
    margin: 22px 0;
}

.eg-premium-home h2 span {
    color: var(--eg-orange);
}

.eg-about-right {
    padding-top: 35px;
}

.eg-about-right p {
    font-size: 15px;
    line-height: 1.95;
    color: var(--eg-muted);
}

.eg-about-right .eg-about-lead {
    font-size: 21px;
    font-weight: 700;
    color: var(--eg-navy);
    line-height: 1.6;
}

.eg-text-link {
    display: inline-flex;
    gap: 15px;
    margin-top: 15px;
    text-decoration: none;
    color: var(--eg-orange-dark);
    font-weight: 800;
    font-size: 13px;
}

.eg-about-strip {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--eg-light);
}

.eg-about-strip > div {
    padding: 28px;
    border-right: 1px solid #e1e4e8;
}

.eg-about-strip strong {
    display: block;
    color: var(--eg-orange-dark);
    font-size: 30px;
    margin-bottom: 8px;
}

.eg-about-strip span {
    font-size: 12px;
    font-weight: 700;
    color: var(--eg-navy);
}


/* DIVISIONS */

.eg-divisions {
    background: #F5F6F8;
}

.eg-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 45px;
}

.eg-section-heading > p {
    max-width: 380px;
    line-height: 1.8;
    color: var(--eg-muted);
    font-size: 14px;
}

.eg-division-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.eg-division-card {
    grid-column: span 2;
    min-height: 390px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    overflow: hidden;
    color: white;
    text-decoration: none;
    background-color: var(--eg-navy);
    isolation: isolate;
    transition: transform .4s ease;
}

.eg-division-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.eg-division-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.eg-division-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(0deg, rgba(7,18,31,.97), rgba(7,18,31,.12)),
        var(--division-image, linear-gradient(135deg, #10243A, #334d68));
    background-size: cover;
    background-position: center;
    transition: transform .6s ease;
}

.eg-card-travel {
    --division-image: url('public/assets/expert/images/home/travel.jpg');
}

.eg-card-trading {
    --division-image: url('public/assets/expert/images/home/trading.jpg');
}

.eg-card-printing {
    --division-image: url('public/assets/expert/images/home/printing.jpg');
}

.eg-card-property {
    --division-image: url('public/assets/expert/images/home/real-estate.jpg');
}

.eg-card-enterprises {
    --division-image: url('public/assets/expert/images/home/enterprises.jpg');
}

.eg-division-card:hover {
    transform: translateY(-7px);
}

.eg-division-card:hover::before {
    transform: scale(1.08);
}

.eg-card-number {
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 800;
    color: var(--eg-orange);
}

.eg-card-content > span:first-child {
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 800;
    color: var(--eg-orange);
}

.eg-card-content h3 {
    font-size: clamp(24px, 2.5vw, 34px);
    line-height: 1.2;
    margin: 14px 0;
    font-weight: 800;
    color: white;
}

.eg-card-content p {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255,255,255,.78);
}

.eg-card-arrow {
    display: inline-flex;
    margin-top: 15px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 50%;
    color: white;
    transition: .3s;
}

.eg-division-card:hover .eg-card-arrow {
    background: var(--eg-orange);
    color: var(--eg-black);
    border-color: var(--eg-orange);
}


/* WORKING PROCESS */

.eg-process {
    background: var(--eg-navy);
    color: white;
}

.eg-process .eg-process-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 65px;
}

.eg-process h2 {
    color: white;
}

.eg-process-heading > p {
    max-width: 390px;
    color: rgba(255,255,255,.68);
    line-height: 1.9;
    font-size: 14px;
}

.eg-process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.eg-process-item {
    position: relative;
    padding: 25px 20px;
    border-top: 1px solid rgba(255,255,255,.22);
    border-right: 1px solid rgba(255,255,255,.13);
    transition: background .3s;
}

.eg-process-item:hover {
    background: rgba(255,255,255,.06);
}

.eg-process-no {
    color: var(--eg-orange);
    font-size: 12px;
    font-weight: 800;
}

.eg-process-icon {
    margin: 28px 0 20px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(244,123,32,.6);
    display: grid;
    place-items: center;
    color: var(--eg-orange);
    font-size: 24px;
}

.eg-process-item h3 {
    font-size: 18px;
    color: white;
}

.eg-process-item p {
    font-size: 12px;
    line-height: 1.9;
    color: rgba(255,255,255,.65);
}


/* VALUES */

.eg-values {
    background: white;
}

.eg-values-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 100px;
}

.eg-values-intro > p {
    color: var(--eg-muted);
    font-size: 15px;
    line-height: 1.9;
    max-width: 410px;
}

.eg-value-item {
    display: flex;
    gap: 28px;
    padding: 25px 0;
    border-bottom: 1px solid #e7e9ed;
}

.eg-value-item > span {
    font-size: 12px;
    font-weight: 800;
    color: var(--eg-orange-dark);
}

.eg-value-item h3 {
    margin: 0 0 9px;
    color: var(--eg-navy);
    font-size: 18px;
}

.eg-value-item p {
    margin: 0;
    color: var(--eg-muted);
    font-size: 13px;
    line-height: 1.8;
}


/* CONTACT CTA */

.eg-contact-cta {
    position: relative;
    padding: 100px 0;
    background: var(--eg-black);
    color: white;
    overflow: hidden;
    isolation: isolate;
}

.eg-contact-cta::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 480px;
    height: 480px;
    border: 1px solid rgba(244,123,32,.2);
    border-radius: 50%;
    right: -100px;
    top: -220px;
    box-shadow:
        0 0 0 50px rgba(244,123,32,.035),
        0 0 0 100px rgba(244,123,32,.025);
}

.eg-contact-cta h2 {
    color: white;
    font-size: clamp(40px, 5vw, 64px);
}

.eg-contact-cta p {
    max-width: 570px;
    color: rgba(255,255,255,.68);
    line-height: 1.9;
    margin: 25px 0 30px;
}


/* ANIMATIONS */

@keyframes egFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes egHeroZoom {
    from { transform: scale(1.08); }
    to { transform: scale(1.0); }
}


/* TABLET */

@media (max-width: 900px) {

    .eg-section {
        padding: 80px 0;
    }

    .eg-about-grid,
    .eg-values-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .eg-section-heading {
        display: block;
    }

    .eg-division-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .eg-division-card,
    .eg-division-card:nth-child(4),
    .eg-division-card:nth-child(5) {
        grid-column: auto;
    }

    .eg-process-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 20px;
    }

    .eg-process-heading {
        flex-direction: column;
        align-items: start !important;
    }
}


/* MOBILE */

@media (max-width: 600px) {

    .eg-container {
        width: 90%;
    }

    .eg-section {
        padding: 65px 0;
    }

    .eg-hero {
        min-height: 700px;
        min-height: 88svh;
    }

    .eg-hero-overlay {
        background: linear-gradient(
            90deg,
            rgba(10,24,39,.96),
            rgba(16,36,58,.76)
        );
    }

    .eg-hero h1 {
        font-size: clamp(39px, 10vw, 52px);
        letter-spacing: -1.5px;
    }

    .eg-hero-description {
        font-size: 14px;
    }

    .eg-hero-bottom {
        gap: 13px;
        margin-top: 50px;
    }

    .eg-hero-bottom span {
        font-size: 8px;
    }

    .eg-hero-scroll {
        display: none;
    }

    .eg-btn {
        width: 100%;
    }

    .eg-about-strip {
        grid-template-columns: 1fr;
        margin-top: 45px;
    }

    .eg-about-strip > div {
        border-right: 0;
        border-bottom: 1px solid #e1e4e8;
        padding: 20px;
    }

    .eg-division-grid {
        grid-template-columns: 1fr;
    }

    .eg-division-card,
    .eg-division-card:nth-child(4),
    .eg-division-card:nth-child(5) {
        grid-column: auto;
        min-height: 330px;
    }

    .eg-process-grid {
        grid-template-columns: 1fr;
    }

    .eg-process-item {
        border-right: 0;
    }

    .eg-value-item {
        gap: 18px;
    }

    .eg-contact-cta {
        padding: 75px 0;
    }
}


/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .eg-premium-home *,
    .eg-premium-home *::before,
    .eg-premium-home *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
