*{margin:0;padding:0;box-sizing:border-box;}
body{font-family:'Playfair Display',serif;color:#333;}

.container{width:90%;max-width:1100px;margin:auto;}

/* HEADER */
.header{padding:15px 0;border-bottom:1px solid #eee;}
.nav{display:flex;justify-content:space-between;align-items:center;}

.logo {
    font-size: 30px;
    letter-spacing: 1.5px;
    color: #222;
}

.logo::first-letter {
    color: #e75480;
}

.logo::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: #e75480;
    margin-top: 5px;
}

nav a{margin-left:20px;text-decoration:none;color:#333;}

/* HERO */
.hero{
    background:url('https://baitinterior.com/wp-content/uploads/2020/02/bait_INTERIOR_com_office_08-1.jpg') center/cover;
    height:85vh;
}

.overlay{
    background:rgba(255,240,245,0.6);
    height:100%;
    display:flex;
    align-items:center;
}

.hero-box {
    background: rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    margin: auto;
    text-align:center;
}

.hero h2{margin-bottom:15px;}
.hero p{margin-bottom:20px;}

.btn{
    background:#e75480;
    color:white;
    padding:12px 25px;
    border-radius:25px;
    text-decoration:none;
}

/* SECTION */
.section{padding:90px 0;}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
}

.section-title::after {
    content: "";
    width: 60px;
    height: 2px;
    background: #e75480;
    display: block;
    margin: 10px auto 0;
}

.pink{background:#fff5f8;}

/* ABOUT */
.about{display:flex;gap:80px;align-items:flex-start;}
.about img{width:100%;border-radius:10px;}

/* ADVANTAGES */
.advantages {
    background: #fdf8f7;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.adv-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    transition: 0.3s;
}

.adv-card:hover {
    transform: translateY(-5px);
}

/* PRICE */
.price-list {background:#fff;}

.price-box {
    max-width: 600px;
    margin: 40px auto;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.price-box h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.price-row {
    display:flex;
    justify-content:space-between;
    padding:10px 0;
    border-bottom:1px dotted rgba(0,0,0,0.1);
}

.price-row span:last-child {
    font-weight:600;
    color:#e75480;
}

.price-note {
    font-size:13px;
    color:#777;
    margin:10px 0;
}

/* ГАЛЕРЕЯ (СТАРАЯ, КАК БЫЛО) */
.gallery-section {
    background: #fff;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 15px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* CONTACT */
.contact-box {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    background:#fff5f8;
    padding:40px;
    border-radius:20px;
}

.contact-form input,
.contact-form textarea {
    padding:12px;
    border-radius:10px;
    border:none;
}

.contact-form button {
    background:#e75480;
    color:white;
    padding:12px;
    border-radius:25px;
}

/* FOOTER */
.footer{
    text-align:center;
    padding:20px;
    background:#111;
    color:white;
}

/* АНИМАЦИЯ */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* MOBILE */
@media (max-width:900px){
    .advantages-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .about {
        flex-direction: column;
    }
}

@media (max-width:600px){
    .gallery-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width:500px){
    .advantages-grid {
        grid-template-columns:1fr;
    }
}
/* CONTACT BLOCK FIX */

.contact-premium {
    background: #fff;
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #fff5f8;
    padding: 40px;
    border-radius: 20px;
}

.contact-left h2 {
    margin-bottom: 20px;
}

.contact-left p {
    margin-bottom: 10px;
}

/* SOCIAL ICONS */
.social-icons {
    margin-top: 20px;
}

.social-icons a {
    display: inline-block;
    margin-right: 15px;
    font-size: 20px;
    color: #e75480;
    transition: 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2);
}

/* RIGHT SIDE */
.contact-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 10px;
    border: none;
}

.contact-form button {
    padding: 12px;
    border: none;
    background: #e75480;
    color: white;
    border-radius: 25px;
    cursor: pointer;
}

/* MAP */
.contact-right iframe {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    border: none;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #ccc;
    margin: 0 10px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: white;
}

@media (max-width: 768px) {
    .contact-box {
        grid-template-columns: 1fr;
        padding: 25px 20px;
        gap: 25px;
    }

    .contact-left,
    .contact-right {
        width: 100%;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form button {
        width: 100%;
    }

    .contact-right iframe {
        width: 100%;
        height: 220px;
    }
}
.header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 1000;
}
nav a {
    margin-left: 15px;
    text-decoration: none;
    color: #333;
}

nav a:hover {
    color: #e75480;
}
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 10px;
    }

    nav a {
        margin: 0 8px;
    }
}    

@media (max-width: 480px) {

    /* МЕНЮ */
    .nav {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    nav a {
        margin: 0;
        font-size: 14px;
    }

    /* HERO */
    .hero-box {
        padding: 20px;
    }

    /* ОБЩЕЕ */
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 22px;
    }

    /* КОНТАКТЫ */
    .contact-box {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    /* чтобы ничего не вылазило */
    body {
        overflow-x: hidden;
    }
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #f0d6df;
    background: #fff;
    font-family: inherit;
}

.contact-form textarea {
    min-height: 110px;
}

.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
}
