/*!
Theme Name: Compass
Theme URI: 
Author: Igor Zubyk
Author URI: https://www.upwork.com/freelancers/~01671796c0ba318ce3
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: Compass
Tags: custom-theme
*/

/* ==========================================================================
   GLOBAL RESET & BASE
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
a {
  cursor: pointer;
  transition: all 0.5s;
}
body {
  font-family: "Inter", sans-serif;
  background-color: #f7f6f2;
  color: #222;
  line-height: 1.6;
  background-image: 
        url('img/object1.webp'),
        url('img/object2.webp');
    background-repeat: no-repeat, no-repeat;
    background-position: left 32%, right 20%; 
    background-size: 70px auto, 70px auto; 
    background-attachment: scroll, scroll; 
}
@media (max-width: 768px) {
    body {
        background-size: 40px auto, 40px auto;
        background-position: left 27%, right 13%;
        background-repeat: no-repeat;
    }
}
.container {
  max-width: 1090px;
  margin: 0 auto;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  padding: 30px 0;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.logo-icon img {
  height: 75px;
  transition: transform 0.8s ease;
  transform-origin: center center;
}
.logo-block:hover .logo-icon img {
  transform: rotate(180deg);
}
.logo-text img {
  height: 35px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
@media (min-width: 769px) {
  .nav {
    margin-left: 40px;
  }
}
.nav-list {
  display: flex;
  list-style: none;
  gap: 8px;
}
header .menu-item {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: #000;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}


header .menu-item-659 {
	display: none;
}


header .menu-item a {
	letter-spacing: 0.5px;
  font-weight: 600;
  color: #3C3C3C;
  text-decoration: none;
  padding: 10px 15px 10px 15px;
  border-radius: 999px;
}
.menu-item.active,
.menu-item a:hover, header .current-menu-item a {
  color: #3C3C3C;
  background: rgba(178, 177, 219, 0.25);
}
.contact-btn {
	background: #34427a;
  padding: 7px 15px 7px 15px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(248, 247, 244, 1);
  text-decoration: none;
  transition: all 0.3s ease;
}
.contact-btn:hover {
  background-color: rgba(217, 126, 126, 1);
  color: rgba(248, 247, 244, 1);
}

/* ==========================================================================
   HAMBURGER ICON
   ========================================================================== */
.menu-toggle {
  display: none;
}
.menu-icon {
  display: none;
  width: 30px;
  height: 24px;
  cursor: pointer;
  position: relative;
  z-index: 1100;
}
.menu-icon span {
  display: block;
  height: 3px;
  margin-bottom: 5px;
  background: #000;
  transition: transform .3s, opacity .3s;
  transform-origin: center center;
}
.menu-icon span:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 40px 0 100px;
}
.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}
.hero-text {
  flex: 1 1 700px;
}
.hero-subtitle {
  font-size: 40px;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}
.hero-title {
  font-size: 55px;
  font-weight: bold;
  color: #40386E;
  line-height: 1.2;
}
.hero-title .line {
  display: block;
}
.hero-title .letter,
.hero-title span {
  display: inline-block;
  transition: transform 0.25s ease;
  will-change: transform;
}
.hero-highlight {
  position: relative;
  display: inline-block;
  color: #2d2377;
}

.hero-title {
  position: relative;
}


.hero-title .word {
  display: inline-block;
  margin-right: 0.3em; 
}


.hero-title .letter {
  display: inline-block;
  transition: transform 0.2s;
}

.hero-title {
  position: relative;
}
.hero-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -25px;
  width: 130%;
  height: 26px;
  background: url(img/underline.webp) no-repeat center;
  background-size: contain;
  pointer-events: none;
}

.hero-image {
  flex: 1 1 300px;
  text-align: center;
}
.hero-image img {
  display: block;
  max-width: 100%;
  height: auto;
  transform-origin: center center;
}
.hero-image img, .case-image img {
  animation: slowPulse 2.5s ease-in-out infinite;
}
@keyframes slowPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.feature img:hover, .contact-item .contact-icon:hover {
  animation: slowPulseIcons 2.5s ease-in-out infinite;
}
@keyframes slowPulseIcons {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* =================
    Added 9/27/25
   ================= */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ==========================================================================
   QUOTE SECTION
   ========================================================================== */
.quote {
  background: #FF747F;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 20px;
}
.quote .container {
  padding: 10px;
}
.marquee {
  color: #fff;
  padding: 10px 0;
}
.marquee__inner {
  display: inline-block;
  font-size: 20px;
}


/* ==========================================================================
   REALITY SECTION
   ========================================================================== */
.reality-section {
  padding: 120px 0;
}
.reality-container {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}
.reality-image {
  flex: 1 1 400px;
  overflow: hidden;
  border-top-left-radius: 200px;
  border-top-right-radius: 200px;
}
.reality-image img {
  width: 100%;
  display: block;
}
.reality-content {
  flex: 1 1 400px;
}
.reality-content h2 {
  font-size: 48px;
  color: #40386E;
  margin-bottom: 24px;
  line-height: 1.2em;
}
.reality-content p {
  font-size: 16px;
  line-height: 34px;
  color: #606060;
  margin-bottom: 16px;
}
.reality-content p strong {
	color: #FF747F;
  font-weight: 800;
}
.reality-content .highlight {
  color: #FF747F;
  font-weight: 800;
}

/* ==========================================================================
   WHAT MAKES US DIFFERENT SECTION
   ========================================================================== */
.different-section {
  background: url(img/different-background.webp) no-repeat center/cover;
  color: #fff;
  padding: 130px 0 100px 0;
  text-align: center;
}
.different-container h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
}
.different-subtitle {
  font-size: 16px;
  line-height: 34px;
  width: 70%;
  margin: 0 auto 80px;
  font-weight: 400;
}
.different-subtitle p strong {
	color: #FF747F;
}
.different-subtitle a {
  color: #FF747F;
  font-weight: 700;
  text-decoration: none;
}
.different-subtitle a:hover {
  text-decoration: underline;
}
.different-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}
.feature {
  flex: 1 1 240px;
  max-width: 240px;
}
.feature img {
  width: 96px;
  margin-bottom: 12px;
}
.feature p {
  font-size: 20px;
  line-height: 34px;
}
.btn-secondary {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid #fff;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  transition: background .3s, color .3s;
}
.btn-secondary:hover {
  background: #FF747F;
  border-color: #FF747F;
  color: #fff;
}

/* ==========================================================================
   OFFER SECTION
   ========================================================================== */
.offer-container {
  margin-top: 100px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}
.offer-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.offer-card h3 {
  font-size: 40px;
  margin-bottom: 16px;
  font-weight: 400;
  color: #000;
}
.offer-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.offer-card li {
  color: #717171;
  font-weight: 500;
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 32px;
  text-align: left;
}
.offer-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #717171;
}

/* ==========================================================================
   CASE STUDIES SECTION
   ========================================================================== */
.case-studies {
  padding: 120px 0;
}
.case-studies h2 {
  text-align: center;
  font-size: 48px;
  color: #40386E;
  font-weight: 700;
  margin-bottom: 80px;
}
.case-slider-wrapper {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.swiper.case-slider {
  width: 100%;
}
.swiper.case-slider .swiper-wrapper {
  display: flex;
}
.swiper.case-slider .swiper-slide {
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
  box-sizing: border-box;
}
.case-image {
  position: relative;
  flex: 1 1 50%;
  max-width: 50%;
}
.case-image img {
  width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin-left: auto;
  position: relative;
}
.case-image img.avatar {
	height: 400px;
}
.case-decor {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}
.decor-b {
  width: 400px;
  height: 400px;
  top: 0;
  left: 0;
  z-index: -1;
  background: #F2F2F2;
}
.decor-c {
  width: 400px;
  height: 400px;
  top: 0;
  left: 80px;
  z-index: 0;
  background: #E8E8E8;
}
.case-image img.deco-circle {
  position: absolute;
  width: 90px;
  bottom: 0;
  right: 90px;
  z-index: 4;
}
.case-image img.deco-figure {
  position: absolute;
  width: 90px;
  bottom: 0;
  right: 0;
  z-index: 5;
  border-radius: 0;
}
.case-info {
  flex: 1 1 50%;
  max-width: 50%;
  box-sizing: border-box;
  align-self: center;
}
.case-info h3 {
  font-size: 40px;
  color: #40386E;
  font-weight: 400;
  margin-bottom: 24px;
  line-height: 1.2;
}
.case-info p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 34px;
  font-weight: 400;
  color: #717171;
}
.case-info p strong {
  color: #000;
  font-weight: 800;
}
.case-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 40px 0 0;
}
.case-prev,
.case-next {
  background: none;
  border: none;
  font-size: 32px;
  color: #40386E;
  cursor: pointer;
  transition: color 0.2s;
}
.case-prev:hover,
.case-next:hover {
  color: #FF747F;
}
.case-pagination {
  display: flex;
  gap: 12px;
}
.case-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #40386E;
  opacity: 1;
  transition: background 0.2s;
}
.case-pagination .swiper-pagination-bullet-active {
  background: #FF747F;
}
/*  Added 9-20-2025 SBS  */ 


/* ==========================================================================
   OUR PROCESS SECTION
   ========================================================================== */
.process-section {
  background: url(img/different-background.webp) no-repeat center/cover;
  color: #fff;
  padding: 120px 0;
}
.process-section h2 {
  text-align: center;
  font-size: 48px;
  margin-bottom: 80px;
  font-weight: 700;
}
.process-steps {
  margin: 0 auto;
}
.process-step {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
.process-step:last-child {
  margin-bottom: 0;
}
.process-number {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 64px;
  height: 64px;
}
.process-number img {
  width: 100%;
  height: 100%;
}
.process-step.odd .process-content {
  margin-left: calc(50% + 40px);
  text-align: left;
}
.process-step.even .process-content {
  margin-right: calc(50% + 40px);
  text-align: right;
}
.process-content {
  flex: 1;
}
.process-content h3 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 12px;
}
.process-content p {
  font-size: 16px;
  line-height: 34px;
  margin: 0;
}
.process-step.odd .process-content {
  margin-left: calc(50% + 32px + 30px);
}
.process-step.even .process-content {
  margin-right: calc(50% + 32px + 30px);
}

/* ==========================================================================
   READY-TO-START CTA SECTION
   ========================================================================== */
.process-cta {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding-top: 100px;
}
.process-cta h2 {
  font-size: 40px;
  margin-bottom: 16px;
  font-weight: 400;
  color: #fff;
}
.process-subtitle {
  font-size: 14px;
  line-height: 34px;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: #fff;
}
.process-text {
  font-size: 16px;
  line-height: 34px;
  margin-bottom: 32px;
  color: #fff;
}
.process-btn {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid #fff;
  border-radius: 999px;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.5px;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s;
}
.process-btn:hover {
  background: #FF747F;
  border-color: #FF747F;
}

/* ==========================================================================
   CONTACT OUR TEAM SECTION
   ========================================================================== */
.contact-team {
  background: linear-gradient(to right,#FF747F 0%,#FF747F 40%,#f55f6c 40%,#f55f6c 100%);
  color: #fff;
  padding: 120px 0;
}
.contact-container {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 40px;
}
.contact-info {
  flex: 0 0 40%;
  max-width: 40%;
  padding-right: 10%;
}
.contact-info h2 {
  font-size: 40px;
  margin-bottom: 16px;
  font-weight: 400;
}
.contact-info p {
  font-size: 16px;
  line-height: 34px;
  font-weight: 400;
}
.contact-grid {
  padding-left: 5%;
  flex: 0 0 60%;
  max-width: 60%;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 32px 40px;
  align-items: center;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
}
.contact-item .contact-icon {
  width: 44px;
  height: 44px;
  display: block;
}

/* ==========================================================================
   SPONSOR SECTION
   ========================================================================== */
.sponsor-section {
  position: relative;
  margin: 120px 0;
}
.sponsor-container {
  border-radius: 60px;
  overflow: hidden;
  padding: 10% 0;
  text-align: center;
  max-width: 1190px;
  margin: 0 auto;
}
.sponsor-container h2 {
  font-size: 40px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 24px;
}
.sponsor-text {
  font-size: 16px;
  line-height: 34px;
  color: #fff;
  font-weight: 400;
  max-width: 450px;
  margin: 0 auto 40px;
}
.sponsor-btn {
  display: inline-block;
  padding: 16px 68px;
  background-color: #FF747F;
  color: #fff;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 16px;
  border-radius: 40px;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background-color 0.3s;
}
.sponsor-btn:hover {
  background-color: #e35f6d;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq {
  margin-bottom: 150px;
}
.faq h2 {
  font-size: 48px;
  color: #40386E;
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
}
.faq .button {
  display: block;
  width: 35%;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  text-transform: uppercase;
  border-radius: 70px;
  padding: 18px 0;
  letter-spacing: 1px;
  background: transparent;
 	border: 1px solid #000;
 	color: #000;
  transition: all 0.5s;
}
.faq .button:hover {
  background: #353579;
 	border-color: #353579;
 	color: #fff;
}
.faq-block {
  margin-bottom: 80px;
}
.faq .accordion {
  background: transparent;
  color: #000;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  font-size: 24px;
  font-weight: 400;
 	border-bottom: 1px solid #CECECE;
 	margin-bottom: 15px;
  transition: 0.4s;
}
.faq .accordion:after {
  content: '\002B';
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}
.faq .accordion.active {
  color: #F8475F;
}
.faq .accordion.active:after {
  content: "\2212";
  color: #F8475F;
}
.faq .panel {
  padding: 0 18px;
  color: #717171;
  font-size: 16px;
  line-height: 28px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.faq .panel p {
 	text-align: left;
 	margin: 0;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.site-footer {
	border-top: 1px solid #D9D9D9;
  color: #3C3C3C;

}
.site-footer a {
	color: #3C3C3C;
}

.footer-top {
  display: block;
  padding: 80px 0;
  border-right: 1px solid #D9D9D9;
  border-left: 1px solid #D9D9D9;
  text-align: center;
}
.footer-about .footer-logo {
  margin-bottom: 20px;
}
.footer-logo img {
  height: 90px;
}
.footer-desc {
  font-size: 18px;
  line-height: 1.2em;
  color: #3C3C3C;
}
.footer-col {
  padding-top: 30px;
}
.footer-col h4 {
  font-size: 24px;
  margin-bottom: 30px;
  font-weight: 400;
  color: #000;
}
.footer-col ul {
  list-style: none;
  display: flex;
  margin: 0 auto;
  justify-content: center;  
   gap: 35px;
}
.footer-col li {
  align-items: center;
  font-size: 16px;
  color: #606060;
}
.footer-col li .icon {
  width: 13px;
  margin-right: 8px;
}
.footer-links li a,
.footer-col li a {
  color: #3C3C3C;
  text-decoration: underline;
  transition: color .2s;
}
.footer-links li a:hover,
.footer-col li a:hover {
  color: #3C3C3C;
  text-decoration: none;
  transition: color .2s;
  background: transparent;
}
.site-footer .footer-bottom p {
	text-align: center;
	margin-bottom: 50px;
}

.footer-bottom {
	border-top: 1px solid #D9D9D9 !important;
  }

.footer-bottom .container {
  display: block;
  justify-content: space-between;
  align-items: center;
  padding: 70px 0;
  border-right: 1px solid #D9D9D9;
  border-left: 1px solid #D9D9D9;
  text-align: center;
}
.back-to-top {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border: 1px solid #40386E;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: background .3s, color .3s;
}
.back-to-top img {
  width: 16px;
  height: 16px;
}
.back-to-top:hover {
  background: rgba(217, 126, 126, 1);
  color: #fff;
}


/* ==========================================================================
   ABOUT US PAGE
   ========================================================================== */


.about-hero-section {
  width: 100vw;
  padding: 80px 0 120px 0;
}

.about-hero-container {
  max-width: 1190px;
  margin: 0 auto;
  text-align: center;
  padding: 0 32px;
}

.about-hero-title {
  color: #40386E;
  font-size: 70px;
  font-weight: 900;
  margin-bottom: 40px;
  font-family: "Lato", sans-serif;
}

.about-hero-subtitle {
  color: #000;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  font-family: "Lato", sans-serif;
}

.about-hero-text {
  color: #606060;
  font-size: 16px;
  line-height: 32px;
  margin: 0 auto;
  font-family: "Lato", sans-serif;
  width: 90%;
}

.about-mission-section {
  width: 100vw;
 background: url(img/different-background.webp) no-repeat top center / cover;
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  display: flex;
  align-items: stretch;
}


.about-mission-container {
  max-width: 1190px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-mission-content {
  flex: 1 1 50%;
  padding-left: 2vw;
  padding-right: 4vw;
}

.about-mission-title {
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 32px;
  font-family: "Lato", sans-serif;
}

.about-mission-text {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 34px;
  font-family: "Lato", sans-serif;
}

.about-mission-text strong,
.about-mission-lead strong {
  color: #FF747F;
  font-weight: 700;
}
.about-mission-text p {
	margin-bottom: 10px;
}

.about-mission-image {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-mission-image img {
  width: 368px;
  height: auto;
  display: block;
}

.about-texts-section {
  background-color: #fcfcf7;
  width: 100%;
  padding: 0;
}

.about-texts-container {
  max-width: 1190px;
  margin: 0 auto;
  display: block;
}

.about-text-block {
  padding: 70px 0 0 0;
  }

.about-text-icon {
  display: block;
  margin: 0 auto 24px;
  width: 120px;
  height: auto;
}

.about-text-title {
  color: #40386E;
  font-weight: 700;
  text-align: center;
  font-size: 48px;
  margin-bottom: 32px;
}

.about-text-content {
  color: #606060;
  line-height: 34px;
  font-weight: 400;
  font-size: 16px;
  width: 90%;
  margin: 0 auto;
  text-align: center;
}

.about-text-content p {
  margin-bottom: 24px;
}

/* ==========================================================================
   Modal
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-content {
  background: #fff;
  padding: 20px;
  max-width: 90%;
  width: 90%;
  border-radius: 8px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}


/* ==========================================================================
   MOBILE RESPONSIVE (max-width: 768px)
   ========================================================================== */

 /* =Header Mobile= */
@media (max-width: 768px) {
  /* show hamburger */
  .menu-icon {
    display: block;
    position: relative;
    z-index: 1100;
  }
  header .menu-item {
	  font-size: 24px;
  }
  
  .hero-image {
    margin: 0 auto;
    padding-top: 30px;
}
.hero-title::after {
    width: 100%;
    }
    .logo-icon img {
	    height: 70px; 
    }
    .logo-text img {
	    height: 35px;
    }

  /* container padding */
  .header-container {
    padding: 15px 15px 0 15px;
  }
      .nav-list {
 
        gap: 35px;
        }
   .menu-item.active::after, .menu-item:hover::after, header .current-menu-item::after {
	   bottom: -5px;
   }

  /* slide-menu via transform */
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh !important;          
    background: #fcfcf7;     
    transform: translateY(-100%);
    transition: transform 0.1s ease;
    z-index: 1000;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

  /* when checked, slide into view */
  .menu-toggle:checked ~ .nav {
    transform: translateY(0) !important;
  }
 /* hamburger → “X” */
  .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
  }
  .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0 !important;
  }
  .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
  }

  /* stack links vertically */
  .nav-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    margin: 0;
    text-align: center;
  }

  /* typography tweaks */
  .menu-item {
    font-size: 33px;
  }
  .contact-btn {
    margin: 20px 0;
    font-size: 19px;
  }


  /* HERO MOBILE */
  .hero {
	  padding: 30px 0 30px;
  }
  .hero-container {
    display: block;
    text-align: center;
    padding-right: 15px;
    padding-left: 15px;
  }
  .hero-text {
	  margin-bottom: 30px;
  }
  .hero-title {
	font-size: 43px;
  }
  .hero-subtitle {
	font-size: 21px;
  }
  .hero-highlight::after {
  display: none;
  }

  /* REALITY MOBILE */
  .reality-section {
	  padding: 40px 0;
  }
  .reality-container {
    flex-direction: column;
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
  }
  .reality-image,
  .reality-content {
    flex: 1 1 auto;
  }
  .reality-content h2 {
	  font-size: 33px;
  }

  /* DIFFERENT & OFFER MOBILE */
  .different-section {
  padding: 50px 0 40px 0;
  }
  .different-features {
    flex-direction: column;
    align-items: center;
  }
  .offer-container {
    grid-template-columns: 1fr;
  }
  .different-container h2 {
	  font-size: 33px;
	  line-height: 1.2;
  }
  .offer-card h3 {
	  font-size: 29px;
  }
  .different-subtitle {
	  width: 100%;
  }
 .different-container {
	  padding-right: 15px;
	  padding-left: 15px;
  }

  /* CASE STUDIES MOBILE */
  .swiper.case-slider .swiper-slide {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  .case-studies h2 {
	  font-size: 33px;
	  margin-bottom: 30px;
  }
  .case-info h3 {
	  font-size: 29px;
  }
  .case-studies {
    padding: 40px 0;
} 
 .case-studies .container {
	 padding-right: 15px;
	 padding-left: 15px;
 }
 .case-decor, img.deco-circle, img.deco-figure {
	 display: none;
 }
  .case-image,
  .case-info {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .case-image img {
    width: 100%;
    height: auto;
  }
  .case-prev,
  .case-next {
    font-size: 28px;
  }
  .case-controls {
    gap: 20px;
    margin-top: 30px;
  }
  .case-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }

  /* OUR PROCESS MOBILE */
  .process-section {
	  padding: 50px 0;
  }
  .process-section .container {
	  padding-left: 15px;
	  padding-right: 15px;
  }
  .process-step {
    flex-direction: column !important;
    text-align: center;
    gap: 20px;
    position: static;
  }
  .process-section h2 {
	  font-size: 33px;
  }
  .process-content h3 {
	  font-size: 29px;
  }
  .process-number {
    position: static;
    transform: none;
    margin-bottom: 0;
    width: 56px;
    height: 56px;
  }
  .process-step.odd .process-content,
  .process-step.even .process-content { margin: 0; text-align: center; }
/* Contact Us */

.contactsection .container {
    width: 1070px;
}

.contactsection .subtitle {
	width: 75%;
	margin: 15px auto;
}

.contform {
	margin-top: 80px;
	background: #fff;
	padding: 50px;
	border-radius: 40px;
}
.contform .columns {
	display: flex;
    gap: 2.5rem;
    margin: 0;
}
.contform .columns .col {
	width: 50%;
}
.contform .columns .col .label {
	width: 100%;
}
.contform .columns input[type="text" i], .contform .columns input[type="email" i], .contform .columns input[type="tel" i], .contform textarea  {
	width: 100%;
	padding-left: 0;
}
.contform p {
	text-align: left;
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	color: #000;
}
.contform input::-webkit-input-placeholder, .contform textarea::-webkit-input-placeholder {
	color: #878787;
	font-size: 18px;
}
.contform input, .contform textarea {
	border-top: none;
	border-right: none;
	border-left: none;
	border-bottom: 1px solid #878787;
	background: transparent;
	padding-bottom: 15px;
	padding-top: 25px;
	font-family: Lato, sans-serif;
	border-radius: 0;
}

.contform :focus-visible {
    outline: none;
}
.contform textarea {
  resize: none;
}
.contform input[type="submit" i] {
	background: #F8475F;
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s;
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    text-transform: uppercase;
    border-radius: 70px;
    padding: 18px 35px 18px 35px;
    letter-spacing: 1px;
    cursor: pointer;
}
.contform input[type="submit" i]:hover {
	background: #353579;
}
.contform .submbutton {
	padding-top: 20px;
	display: flex;
    gap: 1.5rem;
    margin: 0;
    justify-content: space-between;
}
.contform .notification {
	padding-right: 40%;
}
.contform .notification p {
	color: #878787;
	font-size: 18px;
	text-transform: none;
	font-weight: 400;
	line-height: 21px;
}

.notification img {
	width: 64px;
	height: auto;
	margin-right: 15px;
	text-align: right;
	float: left;
	margin-top: -10px;
}

/* Contact Us Mobile */

@media only screen and (max-width: 767px) {	
	.contactsection {
		margin-bottom: 90px;
	}
	.contactsection .container { 
	width: 100%;
    overflow: hidden;
    display: block;
    padding-right: 25px;
    padding-left: 25px;
    
    }
	.contform .columns, .contform .submbutton {
    display: block;
	}
	.contform .columns .col {
	width: 100%;
	}
	.contform {
	border-radius: 15px;
	}
	.contform .notification {
		padding-right: 0;
	}
	.contform input[type="submit" i] {
		width: 100%;
	}
	}
	
	/* Contact Us Tablet */

@media only screen and (min-width: 768px) and (max-width: 1023px) {  
	.contform .notification {
		padding-right: 0;
	}
	}
	


  /* SPONSOR MOBILE */
  .sponsor-section {
	  margin: 50px 0;
	  padding-right: 15px;
	  padding-left: 15px;
  }
  .sponsor-container {
    padding: 60px 20px;
    border-radius: 30px;
  }
  .sponsor-container h2 {
    font-size: 27px;
    margin-bottom: 16px;
  }
  .sponsor-text {
    font-size: 16px;
    margin-bottom: 32px;
  }
  .sponsor-btn {
    padding: 14px 32px;
    font-size: 14px;
  }
   /* FAQ MOBILE */
  .faq h2 {
	  font-size: 33px;
	  line-height: 1.2;
  }
  .faq .container {
	  padding-right: 15px;
	  padding-left: 15px;
  }
  .faq .accordion {
	  font-size: 18px;
  }
  .faq-block {
	  margin-bottom: 0;
  }
    /* FOOTER MOBILE */
    .site-footer {
	    margin-top: 0;
    }
    .site-footer {
	    padding-right: 15px;
	    padding-left: 15px;
    }
    
    .footer-col ul {
    display: block;
    justify-content: center;
    list-style: none;

}
    
  .footer-top {
	 display: block; 
  }
  
   /* ABOUT US MOBILE */
   
   .about-hero-section {
	   padding: 40px 0 60px 0;
   }
   
   .about-hero-title {
	   font-size: 40px;
	   margin-bottom: 25px;
   }
   .about-hero-subtitle {
	   font-size: 24px;
	   line-height: 1.2;
	   margin-bottom: 10px;
   }
   .about-hero-text {
	   width: 100%;
   }
   .about-hero-container {
	   padding-right: 15px;
	   padding-left: 15px;
   }
    .about-mission-section {
	padding: 60px 0;	 
 }
  .about-mission-container {
	  display: block;
  }
  .about-mission-content {
	  padding-right: 15px;
	  padding-left: 15px;
	  text-align: center;
	  margin-bottom: 35px;
  }
  .about-mission-title {
	  font-size: 33px;
	  text-align: center;
  }
  .about-mission-image img {
	  max-width: 250px;
  }
.about-texts-container {
	padding-right: 15px;
	padding-left: 15px;
}
.about-text-title {
	font-size: 27px;
	line-height: 1.2;
}
.about-text-content {
	width: 100%;
}

}

/* ==========================================================================
   TABLET (min-width: 768px & max-width: 1023px)
   ========================================================================== */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  /* — Header — */
  .header-container {
	  padding-left: 15px;
	  padding-right: 15px;
  }
  .menu-icon {
    display: none !important;    /* на планшетах снова показываем обычное меню */
  }
  .nav {
    position: static;
    transform: none !important;
    height: auto !important;
    background: none;
    flex-direction: row;
    gap: 24px;
    padding: 0;
  }
  .nav-list {
    flex-direction: row;
    gap: 18px;
    padding: 0;
  }
  .contact-btn {
    margin: 0;
    font-size: 14px;
    padding: 10px 23px;
  }

  /* — Hero — */
  .hero-container {
    padding: 0 15px;
  }
  .hero-text {
    flex: 1 1 50%;
}
.hero-image {
	flex: 1 1 30%;
}
  .hero-highlight::after {
	  display: none;
  }
  .hero-subtitle {
    font-size: 21px;
  }
  .hero-title {
    font-size: 38px;
    line-height: 1.2;
  }

  /* — Reality Section — */
  .reality-container {
    gap: 48px;
    padding-right: 15px;
    padding-left: 15px;
  }
  .reality-content h2 {
    font-size: 38px;
  }
  .reality-image {
	flex: 1 1 40%;
  }

  /* — What Makes Us Different — */
  .different-container {
    padding: 0 20px;
  }
  .different-container h2 {
    font-size: 38px;
  }
  .different-features {
    gap: 32px;
  }
  .feature img {
    width: 66px;
    margin-bottom: 12px;
}
.feature {
    flex: 1 1 150px;
    max-width: 150px;
}

  /* — Offer Section — */
  .offer-container {
    gap: 32px;
  }
  .offer-card {
    padding: 32px;
  }
  .offer-card h3 {
    font-size: 32px;
  }

  /* — Case Studies — */
  
  
  .case-studies {
    padding: 80px 0;
  }
  
  .case-studies .container {
	 padding-left: 15px;
	 padding-right: 15px;
  }
  .case-studies h2 {
    font-size: 38px;
    margin-bottom: 48px;
  }
  .case-image img {
    width: 300px;
    height: auto;
  }
  .case-info h3 {
    font-size: 32px;
  }
  .case-info p {
    font-size: 14px;
    line-height: 28px;
  }
  .case-controls {
    gap: 32px;
  }
  .case-decor, img.deco-circle, img.deco-figure {
	  display: none;
  }

  /* — Our Process — */
  .process-section {
    padding: 80px 0;
  }
  .process-section .container {
	  padding-right: 15px;
	  padding-left: 15px;
  }
  .process-section h2 {
    font-size: 38px;
    margin-bottom: 48px;
  }
  .process-number {
    width: 56px;
    height: 56px;
  }
  .process-content h3 {
    font-size: 32px;
  }
  .process-content p {
    font-size: 14px;
    line-height: 28px;
  }

  /* — Ready-to-Start CTA — */
  
  
  .process-cta {
    padding-top: 80px;
  }
  .process-cta h2 {
    font-size: 32px;
  }
  .process-subtitle {
    font-size: 12px;
  }
  .process-text {
    font-size: 14px;
    line-height: 28px;
  }
  .process-btn {
    padding: 10px 28px;
    font-size: 14px;
  }

  /* — Contact Our Team — */
  
  .contact-team {
	      padding: 60px 0;
  }
  .contact-container {
    padding: 0 20px;
  }
  .contact-info h2 {
    font-size: 23px;
    margin-bottom: 5px;
  }
  .contact-info p {
	font-size: 14px;
    line-height: 26px;
  }
  .contact-grid {
    gap: 24px 32px;
  }

  /* — Sponsor Section — */
  
  .sponsor-section {
	padding-right: 15px;
	padding-left: 15px;
	margin: 60px 0;  
  }
  .sponsor-container {
    padding: 8% 20px;
  }
  .sponsor-container h2 {
    font-size: 32px;
  }
  .sponsor-text {
    font-size: 14px;
    line-height: 28px;
  }
  .sponsor-btn {
    padding: 14px 48px;
    font-size: 14px;
  }

  /* — FAQ Section — */
  .faq {
	  margin-bottom: 60px;
  }
  .faq .container {
	  padding-right: 15px;
	  padding-left: 15px;
  }
  .faq h2 {
    font-size: 36px;
    margin-bottom: 40px;
  }
  .faq .accordion {
    font-size: 20px;
    padding: 16px;
  }
  .faq .panel p {
    font-size: 14px;
    line-height: 28px;
  }

  /* — Footer — */
  .footer-top {
    padding: 40px 20px;
    gap: 24px;
  }
  .footer-desc {
    font-size: 14px;
    line-height: 28px;
  }
  .back-to-top {
    width: 36px;
    height: 36px;
  }
  
  .footer-bottom .container {
	  padding-right: 15px;
	  padding-left: 15px;
  }
  
   /* ABOUT US Tablet */
   
   .about-hero-title {
	   font-size: 43px;
   }
   .about-hero-subtitle {
	   font-size: 24px;
   }
   .about-hero-section {
    padding: 30px 0 80px 0;
}
.about-mission-content {
	padding: 0;
}
.about-mission-container {
	padding-right: 15px;
	padding-left: 15px;
}
.about-mission-title {
	font-size: 33px;
}
.about-mission-image img {
	max-width: 240px;
}
.about-text-title {
	font-size: 33px;
}
   
}

.font-bold {
	font-weight: bold;
    margin-bottom: 5px;
}

@media only screen and (max-width: 767px) {
	.contact-team .contact-container {
		flex-direction: column
	}

	.contact-team .contact-container .contact-info {
		max-width: 100%;
		padding-left: 10%;
	}

	.contact-team .contact-container .contact-grid {

		max-width: 100%;
		padding-right: 5%;
	}
}

 /* Apply Box section Homepage */
 
.applybox {
	padding: 130px 0 70px 0;
    text-align: center;
    }
.applybox h2 {
    text-align: center;
    font-size: 48px;
    line-height: 1.2em;
    color: #40386E;
    font-weight: 700;
    margin-bottom: 30px;
}

.applybox .video-wrapper {
	margin-bottom: 50px;
}
.applybox .textarea {
	width: 85%;
	margin: 0 auto 70px auto;
}
.applybox .textarea p {
    font-size: 16px;
    line-height: 34px;
    color: #606060;
    margin-bottom: 16px;
}
.apply-btn {
  display: inline-block;
  padding: 16px 68px;
  background-color: #FF747F;
  color: #fff;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 16px;
  border-radius: 40px;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background-color 0.3s;
}

 /* Partners Slider */

.partners {
	padding: 130px 0 70px 0;
}
.partners .container {
	margin: 0 auto;
    width: 1190px;
    text-align: center;
}
.partners h2 {
    text-align: center;
    font-size: 48px;
    line-height: 1.2em;
    color: #40386E;
    font-weight: 700;
    margin-bottom: 30px;
}
.partnerslider {
	margin-top: 60px;
}
.partnerslider .slide img {
	max-height: 90px;
	max-width: 220px; 
	object-fit: cover;
}
.partnerslider .slick-track {
	display: flex;
}
.partnerslider .slide {
  display: flex;
  justify-content: center; 
  align-items: center; 
  position: relative;
  align-self: center;
}
.footer-bottom a {
color: #3C3C3C;
text-decoration: underline;
}
.footer-bottom a:hover {
	text-decoration: none;
}

@media only screen and (max-width: 767px) {
	.applybox {
	padding: 40px 0;
    text-align: center;
    }
    .applybox h2, .partners h2 {
   font-size: 33px;
   margin-bottom: 30px;
	}
	.applybox .textarea {
	width: 100%;
	margin: 0 auto 30px auto;
	}
	.applybox .container {
		padding-left: 15px;
		padding-right: 15px;
	}
	.partners .container {
        width: 100%;
        overflow: hidden;
        display: block;
        padding-right: 15px;
        padding-left: 15px;
	}
	.partners {
	padding: 80px 0 0 0;
}
	}
	
	<style>
  /* Kosher Debt Help – Inline styles just for this block */
/* Container */
.kdh-wrap {
  max-width: 760px;        /* comfortable line length */
  margin: 0 auto;
  padding: 32px 20px;
}

/* We’re NOT using a white card anymore */
/* Kosher Debt Help Section – refined version */
.kdh-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 20px;
}

.kdh-prose {
  color: inherit;
}

/* Headings and text */
.kdh-prose h2, .kdh-prose h3 {
  text-align: center;
  margin: 0 0 12px;
  font-weight: 700;
  line-height: 1.25;
}
.kdh-prose h3 { font-size: 1.125rem; }
.kdh-prose p {
  margin: 0 0 14px;
  font-size: 1.125rem;
  line-height: 1.75;
  color: inherit;
}
.kdh-lead   { font-size: 1.25rem; font-weight: 500; }
.kdh-italic { font-style: italic; }
.kdh-strong { font-weight: 700; }

/* ✅ Indented and aligned list */
.kdh-list {
  list-style: disc inside;
  padding-left: 2rem;       /* Increased from 0 to 2rem for deeper indent */
  margin: 6px auto 18px;
  max-width: 38rem;
  text-align: left;
}
.kdh-list li {
  margin: 0.35rem 0;
  padding-left: 0.25rem;
}

/* Divider */
.kdh-divider {
  height: 1px;
  background: currentColor;
  opacity: 0.12;
  border: 0;
  margin: 20px 0;
}

/* Google Calendar embed */
.kdh-calendar {
  min-width: 320px;
  height: 600px;
  border: 0;
}

@media (max-width: 480px) {
  .kdh-wrap { padding: 24px 16px; }
  .kdh-prose p, .kdh-list { font-size: 1rem; }
  .kdh-calendar { height: 680px; }
}

.video-responsive {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 */
  overflow: hidden;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* Базовое состояние — десктоп */
.homepage-sections {
  display: flex;
  flex-direction: column;
}

.hero               { order: 1; }
.quote              { order: 2; }
.reality-section    { order: 3; }

/* ✅ Мобильный частичный reorder */
@media (max-width: 767px) {
  .reality-section { order: 1; }
  .hero            { order: 2; }
  .quote           { order: 3; }
}

.consultationhero {
	padding-top: 120px;
}
.consultationhero .container {
    margin-top: -265px;
    padding-top: 265px;
    padding-bottom: 60px;
    }
.calendar .container {
    padding-top: 30px;
	padding-bottom: 30px;
}
.calendar {
	border-top: 1px solid #D9D9D9;
}

h1.consultationpage {
	font-family: "Playfair Display", serif;
    font-weight: 400;
    font-size: 44px;
    line-height: 1.2em;
    color: #3C3C3C;
    margin-bottom: 50px;
    text-align: left;
}

h2.consultationpage {
	color: #3C3C3C;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 100px;
    font-family: "Lato", sans-serif;
    text-align: left;
}

.consultationpage ul {
  display: inline-block;    
  text-align: left;         
  margin: 0 auto;           
  padding-left: 1.2em; 
  margin-bottom: 25px;    
}

.consultationpage li {
  margin-bottom: 10px;
  color: #606060;
}
.consultationpage h3 {
	margin-bottom: 25px;
	font-size: 23px;
}


@media (max-width: 767px) {
	.consultationhero {
	padding-right: 15px;
	padding-left: 15px;
	margin-top: 0;
	padding-top: 0;
}
.consultationhero .container {
	border-right: 1px solid #D9D9D9;
    border-left: 1px solid #D9D9D9;
    margin-top: 0;
    padding: 60px 25px 60px 25px;
    }
  .calendar {
	 padding-right: 15px;
	padding-left: 15px; 
  }

	h1.consultationpage {
	font-size: 33px;
	line-height: 1.3em;	
		}
		
	h2.consultationpage {
		font-size: 23px;
	line-height: 1.3em;		
		}
	}

.team-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 32px;
}

.team-card {
	flex: 0 1 calc((100% - 64px) / 3); 
	border: 1px solid rgba(206, 206, 206, 1);
	border-radius: 24px;
	padding: 32px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
	transition: box-shadow 0.3s ease;
}

.team-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.team-name {
	font-weight: 700;
	margin: 0;
	text-align: left;
	font-size: 26px;
	color: #000;
	font-family: 'Lato', sans-serif;
	text-align: left;
}

.team-role {
	color: rgba(113, 113, 113, 1);
	font-size: 16px;
	margin-bottom: 24px;
	text-align: left;
}

.team-readmore-btn {
	background: none;
	border: none;
	color: #000;
	font-weight: 400;
	cursor: pointer;
	font-size: 16px;
	letter-spacing: 0.5px;
	display: flex;
	align-items: left;
	text-transform: uppercase;
	gap: 6px;
	    padding-inline: 0;
	    margin: 0 auto;
}



.team-readmore-btn .arrow-icon {
	margin-left: 6px;
	width: 16px;
	height: 16px;
	vertical-align: middle;
	stroke-width: 2.5;
}

.team-readmore-btn .arrow {
	font-size: 12px;
	transform: translateY(1px);
}
.team-section .container {
    margin: 0 auto;
    width: 1240px;
    text-align: center;
}

@media only screen and (max-width: 767px) {
    .team-section .container {
        padding-top: 0;
        padding-bottom: 0;
        padding-right: 25px;
        padding-left: 25px;
        width: 100%;
    }
    h2.team-title {
  font-size: 37px;
  line-height: 45px;
}
    .team-card {
		flex: 1 1 100%;
	}
}
@media only screen and (min-width: 768px) and (max-width: 1023px) { 
	.team-section .container {
        padding-top: 40px;
        padding-bottom: 40px;
        padding-right: 25px;
        padding-left: 25px;
        width: 100%;
    }
	.team-card {
		flex: 0 1 calc((100% - 32px) / 2); 
	}
}

.team-description {
	margin-top: 16px;
	color: rgba(113, 113, 113, 1);
	line-height: 1.5;
	font-size: 16px;
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	transition: all 0.4s ease;
	text-align: center;
}

.team-card.open {
	background-color: #fff;
}

.team-card .team-name, .team-card .team-role {
	text-align: center;
}

.team-card .team-role {
	color: #000;
	font-weight: 700;
	font-size: 13px;
}

.team-card.open .team-description {
	opacity: 1;
	max-height: 800px;
}

.team-card .teamimage {
	border-radius: 50%;
	width: 120px;
	height: 120px;
	object-fit: cover;
}

.team-card.open .team-readmore-btn {
	color: #40386E;
}

.arrow-icon {
	transition: transform 0.3s ease;
}

.team-card.open .arrow-icon {
	stroke: #40386E;
	transform: rotate(180deg);
}

.team-card.open .team-description {
	display: block;
	opacity: 1;
	max-height: 800px;
}

.team-card.open .team-description p {
	margin-bottom: 15px;
}

.team-card.open .btn-text {
	content: "Close";
}

h2.team-title {
	color: #40386E;
    font-weight: 700;
    text-align: center;
    font-size: 48px;
    margin-bottom: 32px;
}

/* базовая раскладка слайдов */
.partnerslider .slide {
  display:flex !important; justify-content:center; align-items:center;
  padding: 10px 20px;              /* чтобы масштаб не резался по краям */
  overflow: visible;               /* на случай, если scale чуть выходит */
  
}

/* изображение партнёра */
.partnerslider .slide img.thumbfeatured {
  max-width: 100%;
  height: auto;
  transform: translateZ(0);        /* сглаживаем */
  will-change: transform;
  transition: transform .28s ease; /* плавность */
  transform-origin: center center;
}

/* эффект наведения и фокуса с клавиатуры */
.partnerslider .slide:hover img.thumbfeatured,
.partnerslider .slide a:focus img.thumbfeatured,
.partnerslider .slide a:active img.thumbfeatured {
  transform: scale(1.06);
}

/* уважение настроек «уменьшить анимацию» */
@media (prefers-reduced-motion: reduce) {
  .partnerslider .slide img.thumbfeatured { transition: none; }
}

.rounded-video {
  border-radius: 20px;        /* радиус скругления */
  overflow: hidden;           /* чтобы углы не "вылазили" за рамку */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* лёгкая тень, опционально */
}

/* если iframe адаптивный через padding-bottom */
.rounded-video iframe {
  border-radius: inherit;
  width: 100%;
  height: 100%;
  display: block;
}

/* HOMEPAGE V2 */

h1.sectiontitle, h2.sectiontitle {
	font-family: "Playfair Display", serif;
	font-weight: 400;
	font-size: 44px;
	line-height: 1.2em;
	color: #3C3C3C;
	text-align: center;
}

.ourmission {
	padding-top: 150px;
	padding-bottom: 170px;	
}
.ourmission .textcontainer, .kdwebhero .textcontainer {
	max-width: 800px;
	margin: 0 auto;
}
.ourmission h1 {
	font-family: "Playfair Display", serif;
	font-weight: 400;
	font-size: 44px;
	line-height: 1.2em;
	color: #3C3C3C;
	margin-bottom: 80px;
}
.kdwebhero h1 {
	font-family: "Playfair Display", serif;
	font-weight: 400;
	font-size: 44px;
	line-height: 1.2em;
	color: #3C3C3C;
	margin-bottom: 30px;
	}
.ourmission h2 {
	font-family: "Lato", sans-serif;
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 0.5px;
	line-height: 1.2em;
	color: #3C3C3C;
	text-transform: uppercase;
}
.contextbutton {
	display: inline-flex;
	align-items: center;
    padding: 12px 35px;
    color: #fff;
    text-transform: uppercase;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 16px;
    border-radius: 100px;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background-color 0.3s;
    margin-right: 25px;
    gap: 10px;
}
.contextbutton img {
	border: none;
}
.red {
	background-color: #D97E7E;
}
.red:hover {
	background-color: #34427A;
}
.blue {
	background-color: #34427A;
}
.blue:hover {
	background-color: #D97E7E;
}
.homepagetitle {
    position: relative;
}
.homepagetitle span {
    position: relative;
    display: inline-block;
    z-index: 1;
}
.homepagetitle span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -20px; 
    width: 110%;   
    height: 23px;
    background: url('img/sign.webp') no-repeat;
    background-size: contain;
    pointer-events: none;
}
.videosection, .partnershome, .textcontentblock, .programsection, .mainpartners, .appointsection, .pricing-framework, .faqv3, .steps-section, .offer-dontoffer, .goals, .statistics, .kdwebslider, .bannersection {
	border-top: 1px solid #D9D9D9;
}
.videosection .container, .partnershome .container, .textcontentblock .container, .programsection .container, .mainpartners .container, .appointsection .container, .pricing-framework .container, .faqv3 .container, .steps-section .container, .offer-dontoffer .container, .goals .container, .statistics .container, .kdwebslider .container, .kdwebslider .container, .bannersection .container {
	border-right: 1px solid #D9D9D9;
	border-left: 1px solid #D9D9D9;
}
.partnershome .container {
	padding-left: 30px;
	padding-right: 30px;
}
.partnershome .container, .textcontentblock .container, .programsection .container, .mainpartners .container, .appointsection .container, .pricing-framework .container, .faqv3 .container,  .steps-section .container, .statistics .container {
	padding-top: 120px;
	padding-bottom: 120px;
}
.bannersection .container {
	padding-top: 80px;
	padding-bottom: 80px;
	}
 .goals .container {
	 padding-top: 80px;
	padding-bottom: 80px;
	 }
.textcontentblock h3 {
	color: #D97E7E;
	font-family: "Playfair Display", serif;
	font-weight: 400;
	font-size: 44px;
	line-height: 1.2em;
	margin: 0 auto 30px auto;
	width: 80%;
}
.textcontent {
	font-family: "Lato", sans-serif;
	font-size: 18px;
	line-height: 1.3em;
	color: #3C3C3C;
	margin: 0 auto;
	width: 80%;
}
.steps-video-embed {
	margin: 0 auto 40px auto;
	width: 100%;
	aspect-ratio: 16/9;
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	background: #f0eeea;
}
@media (max-width: 768px) {
	.steps-video-embed {
		width: calc(100% + 50px);
		margin-left: -25px;
		margin-right: -25px;
		border-radius: 20px;
		box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
	}
}
.steps-video-embed iframe {
	position: absolute;
	top: -2px;
	left: -2px;
	width: calc(100% + 4px);
	height: calc(100% + 4px);
	border: none;
	display: block;
}
.steps-cta-link {
	display: block;
	margin: 30px auto 0 auto;
	width: 80%;
	font-family: "Lato", sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #2f3f78;
	text-decoration: none;
	transition: color 0.2s ease;
}
.steps-cta-link:hover {
	color: #D97E7E;
}
@media (max-width: 768px) {
	.steps-cta-link {
		width: auto;
		margin-left: 0;
	}
}
.textcontent ul {
	margin-left: 15px;
	margin-bottom: 30px;
}
.textcontent ul li {
	margin-bottom: 15px;
}
.textcontent p {
	margin-bottom: 20px;
}
.programsection .textcontent, .programsection h2, .programsection h4 {
	text-align: center;
}
.programsection h2 {
	max-width: 80%;
	margin: 0 auto 25px auto;
}
.sectionsubtitle {
	font-family: "Lato", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3em;
	color: #3C3C3C;
	max-width: 80%;
    margin: 0 auto 30px auto;
}

.programsection .textblockbutton {
	text-align: center;
}

.programicons {
	display: grid;
    grid-template-columns: repeat(4, 1fr); /* десктоп – 4 */
    gap: 40px;
    max-width: 1100px;

    text-align: center;
    flex-wrap: wrap; 
    max-width: 1100px;
    margin: 90px auto 90px auto;
}

.feature-item {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.feature-item img {
    width: auto;
    height: 80px;
    margin-bottom: 20px;
}

.feature-item p {
    font-family: "Inter", sans-serif;
    font-size: 18px;
    line-height: 1.4;
    color: #3C3C3;
    }
.mainpartners .sectiontitle {
	max-width: 80%;
    margin: 0 auto 60px auto;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    align-items: center;
    gap: 50px 80px;
}

.partner-item img {
    height: 90px;
    width: auto;
    object-fit: contain;
}
.appointsection .sectiontitle {
	margin: 0 auto 15px auto;
}
.appointsection .textcontent {
	text-align: center;
}
.appointsection .hero-image {
	margin-bottom: 35px;
}
.appointsection .hero-image img {
	margin: 0 auto;
	max-width: 250px;
	height: auto;
}
.appointsection .appoint-grid {
	display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px;
}
.appointsection p {
	margin-bottom: 60px;
}
.appointsection .appoint-grid img {
	height: 45px;
    width: auto;
    margin-bottom: 15px;
}
.appointsection .appoint-item {
	height: 180px;                 /* фиксированная высота */
    display: flex;
    flex-direction: column;
    justify-content: center;       /* центровка по вертикали */
    align-items: center;           /* центровка по горизонтали */
    text-align: center;
    background: #fff;
    border: 1px solid #D9D9D9;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0px 24px 30px -15px rgba(0, 0, 0, 0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.appointsection .appoint-item:hover {
	transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.appointsection .appoint-item h5 {
	font-family: "Lato", sans-serif;
	color: #3C3C3C;
	font-size: 18px;
	font-weight: 400;
}
.appointsection a {
	text-decoration: none !important;
	color: #3C3C3C;
}

/* Базовое состояние — десктоп */
.homepage_v2 {
  display: flex;
  flex-direction: column;
}

.ourmission         { order: 1; }
.videosection       { order: 2; }

/* ✅ Мобильный частичный reorder */
@media (max-width: 767px) {
	.videosection       { order: 1; }
.ourmission         { order: 2; }
}

@media (max-width: 767px) {
	.videosection {
		padding: 0 15px 0 15px;
	
	}
	.videosection .container {
	
	}
	.ourmission, .pricing-framework, .bannersection {
		padding: 0 15px 0 15px;
		border-right: none;
		border-left: none;
	}
	.ourmission .container, .pricing-framework .container, .kdwebhero .container {
	border-left: 1px solid #D9D9D9;
	border-right: 1px solid #D9D9D9;
	padding: 80px 25px 80px 25px;
	}
	
	.ourmission h1 {
    font-size: 27px;
    line-height: 1.2em;
    margin-bottom: 50px;
	}
	.kdwebhero h1 {
		font-size: 32px;
    line-height: 1.2em;
    margin-bottom: 30px;
    }
	.ourmission h2 {
	font-size: 12px;	
	}
	.contextbutton {
	font-size: 14px;
	width: 100%;
	justify-content: center;
	margin-bottom: 20px;
	}
	.textcontentblock h3 {
		font-size: 27px;
	}
	.textcontent {
		font-size: 16px;
	}
	.partnershome, .textcontentblock, .programsection, .mainpartners, .appointsection, .steps-section, .offer-dontoffer, .goals, .statistics, .kdwebslider {
    border: none;
    border-top: 1px solid #D9D9D9;
    padding-right: 15px;
    padding-left: 15px;
	}
	.partnershome .container, .textcontentblock .container, .programsection .container, .mainpartners .container, .appointsection .container, .steps-section .container {
	border-right: 1px solid #D9D9D9;
	border-left: 1px solid #D9D9D9;	
	padding: 60px 25px 60px 25px;
	}
	.textcontent, .textcontentblock h3 {
		width: 100%;
	}
	.sectionsubtitle {
		font-size: 12px;
		margin: 0 auto 10px auto;
	}
	.programsection h2 {
    max-width: 100%;
    font-size: 30px;
}
.feature-item {
    min-width: inherit;
}
	.feature-item p {
		font-size: 13px;
	}
	.programicons {
		grid-template-columns: repeat(2, 1fr);
	}
	.mainpartners .sectiontitle, h2.sectiontitle {
		max-width: 100%;
		font-size: 30px;
	}
	.partners-grid {
    gap: 30px 30px;
}
.appointsection .appoint-grid {
	display: block;
}
.appointsection .appoint-item {
	margin-bottom: 25px;
	padding: 10px;
}
.appointsection .appoint-grid img {
	height: 55px;
}
	}
	
/* HOMEPAGE V3 Additional Blocks */
	
.pricing-framework h4.sectionsubtitle {
	color: #D97E7E;
	text-transform: uppercase;
	font-size: 21px;
	text-align: center;
	font-weight: 400;
	margin-top: 25px;
	margin-bottom: 15px;
	letter-spacing: 0.5px;
}
.pricing-framework .textcontent {
	text-align: center;
}
.pricing-framework .textcontent span {
	color: #D97E7E;
}
.pricing-framework .pricecard {
	margin: 50px auto 50px auto;
	width: 40%;
	background: #fff;
	border-radius: 20px;
	padding: 35px;
}
.pricing-framework .pricecard h3 {
	font-weight: 700;
	color: #3C3C3C;
	font-size: 24px;
	font-family: "Lato", sans-serif;
	text-align: center;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid #D6D6D6;
}
.pricing-framework .pricecard p, .pricing-framework .pricecard ul li {
	font-family: "Lato", sans-serif;
	font-size: 16px;
	color: #3C3C3C;
	margin-bottom: 15px;
	text-align: center;
}
.pricing-framework .pricecard ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pricing-framework .pricecard ul li {
  display: flex;
  align-items: start;      
  justify-content: start;  
  gap: 16px;               
  margin: 18px 0;
  text-align: center;      
}

.pricing-framework .pricecard ul li::before {
  content: "";
  flex: 0 0 28px;           
  width: 28px;
  height: 28px;
  background: url("img/check.svg") no-repeat center / contain;
}
.faqv3 {
	margin-bottom: 0 !important;
}
.faq .accordion {
	font-size: 21px;
	font-family: "Lato", sans-serif;
	color: #3C3C3C;
}
.faqv3 .faq-block {
	width: 80%;
	margin: 0 auto;
}
.faqv3 .faq-block .accordion {
	position: relative;
	padding-left: 0;
}
.faqv3 .accordion:after {
	position: absolute;
	right: 0;
	top: 40%;
}
.faqv3 .panel {
	padding-left: 0;
}


.steps-wrap {
  position: relative;
  width: 80%;
  margin: 0 auto;
  overflow: hidden;
}


.steps-section .stepslider .slick-list {
  overflow: hidden;
}
.steps-section .stepslider .slick-track {
  display: flex;
}
.steps-section .stepslider .step {
  height: 100%;
}


.steps-section .step-title {
  font-family: "Playfair Display", serif;
    font-weight: 400;
    font-size: 44px;
    line-height: 1.2em;
    color: #3C3C3C;
    margin-bottom: 15px;
}

.steps-section .step-num {
  margin-right: 10px;
}

.steps-section .step-text {
  font-family: "Lato", sans-serif;
    font-size: 18px;
    line-height: 1.3em;
    color: #3C3C3C;
}

.steps-section .stepslider {
	margin-bottom: 80px;
}


.steps-nav {
  display: flex;
  gap: 14px;
  z-index: 2;
}


.steps-nav button {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.18);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform .15s ease, border-color .15s ease;
}

.steps-nav button span {
  font-size: 26px;
  line-height: 1;
  color: rgba(0,0,0,0.65);
  transform: translateY(-1px);
}

.steps-nav button:hover {
  transform: translateY(-1px);
  border-color: rgba(0,0,0,0.35);
}

.steps-nav button:disabled,
.steps-nav button.slick-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.offer-dontoffer .container {
    display: flex;
    gap: 40px;
}

.offer-dontoffer .leftcol, .offer-dontoffer .rightcol {
	flex: 1;
    text-align: center;
    background: #fff;
    border-radius: 30px;
    padding: 25px;

}
.offer-dontoffer h3 {
	color: #D97E7E;
    font-family: "Playfair Display", serif;
    font-weight: 400;
    font-size: 27px;
    line-height: 1.2em;
    margin-bottom: 15px;
}
.offer-dontoffer p, .offer-dontoffer ul li {
	font-family: "Lato", sans-serif;
    font-size: 16px;
    color: #3C3C3C;
    margin-bottom: 15px;
    text-align: left;
}


@media (max-width: 767px) {
.pricing-framework .pricecard {
		width: 100%;
	}
.pricing-framework .pricecard ul li::before { 
		width: 21px;
		height: 21px;
		}
.pricing-framework .pricecard {
		padding: 15px;
}
.faqv3 {
    border: none;
    border-top: 1px solid #D9D9D9;
    padding-right: 15px;
    padding-left: 15px;
	}
	.faqv3 .container {
	border-right: 1px solid #D9D9D9;
	border-left: 1px solid #D9D9D9;	
	padding: 60px 25px 60px 25px;
	}
	.faqv3 .faq-block {
	width: 100%;
}
.faqv3 .faq-block .accordion {
	font-size: 16px;
}
.faqv3 .panel p {
	font-size: 14px;
	line-height: 1.3em;
}
.steps-wrap {

    width: 100%;
  }
  .steps-nav {
    left: 22px;
    bottom: 36px;
  }
  .steps-section .step-title {
	  font-size: 30px;
  }
  .offer-dontoffer .container {
    display: block;
}
.offer-dontoffer .container .leftcol {
	margin-bottom: 25px;
}
.offer-dontoffer .container
border-right: 1px solid #D9D9D9;
        border-left: 1px solid #D9D9D9;
        }
	}
	
/* KDWEB Impact */


.kdwebhero ul {
	list-style: none;
	}
.kdwebhero ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 18px 0;
    text-align: center;
}
.kdwebhero ul li::before {
    content: "";
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    background: url(img/check.svg) no-repeat center / contain;
}
.kdwebhero {
	padding-top: 80px;
	padding-bottom: 80px;
}

.goals__grid{
  display: grid;
  gap: clamp(16px, 2vw, 26px);
}

.goals__row{
  display: grid;
  gap: clamp(16px, 2vw, 26px);
}

.goals__row--top{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.goals__row--bottom{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.goals__row--two-col{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.goal-card{
  background: #FCFCF7;
  border-radius: 22px;
    box-shadow: 0px 3.73px 55.89px 0px rgba(0, 0, 0, 0.1);
  padding: clamp(18px, 2vw, 26px);
}

.goal-card--wide{
  display: flex;
  align-items: center;
  column-gap: 18px;
  gap: 18px;
}
.goal-card--wide .goal-card__content{
  flex: 1;
  text-align: center;
  margin-right: 95px;
}
.goal-card--wide .goal-card__label{
  font-size: 13px;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .goal-card--wide:nth-child(2) .goal-card__value{
    margin-left: 0;
  }
}


.goal-card__icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
}

.goal-card__icon img{
  width: 55px;
  max-height: auto;
  display: block;
}

.goal-card__divider{
  width: 1px;
  height: 64px;
  background: rgba(17, 24, 39, .18);
  justify-self: center;
  border-radius: 1px;
}

.goal-card__label{
font-family: "Lato", sans-serif;
  font-size: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(60, 60, 60, 1);
  line-height: 1.2;
}

.goal-card__value{
	font-family: "Lato", sans-serif;
  margin-top: 8px;
  font-weight: 400;
  font-size: clamp(34px, 3.3vw, 52px);
  line-height: 1;
}

.goal-card__value--rose{ color: #d89090; }
.goal-card__value--navy{ color: #2f3f78; }

.goal-card__content--center{
  text-align: center;
}

.goal-card--simple{
  display: grid;
  place-items: center;
}


.stats{
  margin-top: clamp(18px, 2.2vw, 28px);


  --name-col: 130px;     
  --col-gap: 10px;       
  --plot-pad-left: 0px;  
}


.stats__legend{
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.stats__legend-item{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}

.stats__dot{
  width: 14px;
  height: 14px;
  border-radius: 999px;
  display: inline-block;
}
.stats__dot--initial{ background: #D98A8A; }
.stats__dot--new{ background: #2F3F78; }


.stats__chart{
  position: relative;
  --max: 32;
  border-radius: 18px;
  margin: 50px 15px 0 15px;
}


.stats__row{
  display: grid;
  grid-template-columns: var(--name-col) 1fr;
  gap: var(--col-gap);
  padding: 18px 14px;
  border-radius: 16px;
  position: relative;
}

.stats__row:hover{
  background: rgba(0,0,0,.04);
}

.stats__name{
	font-family: "Lato", sans-serif;
  align-self: center;
  color: rgba(17, 24, 39, .75);
  font-size: 16px;
  padding-left: 20px; 
}


.stats__bars{
  position: relative;
  min-height: 74px;
  padding-right: 260px;
  padding-left: 10px;
}


.stats__bar{
  position: relative;
  height: 36px;
  border-radius: 999px;
  margin: 6px 0;
  background: transparent;
}


.stats__fill{
  position: absolute;
  inset: 0 auto 0 0;
  width: calc((var(--value) / var(--max)) * 100%);
  border-radius: inherit;
}


.stats__bar--initial .stats__fill{
  --value: var(--initial);
  background: #D98A8A;
}


.stats__bar--new{
  height: 36px;
}
.stats__bar--new .stats__fill{
  --value: var(--new);
  background: #2F3F78;
}


.stats__reduced{
  position: absolute;
  left: calc((var(--new) / var(--max)) * 100% + var(--plot-pad-left) + 18px);
  top: 50px;
  font-size: 14px;
  color: rgba(17, 24, 39, .75);
  line-height: 1.2;
  background: transparent;
  pointer-events: none;
}


.stats__tooltip{
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 240px;
  background: #FCFCF7;
  border-radius: 18px;
  box-shadow: 0px 10px 40px rgba(0,0,0,.12);
  padding: 16px 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
  z-index: 999;
}

.stats__row:hover .stats__tooltip{
  opacity: 1;
  visibility: visible;
}

.stats__tooltip-title{
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
  color: rgba(17, 24, 39, .9);
}

.stats__tooltip-divider{
  height: 1px;
  background: rgba(17, 24, 39, .12);
  margin: 10px 0;
}

.stats__tooltip-row{
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: rgba(17, 24, 39, .75);
  padding: 4px 0;
}

.stats__tooltip-row--bold{
  grid-template-columns: 1fr auto;
  font-weight: 600;
  color: rgba(17, 24, 39, .9);
}

.stats__bullet{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
}
.stats__bullet--initial{ background: #D98A8A; }
.stats__bullet--new{ background: #2F3F78; }

.stats__tooltip-label{ white-space: nowrap; }
.stats__tooltip-value{ white-space: nowrap; }


.stats__axis{
  margin-top: 10px;


  padding-left: calc(var(--name-col) + var(--col-gap) + var(--plot-pad-left) + 14px);
  padding-right: 260px;

  display: grid;
  grid-template-columns: repeat(5, 1fr);
  color: rgba(17, 24, 39, .65);
  font-size: 14px;
}

.stats__axis span{
  text-align: left;
}
.stats__axis span:last-child{
  text-align: right;
}

.statistics .textcontent {
    text-align: center;
}

.statistics h2.sectiontitle {
margin-bottom: 30px;
}

.stats__chart::before{
  content: "";
  position: absolute;
  top: 0;
  bottom: -10px;

  left: calc(var(--name-col) + var(--col-gap) + 14px);

  width: 1px;
  background: rgba(192, 192, 192, 1);
}

.stats__axis{
  position: relative;
}

.stats__axis::before{
  content: "";
  position: absolute;
  top: 0;

  left: calc(var(--name-col) + var(--col-gap) + 29px);
  right: 15px;

  height: 1px;
  background: rgba(192, 192, 192, 1);
}


.stats-cards{
  margin-top: 120px;
}

.stats-cards__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 26px);
  align-items: stretch;
}


.stats-cards__item{
  background: #FCFCF7;
  border-radius: 22px;
  box-shadow: 0px 3.73px 55.89px rgba(0,0,0,.10);
  padding: clamp(18px, 2vw, 26px);

  display: flex;
  flex-direction: column;
  height: 100%;
}

.stats-cards__title{
font-family: "Lato", sans-serif;
  margin: 0;
  font-size: 21px;
  line-height: 1.1;
  color: rgba(60, 60, 60, 1);
  font-weight: 700;
}

.stats-cards__divider{
  height: 1px;
  background: rgba(17, 24, 39, .12);
  margin: 14px 0;
}

.stats-cards__rows{
  flex: 1;
  display: grid;
  gap: 10px;
}

.stats-cards__row{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
}

.stats-cards__row--path{
  align-items: start;
}

.stats-cards__label{
  font-size: 14px;
  color: rgba(60, 60, 60, 1);
  font-family: "Lato", sans-serif;
}

.stats-cards__value{
	font-family: "Lato", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: rgba(17, 24, 39, .9);
  text-align: right;
}

.stats-cards__value--blue{
  color: #2F3F78;
}

.stats-cards__value--rose{
  color: #D98A8A;
}

.stats-cards__value--strong{
  font-weight: 700;
}
.stats__dots{ display:none; }


@media (max-width: 767px) { 
	.goals__grid {
	display: block;	
		}
	.goals__row {
	display: block;
		}
	.goal-card {
	margin-bottom: 15px;
		}
	.goals .container {
		padding-top: 30px;
		padding-bottom: 30px;
	}	
	.kdwebhero {
	padding: 0;	
	}	
	.stats-cards__grid{
    display: block;
  }
  .stats-cards__item{
    margin-bottom: 25px;
  }
  

  .stats__axis{ display:none; }
  .stats__tooltip{
    display:none !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
  }
  .stats__row:hover{ background:#FCFCF7 !important; }
  
  .stats-cards {
	  margin-top: 60px;
	 }
	 
	 .statistics h2.sectiontitle {
		 max-width: 80%;
		 margin: 0 auto 30px auto;
		 }
	.statistics .textcontent {
		max-width: 80%;
		 margin: 0 auto;
		}
		
	.statistics .container {
		padding-top: 60px;
		padding-bottom: 60px;
		}

  .stats{
    padding: 0;
  }

  .stats__chart{
    --gap: 10px;

    display: flex;
    gap: var(--gap);

    overflow-x: auto;
    overflow-y: hidden;                 
    scroll-snap-type: x mandatory;

    -webkit-overflow-scrolling: touch;

    padding: 0 0 18px;                 
    margin: 0;

    scrollbar-width: none;


    touch-action: pan-x;
    overscroll-behavior-x: contain;

  
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
  }
  .stats__chart::-webkit-scrollbar{ height: 0; }


  .stats__chart::before,
  .stats__chart::after{
    content: "";
    flex: 0 0 calc(var(--gap) / 2);
    background: transparent;
  }

  .stats__row{
    flex: 0 0 calc(100% - var(--gap));  
    width: calc(100% - var(--gap));
    scroll-snap-align: center;

    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;

    padding: 20px 18px 18px;
    background: #FCFCF7;
    border-radius: 22px;
    box-shadow: none;


    overflow: visible;
  }



  .stats__name{
    padding-left: 0;
    font-size: 24px;
    font-weight: 700;
    color: rgba(17, 24, 39, .9);
    font-family: "Lato", sans-serif;
  }

  .stats__bars{
    padding: 0;
    min-height: auto;
    display: grid;
    row-gap: 14px;
  }


  .stats__reduced{ display:none; }



  .stats__bar{
    height: 54px;
    margin: 0;
    position: relative;

    display: grid;
    grid-template-columns: 1fr 64px;    
    align-items: center;
    column-gap: 14px;

    border-radius: 999px;
    overflow: hidden;                 
  }


  .stats__bar--initial{
    background: rgba(217, 138, 138, .35);
  }
  .stats__bar--new{
    background: rgba(47, 63, 120, .20);
  }


  .stats__fill{
    position: relative;
    height: 54px;
    width: calc((var(--value) / var(--max)) * 100%);
    min-width: 34px;                   
    border-radius: 999px;
  }


  .stats__fill::before{
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 21px;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    color: #fff;
    white-space: nowrap;
    pointer-events: none;
  }
  .stats__bar--initial .stats__fill::before{ content:"Initial APR"; }
  .stats__bar--new .stats__fill::before{ content:"New APR"; }


  .stats__bar::after{
    content: "";
    justify-self: end;
    margin-right: 10px;
    font-size: 21px;
    font-weight: 400;
    white-space: nowrap;
    font-family: "Lato", sans-serif;
  }
  .stats__bar--initial::after{
    content: attr(data-initial) "%";
    color: #D98A8A;
  }
  .stats__bar--new::after{
    content: attr(data-new) "%";
    color: #2F3F78;
  }


  .stats__bars::after{
    content: "Reduced: " attr(data-reduced) "%";
    font-family: "Lato", sans-serif;
    display: block;
    margin-top: 6px;
    padding-top: 18px;
    border-top: 1px solid rgba(17, 24, 39, .12);

    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #D98A8A;
  }

  .stats__dots{
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
  }

  .stats__dotbtn{
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: rgba(47, 63, 120, .18);
    cursor: pointer;
  }

  .stats__dotbtn.is-active{
    background: #2F3F78;
  }
  
}

/* =========================
   KDWEBSLIDER (Slick)
========================= */

.kdwebslider{
  
}

.kdwebslider .container {
    padding-top: 80px;
    padding-bottom: 80px;
}

.kdwebslider .container{
  overflow: visible; /* важно, если у темы где-то overflow hidden */
}

.kdwebslider__wrap{
  position: relative;
  margin: 0 auto;
  padding: 0;          /* стрелки больше не резервируем внутри */
  overflow: visible;   /* не обрезать вынесенные стрелки */
}

/* трек */
.js-kdwebslider{
  width: 100%;
}

.kdwebslide{
  padding: 12px 0; /* немного воздуха */
}

.kdwebslide__card{
  background: #FCFCF7;
  border-radius: 22px;
  padding: clamp(26px, 3vw, 40px);
  text-align: center;
}

.kdwebslide__icon{
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  color: rgba(17, 24, 39, .75);
  display: grid;
  place-items: center;
}

.kdwebslide__quote{
  margin: 30px auto 30px auto;
  font-size: 39px;
  width: 70%;
  font-family: "Lato", sans-serif;
  line-height: 1.25;
  color: rgba(52, 66, 122, 1);
  font-weight: 400;
}

.kdwebslide__quote strong{
  font-weight: 700;
}

.kdwebslide__divider{
  height: 1px;
  background: rgba(17, 24, 39, .12);
  margin: 18px 0;
}

.kdwebslide__name{
  font-size: 18px;
  font-weight: 700;
  font-family: "Lato", sans-serif;
  color: rgba(17, 24, 39, .85);
  margin-bottom: 6px;
}

.kdwebslide__sub{
  font-size: 18px;
  letter-spacing: .08em;
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  color: rgba(17, 24, 39, .65);
}

.kdwebslide__value {
	font-family: "Lato", sans-serif;
  color: #D98A8A;
  font-weight: 400;
    letter-spacing: .08em;
  text-transform: none;
  margin-left: 6px;
  font-size: 18px;
}

/* =========================
   ARROWS — вынесены за пределы контейнера
========================= */

.kdwebslider__arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: #2F3F78;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
}

.kdwebslider__arrow span{
  font-size: 54px;
  line-height: 1;
  transform: translateY(-1px);
}

.kdwebslider__arrow--prev{
  left: -84px;  /* регулируй вынос наружу */
}

.kdwebslider__arrow--next{
  right: -84px; /* регулируй вынос наружу */
}

.kdwebslider__arrow:hover{
  color: rgba(47, 63, 120, .8);
}

/* =========================
   DOTS
========================= */

.kdwebslider__dots{
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

/* Slick dots styling */
.kdwebslider__dots .slick-dots{
  display: flex !important;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.kdwebslider__dots .slick-dots li{
  margin: 0;
}

.kdwebslider__dots .slick-dots button{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  font-size: 0;
  background: rgba(47, 63, 120, .18);
  cursor: pointer;
}

.kdwebslider__dots .slick-dots .slick-active button{
  background: #2F3F78;
}

/* убираем стандартные outline/фокусы (если нужно — можешь сделать свой стиль фокуса) */
.kdwebslider button:focus{
  outline: none;
}

/* на всякий: slick иногда добавляет overflow hidden на list */
.kdwebslider .slick-list,
.kdwebslider .slick-track{
  overflow: visible;
}

.kdwebslider .slick-list{
  overflow: hidden !important;
}

.kdwebslider .slick-dots li.slick-active button:before, .kdwebslider .slick-dots li button:before {
	display: none;
}

.kdwebslider .kdwebslide__icon img {
	width: 55px;
	height: 55px;
}
	
	
@media (max-width: 767px) { 
.kdwebslider .container {
	padding-top: 30px;
	padding-bottom: 30px;
	}
.kdwebslide__quote { 
	width: 100%;
	font-size: 27px;
	}
.kdwebslider__arrow {
	display: none !important;
	}
	}



.bannersection__card{
  position: relative;
  border-radius: 44px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: 0 18px 70px rgba(0,0,0,.18);
  background: #2F3F78;
}

/* background image layer */
.bannersection__bg{
  position: absolute;
  inset: 0;
  background-image: url("img/bannerimg.webp");
  background-size: cover;
  background-position: center;
  filter: blur(10px);
  transform: scale(1.08);
  opacity: .85;
}

/* overlay */
.bannersection__card::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* синий тинт */
    linear-gradient(
      135deg,
      rgba(47,63,120,0.65) 0%,
      rgba(64,87,162,0.55) 40%,
      rgba(22,32,73,0.75) 100%
    ),

    /* глубина */
    radial-gradient(
      120% 120% at 50% 40%,
      rgba(255,255,255,.06) 0%,
      rgba(0,0,0,.25) 60%,
      rgba(0,0,0,.45) 100%
    );

  mix-blend-mode: multiply;
  pointer-events: none;
}
.bannersection__inner{
  position: relative;
  z-index: 1;
  padding: 56px 64px 56px;
  text-align: center;
  color: #fff;
}

.bannersection__title {
	font-family: "Playfair Display", serif;
  font-size: 44px;
  line-height: 1.2em;
  margin: 0 0 18px;
  font-weight: 400;
}

.bannersection__text{
  margin: 0 auto 44px;
  font-size: 21px;
  line-height: 1.35;
font-family: "Lato", sans-serif;
font-weight: 400;
}

.bannersection__stat{ text-align: center; margin-right: 35px; }

.bannersection__stats{
  flex-direction: row;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 44px;
  max-width: 980px;
  margin: 0 auto;
}

.bannersection__divider{
  width: 2px;
  height: 120px;
  background: rgba(255,255,255,.55);
  border-radius: 999px;
}

.bannersection__label{
  white-space: nowrap;
	font-family: "Lato", sans-serif;
	font-weight: 400;
  font-size: 18px;
  letter-spacing: .02em;
  opacity: .95;
  margin-bottom: 14px;
}

.bannersection__value{
	font-family: "Lato", sans-serif;
	font-weight: 400;
  font-size: 44px;
  line-height: 1;
  font-weight: 400;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 767px){

  .bannersection__card{
    border-radius: 39px;
   
  }

  .bannersection__inner{
    padding: 48px 28px 44px;
    text-align: center;
  }

  .bannersection__title{
    font-size: 30px;
    margin-bottom: 18px;
  }

  .bannersection__text{
    font-size: 16px;
    margin-bottom: 44px;
  }

  .bannersection__stat{ text-align: center; margin-right: 0; width: 100%; }
  .bannersection__stats{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    max-width: 280px;
    margin: 0 auto;
  }
  .bannersection__divider{
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,.55);
    border-radius: 999px;
  }

  .bannersection__label{
    white-space: normal;
    font-size: 16px;
    margin-bottom: 16px;
  }

  .bannersection__value{
    font-size: 32px;
  }
}

.goals__row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Videos nav link - re-enabled */

.goal-card--half {
  width: 100%;
}

/* Donate button mobile: keep original size, just reposition above mobile nav */
@media (max-width: 768px) {
  .custom-double-launcher {
    bottom: 70px !important;
    right: 10px !important;
  }
}

