@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --blue: #1769ff;
    --blue-dark: #071b3a;
    --blue-deep: #041126;
    --ice: #eaf5ff;
    --text: #15233b;
    --muted: #718096;
    --white: #ffffff;
    --border: #e6edf5;
    --green: #24c77a;
    --radius: 24px;
    --shadow: 0 20px 60px rgba(15, 42, 77, .10);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', Arial, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}


/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
}

.logo-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--blue);
    color: #fff;
    font-size: 22px;
}

.logo strong {
    display: block;
    font-size: 16px;
    letter-spacing: 1px;
}

.logo small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .08em;
}

.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    font-size: 16px;
    font-weight: 600;
    color: #52627a;
    transition: .2s;
}

.nav a:hover {
    color: var(--blue);
}

.header-phone {
    text-align: right;
}

.header-phone span {
    display: block;
    font-size: 10px;
    color: var(--muted);
}

.header-phone a {
    font-weight: 800;
    font-size: 20px;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    font-size: 25px;
    cursor: pointer;
}


/* HERO */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 20%, rgba(38,119,255,.20), transparent 30%),
        linear-gradient(135deg, #06152f, #0a2751 60%, #123b70);
    color: #fff;
    padding: 105px 0 100px;
}

.hero:after {
    content: "";
    position: absolute;
    left: -5%;
    right: -5%;
    bottom: -70px;
    height: 140px;
    background: #fff;
    border-radius: 50% 50% 0 0;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 80px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    border-radius: 50px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
    font-size: 12px;
    margin-bottom: 25px;
}

.badge span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4de6a1;
    box-shadow: 0 0 12px #4de6a1;
}

.hero h1 {
    font-size: clamp(42px, 5vw, 35px);
    line-height: 1.05;
    letter-spacing: -.045em;
    max-width: 760px;
}

.hero h1 span,
.section-heading h2 span,
.cta h2 span {
    display: block;
    color: #74b4ff;
}

.hero-text {
    max-width: 600px;
    margin: 25px 0 32px;
    color: #c7d6ea;
    font-size: 17px;
}

.hero-buttons {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}

.btn {
    min-height: 54px;
    padding: 0 24px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border: 0;
    cursor: pointer;
    font-weight: 800;
    transition: .25s;
}

.btn-primary {
    color: #fff;
    background: var(--blue);
    box-shadow: 0 12px 35px rgba(23,105,255,.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(23,105,255,.4);
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    background: rgba(255,255,255,.06);
}

.btn-secondary:hover {
    background: rgba(255,255,255,.12);
}

.hero-features {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.hero-features div {
    font-size: 14px;
    color: #b9c9df;
}

.hero-features strong {
    color: #4de6a1;
    margin-right: 5px;
}


/* HERO CARD */

.hero-card {
    min-height: 470px;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 35px 90px rgba(0,0,0,.22);
}

.roof-visual {
    height: 260px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(145deg, #153a68, #07182f);
}

.roof-snow {
    position: absolute;
    width: 125%;
    height: 110px;
    left: -12%;
    top: 60px;
    transform: rotate(-12deg);
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 35px rgba(255,255,255,.4);
}

.roof-house {
    position: absolute;
    bottom: -50px;
    left: 12%;
    width: 76%;
    height: 150px;
    background: #173b63;
    transform: skew(-20deg);
}

.roof-line {
    position: absolute;
    width: 85%;
    height: 9px;
    background: #73b5ff;
    top: 135px;
    left: 7%;
    transform: rotate(-12deg);
    border-radius: 20px;
}

.hero-card-content {
    padding: 30px;
}

.small-label {
    font-size: 11px;
    color: #86baff;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.hero-card h3 {
    margin: 7px 0;
    font-size: 27px;
}

.hero-card p {
    color: #bdcce0;
    font-size: 14px;
}

.card-link {
    display: inline-block;
    margin-top: 20px;
    color: #78b7ff;
    font-weight: 800;
}


/* STATS */

.stats {
    position: relative;
    z-index: 5;
    margin-top: -35px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    background: #fff;
    border-radius: 22px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.stat {
    padding: 28px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.stat:last-child {
    border: 0;
}

.stat strong {
    display: block;
    color: var(--blue);
    font-size: 30px;
    font-weight: 800;
}

.stat span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 15px;
}


/* SECTIONS */

.section {
    padding: 110px 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 50px;
    margin-bottom: 55px;
}

.section-heading > div {
    max-width: 650px;
}

.section-heading > p {
    max-width: 400px;
    color: var(--muted);
    font-size: 14px;
}

.section-heading.center {
    display: block;
    text-align: center;
}

.section-heading.center > div {
    margin: auto;
}

.eyebrow {
    display: block;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 13px;
}

.section-heading h2 {
    font-size: clamp(34px,4vw,52px);
    line-height: 1.08;
    letter-spacing: -.04em;
}


/* SERVICES */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.service-card {
    position: relative;
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #fff;
    transition: .3s;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.service-card.featured {
    border: 2px solid #d7e8ff;
    background: linear-gradient(145deg,#f8fbff,#edf6ff);
}

.service-card.wide {
    grid-column: span 1;
}

.service-card.special {
    background: #071b3a;
    color: #fff;
}

.service-icon {
    width: 100%;
    height: 200px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--ice);
    font-size: 37px;
    margin-bottom: 22px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 16px;
}

.service-card.special .service-icon {
    background: rgba(255,255,255,.1);
}

.service-number {
    position: absolute;
    right: 28px;
    top: 25px;
    color: #d7e2ef;
    font-weight: 800;
    font-size: 13px;
}

.service-card.special .service-number {
    color: #5f7b9e;
}

.service-card h3 {
    font-size: 25px;
    margin-bottom: 8px;
}

.service-card p {
    color: var(--muted);
    font-size: 16px;
}

.service-card.special p {
    color: #b4c6dc;
}

.price {
    margin: 22px 0;
    color: var(--blue);
    font-size: 32px;
    font-weight: 800;
}

.price small {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}

.price span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
}

.service-card ul {
    list-style: none;
    margin-bottom: 25px;
}

.service-card li {
    padding: 6px 0;
    color: #607087;
    font-size: 17px;
    font-weight: 600;
}

.service-card li:before {
    content: "•";
    color: var(--green);
    margin-right: 7px;
    font-weight: 800;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    background: var(--blue);
    box-shadow: 0 12px 35px rgba(23, 105, 255, .28);
    min-height: 54px;
    padding: 0 24px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border: 0;
    cursor: pointer;
    font-weight: 800;
    transition: .25s;
}

.special .service-btn {
    color: #ffffff;
}

.popular {
    position: absolute;
    right: 43px;
    top: 43px;
    padding: 6px 10px;
    background: var(--blue);
    color: #fff;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
}

.note {
    margin-bottom: 20px;
}

.subscription {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
    padding: 24px 28px;
    border-radius: 20px;
    background: var(--ice);
}

.subscription-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    flex: 0 0 50px;
    border-radius: 15px;
    background: var(--blue);
    color: #fff;
    font-size: 30px;
    font-weight: 800;
}

.subscription strong {
    font-size: 25px;
}

.subscription p {
    margin-top: 3px;
    color: var(--muted);
    font-size: 16px;
}

.subscription a {
    margin-left: auto;
    color: var(--blue);
    font-weight: 800;
    font-size: 20px;
}


/* ADVANTAGES */

.advantages {
    padding: 105px 0;
    background:
        radial-gradient(circle at 85% 30%, rgba(40,120,255,.16), transparent 25%),
        #06152f;
    color: #fff;
}

.section-heading.light h2 span {
    color: #71b2ff;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
    /* background: rgba(255,255,255,.1); */
}

.advantage {
    padding: 32px;
    background: rgb(255 255 255 / 11%);
    border-radius: 20px;
}

.advantage-icon {
    width: 75px;
    height: 75px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 14px;
    background: rgba(255,255,255,.08);
    font-size: 37px;
}

.advantage h3 {
    font-size: 20px;
    margin-bottom: 7px;
}

.advantage p {
    color: #93a9c4;
    font-size: 13px;
}


/* PROCESS */

.steps {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}

.step {
    position: relative;
}

.step:after {
    content: "";
    position: absolute;
    top: 25px;
    left: 70px;
    right: -20px;
    height: 1px;
    background: #dce8f4;
}

.step:last-child:after {
    display: none;
}

.step-number {
    position: relative;
    z-index: 2;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--blue);
    color: #fff;
    font-size: 25px;
    font-weight: 800;
    margin-bottom: 25px;
}

.step h3 {
    font-size: 21px;
    margin-bottom: 5px;
}

.step p {
    color: var(--muted);
    font-size: 15px;
    max-width: 210px;
}


/* CTA */

.cta {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: #eef7ff;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 430px;
    align-items: center;
    gap: 80px;
}

.cta h2 {
    font-size: clamp(38px,4vw,57px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.cta h2 span {
    color: var(--blue);
}

.cta-content > p {
    max-width: 570px;
    color: var(--muted);
    margin: 25px 0;
}

.cta-phone {
    color: var(--blue);
    font-size: 25px;
    font-weight: 800;
}

.contact-form {
    padding: 35px;
    background: #fff;
    border-radius: 25px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 24px;
}

.contact-form > p {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 23px;
}

.contact-form label {
    display: block;
    margin-bottom: 15px;
    color: #516078;
    font-size: 15px;
    font-weight: 700;
}

.contact-form input,
.contact-form select {
    width: 100%;
    height: 50px;
    margin-top: 6px;
    padding: 0 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    color: var(--text);
    background: #fbfdff;
}

.contact-form input:focus,
.contact-form select:focus {
    border-color: var(--blue);
}

.contact-form .btn {
    width: 100%;
    margin-top: 5px;
}

.contact-form small {
    display: block;
    margin-top: 13px;
    color: #9aa7b7;
    font-size: 9px;
    text-align: center;
}

.form-success {
    display: none;
    margin-top: 15px;
    padding: 12px;
    border-radius: 10px;
    background: #e9fff4;
    color: #14935a;
    font-size: 12px;
    text-align: center;
}


/* FOOTER */

.footer {
    background: #041126;
    color: #fff;
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 55px;
}

.footer-brand p {
    max-width: 300px;
    margin-top: 18px;
    color: #738aa6;
    font-size: 12px;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 15px;
    font-size: 20px;
}

.footer-links a {
    display: block;
    margin: 8px 0;
    color: #8297b2;
    font-size: 15px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact > a {
    display: block;
    color: #72b2ff;
    font-size: 16px;
    font-weight: 800;
}

.footer-contact span {
    display: block;
    margin-top: 10px;
    color: #738aa6;
    font-size: 11px;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.07);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    color: #60748f;
    font-size: 10px;
}


/* FLOATING CALL */

.floating-call {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 50;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 22px;
    box-shadow: 0 12px 35px rgba(23,105,255,.4);
}


/* SNOW */

.hero-snow {
    position: absolute;
    color: rgba(255,255,255,.15);
    pointer-events: none;
}

.snow-1 {
    font-size: 100px;
    top: 10%;
    right: 7%;
}

.snow-2 {
    font-size: 45px;
    top: 65%;
    right: 45%;
}

.snow-3 {
    font-size: 60px;
    top: 20%;
    left: 5%;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .nav {
        display: none;
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        padding: 20px;
        background: #fff;
        box-shadow: var(--shadow);
        flex-direction: column;
    }

    .nav.active {
        display: flex;
    }

    .header-phone {
    }

    .menu-toggle {
        display: none;
    }

    .hero-grid,
    .cta-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 70px;
    }

    .hero-card {
        max-width: 600px;
    }

    .stats-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .stat:nth-child(2) {
        border-right: 0;
    }

    .stat:nth-child(3),
    .stat:nth-child(4) {
        border-top: 1px solid var(--border);
    }

    .advantages-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .steps {
        grid-template-columns: repeat(2,1fr);
    }

    .step:nth-child(2):after {
        display: none;
    }

    .footer-grid {
        grid-template-columns: repeat(2,1fr);
    }

}

@media (max-width: 650px) {

    .container {
        width: min(100% - 28px, 1180px);
    }
    .hero-grid {
        gap: 30px;
    }

    .hero {
        padding: 55px 0 75px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-text {
        font-size: 14px;
    }

    .hero-card {
        min-height: auto;
    }

    .hero-features {
        display: grid;
        gap: 10px;
    }

    .section {
        padding: 75px 0;
    }

    .section-heading {
        display: block;
        margin-bottom: 35px;
    }

    .section-heading > p {
        margin-top: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card.wide {
        grid-column: auto;
    }

    .subscription {
        display: block;
    }

    .subscription-icon {
        margin-bottom: 15px;
    }

    .subscription a {
        display: inline-block;
        margin: 15px 0 0;
    }

    .advantages-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .advantage {
        padding: 20px;
    }

    .steps {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .step:after {
        display: none;
    }

    .cta-grid {
        gap: 40px;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom .container {
        display: block;
    }

    .footer-bottom span {
        display: block;
        margin: 5px 0;
    }

}