
/* Основной контент */
main {
    flex: 1;
    padding: 60px 0;
}


section {
    margin-bottom: 80px;
}

.hero {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
}

.hero h1 {
    font-size: 42px;
    color: #1f1f1f;
    margin-bottom: 18px;
}

.main-div {
    text-align: center;
}

.hero p {
    font-size: 20px;
    color: #2A2A2A;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Кнопки */
.btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    background-size: 101%;
    color:#2A2A2A;
    padding: 18px 28px;
    background-position: 0%;
    border-radius: 18px;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.price-highlight {
    text-decoration: underline;
    color: #D35400;
}

.price-highlight:hover {
    cursor: pointer;
}


.btn:hover, .back-btn:hover  {
    color:  #D35400;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

/* Карточки */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 20px 60px 20px;
}

.card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
   
}

.card:hover{
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

.card-icon {
    font-size: 50px;
    margin-bottom: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cdek-logo {
    max-height: 180px;
    margin-bottom: 30px;
}

.card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.card p {
    color: #2A2A2A;
    line-height: 1.6;
}


/* О нас */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
    margin: 50px 20px 60px 20px;

}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #2A2A2A;
}

.about-text p {
    margin-bottom: 20px;
    color: #2A2A2A;
    font-size: 18px;
    line-height: 1.6;
}

.image-placeholder p {
    font-size: 20px;
    font-weight: 500;
}

.image-placeholder > a  {
    left: 30%;
    text-decoration: none;
    font-size: 20px;
    color: white;
    border-radius: 20px;
    font-weight: bolder;
    padding: 1%;
}

.portfolio-img {
  max-width: 100%; /* Картинка не станет шире родителя */
  height: auto;    /* Сохранение пропорций */
  border-radius: 20px;
}


@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
}
