@import url("./styles-base.css?v=20260911-76");

/* Keep the source markup stable while matching the requested requisites layout. */
.requisites-grid > div:nth-child(5){order:6}
.requisites-grid > div:nth-child(6){order:5}

/* Make the project CTA more visually compelling without changing its height. */
@media (min-width:821px){
  .advantages-cta{
    align-items:center;
    background:
      radial-gradient(circle at 88% 50%,rgba(36,107,254,.18),transparent 29%),
      linear-gradient(90deg,#0a1c31 0%,#0b1f38 68%,#0d2442 100%);
  }
  .cta-icon{
    display:grid;
    place-items:center;
    border-radius:16px;
    background:rgba(36,107,254,.08);
    box-shadow:0 0 0 1px rgba(124,201,255,.14),0 0 28px rgba(36,107,254,.16);
  }
  .advantages-cta h3{
    margin-bottom:8px;
    font-size:21px;
    line-height:29px;
  }
  .advantages-cta p{
    max-width:680px;
    font-size:15.5px;
    line-height:23px;
  }
  .advantages-cta a{
    width:230px;
    height:62px;
    justify-self:end;
    border:1px solid rgba(255,255,255,.12);
    border-radius:14px;
    background:linear-gradient(180deg,#3479ff 0%,#246bfe 100%);
    box-shadow:0 14px 34px rgba(36,107,254,.30),inset 0 1px 0 rgba(255,255,255,.18);
    font-size:16px;
    letter-spacing:.01em;
    transition:transform .2s ease,filter .2s ease,box-shadow .2s ease;
  }
  .advantages-cta a span{
    font-size:20px;
    line-height:1;
    transition:transform .2s ease;
  }
  .advantages-cta a:hover{
    transform:translateY(-2px);
    filter:brightness(1.08);
    box-shadow:0 18px 42px rgba(36,107,254,.40),0 0 0 1px rgba(124,201,255,.16),inset 0 1px 0 rgba(255,255,255,.22);
  }
  .advantages-cta a:hover span{transform:translateX(4px)}
}

/* Stronger visual hierarchy for the contact form without changing panel height. */
@media (min-width:821px){
  .project-form{
    padding-top:34px;
    padding-bottom:24px;
    gap:13px;
  }
  .form-bottom{
    grid-template-columns:minmax(0,1fr) 230px;
    gap:24px;
    align-items:center;
    margin-top:2px;
  }
  .submit-button{
    width:230px;
    height:58px;
    justify-self:end;
    border:1px solid rgba(255,255,255,.12);
    border-radius:14px;
    background:linear-gradient(180deg,#3a7dff 0%,#246bfe 100%);
    box-shadow:0 14px 34px rgba(36,107,254,.30),inset 0 1px 0 rgba(255,255,255,.20);
    font-size:15.5px;
    letter-spacing:.01em;
    transition:transform .2s ease,filter .2s ease,box-shadow .2s ease;
  }
  .submit-button:hover{
    transform:translateY(-2px);
    filter:brightness(1.08);
    box-shadow:0 18px 42px rgba(36,107,254,.40),0 0 0 1px rgba(124,201,255,.18),inset 0 1px 0 rgba(255,255,255,.24);
  }
  .submit-button:focus-visible{
    outline:0;
    box-shadow:0 0 0 3px rgba(124,201,255,.28),0 18px 42px rgba(36,107,254,.34);
  }
  .mail-status{
    left:492px;
    right:76px;
    bottom:16px;
    max-width:none;
    min-height:38px;
    display:flex;
    align-items:center;
    gap:10px;
    padding:9px 13px;
    border:1px solid rgba(124,201,255,.20);
    border-radius:10px;
    background:rgba(10,28,49,.92);
    box-shadow:0 10px 28px rgba(0,0,0,.18);
    color:var(--text-2);
    font-size:12px;
    line-height:17px;
    opacity:0;
    transform:translateY(4px);
  }
  .mail-status::before{
    content:"i";
    width:20px;
    height:20px;
    flex:0 0 20px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:rgba(124,201,255,.12);
    color:var(--blue-2);
    font-size:12px;
    font-weight:700;
  }
  .mail-status.show{
    opacity:1;
    transform:translateY(0);
  }
  .mail-status[data-state="error"]{
    border-color:rgba(255,178,102,.26);
    background:linear-gradient(90deg,rgba(74,42,20,.34),rgba(10,28,49,.96));
    color:#e7d8c9;
  }
  .mail-status[data-state="error"]::before{
    content:"!";
    background:rgba(255,178,102,.14);
    color:#ffbf7a;
  }
  .mail-status[data-state="success"]{
    border-color:rgba(83,210,150,.25);
    background:linear-gradient(90deg,rgba(18,73,51,.34),rgba(10,28,49,.96));
    color:#d7eee3;
  }
  .mail-status[data-state="success"]::before{
    content:"✓";
    background:rgba(83,210,150,.14);
    color:#76dca9;
  }
}

@media (max-width:820px){
  .mail-status{
    padding:11px 13px;
    border:1px solid rgba(124,201,255,.20);
    border-radius:10px;
    background:rgba(10,28,49,.92);
    color:var(--text-2);
    font-size:12px;
    line-height:17px;
  }
  .mail-status[data-state="error"]{border-color:rgba(255,178,102,.26);color:#e7d8c9}
  .mail-status[data-state="success"]{border-color:rgba(83,210,150,.25);color:#d7eee3}
}

/* Updated concise confidentiality notice for the Russian contact form. */
.form-sensitive-warning{
  font-size:0;
}
.form-sensitive-warning::after{
  content:"Не указывайте специальные персональные данные и иную конфиденциальную информацию, требующую специального режима защиты.";
  font-size:12px;
  line-height:17px;
}

/* Contact subtitle without terminal punctuation. */
.contact-intro p{
  font-size:0;
}
.contact-intro p::after{
  content:"Расскажите о задаче — предложим подход к реализации и следующие шаги";
  font-size:16px;
  line-height:28px;
}
