/* --- SERVICES HERO SECTION --- */
.service-hero {
    position: relative;
    padding: 180px 0 100px; /* High padding for navigation clearance */
    background: #fdfdfd; /* Very subtle off-white */
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* 1. Large Ghost Text */
.hero-ghost-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18vw; /* Massive */
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.03); /* Barely visible */
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    letter-spacing: -0.05em;
}

/* 2. Grid Layout */
.hero-grid-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}

/* 3. Text Column */
.hero-content-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-sub {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary); /* Use your orange/gold */
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    display: block;
}

.hero-title-group {
    display: flex;
    align-items: stretch; /* Stretch line to match text height */
    gap: 20px;
    margin-bottom: 30px;
}

/* 4. The Animated Vertical Line */
.vertical-hero-line {
    width: 4px;
    background: #e4e4e7;
    position: relative;
    overflow: hidden;
}

.vertical-hero-line .line-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--color-primary);
    transition: height 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.vertical-hero-line.active .line-fill {
    height: 100%;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--color-dark);
    margin: 0;
}

.hero-desc {
    font-size: 1.2rem;
    color: #52525b;
    max-width: 500px;
    line-height: 1.6;
}

/* 5. Technical Image Box */
.tech-box {
    position: relative;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.tech-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-primary);
    transition: all 0.3s ease;
}

.tech-corner.top-left {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}

.tech-corner.bottom-right {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

.tech-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1); /* Engineering look */
    transition: filter 0.5s ease;
}

.tech-box:hover .tech-img {
    filter: grayscale(0%) contrast(1);
}

/* --- SCOPE GRID --- */
.scope-section {
    padding: 100px 0;
    background: #fff;
    border-bottom: 1px solid #f4f4f5;
}

.section-label {
    font-family: "Space Mono", monospace; /* Technical font if available, else standard */
    font-size: 0.8rem;
    color: #a1a1aa;
    margin-bottom: 40px;
    letter-spacing: 0.2em;
}

.scope-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.scope-card {
    padding: 30px;
    background: #fafafa;
    border: 1px solid #e4e4e7;
    transition: transform 0.3s ease;
    color: black;
}

.scope-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.card-header i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.card-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

/* --- SPECS & LEAD --- */
.specs-section {
    padding: 100px 0;
}

.specs-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
}

.spec-header {
    font-size: 1.2rem;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 10px;
    display: inline-block;
    color: black;
}

.spec-list {
    list-style: none;
    padding: 0;
    color: black;
}

.spec-list li {
    padding: 15px 0;
    border-bottom: 1px dashed #e4e4e7;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.1rem;
    
}

.spec-list .bullet {
    color: var(--color-primary);
    margin-right: 10px;
    font-weight: bold;
    letter-spacing: -2px;
}

.lead-card {
    background: var(--color-dark);
    color: #fff;
    padding: 40px;
    position: relative;
}

.lead-label {
    font-size: 0.8rem;
    opacity: 0.7;
    letter-spacing: 0.1em;
}

.lead-card h3 {
    font-size: 2rem;
    margin: 10px 0 30px;
}

.lead-card .btn-outline-dark {
    border-color: #fff;
    color: #fff;
}

.lead-card .btn-outline-dark:hover {
    background: #fff;
    color: var(--color-dark);
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 992px) {
    .hero-grid-layout {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 3rem;
    }
    .specs-grid {
        grid-template-columns: 1fr;
    }
}
