/* ========================================
   SPRING BARNAUL
   Main stylesheet
======================================== */


/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #f7f7f7;
    color: #171717;

    line-height: 1.6;
}


a {
    color: inherit;
    text-decoration: none;
}


img {
    max-width: 100%;
    display: block;
}


/* CONTAINER */

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}


/* HEADER */

.header {
    position: sticky;
    top: 0;

    z-index: 1000;

    background: rgba(15, 15, 15, 0.96);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


.header-inner {
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 20px;
    font-weight: 800;

    letter-spacing: 3px;

    color: white;
}


.logo-icon {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: white;
    color: #111;

    font-weight: 900;
}


.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}


.nav a {
    color: #cfcfcf;

    font-size: 14px;

    transition: 0.2s;
}


.nav a:hover {
    color: white;
}


.menu-button {
    display: none;

    border: 0;
    background: transparent;

    color: white;

    font-size: 28px;

    cursor: pointer;
}


/* HERO */

.hero {
    min-height: 650px;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 80% 30%,
            #343434 0,
            #181818 35%,
            #090909 75%
        );

    color: white;
}


.hero-content {
    display: grid;

    grid-template-columns:
        1.4fr
        0.6fr;

    gap: 80px;

    align-items: center;
}


.badge {
    display: inline-block;

    padding: 7px 14px;

    margin-bottom: 20px;

    border: 1px solid #555;
    border-radius: 100px;

    color: #cfcfcf;

    font-size: 12px;

    letter-spacing: 2px;
}


.hero h1 {
    font-size: clamp(70px, 12vw, 150px);

    line-height: 0.85;

    letter-spacing: -8px;

    margin-bottom: 25px;
}


.hero h2 {
    font-size: clamp(25px, 4vw, 42px);

    line-height: 1.1;

    margin-bottom: 20px;
}


.hero-text > p {
    max-width: 600px;

    color: #bdbdbd;

    font-size: 18px;
}


.hero-buttons {
    display: flex;

    gap: 14px;

    margin-top: 35px;
}


/* BUTTONS */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 24px;

    border-radius: 8px;

    font-weight: 700;

    font-size: 14px;

    transition:
        transform 0.2s,
        background 0.2s,
        color 0.2s;
}


.button:hover {
    transform: translateY(-2px);
}


.button-primary {
    background: white;

    color: #111;
}


.button-primary:hover {
    background: #e8e8e8;
}


.button-secondary {
    border: 1px solid #555;

    color: white;
}


.button-secondary:hover {
    background: white;
    color: #111;
}


/* HERO CARD */

.hero-card {
    padding: 45px 30px;

    border: 1px solid #3b3b3b;

    border-radius: 20px;

    background: rgba(255, 255, 255, 0.04);

    text-align: center;
}


.hero-card-icon {
    width: 100px;
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 25px;

    border-radius: 28px;

    background: white;
    color: #111;

    font-size: 55px;
    font-weight: 900;
}


.hero-card h3 {
    font-size: 30px;

    letter-spacing: 5px;
}


.hero-card p {
    margin-top: 8px;

    color: #aaa;
}


.status {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 30px;

    color: #aaa;

    font-size: 12px;
}


.status-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #7ed957;
}


/* SECTIONS */

.section {
    padding: 110px 0;
}


.section-dark {
    background: #111;
    color: white;
}


.section-heading {
    margin-bottom: 55px;
}


.section-heading span {
    display: block;

    margin-bottom: 10px;

    color: #777;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 3px;
}


.section-heading h2 {
    font-size: clamp(35px, 5vw, 55px);

    line-height: 1.1;
}


.section-heading.light span {
    color: #777;
}


/* ABOUT */

.about-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 80px;
}


.about-text h3 {
    margin-bottom: 20px;

    font-size: 30px;
}


.about-text p {
    margin-bottom: 20px;

    color: #666;

    font-size: 17px;
}


.age-warning {
    padding: 18px;

    border-left: 3px solid #111;

    background: #eeeeee;

    font-size: 14px !important;

    color: #444 !important;
}


.about-features {
    display: flex;

    flex-direction: column;

    gap: 20px;
}


.feature {
    display: flex;

    gap: 20px;

    padding: 25px;

    border-radius: 14px;

    background: white;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.05);
}


.feature-icon {
    font-size: 28px;
}


.feature h4 {
    margin-bottom: 4px;

    font-size: 18px;
}


.feature p {
    color: #777;

    font-size: 14px;
}


/* SERVICES */

.cards {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}


.card {
    min-height: 250px;

    padding: 30px;

    border: 1px solid #292929;

    border-radius: 15px;

    background: #181818;

    transition:
        transform 0.2s,
        border-color 0.2s;
}


.card:hover {
    transform: translateY(-5px);

    border-color: #666;
}


.card-icon {
    font-size: 35px;

    margin-bottom: 30px;
}


.card h3 {
    margin-bottom: 12px;

    font-size: 21px;
}


.card p {
    color: #929292;

    font-size: 14px;
}


/* GALLERY */

.gallery {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}


.gallery-item {
    aspect-ratio: 4 / 3;

    overflow: hidden;

    border-radius: 16px;
}


.gallery-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #222,
            #555
        );

    color: white;

    text-align: center;
}


.gallery-placeholder span {
    font-size: 35px;

    font-weight: 900;

    letter-spacing: 5px;
}


.gallery-placeholder small {
    margin-top: 10px;

    color: #ccc;
}


.gallery-note {
    margin-top: 20px;

    color: #777;

    text-align: center;

    font-size: 14px;
}


/* CONTACTS */

.contacts-section {
    background: #eeeeee;
}


.contacts-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}


.contact-card {
    display: flex;

    gap: 18px;

    padding: 30px;

    border-radius: 15px;

    background: white;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.04);
}


.contact-icon {
    font-size: 28px;
}


.contact-card h3 {
    margin-bottom: 8px;
}


.contact-card p {
    color: #666;
}


.contact-card a {
    font-weight: 700;

    text-decoration: underline;
}


.contact-card small {
    display: block;

    margin-top: 8px;

    color: #999;
}


.placeholder {
    color: #999;
}


/* MAP */

.map-block {
    min-height: 330px;

    margin-top: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #d4d4d4,
            #b8b8b8
        );

    text-align: center;
}


.map-content {
    max-width: 500px;

    padding: 30px;
}


.map-icon {
    font-size: 50px;

    margin-bottom: 10px;
}


.map-content h3 {
    font-size: 30px;

    margin-bottom: 10px;
}


.map-content p {
    margin-bottom: 25px;

    color: #666;
}


/* FOOTER */

.footer {
    padding: 45px 0;

    background: #090909;

    color: white;
}


.footer-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;
}


.footer-logo {
    font-size: 25px;

    font-weight: 900;

    letter-spacing: 4px;
}


.footer p {
    color: #777;

    font-size: 13px;
}


.footer-right {
    display: flex;

    align-items: center;

    gap: 25px;
}


.footer-age {
    padding: 5px 9px;

    border: 1px solid #444;

    border-radius: 5px;

    color: #aaa !important;

    font-weight: 700;
}


/* COOKIE / AGE NOTICE */

.cookie {
    position: fixed;

    left: 20px;
    right: 20px;
    bottom: 20px;

    z-index: 2000;

    max-width: 650px;

    margin: auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 18px 22px;

    border: 1px solid #333;

    border-radius: 12px;

    background: #151515;

    color: white;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35);
}


.cookie strong {
    font-size: 20px;
}


.cookie p {
    margin-top: 3px;

    color: #aaa;

    font-size: 12px;
}


.cookie button {
    flex-shrink: 0;

    padding: 10px 18px;

    border: 0;
    border-radius: 7px;

    background: white;

    color: #111;

    font-weight: 700;

    cursor: pointer;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .hero-content {
        grid-template-columns: 1fr;

        gap: 50px;

        padding-top: 80px;
        padding-bottom: 80px;
    }


    .hero-card {
        max-width: 400px;
    }


    .cards {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .about-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .contacts-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 700px) {

    .container {
        width: min(100% - 30px, 1120px);
    }


    .header-inner {
        height: 65px;
    }


    .nav {
        position: absolute;

        left: 0;
        right: 0;
        top: 65px;

        display: none;

        flex-direction: column;

        gap: 0;

        padding: 10px 20px 20px;

        background: #111;
    }


    .nav.active {
        display: flex;
    }


    .nav a {
        padding: 15px 0;

        border-bottom: 1px solid #252525;
    }


    .menu-button {
        display: block;
    }


    .hero {
        min-height: auto;
    }


    .hero h1 {
        font-size: 80px;

        letter-spacing: -5px;
    }


    .hero-buttons {
        flex-direction: column;
    }


    .button {
        width: 100%;
    }


    .section {
        padding: 75px 0;
    }


    .cards {
        grid-template-columns: 1fr;
    }


    .gallery {
        grid-template-columns: 1fr;
    }


    .gallery-item {
        aspect-ratio: 16 / 10;
    }


    .footer-inner {
        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }


    .footer-right {
        width: 100%;

        justify-content: space-between;
    }


    .cookie {
        flex-direction: column;

        align-items: stretch;

        gap: 12px;
    }


    .cookie button {
        width: 100%;
    }

}
