*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #333;
    line-height: 1.5;
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

.ins {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

:root {
    --color-blue: #1F4E9D;
    --color-dark-blue: #194086;
    --color-text-main: #263238;
    --color-text-gray: #6D7783;
    --bg-hero-solid: #caced4;
    --bg-card-light: #F2F5F8;
    --bg-card-hover: #eff6ff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    cursor: pointer;
}

.btn--outline {
    background: transparent;
    border: 1px solid var(--color-blue);
    color: var(--color-blue);
    text-transform: lowercase;
    font-weight: 500;
}
.btn--outline:hover {
    background: var(--color-blue);
    color: #fff;
}

.btn--white-border {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    font-weight: 700;
    padding: 24px 60px;
}
.btn--white-border:hover {
    background: #fff;
    color: var(--color-text-main);
}

.btn--primary {
	background-color: #1b50b0;
	color: #fff;
	font-weight: 700;
	padding: 22px clamp(3rem, 0.2656rem + 8.75vw, 5.1875rem);
	font-size: clamp(0.875rem, 0.5625rem + 1vw, 1.125rem);
}
.btn--primary:hover {
    background-color: #13326b;
    border-color: #13326b;
}

.header {
    padding: 20px 0;
    background: #fff;
}

.header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.logo__title {
    font-size: 39px;
    font-weight: 900;
    color: var(--color-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.logo__subtitle {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-main);
    text-transform: uppercase;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 16px;
}

.contact-phone {
    font-weight: 600;
    color: #000;
    margin-bottom: 2px;
}

.contact-email {
    color: var(--color-text-gray);
    font-weight: 400;
}

.hero {
    padding-bottom: 50px;
    margin-top: 10px;
}

.hero__card {
    background-color: var(--bg-hero-solid);
    background-image: 
        linear-gradient(90deg, var(--bg-hero-solid) 45%, rgba(202, 206, 212, 0) 75%),
        url('img/bg.jpg');
    background-position: center, right center;
    background-repeat: no-repeat;
    background-size: cover, auto 100%;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    position: relative;
}

.hero__content {
    width: 630px;
    padding: 134px 0 80px 90px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero__title {
	font-size: clamp(1.625rem, 0.375rem + 4vw, 2.625rem);
	line-height: 1.2;
	font-weight: 700;
	color: #21374c;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.hero__desc {
	font-size: clamp(0.875rem, 0.4844rem + 1.25vw, 1.1875rem);
	color: #5A6470;
	line-height: 1.2;
	margin-bottom: 35px;
	max-width: 520px;
	font-weight: 400;
	text-transform: uppercase;
}

.hero__certs {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.cert-item img {
	display: block;
	height: clamp(2.5rem, 0.1563rem + 7.5vw, 4.375rem);
	width: auto;
}

.details__wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.details__info {
    flex: 0 0 450px;
    width: 450px;
}

.details__title {
	font-size: clamp(1.875rem, 0.9375rem + 3vw, 2.625rem);
	font-weight: 700;
	color: #21374c;
	text-transform: uppercase;
	line-height: 1.2;
	margin-bottom: 30px;
	margin-top: 50px;
}

.details__text p {
	font-size: clamp(1.125rem, 0.8125rem + 1vw, 1.375rem);
	color: #283949;
	margin-bottom: 25px;
	line-height: 1.2;
}

.details__grid {
    flex: 0 1 930px;
    width: 930px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.detail-card {
    background-color: var(--bg-card-light);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: background-color 0.3s ease;
}

.detail-card:hover {
    background-color: var(--bg-card-hover);
}

.detail-card__icon {
    margin-bottom: 20px;
    font-size: 44px;
    color: #475d84;
}

.detail-card__title {
	font-size: 22px;
	font-weight: 700;
	color: #283949;
	margin-bottom: 10px;
}

.detail-card__desc {
	font-size: 16px;
	color: #4d5e6e;
	line-height: 1.2;
}

.tasks {
    padding: 80px 0;
}

.tasks__header {
    margin-bottom: 50px;
}

.tasks__title {
    font-size: clamp(1.875rem, 0.9375rem + 3vw, 2.625rem);
    font-weight: 700;
    color: #21374c;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 20px;
}

.tasks__desc {
    font-size: 18px;
    color: #5A6470;
    max-width: 900px;
    line-height: 1.5;
}

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

.task-card {
    background-color: var(--bg-card-hover);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: clamp(12.75rem, 4.4688rem + 26.5vw, 19.375rem);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.task-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(26, 86, 219, 0.1);
}

.task-card--wide {
    grid-column: span 2;
}

.task-card__num {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-blue);
    margin-bottom: 20px;
}

.task-card__text {
    font-size: clamp(1rem, 0.6875rem + 1vw, 1.25rem);
    font-weight: 600;
    color: #283949;
    line-height: 1.4;
    max-width: 90%;
    z-index: 2;
    position: relative;
}

.task-card__img-wrapper {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    max-width: 250px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 1;
}

.task-card__img-wrapper img {
    display: block;
    max-width: clamp(8.75rem, 3.125rem + 18vw, 13.25rem);
    height: auto;
}

.how-we-work {
    background-color: #475d84;
    background-image: url('img/bg2.jpg');
    background-position: right 20% center;
    background-repeat: no-repeat;
    padding: 80px 0;
    color: #fff;
    overflow: hidden;
}

.how-we-work__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.how-we-work__info {
    max-width: 600px;
    flex: 1;
}

.how-we-work__title {
    font-size: clamp(1.875rem, 0.9375rem + 3vw, 2.625rem);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.how-we-work__subtitle {
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 40px;
    opacity: 0.9;
}

.how-we-work__text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.how-we-work__text {
    margin-bottom: 40px;
}

.how-we-work__cards {
    flex: 0 0 450px;
    width: 450px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.work-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px 30px;
    color: #333;
}

.work-card__title {
    font-size: clamp(1rem, 0.6875rem + 1vw, 1.25rem);
    font-weight: 700;
    color: var(--color-blue);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.work-card__desc {
    font-size: clamp(0.875rem, 0.5625rem + 1vw, 1.125rem);
    color: #555;
}

.goz {
    padding: 80px 0;
    background-image: url('img/bg3.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fff;
}

.goz__header {
    text-align: center;
    margin-bottom: 60px;
}

.goz__title {
    font-size: clamp(1.875rem, 0.9375rem + 3vw, 2.625rem);
    font-weight: 800;
    color: #21374c;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.2;
}

.goz__subtitle {
    font-size: 16px;
    color: #21374c;
    line-height: 1.5;
    font-weight: 600;
    text-transform: uppercase;
}

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

.goz-card {
    background-color: #1b50b0;
    color: #fff;
    border-radius: 30px;
    padding: 30px 30px 150px 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.goz-card:hover {
    transform: translateY(-5px);
}

.goz-card__bg-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: auto;
    z-index: 0;
    opacity: 1;
    pointer-events: none;
}

.goz-card__title {
    position: relative;
    z-index: 1;
    font-size: clamp(1.125rem, 0.6563rem + 1.5vw, 1.5rem);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: 1.3;
}

.goz-card__text {
    position: relative;
    z-index: 1;
    font-size: clamp(0.875rem, 0.5625rem + 1vw, 1.125rem);
    line-height: 1.4;
    opacity: 0.9;
    text-transform: uppercase;
}

.scheme {
    padding: clamp(0rem, -6.25rem + 20vw, 5rem);
}

.scheme__title {
    text-align: center;
    font-size: clamp(1.875rem, 0.9375rem + 3vw, 2.625rem);
    font-weight: 800;
    color: #21374c;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.scheme__list {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    position: relative;
}

.scheme__line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #bccce1;
    z-index: 0;
}

.scheme-item {
    flex: 0 0 210px;
    width: 210px;
    background-color: #fff;
    border: 2px solid #bccce1;
    border-radius: 20px;
    padding: 25px 20px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.scheme-item:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--color-blue);
    transform: translateY(-5px);
}

.scheme-item__num {
    font-size: 18px;
    font-weight: 700;
    color: #1b50b0;
    margin-bottom: 15px;
}

.scheme-item__title {
    font-size: 18px;
    font-weight: 700;
    color: #1b50b0;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.scheme-item__text {
    font-size: 14px;
    color: #555;
    line-height: 1.2;
}

.request {
    padding: 60px 0 100px 0;
}

.request__card {
    background-color: #1b50b0;
    border-radius: 40px;
    padding: 60px;
    color: #fff;
    overflow: hidden;
}

.request__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.request__content {
    max-width: 580px;
    flex: 1;
}

.request__title {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
}

.request__desc {
    font-size: clamp(1rem, 0.7656rem + 0.75vw, 1.1875rem);
    line-height: 1.5;
    margin-bottom: 40px;
    opacity: 0.9;
}

.request__meta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.request__icon-box {
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 24px;
}

.request__meta-text {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
}

.request__form {
    background-color: #fff;
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 480px;
    color: #333;
    flex-shrink: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #000;
}

.form-input {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-family: inherit;
    font-size: 16px;
    outline: none;
    transition: border 0.3s;
}

.form-input:focus {
    border-color: #1b50b0;
}

.file-upload {
    display: block;
    cursor: pointer;
}
.file-upload__input {
    display: none;
}
.file-upload__box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    border: 2px dashed #ccc;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s;
}
.file-upload:hover .file-upload__box {
    border-color: #1b50b0;
    background-color: #f9f9f9;
}

.btn-submit {
    width: 100%;
    background-color: #000;
    color: #fff;
    border: none;
    height: 55px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
    font-family: inherit;
}
.btn-submit:hover {
    background-color: #333;
}

.form-policy {
    font-size: 10px;
    color: #999;
    text-align: center;
    margin-top: 15px;
    line-height: 1.3;
}

.footer {
    padding: 60px 0;
    border-top: 1px solid #eaeaea;
    margin-top: 40px;
}

.footer__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.footer__col {
    flex: 1;
    min-width: 250px;
}

.footer__title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer__text {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    max-width: 300px;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__link {
    font-size: 16px;
    color: #333;
    transition: 0.3s;
}
.footer__link:hover {
    color: #1b50b0;
}

@media (max-width: 1200px) {
    .scheme__list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        justify-items: center;
    }
    
    .scheme-item {
        flex: auto;
        width: 100%;
        max-width: 300px;
    }

    .scheme__line {
        display: none;
    }
}

@media (max-width: 1300px) {
    .goz__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero__card {
        background-image: 
            linear-gradient(90deg, var(--bg-hero-solid) 55%, rgba(202, 206, 212, 0) 90%),
            url('img/bg.jpg');
    }
    .hero__content {
        width: 570px;
        padding: 40px 0 40px 40px;
    }

    .details__title {
        margin-top: 0;
    }
    .details__title br {
        display: none;
    }
    .details__wrapper {
        flex-direction: column;
    }
    .details__info {
        flex: auto;
        width: 100%;
        max-width: none;
        text-align: center;
    }
    .details__grid {
        width: 100%;
        flex: auto;
    }

    .tasks__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .task-card--wide {
        grid-column: span 2;
    }

    .how-we-work__wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    .how-we-work__info {
        max-width: 100%;
        margin-bottom: 30px;
    }
    .how-we-work__cards {
        width: 100%;
        flex: auto;
    }
    .scheme__list {
        grid-template-columns: repeat(2, 1fr);
    }
    .request__card {
        padding: 40px;
    }
    .request__wrapper {
        flex-direction: column;
        align-items: center;
    }
    .request__content {
        text-align: center;
        max-width: 100%;
    }
    .request__meta {
        justify-content: center;
        text-align: left;
    }
    .request__form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header__wrapper {
        flex-direction: column;
        gap: 15px;
    }
    .header__actions {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        align-items: center;
    }
    .header__contacts {
        align-items: center;
        text-align: center;
    }

    .hero__card {
        flex-direction: column;
        justify-content: flex-start;
        background-image: 
             linear-gradient(rgba(202, 206, 212, 1), rgba(202, 206, 212, 0.85)),
             url('img/bg.jpg');
        background-position: bottom right;
        background-size: 120% auto;
    }
    .hero__content {
        width: 100%;
        padding: 40px 20px;
        align-items: center;
        text-align: center;
    }

    .details__grid {
        grid-template-columns: 1fr;
    }

    .tasks__grid {
        grid-template-columns: 1fr;
    }
    .task-card--wide,
    .task-card:last-child {
        grid-column: auto;
    }

    .how-we-work {
        background-position: center;
        text-align: center;
    }
    .how-we-work__wrapper {
        align-items: center;
    }
    .work-card {
        text-align: left;
    }
    .goz__grid {
        grid-template-columns: 1fr;
    }
    
    .goz__title {
        font-size: 24px;
    }
    
    .goz__subtitle {
        font-size: 14px;
    }
    
    .goz-card {
        padding-bottom: 140px;
    }
   .scheme__list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
        justify-items: start;
        border-left: 2px solid #e0e6ed;
        margin-left: 25px;
        padding-left: 30px;
    }

    .scheme-item {
        width: auto;
        max-width: none;
        flex: auto;
        border: none;
        background: transparent;
        padding: 0;
        border-radius: 0;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
    }

    .scheme-item:hover {
        background-color: transparent;
        border: none;
        transform: none;
    }

    .scheme-item__num {
        position: absolute;
        left: -51px;
        width: 44px;
        height: 44px;
        background-color: #fff;
        border: 2px solid var(--color-blue);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        margin-bottom: 0;
        z-index: 2;
    }

    .scheme-item__content {
        padding-top: 5px;
    }
    .request {
        padding: 40px 0 60px 0;
    }
    .request__card {
        padding: 30px 20px;
        border-radius: 30px;
    }
    .request__title {
        font-size: 26px;
    }
    
    .footer__wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .footer__col {
        width: 100%;
        min-width: auto;
    }
}
.fb {opacity: 0;}