:root {
    --bg: #061625;
    --bg2: #08233a;
    --card: rgba(11, 35, 55, .78);
    --blue: #09a8ff;
    --blue2: #0078ff;
    --text: #eef8ff;
    --muted: #a9c0d3;
    --line: rgba(92, 196, 255, .25);
    --green: #20c76a;
    --radius: 24px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background: radial-gradient(circle at 70% 0, #0e3f66 0, #061625 42%, #020a12 100%);
    color: var(--text);
    line-height: 1.55
}

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

a:hover,
a:focus {
    color: #f0f8ff;
    outline: none;
}

a:active {
    color: #c0e0ff;
}

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

.container {
    width: min(1180px, calc(100% - 32px));
    margin: auto
}

.site-header {
    position: fixed;
    z-index: 10;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1180px, calc(100% - 32px));
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(3, 15, 27, .72);
    backdrop-filter: blur(18px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, .3)
}

.logo {
    background: url(https://poolstroi.ru/v2_img/logo.png) 0 center no-repeat;
    display: grid;
    grid-template-columns:auto auto;
    gap: 0 9px;
    align-items: center;
    font-weight: 900;
    letter-spacing: .08em;
    min-height: 50px;
    width: 257px;
}
.logo:hover,
.logo:focus {
    opacity: .9;
}

.logo small {
    grid-column: 2;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0
}

.wave {
    font-size: 30px;
    color: var(--blue)
}

.nav {
    display: flex;
    gap: 18px;
    margin-left: auto;
    color: #d9ecfb;
    font-size: 14px
}

.phone {
    font-weight: 700
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue), var(--blue2));
    font-weight: 800;
    box-shadow: 0 10px 35px rgba(0, 132, 255, .35);
    border: 0;
    cursor: pointer;
    color: white
}

.btn-small {
    padding: 10px 16px
}

.btn-outline {
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--line);
    box-shadow: none
}

.btn:hover,
.btn:focus {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 132, 255, 0.45);
    background: linear-gradient(135deg, var(--blue2), var(--blue));
    outline: none;
}

.btn:active {
    transform: scale(0.98);
}

.btn-outline:hover,
.btn-outline:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.02);
    outline: none;
}

.btn-outline:active {
    transform: scale(0.98);
}

.full {
    width: 100%
}

.hero {
    position: relative;
    min-height: 780px;
    padding: 150px 0 72px;
    overflow: hidden
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('assets/hero-pool.jpg') center/cover no-repeat;
    filter: saturate(1.2)
}

.overlay {
    position: absolute;
    inset: 0;
    /*background: linear-gradient(90deg, rgba(2, 10, 18, .98) 0%, rgba(4, 22, 37, .82) 42%, rgba(5, 25, 43, .52) 100%)*/
    background: linear-gradient(90deg, rgba(2, 10, 18, .98) 0%, rgba(4, 22, 37, .52) 42%, rgba(5, 25, 43, .52) 100%)
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns:minmax(0, 1fr) 380px;
    gap: 64px;
    align-items: center
}

.badge, .eyebrow, .section-title span {
    display: inline-block;
    color: #8bdfff;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 900;
    font-size: 12px
}

.hero h1 {
    font-size: clamp(42px, 6vw, 78px);
    line-height: .98;
    margin: 18px 0 22px;
    max-width: 800px
}

.lead {
    font-size: 22px;
    color: #d9ecfb;
    max-width: 680px
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 32px 0
}

.price-pill {
    display: inline-flex;
    gap: 18px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(3, 19, 32, .75);
    padding: 14px 22px
}

.price-pill span {
    color: var(--muted)
}

.price-pill strong {
    font-size: 26px;
    color: #6fd4ff
}

.features-inline {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 14px;
    margin-top: 34px;
    max-width: 850px
}

.features-inline span, .stats-grid div, .info-card, .price-card, .case-grid article, .hero-form, .bottom-form {
    border: 1px solid var(--line);
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: 0 20px 70px rgba(0, 0, 0, .28)
}

.features-inline span {
    padding: 16px
}

.hero-form {
    padding: 28px;
    backdrop-filter: blur(18px)
}

.hero-form h2 {
    margin-top: 0
}
.hero-form .result,
.bottom-form .result {
    border: inherit;
    padding: 0 14px;
    border-radius: inherit;
    background: rgba(0, 0, 0, .25);
}

.hero-form p, .hero-form small {
    color: var(--muted)
}

.size-group {
    display: grid;
    grid-template-rows: auto auto;
    margin-bottom: 28px;
}

.size-group > span:first-child {
    display: block;
    margin: 14px 0 7px;
    color: #d9ecfb;
    font-weight: 700
}

.inputs-row {
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    gap: 10px;
    align-items: center;
}

.inputs-row input {
    margin-top: 0;
    width: 85px;
}

.inputs-row .multiply {
    text-align: center;
    font-weight: bold;
}

label {
    display: block;
    margin: 14px 0;
    color: #d9ecfb;
    font-weight: 700
}


input {
    width: 100%;
    padding: 15px 16px;
    margin-top: 7px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
    background: rgba(0, 0, 0, .25);
    color: white;
    outline: none;
    transition: all 0.2s;
}
input:focus {
    border-color: #1596ff;
    box-shadow: 0 0 0 3px rgba(21, 150, 255, 0.25);
    background: rgba(0, 35, 50, 0.9);
}

.stats {
    padding: 0 0 50px;
    margin-top: -35px;
    position: relative
}

.stats-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 14px
}

.stats-grid div {
    padding: 24px;
    text-align: center
}

.stats-grid strong {
    font-size: 30px;
    color: #7be0ff;
    display: block
}

.stats-grid span {
    color: var(--muted)
}

.section {
    padding: 72px 0
}

.section-title {
    margin-bottom: 28px
}

.section-title h2, .split h2, .final-cta h2 {
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.05;
    margin: 10px 0
}

.seo-intro p {
    font-size: 20px;
    color: #d8ebf9;
    max-width: 980px
}

.card-grid {
    display: grid;
    gap: 18px
}

.five {
    grid-template-columns:repeat(5, 1fr)
}

.info-card {
    overflow: hidden;
    padding-bottom: 18px
}

.info-card img {
    height: 155px;
    width: 100%;
    object-fit: unset;
}

.info-card h3, .info-card p {
    padding: 0 18px
}

.info-card p, .split p, .check-list, .price-card p, .case-grid p, .final-cta p {
    color: var(--muted)
}

.engineering, .design {
    background: linear-gradient(180deg, rgba(0, 80, 130, .16), rgba(0, 0, 0, 0));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}
.engineering .btn {
    margin-top: 14px;
}

.split {
    display: grid;
    grid-template-columns:1fr 1.1fr;
    gap: 54px;
    align-items: center
}

.reverse {
    grid-template-columns:1.1fr 1fr
}

.image-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, .04);
    box-shadow: 0 25px 90px rgba(0, 0, 0, .35)
}

.image-card img {
    height: 430px;
    width: 100%;
    object-fit: cover
}

.check-list {
    padding-left: 0;
    list-style: none
}

.check-list li {
    margin: 10px 0;
    padding-left: 30px;
    position: relative
}

.check-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #54d8ff;
    font-weight: 900
}

.timeline {
    display: grid;
    grid-template-columns:repeat(6, 1fr);
    gap: 14px
}

.timeline div {
    padding: 20px;
    border-top: 2px solid var(--blue);
    background: rgba(255, 255, 255, .04);
    border-radius: 18px
}

.timeline b {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: white;
    color: #08233a
}

.timeline h3 {
    margin-bottom: 4px
}

.timeline p {
    color: var(--muted);
    font-size: 14px
}

.mini-grid {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 12px;
    margin: 24px 0
}

.mini-grid span {
    padding: 13px 15px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--line)
}

.price-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 18px
}

.price-card {
    padding: 26px
}

.price-card.featured {
    outline: 2px solid var(--blue)
}
.price-card:hover,
.price-card:focus {
    outline: 1px solid var(--blue)
}

.price-card strong {
    display: block;
    font-size: 30px;
    color: #75ddff;
    margin: 22px 0
}

.price-card ul {
    padding-left: 20px;
    color: #d8ebf9
}

.case-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 18px
}

.case-grid article {
    overflow: hidden
}

.case-grid img {
    height: 230px;
    width: 100%;
    object-fit: cover
}

.case-grid h3, .case-grid p {
    padding: 0 20px
}

.final-cta {
    padding: 70px 0;
    background: linear-gradient(120deg, #06213a, #003b64);
    border-top: 1px solid var(--line)
}

.final-grid {
    display: grid;
    grid-template-columns:1fr 430px;
    gap: 44px;
    align-items: center
}

.bottom-form {
    padding: 24px;
    display: grid;
    gap: 12px
}

.bottom-form button {
    margin-top: 7px;
}
.whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 20;
    background: var(--green);
    color: white;
    padding: 14px 20px;
    border-radius: 999px;
    font-weight: 900;
    box-shadow: 0 15px 40px rgba(32, 199, 106, .35)
}
.whatsapp:hover,
.whatsapp:focus {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(32, 199, 106, 0.45);
    background: #2cb742; /* чуть светлее var(--green) */
    outline: none;
}

.whatsapp:active {
    transform: scale(0.97);
    transition: transform 0.05s;
}




@media (max-width: 980px) {
     .nav {
        display: none
    }
    .logo {
        display: block;
        margin: 0 auto;
    }



    .hero-grid, .split, .reverse, .final-grid {
        grid-template-columns:1fr
    }

    .features-inline, .stats-grid, .five, .price-grid, .case-grid {
        grid-template-columns:1fr 1fr
    }

    .timeline {
        grid-template-columns:1fr 1fr
    }

    .hero {
        padding-top: 120px
    }

    .hero-form {
        max-width: 520px
    }


}

@media (max-width: 620px) {
    .site-header {
        top: 8px
    }

    .logo small {
        display: none
    }

    .features-inline, .stats-grid, .five, .price-grid, .case-grid, .timeline, .mini-grid {
        grid-template-columns:1fr
    }

    .hero h1 {
        font-size: 38px
    }

    .lead {
        font-size: 18px
    }

    .hero-actions {
        display: grid
    }

    .hero-form {
        padding: 20px
    }

    .section {
        padding: 48px 0
    }

    .site-header .btn-small {
        display: none;
    }
}


.keys .poolstroi-card {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(6, 28, 55, 0.96), rgba(2, 11, 23, 0.96));
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.45), 0 0 70px rgba(0, 149, 255, 0.14);
}

.keys .poolstroi-image {
    min-height: 620px;
    position: relative;
    overflow: hidden;
}

.keys .poolstroi-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.keys .poolstroi-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 64%, rgba(3, 12, 27, 0.72));
    pointer-events: none;
}

.keys .poolstroi-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.keys .eyebrow {
    width: fit-content;
    margin-bottom: 28px;
    padding: 10px 18px;
    border: 1px solid rgba(33, 151, 255, 0.75);
    border-radius: 999px;
    color: #5db7ff;
    background: rgba(22, 139, 255, 0.1);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.keys h1 {
    margin: 0 0 28px;
    font-size: clamp(30px, 4vw, 52px);

    line-height: 1.06;
    letter-spacing: -0.04em;
}

.keys h1 span {
    display: block;
    color: var(--blue);
    text-shadow: 0 0 26px rgba(22, 139, 255, 0.35);
}

.keys .lead {
    max-width: 760px;
    margin: 0 0 42px;
    color: var(--muted);
    line-height: 1.72;
}

.keys .features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 28px;
    margin-bottom: 48px;
}

.keys .feature {
    display: flex;
    gap: 14px;
    align-items: center;
}

.keys .icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #52bdff;
    border: 1px solid rgba(82, 189, 255, 0.35);
    background: rgba(16, 131, 255, 0.1);
    font-size: 24px;
    font-weight: 900;
    box-shadow: inset 0 0 18px rgba(41, 153, 255, 0.18);
}

.keys .feature p {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
    color: #f4f8ff;
}

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

.keys .btn {
    min-width: 250px;
    padding: 20px 28px;
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
    font-size: 17px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.keys .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0b75ff, #159dff);
    box-shadow: 0 14px 36px rgba(16, 132, 255, 0.33);
}

.keys .btn-whatsapp {
    color: #fff;
    border: 1px solid rgba(24, 201, 100, 0.45);
    background: rgba(24, 201, 100, 0.08);
}

.keys .btn-whatsapp:hover {
    box-shadow: 0 14px 36px rgba(24, 201, 100, 0.18);
}

@media (max-width: 980px) {
    .keys .page {
        padding: 28px 14px;
    }

    .keys .poolstroi-card {
        grid-template-columns: 1fr;
        border-radius: 24px;
    }

    .keys .poolstroi-image {
        min-height: 360px;
    }

    .keys .poolstroi-image::after {
        background: linear-gradient(0deg, rgba(3, 12, 27, 0.65), transparent 45%);
    }

    .keys .features {
        grid-template-columns: 1fr 1fr;
    }

    .keys .features .feature {
        margin-left: 0 !important;
    }

    .keys .btn {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .keys .poolstroi-content {
        padding: 28px 20px;
    }

    .keys .poolstroi-image {
        min-height: 260px;
    }

    .keys .features {
        grid-template-columns: 1fr;
    }

    .keys .lead {
        font-size: 16px;
    }


}

.copyright {
    font-size: 12px;
}