﻿.home-content {
    min-height: 100vh;
    padding: 24px;
    background: #f4f5f6;
    color: #222;
    overflow: hidden;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    max-width: 1200px;
    min-height: 580px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 14px;
    background: #141414;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    color: #fff;
}

.hero > picture {
    display: block;
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.hero-picture {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    display: none;
}

.hero-content {
    display: flex;
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(36px, 4vw, 64px);
    background: #141414;
}

.hero-content h1 {
    margin: 0;
    color: #fff;
    font-family: 'TT Drugs Trial', 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(2.35rem, 3.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.hero-supporting-text {
    margin: 20px 0 0;
    color: #f1f1f1;
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-actions .hero-action,
.projects-link,
.mobile-contact-bar a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 12px 20px;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.hero-actions .hero-action-call {
    background: #187a33;
}

.hero-actions .hero-action-estimate,
.projects-link {
    background: #075ea8;
}

.hero-actions .hero-action:hover,
.projects-link:hover,
.mobile-contact-bar a:hover {
    color: #fff;
    text-decoration: none;
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.hero-actions .hero-action:focus-visible,
.projects-link:focus-visible,
.mobile-contact-bar a:focus-visible,
.why-us .cta:focus-visible {
    outline: 3px solid #ffcf40;
    outline-offset: 3px;
    box-shadow: none;
}

.home-highlights,
.why-us {
    max-width: 1200px;
    box-sizing: border-box;
    margin: 24px auto 0;
    padding: 24px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.1);
    color: #222;
}

.home-highlights h2,
.why-us h2 {
    margin: 0 0 12px;
    color: #1d1d1d;
    font-size: 1.6rem;
}

.home-highlights .custom-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-highlights .custom-list li {
    display: flex;
    align-items: center;
    margin: 8px 0;
    color: #252525;
    font-family: 'TT Drugs Trial', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.45;
    text-shadow: none;
}

.checkmark {
    display: inline-flex;
    width: 20px;
    min-width: 20px;
    height: 24px;
    align-items: flex-start;
    justify-content: center;
    margin-right: 8px;
    color: #075ea8;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    flex: 0 0 auto;
}

.button-container {
    display: flex;
    align-items: center;
    margin-top: 16px;
}

.why-us {
    margin-bottom: 0;
    font-family: 'Segoe UI', sans-serif;
}

.why-us p {
    margin: 0 0 12px;
    color: #333;
    line-height: 1.6;
}

.why-us-list {
    margin: 0 0 18px;
    padding-left: 20px;
    color: #333;
    line-height: 1.65;
}

.why-us-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.why-us .cta {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    box-sizing: border-box;
    border-radius: 8px;
    padding: 12px 22px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
}

.why-us .cta-primary {
    background: #187a33;
}

.why-us .cta-secondary {
    background: #075ea8;
}

.mobile-contact-bar {
    display: none;
}

@media (min-width: 901px) {
    .hero > picture {
        min-height: 580px;
    }
}

@media (min-width: 641px) and (max-width: 900px) {
    .home-content {
        padding: 24px;
    }

    .hero {
        display: flex;
        min-height: 0;
        flex-direction: column;
    }

    .hero > picture {
        width: 100%;
        height: clamp(230px, 40vw, 340px);
        flex: 0 0 auto;
    }

    .hero-content {
        width: 100%;
        box-sizing: border-box;
        padding: 28px 24px 32px;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 4.5vw, 2.65rem);
    }

    .hero-actions {
        margin-top: 22px;
    }
}

@media (max-width: 640px) {
    .home-content {
        min-height: auto;
        padding: 12px 12px calc(88px + env(safe-area-inset-bottom));
    }

    .hero {
        display: flex;
        min-height: 0;
        flex-direction: column;
        border-radius: 12px;
    }

    .hero > picture {
        width: 100%;
        height: clamp(175px, 46vw, 205px);
        flex: 0 0 auto;
    }

    .hero-content {
        width: 100%;
        box-sizing: border-box;
        padding: 18px 20px 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.08;
    }

    .hero-supporting-text {
        margin-top: 14px;
        font-size: 1rem;
        line-height: 1.48;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 16px;
    }

    .hero-actions .hero-action {
        width: 100%;
        min-height: 52px;
        padding: 8px;
        font-size: 0.9rem;
    }

    .home-highlights,
    .why-us {
        margin-top: 16px;
        padding: 20px;
    }

    .home-highlights h2,
    .why-us h2 {
        font-size: 1.4rem;
    }

    .mobile-contact-bar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: flex;
        gap: 8px;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
        background: #0b0b0b;
        box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.3);
    }

    .mobile-contact-bar a {
        min-width: 0;
        min-height: 52px;
        padding: 10px;
        color: #fff;
        flex: 1 1 50%;
    }

    .mobile-contact-bar a:first-child {
        background: #187a33;
    }

    .mobile-contact-bar a:last-child {
        background: #075ea8;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-actions .hero-action,
    .projects-link,
    .mobile-contact-bar a {
        transition: none;
    }
}