/* =============================================
   HERO SECTION
   100vh · video bg · stacked heading (upper-third)
   Ignitex reference match
   ============================================= */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: #000;
    color: #fff;
}

/* --- Video Background --- */
.hero__video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* --- Dark Overlay (reference: subtle gradient) --- */
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.1) 40%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

/* --- Content Grid --- */
.hero__grid {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    min-height: 600px;
    padding-top: calc(72px + 8vh);
    padding-bottom: 48px;
    padding-left: 24px;
    padding-right: 24px;
    max-width: var(--max-width, 1280px);
    margin: 0 auto;
    width: 100%;
}

/* --- TOP: Heading (upper-third positioning) --- */
.hero__top {
    display: flex;
    align-items: flex-start;
    padding-top: 2vh;
}

.hero__heading {
    font-family: var(--font-heading, 'Satoshi', sans-serif);
    font-weight: 700;
    font-size: clamp(72px, 10vw, 160px);
    line-height: 0.95;
    color: #fff;
    letter-spacing: -0.03em;
}

.hero__line {
    display: block;
}

/* Script accent — ampersand overlap effect */
.script-accent {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2em;
    display: inline-block;
    margin-right: -0.08em;
    margin-left: -0.04em;
    vertical-align: baseline;
}

/* --- BOTTOM: 2-column layout (pinned to bottom) --- */
.hero__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 48px;
}

/* Left Column */
.hero__col-left {
    max-width: 360px;
}

.hero__desc {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.hero__desc-icon {
    flex-shrink: 0;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.5);
}

.hero__desc p {
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
    max-width: 320px;
    margin: 0;
}

.hero__copy {
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-weight: 300;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* Right Column */
.hero__col-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
}

/* Service List */
.hero__svc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: right;
}

.hero__svc {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__svc:last-child {
    border-bottom: none;
}

.hero__svc .script-accent {
    font-size: 14px;
    opacity: 0.7;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.hero__svc span:last-child {
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-weight: 500;
    font-size: 16px;
    color: #fff;
}

/* Hero CTA */
.hero__cta {
    white-space: nowrap;
}


/* =============================================
   MOBILE (below 768px)
   ============================================= */
@media (max-width: 767px) {
    .hero__grid {
        padding-top: calc(72px + 4vh);
        padding-bottom: 32px;
    }

    .hero__heading {
        font-size: clamp(48px, 8vw, 72px);
    }

    .hero__bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }

    .hero__col-left {
        max-width: 100%;
    }

    .hero__desc p {
        max-width: 100%;
    }

    /* Hide service list on mobile */
    .hero__svc-list {
        display: none;
    }

    .hero__col-right {
        align-items: stretch;
    }

    /* CTA full width */
    .hero__cta {
        width: 100%;
        justify-content: center;
    }
}


/* =============================================
   TABLET (768px+)
   ============================================= */
@media (min-width: 768px) {
    .hero__grid {
        padding-bottom: 56px;
    }
}


/* =============================================
   DESKTOP (1024px+)
   ============================================= */
@media (min-width: 1024px) {
    .hero__grid {
        padding-top: calc(72px + 6vh);
        padding-bottom: 72px;
    }

    .hero__heading {
        font-size: clamp(96px, 10vw, 160px);
    }
}


/* =============================================
   XL (1280px+)
   ============================================= */
@media (min-width: 1280px) {
    .hero__heading {
        font-size: 160px;
    }

    .script-accent {
        font-size: 1.2em;
    }
}
