/* BUSINESS SOLUTION V15 — ПЕРВЫЙ ЭКРАН ПО УТВЕРЖДЁННОМУ РЕФЕРЕНСУ */

.header--reference{
    height:116px;
    background:#020202;
    border-bottom:none;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
}
.header--reference.header--scrolled{
    background:rgba(2,2,2,.97);
}
.header__container--reference{
    min-height:116px;
    max-width:1480px;
    width:calc(100% - 60px);
}
.logo--reference{
    display:flex;
    width:340px;
    height:108px;
    align-items:center;
    flex:0 0 340px;
    overflow:hidden;
}
.logo--reference img{
    width:340px;
    height:108px;
    object-fit:contain;
    object-position:left center;
}
.navigation--reference{
    gap:52px;
    margin-left:auto;
}
.navigation--reference .navigation__link{
    color:#8e8f91;
    font-size:18px;
    font-style:italic;
    text-transform:uppercase;
    letter-spacing:.2px;
}
.navigation--reference .navigation__link::after{
    display:none;
}
.navigation--reference .navigation__link:hover,
.navigation--reference .navigation__link.active{
    color:#b0b1b3;
    text-shadow:none;
}
.header__contact--reference{
    margin-left:64px;
    min-width:178px;
    min-height:52px;
    padding:13px 24px;
    color:#ff8500;
    font-size:17px;
    font-style:italic;
    text-transform:uppercase;
    background:transparent;
    border:1.5px solid #ff8500;
    box-shadow:none;
}
.header__contact--reference:hover{
    background:rgba(255,133,0,.05);
    box-shadow:0 0 28px rgba(255,133,0,.12);
}

.hero--reference{
    position:relative;
    min-height:calc(100vh - 116px);
    padding-top:0;
    background:#050505;
    overflow:hidden;
}
.hero__reference-background{
    position:absolute;
    inset:0 0 auto 0;
    height:calc(100vh - 116px);
    background-image:url("../images/hero-reference.png");
    background-size:cover;
    background-position:center top;
    opacity:.55;
    filter:saturate(1.05) contrast(1.05);
}
.hero__reference-overlay{
    position:absolute;
    inset:0;
    background:
        linear-gradient(90deg, rgba(4,4,4,.22) 0%, rgba(4,4,4,.10) 48%, rgba(4,4,4,.05) 100%),
        linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.03) 72%, #050505 100%);
}
.hero__container--reference{
    position:relative;
    z-index:2;
    max-width:1450px;
    width:calc(100% - 80px);
    padding-top:155px;
    padding-bottom:45px;
}
.hero__content--reference{
    width:680px;
    max-width:50%;
    margin-left:30px;
}
.hero__title--reference{
    margin:0;
    color:#8f9092;
    font-size:39px;
    line-height:1.34;
    font-weight:600;
    font-style:italic;
    letter-spacing:-.7px;
    text-shadow:none;
}
.hero__description--reference{
    margin-top:28px;
    color:#8a8b8d;
    font-size:24px;
    line-height:1.4;
    font-style:italic;
}
.hero__buttons--reference{
    margin-top:32px;
    gap:22px;
}
.button--orange-outline,
.button--gray-outline{
    min-width:250px;
    min-height:57px;
    border-radius:999px;
    background:rgba(0,0,0,.32);
    box-shadow:none;
    font-style:italic;
    text-transform:uppercase;
    font-size:17px;
}
.button--orange-outline{
    color:#ff8500;
    border-color:#ff8500;
}
.button--gray-outline{
    color:#8f9092;
    border-color:#55575a;
}
.button--orange-outline:hover,
.button--gray-outline:hover{
    transform:translateY(-2px);
    background:rgba(255,255,255,.02);
}
.hero__scroll{
    position:absolute;
    top:475px;
    left:50%;
    transform:translateX(-50%);
    color:#ff8500;
    font-size:54px;
    line-height:.5;
    font-style:normal;
}
.hero__reference-cards{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
    margin-top:68px;
}
.reference-card{
    min-height:190px;
    padding:27px 28px 24px;
    display:grid;
    grid-template-columns:74px 1fr;
    grid-template-rows:auto 1fr;
    column-gap:16px;
    border:1px solid #3d3f42;
    border-radius:14px;
    background:linear-gradient(145deg,rgba(8,8,8,.96),rgba(17,17,17,.88));
    box-shadow:inset 0 0 30px rgba(255,255,255,.012);
}
.reference-card__icon{
    grid-row:1/3;
    color:#f16f00;
    font-size:56px;
    line-height:1;
    font-style:normal;
}
.reference-card h3{
    align-self:end;
    margin-bottom:16px;
    color:#8f9092;
    font-size:22px;
    font-weight:600;
    font-style:italic;
    text-transform:uppercase;
}
.reference-card p{
    color:#868789;
    font-size:17px;
    line-height:1.45;
    font-style:italic;
}
.hero__stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    min-height:125px;
    margin-top:18px;
    border:1px solid #383a3d;
    border-radius:14px;
    background:rgba(8,8,8,.92);
}
.hero-stat{
    position:relative;
    display:flex;
    align-items:center;
    gap:28px;
    padding:22px 36px;
}
.hero-stat:not(:last-child)::after{
    content:"";
    position:absolute;
    top:22px;
    right:0;
    bottom:22px;
    width:1px;
    background:#303235;
}
.hero-stat__icon{
    color:#f16f00;
    font-size:48px;
    line-height:1;
    font-style:normal;
}
.hero-stat strong{
    display:block;
    color:#8e8f91;
    font-size:50px;
    line-height:.95;
    font-weight:400;
    font-style:italic;
}
.hero-stat span{
    display:block;
    margin-top:10px;
    color:#858688;
    font-size:15px;
    font-style:italic;
    text-transform:uppercase;
}

@media(max-width:1200px){
    .navigation--reference{gap:28px}
    .header__contact--reference{margin-left:30px}
    .logo--reference{width:280px;flex-basis:280px}
    .logo--reference img{width:280px}
    .hero__content--reference{max-width:58%}
    .hero__reference-cards{grid-template-columns:repeat(2,1fr)}
    .hero__stats{grid-template-columns:repeat(2,1fr)}
    .hero-stat:nth-child(2)::after{display:none}
}
@media(max-width:760px){
    .header--reference{height:82px}
    .header__container--reference{min-height:82px;width:calc(100% - 24px)}
    .logo--reference{width:190px;height:76px;flex-basis:190px}
    .logo--reference img{width:190px;height:76px}
    .navigation--reference,.header__contact--reference{display:none}
    .hero--reference{min-height:auto}
    .hero__reference-background{height:780px;background-position:62% top;opacity:.42}
    .hero__container--reference{width:calc(100% - 28px);padding-top:110px;padding-bottom:40px}
    .hero__content--reference{width:100%;max-width:100%;margin-left:0}
    .hero__title--reference{font-size:30px;line-height:1.35}
    .hero__description--reference{font-size:19px}
    .hero__buttons--reference{flex-direction:column}
    .button--orange-outline,.button--gray-outline{width:100%;min-width:0}
    .hero__scroll{display:none}
    .hero__reference-cards{grid-template-columns:1fr;margin-top:54px}
    .reference-card{min-height:160px}
    .hero__stats{grid-template-columns:1fr}
    .hero-stat:not(:last-child)::after{
        top:auto;left:24px;right:24px;bottom:0;width:auto;height:1px;
    }
    .hero-stat:nth-child(2)::after{display:block}
}
