html {
    scroll-behavior: smooth;
}

:root {
    --blue: #008cff;
    --text: #fff;
    --dark: #05070a;
    --glass: rgba(8, 10, 13, .30)
}

a:hover {
    opacity: 0.8;
}
* {
    box-sizing: border-box;
    transition: all .2s ease;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(180deg, #f7fbff 0%, #eaf3fb 100%);
    color: var(--text)
}

.logo:hover, .logo:focus {
    opacity: .9;
}

a:hover, a:focus {
    color: #f0f8ff;
    outline: none;
}
.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;
}

.ps-hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    background: #06080b
}

.ps-hero__bg {
    position: absolute;
    inset: 0;
    background: url('assets/hero-bg.png') center/cover no-repeat;
    filter: saturate(1.05)
}

.ps-hero__overlay {
    display: none;
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .76) 0%, rgba(0, 0, 0, .42) 45%, rgba(0, 0, 0, .68) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .12) 44%, rgba(0, 0, 0, .9) 100%)
}

.ps-hero__inner {
    position: relative;
    z-index: 2;
    width: min(1170px, calc(100% - 32px));
    margin: 0 auto
}

.ps-header {
    height: 86px;
    display: flex;
    align-items: center;
    gap: 28px
}

.ps-logo {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #fff;
    text-decoration: none;
    min-width: 245px
}

.ps-logo img {
    width: 48px;
    height: 48px
}

.ps-logo b {
    display: block;
    font-size: 28px;
    line-height: 1
}

.ps-logo small {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    opacity: .9
}

.ps-nav {
    display: flex;
    gap: 30px;
    flex: 1;
    justify-content: center
}

.ps-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    opacity: .92;
    white-space: nowrap;
}

.ps-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap
}

.ps-phone img {
    width: 30px
}

.ps-phone b {
    display: block;
    font-size: 18px
}

.ps-phone small {
    display: block;
    font-size: 12px;
    opacity: .9
}

.ps-header__btn, .ps-btn, .ps-form button {
    background: linear-gradient(180deg, #0799ff, #0073e8);
    color: #fff;
    text-decoration: none;
    border: 0;
    border-radius: 14px;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(0, 140, 255, .32);
    cursor: pointer
}

.ps-header__btn {
    padding: 14px 26px
}

.ps-hero__content {
    display: grid;
    grid-template-columns:1fr 420px;
    gap: 55px;
    align-items: center;
    min-height: 540px
}

.ps-offer {
    padding-top: 68px;
    text-shadow: 1px 2px #000;
}

.ps-offer h1 {
    margin: 0 0 28px;
    text-transform: uppercase;
    font-size: 44px;
    line-height: .98;
    font-weight: 900;
    letter-spacing: -1px;
    max-width: 640px;
    text-shadow: 0 8px 28px rgba(0, 0, 0, .65)
}

.ps-offer h1 strong {
    display: block;
    font-size: 78px
}

.ps-offer h1 em {
    display: block;
    font-style: normal;
    color: var(--blue);
    font-size: 42px;
    margin-top: 10px
}

.ps-offer p {
    font-size: 20px;
    line-height: 1.55;
    max-width: 560px;
    margin: 0 0 34px
}

.ps-actions {
    display: flex;
    align-items: center;
    gap: 28px
}

.ps-btn {
    display: inline-flex;
    padding: 19px 34px;
    font-size: 16px
}

.ps-video {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    text-decoration: none;
    font-size: 16px
}

.ps-video span {
    width: 42px;
    height: 42px;
    border: 2px solid #fff;
    border-radius: 50%;
    position: relative
}

.ps-video span:after {
    content: "";
    position: absolute;
    left: 16px;
    top: 11px;
    border-left: 12px solid #fff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent
}

.ps-form {
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    padding: 30px 30px 26px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .48)
}

.ps-form h2 {
    margin: 0 0 16px;
    text-transform: uppercase;
    font-size: 25px;
    line-height: 1.25
}

.ps-form p {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.45
}

.ps-form .result {
    padding: 13px;
    background: radial-gradient(black, transparent);
}

.ps-form input, .ps-form select {
    width: 100%;
    height: 56px;
    border: 0;
    border-radius: 9px;
    margin-bottom: 14px;
    padding: 0 18px;
    font-size: 15px;
    background: #f8f8f8;
    color: #333
}

.radio-row {
    display: grid;
    grid-template-columns:1fr auto auto;
    gap: 12px;
    align-items: center;
    margin: 11px 0;
    color: #fff;
    font-size: 14px
}

.radio-row label {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer
}

.radio-row input, .messenger input {
    display: none
}

.radio-row b, .messenger b {
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    display: inline-block;
    position: relative
}

.radio-row input:checked + b, .messenger input:checked + b {
    border-color: #0878ff;
    background: #0878ff
}

.radio-row input:checked + b:after, .messenger input:checked + b:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 5px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff
}

.option {
    padding-left: 0;
    border-left: 1px solid var(--line);
    border-left-color: rgba(255, 255, 255, .16);
    margin-bottom: 10px;
}

.option span {
    line-height: 24px;
    vertical-align: middle;
    font-size: 14px;
}

.option div {
    display: flex;
    gap: 0;
}

.option div button:first-of-type {
    margin-left: auto !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.option div button:last-of-type {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.ps-hero form .option div button {
    min-width: 46px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 7px;
    cursor: pointer;
    background: #111;
    color: #fff;
    width: 46px;
    height: 28px;
    font-weight: normal;
    font-size: 13px;
    margin:0;
}

.ps-hero form .option div button.active {
    border-color: var(--blue);
    background: linear-gradient(180deg, #0878ff, #0068ee);
    color: #fff
}

.size-group {
    display: grid;
    grid-template-rows: auto auto;
}

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

.size-group input {
    width: 106px;
}

.messengers {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 10px;
    margin: 14px 0 15px
}

.messengers > span {
    grid-column: 1/-1;
    font-size: 14px
}

.messenger {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 6px 4px 4px;
    border-radius: 10px;
    cursor: pointer
}

.messenger b {
    position: absolute;
    left: 5px;
    top: 5px;
    background: #111
}
.messengers input:checked {
    display: inline;
    width: 10px;
    height: 10px;
    position: absolute;
    left: 4px;
}

.messenger img {
    width: 44px;
    height: 44px
}

.messenger small {
    font-size: 12px
}


.ps-form button {
    width: 100%;
    height: 58px;
    font-size: 16px;
    margin: 2px 0 22px
}

.ps-secure {
    display: grid;
    grid-template-columns:28px 1fr;
    gap: 12px;
    font-size: 14px;
    line-height: 1.48;
    color: rgba(255, 255, 255, .86)
}

.ps-secure img {
    width: 25px
}

.ps-socials {
    display: flex;
    justify-content: space-around;
    gap: 18px;
    margin-top: 24px
}

.ps-socials a {
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-size: 13px
}

.ps-socials img {
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 7px
}

.ps-benefits {
    display: grid;
    grid-template-columns:repeat(8, 1fr);
    gap: 16px;
    align-items: start;
    padding: 24px 0 28px
}

.ps-benefits div {
    text-align: center
}

.ps-benefits img {
    height: 46px;
    margin-bottom: 12px;
    display: block;
    margin: 0 auto 12px;
}

.ps-benefits span {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.35;
}

@media (max-width: 960px) {
    .ps-nav, .ps-phone {
        display: none
    }

    .ps-hero__content {
        grid-template-columns:1fr
    }

    .ps-form {
        max-width: 460px
    }

    .ps-benefits {
        grid-template-columns:repeat(2, 1fr)
    }

    .ps-offer h1 strong {
        font-size: 54px
    }

    .ps-offer h1 {
        font-size: 32px
    }

    .ps-offer h1 em {
        font-size: 30px
    }
}

/** pools */
.pool-types {
    --blue: #0877ff;
    --dark: #061b31;
    --dark2: #02101f;
    --text: #0a1c31;
    --muted: #4a5a6d;
    --line: rgba(8, 119, 255, .18);
    --shadow: 0 18px 45px rgba(0, 28, 60, .14);
    box-sizing: border-box;
    padding: 0 0 28px;
    /*background: url("assets/pool-bg.jpg") center center / cover no-repeat;*/
    /*background:*/
    /*        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),*/
    /*        url("assets/pool-bg2.jpg") center center / cover no-repeat;*/
    background:
            url("assets/pool-bg2.jpg") center center / cover no-repeat;
    background-attachment: fixed;
}

.pool-types .pool-types__container{
    width: 1170px;
    max-width: calc(100% - 28px);
    margin: 0 auto
}

.pool-types .pool-types__title {
    margin: 0;
    padding: 30px 0;
    text-align: center;
    text-transform: uppercase;
    font-size: clamp(30px, 3.5vw, 42px);
    line-height: 1.1;
    letter-spacing: .03em;
    color: #fff;
    text-shadow: 0 6px 18px rgba(7, 27, 49, .12);
    opacity: 0.9;
}

.pool-types .pool-card {
    display: grid;
    grid-template-columns:1fr 1fr;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 18px;
    box-shadow: 0 18px 45px rgba(0, 28, 60, 100);
    background: #fff;
}

.pool-types .pool-card__image {
    min-height: 356px;
    overflow: hidden
}
.pool-types .pool-card__image a:hover {
    opacity:1;

}
.pool-types .pool-card__image a:hover img {
    transform: scale(1.01);
}

.pool-types .pool-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.pool-types .pool-card__content {
    padding: 34px 42px 24px
}

.pool-types .pool-card--dark .pool-card__content {
    background: radial-gradient(circle at 20% 0%, #0b3154 0%, var(--dark) 42%, var(--dark2) 100%);
    color: #fff
}

.pool-types .pool-card--light .pool-card__content {
    background: #fff;
    color: var(--text)
}

.pool-types .pool-card h3 {
    margin: 0 0 14px;
    font-size: 36px;
    line-height: 1;
    font-weight: 900;
    color: var(--blue)
}

.pool-types .pool-card__lead {
    margin: 0 0 20px;
    font-size: 17px;
    line-height: 1.38;
    color: inherit
}

.pool-types .pool-card--light .pool-card__lead {
    color: #12253b
}

.pool-types .pool-card--dark .pool-card__lead {
    color: rgba(255, 255, 255, .92)
}

.pool-types .pool-card__benefits {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    gap: 13px
}

.pool-types .pool-card__benefits--two {
    grid-template-columns:1fr 1fr;
    column-gap: 28px
}

.pool-types .pool-card__benefits li {
    display: grid;
    grid-template-columns:22px 1fr;
    gap: 12px;
    align-items: flex-start;
    font-size: 15.5px;
    line-height: 1.35
}

.pool-types .pool-card__benefits img {
    width: 18px;
    height: 18px;
    margin-top: 2px
}

.pool-types .pool-card--dark .pool-card__benefits li {
    color: rgba(255, 255, 255, .92)
}

.pool-types .pool-card__bottom {
    border-top: 1px solid var(--line);
    padding-top: 22px;
    display: grid;
    grid-template-columns:1fr 1fr 164px;
    gap: 18px;
    align-items: center
}

.pool-types .pool-card__spec {
    display: grid;
    grid-template-columns:46px 1fr;
    column-gap: 12px;
    align-items: center
}
.pool-types .pool-card__spec.size small {
    color: #a5de4f;
    font-size: 12px;
    text-align: left;
    white-space: nowrap;
    opacity: 0.8;
}

.pool-types .pool-card--light .pool-card__spec.size small {
    color: green;
    opacity: 1;
}
.pool-types .pool-card__spec strong {
    white-space: nowrap;
}

.pool-types .pool-card__spec img {
    grid-row: 1/4;
    width: 42px;
    height: 42px
}

.pool-types .pool-card__spec span {
    font-size: 14px;
    color: inherit;
    opacity: .85
}

.pool-types .pool-card__spec strong {
    font-size: 22px;
    line-height: 1.05;
    font-weight: 900
}

.pool-types .pool-card__spec small {
    font-size: 14px;
    font-weight: 700
}

.pool-types .pool-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    border-radius: 9px;
    background: linear-gradient(135deg, #088bff, #0656f4);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 10px 24px rgba(8, 119, 255, .3);
}

.pool-types .pool-card__button:hover,
.ps-btn:hover,
.ps-form button[type=submit]:hover{
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(8, 119, 255, .38)
}

@media (max-width: 900px) {
    .pool-types .pool-card, .pool-card--reverse {
        grid-template-columns:1fr
    }

    .pool-types .pool-card--reverse .pool-card__content {
        order: 2
    }

    .pool-types .pool-card--reverse .pool-card__image {
        order: 1
    }

    .pool-types .pool-card__content {
        padding: 28px
    }

    .pool-types .pool-card__bottom {
        grid-template-columns:1fr
    }

    .pool-types .pool-card__benefits--two {
        grid-template-columns:1fr
    }

    .pool-types .pool-card__image {
        min-height: 280px
    }

    .pool-types .pool-types h2 {
        font-size: 28px
    }
}


.pool-drainage-block {
    font-family: Arial, Helvetica, sans-serif;
    background: #eef5fb;
    color: #061d38;
    padding: 24px 0;
    background: linear-gradient(180deg, #f7fbff 0%, #eaf3fb 100%)
}

.pool-drainage-block .pool-drainage {
    width: 1170px;
    max-width: 100%;
    margin: 0 auto;
    background: #f7fbff;
    overflow: hidden;
    box-shadow: 0 18px 55px rgba(10, 38, 70, .14)
}

.pool-drainage-block .hero {
    display: grid;
    grid-template-columns:1.55fr .95fr;
    gap: 26px;
    padding: 22px 26px 0
}

.pool-drainage-block .hero-left h1 {
    margin: 0;
    color: #0a315f;
    text-transform: uppercase;
    font-size: 44px;
    line-height: .98;
    font-weight: 900;
    letter-spacing: .5px
}

.pool-drainage-block .subtitle {
    margin: 12px 0 18px;
    color: #6d747c;
    font-size: 24px
}

.pool-drainage-block .hero-left img {
    width: 100%;
    display: block;
    border-radius: 20px
}

.pool-drainage-block .hero-info {
    padding-top: 0;
    margin-bottom:40px;
}

.pool-drainage-block .info-item {
    display: grid;
    grid-template-columns:36px 1fr;
    gap: 13px;
    margin-bottom: 16px
}

.pool-drainage-block .info-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #0765bf;
    color: #fff;
    font-weight: 900;
    font-size: 18px
}

.pool-drainage-block .info-item h3 {
    margin: 0 0 6px;
    text-transform: uppercase;
    color: #0a315f;
    font-size: 22px;
    line-height: 1
}

.pool-drainage-block .info-item p, .info-item li {
    font-size: 14px;
    line-height: 1.36;
    margin: 0
}

.pool-drainage-block .info-item ul {
    margin: 8px 0 0 18px;
    padding: 0
}

.pool-drainage-block .work-box {
    background: #e9f4ff;
    border: 1px solid #afcceb;
    border-radius: 10px;
    padding: 14px 18px;
    margin: 12px 0 10px
}

.pool-drainage-block .work-box h3 {
    margin: 0 0 10px;
    text-transform: uppercase;
    color: #0862b9;
    font-size: 20px
}

.pool-drainage-block .work-row {
    display: grid;
    grid-template-columns:38px 1fr;
    gap: 14px;
    align-items: center;
    margin: 8px 0
}

.pool-drainage-block .work-row img {
    width: 32px;
    height: 32px;
    color: #0862b9
}

.pool-drainage-block .work-row p {
    margin: 0;
    font-size: 14px;
    line-height: 1.35
}

.pool-drainage-block .lead-form {
    background: linear-gradient(180deg, #073f7b 0%, #002e63 100%);
    border-radius: 14px;
    padding: 18px 20px;
    color: #fff;
    box-shadow: 0 12px 30px rgba(0, 43, 92, .25)
}

.pool-drainage-block .lead-form h2 {
    margin: 0 0 8px;
    text-transform: uppercase;
    font-size: 22px;
    line-height: 1.1
}

.pool-drainage-block .lead-form p {
    margin: 0 0 14px;
    color: #dcecff;
    font-size: 13px;
    line-height: 1.4
}

.pool-drainage-block .form-grid {
    display: grid;
    grid-template-columns:1fr 1fr 1fr;
    gap: 10px
}

.pool-drainage-block .lead-form input, .lead-form textarea {
    width: 100%;
    border: 0;
    border-radius: 5px;
    background: #f5f8fb;
    color: #142b43;
    font-size: 14px;
    padding: 10px 12px;
    outline: none;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .12)
}

.pool-drainage-block .lead-form textarea {
    height: 70px;
    resize: vertical;
    margin-top: 10px
}

.pool-drainage-block .messenger-title {
    font-size: 15px;
    margin: 12px 0 8px;
    color: #fff
}

.pool-drainage-block .messengers {
    display: grid;
    grid-template-columns:1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px
}

.pool-drainage-block .messengers label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap
}

.pool-drainage-block .messengers input {
    display: none
}

.pool-drainage-block .messengers label span {
    width: 18px;
    height: 18px;
    border: 2px solid #e6f3ff;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.pool-drainage-block .messengers input:checked + span:after {
    content: "✓";
    font-size: 18px;
    line-height: 1;
    color: #fff;
    font-weight: 900
}

.pool-drainage-block .messengers img {
    width: 22px;
    height: 22px
}

.pool-drainage-block .lead-form button {
    width: 100%;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(180deg, #16b440 0%, #07912f 100%);
    color: #fff;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 18px;
    padding: 14px 20px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 120, 35, .25)
}

.pool-drainage-block .advantages {
    background: linear-gradient(90deg, #001d37 0%, #063e73 100%);
    color: #fff;
    margin-top: 0;
    padding: 24px 30px
}

.pool-drainage-block .advantages h2 {
    margin: 0 0 18px;
    text-transform: uppercase;
    font-size: 24px
}

.pool-drainage-block .adv-grid {
    display: grid;
    grid-template-columns:1fr 1fr 1fr;
    gap: 26px
}

.pool-drainage-block .adv-item {
    display: grid;
    grid-template-columns:70px 1fr;
    gap: 16px;
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, .35);
    padding-right: 24px
}

.pool-drainage-block .adv-item:last-child {
    border-right: 0
}

.pool-drainage-block .adv-item img {
    width: 64px;
    height: 64px;
    color: #85d8ff
}

.pool-drainage-block .adv-item h3 {
    margin: 0 0 6px;
    text-transform: uppercase;
    font-size: 20px
}

.pool-drainage-block .adv-item p {
    margin: 0;
    color: #d7ecff;
    font-size: 14px;
    line-height: 1.4
}

@media (max-width: 900px) {
    .pool-drainage-block .pool-drainage {
        width: 100%
    }

    .pool-drainage-block .hero {
        grid-template-columns:1fr;
        padding: 18px
    }

    .pool-drainage-block .hero-left h1 {
        font-size: 34px
    }

    .pool-drainage-block .subtitle {
        font-size: 20px
    }

    .pool-drainage-block .form-grid, .pool-drainage-block .messengers, .pool-drainage-block .adv-grid {
        grid-template-columns:1fr
    }

    .pool-drainage-block .adv-item {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .25);
        padding-bottom: 18px
    }

    .pool-drainage-block .adv-item:last-child {
        border-bottom: 0
    }
}

.whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 20;
    background: #20c76a;
    color: white;
    padding: 14px 20px;
    border-radius: 999px;
    font-weight: 900;
    box-shadow: 0 15px 40px rgba(32, 199, 106, .35);
    text-decoration: none;
}
.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;
}

.copyright {
    font-size: 12px;
    width: 1170px;
    max-width: calc(100% - 28px);
    margin: 0 auto;
    padding: 38px;
    background: #3c3c3c;
    box-shadow: 0 18px 55px rgba(10, 38, 70, .14);

}
.copyright a {
    color: #fff;
}