/* Home page */

.hero-section {
    padding: 4.5rem 0 3.5rem;
}

.hero-heading {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1rem;
    color: var(--ink);
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 38rem;
    margin-bottom: 1.75rem;
}

.hero-media {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    background: var(--brand-light);
}

.hero-media img {
    width: 100%;
    height: 500px;
    object-fit: contain;   /* show the whole house, never crop */
    display: block;
}

/* Services preview tiles */
.preview-card {
    display: block;
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    text-decoration: none;
    background: var(--surface);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.preview-card:hover,
.preview-card:focus {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.preview-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.preview-label {
    display: block;
    padding: 0.75rem 1rem;
    font-weight: 700;
    color: var(--ink);
}

/* Testimonials */
.testimonials-section {
    background: var(--surface);
    border-block: 1px solid var(--border);
}

.testimonial-card {
    box-shadow: var(--shadow-sm);
}

.testimonial-text {
    font-style: italic;
    color: var(--ink);
    margin-bottom: 1rem;
}

.testimonial-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.testimonial-role {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 2.5rem 0;
    }

    .hero-media img {
        height: 420px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 2rem 0;
    }

    .hero-media img {
        height: 360px;
    }

    .preview-card img {
        height: 130px;
    }
}
