/*
 * ALDnet, Inc. — Berris Optical homepage redesign, October 2026.
 * Scoped to the three homepage sections. Existing site.css remains unchanged.
 */

/* Hero: retain the approved layout, typography and photograph. */
.hero .hero-copy .actions {
    margin-bottom: 0;
}

/* Two equal photographic service cards. */
.home-offerings {
    padding: 20px 0 60px;
    background: #fff;
}
.home-offerings-heading {
    margin-bottom: 32px;
}
.home-offerings-heading h2 {
    margin: 12px 0 0;
    font-size: clamp(30px, 3.4vw, 46px);
    letter-spacing: -.045em;
}
.home-offerings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}
.home-offering-card {
    min-width: 0;
}
.home-offering-image-link {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: #f4f4f4;
    aspect-ratio: 1.55;
}
.home-offering-image-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .22s ease;
}
.home-offering-image-link:hover img {
    transform: scale(1.025);
}
.home-offering-card h3 {
    font-size: clamp(21px, 2vw, 26px);
    margin: 20px 0 10px;
    letter-spacing: -.035em;
}
.home-offering-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--muted);
    max-width: 530px;
    margin: 0 0 13px;
}
.home-offering-link {
    display: inline-block;
    color: var(--deep);
    font-size: 14px;
    font-weight: 800;
    border-bottom: 1px solid transparent;
}
.home-offering-link:hover {
    border-bottom-color: var(--teal);
}

/* Quiet final section: established neighborhood practice, clear next steps. */
.home-history {
    background: #f6f6f6;
    padding: 50px 0 70px;
}
.home-history-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
    gap: clamp(36px, 6vw, 95px);
    align-items: center;
}
.home-history-heading h2 {
    font-size: clamp(36px, 4.2vw, 57px);
    line-height: 1.16;
    margin: 16px 0 0;
    letter-spacing: -.055em;
}
.home-history-copy p {
    font-size: 16px;
    line-height: 1.85;
    color: #555;
    margin: 0 0 27px;
}
.home-history-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.home-history-actions .btn {
    gap: 12px;
}
@media (max-width: 900px) {
    .home-history-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}
@media (max-width: 620px) {
    .home-offerings {
        padding: 58px 0 65px;
    }
    .home-offerings-grid {
        grid-template-columns: 1fr;
        gap: 37px;
    }
    .home-offering-card h3 {
        margin-top: 15px;
    }
    .home-history {
        padding: 58px 0 67px;
    }
    .home-history-actions {
        flex-direction: column;
    }
    .home-history-actions .btn {
        width: 100%;
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-offering-image-link img {
        transition: none;
    }
}
