:root {
    --gold: #e2b07a;
    --dark: #1a1a1b;
    --light-bg: #fafafa;
    --text-light: #777;
    --text-mid: #555;

    --fade-up: fadeUp 0.8s ease forwards;
    --fade-in: fadeIn 1s ease forwards;
}

/* ----------------------------- */
/* АНИМАЦИИ */
/* ----------------------------- */

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(25px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Параллакс */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

/* ----------------------------- */
/* HERO БЛОК */
/* ----------------------------- */

.contacts-hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 110px 20px 90px;
    background: var(--light-bg);
    border-bottom: 1px solid #eee;
    animation: var(--fade-in);
}

/* Декоративные круги */
.hero-decor {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(226,176,122,0.25), transparent 70%);
    filter: blur(2px);
    animation: float 6s ease-in-out infinite;
    z-index: 0;
}

.decor-1 {
    width: 260px;
    height: 260px;
    top: -60px;
    left: -80px;
    animation-delay: 0.5s;
}

.decor-2 {
    width: 340px;
    height: 340px;
    bottom: -120px;
    right: -100px;
    animation-delay: 1.2s;
}

.contacts-hero h1,
.contacts-hero .subtitle {
    position: relative;
    z-index: 2;
}

.contacts-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
    animation: var(--fade-up);
}

.contacts-hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-top: 12px;
    animation: var(--fade-up);
    animation-delay: 0.2s;
}

/* ----------------------------- */
/* ОСНОВНОЙ КОНТЕНТ */
/* ----------------------------- */

.contacts-info {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 70px 20px;
    flex-wrap: wrap;
}

.contacts-block {
    max-width: 420px;
    background: white;
    padding: 35px 30px;
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    animation: var(--fade-up);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Микро-анимация при наведении */
.contacts-block:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.contacts-block:nth-child(2) {
    animation-delay: 0.15s;
}

/* декоративная золотая линия */
.contacts-block h2 {
    font-size: 1.9rem;
    margin-bottom: 18px;
    color: var(--dark);
    font-weight: 800;
    position: relative;
}

.contacts-block h2::after {
    content: "";
    width: 60px;
    height: 3px;
    background: var(--gold);
    position: absolute;
    bottom: -8px;
    left: 0;
    border-radius: 2px;
}

.contacts-block p {
    color: var(--text-mid);
    line-height: 1.55;
    margin-bottom: 15px;
}

.services,
.schedule {
    padding-left: 18px;
    margin: 0;
    margin-top: 8px;
}

.services li,
.schedule li {
    margin-bottom: 6px;
    color: var(--text-mid);
    font-size: 0.95rem;
}

/* ----------------------------- */
/* СОЦСЕТИ */
/* ----------------------------- */

.socials {
    margin-top: 15px;
}

.socials a {
    display: inline-block;
    margin-right: 15px;
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.socials a:hover {
    color: #c9965f;
    transform: translateY(-2px);
}

/* ----------------------------- */
/* КНОПКИ КАРТ */
/* ----------------------------- */

.map-buttons {
    margin-top: 25px;
}

.btn {
    display: inline-block;
    padding: 10px 18px;
    background: var(--gold);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    margin-right: 10px;
    transition: 0.3s;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn:hover {
    background: #c9965f;
    transform: translateY(-2px);
}

/* ----------------------------- */
/* КАРТА */
/* ----------------------------- */

.map-section {
    padding: 0 20px 70px;
    animation: var(--fade-in);
}

.map-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
    animation: var(--fade-up);
    animation-delay: 0.25s;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Микро-анимация карты */
.map-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 55px rgba(0,0,0,0.18);
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* ----------------------------- */
/* АДАПТИВ */
/* ----------------------------- */

@media (max-width: 768px) {
    .contacts-block {
        max-width: 100%;
    }

    .contacts-block h2 {
        font-size: 1.7rem;
    }

    .contacts-hero h1 {
        font-size: 2.4rem;
    }

    .map-wrapper iframe {
        height: 350px;
    }
}
