/* ============================================
   IGE GROUP — HOME PAGE STYLES (index_page.css)
   Load after styles.css in index.html:
   <link rel="stylesheet" href="styles.css">
   <link rel="stylesheet" href="index_page.css">
   ============================================ */

/* ============================================
   HOME HERO
   ============================================ */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-h));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem 7rem;
    overflow: hidden;
    text-align: center;
}

/* Large background ring (logo G motif) */
.hero-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.hero-ring-1 {
    top: -180px; right: -180px;
    width: 680px; height: 680px;
    border: 55px solid rgba(201,169,110,0.055);
}
.hero-ring-2 {
    bottom: -120px; left: -140px;
    width: 500px; height: 500px;
    border: 38px solid rgba(201,169,110,0.035);
}

/* Diagonal slash lines (logo signature element) */
.slash {
    position: absolute;
    width: 1px;
    pointer-events: none;
}
.slash::before {
    content: '';
    display: block;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(201,169,110,0.35), transparent);
}
.slash-1 {
    height: 55%; top: 18%; left: 14%;
    transform: rotate(-30deg);
    transform-origin: top center;
}
.slash-2 {
    height: 40%; top: 25%; right: 18%;
    transform: rotate(-30deg);
    transform-origin: top center;
    opacity: 0.5;
}

/* Hero inner content */
.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.6rem;
}
.hero-eyebrow .rule {
    width: 36px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.hero-eyebrow .rule.flip {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-h1 {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(2.6rem, 7.5vw, 5.2rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1.6rem;
}

.hero-sub {
    font-size: clamp(0.92rem, 2vw, 1.05rem);
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 2.8rem;
    line-height: 1.85;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 2rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: background 0.22s, color 0.22s;
}
.hero-cta:hover {
    background: var(--gold);
    color: var(--navy-deep);
}
.hero-cta .arrow { transition: transform 0.2s; }
.hero-cta:hover .arrow { transform: translateX(4px); }

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 2.2rem; left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-faint);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.scroll-line {
    width: 1px; height: 38px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.75); }
    50%       { opacity: 1;   transform: scaleY(1); }
}

/* ============================================
   HOME SERVICES GRID
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5px;
    background: var(--navy-border);
    border: 1.5px solid var(--navy-border);
}

.service-card {
    background: var(--navy-deep);
    padding: 2.5rem 2.2rem;
    position: relative;
    overflow: hidden;
    transition: background 0.28s;
    text-decoration: none;
    display: block;
    color: inherit;
}
/* Bottom gold bar on hover */
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0);
    transition: transform 0.38s ease;
}
/* Diagonal accent top-right */
.service-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 70px; height: 70px;
    background: linear-gradient(225deg, rgba(201,169,110,0.08), transparent 60%);
}
.service-card:hover { background: var(--navy-surface); }
.service-card:hover::after { transform: scaleX(1); }

.svc-icon {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    display: block;
    line-height: 1;
}
.svc-num {
    font-family: 'Raleway', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text-faint);
    margin-bottom: 0.4rem;
}
.svc-title {
    font-family: 'Raleway', sans-serif;
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}
.svc-desc {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.78;
}
.svc-badge {
    display: inline-block;
    margin-top: 1.3rem;
    padding: 0.18rem 0.65rem;
    border: 1px solid var(--gold-border);
    font-family: 'Raleway', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ============================================
   HOME ABOUT SECTION
   ============================================ */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}
.about-copy p {
    font-size: 0.93rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}
.about-copy strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* Stats row */
.stat-row {
    display: flex;
    gap: 2.8rem;
    padding-top: 2.2rem;
    margin-top: 2.2rem;
    border-top: 1px solid var(--navy-border);
}
.stat-num {
    font-family: 'Raleway', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.stat-label {
    font-size: 0.72rem;
    color: var(--text-faint);
    letter-spacing: 0.06em;
    margin-top: 0.35rem;
}

/* Team card */
.team-card {
    background: var(--navy-surface);
    border: 1px solid var(--navy-border);
    position: relative;
    overflow: hidden;
}
.team-card::after {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 100px; height: 200px;
    background: linear-gradient(225deg, rgba(201,169,110,0.08), transparent 60%);
    transform: rotate(-20deg);
}
.team-card-header {
    padding: 1.8rem 2rem 1.2rem;
    border-bottom: 1px solid var(--navy-border);
}
.team-card-header .label {
    display: block;
    margin-bottom: 0.3rem;
}
.team-card-title {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}
.team-member {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.1rem 2rem;
    border-bottom: 1px solid var(--navy-border);
}
.team-member:last-child { border-bottom: none; }
.member-avatar {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, #7A5F2A, var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--navy-deep);
    flex-shrink: 0;
}
.member-role {
    font-family: 'Raleway', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}
.member-spec {
    font-size: 0.73rem;
    color: var(--text-faint);
    margin-top: 0.15rem;
}
.team-card-footer {
    padding: 1.2rem 2rem;
    background: rgba(0,0,0,0.15);
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   HOME WIP / COMING SOON SECTION
   ============================================ */
.wip-section {
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* Ghost watermark */
.wip-section::before {
    content: 'COMING SOON';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Raleway', sans-serif;
    font-size: 10vw;
    font-weight: 900;
    color: rgba(201,169,110,0.04);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: 0.08em;
}
.wip-inner {
    position: relative;
    z-index: 2;
    max-width: 580px;
    margin: 0 auto;
}
.wip-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1.1rem;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    margin-bottom: 1.8rem;
}
.wip-badge-dot {
    width: 7px; height: 7px;
    background: var(--gold);
    border-radius: 50%;
    animation: blink 1.6s ease-in-out infinite;
}
.wip-badge-text {
    font-family: 'Raleway', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}
.wip-title {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 1rem;
}
.wip-body {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 3rem;
}

/* Progress bars */
.progress-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}
.progress-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.progress-label {
    font-family: 'Raleway', sans-serif;
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--text-muted);
    min-width: 165px;
}
.progress-track {
    flex: 1;
    height: 2px;
    background: var(--navy-border);
    position: relative;
}
.progress-fill {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.progress-pct {
    font-family: 'Raleway', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--gold);
    min-width: 32px;
    text-align: right;
}

/* ============================================
   HOME CONTACT SECTION
   ============================================ */
.contact-bg {
    background: var(--navy-deep);
    border-top: 1px solid var(--navy-border);
}
.contact-title {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    margin-top: 0.65rem;
    margin-bottom: 0.8rem;
}
.contact-sub {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 2.2rem;
}
.contact-email-link {
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid var(--gold-border);
    padding-bottom: 3px;
    transition: border-color 0.2s;
}
.contact-email-link:hover { border-color: var(--gold); }

/* ============================================
   RESPONSIVE — HOME SPECIFIC
   ============================================ */
@media (max-width: 840px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .stat-row { gap: 2rem; }
    .progress-label { min-width: 120px; font-size: 0.7rem; }
    .team-member { padding: 0.9rem 1.2rem; }
    .team-card-header { padding: 1.4rem 1.2rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    .scroll-line { animation: none; }
    .wip-badge-dot { animation: none; }
}