/* v18.19 — approved RestSolution brand integration */
:root{
    --primary:#FF5C00;
    --primary-dark:#E84F00;
    --primary-light:#FF7A2F;
    --secondary:#202C3C;
    --text:#283548;
    --text-light:#697588;
    --bg-light:#F7F9FB;
    --bg-dark:#EEF2F6;
    --border:#E3E8EE;
}

/* Brand lockup */
.brand-lockup{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:var(--secondary);
    text-decoration:none;
    white-space:nowrap;
}
.brand-lockup:hover{color:var(--secondary)}
.brand-lockup__mark{
    display:block;
    width:40px;
    height:40px;
    object-fit:contain;
    flex:0 0 auto;
}
.brand-lockup__word{
    display:inline-flex;
    align-items:baseline;
    font-family:var(--font-heading);
    font-size:23px;
    font-weight:800;
    line-height:1;
    letter-spacing:-.045em;
}
.brand-lockup__word>span{color:var(--primary);margin-right:1px}
.brand-lockup--footer .brand-lockup__word{color:#fff}
.brand-lockup--footer .brand-lockup__mark{width:42px;height:42px}

/* Header follows the approved white / graphite / orange visual system. */
.header{
    background:rgba(255,255,255,.975);
    border-bottom:1px solid rgba(226,232,240,.86);
    box-shadow:0 7px 28px rgba(31,43,60,.045);
}
.header.scrolled{box-shadow:0 8px 30px rgba(31,43,60,.09)}
.navbar{height:76px}
.nav-menu{gap:26px}
.nav-link{font-weight:650;color:#354255}
.nav-link::after{height:3px;border-radius:3px;bottom:-8px}
.header-account-link{border-radius:10px}
.header-quote{
    box-shadow:0 8px 20px rgba(255,92,0,.18);
    border-radius:10px;
}
.header-quote:hover{box-shadow:0 10px 26px rgba(255,92,0,.24)}

/* Hero: geometry and device showcase are derived from the approved VK/site visual. */
.hero{
    min-height:760px;
    padding-top:104px;
    padding-bottom:62px;
    background:
        linear-gradient(135deg,rgba(247,249,251,.98) 0%,#fff 54%,#F7F9FB 100%);
}
.hero::before{
    top:0;
    right:-4%;
    width:54%;
    height:100%;
    background:
        linear-gradient(135deg,transparent 0 39%,rgba(235,239,243,.62) 39% 52%,transparent 52% 100%);
    opacity:.72;
}
.hero::after{
    content:"";
    position:absolute;
    left:-86px;
    top:124px;
    width:190px;
    height:190px;
    background:linear-gradient(145deg,var(--primary),#FF7A2F);
    clip-path:polygon(0 0,100% 0,58% 100%,0 64%);
    opacity:.97;
    pointer-events:none;
}
.hero__container{
    position:relative;
    z-index:2;
    grid-template-columns:minmax(0,.95fr) minmax(440px,1.05fr);
    gap:56px;
}
.hero__content{max-width:620px}
.hero__subtitle{
    position:relative;
    margin-bottom:16px;
    padding:0 0 0 22px;
    background:none;
    border-radius:0;
    color:#687588;
    font-size:11px;
    font-weight:800;
    letter-spacing:.2em;
}
.hero__subtitle::before{
    content:"";
    position:absolute;
    left:0;
    top:1px;
    bottom:1px;
    width:3px;
    border-radius:2px;
    background:var(--primary);
}
.hero__title{
    max-width:650px;
    margin-bottom:20px;
    font-size:clamp(46px,4.15vw,64px);
    line-height:1.03;
    letter-spacing:-.045em;
    color:#1E2A3A;
}
.hero__title span{display:block;color:#1E2A3A}
.hero__title span::after{
    content:"";
    display:inline-block;
    width:38px;
    height:5px;
    margin-left:12px;
    transform:translateY(-7px);
    border-radius:8px;
    background:var(--primary);
}
.hero__desc{max-width:610px;margin-bottom:24px;color:#596679;font-size:17px;line-height:1.65}
.hero-offer{margin:18px 0 8px;gap:8px 18px}
.hero-offer__item{font-size:13px;color:#405064}
.hero-offer__item i{color:var(--primary)}
.hero__actions{margin-top:22px;margin-bottom:0}
.hero__actions .btn-primary{box-shadow:0 11px 25px rgba(255,92,0,.19)}
.hero__microcopy{margin-top:12px}
.hero__stats{
    margin-top:24px;
    padding-top:18px;
    gap:0;
    border-top:1px solid #E6EAF0;
}
.hero__stat{min-width:132px;padding:0 20px;text-align:left;border-left:1px solid #E6EAF0}
.hero__stat:first-child{padding-left:0;border-left:0}
.hero__stat-number{font-size:22px;color:#1F2C3C;letter-spacing:-.03em}
.hero__stat-label{font-size:12px}

.hero-brand-visual{
    position:relative;
    padding:30px 0 54px 18px;
}
.hero-brand-visual::before{
    content:"";
    position:absolute;
    right:-42px;
    top:2px;
    width:162px;
    height:230px;
    background:linear-gradient(155deg,#FF5C00,#FF7A2F);
    clip-path:polygon(38% 0,100% 0,100% 72%,0 100%,0 28%);
    z-index:0;
}
.hero-brand-visual::after{
    content:"";
    position:absolute;
    left:-28px;
    bottom:20px;
    width:115px;
    height:115px;
    border:1px solid #DFE5EB;
    transform:rotate(45deg);
    background:rgba(255,255,255,.72);
    z-index:0;
}
.hero-brand-visual__eyebrow{
    position:absolute;
    top:0;
    right:42px;
    z-index:3;
    display:flex;
    align-items:center;
    gap:8px;
    color:#334155;
    font-size:12px;
    font-style:italic;
    font-weight:700;
    transform:rotate(-4deg);
}
.hero-brand-visual__eyebrow>span{display:block;width:32px;height:2px;background:var(--primary)}
.hero-brand-visual__frame{
    position:relative;
    z-index:2;
    overflow:hidden;
    border:1px solid #E4E9EE;
    border-radius:18px;
    background:#fff;
    box-shadow:0 28px 70px rgba(31,43,60,.16),0 5px 14px rgba(31,43,60,.07);
}
.hero-brand-visual__frame::before{
    content:"";
    display:block;
    height:26px;
    border-bottom:1px solid #E7EBEF;
    background:
        radial-gradient(circle at 17px 13px,#FF6B60 0 3px,transparent 3.5px),
        radial-gradient(circle at 31px 13px,#FFC04A 0 3px,transparent 3.5px),
        radial-gradient(circle at 45px 13px,#52C779 0 3px,transparent 3.5px),
        #FAFBFC;
}
.hero-brand-visual__frame img{display:block;width:100%;border-radius:0;box-shadow:none}
.hero-brand-visual__chips{
    position:absolute;
    left:0;
    right:24px;
    bottom:6px;
    z-index:3;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:1px;
    overflow:hidden;
    border:1px solid #E4E9EE;
    border-radius:11px;
    background:#E4E9EE;
    box-shadow:0 10px 28px rgba(31,43,60,.09);
}
.hero-brand-visual__chips>span{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:42px;
    padding:8px 9px;
    background:#fff;
    color:#445064;
    font-size:11px;
    font-weight:750;
}
.hero-brand-visual__chips i{color:var(--primary);font-size:12px}
.hero-brand-visual.hero__image::before{display:none}

/* Common cards and section accents — same visual language without repainting the whole site. */
.section__subtitle{color:var(--primary-dark)}
.service-card,.pricing-card,.quality-card{border-color:#E2E7ED;box-shadow:0 10px 28px rgba(31,43,60,.045)}
.service-card:hover,.pricing-card:hover{border-color:#F0C4AC;box-shadow:0 15px 34px rgba(31,43,60,.075)}
.service-card__icon,.quality-card__icon{background:#FFF3EC;color:var(--primary)}
.sales-pricing-card__tag{background:#FFF1E8;color:#C84500}
.btn-primary{background:linear-gradient(135deg,#FF5C00,#FF6D1F);border-color:#FF5C00}
.btn-primary:hover{background:linear-gradient(135deg,#E95000,#FF5C00);border-color:#E95000}

/* Footer */
.footer{background:#1F2C3C}
.footer-logo{display:inline-flex;margin-bottom:18px;color:#fff}
.footer-logo:hover{color:#fff}
.footer__desc{max-width:360px}

/* Mobile menu brand */
.mobile-menu__header .brand-lockup__mark{width:36px;height:36px}
.mobile-menu__header .brand-lockup__word{font-size:21px}

@media(max-width:1080px){
    .brand-lockup__word{font-size:21px}.brand-lockup__mark{width:37px;height:37px}
    .nav-menu{gap:19px}.nav-link{font-size:13px}
    .hero__container{grid-template-columns:minmax(0,1fr) minmax(390px,.92fr);gap:34px}
    .hero__title{font-size:48px}
}
@media(max-width:900px){
    .navbar{height:70px}
    .hero{min-height:auto;padding-top:102px;padding-bottom:52px}
    .hero::after{display:none}
    .hero__container{grid-template-columns:1fr;gap:32px}
    .hero__content{max-width:720px}
    .hero__title{font-size:clamp(40px,7vw,54px)}
    .hero-brand-visual{max-width:720px;width:100%;margin:0 auto;padding-left:0}
    .hero-brand-visual__chips{left:16px;right:16px}
}
@media(max-width:620px){
    .brand-lockup{gap:6px}.brand-lockup__mark{width:34px;height:34px}.brand-lockup__word{font-size:19px}
    .hero{padding-top:92px;padding-bottom:42px}
    .hero__subtitle{font-size:9px;letter-spacing:.15em}
    .hero__title{font-size:38px;line-height:1.05}
    .hero__title span::after{width:26px;height:4px;margin-left:8px;transform:translateY(-5px)}
    .hero__desc{font-size:15px}
    .hero-offer{display:grid;grid-template-columns:1fr 1fr;gap:8px 10px}
    .hero__stats{display:grid;grid-template-columns:repeat(3,1fr)}
    .hero__stat{min-width:0;padding:0 10px}
    .hero__stat-number{font-size:17px}.hero__stat-label{font-size:10px}
    .hero-brand-visual{padding:20px 0 56px}
    .hero-brand-visual::before{right:-20px;width:100px;height:150px}
    .hero-brand-visual__eyebrow{right:20px;font-size:10px}
    .hero-brand-visual__frame{border-radius:14px}
    .hero-brand-visual__chips{grid-template-columns:1fr 1fr;bottom:0}
    .hero-brand-visual__chips>span{min-height:36px;font-size:10px}
}
@media(max-width:420px){
    .hero-offer{grid-template-columns:1fr}
    .hero__stats{gap:0}.hero__stat{padding:0 7px}.hero__stat-number{font-size:15px}
}
@media(prefers-reduced-motion:reduce){
    .header,.header-quote,.service-card,.pricing-card{transition:none}
}
