/* M&S Car Wash & Detailing: stranica (svijetli izgled, prvo za mobitel) */
@font-face { font-family: A; font-display: swap; src: url(../assets/fonts/anton-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: A; font-display: swap; src: url(../assets/fonts/anton-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-024F; }
@font-face { font-family: M; font-weight: 500; font-display: swap; src: url(../assets/fonts/montserrat-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: M; font-weight: 500; font-display: swap; src: url(../assets/fonts/montserrat-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-024F; }
@font-face { font-family: M; font-weight: 600; font-display: swap; src: url(../assets/fonts/montserrat-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: M; font-weight: 600; font-display: swap; src: url(../assets/fonts/montserrat-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-024F; }
@font-face { font-family: M; font-weight: 700; font-display: swap; src: url(../assets/fonts/montserrat-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: M; font-weight: 700; font-display: swap; src: url(../assets/fonts/montserrat-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-024F; }
@font-face { font-family: M; font-weight: 800; font-display: swap; src: url(../assets/fonts/montserrat-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: M; font-weight: 800; font-display: swap; src: url(../assets/fonts/montserrat-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-024F; }

:root { --navy: #0b1730; --ink: #0f1622; --blue: #1d5ad6; --blue2: #3b82f0; --sky: #8fd3ff; --mut: #5d6878; --line: #e3e8ef; --soft: #f2f5f9; --ease: cubic-bezier(0.22, 1, 0.36, 1); }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; -webkit-text-size-adjust: 100%; }
body { font: 500 15px/1.55 M, system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; padding-bottom: calc(88px + env(safe-area-inset-bottom)); -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: left; }
img { display: block; max-width: 100%; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--blue2); outline-offset: 3px; border-radius: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main, .nav, .foot { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* zaglavlje */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 34px; height: auto; }
.logo b { display: block; font: 800 15px/1.1 M, sans-serif; letter-spacing: .02em; }
.logo small { display: block; font: 700 9px M, sans-serif; letter-spacing: .34em; color: var(--blue); text-transform: uppercase; }
.links { display: none; align-items: center; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 99px; }
.links a { padding: 8px 16px; border-radius: 99px; font-size: 13px; font-weight: 600; color: #36404e; transition: background-color .2s, color .2s; }
.links a:hover { background: var(--soft); }
.links .bk { background: var(--blue); color: #fff; box-shadow: 0 8px 18px -8px rgba(29, 90, 214, .7); }
.links .bk:hover { background: var(--blue2); }
.callr { padding: 10px 14px; border-radius: 99px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.3; text-align: right; white-space: nowrap; }
.callr span { display: none; }

.pill { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 12px; font-weight: 600; animation: up .7s var(--ease) both; }
.pill i { display: grid; place-items: center; width: 40px; height: 28px; flex: none; border-radius: 10px; background: var(--blue); color: #fff; }
.pill span { padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; }

/* veliki naslov */
.hero { position: relative; isolation: isolate; }
.mega { position: relative; margin-top: 26px; font: 400 23vw/.86 A, Impact, 'Arial Narrow', sans-serif; letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; text-align: center;
  color: var(--navy); }
/* naslov u dva reda iste širine: CAR WASH i & DETAILING jednako veliki */
.mega .m1, .mega .m2 { display: block; -webkit-background-clip: text; background-clip: text; color: transparent; }
.mega .m1 { background-image: linear-gradient(180deg, var(--navy) 0%, #12306e 55%, var(--blue) 100%); animation: rise 1s var(--ease) .1s both; }
.mega .m2 { margin-top: .04em; font-size: .874em; background-image: linear-gradient(100deg, #1546b8 0%, var(--blue2) 38%, #8fcbff 50%, var(--blue2) 62%, #1546b8 100%); background-size: 220% 100%; animation: rise 1s var(--ease) .3s both, sheen 5s ease-in-out 1.6s infinite; }
@keyframes sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.glow { position: absolute; z-index: -1; left: -2%; right: -2%; bottom: -14px; height: 40%; opacity: .7; background: radial-gradient(55% 100% at 50% 100%, rgba(120, 190, 255, .95), rgba(143, 211, 255, .35) 45%, rgba(143, 211, 255, 0) 75%); filter: blur(10px); animation: fade 1.4s .4s both; }
.tags { list-style: none; position: absolute; inset: 0; pointer-events: none; }
.tags li { position: absolute; padding: 4px 9px; border-radius: 99px; background: #fff; box-shadow: 0 6px 16px -6px rgba(11, 23, 48, .35); font-size: 9px; font-weight: 700; color: var(--navy); animation: pop .6s var(--ease) both, bob 6s ease-in-out infinite; }
.tags li:nth-child(2) { animation-delay: .7s, -1.5s; } .tags li:nth-child(3) { animation-delay: .8s, -3s; } .tags li:nth-child(4) { animation-delay: .9s, -2s; } .tags li:nth-child(5) { animation-delay: 1s, -4s; } .tags li:nth-child(6) { animation-delay: 1.1s, -1s; }
.tags li:first-child { animation-delay: .6s, 0s; }
.tags .t1 { left: 0; top: 2%; } .tags .t2 { left: 34%; top: -12%; } .tags .t3 { left: 8%; top: 64%; }
.tags .t4 { left: 40%; top: 72%; } .tags .t5 { right: 0; top: -6%; } .tags .t6 { right: 2%; top: 60%; }
@keyframes rise { from { opacity: 0; transform: translateY(.25em); clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 -10% 0); } }
@keyframes up { from { opacity: 0; transform: translateY(14px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } }
@keyframes bob { 50% { translate: 0 -5px; } }

.photo { position: relative; margin-top: 10px; height: 590px; border-radius: 28px; overflow: hidden; background: var(--navy); animation: up 1s var(--ease) .3s both; }
.ph-bg { width: 100%; height: 330px; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.2) brightness(.95); transform: scale(1.06); animation: zoom 9s ease-out both; }
@keyframes zoom { to { transform: none; } }
.photo .tint { position: absolute; left: 0; right: 0; top: 0; height: 330px; background: linear-gradient(120deg, #1d5ad6, #3b82f0 55%, #8fd3ff); mix-blend-mode: color; opacity: .85; }
.photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(11, 23, 48, 0), rgba(11, 23, 48, .25) 250px, var(--navy) 330px); }
.photo::before { content: ''; position: absolute; z-index: 1; top: 0; bottom: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent); transform: translateX(-120%) skewX(-12deg); animation: shine 7s ease-in-out 1.6s infinite; pointer-events: none; }
@keyframes shine { 0% { transform: translateX(-120%) skewX(-12deg); } 35%, 100% { transform: translateX(320%) skewX(-12deg); } }
.hc { position: absolute; z-index: 2; left: 12px; right: 12px; display: grid; background: #fff; border-radius: 22px; padding: 16px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); animation: up .9s var(--ease) both; }
.hc1 { bottom: 192px; grid-template-columns: 1fr 110px; gap: 14px; height: 150px; animation-delay: .8s; }
.hc1 > div { display: flex; flex-direction: column; justify-content: space-between; }
.hc-t { font: 600 16px/1.3 M, sans-serif; letter-spacing: -.01em; }
.hc1 a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--blue); }
.hc1 a svg { transition: transform .25s; } .hc1 a:hover svg { transform: translateX(4px); }
.hc1 img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.hc2 { bottom: 12px; height: 168px; align-content: space-between; padding: 20px 22px; animation-delay: .95s; }
.hc2 p { font-size: 13px; color: #36404e; }
.big { display: flex; align-items: end; gap: 14px; }
.big b { font: 400 60px/.9 A, sans-serif; color: var(--navy); }
.big b small { font: 700 14px M, sans-serif; color: var(--mut); margin-left: 4px; }
.big span { font-size: 12px; line-height: 1.5; color: var(--mut); }
.big span strong { display: block; color: var(--ink); font-size: 13px; }

/* sekcije */
.sec { margin-top: 60px; scroll-margin-top: 16px; }
h2 { font: 700 27px/1.18 M, sans-serif; letter-spacing: -.02em; max-width: 19ch; }
.sub { margin-top: 8px; color: var(--mut); max-width: 50ch; }
.cards { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.card { position: relative; display: block; height: 210px; border-radius: 20px; overflow: hidden; background: var(--navy); }
.card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .6s var(--ease); }
.card .hue1 { filter: hue-rotate(195deg) saturate(.95); } .card .hue2 { filter: hue-rotate(215deg) saturate(.9); }
.card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 23, 48, 0) 30%, rgba(11, 23, 48, .9) 66%, #0b1730 82%); }
.card .bn { position: absolute; z-index: 1; left: 6px; top: 6px; padding: 8px 14px; border-radius: 99px; background: #fff; font-size: 11px; font-weight: 700; transition: background-color .25s, color .25s; }
.card .ct { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 14px; color: #fff; }
.card .ct b { display: block; font: 400 24px/1 A, sans-serif; text-transform: uppercase; letter-spacing: .01em; }
.card .ct span { display: inline-block; margin-top: 8px; padding: 4px 10px; border-radius: 99px; background: var(--blue2); font-size: 12px; font-weight: 700; }
@media (hover: hover) { .card:hover img { transform: scale(1.06); } .card:hover .bn { background: var(--blue); color: #fff; } }

.split { display: grid; gap: 24px; align-items: center; }
.lead { margin-top: 14px; color: #36404e; max-width: 46ch; }
.bul { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.bul li { display: flex; gap: 12px; align-items: center; font-size: 14px; font-weight: 600; }
.bul li::before { content: ''; width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(29, 90, 214, .15); }
.cont { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 13px; }
.cont i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff; }
.cont b { display: block; } .cont span span { color: var(--blue); font-weight: 700; }
.split .ph { height: 300px; border-radius: 24px; overflow: hidden; }
.split .ph img { width: 100%; height: 100%; object-fit: cover; }

/* cijene */
.grp { margin-top: 26px; }
.grp h3 { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); }
.grp h3::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.grp .im { position: relative; height: 210px; margin-top: 14px; border-radius: 22px; overflow: hidden; }
.grp .im img { width: 100%; height: 100%; object-fit: cover; }
.grp .im p { display: none; }
.rows { list-style: none; margin-top: 6px; }
.row { position: relative; width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); transition: background-color .25s; }
.row .ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--soft); color: var(--blue); transition: background-color .25s, color .25s; }
.row .ic svg { width: 20px; height: 20px; stroke-width: 1.8; }
.row .nm { flex: 1; min-width: 0; }
.row b { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; }
.row small { display: block; color: var(--mut); font-size: 12px; }
.row em { font-style: normal; font-weight: 800; font-size: 16px; color: var(--blue); white-space: nowrap; }
.add { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); color: var(--blue); transition: background-color .25s, transform .35s var(--ease), border-color .25s, color .25s; }
.add svg { width: 15px; height: 15px; stroke-width: 2.4; }
.row[aria-pressed='true'] { background: linear-gradient(90deg, rgba(59, 130, 240, .1), rgba(59, 130, 240, 0)); }
.row[aria-pressed='true'] .ic { background: var(--blue); color: #fff; }
[aria-pressed='true'] .add { background: var(--blue); border-color: var(--blue); color: #fff; transform: rotate(45deg); }
@media (hover: hover) { .row:hover { background: var(--soft); } }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 26px; padding: 22px 0; border-radius: 22px; background: linear-gradient(180deg, #f4f7fb, #e9eef5); }
.strip div { text-align: center; } .strip div + div { border-left: 1px solid #d3dbe6; }
.strip b { display: block; font: 700 24px M, sans-serif; letter-spacing: -.02em; } .strip b small { font-size: 13px; color: var(--mut); margin-left: 3px; }
.strip span { font-size: 12px; color: var(--mut); }

/* paketi */
.pk-h { text-align: center; } .pk-h p { font-size: 12px; color: var(--mut); } .pk-h h2 { margin: 6px auto 0; max-width: none; }
.pk { list-style: none; display: grid; gap: 16px; margin-top: 28px; }
.pkc { display: flex; flex-direction: column; align-items: center; padding: 30px 24px 26px; border-radius: 26px; border: 1px solid var(--line); text-align: center; transition: transform .3s var(--ease), box-shadow .3s; }
.pkc.mid { order: -1; background: var(--soft); border-color: transparent; }
.pkc h3 { font: 700 22px M, sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.pkc .pr { margin-top: 8px; font: 400 54px/1 A, sans-serif; color: var(--navy); } .pkc .pr small { font: 700 14px M, sans-serif; color: var(--mut); margin-left: 4px; }
.pkc .pd { margin-top: 8px; font-size: 13px; color: #36404e; }
.pkc > ul { list-style: none; width: 100%; margin: 18px 0 22px; text-align: left; }
.pkc > ul li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid #dfe5ed; font-size: 14px; }
.pkc > ul li::before { content: ''; flex: none; width: 17px; height: 17px; margin-top: 1px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.pkc .btn { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 12px 22px; border-radius: 99px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 10px 20px -10px rgba(29, 90, 214, .8); transition: background-color .2s, transform .2s var(--ease); }
.pkc .btn svg { width: 16px; height: 16px; stroke-width: 2.4; transition: transform .35s var(--ease); }
.pkc .btn[aria-pressed='true'] { background: var(--navy); } .pkc .btn[aria-pressed='true'] svg { transform: rotate(45deg); }
.pkc .btn:active { transform: scale(.97); }
.badge { margin-bottom: 10px; padding: 4px 12px; border-radius: 99px; background: linear-gradient(115deg, #b8862a, #f6dc8d 45%, #c99a2e); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #2b1d02; }
@media (hover: hover) { .pkc:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(11, 23, 48, .35); } }

/* upit */
.ask { display: grid; gap: 20px; padding: 26px 20px; border-radius: 26px; border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--soft)); }
.ask .k { font-size: 11px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: var(--blue); }
.ask h2 { margin-top: 6px; }
.picked { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.picked:empty::before { content: 'Još niste odabrali uslugu. Dodirnite stavke u cijenama iznad.'; color: var(--mut); font-size: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 8px 7px 12px; border-radius: 99px; background: #e8f0ff; border: 1px solid rgba(29, 90, 214, .35); color: var(--navy); font-size: 13px; font-weight: 600; animation: pop .35s var(--ease); }
.chip svg { width: 14px; height: 14px; stroke-width: 2.4; transform: rotate(45deg); color: var(--blue); }
.ask-btns { display: grid; gap: 10px; margin-top: 18px; }
.ask-btns a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 14px; font-weight: 700; }
.b-wa { background: #25d366; color: #04220f; } .b-vb { background: #7360f2; color: #fff; }
.note { margin-top: 12px; color: var(--mut); font-size: 13px; }
.copy { color: var(--blue); font-weight: 700; font-size: 14px; padding: 6px 0; }
.phone-msg { padding: 14px; border-radius: 20px; background: #0d1a14; align-self: start; }
.pm-head { display: flex; align-items: center; gap: 8px; padding: 0 2px 10px; margin-bottom: 12px; border-bottom: 1px solid rgba(37, 211, 102, .18); font-size: 13px; font-weight: 700; color: #bfe9cf; }
.pm-head img { width: 20px; height: auto; }
.bubble { margin-left: auto; max-width: 92%; width: fit-content; padding: 12px 14px; border-radius: 16px 16px 4px 16px; background: #135c37; color: #effff5; font-size: 15px; white-space: pre-line; }

/* poziv i dno */
.cta { display: grid; gap: 20px; margin-top: 60px; padding: 28px; border-radius: 30px; color: #fff; background: radial-gradient(90% 120% at 100% 0%, rgba(143, 211, 255, .45), transparent 60%), linear-gradient(120deg, var(--navy), var(--blue)); scroll-margin-top: 16px; }
.cta h2 { font-size: 30px; max-width: 16ch; }
.cta p { color: #d6e6ff; }
.cta .bt { display: flex; flex-wrap: wrap; gap: 10px; }
.cta .bt a { display: inline-flex; align-items: center; gap: 8px; padding: 13px 18px; border-radius: 14px; font-weight: 700; font-size: 14px; transition: transform .2s var(--ease); }
.cta .bt a:hover { transform: translateY(-2px); }
.cta .tl { background: #fff; color: var(--navy); } .cta .wa { background: #25d366; color: #04220f; } .cta .vb { background: #7360f2; }
.foot { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; margin-bottom: 24px; padding: 26px; border-radius: 26px; background: var(--soft); font-size: 13px; }
.foot > div:first-child { grid-column: 1 / -1; }
.foot h4 { font-size: 13px; margin-bottom: 8px; } .foot p { color: var(--mut); line-height: 1.9; }
.foot p a:hover { color: var(--blue); }
.soc { display: flex; gap: 8px; margin-top: 14px; }
.soc a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; }
.soc svg { width: 17px; height: 17px; }

/* donja traka (mobitel), poruka i pjena */
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 8px; border-radius: 22px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid var(--line); box-shadow: 0 18px 40px -16px rgba(11, 23, 48, .45); }
.dock a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 15px; font-weight: 700; font-size: 14px; }
.dock svg { width: 18px; height: 18px; }
.d-call { background: var(--blue); color: #fff; } .d-wa { background: #25d366; color: #04220f; } .d-up { background: var(--soft); }
.count { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; }
.count.bump { animation: pop .35s var(--ease); }
.toast { position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 40; padding: 10px 16px; border-radius: 99px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); opacity: 0; transform: translate(-50%, 12px); transition: opacity .25s, transform .35s var(--ease); pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.foam { position: fixed; z-index: 50; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border-radius: 50%; border: 1px solid rgba(59, 130, 240, .55); background: radial-gradient(circle at 32% 28%, #fff 0 14%, rgba(143, 211, 255, .45) 40%, rgba(143, 211, 255, .1) 72%); pointer-events: none; animation: foam .9s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes foam { to { transform: translate(var(--dx), var(--dy)) scale(1.25); opacity: 0; } }

/* pojavljivanje pri listanju */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv .card, .js .rv .pkc { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .3s; }
.js .rv.in .card, .js .rv.in .pkc { opacity: 1; transform: none; }
.rv.in li:nth-child(2) > .card, .rv.in .pkc:nth-child(2) { transition-delay: .08s; } .rv.in li:nth-child(3) > .card, .rv.in .pkc:nth-child(3) { transition-delay: .16s; } .rv.in li:nth-child(4) > .card { transition-delay: .24s; }

/* tablet i računar */
@media (min-width: 601px) {
  main, .nav, .foot { width: min(1200px, 100% - 48px); }
  .mega { font-size: clamp(96px, 14.6vw, 190px); margin-top: 14px; }
  .glow { bottom: -30px; }
  .tags li { padding: 5px 12px; font-size: 11px; }
  .tags .t1 { left: 6%; top: 14%; } .tags .t2 { left: 2%; top: 44%; } .tags .t3 { left: 9%; top: 74%; } .tags .t4 { left: auto; right: 7%; top: 12%; } .tags .t5 { left: auto; right: 2%; top: 44%; } .tags .t6 { right: 8%; top: 74%; }
  .photo { height: 600px; margin-top: 18px; }
  .ph-bg { height: 62%; object-position: 50% 35%; }
  .photo .tint { height: 62%; }
  .photo::after { background: linear-gradient(180deg, rgba(11, 23, 48, .08), rgba(11, 23, 48, .3) 46%, var(--navy) 62%); }
  .sec { margin-top: 90px; }
  h2 { font-size: 40px; }
  .cards { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
  .card { height: 300px; } .card .ct b { font-size: 32px; } .card .ct { left: 16px; bottom: 16px; }
  .split { grid-template-columns: 1fr 1fr; gap: 50px; } .split .ph { height: 420px; }
  .grp .im { height: 330px; } .grp .im p { display: block; position: absolute; left: 18px; bottom: 18px; max-width: 46ch; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .95); font-size: 13px; }
  .rows { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .row { padding: 16px 6px; }
  .row b { font-size: 16px; } .row em { font-size: 17px; }
  .strip b { font-size: 32px; } .strip b small { font-size: 14px; } .strip span { font-size: 13px; }
  .pk { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; }
  .pkc { border-color: transparent; } .pkc.mid { order: 0; }
  .ask { grid-template-columns: 1.1fr 1fr; gap: 36px; padding: 36px; }
  .ask-btns { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1.2fr 1fr; align-items: center; padding: 44px; margin-top: 90px; }
  .cta h2 { font-size: 36px; } .cta .bt { justify-content: flex-end; }
  .foot { grid-template-columns: 1.4fr 1fr 1fr 1fr; padding: 36px; margin-top: 60px; }
  .foot > div:first-child { grid-column: auto; }
}
@media (min-width: 900px) {
  .photo { height: 470px; }
  .hc { padding: 22px 24px; }
  .hc1 { left: 16px; right: auto; bottom: 16px; width: calc(63% - 16px); grid-template-columns: 1fr 210px; gap: 18px; height: 205px; }
  .hc-t { font-size: 22px; }
  .hc2 { left: auto; right: 16px; bottom: 16px; width: calc(35% - 16px); height: 205px; }
  .big b { font-size: 64px; }
  body { padding-bottom: 0; }
  .dock { display: none; }
  .toast { bottom: 28px; }
  .links { display: flex; }
  .callr { padding: 0; background: none; color: var(--ink); }
  .callr span { display: block; color: var(--mut); font-weight: 600; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv, .js .rv .card, .js .rv .pkc { opacity: 1; transform: none; }
}
/* mobitel: prava fotografija pranja, u svojim bojama */
@media (max-width: 600px) {
  .ph-bg { filter: saturate(1.05) contrast(1.05); }
  .photo .tint { display: none; }
}
/* logo na sredini slike (mobitel) koji se presijava */
.ph-logo { display: none; }
@media (max-width: 600px) {
  .ph-logo { position: absolute; z-index: 1; left: 50%; top: 124px; display: block; width: 104px; translate: -50% -50%; animation: logo-in 1.1s var(--ease) .5s both, logo-float 5s ease-in-out 1.6s infinite; }
  .ph-logo::before { content: ''; position: absolute; left: 50%; top: 50%; z-index: -1; width: 172px; height: 172px; margin: -86px 0 0 -86px; border-radius: 50%; background: radial-gradient(circle at 50% 30%, rgba(29, 90, 214, .85), rgba(11, 23, 48, .94) 72%); border: 1.5px solid rgba(143, 211, 255, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 0 0 0 rgba(143, 211, 255, .55), 0 20px 40px -14px rgba(0, 0, 0, .6); animation: logo-ring 2.6s ease-out infinite; }
  .ph-logo::after { content: ''; position: absolute; left: 50%; top: 50%; z-index: -1; width: 198px; height: 198px; margin: -99px 0 0 -99px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 70%, rgba(143, 211, 255, .9) 85%, transparent 100%); -webkit-mask: radial-gradient(closest-side, transparent 92%, #000 94%, #000 98%, transparent 100%); mask: radial-gradient(closest-side, transparent 92%, #000 94%, #000 98%, transparent 100%); animation: logo-spin 4s linear infinite; }
  .ph-logo img { display: block; width: 100%; height: auto; }
  .ph-shine { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 1) 50%, transparent 66%) 100% 0 / 300% 100% no-repeat;
    -webkit-mask: url(../assets/img/logo-dark.svg) center / contain no-repeat; mask: url(../assets/img/logo-dark.svg) center / contain no-repeat; animation: logo-shine 2.8s ease-in-out 1.4s infinite; }
}
@keyframes logo-in { from { opacity: 0; scale: .6; } }
@keyframes logo-float { 50% { translate: -50% calc(-50% - 6px); } }
@keyframes logo-ring { 0% { box-shadow: 0 0 0 0 rgba(143, 211, 255, .55), 0 20px 40px -14px rgba(0, 0, 0, .6); } 100% { box-shadow: 0 0 0 22px rgba(143, 211, 255, 0), 0 20px 40px -14px rgba(0, 0, 0, .6); } }
@keyframes logo-spin { to { transform: rotate(360deg); } }
@keyframes logo-shine { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0 0; } }
