/* Стили для десктопных устройств */

.logo-image {
    height: 90px;
    width: auto;
    object-fit: contain;
}

nav ul {
    gap: 2rem;
}

.hero {
    padding: 1.5rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    align-items: center;
    min-height: 240px;
}

.hero-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-btn {
    padding: 0.9rem 1.8rem;
}

.hero-image {
    max-height: 240px;
}

.hero-simple h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-simple p {
    font-size: 1.2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

nav a {
    font-size: 1.3rem;  /* или 1.3rem для ещё большего размера */
}

.about-main-image {
    max-height: 400px;
}

.promo-card-mini h2 {
    font-size: 2.2rem;
}

.promo-card-mini {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero welcome секция на главной */
.hero-welcome-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0 2.5rem 0;
}

.hero-welcome-image {
    flex: 0 0 auto;
}

.hero-welcome-image img {
    width: auto;
    height: 270px;
    object-fit: contain;
}

.hero-welcome-text {
    flex: 0 1 750px;
    max-width: 750px;
}

.hero-welcome-text h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.hero-welcome-text p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.page-title h1 {
    text-align: center;
}

.page-title {
    text-align: center;
}

/* Исправление карточек услуг на главной странице */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    display: grid !important;
    grid-template-rows: auto 1fr;
    height: 100%;
    min-height: 250px;
}

.service-card h3 {
    min-height: 4rem;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.service-card p {
    align-self: start;
}