:root{
  --ink:#0b1220;
  --midnight:#0f1b2d;
  --royal:#1d3b7a;
  --accent:#f05a28;
  --accent-soft:#ffb08f;
  --mint:#dff4f1;
  --sky:#e8f1ff;
  --sand:#f6f2ec;
  --line:rgba(15,27,45,0.12);
  --card:#ffffff;
  --shadow:0 25px 60px rgba(7,16,29,0.16);
  --shadow-soft:0 16px 35px rgba(12,24,42,0.12);
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:"Manrope", "Segoe UI", system-ui, sans-serif;
  color:var(--ink);
  background:linear-gradient(160deg, var(--sky) 0%, #ffffff 40%, var(--sand) 100%);
  line-height:1.6;
}

a{
  color:inherit;
}

img{
  max-width:100%;
  display:block;
}

.container{
  width:min(1200px, 92vw);
  margin:0 auto;
}

.section{
  padding:96px 0;
  position:relative;
}

.section-heading{
  font-family:"Playfair Display", "Times New Roman", serif;
  font-weight:600;
  font-size:clamp(28px, 3vw, 40px);
  margin:0 0 18px;
  color:var(--midnight);
  letter-spacing:0.3px;
}

.section-subtitle{
  margin:0;
  color:rgba(11,18,32,0.7);
  max-width:720px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 28px;
  border-radius:999px;
  font-weight:600;
  text-decoration:none;
  border:1px solid transparent;
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary{
  background:var(--accent);
  color:white;
  box-shadow:0 14px 30px rgba(240,90,40,0.25);
}

.btn-secondary{
  background:rgba(15,27,45,0.08);
  border-color:rgba(15,27,45,0.18);
  color:var(--midnight);
}

.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 40px rgba(12,24,42,0.18);
}

.navbar{
  position:sticky;
  top:0;
  z-index:30;
  backdrop-filter:blur(12px);
  background:rgba(255,255,255,0.9);
  border-bottom:1px solid rgba(15,27,45,0.08);
}

.navbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0;
}

.brand{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.brand h1{
  margin:0;
  font-size:22px;
  font-weight:700;
  letter-spacing:0.5px;
}

.brand span{
  font-size:12px;
  color:rgba(11,18,32,0.6);
  text-transform:uppercase;
  letter-spacing:1.8px;
}

.nav-links{
  display:flex;
  gap:24px;
  font-weight:600;
  color:rgba(11,18,32,0.8);
}

.nav-links a{
  text-decoration:none;
  position:relative;
}

.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  background:var(--accent);
  transition:width 0.2s ease;
}

.nav-links a:hover::after{
  width:100%;
}

.hero{
  padding:120px 0 80px;
  position:relative;
  overflow:hidden;
}

.hero-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:40px;
  align-items:center;
}

.hero h2{
  font-family:"Playfair Display", "Times New Roman", serif;
  font-size:clamp(34px, 4vw, 54px);
  margin:0 0 18px;
  color:var(--midnight);
}

.hero p{
  font-size:clamp(16px, 2vw, 20px);
  color:rgba(11,18,32,0.7);
  margin:0 0 28px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}

.hero-card{
  background:var(--card);
  border-radius:24px;
  padding:32px;
  box-shadow:var(--shadow);
  border:1px solid rgba(15,27,45,0.08);
}

.hero-card h3{
  margin:0 0 14px;
  color:var(--midnight);
  font-size:20px;
}

.hero-card ul{
  margin:0;
  padding-left:18px;
  color:rgba(11,18,32,0.7);
}

.hero-glow{
  position:absolute;
  width:360px;
  height:360px;
  background:radial-gradient(circle, rgba(240,90,40,0.3), rgba(240,90,40,0));
  top:-120px;
  right:-80px;
  filter:blur(10px);
  pointer-events:none;
}

.trust-strip{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
  gap:20px;
  margin-top:32px;
}

.trust-item{
  background:rgba(255,255,255,0.7);
  border-radius:16px;
  padding:16px 20px;
  border:1px solid rgba(15,27,45,0.08);
  font-weight:600;
  color:rgba(11,18,32,0.7);
}

.stats{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
  gap:24px;
}

.stat-card{
  background:var(--card);
  border-radius:20px;
  padding:26px 24px;
  box-shadow:var(--shadow-soft);
  border:1px solid rgba(15,27,45,0.08);
}

.stat-card h3{
  margin:0 0 8px;
  font-size:32px;
  color:var(--royal);
}

.stat-card p{
  margin:0;
  color:rgba(11,18,32,0.7);
}

.service-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:24px;
  margin-top:40px;
}

.service-card{
  background:var(--card);
  border-radius:22px;
  padding:28px;
  border:1px solid rgba(15,27,45,0.08);
  box-shadow:var(--shadow-soft);
  display:flex;
  flex-direction:column;
  gap:16px;
}

.service-card h3{
  margin:0;
  font-size:20px;
  color:var(--midnight);
}

.service-card p{
  margin:0;
  color:rgba(11,18,32,0.7);
}

.service-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-weight:600;
  color:var(--royal);
}

.service-card ul{
  margin:0;
  padding-left:18px;
  color:rgba(11,18,32,0.7);
}

.service-card .btn{
  margin-top:auto;
}

.process-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:20px;
  margin-top:32px;
}

.process-step{
  padding:22px 24px;
  background:rgba(255,255,255,0.8);
  border-radius:18px;
  border:1px solid rgba(15,27,45,0.08);
}

.process-step h4{
  margin:0 0 8px;
  font-size:18px;
  color:var(--midnight);
}

.process-step p{
  margin:0;
  color:rgba(11,18,32,0.7);
}

.testimonials{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:24px;
  margin-top:32px;
}

.testimonial-card{
  background:var(--card);
  border-radius:20px;
  padding:24px;
  border:1px solid rgba(15,27,45,0.08);
  box-shadow:var(--shadow-soft);
}

.testimonial-card p{
  margin:0 0 16px;
  color:rgba(11,18,32,0.75);
}

.testimonial-card span{
  font-weight:600;
  color:var(--royal);
}

.cta-band{
  background:linear-gradient(135deg, rgba(29,59,122,0.95), rgba(15,27,45,0.95));
  color:white;
  border-radius:26px;
  padding:40px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  box-shadow:var(--shadow);
}

.cta-band h3{
  margin:0;
  font-size:26px;
}

.cta-band p{
  margin:8px 0 0;
  color:rgba(255,255,255,0.75);
}

.faq{
  margin-top:32px;
  display:grid;
  gap:12px;
}

.faq-item{
  background:var(--card);
  border-radius:18px;
  border:1px solid rgba(15,27,45,0.08);
  overflow:hidden;
}

.faq-question{
  width:100%;
  text-align:left;
  background:none;
  border:none;
  padding:18px 22px;
  font-size:16px;
  font-weight:600;
  color:var(--midnight);
  display:flex;
  justify-content:space-between;
  align-items:center;
  cursor:pointer;
}

.faq-answer{
  display:none;
  padding:0 22px 18px;
  color:rgba(11,18,32,0.7);
}

.contact-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:24px;
  margin-top:24px;
}

.contact-card{
  background:var(--card);
  border-radius:18px;
  border:1px solid rgba(15,27,45,0.08);
  padding:20px 22px;
}

footer{
  background:var(--midnight);
  color:white;
  padding:40px 0;
}

footer .footer-inner{
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  align-items:center;
  justify-content:space-between;
}

footer p{
  margin:0;
  color:rgba(255,255,255,0.7);
}

.telegram-float{
  position:fixed;
  bottom:24px;
  right:24px;
  background:var(--accent);
  color:white;
  padding:14px 20px;
  border-radius:999px;
  font-weight:600;
  text-decoration:none;
  box-shadow:0 18px 35px rgba(7,16,29,0.25);
  z-index:50;
}

.reveal{
  opacity:0;
  transform:translateY(30px);
  transition:opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}

/* Registration page */
.register-page{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:80px 0;
}

.register-card{
  width:min(520px, 92vw);
  background:var(--card);
  border-radius:26px;
  padding:36px;
  box-shadow:var(--shadow);
  border:1px solid rgba(15,27,45,0.1);
}

.register-card h2{
  margin:0 0 8px;
  font-family:"Playfair Display", "Times New Roman", serif;
  color:var(--midnight);
}

.register-card p{
  margin:0 0 24px;
  color:rgba(11,18,32,0.7);
}

.form-grid{
  display:grid;
  gap:14px;
}

.form-grid label{
  font-size:13px;
  font-weight:600;
  color:rgba(11,18,32,0.7);
}

.form-grid input,
.form-grid select,
.form-grid textarea{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(15,27,45,0.15);
  font-family:"Manrope", "Segoe UI", system-ui, sans-serif;
  font-size:14px;
}

.form-note{
  font-size:12px;
  color:rgba(11,18,32,0.6);
  margin-top:10px;
}

@media (max-width:768px){
  .navbar-inner{
    flex-direction:column;
    gap:16px;
  }
  .nav-links{
    flex-wrap:wrap;
    justify-content:center;
  }
  .cta-band{
    padding:32px 26px;
  }
}
