* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #0a192f;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

.owners-photo {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    display: block;
}

.promo {
    text-align: center;
    padding: 10px 20px;
    background: linear-gradient(90deg, #00d4ff, #3b82f6);
    font-weight: 600;
    font-size: 15px;
}

.reviews {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    margin: 25px;
    text-align: center;
    animation: fadeUp 1.1s ease-out;
}

/* КНОПКА СМОТРЕТЬ ВСЕ */
.all-reviews-btn {
    margin-top: 30px;
    background: linear-gradient(90deg, #3b82f6, #00d4ff);
    color: #ffffff;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.all-reviews-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.5);
}

/* МОДАЛЬНОЕ ОКНО */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 200;
    overflow-y: auto;
    padding: 40px 20px;
}

.modal.active {
    display: block;
}

.modal-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.modal-content h2 {
    font-size: 34px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
}

.modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(145deg, #3b82f6, #00d4ff);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
    transition: 0.3s;
    z-index: 9999;
}

.modal-close:hover {
    transform: scale(1.1);
}

.modal-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.modal-grid img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    background: rgba(17, 34, 64, 0.5);
    display: block;
    transition: transform 0.3s;
}

.modal-grid img:hover {
    transform: scale(1.01);
}

.reviews h2 {
    font-size: 34px;
    color: #ffffff;
    margin-bottom: 30px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    width: 100%;
}

.review-card {
    background: rgba(17, 34, 64, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.3);
}

/* ФОТО НА ГЛАВНОЙ */
.review-img-1,
.review-img-2,
.review-img-3 {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background: rgba(17, 34, 64, 0.5);
    border-radius: 12px;
    display: block;
}

/* ФОН — фиксированный слой, работает на iPhone */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('statue.JPEG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.75);
    z-index: -1;
}

/* ШАПКА */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: rgba(17, 34, 64, 0.6);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s;
}

.logo-img:hover {
    transform: scale(1.05);
}

nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    transition: color 0.3s, transform 0.3s;
}

nav a:hover {
    color: #00d4ff;
    transform: translateY(-2px);
}

/* HERO */
.hero {
    margin: 25px;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(17, 34, 64, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: fadeUp 0.8s ease-out;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #00d4ff, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .line-1 {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin: 5px 0;
}

.hero .line-2 {
    font-size: 18px;
    color: #cbd5e1;
    margin: 0 0 20px 0;
}

.hero a {
    margin: 20px;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(90deg, #3b82f6, #00d4ff);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}

.hero a:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.5);
}

/* ЦИТАТА */
.quote {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    margin: 25px;
    text-align: center;
    animation: fadeUp 1.0s ease-out;
}

.quote p {
    font-size: 22px;
    font-style: italic;
    font-weight: 400;
    color: #cbd5e1;
    max-width: 700px;
    line-height: 1.6;
    letter-spacing: 0.3px;
    position: relative;
    padding-left: 25px;
    text-align: left;
}

/* РАЗДЕЛИТЕЛЬ */
.divider {
    width: 80%;
    max-width: 800px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.4), transparent);
    margin: 40px auto;
}

/* НАПРАВЛЕНИЯ */
.directions {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    margin: 25px;
    text-align: center;
    animation: fadeUp 1.1s ease-out;
}

.directions h2 {
    font-size: 34px;
    color: #ffffff;
    margin-bottom: 30px;
}

.direction-cards {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.direction-card {
    background: rgba(17, 34, 64, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 30px 40px;
    border-radius: 24px;
    text-align: center;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.direction-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.5);
}

.direction-card h3 {
    color: #00d4ff;
    font-size: 22px;
    margin: 0 0 8px 0;
}

.direction-card p {
    color: #cbd5e1;
    font-size: 14px;
    margin: 0;
}

/* СТАТИСТИКА */
.stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 40px 20px;
    margin: 25px;
    animation: fadeUp 1.2s ease-out;
}

.stat {
    background: rgba(17, 34, 64, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 30px 40px;
    border-radius: 24px;
    text-align: center;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.stat:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.5);
}

.stat h2 {
    font-size: 42px;
    color: #00d4ff;
    margin: 0 0 8px 0;
}

.stat p {
    font-size: 16px;
    color: #cbd5e1;
    margin: 0;
}

/* О НАС */
.about {
    margin: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    animation: fadeUp 1.3s ease-out;
}
.about-card {
    background: rgba(17, 34, 64, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 24px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-card p {
    max-width: 100%;
    margin: 0 auto;
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.3);
}

.owners-photo {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 16px;
    margin-bottom: 25px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.about h2 {
    font-size: 34px;
    color: #ffffff;
}

.about p {
    max-width: 700px;
    line-height: 1.6;
    color: #cbd5e1;
}

/* КОНТАКТ */
.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    margin: 25px;
    text-align: center;
    animation: fadeUp 1.5s ease-out;
}

.contact h2 {
    font-size: 34px;
    color: #ffffff;
    margin-bottom: 30px;
}

.big-btn {
    display: inline-block;
    background: linear-gradient(90deg, #3b82f6, #00d4ff);
    color: #ffffff;
    padding: 20px 50px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.big-btn:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.6);
}

.small-note {
    font-size: 14px;
    color: #cbd5e1;
    margin-top: 20px;
}

/* ПОДВАЛ */
footer {
    background-color: rgba(17, 34, 64, 0.7);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    color: #cbd5e1;
    font-size: 14px;
}

/* КНОПКА НАВЕРХ */
.to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(145deg, #3b82f6, #00d4ff);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
    transition: 0.3s;
    z-index: 100;
}

.to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.6);
}

/* АНИМАЦИЯ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* АДАПТИВНОСТЬ */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero,
    .quote,
    .directions,
    .stats,
    .about,
    .reviews,
    .contact {
        margin: 10px;
        padding: 20px 15px;
        text-align: center;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero .line-1 {
        font-size: 18px;
    }

    .hero .line-2 {
        font-size: 16px;
    }

    .quote p {
        font-size: 18px;
        padding-left: 20px;
    }

    .divider {
        width: 90%;
        margin: 20px auto;
    }

    .direction-cards {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .direction-card {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .stat {
        width: 100%;
        max-width: 300px;
    }

    .about p {
        max-width: 100%;
    }

    .review-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .review-card {
        margin: 0 auto;
        width: 100%;
    }

    .review-img-1,
    .review-img-2,
    .review-img-3 {
        height: 250px;
    }

    .modal-close {
        width: 40px;
        height: 40px;
        font-size: 22px;
        top: 10px;
        right: 10px;
    }

    .big-btn {
        font-size: 16px;
        padding: 15px 30px;
        width: 100%;
        max-width: 300px;
    }

    .to-top {
        width: 40px;
        height: 40px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }

    .owners-photo {
    max-width: 100%;
    margin-bottom: 15px;
}

 .about-card {
        padding: 25px 20px;
    }

}
