/* ================= CONTACTS ================= */

.contacts-section {
    background: #f8f9fa;
}

/* Сетка карточек */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

/* Карточка */
.contact-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid transparent;
    transition: 0.2s ease;
}

.contact-card:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    border-color: #eaeaea;
}

.contact-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

/* Телефоны */
.contact-card a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Чтобы можно было позиционировать иконку */
.phones-card {
    position: relative;
}

/* Блок инсты в правом верхнем углу */
.insta-top {
    position: absolute;
    top: 15px;
    right: 15px;
}

/* Ссылка */
.instagram-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: 0.3s;
    text-decoration: none;
}

/* Цветная иконка */
.instagram-link i {
    font-size: 24px;
    background: radial-gradient(circle at 30% 107%, 
        #fdf497 0%, 
        #fdf497 5%, 
        #fd5949 45%, 
        #d6249f 60%, 
        #285AEB 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Эффект наведения */
.instagram-link:hover {
    transform: scale(1.1);
}

/* Карта */
.contacts-map iframe {
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    width: 100%;
    height: 400px;
}


/* HERO */
.contacts-hero {
    background: 
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url("../images/man.jpg") 25% 20%/cover no-repeat;
    padding: 120px 0 80px 0;
    color: white;
}

.contacts-hero h1 {
    font-size: 42px;
    font-weight: 700;
}

.contacts-hero p {
    font-size: 18px;
    opacity: 0.9;
}

.contacts-info {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    font-size: 22px;
    color: #0d6efd;
    margin-top: 4px;
}

.contact-item h6 {
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    margin: 0;
    color: #555;
    text-decoration: none;
}

.contact-item a:hover {
    color: #0d6efd;
}

.contacts-map-page {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    height: 100%;
    min-height: 500px; /* ← ВАЖНО */
}

.contacts-map-page iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

