:root{
    --orange:#e8482c;
    --orange-rgb:232, 72, 44; 
    --orange-dark:#d4431f;
    --dark:#1c1f26;
    --footer-navy:#2b3648;
    --text:#1c1f26;
    --muted:#6b7280;
    --line:#e9e5df;
    --bg:#ffffff;
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    font-family:'Nunito',sans-serif;
    color:var(--text);
    background:var(--bg);
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  a{text-decoration:none;color:inherit;}
  .wrap{max-width:1200px;margin:0 auto;padding:0 24px;}
  img{max-width:100%;display:block;}

  /* Buttons */
  .btn{
    display:inline-flex;align-items:center;gap:8px;
    font-weight:800;font-size:18px;
    padding:14px 28px;border-radius:8px;
    cursor:pointer;border:2px solid transparent;
    transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
    white-space:nowrap;
  }
  .btn-primary{background:var(--orange);color:#fff;}
  .btn-primary:hover{background:var(--orange-dark);transform:translateY(-1px);box-shadow:0 8px 20px rgba(var(--orange-rgb),.35);}
  .btn-outline{background:#fff;color:var(--text);border:2px solid var(--text);}
  .btn-outline:hover{background:var(--text);color:#fff;}
  .btn-dark-outline{background:transparent;color:#fff;border:2px solid #fff;}

  /* Header */
  header{
    position:sticky;top:0;z-index:100;
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(8px);
    border-bottom:1px solid var(--line);
  }
header .btn {
    font-size: 18px !important; 
}
header .btn:hover {
    color: #ffffff;
}
  .header-inner{
    display:flex;align-items:center;justify-content:space-between;
    padding:18px 24px;max-width:1200px;margin:0 auto;
    gap:16px;
  }
  .logo{display:flex;align-items:center;gap:10px;flex:none;}
  .logo-img{height:74px;width:auto;flex:none;}
nav{display:flex;align-items:center;gap:36px;}
  nav a{font-weight:700;font-size:20px;color:var(--text);letter-spacing:0.2px;} 
  nav a:hover{color:var(--orange);}
  .nav-links{display:flex;gap:32px;}
  @media (max-width:900px){
    .nav-links{display:none;}
  }

  /* Header phone */
  .header-phone{
    display:flex;align-items:center;gap:8px;
    font-weight:800;font-size:18px;color:var(--text);
    white-space:nowrap;
    transition:color .2s ease;
    flex:none;
  }
  .header-phone svg{width:20px;height:20px;color:var(--orange);flex:none;}
  .header-phone:hover{color:var(--orange);}

  /* Hero */
.hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    text-align: left;
    margin-bottom: 20px;
}
.hero-grid h1 {
    font-size: 50px;      
    font-weight: 800;    
    line-height: 1.2;      
    color: #1c1f26;
    margin-bottom: 20px;
}

.hero-grid h1 .accent {
    color: var(--orange);
}

.hero-grid .lead {
    font-size: 20px;    
    line-height: 1.55;  
    color: #4a4d55;
    margin-bottom: 35px;
    max-width: 500px;  
}


.hero-grid > div:first-child {
    flex: 1;
    max-width: 540px; 
}

.hero-art {
    flex: 1;
    max-width: 480px; 
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-img {
    width: 100%;
    height: auto;
    object-fit: contain; 
    border-radius: 18px; 
}
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    margin-top: 30px;
}
@media (max-width: 900px) {
    .hero-grid {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-grid > div:first-child {
        max-width: 100%;
        order: 2;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-art {
        order: 1;
        margin-top: 0;
        margin-bottom: 10px;
        max-width: 100%; 
    }
} 

.badges{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  padding:36px 0 60px;
}
.badge{
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--line);
  border-radius:40px;
  padding:12px 22px;
  font-weight:700;
  font-size:17px;
  background:#fff;
}
.badge svg{width:22px;height:22px;flex:none;}
.badge-icon{width:22px;height:22px;flex:none;border-radius:50%;object-fit:cover;}

  /* For whom */
  .section{padding:70px 0;}
  .eyebrow{
    color:var(--orange);font-weight:800;font-size:20px;letter-spacing:1.5px;text-transform:uppercase;
    text-align:center;margin-bottom:8px;
  }
  h2{
    font-size:42px;font-weight:900;text-align:center;margin:0 0 14px;letter-spacing:-.3px;
  }
  h2 .accent{color:var(--orange);}
  .subhead{
    text-align:center;color:var(--muted);font-size:18px;line-height:1.6;
    max-width:640px;margin:0 auto 48px;
  }

  .cards-grid{
    display:grid;grid-template-columns:repeat(3,1fr);gap:24px;
  }
  @media (max-width:900px){ .cards-grid{grid-template-columns:1fr;} }

  /* Why us */
.why-card{
  border:1px solid var(--line);border-radius:16px;padding:32px 28px;
  background:#fff;position:relative;transition:box-shadow .2s ease, transform .2s ease;
  display:flex;flex-direction:column;
}
  .why-card:hover{box-shadow:0 12px 28px rgba(0,0,0,.06);transform:translateY(-3px);}
  .why-card .icon-num{
    display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;
  }
.icon-circle{
  display:flex;align-items:center;justify-content:center;color:var(--text);
}
.icon-circle img{width:100px;object-fit:contain;}
  .card-num{font-size:60px;font-weight:800;color:#e6e3dd;}
.why-card h3{font-size:24px;font-weight:800;margin:0 0 10px;min-height:2.5em;}
.why-card p{font-size:18px;line-height:1.55;color:var(--muted);margin:0 0 14px;flex:1 1 auto;}
  .dash{width:24px;height:2px;background:var(--orange);}

.not-found {
  margin-top: 56px;
  border-radius: 20px;
  border: 1px solid rgba(var(--orange-rgb), 0.2);
  background-color: #fffaf7; 
  padding: 30px 40px;
  padding-right: 420px; 
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.not-found::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%; 
  background-image: url('images/image-for-whom.png');
  background-size: cover;
  background-position: center left;
  background-repeat: no-repeat;
  
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 40%);
  mask-image: linear-gradient(to right, transparent 0%, #000 40%);
}

.not-found-left {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 2; 
}

.qmark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  color: #1c1f26;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 800;
  flex: none;
  background: #fff;
}

.not-found-left p {
  margin: 0;
  color: #4a4d55;
  font-size: 17px;
  line-height: 1.6;
  max-width: 420px;
}

.not-found-left strong {
  color: #1c1f26;
  font-size: 20px;
  display: block;
  margin-bottom: 6px;
}

.not-found .btn {
  position: relative;
  z-index: 2; 
}
@media (max-width: 900px) {
  .not-found {
    padding-right: 40px;
    background-image: none;
    flex-direction: column;
    align-items: flex-start;
  }
  .not-found::after {
    display: none;
  }
  .not-found-left {
    flex-direction: column;
    align-items: flex-start;
  }
}
.why-us-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:40px;}
@media (max-width:900px){ .why-us-grid{grid-template-columns:1fr;} }

.feature-card{
  border:1px solid var(--line);border-radius:16px;padding:34px 26px;text-align:center;
  transition:box-shadow .2s ease, transform .2s ease;
}
.feature-card:hover{box-shadow:0 12px 28px rgba(0,0,0,.06);transform:translateY(-3px);}
.feature-card .icon-circle{
  width:108px;height:108px;border-radius:50%;
  background:#f0f0f0;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 20px;
}
.feature-card .icon-circle img{
  width:108px;height:108px;object-fit:contain;display:block;
}
.feature-card h3{font-size:24px;font-weight:800;margin:0 0 10px;}
.feature-card p{font-size:17px;color:var(--muted);line-height:1.55;margin:0;}

.dark-cta{
  background:var(--dark);border-radius:16px;
  padding:32px;color:#fff;
  display:flex;flex-direction:column;justify-content:center;
}
.dark-cta .icon-circle{width:48px;height:48px;margin:0 0 16px;}
.dark-cta .icon-circle img{width:100%;height:100%;object-fit:contain;display:block;}
.dark-cta h3{font-size:24px;font-weight:800;margin:0 0 10px;line-height:1.3;}
.dark-cta p{font-size:17px;color:#b7bac1;margin:0 0 20px;line-height:1.55;}

  /* Services */
  .services-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:44px 60px;
}
@media (max-width:800px){ .services-grid{grid-template-columns:1fr;} }
.service-item .icon-circle{margin-bottom:14px;width:52px;height:52px;flex:none;}
.service-item .icon-circle img{width:100%;height:100%;object-fit:contain;display:block;}
.service-item h3{
  font-size:26px;font-weight:800;margin:0 0 10px;display:inline-block;
  border-bottom:3px solid var(--orange);padding-bottom:8px;
}
.service-item-head{display:flex;align-items:center;gap:16px;margin-bottom:14px;}
.service-item-head .icon-circle{margin-bottom:0;flex:none;}
.service-item p{font-size:18px;color:var(--muted);line-height:1.6;margin:0;}

.bg-soft{background:#faf9f7;}

/* Process */
.process-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  grid-template-rows:auto 56px auto;
  column-gap:40px;
  row-gap:0;
  position:relative;
  padding-top:22px;
}
@media (max-width:900px){
  .process-grid{grid-template-columns:1fr;grid-template-rows:none;row-gap:24px;}
}
.process-grid > .process-card:nth-child(1){grid-column:1;grid-row:1;}
.process-grid > .process-card:nth-child(2){grid-column:2;grid-row:1;}
.process-grid > .process-card:nth-child(3){grid-column:3;grid-row:1;}
.process-grid > .process-card:nth-child(4){grid-column:1;grid-row:3;}
.process-grid > .process-card:nth-child(5){grid-column:2;grid-row:3;}
.process-grid > .process-card:nth-child(6){grid-column:3;grid-row:3;}
@media (max-width:900px){
  .process-grid > .process-card:nth-child(1),.process-grid > .process-card:nth-child(2),
  .process-grid > .process-card:nth-child(3),.process-grid > .process-card:nth-child(4),
  .process-grid > .process-card:nth-child(5),.process-grid > .process-card:nth-child(6){
    grid-column:1;grid-row:auto;
  }
}
.process-card{
  background:#fff;border-radius:4px;padding:24px 22px 22px;position:relative;
  box-shadow:0 1px 3px rgba(0,0,0,.04);
  overflow:visible;
}
.process-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;}
.process-num{
  width:44px;height:44px;border-radius:50%;background:var(--orange);color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:800;font-size:18px;flex:none;
}
.process-icon{width:64px;height:64px;flex:none;}
.process-icon img{width:100%;height:100%;object-fit:contain;display:block;}
.process-card h4{font-size:24px;font-weight:800;margin:0 0 6px;}
.process-dash{width:24px;height:2px;background:var(--orange);margin-bottom:10px;}
.process-card p{font-size:17px;color:var(--muted);line-height:1.5;margin:0;}

.process-hop{
  position:absolute;
  top:44px;
  right:-40px;
  width:40px;
  height:24px;
  overflow:visible;
  pointer-events:none;
}
@media (max-width:900px){ .process-hop{display:none;} }

.process-connector{
  grid-column:1 / -1;
  grid-row:2;
  height:56px;
  position:relative;
  pointer-events:none;
}
@media (max-width:900px){ .process-connector{display:none;} }

/* Bonus */
  .bonus-outer{
  background:#faf9f7;border-radius:20px;padding:56px 60px 40px;max-width:1000px;margin:0 auto;
}
@media (max-width:700px){ .bonus-outer{padding:40px 20px 30px;} }
.bonus-wrap{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:36px;}
@media (max-width:800px){ .bonus-wrap{grid-template-columns:1fr;gap:24px;} }
.bonus-card{
  border-radius:16px;padding:34px 32px;background:#fff;
  box-shadow:0 4px 18px rgba(0,0,0,.04);
  display:flex;
  flex-direction:column;
}
.bonus-head .icon-circle,
.bonus-card .icon-circle{
  width:96px;
  height:96px;
  border-radius:50%;
  overflow:hidden;
  background:#f3f1ec;
  border:none;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:none;
}
.bonus-head .icon-circle img,
.bonus-card .icon-circle img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  padding:18px;
  box-sizing:border-box;
}
.bonus-card h3{font-size:26px;font-weight:800;margin:0 0 8px;}
.bonus-card > p{
  font-size:17px;color:var(--muted);margin:0 0 18px;line-height:1.5;
  min-height:3em;
}
.bonus-card ul{list-style:none;margin:0 0 20px;padding:0;flex:1 0 auto;}
.bonus-card .btn{margin-top:auto;}
.bonus-card li{
  display:flex;align-items:flex-start;gap:10px;font-size:17px;margin-bottom:10px;color:var(--text);
}
.bonus-card li svg{width:16px;height:16px;flex:none;margin-top:3px;color:var(--orange);}
.bonus-result{font-size:17px;color:var(--muted);display:flex;align-items:center;gap:8px;margin-bottom:20px;}
.bonus-result svg{width:16px;height:16px;color:var(--orange);flex:none;}
.bonus-or{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:50px;height:50px;border-radius:50%;border:1.5px solid var(--line);background:#fff;
  display:flex;align-items:center;justify-content:center;font-size:17px;color:var(--muted);font-weight:700;
  z-index:2;
}
.bonus-divider{
  position:absolute;left:50%;top:0;bottom:0;width:0;border-left:1.5px dashed #d8d4cc;
  transform:translateX(-50%);
}
@media (max-width:800px){ .bonus-or,.bonus-divider{display:none;} }
.bonus-note{text-align:center;color:var(--muted);font-size:18px;margin-top:28px;}

/* Bonus section header */
.bonus-head{display:flex;align-items:center;gap:20px;margin-bottom:40px;}
.bonus-head h2{margin:0;text-align:left;font-size:32px;line-height:1.25;}

  /* FAQ */
  .faq-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:60px;align-items:start;}
@media (max-width:850px){ .faq-grid{grid-template-columns:1fr;} }

.faq-head{display:flex;align-items:center;gap:18px;margin-bottom:30px;}
.faq-head .icon-circle{
  width:96px;height:96px;flex:none;
  border-radius:50%;
  background:#f3f1ec;
  border:none;
  overflow:hidden;
  display:flex;align-items:center;justify-content:center;
}
.faq-head .icon-circle img{width:100%;height:100%;object-fit:contain;display:block;padding:14px;box-sizing:border-box;}
.faq-head h2{margin:0;text-align:left;font-size:30px;}

.faq-item{
  border-bottom:1px solid var(--line);padding:20px 0;cursor:pointer;
}
.faq-item:first-child{border-top:1px solid var(--line);}
.faq-q{display:flex;gap:18px;align-items:flex-start;}
.faq-plus{
  width:26px;height:26px;border-radius:50%;border:1.5px solid var(--text);flex:none;
  display:flex;align-items:center;justify-content:center;font-weight:800;margin-top:2px;
  transition:transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  font-size:24px;line-height:1;
}
.faq-item h3.q{margin:0;font-size:18px;font-weight:600;line-height:1.5;}
.faq-answer{
  max-height:0;overflow:hidden;transition:max-height .3s ease, opacity .25s ease, margin .3s ease;
  opacity:0;margin-left:44px;
}
.faq-answer p{margin:12px 0 0;font-size:18px;line-height:1.6;color:var(--muted);font-weight:400;max-width:560px;}
.faq-item.open .faq-answer{max-height:none; opacity:1;}
.faq-item.open .faq-plus{background:var(--orange);border-color:var(--orange);color:#fff;transform:rotate(45deg);}

.faq-box{
  position:relative;
  overflow:hidden;
  border-radius:20px;
  padding:36px 32px;
  background:var(--dark);
  color:#fff;
}
.faq-box::before{
  content:"";
  position:absolute;
  top:-60px;right:-60px;
  width:180px;height:180px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(232,72,44,.35), transparent 70%);
  pointer-events:none;
}
.faq-box-icon{
  width:52px;height:52px;border-radius:50%;
  background:rgba(232,72,44,.15);
  border:1.5px solid var(--orange);
  display:flex;align-items:center;justify-content:center;
  color:var(--orange);
  margin-bottom:18px;
}
.faq-box-icon svg{width:24px;height:24px;}
.faq-box p.title{margin:0 0 10px;font-size:14px;color:#9aa0ad;text-transform:uppercase;letter-spacing:.5px;font-weight:700;}
.faq-box p.bold{margin:0 0 26px;font-size:19px;font-weight:800;line-height:1.4;color:#fff;}

.faq-form{display:flex;flex-direction:column;gap:16px;position:relative;z-index:1;}
.faq-form-field{position:relative;}
.faq-form-field input{
  width:100%;
  background:rgba(255,255,255,.06);
  border:1.5px solid rgba(255,255,255,.18);
  border-radius:10px;
  padding:20px 16px 8px;
  font-size:15px;
  font-family:inherit;
  color:#fff;
  outline:none;
  transition:border-color .2s ease, background .2s ease;
  box-sizing:border-box;
}
.faq-form-field input::placeholder{color:transparent;}
.faq-form-field label{
  position:absolute;
  left:16px;top:16px;
  font-size:15px;
  color:#9aa0ad;
  pointer-events:none;
  transition:top .18s ease, font-size .18s ease, color .18s ease;
}
.faq-form-field input:focus{
  border-color:var(--orange);
  background:rgba(255,255,255,.1);
}
.faq-form-field input:focus + label,
.faq-form-field input:not(:placeholder-shown) + label{
  top:7px;
  font-size:11px;
  color:var(--orange);
}
.faq-form .btn-primary{
  width:100%;justify-content:center;
  margin-top:4px;
  padding:16px 28px;
}
.faq-form-note{
  margin:14px 0 0;
  font-size:12px;
  line-height:1.5;
  color:#7d8290;
  text-align:center;
}

footer{
    position:relative;
    overflow:hidden;
    background:var(--footer-navy);
    color:#cfd3da;
    padding-top:1px;
}

footer::after{
    content:"";
    position:absolute;
    bottom:-140px;
    left:-100px;
    width:360px;
    height:360px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(232,72,44,.10), transparent 70%);
    pointer-events:none;
}


.footer-top{
    display:grid;
    grid-template-columns:1.5fr 1fr 1.3fr;
    gap:40px;
    padding:56px 24px 40px;
}

@media (max-width:850px){
    .footer-top{
        grid-template-columns:1fr 1fr;
    }

    .footer-col-brand{
        grid-column:1/-1;
    }
}

@media (max-width:500px){
    .footer-top{
        grid-template-columns:1fr;
        padding:40px 20px 24px;
        gap:32px;
    }
}

.footer-logo{
    display:inline-flex;
    margin-bottom:16px;
}

.footer-logo-img{
    height:62px;
    width:auto;
    display:block;
    transition:transform .3s ease, opacity .3s ease;
}

.footer-logo:hover .footer-logo-img{
    transform:scale(1.05);
    opacity:.92;
}

.footer-tagline{
    max-width:280px;
    margin:0 0 20px;
    font-size:14.5px;
    line-height:1.6;
    color:#9aa0ad;
}


.footer-social{
    display:flex;
    gap:18px;
    margin-top:24px;
    flex-wrap:wrap;
}

.footer-social a{
    width:52px;
    height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.22);
    text-decoration:none;
    line-height:0;
    transition:.25s;
    flex:none;
}

.footer-social a svg{
    width:20px;
    height:20px;
    display:block;
}

.footer-social a:hover{
    background:rgba(232,72,44,.16);
    border-color:var(--orange);
    transform:translateY(-3px);
}

.footer-col h4{
    position:relative;
    margin:0 0 22px;
    padding-bottom:12px;
    color:#fff;
    font-size:15px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.4px;
}

.footer-col h4::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:24px;
    height:2px;
    background:var(--orange);
}

.footer-col-links a{
    display:block;
    color:#b6bac3;
    font-size:15px;
    padding:7px 0;
    transition:color .2s;
}

.footer-col-links a:hover{
    color:var(--orange);
}


.footer-info{
    color:#b6bac3;
    font-size:15px;
}

.footer-info-row{
    display:flex;
    align-items:flex-start;
    gap:14px;
    margin-bottom:18px;
}

.footer-info-row:last-child{
    margin-bottom:0;
}

.footer-info-icon{
    width:34px;
    height:34px;
    min-width:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(232,72,44,.14);
    border:1px solid rgba(232,72,44,.3);
    color:var(--orange);
    flex-shrink:0;
}

.footer-info-icon svg{
    width:16px;
    height:16px;
    display:block;
    stroke:currentColor;
}

.footer-info-row:hover .footer-info-icon{
    background:var(--orange);
    color:#fff;
    transform:scale(1.08);
}

.footer-info-row span:last-child{
    padding-top:4px;
    line-height:1.7;
}

.footer-info a{
    display:inline;
    color:#b6bac3;
}

.footer-info a:hover{
    color:var(--orange);
}

.footer-tag{
    display:inline-block;
    margin-left:6px;
    padding:1px 7px;
    border:1px solid #4a5568;
    border-radius:5px;
    font-size:11px;
    color:#9aa0ad;
}

.footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    padding:20px 24px;
    border-top:1px solid rgba(255,255,255,.08);
}

.footer-bottom-text{
    display:flex;
    flex-wrap:wrap;
    gap:4px 10px;
    font-size:13px;
    color:#7d8290;
}

.footer-bottom-text p{
    margin:0;
}

.footer-to-top{
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    border:1px solid #4a5568;
    color:#cfd3da;
    transition:.25s;
    flex:none;
}

.footer-to-top svg{
    width:18px;
    height:18px;
}

.footer-to-top:hover{
    background:var(--orange);
    border-color:var(--orange);
    color:#fff;
    transform:translateY(-3px);
}

@media (max-width:500px){
    .footer-bottom{
        flex-direction:column;
        align-items:flex-start;
    }
}

/* Модальное окно */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(28, 31, 38, 0.8); 
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(.16, .84, .44, 1);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  width: 100%;
  max-width: 460px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  
  transform: translateY(30px);
  transition: transform 0.35s cubic-bezier(.34, 1.56, .64, 1);
}

.modal-overlay.open .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: #9aa0ad;
  font-size: 28px;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  z-index: 10;
  transition: color 0.2s ease, transform 0.2s ease;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--orange);
  transform: rotate(90deg);
}

/* ==========================================================
   Доп. адаптив: хедер, hero и футер на маленьких экранах
   ========================================================== */
@media (max-width:600px){
  .header-inner{
    padding:12px 16px;
    gap:10px;
  }
  .logo-img{height:46px;}
  .header-phone{font-size:14px;gap:6px;}
  .header-phone svg{width:16px;height:16px;}
  .header-phone span{white-space:nowrap;}

  .hero{padding-top:8px;}
  .hero-grid{gap:24px;}
  .hero-grid h1{font-size:30px;margin-bottom:14px;}
  .hero-grid .lead{font-size:16px;margin-bottom:24px;max-width:100%;}
  .hero-buttons{
    flex-direction:column;
    width:100%;
    gap:12px;
  }
  .hero-buttons .btn{
    width:100%;
    justify-content:center;
    font-size:16px;
    padding:14px 20px;
  }
  .hero-art{margin-top:0;margin-bottom:16px;}

  .badges{
    justify-content:center;
    gap:10px;
    padding:24px 0 40px;
  }
  .badge{
    font-size:14px;
    padding:10px 16px;
  }

  .section{padding:48px 0;}
  h2{font-size:28px;}
  .subhead{font-size:16px;}

  .not-found{padding:24px 20px;}
  .not-found .btn{width:100%;justify-content:center;}

  .footer-top{gap:28px;}
  .footer-tagline{max-width:100%;}
  .footer-social{justify-content:flex-start;}
  .footer-info-row span:last-child{word-break:break-word;}
  .footer-bottom{padding:16px 20px;}
  .footer-bottom-text{font-size:12px;}
}

@media (max-width:380px){
  .header-phone span{display:none;}
  .header-phone svg{width:22px;height:22px;}
}