/* ==========================================================================
   Scavolini Kostroma — modern static landing
   ========================================================================== */

:root{
    --red:#c00b1e;
    --red-dark:#930012;
    --red-bright:#ff3b4f;
    --ink:#151515;
    --ink-soft:#343434;
    --muted:#6d6a67;
    --paper:#ffffff;
    --cream:#f7f3ee;
    --cream-deep:#eee7df;
    --line:#e4ddd5;
    --dark:#111111;
    --max:1240px;
    --header-h:82px;
    --ease:cubic-bezier(.2,.7,.2,1);
    --shadow:0 22px 60px rgba(0,0,0,.12);
}

*,
*::before,
*::after{box-sizing:border-box}

html{
    scroll-behavior:smooth;
    -webkit-text-size-adjust:100%;
}

body{
    margin:0;
    font-family:'Open Sans', Arial, sans-serif;
    font-size:16px;
    line-height:1.65;
    color:var(--ink);
    background:var(--paper);
    overflow-x:hidden;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

body.is-locked{overflow:hidden}

img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit}
[hidden]{display:none!important}
::selection{background:var(--red);color:#fff}
:focus-visible{outline:2px solid var(--red);outline-offset:3px}

.skip-link{
    position:fixed;
    top:10px;
    left:10px;
    z-index:1000;
    padding:12px 18px;
    background:var(--red);
    color:#fff;
    font-size:12px;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
    transform:translateY(-160%);
    transition:transform .2s ease;
}
.skip-link:focus{transform:none}

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

.section{padding:clamp(70px, 8vw, 118px) 0}

section[id]{scroll-margin-top:calc(var(--header-h) + 24px)}

h1,h2,h3,h4{
    font-family:'Montserrat', Arial, sans-serif;
    color:var(--ink);
    margin-top:0;
}

h2{
    font-size:clamp(32px, 4.2vw, 56px);
    line-height:1.08;
    letter-spacing:-.025em;
    font-weight:700;
    margin-bottom:22px;
}

h3{font-size:18px;line-height:1.35;font-weight:600}
p{margin-top:0}

.eyebrow{
    display:flex;
    align-items:center;
    gap:10px;
    font-family:'Montserrat', Arial, sans-serif;
    font-size:10px;
    font-weight:600;
    letter-spacing:.2em;
    text-transform:uppercase;
    color:var(--red);
    margin:0 0 18px;
}
.eyebrow::before{
    content:"";
    width:28px;
    height:1px;
    background:currentColor;
    flex:0 0 auto;
}
.eyebrow--light{color:rgba(255,255,255,.72)}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-height:48px;
    padding:13px 26px;
    border:1px solid transparent;
    border-radius:1px;
    font-family:'Montserrat', Arial, sans-serif;
    font-size:11px;
    font-weight:600;
    letter-spacing:.14em;
    line-height:1.2;
    text-transform:uppercase;
    cursor:pointer;
    transition:background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn--primary{
    background:var(--red);
    border-color:var(--red);
    color:#fff;
    box-shadow:0 10px 24px rgba(192,11,30,.18);
}
.btn--primary:hover{
    background:var(--red-dark);
    border-color:var(--red-dark);
    transform:translateY(-2px);
    box-shadow:0 14px 30px rgba(192,11,30,.26);
}
.btn--ghost{
    background:rgba(255,255,255,.03);
    border-color:rgba(255,255,255,.5);
    color:#fff;
}
.btn--ghost:hover{
    background:#fff;
    border-color:#fff;
    color:var(--ink);
    transform:translateY(-2px);
}
.btn--outline{
    background:transparent;
    border-color:var(--ink);
    color:var(--ink);
}
.btn--outline:hover{
    background:var(--ink);
    color:#fff;
    transform:translateY(-2px);
}
.btn--lg{min-height:54px;padding:16px 32px;font-size:12px}
.btn--sm{min-height:40px;padding:10px 18px;font-size:10px;letter-spacing:.12em}

.text-link{
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin-top:8px;
    font-family:'Montserrat', Arial, sans-serif;
    font-size:11px;
    font-weight:600;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:var(--red);
}
.text-link svg,
.collection__open svg,
.contacts__map-link svg{
    width:16px;
    height:16px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
    transition:transform .25s var(--ease);
}
.text-link:hover svg{transform:translateX(4px)}

/* Reveal on scroll (only when JS is enabled) */
.js .reveal{
    opacity:0;
    transform:translateY(28px);
    transition:opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay:var(--delay, 0s);
}
.js .reveal.is-visible{opacity:1;transform:none}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header{
    position:absolute;
    top:0;
    left:0;
    right:0;
    z-index:100;
    padding:18px 0;
    color:#fff;
    background:linear-gradient(to bottom, rgba(0,0,0,.58), rgba(0,0,0,0));
    transition:background .3s var(--ease), color .3s var(--ease), padding .3s var(--ease), box-shadow .3s var(--ease);
}
.js .site-header{position:fixed}
.site-header.is-scrolled,
.site-header.is-open{
    padding:10px 0;
    color:var(--ink);
    background:rgba(255,255,255,.97);
    box-shadow:0 1px 0 var(--line);
    backdrop-filter:blur(14px);
}

.header__inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:26px;
    min-height:46px;
}

.brand{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
    color:inherit;
}
.brand__logo{
    width:44px;
    height:44px;
    flex:0 0 auto;
    object-fit:cover;
    box-shadow:0 8px 22px rgba(0,0,0,.18);
}
.brand__text{display:flex;flex-direction:column;line-height:1.1;min-width:0}
.brand__name{
    font-family:'Montserrat', Arial, sans-serif;
    font-size:15px;
    font-weight:700;
    letter-spacing:.18em;
    white-space:nowrap;
}
.brand__note{
    margin-top:4px;
    font-size:8px;
    font-weight:400;
    letter-spacing:.14em;
    text-transform:uppercase;
    opacity:.68;
    white-space:nowrap;
}

.nav{display:flex;align-items:center;gap:clamp(16px, 2vw, 32px)}
.nav a{
    position:relative;
    padding:7px 0;
    font-family:'Montserrat', Arial, sans-serif;
    font-size:11px;
    font-weight:600;
    letter-spacing:.13em;
    text-transform:uppercase;
    color:inherit;
    opacity:.84;
    transition:opacity .2s ease, color .2s ease;
}
.nav a::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:1px;
    height:1px;
    background:var(--red);
    transform:scaleX(0);
    transform-origin:left;
    transition:transform .3s var(--ease);
}
.nav a:hover{opacity:1;color:var(--red)}
.nav a:hover::after{transform:scaleX(1)}

.header__actions{display:flex;align-items:center;gap:18px}
.header__main-site{
    font-family:'Montserrat', Arial, sans-serif;
    font-size:9px;
    font-weight:600;
    letter-spacing:.1em;
    text-transform:uppercase;
    white-space:nowrap;
    opacity:.7;
    transition:opacity .2s ease, color .2s ease;
}
.header__main-site:hover{opacity:1;color:var(--red-bright)}
.site-header.is-scrolled .header__main-site:hover,
.site-header.is-open .header__main-site:hover{color:var(--red)}
.header__phone{
    font-family:'Montserrat', Arial, sans-serif;
    font-size:12px;
    font-weight:600;
    letter-spacing:.05em;
    white-space:nowrap;
    opacity:.9;
    transition:color .2s ease;
}
.header__phone:hover{color:var(--red-bright)}
.site-header.is-scrolled .header__phone:hover,
.site-header.is-open .header__phone:hover{color:var(--red)}

.menu-toggle{
    display:none;
    position:relative;
    z-index:110;
    width:44px;
    height:44px;
    padding:11px 8px;
    border:1px solid rgba(255,255,255,.32);
    border-radius:50%;
    background:transparent;
    cursor:pointer;
}
.site-header.is-scrolled .menu-toggle,
.site-header.is-open .menu-toggle{border-color:rgba(0,0,0,.22)}
.menu-toggle span{
    display:block;
    width:22px;
    height:1.5px;
    margin:4px auto;
    background:currentColor;
    transition:transform .25s var(--ease), opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(5.5px) rotate(45deg)}
.menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-5.5px) rotate(-45deg)}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero{
    position:relative;
    display:flex;
    align-items:center;
    min-height:max(720px, 100svh);
    padding:calc(var(--header-h) + 60px) 0 90px;
    overflow:hidden;
    color:#fff;
    background:#151515;
}
.hero__bg{
    position:absolute;
    inset:0;
    background:url("../img/modern/hero.jpg") center center / cover no-repeat;
    transform:scale(1.04);
    animation:heroZoom 20s ease-in-out infinite alternate;
}
.hero::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    background:
        linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.48) 52%, rgba(0,0,0,.16) 100%),
        linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,0) 46%);
}
.hero__content{
    position:relative;
    z-index:2;
    max-width:840px;
}
.hero h1{
    margin:0 0 24px;
    font-size:clamp(48px, 7.6vw, 104px);
    line-height:.92;
    letter-spacing:-.04em;
    font-weight:700;
    color:#fff;
}
.hero h1 span{color:var(--red-bright)}
.hero__lead{
    max-width:560px;
    margin:0 0 32px;
    font-size:clamp(16px, 1.7vw, 20px);
    line-height:1.55;
    color:rgba(255,255,255,.82);
}
.hero__actions{display:flex;flex-wrap:wrap;gap:12px}
.hero__stats{
    display:flex;
    flex-wrap:wrap;
    gap:26px 46px;
    max-width:640px;
    margin:44px 0 0;
    padding:24px 0 0;
    border-top:1px solid rgba(255,255,255,.22);
}
.hero__stats div{min-width:110px}
.hero__stats dt{
    font-family:'Montserrat', Arial, sans-serif;
    font-size:clamp(22px, 2.4vw, 30px);
    font-weight:700;
    line-height:1;
    color:#fff;
}
.hero__stats dd{
    margin:8px 0 0;
    font-size:9px;
    letter-spacing:.16em;
    text-transform:uppercase;
    color:rgba(255,255,255,.58);
}
.hero__scroll{
    position:absolute;
    left:50%;
    bottom:26px;
    z-index:2;
    width:42px;
    height:42px;
    margin-left:-21px;
    border:1px solid rgba(255,255,255,.38);
    border-radius:50%;
    transition:background .25s ease, border-color .25s ease;
}
.hero__scroll span{
    position:absolute;
    left:50%;
    top:50%;
    width:7px;
    height:7px;
    margin:-5px 0 0 -3.5px;
    border-right:1px solid #fff;
    border-bottom:1px solid #fff;
    transform:rotate(45deg);
    animation:scrollBounce 1.8s ease-in-out infinite;
}
.hero__scroll:hover{background:var(--red);border-color:var(--red)}

@keyframes heroZoom{
    from{transform:scale(1.03)}
    to{transform:scale(1.09)}
}
@keyframes scrollBounce{
    0%,100%{transform:translateY(-3px) rotate(45deg)}
    50%{transform:translateY(4px) rotate(45deg)}
}

/* ==========================================================================
   About
   ========================================================================== */

.about{background:var(--paper)}
.about__grid{
    display:grid;
    grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);
    gap:clamp(36px, 6vw, 92px);
    align-items:center;
}
.about__media{
    position:relative;
    margin:0;
    max-width:560px;
}
.about__media img{
    width:100%;
    aspect-ratio:4 / 5;
    object-fit:cover;
}
.about__badge{
    position:absolute;
    right:-26px;
    bottom:-26px;
    display:flex;
    flex-direction:column;
    gap:4px;
    padding:20px 24px;
    background:var(--red);
    color:#fff;
    box-shadow:var(--shadow);
}
.about__badge strong{
    font-family:'Montserrat', Arial, sans-serif;
    font-size:16px;
    font-weight:700;
    letter-spacing:.12em;
}
.about__badge span{
    font-size:8px;
    letter-spacing:.15em;
    text-transform:uppercase;
    opacity:.8;
}
.about__copy h2{margin-bottom:24px}
.about__copy p{
    max-width:62ch;
    margin-bottom:18px;
    color:var(--muted);
    font-size:15px;
    line-height:1.75;
}
.about__copy p a{
    color:var(--red);
    text-decoration:underline;
    text-underline-offset:3px;
}
.about__copy .text-link{margin-top:10px}

.benefits{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:1px;
    margin-top:clamp(56px, 7vw, 96px);
    border:1px solid var(--line);
    background:var(--line);
}
.benefit{
    padding:30px 24px 32px;
    background:var(--paper);
    transition:background .3s ease;
}
.benefit:hover{background:var(--cream)}
.benefit__icon{
    display:grid;
    place-items:center;
    width:46px;
    height:46px;
    margin-bottom:18px;
    border-radius:50%;
    background:var(--cream);
    color:var(--red);
}
.benefit__icon svg{
    width:21px;
    height:21px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.benefit h3{
    margin-bottom:10px;
    font-size:15px;
    line-height:1.4;
}
.benefit p{
    margin:0;
    color:var(--muted);
    font-size:13px;
    line-height:1.65;
}

/* ==========================================================================
   Collections
   ========================================================================== */

.collections{background:var(--cream)}

.section-head{
    display:grid;
    grid-template-columns:minmax(0, 1.05fr) minmax(0, .95fr);
    gap:clamp(28px, 5vw, 70px);
    align-items:end;
    margin-bottom:38px;
}
.section-head h2{margin-bottom:0}
.section-head__text{
    max-width:520px;
    margin:0 0 6px auto;
    color:var(--muted);
    font-size:14px;
    line-height:1.7;
}
.section-head--compact{grid-template-columns:1fr;margin-bottom:44px}

.filters{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:34px}
.filter{
    padding:10px 20px;
    border:1px solid var(--line);
    border-radius:999px;
    background:transparent;
    color:var(--ink);
    font-family:'Montserrat', Arial, sans-serif;
    font-size:10px;
    font-weight:600;
    letter-spacing:.13em;
    text-transform:uppercase;
    cursor:pointer;
    transition:background .25s ease, border-color .25s ease, color .25s ease;
}
.filter:hover{border-color:var(--ink)}
.filter.is-active{background:var(--red);border-color:var(--red);color:#fff}

.collections__grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:28px;
}
.collection{
    display:flex;
    flex-direction:column;
    background:#fff;
    border:1px solid var(--line);
    transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.collection:hover{
    transform:translateY(-5px);
    box-shadow:0 18px 44px rgba(0,0,0,.09);
}
.collection.is-hidden{display:none}
.collection__media{
    position:relative;
    display:block;
    aspect-ratio:4 / 3;
    overflow:hidden;
    background:var(--cream-deep);
}
.collection__media img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .8s var(--ease);
}
.collection__media::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    background:linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,.06) 55%, transparent);
    opacity:.9;
    transition:opacity .35s ease;
}
.collection:hover .collection__media img{transform:scale(1.045)}
.collection:hover .collection__media::after{opacity:1}
.collection__badge{
    position:absolute;
    top:14px;
    left:14px;
    z-index:2;
    padding:7px 10px;
    background:var(--red);
    color:#fff;
    font-family:'Montserrat', Arial, sans-serif;
    font-size:8px;
    font-weight:600;
    letter-spacing:.15em;
    text-transform:uppercase;
}
.collection__open{
    position:absolute;
    left:18px;
    bottom:16px;
    z-index:2;
    display:flex;
    align-items:center;
    gap:8px;
    color:#fff;
    font-family:'Montserrat', Arial, sans-serif;
    font-size:9px;
    font-weight:600;
    letter-spacing:.15em;
    text-transform:uppercase;
    opacity:0;
    transform:translateY(7px);
    transition:opacity .3s ease, transform .3s var(--ease);
}
.collection:hover .collection__open{opacity:1;transform:none}
.collection__body{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:17px 19px 19px;
}
.collection__body h3{margin:0;font-size:18px}
.collection__body span{
    color:var(--muted);
    font-size:10px;
    letter-spacing:.1em;
    text-transform:uppercase;
    white-space:nowrap;
}

/* ==========================================================================
   Process
   ========================================================================== */

.process{background:var(--paper)}
.steps{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    margin:0;
    padding:0;
    list-style:none;
    border-top:1px solid var(--line);
    border-left:1px solid var(--line);
}
.step{
    padding:34px 30px 38px;
    border-right:1px solid var(--line);
    border-bottom:1px solid var(--line);
    background:#fff;
    transition:background .3s ease;
}
.step:hover{background:var(--cream)}
.step__num{
    display:block;
    margin-bottom:16px;
    font-family:'Montserrat', Arial, sans-serif;
    font-size:34px;
    font-weight:700;
    line-height:1;
    letter-spacing:-.03em;
    color:var(--red);
}
.step h3{margin-bottom:10px;font-size:17px}
.step p{margin:0;color:var(--muted);font-size:13px;line-height:1.7}

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta-banner{
    position:relative;
    padding:clamp(82px, 10vw, 138px) 0;
    color:#fff;
    text-align:center;
    background:url("../img/modern/cta.jpg") center center / cover no-repeat;
    overflow:hidden;
}
.cta-banner::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg, rgba(8,8,8,.76), rgba(8,8,8,.52), rgba(8,8,8,.76));
}
.cta-banner__inner{position:relative;z-index:1}
.cta-banner .eyebrow{justify-content:center;color:rgba(255,255,255,.7)}
.cta-banner h2{
    max-width:900px;
    margin:0 auto 32px;
    color:#fff;
    font-size:clamp(34px, 5vw, 64px);
    line-height:1.04;
    letter-spacing:-.03em;
}

/* ==========================================================================
   Contacts
   ========================================================================== */

.contacts{background:var(--paper)}
.contacts__grid{
    display:grid;
    grid-template-columns:minmax(0, .85fr) minmax(0, 1.15fr);
    gap:clamp(34px, 5vw, 72px);
    align-items:stretch;
}
.contacts__copy h2{margin-bottom:26px}
.contact-list{
    margin:0;
    padding:0;
    list-style:none;
    border-top:1px solid var(--line);
}
.contact-list li{
    display:flex;
    align-items:flex-start;
    gap:16px;
    padding:20px 0;
    border-bottom:1px solid var(--line);
}
.contact-list__icon{
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
    flex:0 0 auto;
    border-radius:50%;
    background:var(--cream);
    color:var(--red);
}
.contact-list__icon svg{
    width:19px;
    height:19px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.contact-list__label{
    display:block;
    margin-bottom:3px;
    color:var(--muted);
    font-size:9px;
    letter-spacing:.15em;
    text-transform:uppercase;
}
.contact-list strong{
    display:block;
    font-size:15px;
    font-weight:600;
    line-height:1.6;
}
.contact-list a{transition:color .2s ease}
.contact-list a:hover{color:var(--red)}
.contacts__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.contacts__copy > .text-link{margin-top:24px}

.contacts__map{
    position:relative;
    min-height:520px;
    border:1px solid var(--line);
    background:var(--cream);
    overflow:hidden;
}
.contacts__map iframe{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    border:0;
    display:block;
}
.contacts__map-link{
    position:absolute;
    right:14px;
    bottom:14px;
    z-index:2;
    padding:10px 13px;
    background:rgba(255,255,255,.95);
    color:var(--ink);
    box-shadow:0 6px 20px rgba(0,0,0,.12);
    font-family:'Montserrat', Arial, sans-serif;
    font-size:9px;
    font-weight:600;
    letter-spacing:.11em;
    text-transform:uppercase;
    transition:color .2s ease, background .2s ease;
}
.contacts__map-link:hover{background:var(--red);color:#fff}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer{
    padding:62px 0 26px;
    background:var(--dark);
    color:rgba(255,255,255,.66);
}
.footer__top{
    display:grid;
    grid-template-columns:1.1fr .8fr 1fr;
    gap:40px;
    padding-bottom:42px;
    border-bottom:1px solid rgba(255,255,255,.12);
}
.brand--footer{color:#fff}
.brand--footer .brand__note{opacity:.55}
.footer__nav{display:flex;flex-direction:column;gap:12px}
.footer__nav a{
    width:fit-content;
    font-family:'Montserrat', Arial, sans-serif;
    font-size:10px;
    font-weight:600;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:rgba(255,255,255,.66);
    transition:color .2s ease;
}
.footer__nav a:hover{color:#fff}
.footer__contacts p{margin:0 0 15px;font-size:12.5px;line-height:1.7}
.footer__contacts p:last-child{margin-bottom:0}
.footer__contacts a{transition:color .2s ease}
.footer__contacts a:hover{color:#fff}
.footer__bottom{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:12px 20px;
    padding-top:24px;
    font-size:10.5px;
    line-height:1.7;
    color:rgba(255,255,255,.42);
}
.footer__bottom p{margin:0}
.footer__bottom a{
    color:rgba(255,255,255,.62);
    text-decoration:underline;
    text-underline-offset:2px;
    transition:color .2s ease;
}
.footer__bottom a:hover{color:#fff}

/* ==========================================================================
   Back to top
   ========================================================================== */

.back-to-top{
    position:fixed;
    right:24px;
    bottom:24px;
    z-index:90;
    display:grid;
    place-items:center;
    width:46px;
    height:46px;
    padding:0;
    border:0;
    border-radius:50%;
    background:var(--red);
    color:#fff;
    box-shadow:0 10px 26px rgba(192,11,30,.28);
    cursor:pointer;
    opacity:0;
    visibility:hidden;
    transform:translateY(10px);
    transition:opacity .25s ease, visibility .25s ease, transform .25s ease, background .25s ease;
}
.back-to-top.is-visible{opacity:1;visibility:visible;transform:none}
.back-to-top:hover{background:var(--red-dark)}
.back-to-top svg{
    width:19px;
    height:19px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}

/* ==========================================================================
   Gallery dialog
   ========================================================================== */

.gallery{
    width:min(1180px, calc(100% - 32px));
    max-width:none;
    max-height:calc(100svh - 32px);
    margin:auto;
    padding:0;
    border:0;
    background:#0c0c0c;
    color:#fff;
    overflow:hidden;
}
.gallery::backdrop{
    background:rgba(0,0,0,.84);
    backdrop-filter:blur(3px);
}
.gallery[open]{animation:galleryIn .24s var(--ease)}
.gallery__shell{
    position:relative;
    display:flex;
    flex-direction:column;
    gap:16px;
    max-height:calc(100svh - 32px);
    padding:24px;
}
.gallery__close{
    position:absolute;
    top:14px;
    right:14px;
    z-index:3;
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    padding:0;
    border:1px solid rgba(255,255,255,.22);
    border-radius:50%;
    background:transparent;
    color:#fff;
    cursor:pointer;
    transition:background .2s ease, border-color .2s ease;
}
.gallery__close:hover{background:var(--red);border-color:var(--red)}
.gallery__close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.gallery__top{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    padding-right:56px;
}
.gallery__top .eyebrow{margin-bottom:8px}
.gallery__title{
    margin:0;
    color:#fff;
    font-size:clamp(24px, 3vw, 38px);
    line-height:1.1;
    letter-spacing:-.02em;
}
.gallery__counter{
    margin:0;
    color:rgba(255,255,255,.5);
    font-family:'Montserrat', Arial, sans-serif;
    font-size:10px;
    font-weight:600;
    letter-spacing:.14em;
    white-space:nowrap;
}
.gallery__stage{
    display:flex;
    align-items:center;
    gap:14px;
    min-height:0;
    flex:1;
}
.gallery__nav{
    display:grid;
    place-items:center;
    width:46px;
    height:46px;
    flex:0 0 auto;
    padding:0;
    border:1px solid rgba(255,255,255,.22);
    border-radius:50%;
    background:transparent;
    color:#fff;
    cursor:pointer;
    transition:background .2s ease, border-color .2s ease;
}
.gallery__nav:hover{background:var(--red);border-color:var(--red)}
.gallery__nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.gallery__figure{
    display:flex;
    flex:1;
    flex-direction:column;
    align-items:center;
    gap:12px;
    min-width:0;
    margin:0;
}
.gallery__figure img{
    width:auto;
    max-width:100%;
    max-height:56vh;
    object-fit:contain;
    background:#171717;
}
.gallery__caption{
    max-width:920px;
    max-height:78px;
    overflow:auto;
    color:rgba(255,255,255,.65);
    font-size:12.5px;
    line-height:1.6;
    text-align:center;
}
.gallery__thumbs{
    display:flex;
    gap:8px;
    overflow-x:auto;
    padding-bottom:4px;
    scrollbar-width:thin;
    scrollbar-color:rgba(255,255,255,.25) transparent;
}
.gallery__thumb{
    flex:0 0 92px;
    height:62px;
    padding:0;
    border:2px solid transparent;
    background:#222;
    cursor:pointer;
    opacity:.55;
    transition:opacity .2s ease, border-color .2s ease;
}
.gallery__thumb img{width:100%;height:100%;object-fit:cover}
.gallery__thumb:hover{opacity:.85}
.gallery__thumb.is-active{opacity:1;border-color:var(--red)}

@keyframes galleryIn{
    from{opacity:0;transform:translateY(14px) scale(.99)}
    to{opacity:1;transform:none}
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px){
    .nav{gap:16px}
    .header__main-site,
    .header__phone{display:none}
    .about__grid{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:48px}
    .about__media{max-width:480px}
    .collections__grid{grid-template-columns:repeat(2, minmax(0,1fr))}
}

@media (max-width: 960px){
    :root{--header-h:74px}
    .site-header{padding:12px 0}
    .nav{
        position:fixed;
        top:var(--header-h);
        right:0;
        z-index:105;
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        justify-content:flex-start;
        width:min(360px, 88vw);
        height:calc(100svh - var(--header-h));
        gap:0;
        padding:26px 30px 32px;
        background:#fff;
        color:var(--ink);
        box-shadow:-24px 0 60px rgba(0,0,0,.16);
        transform:translateX(102%);
        transition:transform .35s var(--ease);
    }
    .site-header.is-open .nav{transform:none}
    .nav a{
        width:100%;
        padding:16px 0;
        border-bottom:1px solid var(--line);
        font-size:13px;
        opacity:1;
    }
    .nav a::after{display:none}
    .header__phone,.header__cta{display:none}
    .menu-toggle{display:block}
    .site-header.is-open{background:#fff;color:var(--ink);box-shadow:none}
    .site-header.is-open .brand__note{opacity:.55}
    body.menu-open{overflow:hidden}

    .about__grid{grid-template-columns:1fr;gap:46px}
    .about__media{max-width:520px}
    .about__badge{right:18px;bottom:-20px}
    .benefits{grid-template-columns:repeat(2, 1fr)}
    .steps{grid-template-columns:repeat(2, 1fr)}
    .section-head{grid-template-columns:1fr;gap:16px}
    .section-head__text{margin:0;max-width:640px}
    .contacts__grid{grid-template-columns:1fr}
    .contacts__map{min-height:420px}
    .footer__top{grid-template-columns:1fr 1fr;gap:34px}
    .footer__brand{grid-column:1 / -1}
    .footer__nav{flex-direction:row;flex-wrap:wrap;gap:12px 24px}
}

@media (max-width: 720px){
    .container{width:min(100% - 36px, var(--max))}
    .hero{min-height:max(680px, 100svh);padding-bottom:80px}
    .hero__stats{gap:18px 30px;margin-top:34px}
    .hero__scroll{display:none}
    .collections__grid{grid-template-columns:1fr;gap:22px}
    .collection__open{opacity:1;transform:none}
    .steps{grid-template-columns:1fr}
    .step{padding:28px 24px 30px}
    .benefits{grid-template-columns:1fr}
    .benefit{padding:26px 24px 28px}
    .footer__top{grid-template-columns:1fr}
    .footer__nav{flex-direction:column;gap:12px}
    .footer__bottom{flex-direction:column;gap:8px}
    .gallery__shell{padding:16px;gap:12px}
    .gallery__top{padding-right:48px;align-items:flex-start;flex-direction:column;gap:6px}
    .gallery__counter{display:none}
    .gallery__stage{gap:8px}
    .gallery__nav{position:absolute;top:50%;z-index:2;width:40px;height:40px;margin-top:-20px;background:rgba(0,0,0,.45)}
    .gallery__nav--prev{left:20px}
    .gallery__nav--next{right:20px}
    .gallery__figure img{max-height:46vh}
    .gallery__caption{max-height:96px;font-size:12px}
    .gallery__thumb{flex-basis:72px;height:50px}
    .back-to-top{right:16px;bottom:16px}
}

@media (max-width: 520px){
    .container{width:min(100% - 32px, var(--max))}
    .brand__note{display:none}
    .brand__logo{width:40px;height:40px}
    .hero h1{font-size:clamp(42px, 13vw, 62px)}
    .hero__lead br{display:none}
    .hero__actions{flex-direction:column;align-items:stretch;max-width:320px}
    .hero__actions .btn{width:100%}
    .hero__stats{display:grid;grid-template-columns:1fr 1fr;gap:18px 24px}
    .hero__stats div:last-child{grid-column:1 / -1}
    .about__badge{position:static;margin-top:0;display:inline-flex;flex-direction:row;align-items:center;gap:10px;padding:14px 18px}
    .about__badge strong{font-size:14px}
    .contacts__actions{flex-direction:column;align-items:stretch}
    .contacts__actions .btn{width:100%}
    .footer__bottom{font-size:10px}
}

/* ==========================================================================
   Cookie banner
   ========================================================================== */

.cookie-banner{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:200;
    padding:18px 0;
    background:#fff;
    border-top:3px solid var(--red);
    box-shadow:0 -16px 46px rgba(0,0,0,.14);
    animation:cookieIn .35s var(--ease) both;
}
.cookie-banner__inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}
.cookie-banner__text{
    display:flex;
    align-items:flex-start;
    gap:14px;
    max-width:800px;
}
.cookie-banner__icon{
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    flex:0 0 auto;
    border-radius:50%;
    background:var(--cream);
    color:var(--red);
}
.cookie-banner__icon svg{
    width:21px;
    height:21px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.cookie-banner__icon svg circle{fill:currentColor;stroke:none}
.cookie-banner__text strong{
    display:block;
    margin-bottom:3px;
    font-family:'Montserrat', Arial, sans-serif;
    font-size:13px;
    font-weight:600;
}
.cookie-banner__text p{
    margin:0;
    color:var(--muted);
    font-size:12.5px;
    line-height:1.55;
}
.cookie-banner__text a{
    color:var(--red);
    text-decoration:underline;
    text-underline-offset:2px;
}
.cookie-banner__actions{display:flex;flex-wrap:wrap;gap:8px;flex:0 0 auto}
.cookie-banner__actions .btn{white-space:nowrap}
body.cookie-open{padding-bottom:120px}
body.cookie-open .back-to-top{opacity:0;visibility:hidden}

@keyframes cookieIn{
    from{opacity:0;transform:translateY(100%)}
    to{opacity:1;transform:none}
}

/* Map placeholder shown before consent */
.map-placeholder{
    position:absolute;
    inset:0;
    display:grid;
    place-items:center;
    padding:24px;
    text-align:center;
    background:
        radial-gradient(circle at 18% 20%, rgba(192,11,30,.07), transparent 34%),
        repeating-linear-gradient(0deg, transparent 0 31px, rgba(0,0,0,.035) 31px 32px),
        repeating-linear-gradient(90deg, transparent 0 31px, rgba(0,0,0,.035) 31px 32px),
        var(--cream);
}
.map-placeholder__inner{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:11px;
    max-width:370px;
}
.map-placeholder__icon{
    display:grid;
    place-items:center;
    width:52px;
    height:52px;
    margin-bottom:2px;
    border-radius:50%;
    background:#fff;
    color:var(--red);
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}
.map-placeholder__icon svg{
    width:24px;
    height:24px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.map-placeholder strong{
    font-family:'Montserrat', Arial, sans-serif;
    font-size:15px;
    font-weight:600;
    line-height:1.4;
}
.map-placeholder p{
    margin:0;
    color:var(--muted);
    font-size:12.5px;
    line-height:1.6;
}
.map-placeholder .btn{margin-top:4px}

/* ==========================================================================
   Cookie policy page
   ========================================================================== */

.legal-header{
    background:#fff;
    border-bottom:1px solid var(--line);
}
.legal-header__inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    min-height:76px;
}
.legal-header .brand{color:var(--ink)}
.legal-header .text-link{margin-top:0}
.legal-page{padding:clamp(56px, 8vw, 104px) 0}
.legal-page__inner{max-width:840px}
.legal-page h1{
    margin:0 0 14px;
    font-size:clamp(32px, 4.4vw, 54px);
    line-height:1.08;
    letter-spacing:-.03em;
}
.legal-page__meta{
    margin:0 0 38px;
    color:var(--muted);
    font-size:10px;
    letter-spacing:.13em;
    text-transform:uppercase;
}
.legal-content h2{
    margin:34px 0 12px;
    font-size:21px;
    line-height:1.35;
}
.legal-content p,
.legal-content li{
    color:var(--muted);
    font-size:14.5px;
    line-height:1.75;
}
.legal-content p{margin:0 0 14px}
.legal-content ul{margin:0 0 16px;padding-left:20px}
.legal-content li{margin-bottom:6px}
.legal-content a{
    color:var(--red);
    text-decoration:underline;
    text-underline-offset:3px;
}
.legal-content .btn{margin-top:8px}
.legal-back{margin-top:44px}
.footer--legal{padding-top:38px}
.footer--legal .footer__bottom{padding-top:0}

.link-button{
    display:inline;
    padding:0;
    border:0;
    background:none;
    color:inherit;
    font:inherit;
    text-decoration:underline;
    text-underline-offset:2px;
    cursor:pointer;
    transition:color .2s ease;
}
.link-button:hover{color:#fff}

@media (max-width: 900px){
    .cookie-banner__inner{flex-direction:column;align-items:stretch;gap:14px}
    .cookie-banner__actions{justify-content:flex-start}
    body.cookie-open{padding-bottom:180px}
}
@media (max-width: 560px){
    .cookie-banner__text{gap:11px}
    .cookie-banner__icon{width:38px;height:38px}
    .cookie-banner__text strong{font-size:12px}
    .cookie-banner__text p{font-size:12px}
    .cookie-banner__actions{flex-direction:column}
    .cookie-banner__actions .btn{width:100%}
    body.cookie-open{padding-bottom:250px}
    .legal-header__inner{min-height:68px}
    .legal-page__inner{max-width:none}
}

@media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto}
    *,
    *::before,
    *::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important}
    .js .reveal{opacity:1;transform:none}
}
