/* fix_18 */

.body-copy {
  font-size: 14px;
}

.footer_box_1{
  flex-direction: row;
gap: 50px;
}

.footer_box_2{
  display: flex;
flex-direction: column;
gap: 10px;
}

.footer_box_3{
  display: flex;
flex-direction: column;
gap: 10px;
}

.footer_docs .approach-flex{
width: auto;
}

.footer_docs .approach-row{
  gap: 15px;
  }

.footer_final{
  max-width: 70%;
}

.footer_links_agrrement{
  display: inline-block;
  margin: 4px;
  font-weight: bold;
  font-size: 11px;
  color: #333;
}


.value-section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.value-title {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 60px;
}

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

.value-item {
  background-color: #f7f8fa;
  border-radius: 12px;
  padding: 30px 24px;
  text-align: left;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); */
  transition: transform 0.2s ease;
}

.value-item:hover {
  transform: translateY(-5px);
}

.value-item svg {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
}

.value-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #111;
}

.value-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}


.intro-section {
  padding: 80px 20px;
  background-color: #fff;
}

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

.intro-left .tagline {
  color: #0e736c; /* акцентный цвет в духе сайта thefoundation.house */
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.intro-left h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
}

.intro-right p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}

.intro-right strong {
  font-weight: 600;
  color: #111;
}

/* Адаптив */
@media (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro-left h2 {
    font-size: 2rem;
  }
}

.pillars {
  padding: 80px 20px;
  background: #fff;
}

.pillars-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: space-between;
}

.pillars-left {
  flex: 1 1 35%;
  max-width: 480px;
}

.pillars-left h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.pillars-left p {
  font-size: 1rem;
  color: #fff;
  line-height: 1.6;
}

.pillars-right {
  flex: 1 1 60%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.pillar-card {
  border-left: 1px solid #e0e0e015;
  padding-left: 20px;
}

.pillar-card .icon {
  margin-bottom: 16px;
}

.pillar-card .icon img {
  width: 28px;
  height: 28px;
}

.pillar-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.6;
}

/* Адаптив */
@media (max-width: 900px) {
  .pillars-wrapper {
    flex-direction: column;
  }

  .pillars-right {
    grid-template-columns: 1fr;
  }
}



.timeline-section {
  padding: 80px 20px;
  max-width: 960px;
  margin: 0 auto;
}

.timeline-header h2 {
  font-size: 2.25rem;
  font-weight: 400;
  color: #111;
  margin-bottom: 20px;
}

.timeline-header p {
  font-size: 1rem;
  color: #111;
  line-height: 1.6;
  margin-bottom: 40px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 3fr;
  border-bottom: 1px solid #e5e5e5;
  padding: 32px 0;
}

.timeline-year {
  font-size: 1.5rem;
  font-weight: 300;
  color: #111;
  align-self: center;
}

.timeline-toggle {
  all: unset;
  cursor: pointer;
  font-weight: 600;
  color: #111;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.timeline-toggle::after {
  content: "▼";
  font-size: 0.8rem;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.timeline-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.timeline-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.timeline-details.open {
  max-height: 500px;
  opacity: 1;
  margin-top: 16px;
}

.timeline-details ul {
  padding-left: 20px;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
}

.timeline-details li {
  margin-bottom: 10px;
}

/* Mobile */
@media (max-width: 768px) {
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .timeline-year {
    margin-bottom: 10px;
  }
}


.portfolio-section {
  padding: 80px 20px;
  background-color: #fff;
  text-align: center;
}

.section-title {
  font-size: 6.5rem;
  line-height: 4rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 10px;
}

.section-title span {
  font-size: 3.5rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 50px;
}

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

.portfolio-card {
  display: flex;
  flex-direction: column;
}

.card-wrapper {
  position: relative;
  height: 560px;
  border-radius: 12px;
  overflow: hidden;
}

.card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.8);
  transition: filter 0.3s ease;
  z-index: 1;
}

.card-header {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #fff;
  font-weight: 400;
  font-size: 1.5rem;
  z-index: 2;
  
}

.card-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  padding: 0 20px;
}

.card-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 300;
}

.card-overlay p {
  font-size: 1rem;
  color: #fff;
}

.card-wrapper:hover .card-bg {
  filter: brightness(0.6) blur(4px);
}

.card-wrapper:hover .card-overlay {
  opacity: 1;
}

.card-description {
  margin-top: 15px;
  font-size: 1.05rem;
  color: #333;
  line-height: 1.5;
}



.features-inline-block {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid #2d2d2d;
  border-bottom: 1px solid #2d2d2d;
  margin-top: 30px;
  flex-wrap: wrap;
}

.feature-item {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 0;
}

.feature-item img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.feature-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.95rem;
  color: #9ca3af; /* Светло-серый текст */
  margin: 0;
  line-height: 1.4;
}


.box_white_color{
  background: #fff !important;
}

.box_white_color *{
  color: #111 !important;
}

.box_white_color .services-item{
  border-color:#111 !important;
}


.wealth-block {
  background: linear-gradient(135deg, #101010, #1c1c1c);
  border-radius: 16px;
  padding: 60px 30px;
  color: #fff;
  margin: 60px auto;
  max-width: 1200px;
}

.wealth-header {
  max-width: 720px;
  margin-bottom: 50px;
}

.wealth-header h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.wealth-header p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.6;
}

.wealth-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.wealth-card {
  background: transparent;
  border-left: 1px solid #333;
  flex: 1;
  min-width: 300px;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-icon img {
  width: 32px;
  height: 32px;
  margin-bottom: 20px;
}

.card-content h3 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.card-content p {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.5;
}

.card-arrow {
  margin-top: 20px;
  background: none;
  border: 1px solid #555;
  border-radius: 6px;
  padding: 6px 12px;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  align-self: flex-start;
  transition: all 0.2s ease;
}

.card-arrow:hover {
  background-color: #333;
}



.hero-section-with-bg {
  position: relative;
  padding: 80px 40px;
  color: #fff;
  overflow: hidden;
  border-radius: 16px;
  background: url('content/direct_2.jpg') center/cover no-repeat;
}

.hero-section-with-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* затемнение */
  z-index: 1;
  border-radius: 16px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-text {
  max-width: 600px;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1rem;
  color: #ddd;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  background-color: #1fcfb7;
  color: #000;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.btn-primary span {
  margin-left: 8px;
  font-size: 1.2rem;
}

.btn-primary:hover {
  background-color: #17b7a3;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #555;
  padding: 12px;
  border-radius: 8px;
  background-color: transparent;
  transition: background 0.3s ease;
}

.btn-icon img {
  width: 20px;
  height: 20px;
}

.btn-icon:hover {
  background-color: #222;
}

.hero-image-mockup {
  max-width: 400px;
  width: 100%;
}

.hero-image-mockup img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}



.hero-section-with-bg {
  position: relative;
  padding: 60px 40px;
  background: url('content/direct_2.jpg') center/cover no-repeat;
  color: #fff;
  border-radius: 16px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  border-radius: 16px;
}

.hero-inner-row {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 45%;
  max-width: 500px;
}

.hero-text h4 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 1rem;
  color: #ddd;
  margin-bottom: 20px;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.qr-img {
  height: 55px;
  border-radius: 12px;
  border: 4px solid #fff;
  width: auto;
}

.hero-feature-row {
  display: flex;
  flex: 1 1 50%;
  gap: 40px;
  flex-wrap: wrap;
  align-items: stretch;
}

.wealth-card {
  flex: 1 1 45%;
  border-left: 1px solid #444;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 100%;
  min-width: 240px;
}

.card-icon {
  margin-bottom: 8px;
}

.card-content h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.card-content p {
  margin: 0;
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.5;
}

.card-arrow {
  margin-top: 8px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}


.career_ul li{
  color: #ffffffb3;
  margin-top: 0;
margin-bottom: 0;
font-family: Helvetica Now Display, sans-serif;
font-size: 14px;
font-weight: 400;
padding: 10px 0px;
line-height: 21px;
}


.fundamentals-section {
  padding: 80px 20px;
  background-color: #fff;
}

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

.fundamentals-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.fundamentals-left h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.fundamentals-right {
  max-width: 500px;
}

.fundamentals-right p {
  font-size: 1rem;
  color: #5a6473;
  margin-bottom: 20px;
  line-height: 1.6;
}

.nexo-button {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border: 1px solid #d5dbe1;
  border-radius: 8px;
  background-color: #fff;
  color: #000;
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s ease;
}

.nexo-button span {
  margin-left: 8px;
  font-size: 1.2rem;
}

.nexo-button:hover {
  background-color: #f5f5f5;
}

/* --- Статистика --- */

.fundamentals-stats-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.stat-card {
  flex: 1 1 30%;
  min-width: 250px;
  height: 220px; /* Высота карточки выше */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Цифры сверху, подпись снизу */
  padding: 20px;
  border-left: 1px solid #e2e2e2;
  border-radius: 0px;
  text-align: left;
  box-sizing: border-box;
}

.stat-value {
  font-size: 2rem;
  font-weight: 500;
  color: #6a5f53;
  margin: 0;
}

.stat-caption {
  font-size: 0.95rem;
  color: #67717d;
  margin: 0;
}


.earnings-calculator {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  font-family: 'Inter', sans-serif;
}

.calculator-top {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 60px;
}

.calculator-right {
  flex: 1 1 600px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calculator-chart {
  margin-top: 40px;
  width: 100%;
}

.calculator-left {
  flex: 1 1 420px;
  min-width: 280px;
}



.subtext {
  color: #5a6473;
  margin-bottom: 24px;
  font-size: 1rem;
}

label {
  font-size: 0.9rem;
  margin-top: 16px;
  margin-bottom: 6px;
  display: block;
  font-weight: 500;
}

select,
#amount-input {
  width: 100%;
  padding: 14px;
  font-size: 1.05rem;
  margin-bottom: 12px;
  border: 1px solid #d5dbe1;
  border-radius: 8px;
  box-sizing: border-box;
}

#start-btn {
  background: #111;
  color: white;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  margin-top: 10px;
}

#start-btn:hover {
  background: #222;
}

.earnings-numbers {
  display: flex;
  gap: 60px;
  align-items: baseline;
  flex-wrap: wrap;
  margin-top: auto;
}

.earnings-green {
  font-size: 2rem;
  color: #00a99d;
  font-weight: 600;
}

.earnings-black {
  font-size: 2rem;
  color: #111;
  font-weight: 600;
}

.caption {
  font-size: 0.95rem;
  color: #5a6473;
}

/* Стилизация кастомного select */
.custom-select-wrapper {
  position: relative;
}

.custom-select {
  width: 100%;
  padding: 14px;
  font-size: 1.05rem;
  border: 1px solid #d5dbe1;
  border-radius: 8px;
  appearance: none;
  background-color: white;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}


.cacl_info_box{
  background-color: rgb(245 243 240);
  padding: 1.5rem;
  border-radius: 14px;
  margin: 25px 0px;
}


.property-gallery {
  width: 100%;
  padding: 60px 5vw;
  background: #fafafa;
}

.gallery-heading {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
}

.object_info_qr{
  height: 225px;
  border:4px solid #fff;
  border-radius: 12px;
  box-shadow: 0px 24px 44px rgba(128, 135, 176, 0.1);
}

@media screen and (max-width: 810px){
  .hero-title-contain{
    margin-top: 1vw !important;
    height: 8.6vw !important;
  }

  .hero-title-contain .hero-title{
    font-size: 10vw !important;
line-height: 10vw !important;
  }

  .heading-large.is-percent{
    font-size: 10vw !important;
line-height: 7vw !important;
  }

  .subhead-contain.mobile{
    width: auto !important;
  }

  .fix_1{
    text-align: center;
    justify-content: center;
  }

  .hero-title.dark.process{
    font-size: 16.7vw !important;
text-align: center;
  }

  .fix_2{
    font-size: 12vw !important;
  }

  .footer-flex{
    grid-row-gap: 1vh !important;
    min-height:  auto !important;
    padding-top: 50px;
  }

  .footer_box_3 .approach-row{
    padding-left: 0px !important;
  }

  .fix_3{
    padding-top: 0px !important;
    align-items: flex-start !important;
  }

  .footer-socials{
    width: 100%;
    display: flex !important;
  }

  .footer-socials .nav-container{
    width: 100%;
    display: flex !important;
  }

  .footer_final{
    max-width: 100% !important;
    justify-content: flex-start !important;
    margin-top: 0px !important;
    padding: 5px 20px !important;
  }

  .footer-cta-contain{
    background-image: none;
    background: var(--violet);
  }

  .footer-cta-contain a{
    background-image: none;
  }

  .footer-legal-div{
    background-image: none;
  }

  .card-overlay{
    width: 100%;
  }

  .fix_4{
    font-size: 9vw !important;
    line-height: 8vw !important;
    text-align: center;
  }

  .fix_4 span{
    font-size: 6vw !important;
    line-height: 3vw !important;
  }

  .fix_4_2{
    font-size: 9vw !important;
    line-height: 8vw !important;
  }

  .fix_4_2 span{
    font-size: 6vw !important;
    line-height: 8vw !important;
  }

  .fix_5{
    font-size: 4.25rem !important;
line-height: 3.7rem !important;
  }

  .fix_6{
    font-size: 19.7vw !important;
    line-height: 16.7vw !important;
    text-align: left !important;
    margin-top: 0px !important;
  }

  #approach{
    margin-top: 20px;
  }

  .fix_7{
   height: auto !important;
  }

  .fix_8{
    font-size: 11vw;
line-height: 11vw;
  }

  .fix_9{
    margin-bottom: 30px;
  }

  .fix_10{
    font-size: 11vw !important;
    line-height: 11vw !important;
  }

  .fix_11{
    grid-row-gap: 4em !important;
  }

  .fix_12{
    text-align: center !important;
    justify-content: center !important;
align-content: center !important;
align-items: center !important;
  }

  .fix_13{
    width: 100%;
    text-align: center !important;
    justify-content: center !important;
  }

  .fix_14{
    font-size: 4.2em !important;
  }

  .fix_15{
    font-size: 3.4em !important;
  }

  .fix_16{
    margin: 20px;
  }

  .fix_18{
    font-size: 11vw !important;
  }

  .fix_19{
    line-height: 1em !important;
  }
}

.fix_17{
  font-size: 10vw;
}

.footer_soc svg{
  height: 23px;
  width: 23px;
}

.footer_soc2 svg{
  height: 23px;
  width: 23px;
  margin: 3px 10px;
}