:root{
  --orange:#F92525;
  --silver: #EEE7DB;
  --grey:#E4E2E3;
  --stone:#A8AAAC;
  --midnight:#3B0016;
  --white:#FFFFFF;
  --text:#161616;
  --muted:#747579;
  --line:#D6D4D5;
  --surface:#FFFFFF;
  --surface-soft:#F3F1F2;
  --font:"Inter Tight", Arial, sans-serif;
  --container:1280px;
  --radius-sm:14px;
  --radius-md:22px;
  --radius-lg:32px;
  --shadow-sm:0 10px 30px rgba(22,22,22,.07);
  --shadow-md:0 22px 60px rgba(22,22,22,.12);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  color:var(--text);
  background:var(--silver);
  font-family:var(--font);
  font-size:16px;
  font-weight:500;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

body,
button,
input,
textarea,
select{
  font-family:var(--font);
}

img{
  display:block;
  width:100%;
  height:auto;
}

a{
  color:inherit;
  text-decoration:none;
}

button{
  font:inherit;
}

h1,
h2,
h3,
p{
  margin-top:0;
}

.container{
  width:min(calc(100% - 40px),var(--container));
  margin-inline:auto;
}

.header{
  position:sticky;
  top:0;
  z-index:100;
  background: rgb(238 231 219 / 92%);
  border-bottom:1px solid rgba(22,22,22,.08);
  backdrop-filter:blur(18px);
}

.header-row{
  min-height:82px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:40px;
}

.logo{
  display:inline-flex;
  align-items:center;
  gap:12px;
  flex-shrink:0;
}

.logo img{
  width:42px;
  height:42px;
  object-fit:contain;
}

.logo-name{
  color:var(--midnight);
  font-size:22px;
  font-weight: 700;
  line-height:1;
  letter-spacing:-.04em;
}

.logo-sign{
  width:44px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  color:var(--white);
  background:var(--orange);
  font-size:22px;
  font-weight:500;
  line-height:1;
}

.menu{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:26px;
}

.menu a{
  position:relative;
  color:#4D4D50;
  font-size:14px;
  font-weight:600;
  transition:color .2s ease;
}

.menu a::after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:-8px;
  height:2px;
  border-radius:2px;
  background:var(--orange);
  transition:right .2s ease;
}

.menu a:hover{
  color:var(--midnight);
}

.menu a:hover::after{
  right:0;
}

.header-phone{
  color:var(--midnight);
  font-size:16px;
  font-weight:800;
  white-space:nowrap;
}

.header-phone:hover{
  color:var(--orange);
}

.hero{
  padding:34px 0 60px;
}

.hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(480px,.92fr);
  min-height:680px;
  border-radius:var(--radius-lg);
  overflow:hidden;
  background:var(--midnight);
}

.hero-content{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:70px 64px;
  color:var(--white);
}

.hero-label{
  width:max-content;
  margin-bottom:28px;
  padding:9px 13px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  color:#D8D8D8;
  background:rgba(255,255,255,.05);
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.hero h1{
  max-width:760px;
  margin-bottom:26px;
  font-size:clamp(42px,4.6vw,68px);
  font-weight:500;
  line-height:.98;
  letter-spacing: -.05em;
}

.hero h1 span{
  display:block;
  color:var(--orange);
}

.hero-text{
  max-width:690px;
  margin-bottom:34px;
  color:#C7C7C8;
  font-size:18px;
  line-height:1.65;
}

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

.button{
  min-height:54px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 22px;
  border:1px solid transparent;
  border-radius:14px;
  font-size:14px;
  font-weight:800;
  transition:all .2s ease;
}

.button-orange{
  color:var(--white);
  background:var(--orange);
}

.button-orange:hover{
  color:var(--midnight);
  background:var(--white);
}

.button-dark{
  color:var(--white);
  border-color:rgba(255,255,255,.24);
  background:rgba(255,255,255,.06);
}

.button-dark:hover{
  border-color:var(--white);
  background:rgba(255,255,255,.12);
}

.hero-bottom{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:60px;
}

.hero-feature{
  min-width:0;
  padding:18px 18px 16px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:16px;
  background:rgba(255,255,255,.04);
}

.hero-feature strong{
  display:block;
  margin-bottom:5px;
  color:var(--white);
  font-size:26px;
  font-weight:500;
  line-height:1;
}

.hero-feature span{
  display:block;
  color:#AFAFB1;
  font-size:12px;
  font-weight:600;
  line-height:1.35;
}

.hero-image{
  position:relative;
  min-height:680px;
  overflow:hidden;
  background:var(--stone);
}

.hero-image::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(22,22,22,.35),transparent 35%),linear-gradient(180deg,transparent 50%,rgba(22,22,22,.32));
}

.hero-image img{
  height:100%;
  object-fit:cover;
}

.intro{
  padding:110px 0;
}

.intro-grid{
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  gap:90px;
  align-items:start;
}

.intro-title{
  position:relative;
}

.intro-title > span{
  display:block;
  margin-bottom:24px;
  color:var(--orange);
  font-size:13px;
  font-weight:800;
}

.intro-title h2{
  margin:0;
  font-size:clamp(34px,3.8vw,52px);
  font-weight:500;
  line-height:.98;
  letter-spacing: -.05em;
}

.intro-text{
  padding-top:43px;
}

.intro-text p{
  max-width:760px;
  margin-bottom:28px;
  color:#48484A;
  font-size:20px;
  line-height:1.65;
}

.intro-text p:last-child{
  margin-bottom:0;
}

.services{
  padding:110px 0;
  background: #DDD1BC;
}

.section-head{
  display:grid;
  grid-template-columns:80px minmax(0,1fr);
  gap:26px;
  margin-bottom:54px;
  align-items:start;
}

.section-number{
  padding-top:6px;
  color:var(--orange);
  font-size:13px;
  font-weight:800;
}

.section-label{
  display:block;
  margin-bottom:12px;
  color:var(--orange);
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.section-head h2{
  max-width:840px;
  margin:0;
  font-size:clamp(34px,3.8vw,50px);
  font-weight:500;
  line-height:.98;
  letter-spacing: -.05em;
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:22px;
}

.service-card{
  grid-column:span 4;
  display:flex;
  flex-direction:column;
  min-height:520px;
  overflow:hidden;
  border-radius:var(--radius-md);
  background:var(--surface);
  box-shadow:var(--shadow-sm);
  transition:transform .25s ease,box-shadow .25s ease;
}

.service-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-md);
}

.service-card-wide{
  grid-column:span 8;
}

.service-image{
  aspect-ratio:16/10;
  overflow:hidden;
  background:var(--stone);
}

.service-image img{
  height:100%;
  object-fit:cover;
  transition:transform .5s ease;
}

.service-card:hover .service-image img{
  transform:scale(1.035);
}

.service-content{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:26px;
}

.service-index{
  display:block;
  margin-bottom:30px;
  color:var(--orange);
  font-size:12px;
  font-weight:800;
}

.service-content h3{
  margin-bottom:14px;
  font-size:24px;
  font-weight:800;
  line-height:1.08;
}

.service-content p{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.65;
}

.service-card-dark{
  color:var(--white);
  background:var(--midnight);
}

.service-card-dark .service-content p{
  color:#B8B8BA;
}

.about{
  padding:120px 0;
  background:var(--silver);
}

.about-grid{
  display:grid;
  grid-template-columns:minmax(420px,.9fr) minmax(0,1.1fr);
  gap:80px;
  align-items:stretch;
}

.about-image{
  position:relative;
  min-height:760px;
  overflow:hidden;
  border-radius:var(--radius-lg);
  background:var(--stone);
}

.about-image img{
  height:100%;
  object-fit:cover;
}

.about-content{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.about-head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-bottom:22px;
}

.about-content > h2{
  max-width:800px;
  margin-bottom:28px;
  font-size:clamp(36px,4vw,52px);
  font-weight:500;
  line-height:.98;
  letter-spacing: -.05em;
}

.about-lead{
  max-width:760px;
  margin-bottom:42px;
  color:#505054;
  font-size:19px;
  line-height:1.7;
}

.about-list{
  display:grid;
  gap:0;
  border-top:1px solid var(--line);
}

.about-item{
  display:grid;
  grid-template-columns:56px 1fr;
  gap:20px;
  padding:24px 0;
  border-bottom:1px solid var(--line);
}

.about-item > span{
  color:var(--orange);
  font-size:12px;
  font-weight:800;
}

.about-item h3{
  margin-bottom:8px;
  font-size:18px;
  font-weight:800;
}

.about-item p{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.6;
}

.statement{
  padding:36px 0;
  background:var(--orange);
}

.statement-inner{
  display:flex;
  align-items:center;
  min-height:330px;
}

.statement-inner p{
  max-width:1080px;
  margin:0;
  color:var(--midnight);
  font-size:clamp(34px,4vw,54px);
  font-weight:500;
  line-height:.98;
  letter-spacing:-.055em;
}

.statement-inner strong{
  font-weight:500;
}

.solutions{
  padding:110px 0;
  background: #DDD1BC;
}

.solutions-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.solution-item{
  min-height:250px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:26px;
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  background:var(--surface);
  transition:transform .2s ease,border-color .2s ease;
}

.solution-item:hover{
  transform:translateY(-4px);
  border-color:var(--stone);
}

.solution-item > span{
  margin-bottom:auto;
  color:var(--stone);
  font-size:12px;
  font-weight:800;
}

.solution-item h3{
  margin-bottom:10px;
  font-size:21px;
  font-weight:800;
  line-height:1.1;
}

.solution-item p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}

.solution-item-orange{
  color:var(--midnight);
  border-color:var(--orange);
  background:var(--orange);
}

.solution-item-orange > span,
.solution-item-orange p{
  color:rgba(22,22,22,.65);
}

.steps{
  padding:110px 0;
  color: #3B0016;
  background:var(--midnight);
}

.section-head-light .section-number,
.section-head-light .section-label{
  color:var(--orange);
}

.section-head-light h2{
  color:var(--white);
}

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

.step{
  min-height:340px;
  display:flex;
  flex-direction:column;
  padding:30px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius-md);
  background: #EEE7DB;
}

.step-number{
  display:block;
  margin-bottom:auto;
  color: #3a0016;
  font-size:13px;
  font-weight:800;
}

.step h3{
  margin-bottom:14px;
  font-size:24px;
  font-weight:800;
  line-height:1.08;
}

.step p{
  margin:0;
  color: #000000;
  font-size:15px;
  line-height:1.65;
}

.step-orange{
  color:var(--midnight);
  border-color:var(--orange);
  background:var(--orange);
}

.step-orange .step-number,
.step-orange p{
  color:rgba(22,22,22,.65);
}

.contacts{
  padding:120px 0;
  background:var(--silver);
}

.contacts-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(420px,.8fr);
  gap:100px;
  align-items:start;
}

.contacts-main h2{
  max-width:760px;
  margin-bottom:26px;
  font-size:clamp(38px,4.6vw,60px);
  font-weight:500;
  line-height:.98;
  letter-spacing:-.055em;
}

.contacts-main > p{
  max-width:630px;
  margin-bottom:40px;
  color:var(--muted);
  font-size:18px;
  line-height:1.65;
}

.contacts-phone{
  display:block;
  width:max-content;
  margin-bottom:14px;
  color:var(--orange);
  font-size:clamp(34px,4vw,56px);
  font-weight:500;
  line-height:.98;
  letter-spacing:-.055em;
}

.contacts-phone:hover{
  color:var(--midnight);
}

.contacts-email{
  display:block;
  width:max-content;
  font-size:17px;
  font-weight:700;
}

.contacts-email:hover{
  color:var(--orange);
}

.contacts-data{
  border-top:1px solid var(--line);
}

.contacts-row{
  display:grid;
  grid-template-columns:150px minmax(0,1fr);
  gap:24px;
  padding:20px 0;
  border-bottom:1px solid var(--line);
}

.contacts-row > span{
  color:var(--muted);
  font-size:12px;
  font-weight:600;
}

.contacts-row strong{
  font-size:14px;
  font-weight:700;
  line-height:1.5;
}

.contacts-row a:hover{
  color:var(--orange);
}

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

.footer-main{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:40px;
  padding-bottom:48px;
}

.footer-logo{
  display:inline-flex;
  align-items:center;
  flex-shrink:0;
}

.footer-logo img{
  width:42px;
  height:42px;
  object-fit:contain;
}

.footer-contact{
  display:grid;
  gap:8px;
  text-align:right;
}

.footer-contact a:first-child{
  font-size:19px;
  font-weight:800;
}

.footer-contact a:last-child{
  color:#AFAFB1;
  font-size:14px;
}

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

.footer-bottom{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:40px;
  padding-top:26px;
  border-top:1px solid rgba(255,255,255,.1);
}

.footer-legal{
  display:flex;
  flex-wrap:wrap;
  gap:10px 22px;
  max-width:820px;
}

.footer-legal a,
.footer-radar{
  color:#8E8E90;
  font-size:11px;
  font-weight:600;
  line-height:1.5;
}

.footer-legal a:hover,
.footer-radar:hover{
  color:var(--orange);
}

.cookie-banner{
  position:fixed;
  z-index:1000;
  right:20px;
  bottom:20px;
  left:20px;
  opacity:0;
  visibility:hidden;
  transform:translateY(20px);
  transition:opacity .25s ease,transform .25s ease,visibility .25s ease;
}

.cookie-banner.cookie-banner-visible{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.cookie-banner.cookie-banner-hidden{
  opacity:0;
  visibility:hidden;
  transform:translateY(20px);
  pointer-events:none;
}

.cookie-banner .container{
  width:min(100%,780px);
  margin-left:auto;
  margin-right:0;
}

.cookie-banner-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:18px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:18px;
  color:var(--white);
  background:var(--midnight);
  box-shadow:var(--shadow-md);
}

.cookie-banner-text{
  margin:0;
  color:#BDBDBF;
  font-size:12px;
  line-height:1.55;
}

.cookie-banner-text a{
  margin-left:4px;
  color:var(--orange);
  font-weight:700;
}

.cookie-banner-button{
  min-width:120px;
  min-height:44px;
  padding:0 18px;
  border:0;
  border-radius:12px;
  color:var(--white);
  background:var(--orange);
  cursor:pointer;
  font-size:12px;
  font-weight:800;
  transition:background .2s ease,color .2s ease;
}

.cookie-banner-button:hover{
  color:var(--midnight);
  background:var(--white);
}

@media (max-width:1180px){
  .header-row{
    gap:24px;
  }

  .menu{
    gap:18px;
  }

  .menu a{
    font-size:13px;
  }

  .hero-grid{
    grid-template-columns:minmax(0,1fr) minmax(400px,.85fr);
  }

  .hero-content{
    padding:60px 48px;
  }

  .about-grid{
    gap:50px;
  }

  .contacts-grid{
    gap:60px;
  }
}

@media (max-width:980px){
  .header-row{
    grid-template-columns:auto auto;
    justify-content:space-between;
  }

  .menu{
    grid-column:1/-1;
    justify-content:flex-start;
    order:3;
    min-width:0;
    overflow-x:auto;
    padding:0 0 16px;
    scrollbar-width:none;
  }

  .menu::-webkit-scrollbar{
    display:none;
  }

  .header-phone{
    justify-self:end;
  }

  .hero-grid{
    grid-template-columns:1fr;
  }

  .hero-content{
    min-height:620px;
  }

  .hero-image{
    min-height:540px;
  }

  .intro-grid{
    grid-template-columns:1fr;
    gap:40px;
  }

  .intro-text{
    padding-top:0;
  }

  .service-card,
  .service-card-wide{
    grid-column:span 6;
  }

  .about-grid{
    grid-template-columns:1fr;
  }

  .about-image{
    min-height:560px;
  }

  .statement-inner{
    min-height:280px;
  }

  .solutions-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .contacts-grid{
    grid-template-columns:1fr;
  }

  .contacts-data{
    margin-top:10px;
  }
}

@media (max-width:720px){
  .container{
    width:min(calc(100% - 24px),var(--container));
  }

  .header-row{
    min-height:72px;
    gap:18px;
  }

  .logo img{
    width:38px;
    height:38px;
  }

  .logo-sign{
    width:40px;
    height:40px;
    border-radius:10px;
  }

  .logo-name{
    font-size:19px;
  }

  .header-phone{
    font-size:14px;
  }

  .menu{
    gap:18px;
  }

  .hero{
    padding:14px 0 40px;
  }

  .hero-grid{
    min-height:auto;
    border-radius:22px;
  }

  .hero-content{
    min-height:auto;
    padding:46px 24px 30px;
  }

  .hero-label{
    margin-bottom:20px;
  }

  .hero h1{
    margin-bottom:22px;
    font-size:38px;
  }

  .hero-text{
    font-size:16px;
    line-height:1.55;
  }

  .button{
    width:100%;
  }

  .hero-bottom{
    grid-template-columns:1fr;
    margin-top:38px;
  }

  .hero-feature{
    display:grid;
    grid-template-columns:80px 1fr;
    align-items:center;
    gap:14px;
  }

  .hero-feature strong{
    margin-bottom:0;
  }

  .hero-image{
    min-height:400px;
  }

  .intro,
  .services,
  .about,
  .solutions,
  .steps,
  .contacts{
    padding:76px 0;
  }

  .intro-title h2{
    font-size:32px;
  }

  .intro-text p{
    font-size:17px;
  }

  .section-head{
    grid-template-columns:1fr;
    gap:12px;
    margin-bottom:36px;
  }

  .section-number{
    padding-top:0;
  }

  .section-head h2{
    font-size:32px;
  }

  .services-grid{
    display:block;
  }

  .service-card,
  .service-card-wide{
    min-height:auto;
    margin-bottom:18px;
  }

  .service-card:last-child{
    margin-bottom:0;
  }

  .service-content{
    padding:22px;
  }

  .service-index{
    margin-bottom:20px;
  }

  .service-content h3{
    font-size:22px;
  }

  .about-grid{
    gap:40px;
  }

  .about-image{
    min-height:440px;
    border-radius:22px;
  }

  .about-content > h2{
    font-size:32px;
  }

  .about-lead{
    font-size:17px;
  }

  .about-item{
    grid-template-columns:42px 1fr;
  }

  .statement{
    padding:30px 0;
  }

  .statement-inner{
    min-height:auto;
    padding:34px 0;
  }

  .statement-inner p{
    font-size:32px;
  }

  .solutions-grid{
    grid-template-columns:1fr;
  }

  .solution-item{
    min-height:210px;
  }

  .steps-grid{
    grid-template-columns:1fr;
  }

  .step{
    min-height:280px;
  }

  .step h3{
    font-size:22px;
  }

  .contacts-main h2{
    font-size:36px;
  }

  .contacts-main > p{
    font-size:16px;
  }

  .contacts-phone{
    font-size:34px;
  }

  .contacts-row{
    grid-template-columns:1fr;
    gap:8px;
  }

  .footer-main{
    display:grid;
    gap:30px;
  }

  .footer-contact{
    text-align:left;
  }

  .footer-bottom{
    display:grid;
    gap:24px;
  }

  .cookie-banner{
    right:12px;
    bottom:12px;
    left:12px;
  }

  .cookie-banner .container{
    width:100%;
  }

  .cookie-banner-inner{
    display:block;
    padding:16px;
  }

  .cookie-banner-text{
    margin-bottom:14px;
  }

  .cookie-banner-button{
    width:100%;
  }
}

/*payment*/
.payment{
  min-height:calc(100vh - 82px);
  padding:90px 0 120px;
  background:var(--silver);
}

.payment-head{
  max-width:820px;
  margin-bottom:54px;
}

.payment-head h1{
  margin-bottom:20px;
  font-size:clamp(42px,4.6vw,62px);
  font-weight:500;
  line-height:.98;
  letter-spacing:-.055em;
}

.payment-head > p{
  max-width:620px;
  margin:0;
  color:var(--muted);
  font-size:18px;
  line-height:1.65;
}

.payment-alert{
  margin-bottom:24px;
  padding:18px 22px;
  border-radius:16px;
  color:var(--midnight);
  background:var(--orange);
  font-size:14px;
  font-weight:700;
  line-height:1.5;
}

.payment-grid{
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(460px,1fr);
  gap:22px;
}

.payment-info{
  min-height:440px;
  display:flex;
  flex-direction:column;
  padding:36px;
  border-radius:var(--radius-md);
  color:var(--white);
  background:var(--midnight);
}

.payment-index{
  display:block;
  margin-bottom:auto;
  color:var(--orange);
  font-size:12px;
  font-weight:800;
}

.payment-info h2{
  max-width:440px;
  margin-bottom:16px;
  font-size:32px;
  font-weight:500;
  line-height:1.05;
  letter-spacing:-.04em;
}

.payment-info > p{
  max-width:500px;
  margin-bottom:32px;
  color:#ADADAF;
  font-size:15px;
  line-height:1.65;
}

.payment-note{
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.12);
}

.payment-note span{
  display:block;
  margin-bottom:8px;
  color:var(--orange);
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
}

.payment-note p{
  margin:0;
  color:#BDBDBF;
  font-size:14px;
  line-height:1.55;
}

.payment-form-wrap{
  padding:36px;
  border-radius:var(--radius-md);
  background:var(--white);
  box-shadow:var(--shadow-sm);
}

.payment-form{
  display:grid;
  gap:28px;
}

.form-group{
  display:grid;
  gap:10px;
}

.form-group label{
  color:var(--midnight);
  font-size:13px;
  font-weight:700;
}

.form-group input{
  width:100%;
  height:58px;
  padding:0 18px;
  border:1px solid var(--line);
  border-radius:14px;
  outline:none;
  color:var(--midnight);
  background:var(--surface-soft);
  font-family:var(--font);
  font-size:16px;
  font-weight:500;
  transition:border-color .2s ease,background .2s ease,box-shadow .2s ease;
}

.form-group input::placeholder{
  color:#A1A1A4;
}

.form-group input:focus{
  border-color:var(--orange);
  background:var(--white);
  box-shadow:0 0 0 4px rgba(244,74,34,.08);
}

.form-group input.is-invalid{
  border-color:#D53939;
}

.amount-field{
  position:relative;
}

.amount-field input{
  padding-right:54px;
}

.amount-field > span{
  position:absolute;
  top:50%;
  right:20px;
  color:var(--muted);
  font-size:16px;
  font-weight:700;
  transform:translateY(-50%);
  pointer-events:none;
}

.form-error{
  display:none;
  color:#C92E2E;
  font-size:12px;
  font-weight:600;
  line-height:1.4;
}

.form-error.show{
  display:block;
}

.payment-submit{
  width:100%;
  min-height:58px;
  margin-top:4px;
  padding:0 24px;
  border:0;
  border-radius:14px;
  color:var(--white);
  background:var(--orange);
  cursor:pointer;
  font-size:14px;
  font-weight:800;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}

.payment-submit:hover{
  color:var(--white);
  background:var(--midnight);
}

.payment-submit:active{
  transform:translateY(1px);
}

@media (max-width:980px){
  .payment{
    padding:76px 0 100px;
  }

  .payment-grid{
    grid-template-columns:1fr;
  }

  .payment-info{
    min-height:360px;
  }
}

@media (max-width:720px){
  .payment{
    padding:58px 0 76px;
  }

  .payment-head{
    margin-bottom:36px;
  }

  .payment-head h1{
    font-size:36px;
  }

  .payment-head > p{
    font-size:16px;
  }

  .payment-alert{
    padding:16px;
    font-size:13px;
  }

  .payment-info{
    min-height:320px;
    padding:24px;
  }

  .payment-info h2{
    font-size:28px;
  }

  .payment-form-wrap{
    padding:24px;
  }

  .form-group input{
    height:54px;
  }

  .payment-submit{
    min-height:54px;
  }
}
.payment-submit:disabled{
  cursor:not-allowed;
  opacity:.45;
  pointer-events:none;
}

/*legal*/
.legal{
  padding:90px 0 120px;
  background:var(--silver);
}

.legal-head{
  margin-bottom:52px;
}

.legal-head h1{
  margin:0;
  font-size:clamp(38px,4.6vw,60px);
  font-weight:500;
  line-height:.98;
  letter-spacing:-.055em;
}

.legal-layout{
  display:grid;
  grid-template-columns:320px minmax(0,1fr);
  gap:42px;
  align-items:start;
}

.legal-tabs{
  position:sticky;
  top:110px;
  display:grid;
  gap:10px;
}

.legal-tab{
  width:100%;
  padding:18px 20px;
  border:1px solid var(--line);
  border-radius:14px;
  color:var(--midnight);
  background:var(--white);
  cursor:pointer;
  text-align:left;
  font-size:14px;
  font-weight:600;
  line-height:1.45;
  transition:background .2s ease,color .2s ease,border-color .2s ease;
}

.legal-tab:hover{
  border-color:var(--stone);
}

.legal-tab.active{
  color:var(--white);
  border-color:var(--midnight);
  background:var(--midnight);
}

.legal-content{
  min-width:0;
}

.legal-panel{
  display:none;
  padding:38px;
  border-radius:var(--radius-md);
  background:var(--white);
  box-shadow:var(--shadow-sm);
}

.legal-panel.active{
  display:block;
}

.legal-panel h1,
.legal-panel h2,
.legal-panel h3,
.legal-panel h4{
  color:var(--midnight);
  font-weight:700;
  line-height:1.25;
}

.legal-panel h1{
  margin-bottom:28px;
  font-size:32px;
}

.legal-panel h2{
  margin-top:38px;
  margin-bottom:18px;
  font-size:24px;
}

.legal-panel h3{
  margin-top:28px;
  margin-bottom:14px;
  font-size:20px;
}

.legal-panel h4{
  margin-top:24px;
  margin-bottom:12px;
  font-size:17px;
}

.legal-panel p{
  margin-bottom:18px;
  color:#4B4B4E;
  font-size:15px;
  line-height:1.75;
}

.legal-panel ul,
.legal-panel ol{
  margin:0 0 22px;
  padding-left:24px;
}

.legal-panel li{
  margin-bottom:10px;
  color:#4B4B4E;
  font-size:15px;
  line-height:1.7;
}

.legal-panel a{
  color:var(--orange);
  text-decoration:underline;
  text-underline-offset:3px;
}

.legal-panel table{
  width:100%;
  margin:24px 0;
  border-collapse:collapse;
  font-size:14px;
}

.legal-panel th,
.legal-panel td{
  padding:14px;
  border:1px solid var(--line);
  text-align:left;
  vertical-align:top;
  line-height:1.5;
}

.legal-panel th{
  color:var(--midnight);
  background:var(--surface-soft);
  font-weight:700;
}

@media (max-width:980px){
  .legal{
    padding:76px 0 100px;
  }

  .legal-layout{
    grid-template-columns:1fr;
    gap:24px;
  }

  .legal-tabs{
    position:static;
    grid-template-columns:repeat(3,1fr);
  }

  .legal-tab{
    padding:16px;
    font-size:13px;
  }
}

@media (max-width:720px){
  .legal{
    padding:58px 0 76px;
  }

  .legal-head{
    margin-bottom:34px;
  }

  .legal-head h1{
    font-size:36px;
  }

  .legal-tabs{
    grid-template-columns:1fr;
  }

  .legal-panel{
    padding:24px;
    border-radius:18px;
  }

  .legal-panel h1{
    font-size:26px;
  }

  .legal-panel h2{
    font-size:21px;
  }

  .legal-panel h3{
    font-size:18px;
  }

  .legal-panel p,
  .legal-panel li{
    font-size:14px;
  }

  .legal-panel{
    overflow-x:auto;
  }
}

/*404*/
.error-section{
  min-height:calc(100vh - 82px);
  display:flex;
  align-items:center;
  padding:90px 0 120px;
  background:var(--silver);
}

.error-layout{
  display:grid;
  grid-template-columns:minmax(320px,.8fr) minmax(0,1fr);
  gap:80px;
  align-items:center;
}

.error-code{
  color:var(--orange);
  font-size:clamp(150px,20vw,300px);
  font-weight:500;
  line-height:.75;
  letter-spacing:-.08em;
}

.error-content{
  max-width:620px;
}

.error-content .section-label{
  margin-bottom:18px;
}

.error-content h1{
  margin-bottom:24px;
  font-size:clamp(42px,5vw,68px);
  font-weight:500;
  line-height:.98;
  letter-spacing:-.055em;
}

.error-content p{
  max-width:520px;
  margin-bottom:34px;
  color:var(--muted);
  font-size:18px;
  line-height:1.65;
}

@media (max-width:980px){
  .error-layout{
    grid-template-columns:1fr;
    gap:50px;
  }

  .error-code{
    font-size:clamp(130px,30vw,220px);
  }
}

@media (max-width:720px){
  .error-section{
    min-height:calc(100vh - 72px);
    padding:58px 0 76px;
  }

  .error-layout{
    gap:38px;
  }

  .error-code{
    font-size:120px;
  }

  .error-content h1{
    font-size:36px;
  }

  .error-content p{
    margin-bottom:28px;
    font-size:16px;
  }

  .error-content .button{
    width:auto;
  }
}