/*************************
   GLOBAL STYLES
*************************/
body {
  margin: 0;
  font-family: 'Forum', serif;
  background-color: #fff;
  color: #1A2400;
}
 body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  background: url('https://grainy-gradients.vercel.app/noise.svg') repeat;
  opacity: 0.24;
} 
#ast-scroll-top{
  background-color: transparent;
}
#ast-scroll-top .ast-icon {
  background: url('https://theplanner.nyc/wp-content/uploads/2025/05/Icon_Bird_Standalone.png') center/contain no-repeat;
  width: 45px; height: 45px; display: block;
}
#ast-scroll-top .ast-arrow-svg { display: none !important; }
#ast-scroll-top, #ast-scroll-top * {
  outline: none !important; box-shadow: none !important; border: none !important;
}

/*************************
        HEADER
*************************/
.site-header {
  position: fixed; top: 0; width: 100%; height: 100px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.75), transparent);
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 40px; z-index: 1000;
  font-family: 'Benzin', sans-serif; font-size: 14px; line-height: 100%;
  letter-spacing: 2%; text-transform: uppercase;
  transition: top 0.5s ease, opacity 0.3s ease;
}
.site-header.hide { top: -120px; opacity: 0; pointer-events: none; }
.site-header:hover { opacity: 1; pointer-events: auto; }

.nav-left, .nav-right { flex: 1; display: flex; align-items: center; }
.nav-left { justify-content: flex-start; }
.nav-right { justify-content: flex-end; gap: 24px; }
.nav-center { flex: 2; display: flex; justify-content: center; }
.nav-center ul { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; }

.nav-link, .nav-center a {
  position: relative; font-family: 'Benzin', sans-serif; font-size: 14px;
  text-transform: uppercase; color: #BCC5A1; text-decoration: none;
  transition: color 0.3s ease; outline: none;
}
.nav-link:hover, .nav-center a:hover, .nav-link.active, .nav-center a.active { color: #fff; }
.nav-link::after, .nav-center a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background-color: #BCC5A1; transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.3s, background-color 0.3s;
}
.nav-link:hover::after, .nav-center a:hover::after, .nav-link.active::after, .nav-center a.active::after {
  transform: scaleY(1); background-color: #fff;
}
.nav-link:focus, .nav-center a:focus { outline: none; box-shadow: none; }

/*************************
   MOBILE MENU & BUTTONS
*************************/
.mobile-menu-toggle {
  display: none; 
  width:90%;
  align-items: center; 
  justify-content: space-between; 
  gap: 10px;
  color: #BCC5A1; 
  font-family: 'Benzin', sans-serif; 
  font-weight: 400;
  font-size: 11px; 
  line-height: 100%;
  text-transform: uppercase;
  border-radius: 2px; 
  border: none; 
  height: 32px; 
  cursor: pointer; 
  position: absolute; 
  left: 50%; top: 24px;
  transform: translateX(-50%); 
  z-index: 1101; 
  min-width: 95px;
  transition: background 0.2s, color 0.2s;
}
.menu-text { font-family: 'Benzin', sans-serif; font-size: 11px; font-weight: 400; }
.header-book { 
	font-family: 'Benzin', sans-serif; 
	font-size: 11px; 
	font-weight: 400; 
	color:#BCC5A1;
	
  position: relative; display: inline-flex; align-items: center; gap: 5px; 
  line-height: 1;  text-transform: uppercase;
  border: none; cursor: pointer; text-decoration: none;
  outline: none;

}

.arrow-header {
  display: inline-block;
  width: 11px;
  height: 11px;
  background-image: url('https://theplanner.nyc/wp-content/uploads/2025/05/top-right-icon-green.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: background-image 0.18s cubic-bezier(.61,0,.15,1);
}


.mobile-menu-toggle:hover .menu-line, .mobile-menu-toggle:focus .menu-line { background: #1A2400; }

.mobile-menu {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  position: fixed; inset: 0; 
 background:url("https://theplanner.nyc/wp-content/uploads/2025/05/menu-select.png");
background-size: cover;
background-position-y: bottom;
 color: #bcc5a1;
  z-index: 1101; right: -100vw; opacity: 0;
  transition: right 0.4s cubic-bezier(.7,.3,.2,1), opacity 0.25s;
  padding: 0 5vw; pointer-events: none;
}
.mobile-menu.active { right: 0; opacity: 1; pointer-events: auto; }

.mobile-menu-header {
/*   position: absolute; top: 40px; left: 50%; transform: translateX(-50%); */
  display: flex; align-items: center; gap: 10px; z-index: 2;width:95%; justify-content: space-between; padding: 30px 0px;
}
.menu-title { font-family: 'Benzin', sans-serif; font-weight: 400; font-size: 11px; color: #BCC5A1; text-decoration: underline; }

.menu-close:hover, .menu-close:focus { color: #fff; }

.mobile-menu ul { list-style: none; padding: 0; margin: 80px 0 0 0; display: flex; flex-direction: column; align-items: center; width: 100%; padding-top:20px}
.mobile-menu ul li a {
  font-family: 'Forum', sans-serif; font-weight: 400; font-size: 32px; text-transform: uppercase;
  color: #BCC5A1; text-decoration: none; transition: color 0.2s;
}
.mobile-menu ul li a.active, .mobile-menu ul li a:hover { color: #fff; }

.mobile-lang-switcher { display: flex; gap: 20px; justify-content: center; font-size: 11px; letter-spacing: 2px; }
.mobile-lang-switcher a {
  color: #BCC5A1; opacity: 0.7; text-decoration: none; transition: opacity 0.2s, color 0.2s;
  font-family: 'Benzin', sans-serif; font-size: 11px; text-transform: uppercase; font-weight: 400;
}
.mobile-lang-switcher a.active, .mobile-lang-switcher a:hover { color: #fff; opacity: 1; text-decoration: underline; }


.mobile-menu-buttons {
  width: 95%; padding: 60px 0; display: flex; flex-direction: column; gap: 12px; 
}
.consult-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 15px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-family: 'Benzin', sans-serif;
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1;
  text-decoration: none;
  transition: 
    color 0.22s cubic-bezier(.61,0,.15,1), 
    background 0.22s cubic-bezier(.61,0,.15,1),
    border-color 0.22s cubic-bezier(.61,0,.15,1);
  box-sizing: border-box;
  cursor: pointer;
}
.arrow {
  display: inline-block;
  width: 15px;
  height: 15px;
  background-image: url('https://theplanner.nyc/wp-content/uploads/2025/05/top-right-icon.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: background-image 0.18s cubic-bezier(.61,0,.15,1);
}


.consult-btn:hover,
.consult-btn:focus {
  background: #fff;
  color: #1A2400;
  border-color: #fff;
  outline: none;
}

.consult-btn:hover .arrow,
.consult-btn:focus .arrow {
  background-image: url('https://theplanner.nyc/wp-content/uploads/2025/05/top-right-icon-blackgreen.svg');
}

.mobile-menu-button-hero{display: none;}


@media (max-width: 992px) {
  .nav-left, .nav-center, .nav-right { display: none !important; }
  .mobile-menu-toggle { display: flex; }
  .site-header { justify-content: center; padding: 0 10px; height: 80px; }
}
@media (max-width: 576px) {
  .mobile-menu { padding: 0 2vw; }
}

/*************************
    VIDEO BACKGROUND
*************************/
.video-background {
  position: absolute; top: 0; left: 0; 
   width: 100%; 
  height: 200vh; 
  z-index: -1; overflow: hidden; pointer-events: none;
}
.video-background video {
  width: 100vw; height: 200vh; object-fit: cover;
  object-position: center center;

}
.desktop-only { visibility: visible; position: static; }
.mobile-only { visibility: hidden; position: absolute; pointer-events: none; }
.bg-hero{
	display:none;
}
@media (max-width: 768px) {
   .video-background {
  height: auto;
} 
  .desktop-only { visibility: hidden; position: absolute; pointer-events: none; }
  .mobile-only { visibility: visible; position: static; pointer-events: auto; }
}

/*************************
      HERO SECTION
*************************/
.hero-section { position: relative; height: 100vh; }
.hero-content {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  text-align: center; width: 100%; justify-content: flex-end; height: 100%;
}
.hero-top-buttons {
  display: flex; width: 100%; justify-content: space-between; padding: 0 40px 40px 40px;
}
.hero-top-buttons .btn {
  position: relative; display: inline-flex; align-items: center; font-family: 'Benzin', sans-serif;
  font-weight: 400; font-size: 14px; line-height: 1; letter-spacing: 2%;
  text-transform: uppercase; padding: 2px 5px; color: #FFF; background: transparent; border: none;
  cursor: pointer; text-decoration: none; transition: all 0.3s ease; outline: none;
}
.hero-top-buttons .btn::before {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background-color: #FFF;
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.3s;
}
.hero-top-buttons .btn:hover::before, .hero-top-buttons .btn:focus::before { transform: scaleY(1); }
.hero-top-buttons .btn::after {
  content: url('https://theplanner.nyc/wp-content/uploads/2025/05/top-right-icon.svg');
  display: inline-block; width: 14px; height: 14px; background-size: contain; opacity: 0;
  transform: translateY(5px); margin-left: 8px; transition: opacity 0.25s, transform 0.3s;
}
.hero-top-buttons .btn:hover::after, .hero-top-buttons .btn:focus::after { opacity: 1; transform: translateY(0); }
.mobile-hero{
		display:none;
	}
@media (max-height: 600px) {
    .logo-text {
        top: 90vh;
    }
}
@media (max-width: 992px) {
	.video-background img {
	    width: 100vw;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.mobile-hero{
		display:flex;
        flex-direction: column;
	align-items:center;
        justify-content: flex-end;
	height:100vh;
	position:relative;
	width:100%;
	}
	.mob-logo{
		margin-bottom:auto;
		margin-top:auto;
		display:block;
		max-width:300px;
		width:100vw;
	}

.logo-text{
font-family: Forum;
font-weight: 400;
font-size: 16px;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
text-transform: uppercase;
color: #FFFFFF;
    position: absolute;
    top: 90dvh; /* або, наприклад, top: 70vh; */
    left: 50%;
    transform: translateX(-50%);
    margin: 0;	
	width:90%;
	}



.hero-section { min-height: 100dvh; }
  .hero-top-buttons { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 18px; width: 100%; padding-bottom: 40px; }
.hero-top-buttons .btn { width: 90%; justify-content: center; }
.mobile-menu-button-hero{
	display: block;
	padding-bottom: 60px;
	width:90%;
}
.consult-btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 15px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-family: 'Benzin', sans-serif;
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  width: 100%;
  justify-content: center;
}

.arrow-hero {
  display: inline-block;
  width: 15px; height: 15px;
  background-image: url('https://theplanner.nyc/wp-content/uploads/2025/05/top-right-icon.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: background-image 0.18s cubic-bezier(.61,0,.15,1);
}

.consult-btn-hero:hover,
.consult-btn-hero:focus {
  background: #fff;
  color: #1A2400;
  border-color: #fff;
  outline: none;
}

.consult-btn-hero:hover .arrow-hero,
.consult-btn-hero:focus .arrow-hero {
  background-image: url('https://theplanner.nyc/wp-content/uploads/2025/05/top-right-icon-blackgreen.svg');
}

}

/* HERO TEXT ANIMATION */
/************ HERO TOP SECTION ************/
.hero-top-section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  color: #fff;
  position: relative;
  width: 100vw;
  min-height: 400px;
}

.hero-top-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 80%;
  justify-content: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

#mainTitle {
  font-family: 'Benzin', sans-serif;
  font-weight: 400;
  font-size: 27px;
  line-height: 100%;
  letter-spacing: 2%;
  text-align: center;
  text-transform: uppercase;
  color: #BCC5A1;
  max-width: 900px;
  width: 60%;
  margin: 0 auto;
  opacity: 0;
  filter: blur(25px);
  transition:
    opacity 1.7s cubic-bezier(.8,0,.2,1),
    transform 1.3s cubic-bezier(.4,1,.3,1),
    filter 1.7s cubic-bezier(.4,1,.3,1);
}
.hero-top-text.big-anim #mainTitle {
  opacity: 1;
  filter: blur(0);
}

#heroText {
  font-family: 'Forum', serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  color: #FFFFFF;
  margin-top: 16px;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}
#heroText span.word {
  opacity: 0;
  display: inline-block;
  transition: opacity 0.7s cubic-bezier(.8,0,.2,1);
}
#heroText.visible span.word {
  opacity: 1;
  transition-delay: calc(0.08s * var(--word-index));
}

/* Scrolling Text Banner */
.scrolling-wrapper {
  overflow: hidden;
  width: 100vw;
  height: 190px;
  background: transparent;
  position: relative;
  margin: 0 auto;
  padding: 0;
}
.scrolling-line {
  display: flex;
  width: max-content;
  animation: scrollLoopRight 40s linear infinite;
  line-height: 1;
}
.scrolling-track {
  display: flex;
}
.scrolling-track span {
  font-family: 'Forum', serif;
  font-weight: 400;
  font-size: 190px;
  line-height: 100%;
  letter-spacing: 2%;
  text-align: justify;
  text-transform: uppercase;
  color: #BCC5A1;
  white-space: nowrap;
  padding-right: 60px;
}
@keyframes scrollLoopRight {
  0% { transform: translateX(0%);}
  100% { transform: translateX(-50%);}
}

/************ MOBILE ADAPTIVE ************/
@media (max-width: 992px) {
  #mainTitle {
    font-size: 21px;
    width: 85%;
    max-width: 98vw;
    line-height: 1.2;
  }
  .hero-top-text h1 { font-size: 21px; width: 60%; }
  .hero-top-text p, #heroText {
    font-size: 16px;
    max-width: 98vw;
    line-height: 100%;
    letter-spacing: 0;
	width: 90%;
  }
  .scrolling-track span {
    font-size: 64px;
    line-height: 100%;
    letter-spacing: 2%;
  }
  .scrolling-wrapper {
    height: 100px;
  }
  .hero-top-section { min-height: 100dvh; }
}

/* Extra Mobile XS */
/* @media (max-width: 600px) {
  .hero-top-section { min-height: 280px; }
  #mainTitle { font-size: 16px; }
  .hero-top-text h1 { font-size: 16px; }
  .hero-top-text p, #heroText { font-size: 13px; }
  .scrolling-track span { font-size: 40px; }
  .scrolling-wrapper { height: 36px; }
} */
/*************************
     GALLERY + ACCORDION
*************************/
.gallery-acordion { background-color: #ECE8DE; height: 100vh; display: flex; flex-direction: column; justify-content: space-between; }

/* --- Accordion --- */
.accordion-wrapper {
  display: flex; width: 100%; font-family: 'Forum', serif; height: 50vh; align-items: center;
}
.accordion-left {
  width: 36%; min-width: 240px; display: flex; flex-direction: column; justify-content: flex-start;
  background: #ECE8DE; position: relative;
}
.accordion-left::after {
  content: ""; position: absolute; right: 0; top: 0; width: 1px; height: 100%;
  border-right: 1px solid #1A2400; transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.85s cubic-bezier(.71,0,.33,1.09); z-index: 2; will-change: transform;
}
.accordion-left.lines-animated::after { transform: scaleY(1); }

.accordion-item { background: #ECE8DE; position: relative; }
.accordion-item[data-index="0"]::after, .accordion-item[data-index="1"]::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  border-bottom: 1px solid #1A2400; transform: scaleX(0); transform-origin: right;
  transition: transform 0.85s cubic-bezier(.71,0,.33,1.09) 0.1s; z-index: 1; will-change: transform;
}
.accordion-item.lines-animated[data-index="0"]::after, .accordion-item.lines-animated[data-index="1"]::after {
  transform: scaleX(1);
}
.accordion-item:last-child { border-bottom: none; }

.accordion-header {
  display: flex; justify-content: space-between; align-items: center; padding: 28px 24px 18px 24px; cursor: pointer;
}
.accordion-header h2 {
  font-family: 'Forum', serif; font-size: 48px; color: #1A2400; text-transform: uppercase; letter-spacing: 2%; margin: 0;
  transition: color 0.2s;
}
.accordion-item.active .accordion-header h2 { color: #7D8963; }
.accordion-item:not(.active):hover .accordion-header h2 { color: #7D8963; }
.left-title-line {
  opacity: 0; display: inline-block; transform: translateY(60px);
  transition: opacity 0.9s cubic-bezier(.7,0,.18,1.03), transform 1.1s cubic-bezier(.7,0,.18,1.03);
}
.left-title-line.animated {
  opacity: 1; transform: translateY(0);
  transition-delay: calc(0.11s * var(--line-index));
}
.accordion-item.active .left-title-line,
.accordion-item:not(.active):hover .left-title-line { color: #7D8963; }

.icon { width: 22px; height: 22px; }
.accordion-right {
  width: 64%; padding: 40px 60px 40px 48px; display: flex; flex-direction: column; justify-content: flex-start;
  background: #ECE8DE; position: relative;
}
.accordion-panel {
  display: none; animation: fade-in 0.3s;
}
.accordion-panel[style*="display: block"], .accordion-panel:not([style*="display: none"]) { display: block; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.accordion-panel p {
  font-family: 'Forum', serif; font-size: 24px; color: #1A2400; line-height: 1; margin-bottom: 24px; margin-top: 0;
  opacity: 0;
}
.accordion-panel p.ready { opacity: 1; transition: opacity 0.01s; }
.word { opacity: 0; transition: opacity 0.6s cubic-bezier(.77,0,.18,1.1); }
.visible .word { opacity: 1; transition-delay: calc(0.11s * var(--word-index)); }
.accordion-core-button {
  display: inline-flex; align-items: center; gap: 8px; font-family: 'Benzin', sans-serif; font-size: 14px;
  text-transform: uppercase; letter-spacing: 2%; color: #1A2400; background: transparent;
  border: 1px solid #1A2400; padding: 8px 24px; cursor: pointer; position: relative; text-decoration: none;
  transition: all 0.3s ease; line-height: 1; opacity: 0; transform: translateY(40px);
  transition:
    opacity 0.7s cubic-bezier(.77,0,.18,1.1),
    transform 0.8s cubic-bezier(.77,0,.18,1.1);
}
.accordion-panel.show-button .accordion-core-button {
  opacity: 1; transform: translateY(0); transition-delay: 0.44s;
}
.accordion-core-button::after {
  content: url('https://theplanner.nyc/wp-content/uploads/2025/05/top-right-icon-blackgreen.svg');
  display: inline-block; width: 15px; height: 15px; background-size: contain; transition: transform 0.3s ease;
}
.accordion-core-button:hover::after { transform: translateX(4px); }
.accordion-core-button:hover,
.accordion-core-button:active,
.accordion-core-button:focus {
  background: #FFFFFF;
  color: #1A2400;
  border-color: #1A2400;
  outline: none;
}

.accordion-panel-number { font-family: 'Forum', serif; color: #7D8963; display: flex; align-items: flex-end; margin-left: 32px; }
.accordion-panel-number .big { font-size: 48px; line-height: 1; }
.accordion-panel-number .small { font-size: 18px; margin-left: 6px; }

.accordion-bottom-row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 36px; }

@media (max-width: 992px) {
	.gallery-acordion {min-height:100dvh;}
  .accordion-wrapper {
    flex-direction: column; min-height: 0;
    padding-bottom: 50px;
	justify-content: center;
  }
  .accordion-left, .accordion-right { width: 100%; min-width: 0; border-right: none; padding: 0; }
  .accordion-right { display: none; }
  .accordion-panel, .accordion-mobile-panel {
    display: none; padding: 0 18px 24px 18px; background: #ECE8DE; 
	  border-bottom: 1px solid #1A2400;
  }
  .accordion-mobile-panel.active { display: block; }
  .accordion-panel.active { display: block; }
  .accordion-header h2 {
    font-size: 32px !important;
    font-family: 'Forum', serif !important;
    line-height: 1.1;
    padding: 0;
    margin: 0;
  }
  .accordion-header {
    padding: 22px 18px 12px 18px;

  }
  .accordion-mobile-panel p,
  .accordion-panel p {
    font-size: 16px !important;
    line-height: 1.4;
    margin-bottom: 18px;
    margin-top: 20px;
    color: #1A2400;
  }
  .accordion-bottom-row {
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
    margin-top: 16px;
    gap: 16px;
  }
.accordion-core-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Benzin', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2%;
  color: #1A2400;
  background: transparent;
  border: 1px solid #1A2400;
  padding: 8px 24px;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  line-height: 1;
  width: 100%;
  justify-content: center;

  /* Ось тут головне! */
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s cubic-bezier(.77,0,.18,1.1),
    transform 0.8s cubic-bezier(.77,0,.18,1.1);
}

.accordion-panel.show-button .accordion-core-button,
.accordion-mobile-panel.show-button .accordion-core-button {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.44s;
}
  .accordion-panel-number { display: none; }

.accordion-item[data-index="0"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 1px;
  width: 100%;
  border-top: 1px solid #1A2400;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.85s cubic-bezier(.71,0,.33,1.09) 0.1s;
  z-index: 3;
  pointer-events: none;
}
.accordion-item.lines-animated[data-index="0"]::before {
  transform: scaleX(1);
}
  .accordion-item[data-index="0"]::after,
  .accordion-item[data-index="1"]::after,
  .accordion-item[data-index="2"]::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    border-bottom: 1px solid #1A2400;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.85s cubic-bezier(.71,0,.33,1.09) 0.1s;
    z-index: 1;
    will-change: transform;
  }

  .accordion-item.lines-animated[data-index="0"]::after,
  .accordion-item.lines-animated[data-index="1"]::after,
  .accordion-item.lines-animated[data-index="2"]::after {
     transform: scaleX(1); 
  }
	.accordion-panel, .accordion-mobile-panel[data-index="2"]{
		padding-bottom:50px;
	}
}


.loop-gallery-wrapper {
  height: 50vh;
  overflow: hidden;
}
.loop-gallery {
  display: flex;
  gap: 10px;
  height: 100%;
  align-items: flex-start;
  overflow: hidden;
  /* user-select: none; — прибираємо! */
}
.loop-gallery img {
  width: auto;
  max-height: 100%;
  object-fit: contain;
  flex: 0 0 auto;
  cursor: pointer;
  z-index: 1;
  transition: height 0.6s, transform 0.4s, opacity 0.4s;
}
.loop-gallery img:hover {
  height: 100% !important;
  z-index: 5;
  transform: scale(1.05);
  opacity: 1;
}

/* MOBILE: дозволяємо горизонтальний скрол */
@media (max-width: 768px) {
  .loop-gallery-wrapper {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    height: 50vh;
    box-sizing: border-box;
  }
  .loop-gallery {
    display: flex;
    flex-wrap: nowrap !important;
    width: max-content !important; /* Оце головне! */
    box-sizing: border-box;
    /* НЕ треба min-width чи width: 100vw тут! */
  }
  .loop-gallery img {
    height: 100%!important; 
    
    width: auto;
    flex: 0 0 auto;
  }
}

/*************************
   CORE VALUES SECTION
*************************/
.core-values-section {
  height: 100vh; background-color: #1A2400; color: #FFF; display: flex; flex-direction: column;
  justify-content: space-between; align-items: center; position: relative; padding: 20px 0 0 0; overflow: hidden;
}
.core-title {
  font-family: 'Forum', serif; font-weight: 400; font-size: 91px; line-height: 1; text-align: center;
  text-transform: uppercase; color: #BCC5A1; z-index: 2; padding-top: 65px;
}
.core-content {
  text-align: center; max-width: 800px; z-index: 2; margin-top: 60px;
}

.core-center-text {
  font-family: 'Benzin', sans-serif; color: #BCC5A1; font-weight: 400; font-size: 27px;
  line-height: 1; letter-spacing: 2%; text-transform: uppercase; max-width: 900px; text-align: center;
  opacity: 0; filter: blur(25px);
  transition:
    opacity 1.7s cubic-bezier(.8,0,.2,1),
    transform 1.3s cubic-bezier(.4,1,.3,1),
    filter 1.7s cubic-bezier(.4,1,.3,1);
}
.core-content.visible .core-center-text { opacity: 1; filter: blur(0); }


.core-subtext {
  font-family: 'Forum', serif; font-weight: 400; font-size: 24px; line-height: 1; margin-bottom: 32px; margin-top: 16px;
}
.core-subtext span.word {
  opacity: 0; display: inline-block; transition: opacity 0.7s cubic-bezier(.8,0,.2,1);
}
.core-content.visible .core-subtext span.word {
  opacity: 1; transition-delay: calc(0.1s * var(--word-index));
}
.core-content.visible .core-button.show {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.core-button {
  position: relative; display: inline-flex; align-items: center; gap: 8px; font-family: 'Benzin', sans-serif;
  font-weight: 400; font-size: 14px; line-height: 1; letter-spacing: 2%; text-transform: uppercase;
  padding: 2px 5px; color: #BCC5A1; background: transparent; border: none; cursor: pointer;
  text-decoration: none; transition: all 0.3s ease; outline: none; opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(.8,0,.2,1), transform 0.8s cubic-bezier(.4,1,.3,1);
  pointer-events: none;
}
.core-button:focus { outline: none; box-shadow: none; color: #BCC5A1; }
.core-button::before {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background-color: #BCC5A1;
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.3s ease;
}
.core-button:hover::before { transform: scaleY(1); }
.core-button:hover { color:#BCC5A1!important; }
.core-button::after {
  content: url('https://theplanner.nyc/wp-content/uploads/2025/05/top-right-icon-green.svg');
  display: inline-block; width: 14px; height: 14px; background-size: contain; transition: transform 0.3s ease;
}
.core-button:hover::after { transform: translateX(4px); color: #BCC5A1; }

.core-content.no-title-anim .core-center-text,
.core-title.no-title-anim,
.core-center-text.no-title-anim {
  opacity: 1 !important;
  filter: none !important;
  transition: none !important;
}

.core-button.no-btn-anim,
.core-content.visible .core-button.no-btn-anim.show {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  pointer-events: auto;
}

/* Scrolling text core */
.scrolling-wrapper-core { overflow: hidden; width: 100%; height: 190px; background: transparent; position: relative; }
.scrolling-line-core { display: flex; width: max-content; animation: scrollLoopRightCore 40s linear infinite; line-height: 1; }
.scrolling-track-core { display: flex; }
.scrolling-track-core span {
  font-family: 'Forum', serif; font-size: 190px; white-space: nowrap; color: #7D8963; padding-right: 60px;
}
@keyframes scrollLoopRightCore {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}
/* ===== MOBILE ADAPTATION ===== */
@media (max-width: 992px) {
	.core-values-section {min-height:100dvh;}
  .core-title {
    font-size: 32px;
  }
  .core-content {
    margin-top: 24px;
    max-width: 97vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .core-center-text {
    font-size: 21px;
    line-height: 1.2;
    max-width: 98vw;
    margin: 0 auto 12px auto;
  }
  .core-subtext {
    font-size: 16px;
    line-height: 1;
    margin-bottom: 24px;
    margin-top: 10px;
  }
  .core-button {
    font-size: 14px;

  }
  .scrolling-wrapper-core {
    height: 100px;
  }
  .scrolling-track-core span {
    font-size: 64px;
  }
}

/*************************
         REVIEWS
*************************/
.reviews-section {
  display: flex; flex-direction: column; min-height: 100vh; padding: 20px 20px 0 20px;
  justify-content: space-between; align-items: center; box-sizing: border-box;
  background: linear-gradient(180deg, #E5E1D8 0%, #FFFFFF 100%);
}
.reviews-title {
  font-family: 'Forum', serif; font-weight: 400; font-size: 91px; line-height: 100%; text-align: center;
  text-transform: uppercase; color: #1A2400; padding-top: 65px;
}
.reviews-carousel-wrapper { 
	width: 100%; 
	max-width: 100%; 
	overflow-x: auto;      /* <-- важливо! */
    overflow-y: hidden;; 
	box-sizing: border-box; 
	position: relative;
	-webkit-overflow-scrolling: touch; 
}
.reviews-carousel {
  display: flex; 
	gap: 25px; 
	width: 100%; 
	user-select: none;
}
.reviews-carousel-wrapper::-webkit-scrollbar { display: none; }
.reviews-carousel-wrapper { scrollbar-width: none; }
.review-card {
  flex: 0 0 auto; width: 550px; min-width: 400px; height: 300px;
  border: 1px solid #000; padding: 24px; box-sizing: border-box; 
	text-align: justify;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.review-text {
    font-family: 'Forum', serif; 
	font-weight: 400; 
	font-size: 24px; 
	line-height: 100%; 
/* 	margin-bottom: 75px;  */
	color: #000;
/* display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  transition: max-height 0.25s;
  cursor: pointer; */
	
}
.review-footer { display: flex; align-items: center; gap: 16px; }
.review-avatar { width: 58px; height: 58px; object-fit: cover; border-radius: 50%; }
.review-info .review-name {
  font-family: 'Benzin', sans-serif; font-weight: 400; font-size: 20px; color: #1A2400;
}
.review-info .review-position {
  font-family: 'Forum', serif; font-weight: 400; font-size: 24px; color: #ADADAD;
}
.rewive-intro p {
  font-family: 'Forum', serif; font-weight: 400; font-size: 24px; line-height: 1;
  text-transform: uppercase; color: #1A2400; margin-bottom: 40px; text-align: center;
}
#reviveText span.word {
  opacity: 0; display: inline-block; transition: opacity 0.7s cubic-bezier(.8,0,.2,1);
}
#reviveText.visible span.word { opacity: 1; transition-delay: calc(0.1s * var(--word-index)); }
@media (max-width: 992px) {
	.reviews-section {min-height:100dvh;}
  .reviews-title { font-size: 32px; }
  .review-card { width: 80vw; min-width: 80vw; font-size: 16px; height: auto; }
	.review-text {font-size: 16px; margin-bottom: 40px;}
	.review-info .review-name {font-size: 18px;}
	.review-info .review-position{font-size: 16px;}
.review-avatar {
    width: 40px;
	height: 40px;
}
  .rewive-intro p { font-size: 16px; }
}

/*************************
         FOOTER
*************************/
.footer-section {
  padding: 200px 20px 40px; text-align: center; color: #FFFFFF; font-family: 'Forum', serif;
  background: linear-gradient(180deg, #FFFFFF 0%, #1A2400 100%);
}
.footer-intro p {
  font-family: 'Forum', serif; font-weight: 400; font-size: 24px; line-height: 1;
  text-transform: uppercase; color: #1A2400; margin-bottom: 40px;
}
.footer-heading {
  font-family: 'Forum', serif; font-weight: 400; font-size: 24px; text-transform: uppercase;
  color: #FFF; margin: 0; padding-bottom: 5px;
}
.footer-email { font-family: Forum; font-weight: 400; font-size: 24px; text-align: center; }
.footer-contact-wrapper { position: relative; overflow: hidden; }
.footer-social {
  position: relative; z-index: 2; display: flex; justify-content: center; gap: 16px; margin: 20px 0;
  outline: none;
}
.reveal-text {
  display: inline-block; 
  font-size: 24px; outline: none;
}
.footer-social a {
  font-family: 'Benzin', sans-serif; font-weight: 400; font-size: 14px; letter-spacing: 2%;
  padding: 6px 12px; border: 1px solid #FFF; color: #FFF; text-decoration: none;
}
.footer-social a:hover { background: #FFF; color: #1A2400; }
.footer-book {
  position: relative; display: inline-flex; align-items: center; gap: 5px; font-family: 'Benzin', sans-serif;
  font-weight: 400; font-size: 14px; line-height: 1; letter-spacing: 2%; text-transform: uppercase;
  padding: 2px 5px; color: #FFF; background: transparent; border: none; cursor: pointer; text-decoration: none;
  transition: all 0.3s ease; outline: none;
}
.footer-book::before {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background-color: #FFF;
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.3s ease;
}
.footer-book:hover::before { transform: scaleY(1); }
.footer-book::after {
  content: url('https://theplanner.nyc/wp-content/uploads/2025/05/top-right-icon.svg');
  display: inline-block; width: 14px; height: 14px; background-size: contain; transition: transform 0.3s ease;
}
.footer-book:hover::after { transform: translateX(4px); }
.footer-bottom {
  color: #BCC5A1; margin-top: 120px; font-size: 16px; font-family: 'Forum', serif;
}
.footer-bottom a { color: #BCC5A1; text-decoration: underline; }
.footer-logo img{ height: 65px; }

.footer-hidden{
	line-height: 1;
}

.footer-hidden .reveal-text {
  display: block;
  font-size: 24px;
  opacity: 0;
  transform: translateY(-40px);
  transition: opacity 0.9s cubic-bezier(.8,0,.2,1), transform 0.8s cubic-bezier(.4,1,.3,1);
}

.footer-hidden.active .reveal-text {
  opacity: 1;
  transform: translateY(0);
}

.footer-hidden.active .reveal-text:nth-of-type(1) { transition-delay: 0.4s; }
.footer-hidden.active .reveal-text:nth-of-type(2) { transition-delay: 0.8s; }



@media (max-width: 992px) {
  .footer-section {
    padding: 120px 10px 20px;
    font-size: 16px;
  }
  .footer-heading {
    font-size: 32px;
    padding-bottom: 5px;
  }
  .footer-contact-wrapper {
    padding-bottom: 28px;
  }
  .footer-social {
    flex-direction: column;
    gap: 12px;
    margin: 16px 0;
    align-items: center;
	  justify-content: center;
  }
  .footer-social a {
    font-size: 14px;
    width: 90%;
    box-sizing: border-box;
    justify-content: center;
    padding: 10px 0;
    border: 1px solid #FFF;
  }
  .footer-social a + a { margin-top: 0; }
.footer-hidden{
		line-height: 1;
	}
  .footer-hidden .reveal-text {
    font-size: 16px;
  }
  .footer-book {
    justify-content: center;
    font-size: 14px;
    padding-top: 14px;
  }
  .footer-bottom {
    font-size: 10px;
    margin-top: 36px;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 10px;
  }
  .footer-logo img {
    height: 46px;
    width: 46px;
    object-fit: contain;
    margin-top: 10px;
  }
  .footer-contact { padding-bottom: 4px; }
}
.section-stack { width: 100vw; }
.card-section { min-height: 100vh; width: 100vw; position: relative; display: flex; flex-direction: column; align-items: center; z-index: 1; overflow: visible; will-change: transform; }
/* @media (max-width: 992px) {
  .section-stack {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
  }
  .card-section {
    scroll-snap-align: start;
    min-height: 100vh;
    height: 100vh;
    scroll-behavior: smooth;
  }
} */
@media (max-width: 992px) {
  html, body {
    overflow: hidden !important;
    height: 100vh;
    width: 100vw;
    position: fixed;
	  touch-action:none;
  }
  .mobile-scroll-frame {
    width: 100vw;
    height: 100dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
	  position:relative;
  }
	.site-header{
		position:fixed;
		top:0;
		z-index:1000;
	}
.video-background {
	position: absolute;
   	top: 0; left: 0;
    width: 100vw;
    height:  200vh; /* Або свою висоту */
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
	}
	.video-background video {
	width: 100vw; height: 100%;
    object-fit: cover;
    object-position:center center;
	}

}
/*404*/
.section-no-found{
  height: 100vh; 
  background-color: #1A2400; 
  color: #FFF; display: flex; 
  flex-direction: column;
  justify-content: center; 
  align-items: center;
  position: relative;
  overflow: hidden;
}
 .no-found-title {
  font-family: 'Forum', serif; 
font-weight: 400;
font-size: 91px;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
text-transform: uppercase;
color: #BCC5A1;
z-index: 2;

}

.no-fond-content {
  text-align: center; z-index: 2;
	display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}



.no-fond-button {
  position: relative; display: inline-flex; align-items: center; gap: 8px; font-family: 'Benzin', sans-serif;
  font-weight: 400; font-size: 14px; line-height: 1; letter-spacing: 2%; text-transform: uppercase;
  padding: 15px 2px 5px 5px; color: #BCC5A1; background: transparent; border: none; cursor: pointer;
  text-decoration: none;  outline: none;  
}
.no-fond-button:focus { outline: none; box-shadow: none; color: #BCC5A1; }
.no-fond-button::before {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background-color: #BCC5A1;
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.3s ease;
}
.no-fond-button:hover::before { transform: scaleY(1); }
.no-fond-button:hover { color:#BCC5A1!important; }
.no-fond-button::after {
  content: url('https://theplanner.nyc/wp-content/uploads/2025/05/top-right-icon-green.svg');
  display: inline-block; width: 14px; height: 14px; background-size: contain; transition: transform 0.3s ease;
}
.no-fond-button:hover::after { transform: translateX(4px); color: #BCC5A1; }
/* Scrolling text core */
.scrolling-wrapper-no-found { overflow: hidden; width: 100%; height: 190px; background: transparent; position: absolute;
  left: 0;
  bottom: 0;

}
.scrolling-line-no-found { display: flex; width: max-content; animation: scrollLoopRightNoFound 40s linear infinite; line-height: 1; }
.scrolling-track-no-found { display: flex; }
.scrolling-track-no-found span {
  font-family: 'Forum', serif; font-size: 190px; white-space: nowrap; color: #7D8963; padding-right: 60px;
}
@keyframes scrollLoopRightNoFound {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}
.site-header-no-found {
  position: fixed; top: 0; width: 100%; height: 100px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.75), transparent);
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 40px; z-index: 1000;
  font-family: 'Benzin', sans-serif; font-size: 14px; line-height: 100%;
  letter-spacing: 2%; text-transform: uppercase;
  transition: top 0.5s ease, opacity 0.3s ease;
}
.site-header-no-found.hide { top: -120px; opacity: 0; pointer-events: none; }
.site-header-no-found:hover { opacity: 1; pointer-events: auto; }

.nav-left-no-found, .nav-right-no-found { flex: 1; display: flex; align-items: center; }
.nav-left-no-found { justify-content: flex-start; }
.nav-right-no-found { justify-content: flex-end; gap: 24px; }
.nav-center-no-found { flex: 2; display: flex; justify-content: center; }
.nav-center-no-found ul { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; }

.nav-link-no-found, .nav-center-no-found a {
  position: relative; font-family: 'Benzin', sans-serif; font-size: 14px;
  text-transform: uppercase; color: #BCC5A1; text-decoration: none;
  transition: color 0.3s ease; outline: none;
}
.nav-link-no-found:hover, .nav-center a:hover, .nav-link-no-found.active, .nav-center-no-found a.active { color: #fff; }
.nav-link-no-found::after, .nav-center-no-found a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background-color: #BCC5A1; transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.3s, background-color 0.3s;
}
.nav-link-no-found:hover::after, .nav-center-no-found a:hover::after, .nav-link-no-found.active::after, .nav-center-no-found a.active::after {
  transform: scaleY(1); background-color: #fff;
}
.nav-link-no-found:focus, .nav-center-no-found a:focus { outline: none; box-shadow: none; }

@media (max-width: 992px) {
	.section-no-found{
		 background:url("https://theplanner.nyc/wp-content/uploads/2025/05/menu-select.png");
         background-size: cover;
		 background-position-y: bottom;
	}
   .nav-center-no-found { display: none !important; }
  .site-header-no-found { justify-content: center; padding: 0 20px; height: 80px; }
	.nav-right-no-found{
		gap:15px;
	}
	.scrolling-wrapper-no-found { 
		height: 90px; 
}
	.scrolling-track-no-found span {
   font-size: 64px; padding-right: 60px;
}
	.no-found-title {
		 font-size: 32px;
		width: 60%;
	}
	.nav-link-no-found{
		 font-size: 11px;
	}
}
/* Попап оверлей */
#popup-overlay {
  display: none; position: fixed; inset: 0; z-index: 9998; background: rgba(0,0,0,0.05);
}
/* Основний контейнер */
.custom-popup { display: none; position: fixed; inset: 0; z-index: 9999; align-items: center; justify-content: center; pointer-events: none; }
.custom-popup.active, #popup-overlay.active { display: flex !important; }

.custom-popup-inner {
	pointer-events: auto; 
	background: #fff; 
	padding: 48px 22px 22px 22px; 
	width: 100%; 
	max-width: 800px; 
	text-align: center; 
	position: relative;
	height: 400px;
    display: flex;
    flex-direction: column;
	align-items: center;
justify-content:flex-end;
}

.popup-title {
  font-family: 'Benzin',sans-serif; 
font-weight: 400;
font-size: 27px;
line-height: 100%;
letter-spacing: 2%;
text-align: center;
text-transform: uppercase;
	color: #1A2400;
	    padding-bottom: 30px;
}
.popup-sub {
font-family: 'Forum', serif; 
font-weight: 400;
font-size: 16px;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
color: #ADADAD;
padding-top: 10px;

}
.custom-form .row { display: flex; gap: 28px; margin: 0px; }
.custom-form .col { flex: 1; display: flex; flex-direction: column; align-items: flex-start; text-align: start; height: 100px; }
.custom-form label { font-family: 'Forum', serif; font-size: 16px; margin-bottom: 10px; color: #595959; }
.custom-form input[type="text"], 
.custom-form input[type="email"], 
.custom-form input[type="tel"], 
.custom-form textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #A4A4A4; font-size: 16px; margin-bottom: 12px; background: #FBFBFB; border-radius: 0px;
}
.custom-form textarea { min-height: 76px; }
.cf7-submit-wrapper p{
	margin:0px;
}
.cf7-submit-wrapper{
	margin:0px;
}

.submit-arrow-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 5px 2px 5px;
  border: none;
  background: transparent;
  color: #1A2400;
  font-family: 'Benzin', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 2%;
  text-transform: uppercase;
  cursor: pointer;
  outline: none;
  box-shadow: none;
  border-radius: 0;
  transition: color 0.22s cubic-bezier(.61,0,.15,1);
	margin:0px;
}

.submit-arrow-btn::after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background-image: url('https://theplanner.nyc/wp-content/uploads/2025/05/top-right-icon-blackgreen.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.48s cubic-bezier(.61,0,.15,1);
  /* Спочатку стрілка нерухома */
}

.submit-arrow-btn::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0; /* нижній край */
  width: 100%;
  height: 1px;
  background: #1A2400;
  transform: scaleY(0);
  transition: transform 0.22s cubic-bezier(.61,0,.15,1);
  transform-origin: bottom;
  z-index: 1;
}

.submit-arrow-btn:hover::before,
.submit-arrow-btn:focus::before {
  transform: scaleY(1);
}

.submit-arrow-btn:hover::after,
.submit-arrow-btn:focus::after {
  transform: translateX(5px); /* Рухаємо стрілку вправо */
}
/* Кнопка для відкриття */
.request-btn { font-family: 'Benzin',sans-serif; background: none; border: none; color: #1a2400; font-size: 1.11rem; border-bottom: 1.5px solid #1a2400; cursor: pointer; transition: color .2s, border .2s; margin: 30px 0 0 0; }
.request-btn:hover { color: #BCC5A1; border-color: #BCC5A1; }

/* Thank You блок */
.custom-popup-inner .thank-you {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.custom-popup-inner .thank-you img { height:125px; margin-bottom: 24px; }
.custom-popup-inner .thank-you h2 {  
	font-family: 'Benzin',sans-serif;
	color: #1A2400;
font-weight: 400;
font-size: 27px;
line-height: 100%;
letter-spacing: 2%;
text-align: center;
text-transform: uppercase;
}
.custom-popup-inner .thank-you p { color: #7d8963; margin-bottom: 16px; 
	font-family: 'Forum', serif; 
font-weight: 400;
font-size: 16px;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
	color:#000000;


}
.go-home-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 20px 5px 2px 5px;
  border: none;
  background: transparent;
  color: #1A2400;
  font-family: 'Benzin', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 2%;
  text-transform: uppercase;
  cursor: pointer;
  outline: none;
  box-shadow: none;
  border-radius: 0;
  transition: color 0.22s cubic-bezier(.61,0,.15,1);
  margin:0px;
}

.go-home-btn::after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background-image: url('https://theplanner.nyc/wp-content/uploads/2025/05/top-right-icon-blackgreen.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.48s cubic-bezier(.61,0,.15,1);
  /* Спочатку стрілка нерухома */
}

.go-home-btn::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0; /* нижній край */
  width: 100%;
  height: 1px;
  background: #1A2400;
  transform: scaleY(0);
  transition: transform 0.22s cubic-bezier(.61,0,.15,1);
  transform-origin: bottom;
  z-index: 1;
}
.go-home-btn:hover,
.go-home-btn:focus {
  color: #1A2400;
}

.go-home-btn:hover::before,
.go-home-btn:focus::before {
  transform: scaleY(1);
	color: #1A2400;
}

.go-home-btn:hover::after,
.go-home-btn:focus::after {
  transform: translateX(5px); /* Рухаємо стрілку вправо */
	color: #1A2400;
}


@media (max-width:992px) {
  .custom-popup-inner { 
	  height:600px;
	  padding-bottom: 40px;
	}
  .custom-form .row { flex-direction: column; gap: 0; }
.popup-title {
		font-size: 21px;
	        width: 50%;
}
	.custom-form,
.custom-form .row,
.custom-form .col {
  width: 100%;
  box-sizing: border-box;
}
  .popup-sub,
  .custom-form label {
    font-size: 16px;
  }
  .custom-form input[type="text"],
  .custom-form input[type="email"],
  .custom-form textarea {
    font-size: 16px;
    
    width: 100%;
    min-width: 0;
    box-sizing: border-box; /* щоб padding не виходив за межі */
	margin-bottom: 0px;
  }
	
}

/* Приховати дефолтний output CF7 */
.wpcf7-response-output { display: none !important; }


