body{
margin:0;
font-family:'Poppins',sans-serif;
background:#fff;
color:#000;
overflow-x:hidden;
}
/* ===========================
   MOBILE HEADER (всегда закреплен сверху)
   =========================== */

.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    z-index: 50;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.mobile-burger {
    cursor: pointer;
    font-size: 1.6em;
    color: #000;
    transition: transform 0.4s ease, color 0.3s ease;
}

.mobile-burger.active {
    transform: rotate(90deg);
    color: #555;
}

.mobile-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
}
/* BURGER */

header{
position:fixed;
top:20px;
right:100px;
z-index:40;
}

.burger-menu{
cursor:pointer;
font-size:2.2em;
transition:.4s;
color:#000;
}

.burger-menu.active{
transform:rotate(90deg);
color:#555;
}


/* MENU */

.nav-menu{
position:fixed;
top:-100vh;
left:0;
width:100%;
height:100vh;
background:#000;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
gap:22px;
transition:top .6s cubic-bezier(.7,0,.3,1);
z-index:100;
opacity:0;
visibility:hidden;
}

.nav-menu.active{
top:0;
opacity:1;
visibility:visible;
}

.nav-menu a{
color:#fff;
font-size:2.8em;
text-decoration:none;
transition:.3s;
}

.nav-menu a:hover{
transform:scale(1.08);
}


/* SOCIAL */

.social-sidebar{
position:fixed;
bottom:30px;
left:30px;
display:flex;
flex-direction:column;
gap:20px;
}

.social-sidebar a{
color:#000;
font-size:1.6em;
transition:.3s;
}

.social-sidebar a:hover{
transform:scale(1.25);
}


/* MAIN */

.contacts-main{
max-width:1000px;
margin:auto;
margin-top:100px;
display:flex;
flex-direction:column;
gap:40px;
}


/* HEADER */

.contacts-header{
text-align:center;
}

.contacts-header h1{
font-size:2.8rem;
margin-bottom:5px;
}

.contacts-header p{
color:#555;
}


/* GRID */

.contacts-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
}


/* CARD */

.contact-card{
border:1px solid #eee;
padding:25px;
text-align:center;
text-decoration:none;
color:#000;
transition:.35s;
display:flex;
flex-direction:column;
gap:10px;
align-items:center;
justify-content:center;
}

.contact-card i{
font-size:1.7rem;
}

.contact-card:hover{
transform:translateY(-6px);
border-color:#000;
}


/* INDICATOR */

.vertical-indicator{
position:fixed;
right:-15px;
top:50%;
transform:translateY(-50%) rotate(90deg);
display:flex;
align-items:center;
gap:8px;
font-size:1.15rem;
font-weight:700;
letter-spacing:2px;
}

.vertical-indicator hr.short{
width:20px;
height:1px;
background:#222;
border:none;
}

.vertical-indicator hr.long{
width:40px;
height:1px;
background:#222;
border:none;
}


/* FOOTER */

footer{
text-align:center;
padding:30px 0;
font-size:.85rem;
color:#555;
}

.max-icon{
width:24px;
height:24px;
object-fit:contain;
filter: grayscale(100%);
transition: .3s;
}

.social-sidebar a:hover .max-icon{
filter: grayscale(0%);
transform: scale(1.2);
}

/* ===========================
   TABLET RESPONSIVE (768px and below)
   =========================== */

@media (max-width: 768px) {
    /* Показываем мобильную панель */
    .mobile-header {
        display: flex;
    }

    /* Скрываем социальную панель на мобильных */
    .social-sidebar {
        display: none;
    }

    header {
        right: 20px;
        top: 15px;
    }

    .burger-menu {
        font-size: 1.8em;
    }

    .nav-menu a {
        font-size: 2.2em;
    }

    .contacts-main {
        max-width: 100%;
        margin-top: 80px;
        padding: 0 20px 40px;
    }

    .contacts-header h1 {
        display: none;
    }

    .contacts-header p {
        font-size: 0.9rem;
    }

    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .contact-card {
        padding: 20px;
    }

    .contact-card i {
        font-size: 1.5rem;
    }

    .vertical-indicator {
        display: none;
    }

    footer {
        position: relative;
        padding: 20px;
    }
}

/* SMALL MOBILE (480px and below) */
@media (max-width: 480px) {
    .mobile-header {
        padding: 0 15px;
        height: 55px;
    }

    .mobile-burger {
        font-size: 1.4em;
    }

    .mobile-title {
        font-size: 1rem;
    }

    header {
        right: 15px;
        top: 12px;
    }

    .burger-menu {
        font-size: 1.5em;
    }

    .nav-menu a {
        font-size: 1.8em;
    }

    .contacts-main {
        margin-top: 70px;
        padding: 0 15px 30px;
        gap: 25px;
    }

    .contacts-header h1 {
        display: none;
    }

    .contacts-header p {
        font-size: 0.85rem;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-card {
        padding: 18px;
        gap: 8px;
    }

    .contact-card i {
        font-size: 1.3rem;
    }

    .contact-card h3 {
        font-size: 0.95rem;
    }

    .contact-card p {
        font-size: 0.85rem;
    }

    footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 10px 10px 5px;
        font-size: 0.65rem;
        background: #ffffff;
        z-index: 10;
        text-align: center;
    }

    .max-icon {
        width: 18px;
        height: 18px;
    }
}
