/*
Theme Name: Closet Envee
Theme URI:  https://www.closetenvee.com/
Author:      Igor Zubyk
Author URI:  https://www.closetenvee.com/
Description: Closet Envee
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: LICENSE
Text Domain: closet-envee
*/

body {
  font-family: "Inter Tight", sans-serif;
  color: #898888;
  background-color: #ffffff;
  scroll-behavior: smooth;
  padding: 0;
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

div {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  cursor: pointer;
  transition: all 0.5s;
  text-decoration: none;
  color: #FF4D00;
}

a:hover {
  color: #FF4D00;
}

.noscroll {
  overflow: hidden;
  height: 100%;
}

/* Header */

header {
  background: rgba(255, 255, 255);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid #f4511e;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.logoarea img {
  max-height: 80px;
}

.mobile-menu-toggle {
  position: absolute;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none; 
}

.menu .headermenu {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}


.header .headermenu > li, .footermenu > li {
  position: relative;
}

.header .headermenu .sub-menu, .footermenu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(26, 26, 26, 0.95);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

.header .headermenu .sub-menu li, .footermenu .sub-menu li {
  margin: 0;
}

.header .headermenu .sub-menu li a, .footermenu .sub-menu li a {
  display: block;
  padding: 8px 20px;
  color: #fff;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.header .headermenu .sub-menu li a:hover, .footermenu .sub-menu li a:hover {
  background: #f4511e;
  color: #fff;
}


.header .headermenu > li:hover > .sub-menu, .footermenu > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.headermenu .menu-item-has-children > a,
.footermenu .menu-item-has-children > a {
  position: relative;
  padding-right: 20px; /* оставляем место для стрелки */
}

.header .headermenu .menu-item-has-children > a::after, .footermenu .menu-item-has-children > a::after {
  content: "\25BE";       
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1em;       
  color: #fff;             
  pointer-events: none;    
}

.header .headermenu .menu-item-has-children:hover > a::after, .footermenu .menu-item-has-children:hover > a::after {
  color: #f4511e;
}


@media (max-width: 767px) {
  .header .headermenu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: none;
    box-shadow: none;
    padding-left: 20px;
  }
  .header .headermenu .sub-menu li a {
	    font-size: 16px;
    text-transform: none;
    padding: 5px 0;
  }
}


.menu .headermenu li a {
  text-decoration: none;
  color: color(srgb 0.9559 0.3161 0.1185);
  font-family: "Inter Tight", sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: opacity 0.3s;
}

.menu .headermenu li a:hover {
  opacity: 0.7;
}

.mobile-menu-toggle {
  display: none;
}

.hamb {
  display: none;
  position: absolute;
  top: 60%;
  right: 20px;
  transform: translateY(-50%);
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 1001;
}

.hamb-line,
.hamb-line::before,
.hamb-line::after {
  display: block;
  background: #f4511e;
  height: 3px;
  width: 100%;
  border-radius: 2px;
  position: relative;
  transition: transform .3s ease, opacity .3s ease;
}

.hamb-line::before {
  content: "";
  position: absolute;
  top: -8px;
}

.hamb-line::after {
  content: "";
  position: absolute;
  top: 8px;
}

.mainmenu {
  position: static;
  max-height: none;
  overflow: visible;
  background: none;
  transition: none;
}

/* Homepage */

#hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero-background.webp') no-repeat center center/cover;
  color: white;
  text-align: center;
  padding: 0 20px;
  z-index: 1;
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

#hero .container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
}

#hero h1 {
  font-size: 100px;
  font-weight: 500;
  margin-bottom: 0;
  line-height: 120px;
  font-family: "Instrument Sans", sans-serif;
  letter-spacing: 1px;
}

#hero h1 span {
  font-size: 120px;
  font-family: "Italianno", cursive;
  font-weight: 400;
  font-style: normal;
}

#hero p {
  font-size: 16px;
  margin: 0 auto 30px;
  width: 60%;
  font-weight: 400;
  text-align: center;
}

#hero .button,
#shedule .button,
#welcomesection .button, #process .button {
  display: inline-block;
  background-color: #f4511e;
  color: white;
  font-size: 14px;
  padding: 16px 32px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
#process .button {
	margin: 25px auto;
}
#process .buttoncontainer {
	text-align: center;
}

#hero .button:hover,
#shedule .button:hover,
#welcomesection .button:hover, #process .button:hover {
  background-color: #d63e0a;
}

#welcomesection {
  margin: 100px 0;
  padding: 100px 0;
  background: white;
  position: relative;
}

#welcomesection .container {
  display: block;
  align-items: center;
  width: 37%;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

#welcomesection h2 {
  font-family: "Instrument Sans", sans-serif;
  font-size: 40px;
  line-height: 50px;
  font-weight: 500;
  margin: 0 0 15px;
  color: #0C0C0D;
}

#welcomesection h2 span {
  font-family: "Italianno", cursive;
  font-size: 56px;
  font-weight: 400;
  font-style: normal;
}

#welcomesection p {
  color: #898888;
  line-height: 1.6;
  font-size: 16px;
  margin: 0 0 20px;
}

#welcomesection .container::before {
  content: "";
  position: absolute;
  width: 27%;
  height: 65%;
  top: 0;
  left: 0;
  background-image: url('img/left-image.webp');
  background-size: cover;
  background-position: center;
}

.aboutpage .container::before {
  background-image: url('img/longwood-1.webp') !important;
}

#welcomesection .container::after {
  content: "";
  position: absolute;
  width: 27%;
  height: 70%;
  bottom: 0;
  right: 0;
  background-image: url('img/right-image.webp');
  background-size: cover;
  background-position: center;
}

.aboutpage .container::after {
  background-image: url('img/longwood-2.webp') !important;
}

#welcomesection .container > *:not(:first-child):not(:last-child) {
  max-width: 600px;
}

#spaces {
  padding: 110px 0;
  background-color: #F9F7F5;
  font-family: sans-serif;
  position: relative;
}

#spaces::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 0;
  width: 220px;
  height: 373px;
  background: url(img/background-left.webp) no-repeat;
  background-size: contain;
}

#spaces::after {
  content: "";
  position: absolute;
  bottom: 3%;
  right: 0;
  width: 200px;
  height: 550px;
  background: url(img/background-right.webp) no-repeat;
  background-size: contain;
}

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

#spaces .section-title {
  text-align: center;
  font-size: 56px;
  line-height: 56px;
  margin: 0 0 10px;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 500;
  color: #0C0C0D;
}

#spaces .section-title span, #process .section-title span {
  font-family: "Italianno", cursive;
  font-size: 56px;
  font-weight: 400;
  font-style: normal;
}


.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: #898888;
  max-width: 400px;
  margin: 0 auto 50px;
}

.spaces-grid {
  display: grid;
  grid-template-columns: repeat(60, 1fr);
  gap: 5px;
  position: relative;
}

.space {
  background: #fff;
  padding: 30px 25px;
  box-shadow: 0 0 0 1px #eee;
  transition: background 0.3s ease, color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  z-index: 1;
}

.space:nth-child(1) { grid-column: span 20; }
.space:nth-child(2) { grid-column: span 20; }
.space:nth-child(3) { grid-column: span 20; }
.space:nth-child(4) { grid-column: span 36; }
.space:nth-child(5) { grid-column: span 24; }

.space h3 {
  font-family: "Instrument Sans", sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin: 0;
  color: #111;
  transition: color 0.3s;
}

.space p {
  font-size: 16px;
  color: #898888;
  font-weight: 400;
  flex-grow: 1;
  transition: color 0.3s;
}

.space .learn-more {
  margin-top: 20px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  height: 16px;
  display: inline-block;
}

.space .learn-more:hover {
  text-decoration: underline;
}

.space:hover .learn-more {
  opacity: 1;
  visibility: visible;
}

.space:hover {
  background-color: #e7511e;
}

.space:hover h3,
.space:hover p {
  color: #fff;
}

#shedule {
  padding: 7% 0 10% 0;
}

#shedule h2 {
  color: #fff;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 500;
  font-size: 80px;
  line-height: 80px;
  width: 80%;
  margin: 0 0 30px;
}

#shedule h2 span {
  font-family: "Italianno", cursive;
  font-size: 120px;
  font-weight: 400;
  font-style: normal;
}

#shedule p {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin: 0 0 30px;
}


#testimonials {
  padding: 50px 0 100px 0;
  background-color: #fff;
}

#testimonials .slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

#testimonials .nav-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid #ccc;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}

#testimonials .nav-arrow:hover {
  border-color: #f4511e;
  color: #f4511e;
}

#testimonials .slider-dots {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#testimonials .slider-dots li {
  margin: 0;
  height: 34px;
}

#testimonials .slider-dots li button {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: #bbb;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px;
}

#testimonials .slider-dots li.slick-active button {
  background: #897a6c;
}

#testimonials .slick-prev,
#testimonials .slick-next {
  display: none !important;
}

#testimonials .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

#testimonials h2 {
  font-size: 40px;
  margin-bottom: 40px;
  text-align: left;
  font-weight: 500;
  font-family: "Instrument Sans", sans-serif;
  color: #0C0C0D;
}

#testimonials h2 span {
  font-family: "Italianno", cursive;
  font-size: 56px;
  font-style: normal;
}

#testimonials .slider {
  display: block;
  width: 100%;
}

#testimonials .testimonial {
  text-align: left;
  background-color: #F9F7F5;
  border: 1px solid #E5E2E0;
  padding: 65px 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center !important;
  position: relative;
}

#testimonials .testimonial::before {
  content: "";
  position: absolute;
  top: 10%;
  right: 15%;
  width: 53px;
  height: 46px;
  background: url(img/quote.webp) no-repeat;
  background-size: contain;
}

#testimonials .quote {
  font-size: 60px;
  color: #ff6347;
  margin-bottom: 20px;
}

#testimonials .text {
  font-size: 16px;
  color: #898888;
  line-height: 1.5;
  font-family: "Inter Tight", sans-serif;
  margin-bottom: 30px;
}

#testimonials .author {
  font-family: "Instrument Sans", sans-serif;
  color: #3E3E3E;
  font-weight: 500;
  font-size: 24px;
  padding-top: 30px;
  margin: 0;
  border-top: 1px solid #E2E2E2;
}

.slick-track {
  display: flex !important;
  flex-direction: row;
  gap: 0;
}

#testimonials .slider .slick-slide {
  margin: 0 15px;     
}

#testimonials .slider .slick-list {
  margin: 0 -15px; 
}

.slick-prev,
.slick-next {
  background-color: #fff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px 20px;
  color: #333;
  transition: 0.3s;
}

.slick-prev:hover,
.slick-next:hover {
  background-color: #ff6347;
  color: #fff;
}

.slick-prev:focus,
.slick-next:focus {
  outline: none;
}

#testimonials .slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

#testimonials .nav-prev { order: 1; }
#testimonials .slider-dots { order: 2; }
#testimonials .nav-next { order: 3; }

#experience {
  padding: 60px 0;
  font-family: Arial, sans-serif;
  color: #333;
}

#experience .container {
  max-width: 1200px;
  margin: 0 auto;
}

#experience h2 {
  font-size: 40px;
  font-weight: 400;
  color: #0C0C0D;
  font-family: "Instrument Sans", sans-serif;
  margin-bottom: 0;
  text-align: left;
}

#experience h2 span {
  font-family: "Italianno", cursive;
  font-size: 56px;
  font-style: normal;
  font-weight: 400;
}

#experience .subtitle {
  color: #898888;
  margin-bottom: 40px;
  margin-top: 0;
  font-size: 16px;
  text-align: left;
  font-family: "Inter Tight", sans-serif;
}

.exp-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.exp-images .exp-image {
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.exp-image:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

.exp-images img {
  width: 100%;
  display: block;
  height: auto;
  transition: filter 0.3s ease;
}

.exp-image:hover img {
  filter: brightness(0.7);
}

.timeline {
  position: relative;
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  --percent: 0%;
  padding-top: 80px;
  padding-bottom: 40px;
  height: calc(100% - 120px);
}

.timeline::before {
  content: "";
  position: absolute;
  top: 80px;
  bottom: 120px;
  left: 71px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    #f4511e 0%,
    #f4511e var(--percent),
    #ccc var(--percent),
    #ccc 100%
  );
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  list-style: none;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item .circle {
  position: absolute;
  left: -19px;
  top: 0;
  width: 100px;
  height: 100px;
  border: 1px solid #ccc;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: #3E3E3E;
  transition: border-color 0.3s, color 0.3s;
}

.timeline-item .content {
  margin-left: 100px;
}

.timeline-item.active .circle {
  border-color: #f4511e;
  color: #f4511e;
}

.timeline-item .content h3 {
  font-family: "Instrument Sans", sans-serif;
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 500;
  line-height: 36px;
  color: #3E3E3E;
}

.timeline-item .content p {
  margin: 0;
  color: #898888;
  font-size: 16px;
  line-height: 1.6;
  font-family: "Inter Tight", sans-serif;
}

/* Footer */

footer {
  background-color: #F9F7F5;
  color: #f4511e;
  font-family: "Inter Tight", sans-serif;
}

footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

footer .col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 60px;
  margin-bottom: 20px;
}

.footerlogo {
  height: 60px;
  margin-bottom: 20px;
}

footer p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 500px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.footersocial {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  list-style: none;
  padding: 0;
}

.footersocial li a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.footersocial li a:hover {
  transform: scale(1.1);
}

.footersocial li img {
  width: 34px;
  height: 34px;
}

.footermenu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-end;
  align-items: flex-start;
}

.footermenu li a {
  letter-spacing: 0.5px;
  color: #f4511e;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s;
}

.footermenu li a:hover {
  color: #f4511e;
}

.subfooter {
  border-top: 1px solid #F36F21;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 14px;
}

.subfooter .col {
  margin: 30px 0;
  display: flex;
  flex-direction: row;
  text-align: left;
  justify-content: flex-start;
}

.subfooter p {
  margin: 0;
}

.subfooter .col:last-child {
  justify-content: flex-end;
}

.subfooter {
  color: white;
  font-size: 16px;
}
.subfooter span {
  margin-left: 15px;
}
.subfooter a {
	text-decoration: underline;
}
.subfooter a:hover {
  color: #f4511e;
  text-decoration: none;
}



/* Single Page */

#singlehero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 0 20px;
    z-index: 1;
    overflow: hidden;
}

#singlehero h1 {
    font-size: 37px;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 45px;
    font-family: "Instrument Sans", sans-serif;
    letter-spacing: 1px;
}
#singlehero p {
	width: 40%;
	margin: 20px auto;
}

#maincontent {
	background-color: #fff;
	margin-top: 60px;
	margin-bottom: 60px;
}

#maincontent .container {
	width: 900px;
	font-family: "Inter Tight", sans-serif;
	font-size: 16px;
	color: #898888;
	font-weight: 400;
}
#maincontent .container h2, h3, h4 {
    font-family: "Instrument Sans", sans-serif;
    font-weight: 500;
    margin: 0 0 15px;
    color: #0C0C0D;
    }
 #maincontent .container h2 {   
    font-size: 40px;
    line-height: 50px;
}
 #maincontent .container h3 {   
    font-size: 27px;
    line-height: 35px;
}
 #maincontent .container h4 {
	 font-size: 21px;
    line-height: 28px;
	 
 }
 
 /* Contact Page */
#contact {
  padding: 100px 0;
  background-color: #F9F7F5;
}
#contact .contact-wrapper {
  display: flex;
  gap: 100px;
  align-items: center;
}
#contact .contact-info {
  flex: 1;
  max-width: 480px;
}
#contact .contact-info .section-title {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 500;
  color: #0C0C0D;
  font-family: "Instrument Sans", sans-serif;
}
#contact .contact-form .section-title {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 500;
  color: #0C0C0D;
  font-family: "Instrument Sans", sans-serif;
}
#contact .contact-info .section-desc {
  color: #898888;
  line-height: 1.6;
  margin-bottom: 30px;
  font-weight: 400;
  font-size: 18px;
  font-family: "Inter Tight", sans-serif;
}
#contact .contact-details {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}
#contact .contact-details li {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
#contact .contact-details .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: 16px;
}
#contact .contact-details .icon img {
  width: 44px;
  height: 44px;
}
#contact .contact-details .detail {
  font-size: 18px;
  color: #222022;
  font-weight: 500;
  font-family: "Inter Tight", sans-serif;
}
#contact .contact-info hr {
  border: none;
  border-top: 1px solid #E5E2E0;
  margin: 30px 0;
}
#contact .social-follow {
  display: flex;
  align-items: center;
  gap: 16px;
}
#contact .social-follow span {
  font-size: 18px;
  color: #222022;
  font-weight: 500;
  font-family: "Inter Tight", sans-serif;
}
#contact .social-icons {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
#contact .social-icons li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #f4511e;
  border-radius: 50%;
  transition: background-color 0.3s;
}
#contact .social-icons li a:hover {
  background-color: #f4511e;
}
#contact .social-icons li a img {
  width: 20px;
  height: 20px;
}
input:not([type="image" i], [type="range" i], [type="checkbox" i], [type="radio" i]) {
	border: 1px solid #E5E2E0;
	border-radius: 3px;
	color: #212121;
	padding: 15px;
	margin-bottom: 24px;
}

.wpcf7 textarea {
	border: 1px solid #E5E2E0;
	border-radius: 3px;
	color: #212121;
	padding: 15px;
	margin-bottom: 15px;
	margin-top: 15px;
}

::-webkit-input-placeholder, #contact textarea {
	color: #898888;
	font-size: 16px;
	font-weight: 400;
	font-family: "Inter Tight", sans-serif;
	letter-spacing: 1px;
}

:focus-visible {
	outline: none;
}

.wpcf7-checkbox .wpcf7-list-item {
  display: inline-flex !important;
  align-items: center;
  margin-right: 24px; 
  white-space: nowrap;
  font-size: 14px;
}

.wpcf7-checkbox br {
  display: none;
}

.wpcf7-form-control-wrap input[type="text"],
.wpcf7-form-control-wrap input[type="email"],
.wpcf7-form-control-wrap input[type="tel"],
.wpcf7-form-control-wrap textarea {
  width: 100%;
  box-sizing: border-box;
}
.wpcf7 p {
	margin: 0;
}
.wpcf7 h5 {
	font-weight: 600;
	color: #0C0C0D;
	margin-top: -15px;
	font-size: 16px;
	line-height: 18px;
}


.wpcf7-form-control-wrap input[type="checkbox"] {
  width: auto;
  margin-right: 0.5em;

  vertical-align: middle;
}

.wpcf7-checkbox .wpcf7-list-item {
  display: flex;
  align-items: center;
}


.wpcf7-checkbox {
  max-width: none;
}

.wpcf7-list-item {
	margin: 0;
}
.wpcf7-acceptance .wpcf7-list-item-label {
	color: #212121;
	font-size: 16px;
	letter-spacing: 1px;
}

.wpcf7-form input[type="submit"] {
  display: block;              
  width: 100%;                 
  padding: 18px 0;             
  margin-bottom: 0;                   
  background-color: #FF4D00;   
  color: #fff;                 
  font-size: 16px;            
  font-weight: 600;            
  text-align: center;          
  text-transform: uppercase;    
  border: none;                
  border-radius: 0;           
  cursor: pointer;             
  transition: background-color .3s ease;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: #d63e0a;   
}

.contact-form {
  flex: 1;
  background-color: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

/* Mobile */
@media (max-width: 767px) {
#contact .contact-wrapper {
    flex-direction: column;
  }
#contact {
    padding: 30px 0 60px 0;
}
#contact .contact-info .section-title {
	font-size: 33px;
    line-height: 38px;
    }
.contact-form .section-title {
	font-size: 23px;
}
#contact .contact-wrapper {
    gap: 30px;
}
#contact .container {
	padding-right: 15px;
	padding-left: 15px;
}
#contact .contact-form {
    margin-top: 40px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
	#contact .container {
		padding-right: 15px;
		padding-left: 15px;
	}
#contact .contact-wrapper {
    gap: 30px;
}
}


#spaces .section-title, #process .section-title {
    text-align: center;
    font-size: 56px;
    line-height: 56px;
    margin: 0 0 10px;
    font-family: "Instrument Sans", sans-serif;
    font-weight: 500;
    color: #0C0C0D;
}

/* Explore */

#filtergallery .filter-controls {
  text-align: center;
  margin-bottom: 30px;
}
#filtergallery .filter-btn {
  display: inline-block;
  margin: 0 8px 12px;
  padding: 8px 16px;
  border: 1px solid #f4511e;
  background: #fff;
  cursor: pointer;
  transition: .3s;
}
#filtergallery .filter-btn.active,
#filtergallery .filter-btn:hover {
  background: #f4511e;
  color: #fff;
  border-color: #f4511e;
}

#filtergallery .acf-masonry-gallery {
  margin: 0 -10px;
  padding: 0;
}

#filtergallery .masonry-item {
  width: 33.333% !important;
  padding: 0 10px;
  box-sizing: border-box;
  margin-bottom: 20px;
}

#filtergallery .masonry-item.is-removed {
  opacity: 0;
  pointer-events: none;
}

#filtergallery .masonry-item img {
  width: 100%;
  display: block;
  border-radius: 4px;
  transition: transform .3s;
}
#filtergallery .masonry-item:hover img {
  transform: scale(1.03);
}



/* Process */

#process {
	background: #fff;
	padding: 100px 0 0 0;
}

#process .section-title {
    text-align: center;
    font-size: 56px;
    line-height: 56px;
    margin: 0 0 10px;
    font-family: "Instrument Sans", sans-serif;
    font-weight: 500;
    color: #0C0C0D;
}

#process .process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto; /* two rows */
  gap: 5px;
  align-items: stretch;
  margin-top: 20px;
}

#process .process-item[data-index="1"] {
  grid-column: 1;
  grid-row: 1;
}

#process .process-item[data-index="2"] {
  grid-column: 1;
  grid-row: 2;
}

#process .process-item[data-index="4"] {
  grid-column: 3;
  grid-row: 2;
}

#process .process-item[data-index="3"] {
  grid-column: 3;
  grid-row: 1;
}

.process-item {
  background: #F9F7F5;
  padding: 30px;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.process-item .number {
  font-size: 50px;
  font-weight: 400;
  color: #FF4D00;
  line-height: 1;
  font-family: "Instrument Sans", sans-serif;
}
.process-item h3 {
  margin: 0;
  font-size: 24px;
  color: #3E3E3E;
  font-weight: 500;
  font-family: "Instrument Sans", sans-serif;
}
.process-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #898888;
  font-family: "Inter Tight", sans-serif;
}

#process .process-image {
  grid-column: 2;
  grid-row: 1 / span 2;
  overflow: hidden;
  display: flex;
}

#process .process-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* About Page */

#team {
  background-color: #F9F7F5;
  padding: 80px 20px;
}
#team .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
#team .team-title {
  font-family: "Instrument Sans", sans-serif;
  font-size: 40px;
  line-height: 50px;
  font-weight: 500;
  margin: 0 0 15px;
  color: #0C0C0D;
}

#team .team-title span {
  font-family: "Italianno", cursive;
  font-size: 56px;
  font-weight: 400;
  font-style: normal;
}

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

#team .team-member {
  background: #fff;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform .3s ease;
}
#team .team-member:hover {
  transform: translateY(-5px);
}
#team .team-member .avatar {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #eee;
}
#team .team-member .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#team .team-member .name {
  font-size: 20px;
  font-weight: 600;
  margin: 10px 0 5px;
  color: #333;
}
#team .team-member .position {
  font-size: 16px;
  font-weight: 500;
  color: #FF4D00;
  margin-bottom: 15px;
}
#team .team-member .description {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}
@media (max-width: 992px) {
 #team .team-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 30px;
  }
}
@media (max-width: 600px) {
 #team .team-grid {
    grid-template-columns: 1fr;
  }
  #team .team-title {
    font-size: 32px;
    margin-bottom: 40px;
  }
}

/* Spaces Page */

#hero h1.spacestitle {
	font-size: 60px;
	line-height: 70px;
	margin-bottom: 10px;
}

/* Секция и отступы */
#singlegallery {
  padding: 60px 0;
  background-color: #faf8f6; /* при желании фоновый цвет, как на странице Laundry */
}

/* Галерея внутри контейнера */
#singlegallery .acf-masonry-gallery {
  margin: 0 -10px; /* компенсируем внутренние паддинги masonry-item */
}

#singlegallery .masonry-item {
  width: 33.333%;
  padding: 0 10px;
  box-sizing: border-box;
  margin-bottom: 20px;
}

/* Изображения */
#singlegallery .masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform .3s ease;
}
#singlegallery .masonry-item:hover img {
  transform: scale(1.03);
}



/* Magnific Popup */
.mfp-bg {
  background: rgba(0, 0, 0, 0.85);
}
.mfp-wrap .mfp-content {
  max-width: 90%;
  margin: 0 auto;
}
.mfp-image-holder .mfp-close {
  color: #fff;
  opacity: 0.8;
  right: 10px;
  top: 10px;
}

#singlehero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4); 
  z-index: 1;
}
#singlehero h1, #singlehero p {
	z-index: 2;
	position: relative;
}


/* Blog Category */

#maincontent .posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 30px;             /* 30px и row-, и column-gap */
  margin-bottom: 40px;
}
@media (max-width: 992px) {
  #maincontent .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  #maincontent .posts-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== КАРТОЧКИ ПОСТОВ ========== */
#maincontent .archive-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  padding: 15px;
}
#maincontent .archive-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* миниатюра */
#maincontent .archive-thumb {
  display: block;
  overflow: hidden;
}
#maincontent .archive-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .3s;
}
#maincontent .archive-thumb:hover img {
  transform: scale(1.05);
}

#maincontent #load-more {
  background-color: #f4511e;       
  color: #FFFFFF;                  
  text-transform: uppercase;       
  font-size: 1rem;                 
  font-weight: 600;               
  padding: 15px 30px;              
  border: none;                    
  border-radius: 2px;              
  cursor: pointer;                 
  display: inline-block;
  transition: background-color .3s ease;
}

#maincontent #load-more-wrap {
	text-align: center;
}

#maincontent #load-more:hover {
  background-color: #B64414;       
}

/* заголовок */
#maincontent .archive-title {
  font-family: 'Georgia', serif;
  font-size: 1.5rem;
  margin: 20px;
}
#maincontent .archive-title a {
  color: #35234b;  /* насыщенный тёмный */
}
#maincontent .archive-title a:hover {
  color: #2975bf;
}

/* мета-информация */
#maincontent .archive-meta {
  font-size: 0.875rem;
  color: #898888;
  margin: 0;
}
#maincontent .archive-meta span {
  margin-right: 15px;
}

/* отрывок */
#maincontent .archive-excerpt {
  font-size: 14px;
  color: #898888;
  margin: 0;
  flex-grow: 1;
}

/* кнопка «Read More» */
#maincontent .read-more {
  display: inline-block;
  margin: 0;
  padding: 8px 16px;
  background: #f4511e;
  color: #fff;
  font-weight: 600;
  border-radius: 2px;
  transition: background .3s;
}
#maincontent .read-more:hover {
  background: #d63e0a;
}

/* ========== ПАГИНАЦИЯ ========== */
#maincontent .pagination-wrap {
  text-align: center;
  margin-top: 40px;
}
#maincontent .pagination-wrap .page-numbers {
  display: inline-block;
  margin: 0 4px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #ddd;
  color: #333;
  transition: background .3s, color .3s;
}
#maincontent .pagination-wrap .page-numbers.current,
#maincontent .pagination-wrap .page-numbers:hover {
  background: #2975bf;
  color: #fff;
  border-color: #2975bf;
}

#maincontent .archive-thumb {
  width: 100%;
  /* Задаём нужное соотношение сторон: здесь 4:3, можно поменять на 16/9 или любое другое */
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: block;
}

/* изображение растягивается на весь контейнер и центрируется */
#maincontent .archive-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

#maincontent .container h2.archive-title {
	font-size: 23px;
	line-height: 30px;
	margin-top: 10px;
 
}
#maincontent .container h2.archive-title a {
		color: #0C0C0D;
}
#maincontent .container h2.archive-title a:hover {
color: #f4511e;
}


/* Responsive */

@media only screen and (max-width: 767px)  {
	#team {
    padding: 40px 20px;
}
	
  .header .headermenu {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 30px;
    height: 22px;
    z-index: 1001;
  }
  .hamb {
    display: block;
  }

  .mainmenu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 0;               
    overflow: hidden;
    transition: height .5s ease;
    background: rgba(26, 26, 26, 0.98);
    z-index: 1000;
  }
  .mainmenu .headermenu {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 80px 20px 20px; 
  }
  .mainmenu .headermenu li a {
    font-size: 18px;
    color: #fff;
  }
  .mobile-menu-toggle:checked ~ .hamb .hamb-line {
    background: transparent;
  }
  .mobile-menu-toggle:checked ~ .hamb .hamb-line::before {
    transform: translateY(8px) rotate(45deg);
  }
  .mobile-menu-toggle:checked ~ .hamb .hamb-line::after {
    transform: translateY(-8px) rotate(-45deg);
  }

  .mobile-menu-toggle:checked ~ .mainmenu {
    height: 100vh;        
  }
  #shedule .container, #hero .container, #welcomesection .container {
	  padding-right: 15px;
	  padding-left: 15px;
  }
  #shedule h2 {
	  font-size: 33px;
	  line-height: 38px;
	  margin: 0 0 15px;
	  width: 100%;
  }
   #shedule .container {
	   text-align: center;
   }
  #shedule h2 span {
	  font-size: 50px;
	  line-height: 38px;
  }
  #hero .button, #shedule .button, #welcomesection .button {
	  font-size: 12px;
	  letter-spacing: 0.5px;
  }
  #hero {
	  height: 60vh;
	  padding: 0;
  }
  #hero p {
	width: 100%;  
  }
  #hero h1 {
	  font-size: 44px;
	  line-height: 52px;
  }
  #hero h1 span {
	  font-size: 64px;
	  line-height: 52px;
  }
  #hero h1.spacestitle {
    font-size: 40px;
    line-height: 48px;
    margin-bottom: 10px;
}
#singlegallery {
	padding-right: 15px;
	padding-left: 15px;
}
#filtergallery {
	padding-left: 15px;
	padding-right: 15px;
}
  #welcomesection {
	  padding-top: 0;
	  padding-bottom: 0;
	  margin: 70px 0;
  }
  #welcomesection .container {
	  width: 100%;
  }
  #welcomesection .container::before, #welcomesection .container::after {
	  display: none;
  }
  #welcomesection h2, #spaces .section-title, #experience h2, #testimonials h2 {
	  font-size: 33px;
	  line-height: 38px;
  }
   #welcomesection h2 span, #spaces .section-title span, #experience h2 span, #testimonials h2 span {
	   font-size: 50px;
	  line-height: 38px;
   }
   #spaces {
	   padding: 60px 0;
   }
   #spaces .container {
	   padding-right: 15px;
	   padding-left: 15px;
   }
   .spaces-grid {
	   display: block;
   }
   #spaces::before, #spaces::after {
	   display: none;
   }
   #experience {
	   padding-right: 15px;
	   padding-left: 15px;
   }
   #experience h2 {
	   text-align: center;
   }
   #experience .subtitle {
	   text-align: center;
   }
   .exp-wrapper {
	   display: flex;
       flex-direction: column-reverse;
   }
   .timeline {
	   padding-top: 23px;
	   padding-bottom: 23px;
   }
   .timeline-item .content h3 {
	   font-size: 21px;
	   line-height: 28px;
   }
   .timeline-item .circle {
	   width: 60px;
	   height: 60px;
   }
   .timeline::before {
	   left: 51px;
   }
   .timeline-item .content {
	   margin-left: 70px;
   }
   #testimonials {
	   padding: 30px 0 50px 0;
   }
    #testimonials .container {
	    padding-right: 15px;
	    padding-left: 15px;
    }
    #testimonials h2 {
	    text-align: center;
	    margin-bottom: 15px;
    }
  #testimonials .testimonial::before {
	  width: 26px;
	  height: 23px;
  }
  #testimonials .testimonial {
	 padding: 25px 20px 20px 20px;
  }
  #testimonials .slider-dots li button {
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px;
  }
  #testimonials .slider-dots li {
    height: 34px;
}
#testimonials .text {
	font-size: 14px;
}
#testimonials .author {
	font-size: 18px;
}
footer {
	padding: 30px 15px 30px 15px;
}
footer .container {
	display: block;
}
.footermenu {
	display: block;
}
footer .col {
	margin-top: 20px;
}
footer .col:last-child {
	display: none;
}
.subfooter .col:last-child {
	text-align: left;
	display: block; 
}
.slick-track {
	gap: 0;
}
#maincontent .container {
	width: 100%;
	padding-left: 15px;
	padding-right: 15px;
}
#singlehero p {
	width: 100%;
}
#singlehero {
	height: 50vh;
}
}
@media (min-width: 768px) and (max-width: 1024px) {
	#hero {
		height: 50vh;
	}
	#welcomesection .container {
		width: 50%;
	}
	#welcomesection .container::before {
    width: 20%;
    height: 55%;
}
#welcomesection .container::after {
    width: 20%;
    height: 60%;
}
#spaces, #experience, #shedule, #testimonials, footer {
	padding-right: 15px;
	padding-left: 15px;
}
#maincontent .container {
	width: 100%;
	padding-left: 15px;
	padding-right: 15px;
}
#singlehero p {
	width: 100%;
}
#singlehero {
	height: 30vh;
}
#process .container {
	padding-right: 15px;
    padding-left: 15px;	
}
#singlegallery, #filtergallery {
	padding-left: 15px;
	padding-right: 15px;
}
.menu .headermenu li a {
	font-size: 14px;
}
.menu .headermenu {
	gap: 15px;
}
.consult-btn {
	font-size: 12px !important;
}
}

/* ---------- Кнопка Free Consultation ---------- */
.consult-btn {
  background-color: #f4511e;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  transition: background-color .3s ease;
}
.consult-btn:hover {
  background-color: #d63e0a;
}

.consult-btn--mobile  { display: none; }
.consult-btn--desktop { display: inline-block; }

@media (max-width: 767px) {
  
  .consult-btn--desktop { display: none !important; }
  .consult-btn--mobile  { display: block; }

 
  .mainmenu .consult-btn--mobile {
    margin: 16px 20px;
    width: calc(100% - 40px);
    text-align: center;
  }
}
/* ---------- Стили модального окна ---------- */
.consult-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
}
.consult-modal.active {
  display: block;
}
.consult-modal__overlay {
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  inset: 0;
}
.consult-modal__inner {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 25px;
  width: 90%;
  max-width: 650px;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.consult-modal__close {
  position: absolute;
  top: 12px; right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #333;
  cursor: pointer;
}
.consult-modal .section-title {
	text-align: center;
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 500;
    color: #0C0C0D;
    font-family: "Instrument Sans", sans-serif;
}

@media (max-width: 767px) {

  #process .process-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto;
    gap: 20px;              
    padding: 0 15px;       
    box-sizing: border-box;
  }
  
  .space .learn-more {
	  color: #111;
	  visibility: visible;
	  opacity: 1;
  }
  
  .space:hover .learn-more {
  color: #fff;
}


  #process .process-item,
  #process .process-image {
    grid-column: auto !important;
    grid-row: auto !important;
  }


  #process .process-item[data-index="1"] { order: 1; }
  #process .process-item[data-index="2"] { order: 2; }
  #process .process-image                 { order: 3; }
  #process .process-item[data-index="3"] { order: 4; }
  #process .process-item[data-index="4"] { order: 5; }


  #process .process-grid {
    display: flex;
    flex-direction: column;
  }
  .consult-modal .section-title {
	  font-size: 24px;
  }
  ::-webkit-input-placeholder, #contact textarea {
	  font-size: 14px;
  }
  input:not([type="image" i], [type="range" i], [type="checkbox" i], [type="radio" i]) {
	  padding: 10px;
	  margin-bottom: 14px;
  }
  .wpcf7 h5 {
	  margin-bottom: 14px;
  }
  .consult-modal__inner {
	  padding: 15px;
  }
  .wpcf7-form input[type="submit"] {
	  padding: 10px 0;
  }
  .wpcf7-checkbox .wpcf7-list-item {
	  font-size: 13px;
  }
}