/* ===== DRAIN WILLIAM PLUMBING — HERO ===== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--blue-950);
    overflow: hidden;
}

/* ── CAROUSEL ── */
.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.6s ease-in-out;
}
.hero-slide.active { opacity: 1; }

/* Multi-layer overlay: heavy left for text, atmospheric bottom */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right,
            rgba(5,25,45,0.97) 0%,
            rgba(8,47,84,0.88) 38%,
            rgba(8,47,84,0.55) 62%,
            rgba(5,25,45,0.25) 100%),
        linear-gradient(to top,
            rgba(5,25,45,0.6) 0%,
            transparent 40%);
    pointer-events: none;
    z-index: 1;
}

/* Red accent bar on left edge */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--red);
    z-index: 2;
}

/* Prev / Next arrows */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.75);
    width: 44px;
    height: 44px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.hero-nav:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
}
.hero-prev { left: 1.25rem; }
.hero-next { right: 1.25rem; }
.hero-nav i { font-size: 0.9rem; pointer-events: none; }

/* Dot indicators */
.hero-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.hero-dot {
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.28);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, width 0.3s;
}
.hero-dot.active {
    background: var(--red);
    width: 44px;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-inner .container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3.5rem;
    align-items: center;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

/* Left column */
.hero-content { color: #fff; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.55);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    padding-left: 0.1rem;
}
.hero-eyebrow i { color: var(--red); font-size: 0.65rem; }

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 1.5rem;
}
.hero-content h1 .accent { color: var(--red); }

.hero-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.75;
    max-width: 500px;
    margin-bottom: 2.25rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 2.75rem;
}

/* Trust bar */
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding-right: 1.4rem;
    margin-right: 1.4rem;
    border-right: 1px solid rgba(255,255,255,0.12);
}
.trust-badge:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.trust-badge i { color: var(--red); font-size: 0.8rem; }

/* Right column — contact card */
.hero-card {
    background: rgba(8, 28, 50, 0.92);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.hero-card-title {
    background: var(--red);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.hero-card-body-inner {
    padding: 1.5rem;
}
.hero-card-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hero-card-item:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.hero-card-item i {
    color: var(--red);
    font-size: 0.95rem;
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}
.hero-card-item-text { font-size: 0.88rem; line-height: 1.45; }
.hero-card-item-text strong {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 1px;
}
.hero-card-item-text a {
    color: #fff;
    text-decoration: none;
}
.hero-card-item-text a:hover { color: #fca5a5; }
.hero-card-item-text span { color: rgba(255,255,255,0.55); font-size: 0.78rem; }

.hero-card-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 0;
}
.hero-card-cta {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background: rgba(0,0,0,0.25);
    border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-card-cta .btn {
    display: flex;
    justify-content: center;
    border-radius: var(--r-sm);
    font-size: 0.9rem;
    padding: 0.8rem;
}

@media (max-width: 980px) {
    .hero-inner .container {
        grid-template-columns: 1fr;
    }
    .hero-card { display: none; }
    .hero { min-height: auto; padding: 4rem 0 3rem; }
}

@media (max-width: 600px) {
    .hero-content h1 { font-size: 2.3rem; }
    .hero-cta { flex-direction: column; }
    .hero-cta a { text-align: center; justify-content: center; }
    .trust-badge { border-right: none; padding-right: 0; margin-right: 0; width: 45%; }
}
