:root {
    --color-deep-ocean: #0f172a;
    --color-sea-blue: #1e293b;
    --color-sky-light: #f8fafc;
    --color-sky-accent: #0076ff;
    --color-white: #ffffff;
    --color-text: #334155;
    --color-text-muted: #64748b;
    --color-light-gray: #f1f5f9;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --header-h: 80px;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-md: 1.125rem;
    --text-lg: 1.25rem;

    --h4-size: 1.5rem;
    --h3-size: 1.75rem;
    --h2-size: 2.25rem;
    --h1-size: 3rem;
}

html {
    font-size: clamp(14px, 1.2vw + 10px, 18px);
}

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

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    background-color: var(--color-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.1;
    font-weight: 700;
    color: var(--color-deep-ocean);
}

h1 {
    font-size: var(--h1-size);
    letter-spacing: -0.02em;
}

h2 {
    font-size: var(--h2-size);
    letter-spacing: -0.01em;
}

h3 {
    font-size: var(--h3-size);
    letter-spacing: -0.01em;
}

h4 {
    font-size: var(--h4-size);
}

p {
    color: var(--color-text);
    line-height: 1.6;
}

.container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: clamp(5rem, 8vw, 8rem) 0;
}

.bg-light {
    position: relative;
}

.bg-light::before {
    content: '';
    position: absolute;
    opacity: 0.15;
    inset: 0;
    background-color: var(--color-sky-light);
    background-image: url(../images/back-2.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-light .container {
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: var(--h2-size);
    color: var(--color-deep-ocean);
    margin-bottom: 3rem;
}

section:not(.bg-light),
section:not(.bg-light) .section-title {
    color: var(--color-deep-ocean);
}


.hero h1,
.hero h2,
.hero p,
.hero .section-title,
.footer h2,
.footer p,
.footer .section-title,
.process h2,
.process p,
.process h4,
.process .section-title {
    color: var(--color-white);
}

.center-colorGray {
    text-align: center;
    color: var(--color-text-muted);
}


.header {
    display: grid;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: height 0.3s ease-in-out;
    height: var(--header-h);

    background-image: url(../images/hero-f.webp);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.header:not(.header-scroll)::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.7) 100%);
    background-attachment: fixed;
    z-index: -1;
}

.header .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    justify-content: space-between;
    justify-items: end;
    width: 100%;
}

.header .container a {
    color: #fff;
}

.header .logo a {
    color: var(--color-sky-accent);
}

.header-scroll {
    background-image: none;
    background-color: var(--color-deep-ocean);
}


.logo {
    font-family: var(--font-heading);
    font-size: var(--h3-size);
    font-weight: 800;
    color: var(--color-deep-ocean);
    text-transform: uppercase;
    letter-spacing: 0.125rem;
}

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

.burger {
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-list li a {
    text-decoration: none;
    font-weight: 500;
    font-size: var(--text-base);
    transition: var(--transition);
}

.nav-list li a:hover {
    color: var(--color-sky-accent);
}

.hero {
    position: relative;
    background-image: url('../images/hero-f.webp');
    background-size: cover;
    background-position: center calc(0px - var(--header-h));
    background-repeat: no-repeat;
    color: var(--color-white);
    padding: 0;
    text-align: center;
    min-height: calc(100svh - var(--header-h));
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.7) 100%);
    background-attachment: fixed;
    z-index: 0;
}

.hero h1 {
    color: var(--color-white);
    margin-bottom: 1.25rem;
}

.hero h2 {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero p {
    max-width: 45rem;
    margin: 0 auto 1.5rem;
    font-size: var(--text-md);
    color: rgba(255, 255, 255, 0.8);
}

.hero p strong {
    color: var(--color-white);
}

.hero .tagline {
    font-size: var(--text-lg);
    font-weight: 500;
    color: #38bdf8;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}


.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-primary,
.btn-accent {
    background: linear-gradient(135deg, #0076ff 0%, #0056b3 100%);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(0, 118, 255, 0.3);
}

.btn-primary:hover,
.btn-accent:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 118, 255, 0.4);
    color: var(--color-white);
}


main {
    position: relative;
    background: var(--color-white);
}


.problems-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 50rem;
    margin: 0 auto 2rem;
}

.problem-item {
    background: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: var(--text-md);
    color: var(--color-text);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(226, 232, 240, 0.6);
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--color-sky-accent);
    margin-top: 2rem;
}


.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.expertise-card {
    display: grid;
    align-items: center;
    background: var(--color-light-gray);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    font-weight: 600;
    color: var(--color-deep-ocean);

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23fefefe;%7D%0A%3C/style%3E%3Cg%3E%3Cpath class='st0' d='M469.402,35.492C334.09,110.664,197.114,324.5,197.114,324.5L73.509,184.176L0,254.336l178.732,222.172 l65.15-2.504C327.414,223.414,512,55.539,512,55.539L469.402,35.492z'/%3E%3C/g%3E%3C/svg%3E");
    background-position: left 1rem center;
    background-repeat: no-repeat;
}



.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2rem;
}

.service-block {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-top: 0.25rem solid var(--color-sky-accent);
    transition: var(--transition);
}

.service-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.1);
}

.service-block h3 {
    font-size: var(--h4-size);
    color: var(--color-deep-ocean);
    margin-bottom: 1.25rem;
}

.service-block ul {
    list-style: none;
}

.service-block li {
    margin-bottom: 0.5rem;
    color: var(--color-text-muted);
}

.service-block li::before {
    content: "•";
    color: var(--color-sky-accent);
    margin-right: 0.75rem;
    font-weight: bold;
}

.transport-icons {
    display: flex;
    gap: 1rem;
    font-size: var(--text-lg);
    margin-top: 1rem;
}


ul.benefits-list {
    list-style: none;
    max-width: 40rem;
    margin: 0 auto;
}

ul.benefits-list li {
    font-size: var(--text-md);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--color-light-gray);
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
}


.process {
    background-color: var(--color-deep-ocean);
    color: var(--color-white);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    position: relative;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--color-deep-ocean);
    color: var(--color-white);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--h4-size);
    margin-bottom: 1.5rem;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
    border: 2px solid var(--color-sky-accent);
}

.step h4 {
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
}


.cta {
    text-align: center;
}

.cta h2 {
    margin-bottom: 1rem;
}

.cta p {
    margin-bottom: 2rem;
    font-size: var(--text-md);
    color: var(--color-text-muted);
}


.footer {
    position: relative;
    background: var(--color-deep-ocean);
    color: var(--color-white);
    padding: 5rem 0 3rem;
    overflow: hidden;
    min-height: calc(100svh - var(--header-h));
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    justify-content: center;
    gap: 4rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid .contact-info {
    display: grid;
    gap: 0.6rem;
}

.contact-info p {
    font-size: var(--text-lg);
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--color-sky-accent);
}


svg.waves-footer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: block;
    z-index: 0;
    opacity: 0.5;
}


@media (max-width: 48rem) {
    :root {
        --header-h: 60px;
    }

    .header,
    .hero {
        background-size: auto;
    }


    .burger {
        display: block;
        width: 2rem;
        height: 1.25rem;
        position: relative;
        cursor: pointer;
        z-index: 1001;
    }

    .burger span,
    .burger::before,
    .burger::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 0.15rem;
        background-color: var(--color-white);
        transition: var(--transition);
        left: 0;
        border-radius: 0.125rem;
    }

    .burger span {
        top: 50%;
        transform: translateY(-50%);
    }

    .burger::before {
        top: 0;
    }

    .burger::after {
        top: 100%;
        transform: translateY(-100%);
    }

    .burger.active span {
        opacity: 0;
        transform: scale(0) translateY(-50%);
    }

    .burger.active::before {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .burger.active::after {
        top: 50%;
        transform: translateY(-50%) rotate(-45deg);
    }


    .nav-list {
        position: fixed;
        top: var(--header-h);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-h));
        background-color: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav-list.active {
        transform: translateX(0);
    }

    .nav-list li {
        width: 100%;
        text-align: center;
    }

    .nav-list li a {
        margin: 0;
        font-size: var(--h3-size);
        color: var(--color-white);
        display: block;
        padding: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }


    .contact-info p {
        display: grid;
        justify-items: center;
    }
}