:root{
  --bg0:#f9fafb;
  --bg1:#ffffff;
  --bg2:#f3f4f6;
  --card:#ffffff;
  --card2:#f9fafb;

  --text:#111827;
  --muted:#6b7280;
  --muted2:#9ca3af;

  --border:rgba(0,0,0,.08);
  --border2:rgba(0,0,0,.05);

  --accent:#b45309;
  --accent2:#92400e;
  --accentSoft:rgba(180,83,9,.08);

  --shadow:0 24px 60px rgba(0,0,0,.05);
  --shadow2:0 18px 45px rgba(0,0,0,.04);

  --radius:18px;
  --radius2:14px;
}

*{margin:0;padding:0;box-sizing:border-box}
html,body{height:100%}

body{
  font-family: Manrope, "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.6;
  color:var(--text);
  overflow-x:hidden;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(180,83,9,.04), transparent 60%),
    radial-gradient(900px 500px at 85% 0%, rgba(59,130,246,.03), transparent 55%),
    radial-gradient(1000px 700px at 50% 110%, rgba(180,83,9,.04), transparent 55%),
    linear-gradient(180deg, var(--bg1), var(--bg0) 55%, #f5f7fa 100%);
}

h1,h2,h3,h4,h5,h6{
  font-family: Manrope, Montserrat, system-ui, sans-serif;
  font-weight:800;
  letter-spacing:.2px;
}

a{color:inherit;text-decoration:none}
.container{max-width:1200px;margin:0 auto;padding:0 20px}

/* TOP BAR */
.top-bar{
  background:rgba(255,255,255,.92);
  color:var(--text);
  text-align:center;
  padding:10px 0;
  font-size:13px;
  font-weight:600;
  border-bottom:1px solid var(--border2);
  backdrop-filter: blur(14px);
}
.top-bar .container{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.top-bar .container::before{
  content:"";
  width:10px;height:10px;border-radius:50%;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  box-shadow:0 0 0 6px rgba(180,83,9,.10);
  display:inline-block;
}

/* HEADER */
.header{
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 40px rgba(0,0,0,.04);
  position: fixed;
  width: 100%;
  top: 0px;
  z-index: 1000;
  transition: all .25s ease;
  backdrop-filter: blur(14px);
  border-bottom:1px solid var(--border2);
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 0;
  gap:20px;
}

.logo{
  font-size:14px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--text);
  display:flex;
  align-items:center;
  gap:12px;
}
.logo:before{
  content:"";
  width:42px;height:42px;border-radius:14px;
  background:linear-gradient(135deg, rgba(180,83,9,.95), rgba(146,64,14,.95));
  box-shadow: 0 18px 35px rgba(0,0,0,.08);
  display:inline-block;
}

.nav-menu{
  display:flex;
  list-style:none;
  gap:26px;
  align-items:center;
}

.nav-menu a{
  font-size:13px;
  font-weight:700;
  color:var(--muted);
  position:relative;
  transition: .2s ease;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.nav-menu a:hover{color:var(--text)}
.nav-menu a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:0;
  height:2px;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  border-radius:2px;
  transition: width .2s ease;
  opacity:.9;
}
.nav-menu a:hover::after{width:100%}

/* BUTTONS */
.btn{
  background: linear-gradient(135deg, rgba(180,83,9,.98), rgba(146,64,14,.98));
  color: #fff;
  padding: 12px 22px;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: all .2s ease;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
  font-size: 13px;
  letter-spacing:.02em;
  position:relative;
  overflow:hidden;
}
.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 26px 55px rgba(0,0,0,.12);
}
.btn:active{transform:translateY(0)}

/* HERO */
.hero{
  color:var(--text);
  padding: 170px 0 110px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(700px 400px at 20% 10%, rgba(180,83,9,.08), transparent 60%),
    radial-gradient(900px 450px at 70% 0%, rgba(255,255,255,.04), transparent 55%),
    linear-gradient(135deg, rgba(255,255,255,.85), rgba(255,255,255,.85));
  pointer-events:none;
}

.hero::after{
  content:"";
  position:absolute;
  left:-20%;
  top:45%;
  width:140%;
  height:300px;
  background: radial-gradient(circle at 50% 50%, rgba(180,83,9,.04), transparent 60%);
  filter: blur(20px);
  transform: rotate(-8deg);
  pointer-events:none;
}

.hero-content{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items:center;
  position: relative;
  z-index:1;
}

.hero h1{
  font-size: 3.1rem;
  margin-bottom: 18px;
  line-height: 1.12;
}

.hero-subtitle{
  font-size: 1.15rem;
  margin-bottom: 26px;
  color: var(--muted);
  font-weight: 600;
  max-width: 540px;
}

.stats{
  display:flex;
  gap:34px;
  margin-top: 34px;
  flex-wrap:wrap;
}

.stat-item{
  text-align:left;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0,0,0,.02);
  border:1px solid var(--border2);
  backdrop-filter: blur(12px);
}

.stat-number{
  font-size: 2rem;
  font-weight: 900;
  display: block;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 2px;
  letter-spacing:.02em;
}

.hero-image{
  text-align:center;
  position: relative;
}

.hero-image img{
  max-width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border2);
  background: rgba(255,255,255,.02);
}

.experience-badge{
  position:absolute;
  bottom: -18px;
  right: -10px;
  background: rgba(255,255,255,.92);
  color: var(--text);
  padding: 18px 18px;
  border-radius: 16px;
  text-align:center;
  box-shadow: var(--shadow2);
  border:1px solid var(--border2);
  backdrop-filter: blur(14px);
}

.experience-badge h2{
  font-size: 2.2rem;
  margin-bottom: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  color: transparent;
}

.experience-badge span{
  color: var(--muted);
  font-weight:700;
  font-size: 12px;
  letter-spacing:.02em;
}

/* SECTIONS */
.about{
  padding: 110px 0;
  background: linear-gradient(180deg, rgba(0,0,0,.01), rgba(0,0,0,0));
  border-top:1px solid var(--border2);
}

.section-title{
  text-align:center;
  font-size: 2.35rem;
  margin-bottom: 58px;
  color: var(--text);
  position: relative;
}
.section-title::after{
  content:"";
  position:absolute;
  bottom:-16px;
  left:50%;
  transform:translateX(-50%);
  width: 96px;
  height: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 999px;
  box-shadow: 0 0 0 8px rgba(180,83,9,.05);
}

.about-content{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items:center;
}

.about-stats{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.stat-card{
  background: rgba(255,255,255,.8);
  padding: 28px 18px;
  border-radius: var(--radius);
  text-align:center;
  box-shadow: 0 16px 45px rgba(0,0,0,.04);
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid var(--border2);
  position:relative;
  overflow:hidden;
  color: var(--muted);
  font-weight:700;
}

.stat-card::before{
  content:"";
  position:absolute;
  top:0;left:0;
  width:100%;
  height:4px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  opacity:.9;
}

.stat-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(0,0,0,.08);
}

.stat-card .number{
  font-size: 2.2rem;
  font-weight: 900;
  display:block;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip:text;
  color: transparent;
}

.about-text{
  padding: 6px;
}

.about-text h3{
  font-size: 1.7rem;
  margin-bottom: 20px;
  color: var(--text);
}

.feature{
  margin-bottom: 18px;
  padding: 22px;
  background: rgba(255,255,255,.8);
  border-radius: var(--radius);
  box-shadow: 0 16px 45px rgba(0,0,0,.04);
  transition: transform .2s ease;
  border: 1px solid var(--border2);
  position:relative;
  overflow:hidden;
}

.feature::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(600px 220px at 20% 0%, rgba(180,83,9,.05), transparent 60%);
  pointer-events:none;
}

.feature:hover{ transform: translateX(6px); }

.feature h4{
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text);
  display:flex;
  align-items:center;
  gap: 10px;
}

.feature h4 i{
  color: var(--accent);
  font-size: 1.1rem;
}

.feature p{
  color: var(--muted);
  font-weight:600;
}
/* СКРЫТЬ КВИЗ - ДОБАВЬ ЭТО */
.quiz-section {
  display: none !important;
}

/* QUIZ SECTION */
.quiz-section{
  padding: 95px 0;
  background: linear-gradient(135deg, rgba(180,83,9,.04), rgba(255,255,255,.02));
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
  color: var(--text);
  position:relative;
  overflow:hidden;
}
.quiz-section::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(800px 420px at 70% 20%, rgba(180,83,9,.06), transparent 60%),
    radial-gradient(900px 480px at 20% 0%, rgba(59,130,246,.03), transparent 55%);
  pointer-events:none;
}
.quiz-section .container{ position:relative; z-index:1; }

/* PROFESSIONAL */
.professional{
  padding: 110px 0;
  background: rgba(255,255,255,.02);
}

.professional-main{
  display:grid;
  grid-template-columns: 1fr 400px;
  gap: 52px;
  align-items:start;
}

.professional-info p{
  margin-bottom: 18px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  font-weight:600;
}

.professional-visual{
  display:flex;
  flex-direction:column;
  gap: 20px;
}

.main-certificate img{
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  border: 1px solid var(--border2);
  transition: transform .2s ease;
  background: rgba(255,255,255,.02);
}
.main-certificate img:hover{ transform: scale(1.02); }

.additional-photo img{
  width:100%;
  max-width: 260px;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0,0,0,.04);
  border: 1px solid var(--border2);
  transition: transform .2s ease;
  background: rgba(255,255,255,.02);
}
.additional-photo img:hover{ transform: scale(1.03); }

.image-caption{
  margin-top: 10px;
  font-size: .95rem;
  color: var(--muted2);
  line-height:1.4;
  font-weight:700;
  text-align:center;
}

/* FAQ */
.faq{
  padding: 110px 0;
  background: rgba(255,255,255,.01);
  border-top:1px solid var(--border2);
}

.faq-item{
  background: rgba(255,255,255,.8);
  margin-bottom: 16px;
  border-radius: var(--radius);
  box-shadow: 0 16px 45px rgba(0,0,0,.04);
  overflow:hidden;
  transition: all .2s ease;
  border: 1px solid var(--border2);
}
.faq-item:hover{ box-shadow: 0 22px 55px rgba(0,0,0,.06); }

.faq-question{
  padding: 22px 22px;
  background: rgba(255,255,255,.02);
  font-weight: 800;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
  transition: background .2s ease, color .2s ease;
  font-size: 1.05rem;
  color: var(--text);
}
.faq-question:hover{
  background: rgba(180,83,9,.04);
}

.faq-answer{
  padding: 0 22px;
  max-height: 0;
  overflow:hidden;
  transition: all .25s ease;
  color: var(--muted);
  font-weight:600;
}

.faq-active .faq-answer{
  padding: 0 22px 22px;
  max-height: 520px;
}

.faq-active .faq-question{
  background: rgba(180,83,9,.06);
  color: var(--text);
}

.faq-question span{
  transition: transform .2s ease;
  color: var(--accent);
  font-weight:900;
  font-size: 20px;
}
.faq-active .faq-question span{ transform: rotate(45deg); }

/* CONTACTS */
.contacts{
  padding: 110px 0;
  background: linear-gradient(135deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,.92) 100%);
  color: var(--text);
  position:relative;
  border-top:1px solid var(--border2);
  overflow:hidden;
}
.contacts::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 50% 0%, rgba(180,83,9,.06), transparent 60%),
    radial-gradient(900px 520px at 10% 30%, rgba(59,130,246,.03), transparent 55%);
  pointer-events:none;
}
.contacts .container{position:relative; z-index:1;}

.contact-info{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.contact-item{
  text-align:center;
  padding: 30px 22px;
  background: rgba(255,255,255,.8);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  transition: transform .2s ease, background .2s ease;
  border: 1px solid var(--border2);
  box-shadow: 0 18px 45px rgba(0,0,0,.04);
}

.contact-item:hover{
  transform: translateY(-6px);
  background: rgba(255,255,255,.9);
}

.contact-item h3{
  margin-bottom: 12px;
  font-size: 1.15rem;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
}

.contact-item h3 i{ color: var(--accent); }

.contact-item p{
  color: var(--muted);
  font-weight:650;
}

/* FOOTER */
.footer{
  background: rgba(255,255,255,.96);
  color: var(--muted2);
  text-align:center;
  padding: 26px 0;
  font-size: .95rem;
  border-top:1px solid var(--border2);
}

/* MODAL */
.modal{
  display:none;
  position:fixed;
  top:0;left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,.32);
  z-index: 2000;
  align-items:center;
  justify-content:center;
  backdrop-filter: blur(8px);
}

.modal-content{
  background: rgba(255,255,255,.96);
  padding: 34px;
  border-radius: 20px;
  max-width: 520px;
  width: 92%;
  position:relative;
  animation: modalAppear .22s ease;
  box-shadow: var(--shadow);
  border: 1px solid var(--border2);
  overflow:hidden;
}

.modal-content::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(650px 260px at 20% 0%, rgba(180,83,9,.06), transparent 60%);
  pointer-events:none;
}

@keyframes modalAppear{
  from{opacity:0; transform: translateY(-30px) scale(.98);}
  to{opacity:1; transform: translateY(0) scale(1);}
}

.modal h2{
  margin-bottom: 16px;
  text-align:center;
  color: var(--text);
  position:relative;
  z-index:1;
  font-size: 1.5rem;
}

.form-group{ margin-bottom: 14px; position:relative; z-index:1; }
.form-group label{
  display:block;
  margin-bottom: 8px;
  font-weight: 800;
  color: var(--muted);
  font-size: 13px;
  letter-spacing:.02em;
}

.form-group input{
  width:100%;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  transition: border .2s ease, box-shadow .2s ease;
  background: rgba(255,255,255,.04);
  color: var(--text);
  outline:none;
}
.form-group input::placeholder{ color: rgba(107,114,128,.65); font-weight:650; }
.form-group input:focus{
  border-color: rgba(180,83,9,.35);
  box-shadow: 0 0 0 4px rgba(180,83,9,.08);
}
.consents {
  margin-top: 14px;
  padding: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  text-align: left;
}

.consent-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  cursor: pointer;
}

.consent-row + .consent-row {
  margin-top: 10px;
}

.consent-check {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent);  /* Используем ваш основной акцентный цвет */
}

.consent-text {
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
  color: rgba(163,170,183,.92);
}

.consent-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.consent-link:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .consent-text {
    font-size: 11.5px;
  }
}

.close-modal{
  position:absolute;
  top: 12px;
  right: 12px;
  font-size: 26px;
  cursor:pointer;
  background: rgba(0,0,0,.03);
  border: 1px solid var(--border2);
  color: var(--text);
  transition: .2s ease;
  width: 38px;
  height: 38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  z-index:2;
}
.close-modal:hover{
  background: rgba(180,83,9,.08);
  border-color: rgba(180,83,9,.15);
}

/* BURGER */
.burger{display:none;cursor:pointer;z-index:1002}
.burger div{
  width:26px;height:3px;
  background: rgba(180,83,9,.85);
  margin: 5px;
  transition: all .25s ease;
  border-radius: 2px;
  box-shadow: 0 6px 16px rgba(0,0,0,.1);
}

/* QUIZ UI */
.quiz-container {
  background: rgba(255,255,255,.92);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,.05);
  overflow: hidden;
  margin: 20px 0;
  border: 1px solid rgba(0,0,0,.05);
  backdrop-filter: blur(14px);
}

.quiz-wrapper {
  min-height: 600px;
  display: flex;
  flex-direction: column;
}

.quiz__header {
  background: rgba(0,0,0,.01);
  color: var(--text);
  border-bottom: 1px solid rgba(0,0,0,.05);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quiz__title {
  font-weight: 900;
  font-size: 14px;
  letter-spacing:.04em;
  text-transform: uppercase;
  color: var(--text);
}

.quiz__progress {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.bar {
  width: 140px;
  height: 5px;
  border-radius: 999px;
  background: rgba(180,83,9,.12);
  overflow: hidden;
}

#pBar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  transition: width .25s ease;
}

.quiz__body {
  padding: 16px;
  flex: 1;
}

.step {
  display: none;
  animation: fade .25s ease;
}

.step.active {
  display: block;
}

.q {
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 12px;
}

.options {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}

.btn-opt {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: 12px 10px;
  background: rgba(0,0,0,.01);
  color: var(--muted);
  cursor: pointer;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}

.btn-opt:hover, .btn-opt.active {
  border-color: rgba(180,83,9,.35);
  color: var(--text);
  background: rgba(180,83,9,.06);
  transform: translateY(-1px);
}

.lead {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}

.input {
  padding: 12px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  font-size: 14px;
  background: rgba(255,255,255,.03);
  color: var(--text);
  outline:none;
}
.input::placeholder{color:rgba(107,114,128,.60);font-weight:650}
.input:focus{
  border-color: rgba(180,83,9,.35);
  box-shadow: 0 0 0 4px rgba(180,83,9,.08);
}

#quizHoneypot {
  display: none !important;
}

.result {
  display: none;
  border: 1px dashed rgba(0,0,0,.10);
  border-radius: 12px;
  padding: 12px;
  background: rgba(0,0,0,.01);
  font-size: 13px;
  margin-top: 10px;
  color: var(--muted);
  font-weight:650;
}

.muted {
  display: none;
  margin-top: 8px;
  font-size: 12px;
  color: rgba(107,114,128,.85);
  text-align: center;
  font-weight:650;
}

.thanks-box {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.thanks-box img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 18px;
  object-fit: cover;
  border:1px solid rgba(0,0,0,.08);
  box-shadow: 0 18px 45px rgba(0,0,0,.05);
}

.thanks-box p {
  font-size: 17px;
  color: var(--text);
  font-weight: 900;
}

.quiz .footer {
  border-top: 1px solid rgba(0,0,0,.05);
  background: rgba(0,0,0,.01);
  padding: 10px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  color: rgba(107,114,128,.85);
}

.quiz .footer a {
  color: rgba(107,114,128,.95);
  text-decoration: none;
  font-weight:700;
}
.quiz .footer a:hover{ color: var(--text); }

@keyframes fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* TIMELINE STYLE */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 60px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(180,83,9,.8), rgba(146,64,14,.8));
  border-radius: 2px;
  opacity:.9;
}

.timeline-item {
  display: flex;
  margin-bottom: 55px;
  position: relative;
}

.timeline-marker {
  position: relative;
  width: 120px;
  flex-shrink: 0;
}

.marker-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(180,83,9,.95), rgba(146,64,14,.95));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
  position: relative;
  z-index: 2;
  border:1px solid rgba(255,255,255,.3);
}

.marker-line {
  position: absolute;
  left: 30px;
  top: 60px;
  bottom: -55px;
  width: 3px;
  background: rgba(180,83,9,.35);
  z-index: 1;
}

.timeline-item:last-child .marker-line { display: none; }

.timeline-content {
  flex: 1;
  padding-left: 40px;
  padding-bottom: 20px;
}

.step-card {
  background: rgba(255,255,255,.8);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 18px 45px rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.05);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, rgba(180,83,9,.8), rgba(146,64,14,.8));
  opacity:.85;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 55px rgba(0,0,0,.06);
}

.step-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
  gap: 16px;
}

.step-header h3 {
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 900;
  margin: 0;
  flex: 1;
}

.step-duration {
  background: rgba(0,0,0,.02);
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
  border:1px solid rgba(0,0,0,.05);
}

.step-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.feature-item {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: var(--muted);
  font-weight:700;
}

.feature-item i {
  margin-right: 10px;
  font-size: 1.05rem;
  width: 20px;
  text-align: center;
}

.feature-item i.fa-check-circle { color: #10b981; }
.feature-item i.fa-file-invoice { color: var(--accent); }
.feature-item i.fa-gavel { color: #f59e0b; }
.feature-item i.fa-balance-scale { color: #8b5cf6; }
.feature-item i.fa-check-double { color: #059669; }

.step-description {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
  margin: 0;
  padding: 16px;
  background: rgba(0,0,0,.01);
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.03);
  font-weight:650;
}

.timeline-footer {
  margin-top: 55px;
  text-align: center;
}

.result-card {
  background: rgba(255,255,255,.92);
  color: var(--text);
  padding: 34px;
  border-radius: 22px;
  box-shadow: 0 26px 60px rgba(0,0,0,.05);
  border: 1px solid rgba(0,0,0,.05);
  backdrop-filter: blur(14px);
  position:relative;
  overflow:hidden;
}

.result-card::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(800px 260px at 30% 0%, rgba(180,83,9,.05), transparent 60%);
  pointer-events:none;
}

.result-card h3 {
  color: var(--text);
  margin-bottom: 22px;
  font-size: 1.55rem;
  text-align: center;
  position:relative;
  z-index:1;
}

.result-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
  position:relative;
  z-index:1;
}

.result-item {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  padding: 14px 14px;
  background: rgba(0,0,0,.01);
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.03);
  font-weight:700;
  color: var(--muted);
}

.result-item i {
  margin-right: 12px;
  font-size: 1.2rem;
}

/* PULSE ANIMATION */
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 18px 45px rgba(0,0,0,.05); }
  50% { transform: scale(1.03); box-shadow: 0 26px 60px rgba(0,0,0,.08); }
  100% { transform: scale(1); box-shadow: 0 18px 45px rgba(0,0,0,.05); }
}

/* MEDIA QUERIES */
@media (max-width: 768px){
  .hero-content,.about-content{grid-template-columns:1fr;}
  .hero h1{font-size:2.15rem;}
  .hero{padding:150px 0 90px;}
  .nav-menu{
    position:fixed;
    right:0; top:0;
    height:100vh;
    background: rgba(255,255,255,.96);
    flex-direction:column;
    width: 78%;
    transform: translateX(100%);
    transition: transform .35s ease;
    justify-content:center;
    align-items:center;
    box-shadow: -12px 0 30px rgba(0,0,0,.05);
    z-index: 1001;
    padding: 100px 18px 20px;
    border-left:1px solid var(--border2);
    backdrop-filter: blur(14px);
  }
  .nav-active{ transform: translateX(0); }
  .burger{ display:block; }

  .toggle .line1{ transform: rotate(-45deg) translate(-5px, 6px); }
  .toggle .line2{ opacity: 0; }
  .toggle .line3{ transform: rotate(45deg) translate(-5px, -6px); }

  .stats{flex-direction:column;gap:14px;}
  .about-stats{grid-template-columns:1fr;}
  .experience-badge{
    position:relative;
    bottom:0; right:0;
    margin-top:18px;
    display:inline-block;
  }
  .section-title{font-size:2rem;}
}

@media (max-width: 680px) {
  .options { grid-template-columns: 1fr !important; }
  .quiz__body { padding: 12px !important; }
}

@media (max-width: 768px){
  .header .btn,
  .header .header-btn,
  .header .cta{
    display: none !important;
  }
}

/* MOBILE FIX */
@media (max-width: 768px){
  html, body{
    width:100%;
    overflow-x:hidden;
  }

  .container{
    max-width:100%;
    padding:0 16px;
  }

  /* HEADER */
  .header{
    top:0;
  }
  .nav{
    padding:10px 0;
  }
  .header .btn{
    display:none !important;
  }
  .logo{
    font-size:12px;
    gap:8px;
  }
  .logo:before{
    width:32px;
    height:32px;
    border-radius:10px;
  }

  /* HERO */
  .hero{
    padding:120px 0 70px;
  }
  .hero-content{
    grid-template-columns:1fr;
    gap:28px;
  }
  .hero h1{
    font-size:1.9rem;
  }
  .hero-subtitle{
    font-size:1.05rem;
  }

  /* STATS */
  .stats{
    flex-direction:column;
    gap:12px;
  }

  /* IMAGE */
  .hero-image img{
    width:100%;
    height:auto;
  }
  .experience-badge{
    position:relative;
    right:auto;
    bottom:auto;
    margin-top:14px;
  }

  /* ABOUT / SECTIONS */
  .about-content,
  .professional-main{
    grid-template-columns:1fr !important;
    gap:32px;
  }

  img{
    max-width:100%;
    height:auto;
  }

  /* QUIZ */
  .quiz-container{
    margin:0;
  }

  /* TIMELINE */
  .timeline{
    padding-left:0;
  }
}

@media (max-width: 576px){
  .hero{padding:135px 0 80px;}
  .section-title{font-size:1.75rem;}
  .stat-card{padding:22px 18px;}
  .contact-item{padding:26px 18px;}
  .modal-content{padding:26px 18px;}
  .hero h1{font-size:1.85rem;}
  .hero-subtitle{font-size:1.05rem;}
}

@media (max-width: 480px) {
  .timeline::before { left: 20px; }
  .timeline-marker { width: 40px; }
  .marker-number { width: 40px; height: 40px; font-size: 1rem; }
  .step-header h3 { font-size: 1.2rem; }
  .feature-item { font-size: 0.92rem; }
  .step-description { font-size: 0.96rem; padding: 14px; }
}
/* COOKIE CONSENT */
#cookie-consent{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  max-width: 720px;
  width: calc(100% - 32px);
  background: rgba(255,255,255,.96);
  border: 1px solid var(--border2);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  z-index: 3000;
  font-size: 12px;
  color: var(--muted);
  backdrop-filter: blur(14px);
}

#cookie-consent > div:first-child{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#cookie-consent > div:first-child > div:first-child{
  font-weight: 800;
  color: var(--text);
  font-size: 13px;
}

#cookie-consent a{
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

#cookie-consent button{
  border: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

#cookie-decline{
  background: rgba(0,0,0,.04);
  color: var(--muted);
}

#cookie-accept{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
}

@media (max-width: 600px){
  #cookie-consent{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  #cookie-consent button{
    width: 100%;
  }
}
/* Скрыть кнопку "Оставить заявку" внизу */
footer .btn {
  display: none !important;
}

