/*
Theme Name: Ново-Царево
Theme URI: https://novotsarevo-samara.ru/
Author: ARTVILL
Author URI: https://novotsarevo-samara.ru/
Description: Адаптивная тема для коттеджного поселка Ново-Царево на основе оригинального дизайна
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: novotsarevo
*/

@charset "UTF-8";

/* ============================
   БАЗОВЫЕ СТИЛИ (Из оригинала)
   ============================ */

* {
  margin: 0;
  padding: 0;
  outline: 0 !important;
  box-sizing: border-box;
}

html {
  line-height: 145%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

*:before,
*:after {
  box-sizing: border-box;
}

body {
  color: #333333;
  font-family: "Montserrat", sans-serif !important;
  -webkit-overflow-scrolling: touch;
  font-weight: 400;
  font-style: normal;
  -webkit-text-size-adjust: 100%;
  background: #fff;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ============================
   КОНТЕЙНЕРЫ
   ============================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.container2 {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 90px 0;
}

/* ============================
   ТИПОГРАФИЯ (Из оригинала)
   ============================ */

h3 {
  font-size: 50px;
  font-weight: 400;
  text-align: center;
  line-height: 120%;
  font-family: "Forum", cursive;
}

h3 small {
  display: block;
  font-size: 20px;
  font-family: "Montserrat", sans-serif !important;
  color: #555555;
  font-weight: 300;
  max-width: 630px;
  line-height: 170%;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
}

h3 b {
  background: -webkit-linear-gradient(#3496e8, #005aaf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h3 span {
  font-weight: 500;
  color: #008aff;
}

h4 {
  font-family: "Forum", cursive;
}

.font {
  font-family: "Forum", cursive;
}

/* ============================
   HEADER (Липкий как в оригинале)
   ============================ */

.str1 .cd-auto-hide-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transition: transform 0.5s;
  z-index: 30;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  color: #fff;
  background: transparent;
}

.str1 .cd-auto-hide-header .tel a {
  color: #fff;
}

.str1 .cd-auto-hide-header .navigaciya {
  width: 100%;
  background-image: none;
  margin-top: 10px;
  border-top: 1px solid #747474;
  border-bottom: 1px solid #747474;
}

.str1 .cd-auto-hide-header .navigaciya nav a {
  color: #fff;
  text-decoration: none;
}

.str1 .animate {
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  color: #333;
}

.str1 .animate .tel a {
  color: #333;
}

.str1 .animate .navigaciya {
  width: 100%;
  background-image: linear-gradient(to top, #c0c0c0, #e4e4e4);
  margin-top: 10px;
  border: none;
}

.str1 .animate .navigaciya nav a {
  color: #333;
  text-decoration: none;
}

/* ============================
   МЕНЮ
   ============================ */

.menu {
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu p {
  font-size: 13px;
  line-height: 170%;
  font-weight: 400;
}

.menu p b {
  font-weight: 700;
}

.menu .logo {
  display: flex;
  align-items: center;
  object-fit: cover;
}

.menu .logo img {
  height: 65px;
  align-items: center;
  object-fit: cover;
}

.menu .logo_dop {
  display: flex;
  align-items: center;
}

.menu .logo_dop img {
  height: 65px;
  display: flex;
  object-fit: cover;
}

.menu .logo_dop p {
  max-width: 234px;
  margin-left: 15px;
}

.menu .social {
  display: flex;
  flex-direction: column;
}

.menu .social > a {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 13px;
  display: block;
}

.menu .social .item {
  display: flex;
  justify-content: space-between;
  width: 165px;
  margin: 0 auto;
}

.menu .social .item a {
  width: 39px;
  height: 39px;
  display: flex;
  object-fit: cover;
  object-position: center;
  transition: 0.3s;
}

.menu .social .item a img {
  width: 100%;
}

.menu .social .item a:hover {
  transform: scale(1.1);
}

.menu .tel {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.menu .tel a {
  font-size: 24px;
  font-weight: 600;
  line-height: 100%;
}

/* ============================
   НАВИГАЦИЯ
   ============================ */

.navigaciya {
  padding: 12px 0;
}

.navigaciya nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.navigaciya nav a {
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 3px;
  transition: 0.3s;
}

.navigaciya nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ============================
   HERO / MAIN SECTION
   ============================ */

header {
  background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 100%), url(https://novotsarevo-samara.ru/img/bg1/main_last.jpg);
  -webkit-background-size: cover;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 65%;
  position: relative;
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.main {
  color: #fff;
  padding-top: 150px;
}

.main .left {
  max-width: 650px;
}

.main h1 {
  font-size: 60px;
  font-weight: 300;
  line-height: 125%;
  font-family: "Forum", cursive;
}

.main h1 span {
  display: block;
  padding: 0px 30px 11px 30px;
  width: max-content;
  height: 62px;
  line-height: 58px;
  border-radius: 5px;
  color: #fff;
  font-weight: 500;
  margin-bottom: -2px;
}

.main .h1_dop {
  margin-top: 50px;
  font-size: 22px;
  font-weight: 300;
  color: #fff;
  border-left: 3px solid #3496e8;
}

.main .h1_dop p {
  margin-left: 25px;
  max-width: 450px;
  line-height: 165%;
}

.main .h1_dop p b {
  font-weight: 500;
  font-style: italic;
}

.main .plusi {
  margin-top: 40px;
}

.main .plusi .item {
  display: flex;
  align-items: center;
}

.main .plusi .item img {
  width: 70px;
  display: flex;
  object-fit: contain;
  border-radius: 5px;
}

.main .plusi .item:nth-child(n+2) {
  margin-top: 30px;
}

.main .plusi .item p {
  font-size: 20px;
  font-weight: 400;
  line-height: 140%;
  margin-left: 15px;
}

.main .button_block {
  margin-top: 60px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.main .button_block > p {
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  line-height: 105%;
}

/* ============================
   КНОПКИ (Из оригинала)
   ============================ */

.button {
  cursor: pointer;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  z-index: 10;
  width: 330px;
  height: 95px;
  font-size: 18px;
}

.button button {
  height: 100%;
  width: 100%;
  background-image: linear-gradient(to left, #f8af43, #ffc673, #ffc673, #f8af43);
  font-family: "Montserrat", sans-serif !important;
  cursor: pointer;
  border: none;
  color: #333;
  font-weight: 600;
  transition: background 0.2s ease;
  width: 100%;
  transition: 0.3s;
  padding: 0 20px;
  border-radius: 5px;
}

.button button p {
  position: relative;
  z-index: 1;
  font-size: 19px;
  line-height: 140%;
}

.button button p small {
  display: block;
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
  margin-top: 5px;
}

.button button:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  background-image: linear-gradient(to left, #ffc673, #ffc673, #ffc673, #ffc673);
  opacity: 0;
  transition: 0.3s;
}

.button button:hover:before {
  opacity: 1;
}

.btn {
  display: inline-block;
  padding: 20px 40px;
  background-image: linear-gradient(to left, #f8af43, #ffc673);
  color: #333;
  font-weight: 600;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  font-size: 16px;
}

.btn:hover {
  background-image: linear-gradient(to left, #ffc673, #ffc673);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(248, 175, 67, 0.4);
}

/* ============================
   INFO BAR (После hero)
   ============================ */

.info {
  background-color: #fff;
  width: 100%;
  margin-top: -20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 50px;
  border-radius: 5px;
  box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.04);
  color: #333;
  position: relative;
  z-index: 3;
  flex-wrap: wrap;
  gap: 20px;
}

.info img {
  width: 110px;
}

.info span {
  border-left: 1px solid #e2e2e2;
  display: block;
  height: 100px;
  width: 1px;
}

.info p {
  line-height: 180%;
  flex: 1;
  min-width: 200px;
}

/* ============================
   ФОНЫ
   ============================ */

.bg_gray {
  background-image: linear-gradient(to top, rgba(255, 255, 255, 0.95) 40%, rgba(255, 255, 255, 0.95) 70%, rgba(255, 255, 255, 0.95) 100%), url(https://novotsarevo-samara.ru/img/bg1/bg1.jpg);
  -webkit-background-size: cover;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
}

.bg_gray_halv {
  background-image: linear-gradient(to left, rgba(255, 255, 255, 0.7) 20%, rgba(255, 255, 255, 0.9) 40%, rgba(255, 255, 255, 0.95) 100%), url(https://novotsarevo-samara.ru/img/bg_halv.jpg);
  -webkit-background-size: cover;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
  backdrop-filter: blur(5px);
}

/* ============================
   ПЛАНИРОВКИ / КАРТОЧКИ
   ============================ */

.layouts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.layout-card {
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.layout-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.layout-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.layout-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.layout-card:hover .layout-image img {
  transform: scale(1.05);
}

.layout-info {
  padding: 25px;
}

.layout-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
  font-family: "Forum", cursive;
}

.layout-params {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
}

.param {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: #666;
}

.param strong {
  color: #333;
  font-weight: 600;
}

.layout-price {
  font-size: 28px;
  font-weight: 700;
  color: #f8af43;
  margin: 15px 0;
}

.layout-info p {
  color: #666;
  line-height: 160%;
  margin-bottom: 20px;
}

/* ============================
   SWIPER СЛАЙДЕР
   ============================ */

.swiper {
  width: 100%;
  padding: 20px 0 60px;
}

.swiper-slide {
  height: auto;
}

.swiper-button-next,
.swiper-button-prev {
  background: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
  color: #f8af43;
  font-weight: 700;
}

.swiper-pagination-bullet {
  background: #f8af43;
  opacity: 0.5;
  width: 12px;
  height: 12px;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: #f8af43;
}

/* ============================
   ИНФРАСТРУКТУРА
   ============================ */

.infrastructure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.infra-card {
  text-align: center;
  padding: 30px;
  background: #f5f5f5;
  border-radius: 5px;
  transition: 0.3s;
}

.infra-card:hover {
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.infra-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.infra-icon img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.infra-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.infra-description {
  font-size: 14px;
  color: #666;
  line-height: 160%;
}

/* ============================
   КОНТАКТЫ
   ============================ */

.contacts-section {
  background: #333;
  color: #fff;
}

.contacts-section h3 {
  color: #fff;
}

.contacts-section h3 small {
  color: rgba(255, 255, 255, 0.8);
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 5px;
  text-align: center;
  transition: 0.3s;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.15);
}

.contact-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-value {
  font-size: 16px;
  opacity: 0.9;
}

.contact-value:hover {
  color: #ffc673;
}

/* ============================
   FOOTER
   ============================ */

.site-footer {
  background: #222;
  color: #fff;
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #ffc673;
  text-align: left;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 180%;
}

.footer-section a:hover {
  color: #ffc673;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* ============================
   КАРТА
   ============================ */

.map-section {
  height: 500px;
  position: relative;
}

#map {
  width: 100%;
  height: 100%;
}

/* ============================
   МОБИЛЬНОЕ МЕНЮ
   ============================ */

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
}

.mobile-menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background: #fff;
  transition: 0.3s;
}

.animate .mobile-menu-toggle span {
  background: #333;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================
   ADAPTIVE / RESPONSIVE
   ============================ */

@media (max-width: 1200px) {
  .container,
  .container2 {
    max-width: 100%;
    padding: 0 20px;
  }
  
  h3 {
    font-size: 40px;
  }
  
  .main h1 {
    font-size: 50px;
  }
}

@media (max-width: 1024px) {
  .menu .logo_dop {
    display: none;
  }
  
  .info {
    flex-direction: column;
    gap: 30px;
  }
  
  .info span {
    display: none;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .navigaciya {
    position: fixed;
    top: 90px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 90px);
    background: #333;
    transition: 0.3s;
    overflow-y: auto;
    padding: 20px 0;
  }
  
  .navigaciya.active {
    left: 0;
  }
  
  .navigaciya nav {
    flex-direction: column;
    gap: 0;
  }
  
  .navigaciya nav a {
    width: 100%;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .menu .social {
    display: none;
  }
  
  .menu .tel a {
    font-size: 18px;
  }
  
  h3 {
    font-size: 32px;
  }
  
  h3 small {
    font-size: 16px;
    max-width: 100%;
  }
  
  .main {
    padding-top: 120px;
  }
  
  .main h1 {
    font-size: 36px;
  }
  
  .main .h1_dop {
    font-size: 18px;
  }
  
  .main .plusi .item p {
    font-size: 16px;
  }
  
  .button {
    width: 100%;
    max-width: 330px;
  }
  
  .main .button_block {
    flex-direction: column;
  }
  
  section {
    padding: 60px 0;
  }
  
  .layouts-grid,
  .infrastructure-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .menu .logo img {
    height: 50px;
  }
  
  .menu .tel a {
    font-size: 16px;
  }
  
  h3 {
    font-size: 28px;
  }
  
  .main h1 {
    font-size: 30px;
  }
  
  .layout-title {
    font-size: 20px;
  }
  
  .layout-price {
    font-size: 24px;
  }
}

/* ============================
   УТИЛИТЫ
   ============================ */

.desctop {
  display: block;
}

.mobile {
  display: none;
}

.desc_only {
  display: block;
}

.mobile_only {
  display: none;
}

@media (max-width: 768px) {
  .desctop {
    display: none;
  }
  
  .mobile {
    display: block;
  }
  
  .desc_only {
    display: none;
  }
  
  .mobile_only {
    display: block;
  }
}

/* WordPress Generated Classes */
.alignleft {
  float: left;
  margin-right: 20px;
}

.alignright {
  float: right;
  margin-left: 20px;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}

.sticky {
  /* Стили для закрепленных постов */
}

.gallery-caption {
  /* Подписи галереи */
}

.bypostauthor {
  /* Стили для автора поста */
}

/* ============================
   О ПОСЕЛКЕ - КАРТОЧКИ
   ============================ */

.bg2_new .items {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.bg2_new .items .item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.bg2_new .items .item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.bg2_new .items .item img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  object-fit: contain;
}

.bg2_new .items .item .infos b {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.bg2_new .items .item .infos p {
  font-size: 14px;
  color: #666;
  line-height: 160%;
}

/* ============================
   ВИДЕО СЕКЦИЯ
   ============================ */

.video_main {
  position: relative;
  padding: 40px 0;
}

.video_main .video {
  margin: 0 auto;
  max-width: 900px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
}

.video_main a {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  color: #005aaf;
  text-decoration: none;
  transition: 0.3s;
}

.video_main a:hover {
  color: #3496e8;
}

.video_main a:hover p {
  border-bottom: 1px solid #005aaf;
}

.video_main a img {
  width: 35px;
  margin-right: 12px;
}

.video_main a p {
  border-bottom: 1px dashed #005aaf;
  line-height: 140%;
}

.video_main .car1,
.video_main .car2 {
  position: absolute;
  max-width: 200px;
  opacity: 0.3;
  z-index: 1;
}

.video_main .car1 {
  top: -30px;
  left: -60px;
}

.video_main .car2 {
  top: 10px;
  right: -60px;
}

/* ============================
   ПАНОРАМА / RENDER
   ============================ */

.render_all {
  text-align: center;
}

.render_all .button {
  margin: 40px auto 0;
}

.panorama-swiper {
  margin-top: 40px;
}

.panorama-swiper .swiper-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 5px;
}

/* ============================
   ДОПОЛНИТЕЛЬНЫЕ АДАПТАЦИИ
   ============================ */

@media (max-width: 768px) {
  .bg2_new .items {
    grid-template-columns: 1fr;
  }

  .bg2_new .items .item {
    flex-direction: column;
    text-align: center;
  }

  .video_main .car1,
  .video_main .car2 {
    display: none;
  }

  .panorama-swiper .swiper-slide img {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .bg2_new .items .item img {
    width: 50px;
    height: 50px;
  }

  .bg2_new .items .item .infos b {
    font-size: 16px;
  }

  .panorama-swiper .swiper-slide img {
    height: 200px;
  }
}

/* ============================
   ТЕХНОЛОГИИ СТРОИТЕЛЬСТВА
   ============================ */

.stroyka {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.stroyka .left h3 {
  text-align: left;
  font-size: 36px;
  margin-bottom: 40px;
}

.stroyka .plusi {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
}

.stroyka .plus {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.stroyka .plus img {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  object-fit: contain;
}

.stroyka .plus p {
  font-size: 14px;
  line-height: 160%;
  color: #333;
}

.stroyka .right {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 120px;
}

.stroyka .right h4 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
  line-height: 140%;
}

.stroyka .right p {
  font-size: 15px;
  line-height: 170%;
  margin-bottom: 30px;
  color: #666;
}

.stroyka .spec {
  position: relative;
  text-align: center;
}

.stroyka .spec .master {
  width: 100%;
  max-width: 300px;
  margin: 0 auto 20px;
}

.stroyka .spec .dog {
  position: absolute;
  bottom: 80px;
  right: -20px;
  width: 100px;
}

.stroyka .spec .name {
  font-size: 16px;
  margin-bottom: 20px;
}

.stroyka .spec .name b {
  display: block;
  font-size: 14px;
  color: #999;
  font-weight: 500;
  margin-bottom: 5px;
}

/* ============================
   ПЛАНИРОВКИ / DOMA_ALL
   ============================ */

.doma_all .h3_block h3 {
  text-align: center;
  margin-bottom: 50px;
}

.tabs .tabs_contet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
  padding: 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.price_left .img_main {
  margin-bottom: 15px;
}

.price_left .img_main img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.price_left .img_dop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.price_left .img_dop img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.price_left .img_dop img:hover {
  transform: scale(1.05);
}

.price_right .h2_block h2 {
  font-size: 32px;
  font-family: "Forum", cursive;
  color: #333;
  margin-bottom: 20px;
}

.price_right .h2_dop p {
  font-size: 15px;
  line-height: 180%;
  margin-bottom: 10px;
}

.price_right .h2_dop b {
  font-weight: 600;
  color: #333;
  margin-left: 10px;
}

.price_right .button {
  margin-top: 30px;
}

/* ============================
   АДАПТАЦИИ ДЛЯ НОВЫХ БЛОКОВ
   ============================ */

@media (max-width: 1024px) {
  .stroyka {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stroyka .right {
    position: relative;
    top: 0;
  }

  .tabs .tabs_contet {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .stroyka .left h3 {
    font-size: 28px;
    text-align: center;
  }

  .stroyka .plusi {
    grid-template-columns: 1fr;
  }

  .stroyka .spec .dog {
    display: none;
  }

  .price_left .img_dop {
    grid-template-columns: repeat(2, 1fr);
  }

  .price_right .h2_block h2 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .tabs .tabs_contet {
    padding: 20px;
  }

  .price_left .img_dop img {
    height: 80px;
  }
}
