/*ÐžÐ±Ñ‰Ð¸Ðµ ÑÑ‚Ð¸Ð»Ð¸*/
/*----------------------------------------------------------------------------------------------------------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
}

html, body {
    background-color: #FFF;
    overflow-x: hidden;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
}

/*----------------------------------------------------------------------------------------------------------------------------------*/

/*Ð—Ð°Ð³Ð¾Ð»Ð¾Ð²ÐºÐ¸, Ð¢ÐµÐºÑÑ‚Ñ‹*/
/*----------------------------------------------------------------------------------------------------------------------------------*/
p {
    font-family: 'Montserrat', sans-serif;
}

a {
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
}

h1, h2 {
    font-family: 'Montserrat', sans-serif;
}
/*----------------------------------------------------------------------------------------------------------------------------------*/

/*Ð¨Ð°Ð¿ÐºÐ°*/
/*----------------------------------------------------------------------------------------------------------------------------------*/
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 50;
}

.header::before {
    content: "";
    background-color: #16A180;
    box-shadow: 0px 2px 10px 1px rgba(4, 10, 27, 0.12);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.header_body {
    position: relative;
    display: flex;
    justify-content: space-between;
    height: 80px;
    align-items: center;
}

.header_logo {
    z-index: 3;
    flex: 0 0 200px;
}

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

.header_burger {
    display: none;
	margin-right:24px;
}

.header_list {
    display: flex;
    position: relative;
    z-index: 2;
}

.header_list li {
    list-style: none;
}

.header_link {
	color: #FFF;
	text-decoration: none;
	font-family: 'Montserrat', sans-serif;
	font-style: normal;
	line-height: normal;
	font-size: 20px;
	font-weight: 600;
	border: 1px solid #FFF;
	border-radius: 12px;
	padding: 18px 77px;
}
/*----------------------------------------------------------------------------------------------------------------------------------*/

/*ÐšÐ¾Ð½Ñ‚ÐµÐ½Ñ‚*/
/*----------------------------------------------------------------------------------------------------------------------------------*/
.main {
    margin-top: 150px;
    padding-bottom: 50px;
    height: 100%;
	padding:15px;
}

.block_1 {
    display: flex;
    gap: 60px;
}

/* картинка держит размер, текстовая колонка сжимается и переносит текст,
   иначе на ширине 769–1320px колонка вылезает за вьюпорт */
.image_1 {
    display: flex;
    flex: 0 0 auto;
    border: 3px solid rgba(22, 161, 128, 0.50);
    border-radius: 12px;
}

.container_text_1 {
    flex: 1 1 0;
    min-width: 0;
}

.image_1 img {
	width: 500px;
	height: 320px;
	border-radius: 10px;
}

.container_text_1 h1 {
    font-size: 32px;
    font-weight: 700;
}

.container_text_1 span {
    color: #16A180;
}

.container_text_1 p {
    margin-top: 32px;
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
}

.container_button_1 {
    margin-top: 24px;
    display: flex;
    justify-content: end;
    gap: 8px;
}

.button_1 {
    color: #FFF;
    background-color: #16A180;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    padding: 18px 50px;
    border-radius: 12px;
}

.block_2 {
    display: flex;
}

.text_style_1 {
	position: relative;
	top: 60px;
	left: 75px;
	max-width: calc(100% - 80px); /* компенсируем сдвиг left:75px, чтобы блок не вылезал за вьюпорт */
	color: #FFF;
	font-size: 32px;
	font-weight: 700;
}

.container_form {
	width:855px;
	max-width: 100%;
    background-color: #16A180;
    padding: 65px 80px 35px 80px;
    border-radius: 24px 0px 0px 24px;
}

.container_form p {
    color: #FFF;
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    max-width: 465px;
}

.container_form span {
    font-weight: 700;
}

form {
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.container_form input {
    box-sizing: border-box;
    color: #FFF;
    width: 100%;
    max-width: 465px;
    height: 60px;
    padding: 0 24px;
    background: none;
    outline: none;
    border-radius: 12px;
    border: 1px solid #FFF;
    font-size: 16px;
    font-weight: 400;
}

::placeholder {
    color: #FFF;
}

.container_form input:focus {
    border:  3px solid #FFF;
}

.button_2 {
    color: #16A180;
    background-color: #FFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    border: none;
    padding: 18px 70px;
    border-radius: 12px;
    width: 465px;
    cursor: pointer;
    transition: background-color .2s, color .2s, transform .1s, opacity .2s;
}

.button_2:hover:not(:disabled) {
    background-color: #16A180;
    color: #FFF;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.button_2:active:not(:disabled) {
    transform: translateY(1px);
}

.button_2:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.consent {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 465px;
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.35;
    color: #FFF;
    cursor: pointer;
}

/* input[type=checkbox] — специфичнее, чем .container_form input{width:100%} в медиа-запросах,
   иначе чекбокс растягивается на всю строку и текст согласия схлопывается */
.consent input[type="checkbox"] {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #16A180;
}

.consent span {
    flex: 1 1 0;           /* basis 0 → span растягивается на остаток ширины, текст переносится по словам */
    min-width: 0;
    text-align: left;
}

.consent a {
    color: #FFF;
    text-decoration: underline;
}

/* Попап результата отправки */
.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.55);
    animation: popupFade .2s ease;
}

.popup-overlay[hidden] {
    display: none;
}

@keyframes popupFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.popup {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 380px;
    padding: 44px 32px 36px;
    border-radius: 24px;
    background: #FFF;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    animation: popupPop .25s ease;
}

@keyframes popupPop {
    from { transform: translateY(16px) scale(.96); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}

.popup__close {
    position: absolute;
    top: 14px;
    right: 18px;
    border: none;
    background: none;
    font-size: 30px;
    line-height: 1;
    color: #b3b3b3;
    cursor: pointer;
    transition: color .15s;
}

.popup__close:hover {
    color: #555;
}

.popup__icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 700;
    color: #FFF;
}

.popup-overlay--ok .popup__icon {
    background: #16A180;
}

.popup-overlay--ok .popup__icon::before {
    content: "\2713"; /* ✓ */
}

.popup-overlay--err .popup__icon {
    background: #c0392b;
}

.popup-overlay--err .popup__icon::before {
    content: "!";
}

.popup__text {
    margin: 0 0 28px;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    color: #222;
}

.popup__btn {
    border: none;
    border-radius: 12px;
    padding: 14px 44px;
    background: #16A180;
    color: #FFF;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s;
}

.popup__btn:hover {
    background: #11806a;
}

.container_tile {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    width: 465px;
    padding: 65px 80px;
	border-radius: 0px 24px 24px 0px;
    background: linear-gradient(0deg, rgba(22, 161, 128, 0.60) 0%, rgba(22, 161, 128, 0.60) 100%), url(../img/image_3.jpg), lightgray 50% / cover no-repeat;
}

.tile {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: start;
}

.tile p {
    color: #FFF;
    font-size: 16px;
    font-weight: 400;
}
/*----------------------------------------------------------------------------------------------------------------------------------*/

/*ÐŸÐ¾Ð´Ð²Ð°Ð»*/
/*----------------------------------------------------------------------------------------------------------------------------------*/
.footer {
    background-color: #FFF;
    display: flex;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    margin-bottom: 30px;
}

.footer p {
    color: rgba(0, 0, 0, 0.50);
    font-size: 16px;
    font-weight: 400;
	padding:0px 10px;
}

.footer a {
    color: rgba(0, 0, 0, 0.50);
    font-size: 16px;
    font-weight: 600;
}
/*----------------------------------------------------------------------------------------------------------------------------------*/

/*ÐÐ´Ð°Ð¿Ñ‚Ð°Ñ†Ð¸Ñ Ð¿Ð¾Ð´ ÑƒÑÑ‚Ñ€Ð¾Ð¹ÑÑ‚Ð²Ð°*/
/*----------------------------------------------------------------------------------------------------------------------------------*/

@media (max-width: 500px) {

.image_1 img {
	width: auto;
	height: auto;
	border-radius: 10px;
}

.header_link {
	color: #FFF;
	text-decoration: none;
	font-family: 'Montserrat', sans-serif;
	font-style: normal;
	line-height: normal;
	font-size: 20px;
	font-weight: 600;
	border: 1px solid #FFF;
	border-radius: 12px;
	padding: 18px 77px;
}

.text_style_1 {
	position: relative;
	top: 60px;
	left: 55px;
	color: #FFF;
	font-size: 22px;
	font-weight: 700;
	width: 92%;
}

.container_form {
	width:auto;
	background-color: #16A180;
	padding: 65px 30px 35px 30px;
	border-radius: 24px 24px 24px 24px;
}

.container_form input {
    width: auto;
}

.tile {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

}


@media (max-width: 1024px) {
    .container {
        max-width: none;
    }

    .header_link {
	padding: 8px 55px;
	float: right;
    }

    .block_1 {
        flex-direction: column;
        gap: 20px;
    }


    .container_image_1 {
        display: flex;
        justify-content: center;
    }

    .image_1 {
        width: auto;
        max-width: 100%;
    }

    .image_1 img {
        width: 100%;
        max-width: 500px;
		height: auto;
    }

    .block_2 {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .container_tile {
		border-radius: 24px 24px 24px 24px;
        position: relative;
        padding: 100px 0px 40px 0px;
        width: auto;
    }

    .text_style_1 {
        top: 80px;
        left: 20px;
        width: 88%;
        z-index: 2;
		font-size:22px;
    }

    form {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .container_form input {
    width: 100%;
    }

    .container_form p {
        width: 100%;
    }
	
	.container_form {
	width:auto;
	background-color: #16A180;
	padding: 65px 30px 35px 30px;
	border-radius: 24px 24px 24px 24px;
}

.tile {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}
	
}

@media (max-width: 480px) {
    .main {
        margin-top: 70px;
    }

    .container {
        max-width: 97%;
    }

    .header_body {
        height: 64px;
    }

    .header_logo {
        flex: 0 0 150px;
    }

    .header_menu {
        display: none;
    }

    .header_burger {
        display: block;
        width: 24px;
        height: 24px;
        z-index: 3;
		margin-right:8px;
    }

    .block_1 {
        gap: 20px;
    }

    .container_image_1 {
        width: 100%;
    }
    
    .image_1 img {
        width: 100%;
	    height: auto;
    }

    .container_text_1 h1 {
        position: relative;
        background-color: #FFF;
        font-size: 15px;
		text-align:center;
    }

    .container_text_1 p {
        font-size: 14px;
        margin-top: 15px;
    }

    .container_text_1-1 {
        display: flex;
        flex-direction: column-reverse;
    }

    .container_button_1 {
        flex-direction: column-reverse;
        text-align: center;
    }

    .button_1 {
        font-size: 16px;
    }

    .text_style_1 {
        position: relative;
        top: 80px;
        width: 80%;
        font-size: 16px;
    }

    .block_2 {
        width: auto;
    }

.tile {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

    .tile p {
        font-size: 14px;
		width: 55%;
    }

    .container_tile {
        width: 100%;
        padding: 100px 0px 40px 0px;
		border-radius: 24px 24px 24px 24px;
    }
	
	.container_form {
	width:auto;
	background-color: #16A180;
	padding: 65px 30px 35px 30px;
	border-radius: 24px 24px 24px 24px;
}
    
    .container_form p {
        font-size: 14px;
    }

    .container_form input {
        width: 100%;
        font-size: 14px;
    }

    .button_2 {
        font-size: 16px;
        padding: 18px 10px;
    }

    .footer {
        width: 100%;
    }

    .footer p {
        color: rgba(0, 0, 0, 0.50);
        font-size: 12px;
		padding:0px 10px;
    }
    
    .footer a {
        color: rgba(0, 0, 0, 0.50);
        font-size: 12px;
    }
}

@media (max-width: 201px) {
	 .main {
        margin-top: 70px;
    }

    .container {
        max-width: 195px;
    }

    .header_body {
        height: auto;
    }

    .header_logo {
        flex: 0 0 150px;
    }

    .header_menu {
        display: none;
    }

    .header_burger {
        display: block;
        width: 24px;
        height: 24px;
        z-index: 3;
		margin-right:8px;
    }

    .block_1 {
        gap: 20px;
    }

    .container_image_1 {
        width: 98%;
    }
    
    .image_1 img {
        width: 98%;
        height: auto;
    }

    .container_text_1 h1 {
        position: relative;
        background-color: #FFF;
        font-size: 20px;
        padding: 10px 0;
    }

    .container_text_1 p {
        font-size: 14px;
        margin-top: 15px;
    }

    .container_text_1-1 {
        height: auto;
        display: flex;
        flex-direction: column-reverse;
    }

    .container_button_1 {
        flex-direction: column-reverse;
        text-align: center;
    }

    .button_1 {
        font-size: 16px;
    }

    .text_style_1 {
        position: relative;
        top: 80px;
        left: 15px;
        width: 98%;
        font-size: 16px;
    }

    .block_2 {
        width: 98%;
    }

.tile {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

    .tile p {
        font-size: 14px;
    }

    .container_tile {
        width: 100%;
        padding: 100px 0px 40px 0px;
		border-radius: 24px 24px 24px 24px;
    }

    .container_form {
	width: auto;
	background-color: #16A180;
	padding: 65px 30px 35px 30px;
	border-radius: 24px 24px 24px 24px;
    }
    
    .container_form p {
        font-size: 14px;
    }

    .container_form input {
        width: 100%;
        font-size: 14px;
    }

    .button_2 {
        font-size: 16px;
        padding: 18px 10px;
    }

    .footer {
        width: 100%;
    }

    .footer p {
        color: rgba(0, 0, 0, 0.50);
        font-size: 12px;
		padding:0px 10px;
    }
    
    .footer a {
        color: rgba(0, 0, 0, 0.50);
        font-size: 12px;
    }
	
	
}	

/*----------------------------------------------------------------------------------------------------------------------------------*/
