
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* GLOBAL */

:root {
    --bg: #07101b;
    --gold: #d7b775;
    --gold-light: #f4dfb2;
    --text: #f6f1e7;
    --muted: #b8c0ca;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
}

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

    a:hover {
        color: var(--gold-light);
    }

/* HEADER */

.site-header {
    height: 100px;
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 0 clamp(20px, 4.5vw, 82px);
    border-bottom: 1px solid #d8b77840;
    background: #060e1899;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

    .brand img {
        display: block;
        width: clamp(225px, 26vw, 390px);
        height: auto;
    }

.site-header nav {
    display: flex;
    gap: clamp(14px, 2vw, 34px);
    align-items: center;
}

    .site-header nav a {
        font-size: 13px;
        white-space: nowrap;
    }

.header-contact {
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 15px 19px;
    font-size: 13px;
    white-space: nowrap;
}

/* HERO */

.hero {
    min-height: 850px;
    height: min(920px, 100vh);
    position: relative;
    overflow: hidden;
    background: radial-gradient( ellipse at 60% 60%, #15243a, #07101b 70% );
}

.hero-image {
    position: absolute;
    inset: 0;
    background-image: url('/images/hero-earth.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, #06101bec 0%, #06101bcd 30%, #06101b35 60%, #06101b00 100% );
}

.hero-watermark {
    display: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1500px;
    margin: 0 auto;
    padding: clamp(220px, 20vh, 265px) 5.3vw 0;
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
    color: #e8d4a9;
    font-weight: 500;
}

    .eyebrow span {
        padding: 0 12px;
        color: var(--gold);
    }

h1, h2, h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

h1 {
    font-size: clamp(62px, 6.2vw, 112px);
    font-weight: 600;
    letter-spacing: -1.5px;
    line-height: .91;
    margin: 39px 0 24px;
    max-width: 810px;
    text-shadow: 0 2px 20px #0008;
}

    h1 em,
    h2 em {
        font-weight: 500;
        font-style: normal;
        color: var(--gold-light);
    }

.hero-inner p {
    max-width: 590px;
    font-size: 17px;
    line-height: 1.9;
    color: #dce1e6;
    margin: 0 0 35px;
}

.hero-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 55px;
    border-radius: 8px;
    padding: 0 28px;
    font-weight: 600;
    font-size: 14px;
    transition: transform .2s, background .2s;
}

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

.btn-primary {
    background: linear-gradient(145deg, #ffe5a6, #c69a3e);
    color: #131008;
    box-shadow: 0 8px 35px #c89d4140;
}

    .btn-primary:hover {
        color: #131008;
    }

.btn-outline {
    border: 1px solid var(--gold);
    background: #070e18a8;
}

/* HERO FEATURES */

.hero-bottom {
    position: absolute;
    bottom: 0;
    z-index: 2;
    width: 100%;
    padding: 25px clamp(20px, 5vw, 90px);
    border-top: 1px solid #d9c18d3a;
    background: #07101ac7;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

    .hero-bottom > div {
        display: flex;
        gap: 18px;
        align-items: center;
        border-right: 1px solid #c3a16d5c;
        font-size: 15px;
        line-height: 1.5;
    }

        .hero-bottom > div:last-child {
            border: 0;
        }

    .hero-bottom small {
        color: #cbd1d7;
        font-size: 14px;
    }

.feature-icon {
    border: 1px solid var(--gold);
    border-radius: 50%;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: var(--gold);
    font-size: 28px;
}

/* SECTIONS */

.section {
    padding: 110px clamp(22px, 7vw, 120px);
    max-width: 1600px;
    margin: auto;
}

.section-label {
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 20px;
}

.section h2 {
    font-size: clamp(44px, 4.4vw, 72px);
    line-height: 1.08;
    font-weight: 500;
    margin: 0 0 25px;
}

.section > p {
    max-width: 800px;
    line-height: 1.9;
    color: var(--muted);
    font-size: 17px;
}

.about {
    border-bottom: 1px solid #bba47730;
}

/* SERVICES */

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 55px;
}

.service {
    padding: 38px 32px;
    background: linear-gradient(145deg, #132033, #09131e);
    border: 1px solid #caa96b43;
    border-radius: 8px;
    min-height: 310px;
}

.service-number {
    color: var(--gold);
    font-size: 13px;
    letter-spacing: 2px;
}

.service h3 {
    font-size: 33px;
    font-weight: 500;
    margin: 25px 0 15px;
}

.service p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 14px;
}

.service a {
    color: var(--gold-light);
    font-size: 13px;
    display: inline-block;
    margin-top: 18px;
}

/* ADVANTAGES */

.advantages {
    border-top: 1px solid #bba47730;
}

.values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 45px;
}

    .values div {
        border-top: 1px solid #caa96b80;
        padding: 24px 0;
        font-size: 17px;
    }

    .values strong {
        color: var(--gold);
        margin-right: 15px;
    }

/* CONTACT */

.contact {
    background: radial-gradient( ellipse at center, #1b2a3a, #07101b 70% );
    max-width: none;
    text-align: center;
}

    .contact p {
        margin: 0 auto 30px;
    }

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 45px;
    color: var(--gold-light);
    font-size: 14px;
}

/* FOOTER */

footer {
    padding: 28px 6vw;
    border-top: 1px solid #bba47730;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    color: #9ba7b2;
    font-size: 12px;
}

/* TABLET */

@media (max-width: 1150px) {
    .site-header nav {
        display: none;
    }

    .hero {
        height: 860px;
    }

    .hero-image {
        background-position: 58% center;
    }

    .hero-shade {
        background: linear-gradient( 90deg, #06101bf5, #06101b80 75% );
    }

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

        .hero-bottom > div:nth-child(2) {
            border: 0;
        }
}

/* MOBILE — RIGHT SIDE OF BACKGROUND */

@media (max-width: 680px) {
    .site-header {
        height: 80px;
        padding: 0 16px;
    }

    .brand img {
        width: 210px;
    }

    .header-contact {
        font-size: 11px;
        padding: 11px 9px;
    }

    .hero {
        height: auto;
        min-height: 820px;
    }

        /*
       Показываем правую часть hero-earth.png.
       Не изменяем пропорции изображения.
    */
        .hero .hero-image {
            background-position: 100% center;
            background-size: cover;
        }

    .hero-shade {
        background: linear-gradient( 90deg, #06101bf2, #06101ba8 ), linear-gradient( 0deg, #06101b99, transparent );
    }

    .hero-inner {
        padding: 180px 22px 250px;
    }

    .eyebrow {
        font-size: 9px;
        letter-spacing: 1.5px;
        line-height: 2;
    }

        .eyebrow span {
            padding: 0 4px;
        }

    h1 {
        font-size: clamp(54px, 12vw, 76px);
        margin: 30px 0;
    }

    .hero-inner p {
        font-size: 15px;
        line-height: 1.8;
    }

    .hero-actions {
        gap: 12px;
    }

    .btn {
        padding: 0 17px;
        font-size: 12px;
    }

    .hero-bottom {
        grid-template-columns: repeat(2, 1fr);
        padding: 18px;
        gap: 15px;
    }

        .hero-bottom > div {
            font-size: 11px;
            gap: 8px;
        }

        .hero-bottom small {
            font-size: 10px;
        }

    .feature-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .section {
        padding: 75px 22px;
    }

    .service-grid,
    .values {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 18px;
    }

    footer {
        flex-direction: column;
    }
}

/* SCROLL REVEAL */

.reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .js-animations .reveal {
        opacity: 0;
        transform: translateY(35px);
        filter: blur(4px);
        transition: opacity .85s ease, transform .85s cubic-bezier(.2,.7,.2,1), filter .85s ease;
    }

        .js-animations .reveal.visible {
            opacity: 1;
            transform: translateY(0);
            filter: blur(0);
        }

        .js-animations .reveal.delay-1 {
            transition-delay: .12s;
        }

        .js-animations .reveal.delay-2 {
            transition-delay: .24s;
        }

        .js-animations .reveal.delay-3 {
            transition-delay: .36s;
        }
}

/* SERVICE ICONS */

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border: 1px solid rgba(211,183,122,.25);
    border-radius: 12px;
    background: rgba(211,183,122,.05);
    color: #d3b77a;
    font-size: 25px;
}

.service {
    transition: border-color .35s ease, box-shadow .35s ease;
}

    .service:hover {
        border-color: rgba(211,183,122,.45);
        box-shadow: 0 12px 35px rgba(0,0,0,.15);
    }

        .service:hover .service-icon {
            background: rgba(211,183,122,.12);
        }

/* BUTTON ICONS */

.btn i {
    margin-left: 8px;
    font-size: 15px;
}

.service a i {
    margin-left: 6px;
    transition: transform .3s ease;
}

.service a:hover i {
    display: inline-block;
    transform: translate(3px,-3px);
}

/* CONTACT ICONS */

.contact-info i {
    color: #d3b77a;
    margin-right: 9px;
}

/* VALUES ICONS */

.values i {
    color: #d3b77a;
    margin: 0 12px;
    font-size: 19px;
}

/* HERO INTRO ANIMATIONS */

@media (prefers-reduced-motion: no-preference) {
    .hero .hero-image {
        animation: heroBackgroundReveal 2.2s ease-out both;
        transform-origin: center center;
    }

    .hero .hero-watermark {
        animation: heroWatermarkReveal 2s ease-out both;
    }

    .hero .hero-animate {
        animation: heroContentReveal .95s cubic-bezier(.22,1,.36,1) both;
    }

    .hero .hero-delay-1 {
        animation-delay: .2s;
    }

    .hero .hero-delay-2 {
        animation-delay: .45s;
    }

    .hero .hero-delay-3 {
        animation-delay: .75s;
    }

    .hero .hero-delay-4 {
        animation-delay: 1.05s;
    }

    .hero .hero-delay-5 {
        animation-delay: 1.35s;
    }

    @keyframes heroBackgroundReveal {
        from {
            opacity: 0;
            transform: scale(1.08);
        }

        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    @keyframes heroWatermarkReveal {
        from {
            opacity: 0;
            transform: translateY(15px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes heroContentReveal {
        from {
            opacity: 0;
            transform: translateY(32px);
            filter: blur(5px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
            filter: blur(0);
        }
    }
}
