/* ==========================================================
   Soboslikarski i ličilački obrt — javna stranica
   ========================================================== */

:root {
    --ink: #1B1F2A;
    --ink-2: #3A4050;
    --muted: #6B7080;
    --line: #E7E1D7;
    --bg: #FAF7F2;
    --surface: #FFFFFF;
    --tint: #F3EDE3;

    --accent: #E4572E;        /* terakota */
    --accent-dark: #C8431D;
    --accent-soft: #FCE7DF;
    --sun: #F2B134;
    --sage: #A3B18A;
    --teal: #2F6F62;

    --radius: 18px;
    --radius-sm: 12px;
    --radius-lg: 28px;
    --shadow-sm: 0 1px 2px rgba(27,31,42,.06), 0 2px 8px rgba(27,31,42,.04);
    --shadow: 0 10px 30px -10px rgba(27,31,42,.18);
    --shadow-lg: 0 30px 60px -20px rgba(27,31,42,.28);

    --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --display: 'Sora', 'Manrope', system-ui, sans-serif;
    --header-h: 76px;
    --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; }
h2 { font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
h2 em, h1 em {
    font-style: normal; color: var(--accent);
    background: linear-gradient(transparent 68%, rgba(242,177,52,.35) 68%, rgba(242,177,52,.35) 92%, transparent 92%);
    padding: 0 .04em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.section-dark h2 em { background: linear-gradient(transparent 68%, rgba(228,87,46,.3) 68%, rgba(228,87,46,.3) 92%, transparent 92%); }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(760px, 100% - 40px); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

/* ---------- Gumbi ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .85em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
    font: 700 .98rem/1 var(--font); text-decoration: none; cursor: pointer;
    transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s, border-color .25s;
    white-space: nowrap;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(228,87,46,.6); }
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 12px 26px -10px rgba(228,87,46,.75); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bg); }
.btn-sm { padding: .65em 1.1em; font-size: .9rem; }
.btn-lg { padding: 1.05em 1.65em; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- Zaglavlje ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50; height: var(--header-h);
    background: rgba(250,247,242,.78);
    backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); background: rgba(250,247,242,.92); box-shadow: 0 6px 24px -18px rgba(27,31,42,.4); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; background: var(--ink); display: flex; align-items: center; justify-content: center; gap: 3px; flex-shrink: 0; }
.brand-mark i { width: 6px; height: 22px; border-radius: 4px; display: block; }
.brand-mark i:nth-child(1) { background: var(--accent); }
.brand-mark i:nth-child(2) { background: var(--sun); height: 26px; }
.brand-mark i:nth-child(3) { background: var(--teal); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.08rem; font-weight: 800; letter-spacing: -.01em; }
.brand-text small { font-size: .76rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.brand-light .brand-mark { background: rgba(255,255,255,.08); }
.brand-logo { width: auto; max-width: 220px; object-fit: contain; display: block; flex-shrink: 0; }
.brand-logo.on-plate { background: #fff; padding: 6px 10px; border-radius: 12px; box-sizing: content-box; }
.site-header .brand-logo { max-height: calc(var(--header-h) - 20px); }
.brand-light .brand-text small { color: rgba(255,255,255,.55); }

.nav { display: flex; gap: 6px; }
.nav a:not(.btn) { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:not(.btn):hover { background: var(--tint); color: var(--ink); }
.nav-cta-mobile { display: none !important; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: .95rem; }
.header-phone svg { color: var(--accent); }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 110px) 0 clamp(60px, 8vw, 120px); overflow: hidden; }
.hero-bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(600px 400px at 85% 20%, rgba(242,177,52,.22), transparent 60%),
        radial-gradient(500px 380px at 70% 85%, rgba(47,111,98,.16), transparent 60%),
        radial-gradient(520px 420px at 5% 10%, rgba(228,87,46,.10), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-bottom: 26px; box-shadow: var(--shadow-sm); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #22A06B; box-shadow: 0 0 0 4px rgba(34,160,107,.18); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 30px; }
.hero-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust svg { color: var(--teal); background: rgba(47,111,98,.12); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }

.hero-visual { position: relative; height: 520px; }
.swatch-fan { position: absolute; left: 50%; bottom: 40px; width: 0; height: 0; }
.swatch {
    position: absolute; left: -85px; bottom: 0; width: 170px; height: 380px;
    background: var(--c); border-radius: 22px; transform-origin: 50% 95%;
    transform: rotate(var(--r)); box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 18px;
    color: #fff; border: 6px solid #fff;
    transition: transform .6s var(--ease);
}
.swatch::after { content: ''; position: absolute; left: 16px; right: 16px; top: 16px; height: 46%; border-radius: 12px; background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0)); }
.swatch span { font-weight: 800; font-size: 1.05rem; position: relative; }
.swatch small { opacity: .75; font-size: .78rem; font-weight: 600; letter-spacing: .05em; }
.hero-visual:hover .swatch { transform: rotate(calc(var(--r) * 1.5)); }
.swatch:nth-child(2) span, .swatch:nth-child(2) small, .swatch:nth-child(3) span, .swatch:nth-child(3) small { color: var(--ink); }

.float-card {
    position: absolute; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.7); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow);
    display: flex; flex-direction: column; gap: 2px; font-size: .85rem; font-weight: 600; color: var(--ink-2);
    animation: float 6s ease-in-out infinite;
}
.float-card strong { font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--ink); font-weight: 600; }
.fc-1 { top: 30px; left: 0; }
.fc-2 { top: 110px; right: -10px; animation-delay: -2s; }
.fc-3 { bottom: 10px; left: 20px; flex-direction: row; align-items: center; gap: 10px; animation-delay: -4s; }
.fc-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.stars { display: flex; gap: 2px; color: var(--sun); }
.stars svg { fill: currentColor; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Brojke ---------- */
.stats { padding: 0 0 20px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 34px 20px; box-shadow: var(--shadow-lg); }
.stat { text-align: center; padding: 6px 12px; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--display); font-size: clamp(2rem, 3.5vw, 2.9rem); font-weight: 500; line-height: 1.1; }
.stat:nth-child(1) strong { color: var(--sun); }
.stat:nth-child(2) strong { color: #fff; }
.stat:nth-child(3) strong { color: var(--sage); }
.stat:nth-child(4) strong { color: #F7A68B; }
.stat span { font-size: .9rem; color: rgba(255,255,255,.65); font-weight: 600; }

/* ---------- Sekcije ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .section-head p { color: rgba(255,255,255,.7); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.section-head.split h2 { margin-bottom: 0; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.kicker::before { content: ''; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }

/* ---------- Usluge ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
    position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 32px 28px 28px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; overflow: hidden;
}
.service-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--accent), var(--sun), var(--teal)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 22px; transition: transform .35s var(--ease), background .35s, color .35s; }
.service-card:nth-child(3n+2) .service-icon { background: #FDF3DC; color: #B7801A; }
.service-card:nth-child(3n+3) .service-icon { background: #E2EFEC; color: var(--teal); }
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.06); }
.service-card p { color: var(--muted); font-size: .98rem; }
.service-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--ink); }
.service-link svg { transition: transform .25s var(--ease); }
.service-link:hover { color: var(--accent); }
.service-link:hover svg { transform: translateX(4px); }

/* ---------- O nama ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.about-visual { position: relative; }
.wall { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); background: #EDE6DA; overflow: hidden; box-shadow: var(--shadow-lg); }
.wall::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(27,31,42,.05) 1px, transparent 1px); background-size: 6px 6px; }
.wall-stripe { position: absolute; left: -10%; height: 34%; border-radius: 0 999px 999px 0; }
.wall-stripe.s1 { top: 6%; width: 92%; background: var(--teal); }
.wall-stripe.s2 { top: 36%; width: 76%; background: var(--sun); }
.wall-stripe.s3 { top: 66%; width: 58%; background: var(--accent); }
.reveal.in .wall-stripe { animation: paint 1.2s var(--ease) both; }
.reveal.in .wall-stripe.s2 { animation-delay: .15s; }
.reveal.in .wall-stripe.s3 { animation-delay: .3s; }
@keyframes paint { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.roller-art { position: absolute; right: 10%; bottom: 8%; width: 110px; height: 110px; border-radius: 28px; background: #fff; display: grid; place-items: center; color: var(--ink); box-shadow: var(--shadow); transform: rotate(-8deg); }
.about-badge { position: absolute; right: -22px; top: 40px; background: var(--ink); color: #fff; border-radius: 20px; padding: 20px 24px; box-shadow: var(--shadow-lg); }
.about-badge strong { display: block; font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--sun); font-weight: 500; }
.about-badge span { font-size: .85rem; color: rgba(255,255,255,.7); font-weight: 600; }
.about-copy > p { color: var(--ink-2); font-size: 1.06rem; }
.checklist { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.checklist li { display: flex; gap: 14px; }
.checklist li > svg { flex-shrink: 0; width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: var(--ink); color: var(--sun); }
.checklist strong { display: block; font-size: 1rem; margin-bottom: 2px; }
.checklist span { font-size: .92rem; color: var(--muted); line-height: 1.5; }

/* ---------- Boje i materijali ---------- */
#materijali { background: var(--surface); border-bottom: 1px solid var(--line); }
.materials-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.materials-copy > p { color: var(--ink-2); font-size: 1.06rem; }
.mat-types { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mat-types li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line); font-weight: 700; font-size: .93rem; }
.mat-types li > span { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.mat-types li:nth-child(3n+2) > span { background: #FDF3DC; color: #B7801A; }
.mat-types li:nth-child(3n+3) > span { background: #E2EFEC; color: var(--teal); }

.brands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.brand-card {
    position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
    min-height: 150px; padding: 24px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line);
    transition: transform .35s var(--ease), box-shadow .35s, border-color .35s, background .35s;
}
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: var(--surface); border-color: transparent; }
.brand-card-logo { height: 56px; display: flex; align-items: center; }
.brand-card-logo img { max-height: 56px; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .35s, opacity .35s; }
.brand-card:hover .brand-card-logo img { filter: none; opacity: 1; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.brand-card:hover .wordmark { color: var(--accent); }
.brand-card p { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.brand-card::after { content: ''; position: absolute; left: 24px; right: 24px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--accent), var(--sun), var(--teal)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.brand-card:hover::after { transform: scaleX(1); }
.brand-more { background: var(--ink); border-color: var(--ink); color: #fff; justify-content: center; }
.brand-more:hover { background: var(--ink); }
.brand-more p { color: rgba(255,255,255,.7); }
.brand-more strong { color: #fff; font-size: 1rem; }
.brands .brand-more:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: flex-start; min-height: 0; }
.brand-more-plus { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); font-size: 1.6rem; font-weight: 700; line-height: 1; }
.tm-note { margin: 36px 0 0; font-size: .78rem; color: var(--muted); text-align: center; }

/* ---------- Proces ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; position: relative; }
.process::before { content: ''; position: absolute; top: 58px; left: 12%; right: 12%; height: 2px; background-image: linear-gradient(90deg, var(--line) 50%, transparent 50%); background-size: 14px 2px; z-index: 0; }
.process li { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; transition: transform .35s var(--ease), box-shadow .35s; }
.process li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-no { position: absolute; top: 14px; right: 18px; font-family: var(--display); font-size: .85rem; font-weight: 700; color: var(--muted); }
.step-icon { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; box-shadow: 0 0 0 8px var(--bg); }
.process li:nth-child(2) .step-icon { background: var(--teal); }
.process li:nth-child(3) .step-icon { background: #C28A14; }
.process li:nth-child(4) .step-icon { background: var(--accent); }
.process p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Galerija ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid rgba(255,255,255,.18); background: transparent; color: rgba(255,255,255,.8); padding: 9px 16px; border-radius: 999px; font: 600 .9rem var(--font); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.chip.active { background: #fff; color: var(--ink); border-color: #fff; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; grid-auto-flow: dense; gap: 18px; }
.gallery-item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: #2A2F3C; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.is-hidden { display: none; }
.gallery-open { all: unset; cursor: zoom-in; display: block; width: 100%; height: 100%; }
.gallery-item img, .gallery-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-placeholder { display: grid; place-items: center; color: rgba(255,255,255,.45); }
.gallery-item:hover img, .gallery-item:hover .gallery-placeholder { transform: scale(1.06); }
.gallery-item figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 18px;
    background: linear-gradient(180deg, transparent, rgba(15,17,24,.85));
    display: flex; flex-direction: column; gap: 4px; pointer-events: none;
}
.gallery-item figcaption span { align-self: flex-start; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.gallery-item figcaption strong { font-size: 1.02rem; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12,14,20,.92); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; animation: fade .25s; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 100%); max-height: 80vh; border-radius: 14px; box-shadow: var(--shadow-lg); }
.lightbox-caption { color: #fff; margin-top: 16px; font-weight: 600; }
.lightbox-close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox-close:hover { background: rgba(255,255,255,.22); }
@keyframes fade { from { opacity: 0; } }

/* ---------- Recenzije ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial { position: relative; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px 26px; display: flex; flex-direction: column; }
.testimonial .quote-mark { position: absolute; top: 24px; right: 24px; color: var(--accent-soft); }
.testimonial .quote-mark svg { fill: currentColor; stroke: none; }
.testimonial .stars span { color: var(--line); }
.testimonial .stars span.on { color: var(--sun); }
.testimonial p { font-size: 1.04rem; color: var(--ink-2); margin: 18px 0 24px; flex: 1; }
.testimonial footer { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.testimonial footer strong { display: block; font-size: .98rem; }
.testimonial footer small { color: var(--muted); font-size: .85rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent), var(--sun)); }
.testimonial:nth-child(3n+2) .avatar { background: linear-gradient(135deg, var(--teal), var(--sage)); }
.testimonial:nth-child(3n+3) .avatar { background: linear-gradient(135deg, var(--ink), #4B5468); }

/* ---------- CTA ---------- */
.cta-band { padding: 0 0 clamp(20px, 4vw, 40px); }
.cta-inner {
    position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
    background: var(--accent); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 60px);
}
.cta-inner::before, .cta-inner::after { content: ''; position: absolute; border-radius: 50%; }
.cta-inner::before { width: 340px; height: 340px; right: -80px; top: -160px; background: rgba(242,177,52,.45); }
.cta-inner::after { width: 240px; height: 240px; right: 220px; bottom: -170px; background: rgba(27,31,42,.18); }
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner h2 { margin: 0 0 6px; }
.cta-inner p { margin: 0; opacity: .9; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-info > p { color: var(--muted); font-size: 1.06rem; }
.info-list { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 14px; }
.info-list li { display: flex; align-items: flex-start; gap: 16px; padding: 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.info-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--ink); color: var(--sun); display: grid; place-items: center; }
.info-list small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.info-list a, .info-list span { font-weight: 700; text-decoration: none; }
.info-list a:hover { color: var(--accent); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; }
.map iframe { width: 100%; height: 100%; border: 0; }

.contact-form-wrap { position: sticky; top: calc(var(--header-h) + 24px); }
.contact-form { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 7px; }
.field input, .field select, .field textarea {
    width: 100%; font: 500 1rem var(--font); color: var(--ink); background: var(--bg);
    border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 13px 15px;
    transition: border-color .2s, box-shadow .2s, background .2s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231B1F2A' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(228,87,46,.12); }
.field.invalid input, .field.invalid textarea { border-color: #D64545; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 4px 0 22px; cursor: pointer; }
.consent input { width: 20px; height: 20px; accent-color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.consent a { color: var(--accent); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; margin-bottom: 18px; }
.alert-success { background: #E3F4EC; color: #17694A; border: 1px solid #BFE5D3; }
.alert-error { background: #FDECEC; color: #A42B2B; border: 1px solid #F6CACA; }

/* ---------- Jednostavna stranica ---------- */
.page-simple h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.page-simple h3 { margin-top: 2em; }
.page-simple p { color: var(--ink-2); }
.page-simple a:not(.btn) { color: var(--accent); }
.table-scroll { overflow-x: auto; margin: 0 0 1em; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: .9rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.cookie-table th, .cookie-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cookie-table th { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--tint); }
.cookie-table tr:last-child td { border-bottom: 0; }

/* ---------- Cjenik ---------- */
.nav a[aria-current="page"] { background: var(--ink) !important; color: #fff !important; }
.page-hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(24px, 4vw, 48px); overflow: hidden; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.pl-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pl-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .88rem; font-weight: 700; color: var(--ink-2); text-decoration: none; }
.pl-chip svg { color: var(--accent); }
.pl-chip.link:hover { border-color: var(--ink); color: var(--ink); }
.pricelist-section { padding-top: clamp(24px, 4vw, 48px); }

.pl-legend { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--tint); font-size: .9rem; color: var(--ink-2); margin-bottom: 22px; }
.pl-legend div { display: flex; align-items: center; gap: 8px; }
.lg-swatch { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.lg-swatch.cur { background: var(--ink); }
.lg-swatch.anc { background: var(--teal); }
.lg-swatch.low { background: var(--sun); }

.pl-toc { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 30px; scrollbar-width: thin; }
.pl-toc a { flex-shrink: 0; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 700; font-size: .9rem; transition: all .2s; }
.pl-toc a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.pl-group { margin-bottom: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pl-group-title { font-family: var(--font); font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; margin: 0; padding: 20px 24px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, var(--accent-soft), transparent 60%); }
.pl-table { width: 100%; border-collapse: collapse; }
.pl-table th, .pl-table td { padding: 16px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid #F1ECE3; }
.pl-table tbody tr:last-child > * { border-bottom: 0; }
.pl-table thead th { white-space: nowrap; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 800; padding-top: 12px; padding-bottom: 12px; background: #FCFAF6; }
.pl-table tbody tr:hover { background: #FDFBF8; }
.c-name { font-weight: 400; }
.pl-name { display: block; font-weight: 700; }
.c-name small { display: block; color: var(--muted); font-size: .86rem; margin-top: 2px; }
.c-unit { color: var(--muted); white-space: nowrap; width: 110px; }
.c-price { width: 240px; }
.c-anchor { width: 1%; white-space: nowrap; }
.thead-anchor, .pl-table thead .c-anchor { color: var(--teal); }
.pl-current { font-size: 1.12rem; font-weight: 800; white-space: nowrap; }
.pl-current .from, .pl-anchor .from { font-size: .8rem; font-weight: 700; color: var(--muted); }
.pl-anchor { font-weight: 700; color: var(--teal); white-space: nowrap; font-size: 1.02rem; }
.pl-anchor-date { display: block; font-size: .78rem; color: var(--muted); }
.pl-regular, .pl-lowest { display: block; font-size: .82rem; color: var(--muted); margin-top: 3px; }
.pl-lowest b { color: #8A5D00; background: #FDF3DC; padding: 0 5px; border-radius: 5px; }
.is-promo .pl-current { color: var(--accent); }
.pl-badge { display: inline-block; margin-top: 6px; font-size: .74rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #fff; text-transform: uppercase; letter-spacing: .05em; }

.pl-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 10px 0 30px; }
.pl-note { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); }
.pl-note svg { flex-shrink: 0; color: var(--teal); margin-top: 2px; }
.pl-note p { margin: 0; }

.pl-machine { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; padding: 24px; border-radius: var(--radius); background: var(--tint); margin-bottom: 30px; }
.pl-machine h3 { margin-bottom: 6px; }
.pl-machine p { color: var(--ink-2); font-size: .94rem; }
.pl-files { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem; word-break: break-all; }
.pl-files a { color: var(--accent-dark); }
.pl-stable { margin: 12px 0 0; font-size: .86rem; }
.pl-stable a { color: var(--accent-dark); font-weight: 700; }
.pl-archive { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; align-self: start; }
.pl-archive summary { cursor: pointer; font-weight: 700; }
.pl-archive ul { list-style: none; padding: 0; margin: 12px 0 0; max-height: 240px; overflow: auto; display: grid; gap: 6px; font-size: .86rem; }
.pl-archive li { display: flex; gap: 12px; align-items: center; }
.pl-archive li span { flex: 1; color: var(--muted); }
.pl-archive a { font-weight: 700; color: var(--accent-dark); }

.pl-empty { text-align: center; padding: 60px 20px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.pl-empty h2 { font-size: 1.8rem; color: var(--ink); margin-top: 14px; }
.pl-empty a { color: var(--accent); font-weight: 700; }

.pl-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 28px 32px; border-radius: var(--radius-lg); background: var(--ink); color: #fff; }
.pl-cta h3 { font-size: 1.3rem; margin-bottom: 4px; }
.pl-cta p { margin: 0; color: rgba(255,255,255,.7); }

@media (max-width: 760px) {
    .pl-notes, .pl-machine { grid-template-columns: 1fr; }
    .pl-table thead { display: none; }
    .pl-table, .pl-table tbody, .pl-table tr, .pl-table th, .pl-table td { display: block; width: auto; }
    .pl-table tr { padding: 16px 18px; border-bottom: 1px solid #F1ECE3; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
    .pl-table tbody tr:last-child { border-bottom: 0; }
    .pl-table th, .pl-table td { padding: 0; border: 0 !important; white-space: normal; }
    .pl-table .c-name { grid-column: 1 / -1; }
    .pl-table .c-unit { grid-column: 1 / -1; font-size: .86rem; }
    .pl-table td[data-label]::before { content: attr(data-label); display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--muted); margin-bottom: 2px; }
    .pl-table .c-unit::before { display: none !important; }
    .pl-group-title { padding: 16px 18px; }
    .pl-cta { padding: 24px; }
    .pl-cta .btn { width: 100%; }
}

/* ---------- Podnožje ---------- */
.site-footer { background: #12151D; color: rgba(255,255,255,.7); padding: 80px 0 0; margin-top: clamp(40px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 56px; }
.site-footer .brand-text strong { color: #fff; }
.footer-about { margin: 20px 0; font-size: .94rem; max-width: 340px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .94rem; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--sun); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { color: var(--accent); margin-top: 4px; flex-shrink: 0; }
.footer-hours { font-size: .94rem; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; }
.socials a:hover { background: var(--accent); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; font-size: .85rem; }
.footer-bottom p { margin: 0; }

.mobile-bar { display: none; }

/* ---------- Kolačići ---------- */
.cookie-banner {
    position: fixed; left: 20px; bottom: 20px; z-index: 90; width: min(460px, calc(100% - 40px));
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 24px 60px -18px rgba(27,31,42,.45);
    opacity: 0; transform: translateY(20px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.cookie-banner.show { opacity: 1; transform: none; }
.cookie-banner[hidden] { display: none; }
.cb-inner { padding: 22px 22px 18px; }
.cb-head { display: flex; gap: 14px; }
.cb-icon { font-size: 1.6rem; line-height: 1; }
.cb-title { font-weight: 800; font-size: 1.02rem; margin: 0 0 4px; }
.cb-desc { font-size: .9rem; color: var(--ink-2); margin: 0; line-height: 1.55; }
.cb-desc a { color: var(--accent-dark); font-weight: 700; white-space: nowrap; }
.cb-prefs { display: grid; gap: 8px; margin: 16px 0 4px; }
.cb-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line); cursor: pointer; }
.cb-row strong { display: block; font-size: .92rem; }
.cb-row small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.cb-switch { position: relative; flex-shrink: 0; }
.cb-switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cb-switch span { display: block; width: 42px; height: 24px; border-radius: 99px; background: #D9D4CA; position: relative; transition: background .2s; }
.cb-switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.cb-switch input:checked + span { background: var(--teal); }
.cb-switch input:checked + span::after { transform: translateX(18px); }
.cb-switch input:disabled + span { opacity: .6; }
.cb-switch input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.cb-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 16px; }
.cb-actions .btn { flex: 1 1 auto; }
.link-btn { all: unset; cursor: pointer; transition: color .2s; }
.link-btn:hover { color: var(--sun); }
.link-btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

.map-ph { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 20px; background: repeating-linear-gradient(45deg, var(--tint), var(--tint) 12px, #EFE8DC 12px, #EFE8DC 24px); }
.map-ph p { margin: 0; }
.map-ph .small { font-size: .84rem; color: var(--muted); max-width: 300px; margin-bottom: 6px; }

/* ---------- Povratak na vrh ---------- */
.to-top {
    position: fixed; right: 24px; bottom: 24px; z-index: 55;
    width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
    display: grid; place-items: center; color: #fff; background: var(--ink);
    box-shadow: 0 12px 28px -10px rgba(27,31,42,.55);
    opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); }
.to-top:hover svg:not(.to-top-ring) { transform: translateY(-2px); }
.to-top svg:not(.to-top-ring) { transition: transform .25s var(--ease); position: relative; }
/* prsten koji pokazuje koliko je stranice pročitano */
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top-ring circle { fill: none; stroke: var(--sun); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 138.2px; stroke-dashoffset: 138.2px; transition: stroke-dashoffset .1s linear; }

/* ---------- Animacije pojavljivanja ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ==========================================================
   Responzivnost
   ========================================================== */
@media (max-width: 1100px) {
    .header-phone span { display: none; }
    .nav a:not(.btn) { padding: 8px 10px; }
}

@media (max-width: 960px) {
    :root { --header-h: 68px; }
    .nav {
        position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 4px;
        background: var(--bg); padding: 16px 20px 24px; border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 40px -20px rgba(27,31,42,.3);
        transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
    }
    .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
    .nav a:not(.btn) { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
    .nav-cta-mobile { display: inline-flex !important; margin-top: 14px; }
    .nav-toggle { display: block; }
    .hide-sm { display: none; }

    .hero-grid { grid-template-columns: 1fr; gap: 20px; }
    .hero-visual { height: 440px; max-width: 520px; width: 100%; margin: 0 auto; }
    .swatch { width: 140px; height: 310px; left: -70px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
    .stat:nth-child(2) { border-right: 0; }

    .services-grid, .testimonials { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .contact-grid, .materials-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-visual { max-width: 460px; }
    .about-badge { right: -10px; }
    .process { grid-template-columns: repeat(2, 1fr); }
    .process::before { display: none; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
    .contact-form-wrap { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
    body { font-size: 16px; padding-bottom: 76px; }
    .container { width: calc(100% - 32px); }
    .brand-text small { display: none; }
    .site-header .brand-logo { max-height: 40px; max-width: 150px; }
    .header-phone { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); justify-content: center; }
    .hero-ctas .btn { flex: 1 1 100%; }
    .hero-visual { height: 380px; }
    .swatch { width: 116px; height: 260px; left: -58px; padding: 12px; border-width: 4px; }
    .swatch span { font-size: .9rem; }
    .fc-2 { right: 0; top: 80px; }
    .float-card { padding: 10px 14px; }
    .float-card strong { font-size: 1.6rem; }

    .stats-grid { padding: 26px 10px; }
    .stat { border-right: 0; }
    .services-grid, .testimonials, .process { grid-template-columns: 1fr; }
    .checklist, .mat-types { grid-template-columns: 1fr; }
    .brand-card { min-height: 0; padding: 18px; }
    .brand-card-logo { height: 40px; }
    .brand-card-logo img { max-height: 40px; max-width: 120px; }
    .wordmark { font-size: 1.3rem; }
    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
    .gallery-item.tall { grid-row: span 1; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .cta-actions, .cta-actions .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-badge { right: 10px; top: 16px; padding: 14px 18px; }

    .mobile-bar {
        display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: rgba(250,247,242,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid var(--line);
    }
    .mobile-bar .btn { padding: 14px 10px; }
    .cookie-banner { left: 10px; right: 10px; width: auto; bottom: calc(80px + env(safe-area-inset-bottom)); }
    .cb-inner { padding: 18px 16px 14px; }
    .to-top { right: 16px; bottom: calc(86px + env(safe-area-inset-bottom)); width: 46px; height: 46px; }
}
