
:root{
  --dark:#0e1825;
  --black:#121212;
  --text:#182130;
  --muted:#6e7480;
  --gold:#c7964b;
  --gold2:#e1b766;
  --line:#e8dfd2;
  --bg:#fbf8f3;
  --white:#fff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--text);
  background:#fff;
}
a{color:inherit;text-decoration:none}
.container{width:min(1180px, calc(100% - 40px));margin:0 auto}
.site-header{
  height:82px;
  background:#fff;
  border-bottom:1px solid #eee5d9;
  position:sticky;
  top:0;
  z-index:20;
}
.header-inner{height:100%;display:flex;align-items:center;gap:34px}
.logo,.footer-brand{display:flex;align-items:center;gap:14px}
.logo strong,.footer-brand strong{font-size:20px;letter-spacing:.02em;color:#172033}
.logo small{display:block;font-size:12px;line-height:1.15;color:#5c6270;margin-top:3px}
.logo-mark{
  width:42px;height:42px;border:2px solid var(--gold);
  display:inline-block;border-radius:8px;position:relative;transform:rotate(30deg)
}
.logo-mark:before,.logo-mark:after{content:"";position:absolute;background:var(--gold)}
.logo-mark:before{width:2px;height:40px;left:19px;top:-1px}
.logo-mark:after{height:2px;width:38px;left:1px;top:19px}
.menu{display:flex;align-items:center;gap:34px;margin-left:auto;font-size:15px}
.menu a{transition:.2s}
.menu a:hover{color:var(--gold)}
.header-phone{font-size:22px;font-weight:800;color:#111927;white-space:nowrap}
.burger{display:none;background:none;border:0;padding:0}
.burger span{display:block;width:28px;height:2px;background:#111;margin:6px 0}

.hero{
    position:relative;
    min-height:700px;
    overflow:hidden;
}

.hero-bg{
    position:absolute;
    inset:0;
    z-index:1;
}

.hero-bg video{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.hero-bg::after{
    content:'';
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
}

.hero-inner{
    position:relative;
    z-index:2;
}

.hero-inner{position:relative;min-height:560px;display:flex;align-items:center}
.hero-content{max-width:540px;padding:56px 0}
.eyebrow{
  display:inline-flex;
  padding:9px 15px;
  border:1px solid #ecd8bf;
  border-radius:30px;
  color:#9c6421;
  background:rgba(255,255,255,.75);
  font-weight:700;
  font-size:13px;
  margin-bottom:24px;
}
h1,h2,h3,p{margin-top:0}
h1{
  font-size:54px;
  line-height:1.05;
  color:#eee;
  letter-spacing:-.04em;
  margin-bottom:22px;
}
.hero p{font-size:18px;line-height:1.55;color:#fff;margin-bottom:28px}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:28px}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 28px;
  border-radius:7px;
  font-weight:800;
  border:1px solid #dfc6a2;
  cursor:pointer;
}
.btn-primary{
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  color:#fff;
  box-shadow:0 12px 24px rgba(199,150,75,.22);
}
.btn-light,.btn-outline{background:#fff;color:#b27931}
.btn-outline{min-width:260px}
.phone-card{
  display:inline-grid;
  grid-template-columns:34px auto;
  grid-template-areas:"i s" "i b";
  gap:0 12px;
  background:#fff;
  border:1px solid #eadcc9;
  border-radius:12px;
  padding:14px 18px;
}
.phone-card span{grid-area:i;font-size:27px;color:var(--gold)}
.phone-card small{grid-area:s;color:#6a7080}
.phone-card strong{grid-area:b;font-size:19px;color:#111}

.features-strip{
  background:#fff;
  border-top:1px solid #eee5d9;
  border-bottom:1px solid #eee5d9;
}
.strip-grid{display:grid;grid-template-columns:repeat(3,1fr)}
.strip-item{display:flex;align-items:center;gap:20px;padding:28px 38px;border-right:1px solid #eee5d9}
.strip-item:last-child{border-right:0}
.icon{font-size:48px;color:var(--gold);line-height:1}
.strip-item strong{font-size:18px;color:#162033}
.strip-item p{margin:6px 0 0;color:#4d5665}

.section{padding:34px 0;border-bottom:1px solid #eee5d9}
.section-head h2,.section h2,.order-section h2{font-size:30px;color:#111b2d;margin-bottom:8px}
.section-head p{color:#4f5968}
.logos{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:22px;
  align-items:center;
  margin-top:28px;
}
.logos span{
  min-height:70px;
  display:flex;align-items:center;justify-content:center;
  text-align:center;
  font-size:22px;
  font-weight:800;
  color:#1b2330;
  filter:grayscale(1);
  opacity:.78;
}
.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:18px;margin-top:24px}
.category{text-align:center}
.category span{display:block;font-size:50px;color:var(--gold);margin-bottom:12px}
.category p{font-weight:700;line-height:1.25;color:#1b2330}

.advantages{background:#fff}
.adv-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:0;margin-top:24px;border:1px solid #eee5d9;border-radius:14px;overflow:hidden}
.adv-grid article{padding:28px 18px;text-align:center;border-right:1px solid #eee5d9;background:#fff}
.adv-grid article:last-child{border-right:0}
.adv-grid span{font-size:44px;color:#344054}
.adv-grid h3{font-size:16px;line-height:1.25;margin:14px 0 12px}
.adv-grid p{font-size:14px;line-height:1.55;color:#4f5968;margin:0}

.cases{background:#fff}
.case-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:22px;margin-top:24px}
.case-grid article{text-align:center}
.case-img{
  height:150px;border-radius:8px;
  background:#eee;
  margin-bottom:14px;
  box-shadow:0 8px 20px rgba(21,24,29,.08);
}

.case-grid p{font-weight:700;line-height:1.3}
.center{text-align:center;margin-top:28px}

.order-section{
  background:
    linear-gradient(90deg,#fff 0%,#fff 55%,rgba(248,243,236,.6) 56%),
    radial-gradient(circle at 92% 46%, rgba(199,150,75,.28), transparent 22%);
  padding:52px 0;
}
.order-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:58px;align-items:center}
.form-card input,.form-card textarea{
  width:100%;
  border:1px solid #ddd6ce;
  border-radius:5px;
  min-height:48px;
  padding:0 15px;
  font-size:15px;
  margin-bottom:14px;
  background:#fff;
}
.form-card textarea{height:130px;padding-top:14px;resize:vertical}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.checkbox{display:flex;gap:10px;align-items:center;font-size:13px;color:#4f5968;margin-bottom:18px}
.form-card .btn{width:100%;border:0}

.solution-card h2{font-size:28px}
.solution-card ul{list-style:none;padding:0;margin:24px 0 0}
.solution-card li{font-size:17px;margin:18px 0;position:relative;padding-left:42px}
.solution-card li:before{
  content:"✓";
  position:absolute;left:0;top:-2px;
  width:27px;height:27px;border-radius:50%;
  display:grid;place-items:center;
  background:var(--gold);color:#fff;font-weight:900;
}

.footer{
  background:linear-gradient(135deg,#111a27,#1d2937);
  color:#fff;
  padding:38px 0 24px;
}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px;align-items:center}
.footer .logo-mark{width:48px;height:48px}
.footer p{margin:4px 0 0;color:#cbd2dc;font-size:14px;line-height:1.35}
.footer a{color:#fff}
.footer-bottom{
  margin-top:34px;
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.14);
  display:flex;
  justify-content:space-between;
  color:#cbd2dc;
  font-size:14px;
}

@media (max-width:1000px){
  .header-phone{font-size:18px}
  .menu{display:none;position:absolute;top:82px;left:0;right:0;background:#fff;padding:20px;box-shadow:0 20px 30px rgba(0,0,0,.08)}
  .menu.is-open{display:grid;gap:14px}
  .burger{display:block;margin-left:auto}
  h1{font-size:42px}
  .strip-grid,.order-grid{grid-template-columns:1fr}
  .strip-item{border-right:0;border-bottom:1px solid #eee5d9}
  .logos,.category-grid,.case-grid{grid-template-columns:repeat(3,1fr)}
  .adv-grid{grid-template-columns:repeat(2,1fr)}
  .adv-grid article{border-bottom:1px solid #eee5d9}
  .solution-card{padding-right:0;background-size:220px;background-position:right 90%}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .container{width:min(100% - 28px,1180px)}
  .site-header{height:72px}
  .menu{top:72px}
  .logo small{display:none}
  .header-phone{display:none}
  .hero,.hero-inner{min-height:auto}
  .hero-bg{background:
    linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 58%, rgba(255,255,255,.4) 100%),
    url("../assets/hero-photo.png") center/cover no-repeat}
  .hero-content{padding:54px 0 190px}
  h1{font-size:34px}
  .hero p{font-size:16px}
  .hero-actions{display:grid}
  .logos,.category-grid,.case-grid{grid-template-columns:repeat(2,1fr)}
  .adv-grid{grid-template-columns:1fr}
  .form-row{grid-template-columns:1fr}
  .footer-grid,.footer-bottom{grid-template-columns:1fr;display:grid;gap:18px}
}


.logo-image img{
  display:block;
  width:132px;
  height:auto;
}
.footer-brand img{
  width:132px;
  height:auto;
  background:#fff;
  border-radius:6px;
  padding:6px;
}
@media (max-width:640px){
  .logo-image img{width:118px}
}


/* form checkbox fix */
.checkbox{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  margin:4px 0 18px;
  font-size:13px;
  line-height:1.35;
  color:#4f5968;
}

.checkbox input{
  width:18px;
  height:18px;
  min-height:18px;
  flex:0 0 18px;
  margin:0;
  padding:0;
  accent-color:var(--gold);
}

.checkbox span{
  display:block;
}

.form-card input[type="checkbox"]{
  width:18px;
  min-height:18px;
  margin-bottom:0;
}


/* interactive blocks */
.strip-item,
.category,
.adv-grid article,
.logos span,
.case-grid article{
  transition:transform .28s ease, box-shadow .28s ease, background .28s ease, color .28s ease, border-color .28s ease, opacity .28s ease;
}

.strip-item:hover{
  transform:translateY(-4px);
  background:#fffaf2;
}

.strip-item:hover .icon,
.category:hover span{
  transform:scale(1.08) rotate(-3deg);
  color:#d59b42;
}

.icon,
.category span,
.adv-grid span{
  transition:transform .28s ease, color .28s ease;
}

.category{
  border-radius:16px;
  padding:18px 10px;
}

.category:hover{
  transform:translateY(-6px);
  background:#fffaf2;
  box-shadow:0 18px 35px rgba(18,18,18,.08);
}

.adv-grid article:hover{
  transform:translateY(-8px);
  background:linear-gradient(180deg,#fff,#fff8ee);
  box-shadow:0 18px 35px rgba(18,18,18,.10);
  z-index:2;
}

.adv-grid article:hover span{
  color:var(--gold);
  transform:scale(1.08);
}

.logos span:hover{
  opacity:1;
  filter:grayscale(0);
  transform:translateY(-4px);
}

.case-slider{
  position:relative;
}

.case-grid article:hover{
  transform:translateY(-8px);
}

.case-grid article:hover .case-img{
  transform:scale(1.03);
  box-shadow:0 22px 42px rgba(18,18,18,.18);
}

.case-img{
  transition:transform .3s ease, box-shadow .3s ease;
}

.slider-btn{
  display:none;
  position:absolute;
  top:72px;
  z-index:5;
  width:44px;
  height:44px;
  border:1px solid #ead7bd;
  border-radius:50%;
  background:#fff;
  color:#b27931;
  font-size:34px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 12px 28px rgba(18,18,18,.12);
}

.slider-prev{left:-12px}
.slider-next{right:-12px}

.slider-btn:hover{
  background:var(--gold);
  color:#fff;
}

@media (max-width:1000px){
  .category-grid{
    grid-template-columns:repeat(3, minmax(0,1fr));
  }

  .adv-grid{
    border:0;
    gap:14px;
  }

  .adv-grid article{
    border:1px solid #eee5d9 !important;
    border-radius:16px;
  }

  .case-slider{
    padding:0 36px;
  }

  .case-grid{
    display:flex;
    gap:18px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    padding:8px 0 18px;
  }

  .case-grid::-webkit-scrollbar{
    height:6px;
  }

  .case-grid::-webkit-scrollbar-thumb{
    background:#d7b37c;
    border-radius:10px;
  }

  .case-grid article{
    flex:0 0 240px;
    scroll-snap-align:start;
  }

  .slider-btn{
    display:block;
  }
}

@media (max-width:640px){
  .logos{
    grid-template-columns:repeat(2,1fr);
    gap:12px;
  }

  .logos span{
    min-height:58px;
    font-size:17px;
    border:1px solid #eee5d9;
    border-radius:12px;
    background:#fff;
  }

  .category-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:10px;
  }

  .category{
    background:#fff;
    border:1px solid #eee5d9;
  }

  .category span{
    font-size:42px;
  }

  .adv-grid article{
    padding:24px 18px;
  }

  .case-slider{
    padding:0 28px;
  }

  .case-grid article{
    flex-basis:220px;
  }

  .slider-prev{left:-6px}
  .slider-next{right:-6px}
}


/* real cropped icons */
.icon-img{
  width:48px;
  height:48px;
  object-fit:contain;
  flex:0 0 48px;
  transition:transform .28s ease, filter .28s ease;
}

.category img{
  display:block;
  width:54px;
  height:54px;
  object-fit:contain;
  margin:0 auto 12px;
  transition:transform .28s ease, filter .28s ease;
}

.adv-grid article img{
  display:block;
  width:56px;
  height:56px;
  object-fit:contain;
  margin:0 auto 14px;
  transition:transform .28s ease, filter .28s ease;
}

.strip-item:hover .icon-img,
.category:hover img,
.adv-grid article:hover img{
  transform:scale(1.08) translateY(-2px);
  filter:drop-shadow(0 8px 10px rgba(199,150,75,.18));
}

.category span,
.adv-grid span{
  display:none;
}


/* clients real logos */
.clients-logos{
  align-items:center;
}

.clients-logos a,
.clients-logos span{
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  background:#fff;
  border:1px solid transparent;
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease, opacity .28s ease, filter .28s ease;
}

.clients-logos img{
  display:block;
  max-width:100%;
  max-height:64px;
  object-fit:contain;
  filter:grayscale(100%);
  opacity:.72;
  transition:transform .28s ease, filter .28s ease, opacity .28s ease;
}

.clients-logos a:hover,
.clients-logos span:hover{
  transform:translateY(-4px);
  border-color:#ead7bd;
  box-shadow:0 16px 34px rgba(18,18,18,.08);
}

.clients-logos a:hover img{
  filter:grayscale(0);
  opacity:1;
  transform:scale(1.04);
}

.clients-logos span{
  font-size:18px;
  font-weight:800;
  color:#1b2330;
  text-align:center;
  filter:grayscale(1);
  opacity:.72;
}

@media (max-width:1000px){
  .clients-logos{
    grid-template-columns:repeat(3,1fr);
  }
}

@media (max-width:640px){
  .clients-logos{
    display:flex;
    gap:14px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding-bottom:10px;
  }

  .clients-logos a,
  .clients-logos span{
    flex:0 0 180px;
    scroll-snap-align:start;
  }
}


.case-item{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.case-item:hover{
    transform:translateY(-6px);
}

.case-img{
    height:260px;
    overflow:hidden;
}

.case-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .5s ease;
}

.case-item:hover .case-img img{
    transform:scale(1.05);
}

.case-item p{
    padding:20px;
    margin:0;
    text-align:center;
    font-weight:600;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
    transition: .25s;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 14px;
    background: #fff;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    border: 0;
    background: none;
    color: #fff;
    font-size: 46px;
    cursor: pointer;
}

.hero-bg{
    position:absolute;
    inset:0;
    overflow:hidden;
    z-index:1;
}

.hero-bg img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.form-card input.error, .form-card textarea.error {
border: 1px solid red;    
}

.solution-card {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: center;
}

.solution-card__image img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .solution-card {
        grid-template-columns: 1fr;
    }

    .solution-card__image {
        order: 2;
    }
}

@media (max-width: 768px) {
    .order-section {
        padding: 36px 0;
    }

    .order-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .form-card {
        width: 100%;
        max-width: 100%;
    }

    .form-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-card input,
    .form-card textarea,
    .form-card button {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .checkbox {
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

    .checkbox input {
        flex: 0 0 18px;
        width: 18px;
        height: 18px;
        min-height: 18px;
        margin-top: 2px;
    }

    .checkbox span {
        font-size: 12px;
        line-height: 1.35;
    }
}

@media (max-width: 768px) {
    .form-card {
        padding: 24px 16px;
    }
}


html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .order-section,
    .order-grid,
    .form-card {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .form-card {
        padding: 0;
    }

    .form-row {
        display: block;
    }

    .form-card input,
    .form-card textarea,
    .form-card .btn,
    .form-card button {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .checkbox {
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

    .checkbox input {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px;
        min-height: 18px;
        flex: 0 0 18px;
    }
}

.btn:disabled{
    opacity: .5;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

.btn{
    transition: opacity .3s ease;
}

