@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=Inter:wght@400;600&display=swap');

html { font-size: 17px; scroll-behavior: smooth; }
body {
  margin: 0; padding: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: #181c24;
  color: #e0e3e8;
}
.background-anim {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  mix-blend-mode: lighten;
}
.noise {
  position: fixed; inset: 0;
  z-index: 1;
  pointer-events: none;
  background: url("https://transparenttextures.com/patterns/noise.png");
  opacity: 0.14;
}
.fade-left {
  position: fixed; top: 0; left: 0;
  width: 22vw; height: 100vh;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to right, #10131a 10%, transparent 100%);
  opacity: 0.9;
}
.background-network-anim {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
}

/* Header and burger */
header {
  z-index: 10;
  padding: 36px 64px 12px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(24,28,36,0.92);
  box-shadow: 0 2px 16px #10131a22;
  border-bottom: 1px solid #232b37;
  backdrop-filter: blur(7px);
}
.logo {
  position: relative;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #e0e3e8;
}
.logo-text {
  position: relative;
  z-index: 1;
}
nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.nav-link {
  color: #bfc7d5;
  text-decoration: none;
  font-size: 15px;
  opacity: 0.8;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 7px 14px;
  border-radius: 7px;
  transition: color .18s, opacity .18s, background .2s;
}
.nav-link.active, .nav-link:hover {
  color: #3a6ea5;
  opacity: 1;
  background: #3a6ea51a;
}
.lang-btn {
  background: none;
  border: none;
  color: #bfc7d5;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 7px 14px;
  border-radius: 7px;
  opacity: 0.8;
  transition: background .2s, color .2s, opacity .22s;
}
.lang-btn.active, .lang-btn:hover {
  background: #3a6ea51a;
  color: #3a6ea5;
  opacity: 1;
}
.burger {
  display: none;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 30;
  pointer-events: auto;
  transition: background 0.23s;
  position: relative;
}
.burger span {
  display: block;
  width: 24px;
  height: 3.5px;
  background: #3a6ea5;
  margin: 4px 0;
  border-radius: 2px;
  transition: transform 0.33s cubic-bezier(.4,1,.7,1), opacity 0.33s, background 0.23s;
  position: relative;
}
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 7px);
  background: #bfa16a;
}
.burger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.7);
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -9px);
  background: #bfa16a;
}
.mobile-nav {
  display: none;
  position: fixed; top: 0; right: 0; left: 0;
  background: rgba(17,28,38,0.97);
  z-index: 19;
  flex-direction: column;
  align-items: center;
  padding: 70px 0 30px 0;
  gap: 18px;
  transition: all 0.23s;
}
.mobile-nav.active { display: flex; animation: fadeIn 0.33s; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-30px);}
  to   { opacity: 1; transform: none;}
}
.mobile-nav .nav-link, .mobile-nav .lang-btn {
  font-size: 19px;
  padding: 12px 20px;
}
.mobile-nav .lang-switch {
  margin-top: 12px;
  gap: 12px;
  display: flex;
}
.mobile-nav-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: #bfa16a;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.mobile-nav-close:hover {
  opacity: 1;
}

/* Основные секции */
main {
  z-index: 3;
  position: relative;
  padding: 0 20px;
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
}
section {
  margin-bottom: 32px;
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 28px;
  color: #e0e3e8;
  letter-spacing: 2px;
}
.hero {
  min-height: 64vh;
  padding: 60px 0 20px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 0 auto;
}
.headline {
  font-size: 35px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: 1.5px;
  color: #eaffff;
}
.desc {
  font-size: 20px;
  margin-bottom: 33px;
  max-width: 600px;
  color: #cbefff;
  opacity: 0.95;
  line-height: 1.7;
}
.cta-btn, .theme-switcher-btn {
  background: linear-gradient(90deg, #3a6ea5 0%, #bfc7d5 100%);
  color: #232946;
  border: none;
  border-radius: 6px;
  padding: 0.75em 2em;
  font-weight: 600;
  box-shadow: 0 2px 8px 0 #bfc7d533;
  transition: 
    background 0.23s, 
    color 0.18s, 
    box-shadow 0.23s, 
    transform 0.18s;
    cursor: pointer;
}

.cta-btn#popup-form-submit-btn{
  padding: 1em 4em;
}


.cta-btn:hover, .theme-switcher-btn:hover {
  background: linear-gradient(90deg, #bfc7d5 0%, #3a6ea5 100%);
  color: #232946;
  box-shadow: 0 0 12px 2px #bfc7d577, 0 2px 8px #10131a22;
  transform: scale(1.03);
  outline: 1.5px solid #bfc7d5;
}

/* Стеклянные блоки и карточки */
.glassy-block {
  background: rgba(24,28,36,0.3);
  border-radius: 22px;
  box-shadow: 0 4px 36px #10131a0a, 0 1px 2px #10131a13;
  backdrop-filter: blur(7px);
  padding: 28px 20px 20px 20px;
  margin: 0 auto 32px auto;
  max-width: 1200px;
  width: 100%;
}
.about-text, .philosophy-text {
  font-size: 18px;
  color: #bfc7d5;
  margin-bottom: 7px;
  line-height: 1.7;
}
.advantages-section {
  margin-bottom: 36px;
}
.advantages-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 0;
  width: 100%;
}
.advantage-card {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 220px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  background: rgba(24, 28, 36, 0.3);
  border-radius: 12px;
  padding: 20px 14px 14px 14px;
  color: #e0e3e8;
  box-shadow: 0 2px 18px #10131a12;
  backdrop-filter: blur(4px);
  margin: 0 4px 18px 4px;
  text-align: center;
  justify-content: center;
}
.advantage-card-icon {
  font-size: 26px;
  margin-bottom: 12px;
  color: #25f4ee;
}
.advantage-card-title {
  font-size: 19px;
  color: #bfc7d5;
  font-weight: 600;
  margin-bottom: 6px;
}
.advantage-card-text {
  font-size: 15px;
  color: #bfc7d5;
  opacity: 0.88;
}
.philosophy-quote {
  font-size: 14px;
  color: #bfa16a;
  margin: 12px 0 0 0;
  border-left: 3px solid #bfa16a99;
  padding-left: 11px;
  font-style: italic;
  opacity: 0.92;
}

/* Steps and testimonials */
.steps-section {
  margin-bottom: 36px;
}
.steps-list {
  counter-reset: step;
  padding-left: 0;
  list-style: none;
  max-width: 700px;
  margin: 0 auto 0 auto;
}
.steps-list li {
  position: relative;
  margin-bottom: 18px;
  font-size: 18px;
  color: #eafcff;
  padding-left: 35px;
  line-height: 1.5;
}
.steps-list li:before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  background: linear-gradient(140deg, #25f4ee 10%, #17a6fc 90%);
  color: #132135;
  border-radius: 50%;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  font-weight: bold;
  font-size: 12px;
}
.testimonials-section {
  margin-bottom: 36px;
}
.testimonials-list {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 0;
}
.testimonial-card {
  background: rgba(24, 28, 36, 0.3);
  color: #e0e3e8;
  border-radius: 10px;
  box-shadow: 0 2px 13px #12f4ee13;
  padding: 24px 18px;
  margin-bottom: 7px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  transition: box-shadow 0.3s;
}
.testimonial-text {
  color: #e0e3e8;
  font-size: 18px;
  margin-bottom: 12px;
}
.testimonial-author {
  color: #bfa16a;
  font-size: 13px;
  font-style: italic;
  opacity: 0.85;
}
.author-name {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: #bfa16a;
  margin-bottom: 2px;
}
.author-joined {
  display: block;
  font-style: italic;
  color: #bfc7d5;
  font-size: 13px;
  opacity: 0.8;
  margin-top: 1px;
}

/* Форма */
.consultation-section {
  margin: 36px auto 24px auto;
  padding: 24px 18px 18px 18px;
  max-width: 600px;
}
.consultation-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: center;
  margin-bottom: 0;
}
.form-row{
  width: 70%;
}
.form-row input[type="text"], .form-row input[type="tel"] {
  width: 100%;
  padding: 9px 9px;
  border-radius: 7px;
  border: 1.5px solid #4a90a4;
  background: rgba(17,25,34,0.38);
  color: #e7e2d9;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.form-row input:focus {
  outline: none;
  border-color: #3a6ea5;
  background: #232325;
}
.form-success { color: #53f5b9; font-size: 14px; margin-top: 9px; text-align: center; padding: 9px 0; }

/* Footer */
footer {
  margin-top: 44px;
  background: rgba(25,37,46,0.28);
  border-top: 1px solid #232b37;
  color: #bfc7d5;
  padding: 18px 0 10px 0;
  font-size: 13px;
  text-align: center;
}
.footer-links {
  margin-top: 10px;
  opacity: 0.6;
  font-size: 12px;
}
.footer-links a {
  color: #3a6ea5;
  text-decoration: none;
  margin-right: 8px;
}
.footer-links a:hover {
  text-decoration: underline;
}

/* Мобильный стиль */
@media (max-width: 800px) {
  header, main, .hero, .glassy-block { 
    min-height: auto;
    padding-top: 100px;
  }


  .section-title {
    font-size: 22px;
    margin-top: 18px;
    margin-bottom: 14px;
    text-align: center;
  }
  .logo {
    font-size: 18px;
    padding: 0;
    text-align: center;
    width: 100%;
  }
  .headline {
    font-size: 22px;
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .desc {
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .about-text, .philosophy-text, .advantage-card-text {
    font-size: 15px;
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .glassy-block {
    padding: 14px 6px 10px 6px;
    margin-bottom: 22px;
    border-radius: 18px;
    box-shadow: 0 4px 24px #10131a22;
    text-align: center;
  }
  .advantage-card {
    min-width: 140px;
    max-width: 100%;
    width: 100%;
    min-height: 180px;
    padding: 10px 5px 7px 5px;
    font-size: 14px;
    margin: 0 2px 10px 2px;
    border-radius: 14px;
    box-shadow: 0 2px 12px #10131a22;
    text-align: center;
    align-items: center;

  }
  .advantage-card-title {
    font-size: 15px;
    text-align: center;
    width: 100%;
  }
  .steps-list li {
    font-size: 15px;
    padding-left: 28px;
    text-align: center;
  }
  .testimonial-card {
    font-size: 14px;
    padding: 14px 8px;
    margin-bottom: 8px;
    border-radius: 14px;
    box-shadow: 0 2px 12px #10131a22;
    text-align: center;
    align-items: center;
  }
  .cta-btn {
    font-size: 16px;
    padding: 14px 0;
    width: 100%;
    margin: 12px 0 0 0;
    border-radius: 14px;
    box-shadow: 0 2px 12px #10131a22;
    text-align: center;
  }


  
  .form-row {
    width: 100%;
    margin-bottom: 7px;
  }
  .consultation-section {
    padding: 14px 2px 10px 2px;
    margin-bottom: 18px;
    border-radius: 18px;
    box-shadow: 0 4px 24px #10131a22;
    text-align: center;
  }
  footer {
    text-align: center;
    font-size: 13px;
    padding: 18px 0 10px 0;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 -2px 12px #10131a22;
  }
  .footer-links {
    text-align: center;
    width: 100%;
    margin-top: 10px;
    opacity: 0.7;
    font-size: 12px;
  }
  .mobile-nav {
    display: none;
    position: fixed; top: 44.8px; left: 0; right: 0;
    background: rgba(24,28,36,0.98);
    z-index: 19;
    flex-direction: column;
    align-items: center;
    padding: 20px 0 30px 0;
    gap:0;
    transition: all 0.23s;
    box-shadow: 0 8px 32px #10131a33;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    overflow-y: auto;
  }

  header{
    position: fixed;
    top:0;
    width: 90%;
  }

  .mobile-nav.active { display: flex; animation: fadeIn 0.33s; }
  .mobile-nav .nav-link, .mobile-nav .lang-btn, .mobile-nav .theme-switcher-btn {
    font-size: 12px;
    padding: 18px 24px;
    width: 90vw;
    max-width: 340px;
    text-align: center;
    margin: 0 auto 10px auto;
    border-radius: 14px;
    box-shadow: 0 2px 12px #10131a22;
    background: rgba(34,55,61,0.13);
    color: #e0e3e8;
  }

  .mobile-nav .lang-btn{
    width: 50%;
  }

  .mobile-nav .nav-link:active, .mobile-nav .lang-btn:active, .mobile-nav .theme-switcher-btn:active {
    background: #23232A;
    color: #bfa16a;
  }


.advantages-section{
margin-bottom: 0;
}

  .mobile-nav .lang-switch {
    margin-top: 12px;
    gap: 12px;
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  .mobile-nav .theme-switcher-btn {
    margin-bottom: 10px;
  }
  nav#main-nav { display: none; }
  .burger {
    display: flex !important;
    position: static;
    background: none;
    box-shadow: none;
    margin-left: auto;
    z-index: 1000;
  }
  body, html {
    overflow-x: hidden;
  }
}

@media (max-width: 500px) {
  header {
    padding: 6px 20px;
  }

  section{
  width: 80%!important;
  }

  .logo {
    font-size: 13px;
  }
  .section-title {
    font-size: 0.98rem;
    margin-top: 18px;
    margin-bottom: 32px;
  }


advantages-section{
  margin-bottom: 9px;
  }



  .headline {
    font-size: 0.98rem;
  }

.advantages-section{
margin-bottom: 14px;}

.steps-section{
  padding: 8px 20px;
}

.desc{
font-size: 0.98rem;
}

  .about-text, .philosophy-text, .advantage-card-text {
    font-size: 0.98rem;
  }
  main {
    padding: 0 2px;
  }
  .glassy-block {
    padding: 8px 2px 7px 2px;
    margin-bottom: 32px;
    border-radius: 12px;
    padding: 10px;
  }

  

  .advantage-card {
    min-width: 90px;
    font-size: 9px;
    padding: 6px 2px 5px 2px;
    border-radius: 7px;
    width: 100%;
    min-height: 120px;
  }
  .advantage-card-title {
    font-size: 14px;
  }

.form-row input[type="text"], .form-row input[type="tel"]{
  width: 85%;
}

  .steps-list li {
    font-size: 13px;
    padding-left: 30px;
    text-align: left;
  }

/* .carousel-wrapper{
width: auto;
} */

  .testimonial-card {
    font-size: 9px;
    padding: 4px 2px;
    border-radius: 6px;
  }
  .cta-btn {
    font-size: 0.98rem;
    padding: 12px 9px;
    width: 100%;
    margin: 8px 0 0 0;
    border-radius: 7px;
  }
  .form-row {
    width: 100%;
  }
}

@media (min-width: 801px) {
  .section-offset-left {
    margin-left: 0;
    margin-right: auto;
    transform: translateX(-40px);
  }
  .section-offset-right {
    margin-left: auto;
    margin-right: 0;
    transform: translateX(40px);
  }
}

.consultation-section{
  padding: 20px;

}

.theme-switcher-btn {
  background: none;
  border: 1px solid #bfc7d5;
  color: #bfc7d5;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  font-weight: 500;
  border-radius: 7px;
  padding: 7px 14px;
  margin-left: 10px;
  opacity: 0.8;
  transition: background .2s, color .2s, border-color .2s, opacity .22s;
}
.theme-switcher-btn:hover {
  background: #232b3733;
  color: #3a6ea5;
  border-color: #3a6ea5;
  opacity: 1;
}

/* ===== Theme: Blue Premium ===== */
.theme-blue-premium {
  background: #181c24;
  color: #e0e3e8;
}
.theme-blue-premium .glassy-block { background: rgba(24,28,36,0.85); }
.theme-blue-premium .about-text, .theme-blue-premium .philosophy-text, .theme-blue-premium .advantage-card-title, .theme-blue-premium .advantage-card-text, .theme-blue-premium .footer-links, .theme-blue-premium footer { color: #bfc7d5; }
.theme-blue-premium .nav-link, .theme-blue-premium .lang-btn { color: #bfc7d5; }
.theme-blue-premium .nav-link.active, .theme-blue-premium .nav-link:hover, .theme-blue-premium .lang-btn.active, .theme-blue-premium .lang-btn:hover { color: #4a90a4; background: #4a90a41a; }
.theme-blue-premium .cta-btn { background: #232b37; color: #e0e3e8; border: 1px solid #4a90a4; }
.theme-blue-premium .cta-btn:hover { background: #232b37; color: #4a90a4; box-shadow: 0 4px 18px #4a90a433; }
.theme-blue-premium .footer-links a { color: #4a90a4; }

/* ===== Theme: Graphite Premium ===== */
.theme-graphite-premium {
  background: #1a1d23;
  color: #d6dae3;
}
.theme-graphite-premium .glassy-block { background: rgba(26,29,35,0.88); }
.theme-graphite-premium .about-text, .theme-graphite-premium .philosophy-text, .theme-graphite-premium .advantage-card-title, .theme-graphite-premium .advantage-card-text, .theme-graphite-premium .footer-links, .theme-graphite-premium footer { color: #aeb4be; }
.theme-graphite-premium .nav-link, .theme-graphite-premium .lang-btn { color: #aeb4be; }
.theme-graphite-premium .nav-link.active, .theme-graphite-premium .nav-link:hover, .theme-graphite-premium .lang-btn.active, .theme-graphite-premium .lang-btn:hover { color: #5c7fa3; background: #5c7fa31a; }
.theme-graphite-premium .cta-btn { background: #232b37; color: #d6dae3; border: 1px solid #5c7fa3; }
.theme-graphite-premium .cta-btn:hover { background: #232b37; color: #5c7fa3; box-shadow: 0 4px 18px #5c7fa333; }
.theme-graphite-premium .footer-links a { color: #5c7fa3; }

/* ===== Theme: Deep Blue Premium ===== */
.theme-deepblue-premium {
  background: #16202a;
  color: #e0e3e8;
}
.theme-deepblue-premium .glassy-block { background: rgba(22,32,38,0.88); }
.theme-deepblue-premium .about-text, .theme-deepblue-premium .philosophy-text, .theme-deepblue-premium .advantage-card-title, .theme-deepblue-premium .advantage-card-text, .theme-deepblue-premium .footer-links, .theme-deepblue-premium footer { color: #bfc7d5; }
.theme-deepblue-premium .nav-link, .theme-deepblue-premium .lang-btn { color: #bfc7d5; }
.theme-deepblue-premium .nav-link.active, .theme-deepblue-premium .nav-link:hover, .theme-deepblue-premium .lang-btn.active, .theme-deepblue-premium .lang-btn:hover { color: #3a4e6a; background: #3a4e6a1a; }
.theme-deepblue-premium .cta-btn { background: #232b37; color: #e0e3e8; border: 1px solid #3a4e6a; }
.theme-deepblue-premium .cta-btn:hover { background: #232b37; color: #3a4e6a; box-shadow: 0 4px 18px #3a4e6a33; }
.theme-deepblue-premium .footer-links a { color: #3a4e6a; }

/* ===== Theme: Old Money (тёмно-коричневый, бронза) ===== */
.theme-oldmoney {
  background: #23201a;
  color: #e7e2d9;
}
.theme-oldmoney .glassy-block { background: rgba(35,32,26,0.92); }
.theme-oldmoney .about-text, .theme-oldmoney .philosophy-text, .theme-oldmoney .advantage-card-title, .theme-oldmoney .advantage-card-text, .theme-oldmoney .footer-links, .theme-oldmoney footer { color: #b8b2a7; }
.theme-oldmoney .nav-link, .theme-oldmoney .lang-btn { color: #b8b2a7; }
.theme-oldmoney .nav-link.active, .theme-oldmoney .nav-link:hover, .theme-oldmoney .lang-btn.active, .theme-oldmoney .lang-btn:hover { color: #bfa16a; background: #bfa16a1a; }
.theme-oldmoney .cta-btn { background: none; color: #e7e2d9; border: 1.5px solid #bfa16a; }
.theme-oldmoney .cta-btn:hover { background: #bfa16a22; color: #bfa16a; box-shadow: 0 4px 18px #bfa16a33; }
.theme-oldmoney .footer-links a { color: #bfa16a; }

/* ===== Theme: Classic Private (тёмно-серый, бордовый/золото) ===== */
.theme-classicprivate {
  background: #222325;
  color: #e3ded6;
}
.theme-classicprivate .glassy-block { background: rgba(34,35,37,0.93); }
.theme-classicprivate .about-text, .theme-classicprivate .philosophy-text, .theme-classicprivate .advantage-card-title, .theme-classicprivate .advantage-card-text, .theme-classicprivate .footer-links, .theme-classicprivate footer { color: #b8b2a7; }
.theme-classicprivate .nav-link, .theme-classicprivate .lang-btn { color: #b8b2a7; }
.theme-classicprivate .nav-link.active, .theme-classicprivate .nav-link:hover, .theme-classicprivate .lang-btn.active, .theme-classicprivate .lang-btn:hover { color: #a67c52; background: #a67c521a; }
.theme-classicprivate .cta-btn { background: none; color: #e3ded6; border: 1.5px solid #a67c52; }
.theme-classicprivate .cta-btn:hover { background: #a67c5222; color: #a67c52; box-shadow: 0 4px 18px #a67c5233; }
.theme-classicprivate .footer-links a { color: #a67c52; }

.theme-oldmoney .form-row input[type="text"], .theme-oldmoney .form-row input[type="tel"] {
  border-color: #bfa16a;
  color: #e7e2d9;
  background: rgba(35,32,26,0.38);
}
.theme-oldmoney .form-row input:focus {
  border-color: #bfa16a;
  background: #2a2620;
}
.theme-classicprivate .form-row input[type="text"], .theme-classicprivate .form-row input[type="tel"] {
  border-color: #a67c52;
  color: #e3ded6;
  background: rgba(34,35,37,0.38);
}
.theme-classicprivate .form-row input:focus {
  border-color: #a67c52;
  background: #222325;
}

.carousel-btn {
  background: none;
  border: 1.5px solid #bfa16a;
  color: #bfa16a;
  font-size: 22px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 4px;
}
.carousel-btn:hover {
  background: #bfa16a22;
  color: #fff;
  border-color: #bfa16a;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 0;
}
.carousel-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3a6ea555;
  border: 1.5px solid #3a6ea5;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 0 0 #3a6ea500;
}
.carousel-dot.active {
  background: #3a6ea5;
  border-color: #3a6ea5;
  box-shadow: 0 0 0 2px #3a6ea533;
}
#testimonials-carousel {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  position: relative;
  transition: transform 0.5s cubic-bezier(.4,1,.7,1);
  will-change: transform;
}
.testimonial-card {
  flex: 0 0 320px;
  min-width: 320px;
  max-width: 320px;
  padding: 24px 18px;
  border-radius: 16px;
  box-shadow: 0 4px 16px #0002;
  color: #e0e3e8;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  flex-shrink: 0;
  margin-bottom: 7px;
  min-height: 140px;
}
.testimonial-text {
  color: #e0e3e8;
  font-size: 18px;
  margin-bottom: 12px;
}
.testimonial-author {
  color: #bfa16a;
  font-size: 13px;
  font-style: italic;
  opacity: 0.85;
}
@media (max-width: 600px) {
  #testimonials-carousel {
    max-width: 100%;
  }
  .testimonial-card {
    padding: 14px 6px;
    min-height: 120px;
    font-size: 15px;
  }
}

.carousel-wrapper {
  width: calc(2 * 360px + 24px);
  max-width: 100vw;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
@media (max-width: 700px) {
  .testimonials-section {
    width: 100vw !important;
    margin-left: 0;
    transform: none;
    padding: 0;
    box-sizing: border-box;
  }
  .fade-left{
    display: none;
  }

  .carousel-wrapper {
    width: 100vw;
    max-width: 100vw;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0;
  }
  #testimonials-carousel {
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    gap: 0;
  }
  .testimonial-card {
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    margin: 0;
    padding: 15px 10px;
    justify-content: center;
    align-items: center;
  }
  .testimonial-text {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    font-size:0.98rem;
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.55s cubic-bezier(.4,1,.7,1), transform 0.55s cubic-bezier(.4,1,.7,1);
  will-change: opacity, transform;
}
.fade-in-up.visible {
  opacity: 1;
  transform: none;
}

.vanta-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.advantage-card.team-card {
  background: #191b1f;
  border-radius: 20px;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.13);
  width: 260px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.2s box-shadow, 0.2s border-color, 0.2s transform;
}

.team-card-photo {
  width: 220px;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.2rem;
  border: none;
  box-shadow: 0 0 15px rgba(0,0,0,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card-photo img {
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.team-card-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: #fff;
}

.team-card-role {
  font-size: 1rem;
  color: #bfc7d5;
  margin-bottom: 0.7rem;
}

.team-card-desc {
  font-size: 0.98rem;
  color: #e0e0e0;
  margin-top: 0.7rem;
  text-align: center;
  line-height: 1.5;
}

.advantages-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 2.5rem;
  justify-content: center;
  margin-top: 2rem;
}

@media (max-width: 1200px) {
  .advantages-list {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .advantage-card.team-card {
    width: 200px;
    min-height: 350px;
    padding: 1.2rem 0.7rem 1rem 0.7rem;
  }
  .team-card-photo {
    width: 150px;
    height: 180px;
  }
}

@media (max-width: 900px) {
  .advantages-list {
    flex-wrap: wrap;
    gap: 1.2rem;
  }
  .advantage-card.team-card {
    width: 45vw;
    min-width: 150px;
    max-width: 320px;
  }
  .team-card-photo {
    width: 100%;
    height: 150px;
  }
}

@media (max-width: 600px) {
  .advantages-list {
    flex-direction: column;
    align-items: center !important;
    gap: 1.2rem;
    width: 100%;
    padding: 0;
  }
  .advantage-card.team-card {
    width: 100%;
    max-width: 320px;
    min-width: 0;
    margin: 0 auto;
    padding: 0;
    min-height: 450px;
  }
  .team-card-photo {
    height: 280px;
  }
  .advantages-section {
    text-align: center;
    padding-left: 0;
    padding-right: 0;
  }

  .team-card-photo img{
    position: relative;
    top: 100px;
  }

  .team-card-desc{
    padding: 0 15px 15px 15px;
  }

  .team-photo-group {
    justify-content: center;
    width: 100%;
  }
  .section-title {
    text-align: center;
    width: 100%;
  }



  
}

.team-photo-group {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.team-photo-main {
  max-width: 480px;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.18);
  border: 3px solid var(--accent-blue-transp, #233554);
}

/* ===== Features Section ===== */
.features-section {
  margin: 36px auto 36px auto;
  padding: 0;
  max-width: 1200px;
  width: 100%;
  background: none;
  box-shadow: none;
}
.features-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
  justify-content: space-around;
  align-items: stretch;
  margin: 0 auto;
  width: 100%;
}
.feature-card {
  background: rgba(24, 28, 36, 0.3);
  border-radius: 16px;
  box-shadow: 0 2px 18px #10131a12;
  padding: 22px 10px 22px 10px;
  color: #e0e3e8;
  min-width: 180px;
  max-width: 200px;
  min-height: 280px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
  overflow: visible;
}
.feature-card:hover {
  box-shadow: 0 4px 24px #25f4ee22, 0 2px 18px #10131a22;
  transform: translateY(-4px) scale(1.03);
}
.feature-icon {
  width: 100%;
  min-height: 170px;
  height: 170px;
  margin-bottom: 18px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.feature-icon img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.feature-title {
  font-size: 22px;
  color: #bfc7d5;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.feature-desc {
  font-size: 15px;
  color: #bfc7d5;
  opacity: 0.92;
  margin-bottom: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .features-section {
    text-align: center;
  }
  .features-list {
    align-items: center !important;
    justify-content: center !important;
  }
  .feature-card {
    margin: 0 auto;
  }
  .features-list {
    gap: 14px;
    flex-wrap: wrap;
  }
  .feature-card {
    min-width: 140px;
    max-width: 100%;
    padding: 12px 4px 12px 4px;
    font-size: 14px;
    min-height: 180px;
  }
  .feature-icon {
    height: 90px;
    min-height: 90px;
    margin-bottom: 10px;
  }
  .feature-icon img {
    width: 90px;
    height: 90px;
  }
  .feature-title {
    font-size: 15px;
    margin-bottom: 7px;
  }
  .feature-desc {
    font-size: 12px;
    flex: none;
  }
}
@media (max-width: 600px) {
  .features-section {
    text-align: center;
  }
  .features-list {
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column;
    gap: 10px;
  }
  .feature-card {
    margin: 0 auto;
    width: 100%;
    min-width: unset;
    max-width: unset;
    box-sizing: border-box;
    padding: 15px;
    justify-content: center;
  }
  .feature-icon {
    height: 50px;
    min-height: 50px;
    margin-bottom: 7px;
  }
  .feature-icon img {
    width: 50px;
    height: 50px;
  }
  .feature-title {
    font-size: 0.98rem;
    margin-bottom: 6px;
    
  }
  .feature-desc {
    font-size: 0.98rem;
  }
.consultation-desc{
  font-size:0.98rem;
}

}

/* ===== Timeline Horizontal (How We Work) ===== */
.timeline-horizontal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 36px 0 0 0;
  flex-wrap: nowrap;
  overflow-x: hidden;
  transition: overflow-x 0.3s;
  overflow-y: hidden;
  background: rgba(24, 28, 36, 0.3);
  padding: 20px 0;

}
.timeline-horizontal.animated {
  overflow-x: auto;
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 140px;
  max-width: 200px;
  margin: 0 0.5vw;
  z-index: 1;
  min-height: 190px;
  justify-content: center;
}
.timeline-circle {
  width: 48px;
  height: 48px;
  background: #3a6ea5;
  color: #232946;
  border-radius: 50%; 
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 22px;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px #10131a22;
  border: 2.5px solid #3a6ea5;
  position: relative;
  overflow: hidden;
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}
.timeline-circle .circle-num {
  position: relative;
  z-index: 2;
  transition: color 0.3s;
}
.timeline-circle::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 0%;
  background: rgba(24, 28, 36, 0.3);
  z-index: 1;
}
.timeline-circle.filling::after {
  animation: fillCircle 3s linear forwards;
}
@keyframes fillCircle {
  from { height: 0%; }
  to   { height: 100%; }
}
.timeline-circle.filling .circle-num {
  animation: colorNum 0.3s linear 3s forwards;
}
@keyframes colorNum {
  from { color: #232946; }
  to   { color: #e0e3e8; }
}
.timeline-circle.filling {
  border-color: #3a6ea5;
  background: #3a6ea5;
  transition: background 0.3s, border-color 0.3s;
}
.timeline-label {
  color: #e0e3e8;
  font-size: 17px;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
  margin-bottom: 0;
}
.timeline-line {
  flex: 1 1 60px;
  height: 4px;
  background: #3a6ea5;
  border-radius: 2px;
  margin: 0 0.5vw;
  min-width: 40px;
  max-width: 80px;
  opacity: 0.7;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.timeline-line::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 0%;
  height: 100%;
  background: rgba(24, 28, 36, 0.3);
  z-index: 1;
}
.timeline-line.filling::after {
  animation: fillLine 3s linear forwards;
}
@keyframes fillLine {
  from { width: 0%; }
  to   { width: 100%; }
}
.timeline-line.filling {
  opacity: 1;
  background: #3a6ea5;
  transition: background 0.3s;
}
.fade-in-timeline {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInTimeline 0.7s cubic-bezier(.4,1,.7,1) forwards;
}
@keyframes fadeInTimeline {
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 900px) {
  .timeline-horizontal {
    gap: 0;
    flex-wrap: wrap;
    margin: 18px 0 0 0;
  }
  .timeline-step {
    min-width: 100px;
    max-width: 140px;
    margin: 0 2vw;
    min-height: 190px;
  
  }
  .timeline-circle {
    width: 36px;
    height: 36px;
    font-size: 15px;
    margin-bottom: 8px;
  }
  .timeline-label {
    font-size: 13px;
  }
  .timeline-line {
    min-width: 20px;
    max-width: 40px;
    height: 3px;
  }
}
@media (max-width: 600px) {
  .timeline-horizontal {
    flex-wrap: wrap;
    gap: 0;
    margin: 10px 0 0 0;
  }
  .timeline-step {
    min-width: 70px;
    max-width: 100px;
    margin: 3vw 5vw;
    justify-content: flex-start;
  }
  .timeline-circle {
    width: 50px;
    height: 50px;
    font-size: 11px;
    margin-bottom: 4px;
  }
  .timeline-label {
    font-size: 0.98rem;
  }
  .timeline-line {
    min-width: 10px;
    max-width: 28px;
    height: 5px;
  }
}

/* ===== Gift Section (Special Offer) ===== */
.gift-section {
  background: linear-gradient(90deg, #181c24 60%, #232946 100%);
  padding: 48px 0 48px 0;
  margin: 0 auto 36px auto;
  max-width: 1200px;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 4px 36px #10131a22, 0 1px 2px #10131a13;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gift-content {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
  gap: 32px;
}
.gift-left {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 320px;
  max-width: 480px;
  padding: 0 24px;
}
.gift-title {
  font-size: 2.1rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #ffe14a;
  margin-bottom: 18px;
  letter-spacing: 1.5px;
}
.gift-desc {
  font-size: 1.15rem;
  color: #e0e3e8;
  margin-bottom: 28px;
  opacity: 0.93;
}
.gift-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin-bottom: 10px;
}
.gift-form input[type="text"], .gift-form input[type="tel"] {
  background: rgba(24,28,36,0.7);
  border: 1.5px solid #3a6ea5;
  border-radius: 8px;
  padding: 13px 16px;
  color: #e0e3e8;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}
.gift-form input:focus {
  border-color: #ffe14a;
  box-shadow: 0 0 0 2px #ffe14a33;
}
.gift-btn {
  background: linear-gradient(90deg, #ffe14a 0%, #bfc7d5 100%);
  color: #232946;
  border: none;
  border-radius: 8px;
  padding: 0.9em 2.2em;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 2px 12px 0 #ffe14a33;
  transition: background 0.23s, color 0.18s, box-shadow 0.23s, transform 0.18s;
  cursor: pointer;
  margin-top: 6px;
}
.gift-btn:hover {
  background: linear-gradient(90deg, #bfc7d5 0%, #ffe14a 100%);
  color: #232946;
  box-shadow: 0 0 16px 2px #ffe14a77, 0 2px 8px #10131a22;
  transform: scale(1.04);
  outline: 1.5px solid #ffe14a;
}
.gift-form-success {
  color: #53f5b9;
  font-size: 15px;
  margin-top: 8px;
  text-align: left;
  padding: 7px 0;
}
.gift-right {
  flex: 1 1 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  max-width: 420px;
  padding: 0 24px;
}
.gift-book-3d {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  filter: drop-shadow(0 8px 32px #ffe14a22);
}
.gift-book-3d svg {
  width: 100%;

  height: auto;
  max-width: 260px;
  display: block;
}
.gift-book-img {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 32px #ffe14a22, 0 2px 12px #10131a22;
  object-fit: contain;
}
@media (max-width: 900px) {
  .gift-content {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .gift-left, .gift-right {
    max-width: 100%;
    min-width: 0;
    padding: 0 8vw;
  }
  .gift-section {
    padding: 32px 0 32px 0;
  }
}
@media (max-width: 600px) {
  .gift-section {
    padding: 18px 0 18px 0;
    border-radius: 12px;
  }
  .gift-content {
    flex-direction: column;
    gap: 18px;
    padding: 0;
  }
  .gift-left, .gift-right {
    padding: 0 2vw;
  }
  .gift-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  .gift-desc {
    font-size: 0.98rem;
    margin-bottom: 16px;
  }
  .gift-book-3d svg {
    max-width: 160px;
  }
}

/* --- Consultation Section Redesign (ширина и отступы) --- */
.consultation-section {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 32px auto;
  padding: 28px 20px 20px 20px;
  border-radius: 22px;
  box-shadow: 0 4px 36px #10131a0a, 0 1px 2px #10131a13;
  background: rgba(24,28,36,0.3);
  backdrop-filter: blur(7px);
}
@media (max-width: 800px) {
  .consultation-section {
    padding: 14px 6px 10px 6px;
    margin-bottom: 22px;
    border-radius: 18px;
    box-shadow: 0 4px 24px #10131a22;
    text-align: center;
  }
}
@media (max-width: 500px) {
  .consultation-section {
    width: 80%!important;
    padding: 8px 2px 7px 2px;
    margin-bottom: 32px;
    border-radius: 12px;
  }
}
.consultation-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 0px 48px 40px 48px;
}
.consultation-texts {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.consultation-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffe14a;
  letter-spacing: 0.01em;
  margin-bottom: 0.2em;
}
.consultation-desc {
  font-size: 1.18rem;
  color: #e0e6f6;
  margin-bottom: 0.5em;
}
.consultation-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 8px;
}
.consultation-form input[type="text"], .consultation-form input[type="tel"] {
  background: rgba(24,28,36,0.7);
  border: 1.5px solid #3a6ea5;
  border-radius: 8px;
  padding: 13px 16px;
  color: #e0e3e8;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}
.consultation-form input:focus {
  border-color: #ffe14a;
  box-shadow: 0 0 0 2px #ffe14a33;
}

.form-success {
  color: #53f5b9;
  font-size: 1.08rem;
  margin-top: 10px;
  display: none;
  width: 100%;
}
.consultation-book-img {
  flex: 0 0 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.consultation-book-img img {
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(0,40,80,0.18);
  padding: 12px;
}
@media (max-width: 900px) {
  .consultation-content {
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 0px 12px 28px 12px;
  }
  .consultation-book-img {
    margin-top: 12px;
    justify-content: center;
    width: 100%;
  }
  .consultation-book-img img {
    max-width: 220px;
    padding: 8px;
  }
  .consultation-title {
    font-size: 1.5rem;
  }
}

.consultation-special {
  font-size: 2rem;
  font-weight: 700;
  color: #ffe14a;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .consultation-special {
    font-size: 1.2rem;
    margin-bottom: 7px;
    width: 100%;
  }
}

.team-photo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  margin-bottom: 24px;
}
.team-photo-side-text {
  flex: 0 1 340px;
  min-width: 180px;
  max-width: 420px;
  color: #e0e3e8;
  font-size: 1.12rem;
  background: rgba(24,28,36,0.18);
  border-radius: 14px;
  box-shadow: 0 2px 12px #10131a13;
  padding: 22px 18px;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .team-photo-row {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .team-photo-side-text {
    max-width: 98vw;
    width: 100%;
    font-size: 0.98rem;
    padding: 14px;
    margin-top: 0;
    display: flex;
    align-items: center;
}
.timeline-horizontal{
      background: rgba(24, 28, 36, 0.6);
}

}

/* ===== Popup Modal ===== */
#site-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24,28,36,0.65);
  z-index: 10001;
  display: none;
}
#site-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10002;
  background: rgba(24, 28, 36, 0.9);
  border-radius: 18px;
  box-shadow: 0 8px 48px #10131a55, 0 1.5px 8px #10131a22;
  max-width: 95vw;
  width: 370px;
  padding: 32px 24px 28px 24px;
  display: none;
  animation: popupFadeIn 0.33s;
}
@keyframes popupFadeIn {
  from { opacity: 0; transform: translate(-50%, -60%); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}
.popup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.popup-title {
  font-size: 1.35em;
  font-weight: 700;
  color: #e0e3e8;
  margin-bottom: 12px;
  text-align: center;
}
.popup-text {
  font-size: 0.98em;
  color: #bfc7d5;
  margin-bottom: 22px;
  text-align: center;
}
.popup-btn {
  margin-top: 6px;
  min-width: 180px;
  font-size: 1em;
}
.popup-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: #bfc7d5;
  font-size: 2em;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.18s;
  z-index: 1;
}
.popup-close:hover {
  opacity: 1;
}
@media (max-width: 500px) {
  #site-popup {
    width: 80vw;
    padding: 30px 7vw;
    min-width: unset;
  }
  .popup-title { font-size: 1.1em; }
  .popup-btn { min-width: 120px; font-size: 0.98em; }
}

.cta-btn-gift {
  background: linear-gradient(90deg, #ffe14a 0%, #bfc7d5 100%);
  color: #232946;
  border: none;
  border-radius: 8px;
  padding: 0.7em 1.7em;
  font-weight: 800;
  font-size: 1em;
  letter-spacing: 0.04em;
  box-shadow: 0 0 18px 2px #ffe14a55, 0 2px 12px #10131a33;
  transition: background 0.22s, color 0.18s, box-shadow 0.22s, transform 0.18s;
  cursor: pointer;
  text-shadow: 0 1px 4px #ffe14a33;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.cta-btn-gift::after {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  border-radius: 10px;
  box-shadow: 0 0 32px 8px #ffe14a22;
  opacity: 0.7;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cta-btn-gift:hover {
  background: linear-gradient(90deg, #bfc7d5 0%, #ffe14a 100%);
  color: #232946;
  box-shadow: 0 0 32px 6px #ffe14a99, 0 2px 12px #10131a33;
  transform: scale(1.06);
}
.cta-btn-gift:active {
  transform: scale(0.98);
  box-shadow: 0 0 12px 2px #ffe14a66, 0 2px 8px #10131a22;
}

.hero-mobile-logo {
  display: none;
}
@media (max-width: 800px) {
  .hero-mobile-logo {
    display: block;
    margin: 20px auto 18px auto;
    max-width: 120px;
    width: 60vw;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 4px 18px #10131a22;
    background: rgba(24,28,36,0.8);
    padding: 8px 0;
  }
.consultation-desc{
  font-size:0.98rem;
}
}

