:root {
  --red: #1467e8;
  --red-dark: #0b3ea8;
  --ink: #0b0b0c;
  --muted: #707076;
  --paper: #f4f3ef;
  --line: #d9d8d3;
  --green: #0da83e;
  --radius: 20px;
  --max: 1240px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Inter, "Aptos", "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(var(--max), calc(100% - 44px)); margin-inline: auto; }
.section { padding: 120px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 9999; padding: 12px 18px; background: var(--red); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 20px; }

.site-header { position: fixed; z-index: 1000; top: 0; left: 0; right: 0; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(11,11,12,.08); backdrop-filter: blur(16px); transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.nav-wrap { width: min(1320px, calc(100% - 44px)); min-height: 84px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: baseline; letter-spacing: -.05em; font-size: 24px; font-weight: 800; white-space: nowrap; }
.brand strong { color: var(--red); }
.brand i { margin-left: 3px; font-size: 12px; font-style: normal; letter-spacing: 0; color: #8e8e91; }
nav { display: flex; align-items: center; gap: 30px; }
nav a { position: relative; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px; background: var(--red); transition: width .2s ease; }
nav a:hover::after { width: 100%; }
.nav-cta { padding: 14px 20px; color: #fff; background: var(--red); border-radius: 9px; box-shadow: 0 8px 20px rgba(20,103,232,.24); }
.nav-cta:hover { background: var(--red-dark); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid #c8c8c8; border-radius: 50%; background: #fff; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 19px; height: 2px; background: var(--ink); transition: .2s ease; }

.hero { position: relative; min-height: 830px; padding-top: 84px; color: #fff; background: #0b0b0c url("assets/texture.jpg") center / cover; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 30%, rgba(20,103,232,.22), transparent 33%), linear-gradient(90deg, rgba(0,0,0,.84), rgba(0,0,0,.55) 48%, rgba(0,0,0,.72)); }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; right: -180px; top: 105px; box-shadow: 0 0 0 85px rgba(255,255,255,.025), 0 0 0 170px rgba(255,255,255,.015); }
.hero-grid { position: relative; z-index: 2; min-height: 685px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 64px; }
.eyebrow, .kicker { margin: 0 0 22px; text-transform: uppercase; font-size: 12px; line-height: 1.4; font-weight: 900; letter-spacing: .16em; color: var(--red); }
.eyebrow { color: #fff; display: flex; align-items: center; gap: 12px; }
.eyebrow span { width: 34px; height: 3px; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 26px; max-width: 690px; font-size: clamp(52px, 5.6vw, 88px); line-height: .98; letter-spacing: -.065em; }
h1 em, h2 span { color: var(--red); font-style: normal; }
.hero-lead { max-width: 630px; margin-bottom: 34px; color: rgba(255,255,255,.74); font-size: 19px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 54px; padding: 0 24px; border: 0; border-radius: 9px; align-items: center; justify-content: center; gap: 18px; font-weight: 850; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-red, .button-blue { background: var(--red); color: #fff; box-shadow: 0 12px 30px rgba(20,103,232,.27); }
.button-red:hover, .button-blue:hover { background: var(--red-dark); }
.button-ghost { background: #fff; color: var(--ink); }
.button-dark { background: var(--ink); color: #fff; }
.button-ghost-light { color: #fff; border: 1px solid rgba(255,255,255,.35); }
.button-ghost-light:hover { background: #fff; color: var(--ink); }
.hero-proof { display: flex; gap: 42px; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-proof div { display: grid; gap: 4px; }
.hero-proof strong { font-size: 28px; letter-spacing: -.04em; }
.hero-proof span { color: rgba(255,255,255,.55); font-size: 12px; text-transform: uppercase; letter-spacing: .09em; }
.hero-art { position: relative; height: 570px; }
.hero-card { position: absolute; margin: 0; overflow: hidden; background: #ddd; border: 8px solid #fff; border-radius: 4px; box-shadow: var(--shadow); }
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-a { width: 320px; height: 320px; top: 44px; left: 8px; transform: rotate(-5deg); }
.hero-card-b { width: 290px; height: 290px; right: 0; top: 108px; transform: rotate(7deg); }
.hero-card-c { width: 235px; height: 235px; bottom: 12px; left: 120px; transform: rotate(2deg); }
.hero-badge { position: absolute; z-index: 3; right: 22px; bottom: 50px; width: 136px; height: 136px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--red); border-radius: 50%; box-shadow: 0 15px 35px rgba(20,103,232,.34); transform: rotate(-8deg); }
.hero-badge b { font-size: 25px; }.hero-badge span { font-size: 11px; line-height: 1.25; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.hero-ticker { position: relative; z-index: 4; height: 62px; display: flex; align-items: center; overflow: hidden; background: var(--red); transform: rotate(-1.25deg) scale(1.02); transform-origin: center; }
.hero-ticker div { white-space: nowrap; font-weight: 900; font-size: 15px; letter-spacing: .11em; animation: ticker 24s linear infinite; }
.hero-ticker b { padding: 0 20px; color: #111; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-heading { max-width: 850px; margin-bottom: 64px; }
.section-heading h2, .portfolio-head h2, .process h2, .faq h2, .contact h2 { margin-bottom: 24px; font-size: clamp(42px, 5vw, 70px); line-height: 1.02; letter-spacing: -.055em; }
.section-heading > p:last-child, .portfolio-head > p, .process-sticky > p, .faq-title > p, .contact-copy > p { max-width: 610px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefit-card { position: relative; min-height: 340px; padding: 42px 38px; border-right: 1px solid var(--line); transition: background .25s ease, transform .25s ease; }
.benefit-card:first-child { border-left: 1px solid var(--line); }
.benefit-card:hover { z-index: 2; background: var(--paper); transform: translateY(-8px); }
.benefit-card .number { position: absolute; top: 28px; right: 30px; color: #aaa; font-size: 12px; font-weight: 800; }
.benefit-card .icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 44px; color: #fff; background: var(--red); border-radius: 50%; font-size: 21px; }
.benefit-card h3 { margin-bottom: 16px; font-size: 30px; letter-spacing: -.04em; }
.benefit-card p { margin: 0; color: var(--muted); line-height: 1.75; }

.section-dark { position: relative; color: #fff; background: #0b0b0c; }
.section-dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, transparent 45%, rgba(20,103,232,.075)); }
.process-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.process-sticky { position: sticky; top: 135px; align-self: start; }
.kicker-light { color: var(--red); }
.process-sticky > p { color: rgba(255,255,255,.58); }
.text-link { display: inline-flex; gap: 34px; padding-bottom: 7px; margin-top: 20px; border-bottom: 2px solid var(--red); font-weight: 850; }
.text-link span { color: var(--red); }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 74px 1fr; gap: 20px; padding: 36px 0; border-top: 1px solid rgba(255,255,255,.16); }
.process-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.process-list li > b { color: var(--red); font-size: 13px; letter-spacing: .12em; }
.process-list h3 { margin-bottom: 10px; font-size: 28px; letter-spacing: -.03em; }
.process-list p { margin: 0; color: rgba(255,255,255,.58); line-height: 1.7; }

.portfolio { background: var(--paper); }
.portfolio-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.portfolio-head h2 { margin-bottom: 0; }
.portfolio-head > p { max-width: 460px; margin-bottom: 5px; }
.gallery-toolbar { min-height: 58px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-bottom: 20px; border-bottom: 1px solid #cac9c4; }
.gallery-toolbar p { margin: 0 auto 0 0; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.gallery-toolbar p strong { color: var(--ink); }
.view-toggle { padding: 9px 12px; color: #777; background: transparent; border: 0; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 750; }
.view-toggle.is-active { color: #fff; background: var(--ink); }
.gallery-grid { --cols: 4; display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 14px; }
.gallery-item { position: relative; aspect-ratio: 1; padding: 0; overflow: hidden; border: 0; background: #ddd; cursor: zoom-in; opacity: 0; transform: translateY(16px); animation: galleryIn .45s forwards; }
.gallery-item::after { content: "Poglej projekt  ↗"; position: absolute; inset: auto 12px 12px; padding: 12px 13px; color: #fff; background: rgba(0,0,0,.74); backdrop-filter: blur(8px); transform: translateY(80px); transition: transform .25s ease; font-size: 12px; font-weight: 800; text-align: left; }
.gallery-item:hover::after { transform: translateY(0); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-more { display: grid; justify-items: center; gap: 13px; padding-top: 46px; }
.gallery-more p { margin: 0; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.gallery-more .button[hidden] { display: none; }
@keyframes galleryIn { to { opacity: 1; transform: none; } }

.heading-light > p:last-child { color: rgba(255,255,255,.58); }
.pricing-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 18px; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 40px 34px 34px; color: var(--ink); background: #fff; border-radius: var(--radius); overflow: hidden; }
.price-card.featured { outline: 3px solid var(--red); transform: translateY(-14px); }
.discount { position: absolute; top: 28px; right: -46px; width: 170px; padding: 11px; color: #fff; background: var(--red); transform: rotate(43deg); text-align: center; font-weight: 900; }
.popular { position: absolute; top: 0; left: 0; right: 0; padding: 7px; color: #fff; background: var(--red); text-align: center; text-transform: uppercase; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.featured .package-label { margin-top: 14px; }
.package-label { margin-bottom: 13px; color: var(--red); text-transform: uppercase; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.price-card h3 { margin-bottom: 26px; font-size: 28px; letter-spacing: -.04em; }
.price { display: flex; align-items: baseline; gap: 12px; padding: 20px 0; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }
.price s { color: var(--red); font-size: 13px; font-weight: 800; }
.price strong { font-size: 45px; letter-spacing: -.05em; }
.availability { margin: 24px 0; color: var(--green); font-size: 13px; font-weight: 850; }
.availability span { margin-right: 8px; }
.price-card ul { flex: 1; margin: 0 0 28px; padding: 0; list-style: none; }
.price-card li { position: relative; padding: 9px 0 9px 25px; color: #48484d; line-height: 1.45; font-size: 14px; }
.price-card li::before { content: "→"; position: absolute; left: 0; color: var(--red); font-weight: 900; }
.custom-package { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 42px; padding: 38px 42px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); }
.custom-package .kicker { margin-bottom: 7px; }.custom-package h3 { margin: 0; font-size: 28px; }

.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; }
.faq-title { position: sticky; top: 130px; align-self: start; }
.dark-link { color: var(--ink); }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 27px 0; cursor: pointer; list-style: none; font-size: 19px; font-weight: 800; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: var(--ink); border-radius: 50%; font-size: 20px; transition: transform .2s ease, background .2s ease; }
.accordion details[open] summary span { background: var(--red); transform: rotate(45deg); }
.accordion details p { max-width: 700px; margin: -4px 60px 28px 0; color: var(--muted); line-height: 1.7; }

.contact { color: #fff; background: var(--ink); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 110px; align-items: start; }
.contact-copy { padding-top: 20px; }.contact-copy > p { color: rgba(255,255,255,.58); }
.contact-links { display: grid; gap: 18px; margin-top: 45px; }
.contact-links a { display: grid; gap: 4px; width: max-content; }
.contact-links small { color: rgba(255,255,255,.5); text-transform: uppercase; font-size: 10px; letter-spacing: .13em; }
.contact-links strong { font-size: 18px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 18px; padding: 38px; color: var(--ink); background: #fff; border-radius: var(--radius); }
.contact-form label { display: grid; gap: 8px; font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.contact-form label:nth-child(4) { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid #bbb; border-radius: 0; background: transparent; outline: none; font-size: 16px; text-transform: none; letter-spacing: normal; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--red); box-shadow: 0 1px var(--red); }
.contact-form button { justify-self: start; }
.form-note { align-self: center; margin: 0; color: #888; font-size: 12px; line-height: 1.5; }

footer { padding: 70px 0 24px; color: rgba(255,255,255,.66); background: #050506; border-top: 1px solid rgba(255,255,255,.1); }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr 1fr; gap: 70px; padding-bottom: 55px; }
.footer-brand { color: #fff; margin-bottom: 18px; }.footer-grid > div:first-child p { max-width: 390px; line-height: 1.7; }
.footer-grid h3 { margin-bottom: 20px; color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-grid a:not(.brand):hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.11); font-size: 12px; }
.footer-bottom p { margin: 0; }

.lightbox { position: fixed; width: 100vw; max-width: none; height: 100vh; max-height: none; padding: 0; border: 0; background: rgba(5,5,6,.96); overflow: hidden; }
.lightbox::backdrop { background: rgba(0,0,0,.88); }
.lightbox figure { width: min(82vw, 980px); height: 86vh; margin: 7vh auto; display: grid; place-items: center; }
.lightbox img { max-width: 100%; max-height: calc(86vh - 40px); object-fit: contain; box-shadow: 0 20px 70px rgba(0,0,0,.5); }
.lightbox figcaption { align-self: end; color: rgba(255,255,255,.64); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.lightbox button { position: fixed; width: 50px; height: 50px; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); border-radius: 50%; cursor: pointer; }
.lightbox-close { top: 26px; right: 30px; font-size: 27px; }.lightbox-prev { left: 28px; top: 50%; }.lightbox-next { right: 28px; top: 50%; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  nav { gap: 18px; } nav a { font-size: 11px; }
  .hero-grid { grid-template-columns: 1fr .85fr; gap: 24px; }
  .hero-art { transform: scale(.85); transform-origin: center right; }
  .gallery-grid { --cols: 3 !important; }
  .process-grid, .faq-grid, .contact-grid { gap: 60px; }
}

@media (max-width: 820px) {
  .section { padding: 86px 0; }
  .menu-toggle { z-index: 2; display: flex; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  nav { position: fixed; inset: 84px 0 auto; display: none; padding: 25px 22px 30px; background: #fff; box-shadow: 0 16px 30px rgba(0,0,0,.12); flex-direction: column; align-items: stretch; gap: 0; }
  nav.is-open { display: flex; } nav a { padding: 14px 4px; font-size: 14px; border-bottom: 1px solid #eee; }
  .nav-cta { margin-top: 15px; text-align: center; border: 0; }
  .hero { min-height: 1040px; }
  .hero-grid { min-height: 925px; grid-template-columns: 1fr; padding-top: 64px; align-content: center; }
  .hero-art { width: 540px; max-width: 100%; height: 430px; margin: auto; transform: scale(.88); transform-origin: top center; }
  .hero-card-a { width: 270px; height: 270px; }.hero-card-b { width: 245px; height: 245px; }.hero-card-c { width: 190px; height: 190px; }
  .benefit-grid, .pricing-grid { grid-template-columns: 1fr; }
  .benefit-card, .benefit-card:first-child { border: 1px solid var(--line); border-bottom: 0; }
  .benefit-card:last-child { border-bottom: 1px solid var(--line); }
  .process-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .process-sticky, .faq-title { position: static; }
  .portfolio-head { display: block; }.portfolio-head > p { margin-top: 22px; }
  .gallery-grid { --cols: 2 !important; }
  .price-card.featured { transform: none; }
  .custom-package { align-items: flex-start; flex-direction: column; }
  .contact-form { grid-template-columns: 1fr; }.contact-form label:nth-child(4) { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }.footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  .container, .nav-wrap { width: min(100% - 30px, var(--max)); }
  .nav-wrap { min-height: 74px; }.brand { font-size: 20px; }nav { top: 74px; }
  .hero { padding-top: 74px; min-height: 940px; }
  .hero-grid { min-height: 835px; padding-top: 38px; }
  h1 { font-size: 48px; }.hero-lead { font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .hero-proof { gap: 22px; }.hero-proof strong { font-size: 22px; }.hero-proof span { font-size: 9px; }
  .hero-art { width: 390px; height: 340px; transform: scale(.82); }
  .hero-card-a { left: -6px; }.hero-card-b { right: -18px; }.hero-card-c { left: 80px; }
  .hero-badge { right: -5px; bottom: 18px; width: 112px; height: 112px; }
  .section-heading h2, .portfolio-head h2, .process h2, .faq h2, .contact h2 { font-size: 40px; }
  .gallery-toolbar .view-toggle { display: none; }.gallery-grid { gap: 8px; }
  .price-card { padding: 36px 24px 28px; }.custom-package { padding: 28px 24px; }
  .contact-form { padding: 28px 22px; }.contact-form button { width: 100%; }.form-note { text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }.footer-grid > div:first-child { grid-column: auto; }.footer-bottom { align-items: flex-start; gap: 16px; flex-direction: column; }
  .lightbox figure { width: 94vw; }.lightbox-prev { left: 10px; }.lightbox-next { right: 10px; }
}

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

.honeypot { position:absolute; left:-9999px; width:1px; height:1px; opacity:0; pointer-events:none; }
.form-status { display:none; margin:0; font-weight:700; }
.form-status.is-success, .form-status.is-error { display:block; }
.form-status.is-success { color:#82f2b0; }
.form-status.is-error { color:#ffb4a5; }
