/*
Theme Name: Custom
*/

:root {
    --white: #ffffff;
    --black: #000000;
    --dark: #585858;
    --dark-blue: #304952;
    --grey: #eeeeee;
	--grey-2: #fef5e8;
    --blue-green: #fca31b;
    --blue-green_hover: #fc751b;

    --fz-desktop: 18px;
    --fz-tablet: 16px;
    --fz-mobile: 14px;
    --fz-small-title: 20px;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

.page {
    min-height: 100%;
    margin: 0;
    font-family: "Open Sans", "Arial", sans-serif;
    font-weight: 400;
    font-size: var(--fz-desktop);
    line-height: 1.4;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
}

.list,
.section--conctruction ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.section--conctruction li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-left: 1rem;
}

.section--conctruction li::before {
    content: "";
    position: relative;
    top: 10px;
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: var(--dark);
}

.conctruction__one {
	display: flex;
	align-items: center;
}

.conctruction__one-sl {
	flex: 1 1 50%;
    max-width: 80%;
}

.conctruction--text {
	text-align: left;
	width: 500px;
}

.conctruction h3 {
	text-align: left;
}

.toggle-switch {
    display: flex;
    gap: 10px; /* Отступ между кнопками */
	justify-content: center;
	margin-bottom: 10px;
}

.toggle-button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.toggle-button.active {
    background-color: var(--blue-green); 
    color: #FFFFFF;
}

.toggle-button:not(.active) {
    background-color: #aaaaaa; 
    color: #FFFFFF;
}


.container {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

a:not([class]) {
    font-weight: bold;
    color: var(--black);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:not([class]):hover {
    color: var(--blue-green);
}

/* Кнопка */
.btn,
.feedback input[type=submit] {
    display: block;
    box-sizing: border-box;
    max-width: 180px;
    min-width: 220px;
    margin-left: auto;
    margin-right: auto;
    padding: 15px;

    text-align: center;
    text-decoration: none;
    font: inherit;
    font-weight: 700;

    color: var(--white);
    background-color: var(--blue-green);
    border-radius: 2px;
    border: none;
    cursor: pointer;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease;
}

.btn:hover {
    background-color: var(--blue-green_hover);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); 
}

@media (max-width: 767px) {
	.btn {
		max-width: 100%;
	}
}


/* Форма */

feedback {
  font-family: Arial, sans-serif;
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
  position: relative;
}

.form-group p {
	margin: 0;
}

.form-group input {
  width: 100%;
  padding: 10px 40px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.form-group .icon {
  position: absolute;
  top: 30%;
  left: 10px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  pointer-events: none; /* Иконка не мешает кликам */
}

.feedback__submit {
	margin-top: 0;
}

.feedback__submit button {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  color: #fff;
  background: #ffa500;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.feedback__submit button:hover {
  background: #ff8c00;
}

.constructions__list {
    display: flex;
	flex-direction: column;
/*     grid-template-columns: repeat(4, 1fr); */
/*     gap: 20px; */
}

.constructions__item {
    padding: 1rem;
    display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
    align-items: center;
    text-align: center;
    border: solid 1px #aaaaaa;
	transition: box-shadow 0.3s ease;
}

  .constructions__item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  } 

.constructions__item h3 {
    margin-top: 2rem;
	text-align: left;
}

.constructions__item p {
    margin-bottom: 2rem;
}

.constructions__text {
	flex-basis: 30%;
	margin: auto;
    text-align: left;
	max-width: 450px;
}

.constructions__price {
    font-weight: 700;
    font-size: 18px; /* Larger size for emphasis */
    color: #212529; /* Darker color for the price */
}

.constructions__price-currency {
	margin-left: 10px;
	margin-right: 10px;
	font-size: 14px;
    color: var(--dark-blue);
}

.constructions__btn {
    display: block;
    box-sizing: border-box;
    max-width: 180px;
    min-width: 220px;
    margin-left: auto;
    margin-right: auto;
    padding: 15px;

    text-align: center;
    text-decoration: none;
    font: inherit;
    font-weight: 600;

    color: var(--black);
    background-color: transparent;
    border-radius: 10px;
    border: solid 2px var(--blue-green);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.constructions__btn:hover {
    border: solid 2px var(--blue-green_hover);
}

@media (max-width: 991px) {
    .constructions__list {
        grid-template-columns: repeat(2, 1fr);
    }
	
    .constructions__item h3 {
        margin-top: 1rem;
        margin-bottom: 0;
    }

    .constructions__item p {
        margin: 1rem 0;
    }
	
	.constructions__text {
	min-width: 450px;
}

    .constructions__btn {
        margin-top: 1.5rem;
    }
}

@media (max-width: 767px) {
    .constructions__list {
        gap: 1rem;
    }
		.constructions__item {
		flex-direction: column;
	}
	
    .constructions__item img {
        width: 300px;
        height: 300px;
    }
	
	.constructions__text {
		min-width: 100px;
		text-align: center;
	}
	
	.constructions__text h3{
		text-align: center;
	}
	
	.constructions__btn {
		max-width: 100%;
	}
}

@media (max-width: 480px) {
    .constructions__list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .constructions__item img {
        width: 300px;
        height: 300px;
    }
}

.delivery {
    max-width: 800px;
    text-align: center;
}

.feedback {
    max-width: 700px;
    margin: 0 auto;
}

.feedback h4 {
    margin-bottom: 25px;
}

.feedback input:not([type="submit"]),
.feedback textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto;
/*     margin-bottom: 10px; */
    padding: 10px 40px;
    font: inherit;
    border-radius: 5px;
    border: 2px solid var(--blue-green);
    transition: border-color 0.2s ease;
}

.nf-field-container {
	margin-top: 10px;
}

.nf-error, .nf-error-msg {
	color: red;
}

.feedback input:hover {
    border-color: var(--dark);
}

.feedback input:focus {
    border-color: var(--dark);
    outline: none;
}

.feedback__submit {
    margin-top: 2rem;
}

.nf-form-fields-required,
.nf-form-hp {
	display: none;
}

.footer {
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: var(--dark);
    color: var(--white);
    font-size: 20px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    gap: 20px;
}

.footer__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    text-align: center;
}

.footer__social {
	position: relative;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
}

.footer__social::before {
	content: '';
	width: 28px;
	height: 28px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.footer__social--wa::before {
	background-image: url("https://b830b4a04042.spectrum.myjino.ru/wp-content/uploads/2024/07/whatsapp_icon.svg");
}

.footer__social--tg::before {
	background-image: url("https://b830b4a04042.spectrum.myjino.ru/wp-content/uploads/2024/07/telegram_icon-2.svg");
}

.footer__link {
    font-weight: normal;
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__link:hover {
    color: var(--blue-green);
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

.footer__contacts p {
    margin: 0;
}

@media (max-width: 991px) {
    .footer {
        font-size: inherit;
    }
}

@media (max-width: 767px) {
    .footer {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .footer__list {
        gap: 0.5rem;
    }

    .footer__contacts {
        gap: 0.5rem;
    }
}

@media (max-width: 610px) {
    .footer__inner {
        flex-direction: column;
        justify-content: center;
    }
}

.section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.section--grey {
    background-color: var(--grey);
}

.section__title {
    margin-top: 0;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
}

.section__subtitle {
    margin: 4rem 0 2rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.5rem;
}

h3 {
    font-size: var(--fz-small-title);
    font-weight: 700;
    text-align: center;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
	margin-bottom: 40px;
}

.col {
    flex: 1 1 50%;
    max-width: 80%;
}

.footnote {
    color: var(--blue-green);
    font-weight: 700;
}

@media (max-width: 1199px) {
    .page {
        font-size: var(--fz-mobile);
    }

    .list__item::before {
        top: 8px;
    }
}

@media (max-width: 991px) {
    .page {
        font-size: var(--fz-tablet);
    }

    .section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .section__title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .row {
        flex-direction: column;
    }

    .col {
        flex-basis: 100%;
        max-width: 100%;
    }

    .col--first {
        order: -1;
    }

    .section__title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .section__subtitle {
        font-size: 18px;
        font-weight: 700;
    }

    h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .page {
        font-size: var(--fz-mobile);
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .row {
        gap: 20px;
    }

    .section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .section__subtitle {
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }

    h3 {
        font-size: 16px;
    }
	
	.footer__social::before {
	width: 18px;
	height: 18px;
}


    .list__item::before {
        top: 7px;
    }
}

.header {
    position: sticky;
    top: 0;
    background-color: #333333;
    color: var(--white);
    text-align: center;
    z-index: 10000;
}

.header__inner {
    padding-top: 15px;
    padding-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* MENU burger*/
.header__burger {
    display: none;
    position: relative;
    width: 30px;
    height: 18px;
    border: none;
    padding: 0;
    background-color: transparent;
    cursor: pointer;
}

.header__burger-line {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    background-color: var(--blue-green);
    transform: translateY(-50%);
    transition: opacity 0.3s ease-in-out;
}

.header__burger::before,
.header__burger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--blue-green);
    transition: transform 0.3s ease-in-out, top 0.3s ease-in-out,
        bottom 0.3s ease-in-out;
}

.header__burger::before {
    top: 0;
}

.header__burger::after {
    bottom: 0;
}

.burger--active .header__burger-line {
    opacity: 0;
}

.burger--active::before {
    top: 50%;
    transform: rotate(45deg);
}

.burger--active::after {
    bottom: auto;
    top: 50%;
    transform: rotate(-45deg);
}

.stop-scroll {
    overflow: hidden;
}

.logo_img {
    margin: auto;
    display: block;
}

.header__nav {
    text-align: left;
}

.nav__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.nav__item {
    margin-right: 15px;
}

.nav__link {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
}

.nav__link:hover {
    color: var(--blue-green);
}

.header__contacts {
	display: flex;
}

.header__contacts-social {
	text-align: left;
	display: flex;
    gap: 8px;
	margin-left: 30px;
}

.header__contacts-tel {
    display: flex;
	justify-content: space-between;
    flex-direction: column;
    flex-wrap: nowrap;
}

.header__contacts p {
    margin: 0;
}

.header__contacts a {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
}

.header__contacts a:hover {
    color: var(--blue-green);
}

.header__social {
	position: relative;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
}

.header__social::before {
	content: '';
	width: 28px;
	height: 28px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.header__social--tg::before {
	background-image: url("https://backdropevent.ru/wp-content/uploads/2026/04/telegram.svg");
}

.header__social--max::before {
	background-image: url("https://backdropevent.ru/wp-content/uploads/2026/04/max-1.svg");
}

@media (max-width: 1199px) {
    .header__logo {
        display: flex;
        align-items: center;
        width: 150px;
        height: 30px;
    }
}

@media (max-width: 991px) {
    .header__contacts {
        display: none;
    }

    /* MENU burger*/
    .header__burger {
        display: block;
    }

    .header__nav {
        position: fixed;
        left: 0;
        top: 60px;
        z-index: 1000;
        overflow-y: auto;
        width: 100%;
        height: 100vh;
        background-color: var(--dark);
        transform: translateX(-100%);
        transition: transform 0.2s ease;
    }

    .header__nav--visible {
        transform: none;
    }

    .nav__list {
        flex-direction: column;
        padding-top: 2rem;
        text-align: center;
    }

    .nav__item {
        margin-right: 0;
    }

    .nav__link {
        display: block;
        padding: 1rem;
        font-weight: 600;
    }
}

.hero {
    background-color: var(--dark);
    color: var(--white);
}

.hero__title {
    margin-bottom: 2rem;
    text-align: left;
}

.hero__btn {
    margin: 2rem 0 0;
	padding: 15px;
}

/* .hero_slider {
	    width: 100%;
} */

@media (max-width: 991px) {
    .hero__title {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .hero {
        padding-top: 2rem;
    }

    .hero__title {
        margin-bottom: 1rem;
		text-align: center;
		max-width: 450px;
    }
	
	.hero__descr {
		text-align: center;
		max-width: 450px;
	}

    .hero__btn {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 1rem;
    }

    .hero__btn {
        width: 100%;
        margin-top: 1.5rem;
    }
}

.services {
    display: flex;
    align-content: center;
    text-align: center;
    justify-content: space-evenly;
    gap: 20px;
}

.services__item {
    flex-basis: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border: solid 1px #aaaaaa;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.services__item p {
    margin: 0;
}

  .services__item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  } 

.services__image {
    width: 120px;
    height: 120px;
}

.services__text-block {
	text-align: left;
	margin-left: 40px
}

@media (max-width: 1199px) {
    .services {
        flex-wrap: wrap;
    }

    .services__item {
        flex-basis: 28%;
/*      flex-grow: 1; */
    }
}

@media (max-width: 767px) {
    .services {
        flex-direction: column;
        text-align: left;
    }

    .services__item {
        flex-direction: column;
        gap: 30px;
    }

    .services__image {
        width: 100px;
        height: 100px;
    }

    .services__item h3 {
        margin-top: 0;
        margin-bottom: 0.5rem;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .services {
/*         gap: 20px; */
    }

    .services__item {
        gap: 20px;
    }

    .services__image {
        width: 60px;
        height: 60px;
    }
}

.table-wrap {
    margin-bottom: 2rem;
    margin-right: -15px;
/*     padding-right: 15px; */
    overflow: auto;
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1)
}

.table-wrap:hover {
	box-shadow: 0 8px 8px rgba(0, 0, 0, 0.2)
}

.table-wrap table {
    margin: 0 auto;
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    overflow-x: hidden;
}

.table-wrap td {
    padding: 0.5rem;
}

.table-wrap thead {
    background-color: var(--dark);
    color: var(--white);
}

/* .table__head td {
    width: 20%;
} */

.table-wrap thead td:first-child {
    border-top-left-radius: 2px;
}

.table-wrap thead td:last-child {
    border-top-right-radius: 2px;
}

.table-wrap tbody tr {
    background: var(--white);
}

.table-wrap tbody tr:nth-child(even) {
    background: var(--grey-2);
}

.table-wrap tbody tr:hover {
    background: var(--blue-green_hover);
}

.table-wrap tbody {
    border-bottom: 1px solid var(--grey);
}

@media (max-width: 767px) {
    .table-wrap {
        margin-bottom: 1rem;
    }

    .table-wrap thead {
        font-size: 12px;
    }
}




