/*!
Theme Name: park-21
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: park-21
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

park-21 is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments


--------------------------------------------------------------*/
.faq-grid{
    grid-template-columns: 1fr!important;	
}
.faq-left{
	display:none!important;
}
.footer{
	display:flex;
	justify-content:space-between;
	width:100%;
}
footer{
	display:flex;
	flex-direction:column;
}
.footer__bottom{
	max-width: 750px;
    font-size: 12px;
    color: #fff;
    padding: 15px 0;
}
.footer__bottom a{
	color:#5a8a3c;
}
.house-price span{
	color: var(--text3);
    font-weight: 400;
    font-size: 20px;
}
.planirovka{
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:30px;
	margin:50px 0;
}
.planirovka img{
	max-width:100%;
	height:100%;
}
.nav-logo-box img{
	max-width:100%;
}
.alert_block {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        background-color: rgba(0, 0, 0, .5);
        overflow: auto;
        z-index: 99999999;
    }

    .alert_thank {
        max-width: 420px;
        width: 100%;
        min-height: 70px;
        margin: 15px;
        position: relative;
        background-color: rgb(255, 255, 255);
    }

    .alert_thank-content {
        padding: 30px;
        text-align: center;
        color: rgb(0, 0, 0);
    }

    .alert_thank-content p {
        font-size: 24px;
        margin-bottom: 15px;
    }


    .alert_thank-close {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 25px;
        height: 25px;
        cursor: pointer;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        z-index: 999;
    }

    .alert_thank-close:before,
    .alert_thank-close:after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        margin: auto;
        background-color: rgb(0, 0, 0);
    }

    .alert_thank-close:before {
        width: 15px;
        height: 2px;
    }

    .alert_thank-close:after {
        width: 2px;
        height: 15px;
    }

    .error {
        border: 1px solid red !important;
    }
/**********************************************************/
.process-step{
	display:flex;
	flex-direction:column;
	justify-content:center;
	align-items: center;	
}
.concept-icon{
	width:32px;
}
.step-icon{
	width:22px;
}
.about-stat{
	display:flex;
	flex-direction:column;
	justify-content:center;
	align-items: center;
}
.about-stat-icon{
	width:32px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --green-dark:  #1e2e1a;
  --green:       #2d4a25;
  --green-mid:   #3d6030;
  --green-light: #4a7a38;
  --accent:      #6b9e4a;
  --btn-green:   #5a8a3c;
  --btn-hover:   #4a7a2e;
  --cream:       #f5f0e8;
  --warm:        #f0ebe0;
  --sand:        #ede8dc;
  --text:        #1a1a1a;
  --text2:       #444;
  --text3:       #777;
  --border:      #d8d0c4;
  --gold:        #c9a96e;
}
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; background: #fff; color: var(--text); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(20,30,18,0.96);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-box {
  width:45px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; border-radius: 4px;
}
.nav-logo-text { font-size: 13px; font-weight: 600; letter-spacing: 1px; color: #fff; text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.75); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav-phone { font-size: 15px; font-weight: 600; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 7px; }

/* ── HERO ── */
.hero { margin-top: 64px; position: relative; min-height: 600px; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(12,22,10,0.53) 38%, rgba(12,22,10,0.25) 100%),
    url('') right center/cover;
  transform: scale(1.03); animation: hzoom 7s ease-out forwards;
}
@keyframes hzoom { to { transform: scale(1); } }
.hero-content { position: relative; z-index: 2; padding: 60px 60px; max-width: 580px; }
.hero-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 4px; color: var(--accent); text-transform: uppercase; margin-bottom: 16px; }
.hero-title { font-family: 'Montserrat', sans-serif; font-size: clamp(38px, 5.5vw, 68px); font-weight: 800; line-height: 1.0; color: #fff; text-transform: uppercase; margin-bottom: 14px; }
.hero-subtitle { font-size: clamp(16px, 2vw, 22px); font-weight: 600; line-height: 1.3; color: #fff; text-transform: uppercase; margin-bottom: 20px; }
.hero-desc { font-size: 14px; font-weight: 300; line-height: 1.8; color: rgba(255,255,255,0.72); max-width: 400px; margin-bottom: 36px; }
.btn-green {
  display: inline-block; padding: 14px 40px;
  background: var(--btn-green); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; text-decoration: none; border: none; cursor: pointer;
  border-radius: 2px; transition: background 0.2s, transform 0.15s;
}
.btn-green:hover { background: var(--btn-hover); transform: translateY(-1px); }
.btn-outline {
  display: inline-block; padding: 13px 36px;
  background: transparent; border: 1.5px solid var(--btn-green);
  color: var(--btn-green); font-size: 13px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; text-decoration: none; border-radius: 2px; transition: all 0.2s; cursor: pointer;
}
.btn-outline:hover { background: var(--btn-green); color: #fff; }

/* ── HERO BAR ── */
.hero-bar { background: var(--green-dark); padding: 18px 60px; display: flex; }
.hero-bar-item { flex: 1; display: flex; align-items: center; gap: 12px; padding: 0 28px 0 0; border-right: 1px solid rgba(255,255,255,0.09); }
.hero-bar-item:first-child { padding-left: 0; }
.hero-bar-item:last-child { border: none; padding-left: 28px; }
.hero-bar-icon { font-size: 22px; min-width: 26px; }
.hero-bar-text { font-size: 12px; font-weight: 500; line-height: 1.5; color: rgba(255,255,255,0.82); }

/* ── CONCEPT ── */
.concept-section { background: var(--sand); padding: 80px 60px; }
.sec-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 4px; color: var(--accent); text-transform: uppercase; margin-bottom: 14px; text-align: center; }
.sec-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 3.5vw, 48px); font-weight: 600; text-align: center; color: var(--text); margin-bottom: 12px; line-height: 1.2; }
.sec-sub { font-size: 14px; font-weight: 300; color: var(--text3); text-align: center; max-width: 560px; margin: 0 auto 56px; line-height: 1.8; }
.concept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.concept-card {
  position: relative; overflow: hidden; aspect-ratio: 3/4;
  cursor: pointer;
}
.concept-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; filter: brightness(0.75); }
.concept-card:hover img { transform: scale(1.06); filter: brightness(0.9); }
.concept-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,25,12,0.88) 0%, rgba(15,25,12,0.1) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px 24px;
}
.concept-icon { font-size: 32px; margin-bottom: 10px; }
.concept-name { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.concept-desc { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.72); line-height: 1.6; }

/* ── HOUSES ── */
.houses-section { background: var(--cream); padding: 80px 60px; }
.houses-filters { display: flex; justify-content: center; gap: 0; margin-bottom: 52px; }
.filter-btn {
  padding: 12px 40px;
  border: 1px solid var(--border); background: transparent;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text2); cursor: pointer;
  transition: all 0.2s; margin-left: -1px;
}
.filter-btn:first-child { margin-left: 0; }
.filter-btn.active { background: var(--green-dark); color: #fff; border-color: var(--green-dark); z-index: 1; }
.filter-btn:hover:not(.active) { background: var(--sand); }
.houses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.house-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.house-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.house-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--sand); }
.house-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.house-card:hover .house-img-wrap img { transform: scale(1.05); }
.house-type-badge {
  position: absolute; top: 16px; right: 16px;
  padding: 5px 14px;
  background: rgba(20,30,18,0.88); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; border-radius: 2px;
}
.house-img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--text3); font-size: 13px; background: var(--sand);
}
.house-img-placeholder span { font-size: 40px; }
.house-body { padding: 24px 24px 28px; }
.house-name { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.house-lot { font-size: 12px; color: var(--text3); margin-bottom: 20px; }
.house-specs { display: flex; flex-direction: column; gap: 0; margin-bottom: 20px; border-top: 1px solid var(--border); }
.house-spec-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.house-spec-label { color: var(--text3); font-weight: 400; }
.house-spec-val { font-weight: 600; color: var(--text); }
.house-price { font-family: serif; font-size: 28px; font-weight: 600; color: var(--gold); margin-bottom: 18px; }
.house-btn { display: block; text-align: center; padding: 13px; border: 1.5px solid var(--border); color: var(--text2); font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; transition: all 0.2s; cursor: pointer; background: transparent; width: 100%; }
.house-btn:hover { border-color: var(--btn-green); color: var(--btn-green); background: rgba(90,138,60,0.05); }

/* ── ABOUT ── */
.about-section { background: #fff; padding: 80px 60px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-left h2 { font-family: 'Cormorant Garamond', serif; font-size: 40px; font-weight: 600; color: var(--text); margin-bottom: 20px; line-height: 1.2; }
.about-left p { font-size: 14px; font-weight: 300; line-height: 1.9; color: var(--text2); margin-bottom: 28px; }
.about-right { background: var(--green-dark); border-radius: 6px; padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.about-stat { text-align: center; }
.about-stat-icon { font-size: 32px; margin-bottom: 10px; display: block; }
.about-stat-num { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 600; color: #fff; display: block; margin-bottom: 4px; }
.about-stat-label { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.4; }

/* ── PROCESS ── */
.process-section { background: var(--warm); padding: 80px 60px; }
.process-steps { display: flex; align-items: flex-start; gap: 0; margin-top: 52px; }
.process-step { flex: 1; text-align: center; }
.process-arrow { font-size: 22px; color: var(--text3); padding-top: 22px; flex-shrink: 0; padding: 22px 8px 0; }
.step-circle { width: 52px; height: 52px; border-radius: 50%; background: var(--btn-green); color: #fff; font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-family: 'Montserrat', sans-serif; }
.step-icon { font-size: 22px; margin-bottom: 10px; display: block; }
.step-name { font-size: 13px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.step-desc { font-size: 12px; color: var(--text3); line-height: 1.7; max-width: 150px; margin: 0 auto; }

/* ── FAQ ── */
.faq-section { background: #fff; padding: 80px 60px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.faq-left h2 { font-family: 'Cormorant Garamond', serif; font-size: 38px; font-weight: 600; color: var(--text); margin-bottom: 32px; line-height: 1.2; }
.faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; cursor: pointer; }
.faq-question { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 500; color: var(--text); }
.faq-plus { font-size: 22px; color: var(--text3); transition: transform 0.2s; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-plus { transform: rotate(45deg); color: var(--btn-green); }
.faq-answer { font-size: 13px; color: var(--text3); line-height: 1.8; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.3s; }
.faq-item.open .faq-answer { max-height: 200px; padding-top: 12px; }
.faq-right { background: var(--green-dark); border-radius: 6px; padding: 44px; display: flex; flex-direction: column; justify-content: center; gap: 20px; position: relative; overflow: hidden; }
.faq-right::before { content: ''; position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1448375240586-882707db888b?w=600&q=70') center/cover; opacity: 0.2; }
.faq-right-inner { position: relative; z-index: 1; }
.faq-right h3 { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.faq-right p { font-size: 14px; color: rgba(255,255,255,0.68); margin-bottom: 24px; line-height: 1.7; }

/* ── CTA ── */
.cta-section { position: relative; overflow: hidden; padding: 80px 60px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-bg { position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,20,8,0.92) 50%, rgba(10,20,8,0.72)), url('https://images.unsplash.com/photo-1448375240586-882707db888b?w=1600&q=80') center/cover; }
.cta-left { position: relative; z-index: 1; }
.cta-left h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(22px, 3vw, 38px); font-weight: 800; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.cta-left p { font-size: 14px; color: rgba(255,255,255,0.65); }
.cta-right { position: relative; z-index: 1; flex-shrink: 0; }

/* ── FOOTER ── */
footer { background: var(--green-dark); padding: 28px 60px;  border-top: 1px solid rgba(255,255,255,0.07); }
.footer-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.65); font-size: 14px; }
.footer-item a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-item a:hover { color: var(--accent); }

/* ── MODAL ── */
.modal-wrap { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.65); z-index: 9999; align-items: center; justify-content: center; }
.modal-wrap.open { display: flex; }
.modal-box { background: #fff; border-radius: 6px; padding: 48px; max-width: 420px; width: 90%; position: relative; }
.modal-close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 26px; cursor: pointer; color: #aaa; }
.modal-close:hover { color: var(--text); }
.modal-box h3 { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 600; margin-bottom: 6px; }
.modal-box p { font-size: 13px; color: var(--text3); margin-bottom: 28px; line-height: 1.6; }
.modal-field { display: flex; flex-direction: column; gap: 12px; }
.modal-input { padding: 14px 16px; border: 1px solid var(--border); border-radius: 3px; font-family: 'Montserrat', sans-serif; font-size: 14px; outline: none; transition: border-color 0.2s; }
.modal-input:focus { border-color: var(--btn-green); }
.modal-note { font-size: 11px; color: #bbb; text-align: center; margin-top: 10px; }

/* ── REVEAL ── */
.rev { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rev.in { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero-content { padding: 40px 24px; }
  .hero-bar { padding: 16px 20px; flex-wrap: wrap; gap: 12px; }
  .hero-bar-item { min-width: 46%; border: none; padding: 0; }
  .concept-section, .houses-section, .about-section, .process-section, .faq-section { padding: 56px 24px; }
  .concept-grid { grid-template-columns: 1fr 1fr; }
  .houses-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-right { grid-template-columns: 1fr 1fr; }
  .process-steps { flex-wrap: wrap; justify-content: center; gap: 28px; }
  .process-arrow { display: none; }
  .process-step { min-width: 130px; }
  .faq-grid { grid-template-columns: 1fr; }
  .cta-section { flex-direction: column; padding: 56px 24px; text-align: center; }
  footer { flex-direction: column; gap: 16px; padding: 24px; text-align: center; }
	.footer{
		flex-wrap:wrap;
		gap:15px;
	}
}
@media (max-width: 960px) {
	.hero-bar-item:last-child{
		padding-left: 0px;
	}
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    animation: heroZoom 40s ease-in-out infinite;
    transform-origin: center center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

@keyframes heroZoom {
    0% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}