.hero {

    display: grid;

    grid-template-columns: 220px 1fr;
    max-width: 900px;
    margin: 50px auto 0;
    grid-template-rows: auto auto;

    justify-content: center;
    align-items: center;

    gap: 30px;



}

.hero img {

    width: 100%;
    max-width: 380px;

    border-radius: 14px;

}

.hero-text p {

    margin-top: 10px;
    margin-bottom: 20px;

}



.services {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

    gap: 20px;

    margin-top: 30px;

}

.service-card {

    background: var(--card);

    border-radius: 12px;

    padding: 20px;

    border: 1px solid var(--border);

}



@media (max-width:900px) {

    .hero {

        grid-template-columns: 1fr;

        text-align: center;

    }

    .hero img {

        width: 100%;
        max-width: 320px;
        height: auto;

        display: block;

    }

}

@media (max-width:768px) {

    .hero {

        grid-template-columns: 1fr;
        text-align: center;

    }

    .hero img {

        margin: auto;

    }

    .services {

        grid-template-columns: 1fr;

    }

}

.hero-buttons {

    grid-column: 1 / -1;

    display: flex;

    justify-content: center;

    gap: 18px;

    margin-top: 10px;

    flex-wrap: wrap;

}

.hero-buttons a {

    width: 180px;



    font-weight: 600;



}

.hero-buttons a:hover {

    background: var(--border);
    border-color: var(--border);
    color: var(--text);

    transform: translateY(-2px);
}

.hero-buttons .btn {

    min-width: 180px;

}

.about-section {

    display: flex;
    justify-content: center;
    margin-top: 70px;

}

.about-card {

    max-width: 100%;

    padding: 34px;

    border-radius: 12px;

    background: var(--card);

    text-align: center;

}

.about-card h2 {

    margin-bottom: 14px;
    font-size: 1.8rem;

}

.about-card p {

    font-size: 1.05rem;
    line-height: 1.6;

}

@media (max-width:768px) {

    .hero-buttons {

        flex-direction: column;

    }

    .hero-buttons a {

        width: 220px;

    }

}