/* Slobodan Dabic — portfolio */
:root {
  --bg: #f8f5ef;
  --soft: #efe9df;
  --line: #e4dccf;
  --ink: #16130f;
  --text: #45403a;
  --muted: #7a7268;
  --primary: #b4532c;
  --primary-2: #96421f;
  --green: #1f9d55;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 16px;
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.15; letter-spacing: -.025em; font-weight: 800; }
h2 { font-size: clamp(28px, 3.4vw, 40px); max-width: 22ch; }
h3 { font-size: 20px; letter-spacing: -.015em; }
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* Buttons */
.btn { transform: translateY(0); display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 10px; border: 1.5px solid transparent; font: 700 15.5px/1 var(--font); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -12px rgba(17,20,24,.45); }
.btn:active { transform: translateY(0); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-2); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a3038; }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.link { font-weight: 700; font-size: 14.5px; color: var(--muted); text-decoration: none; }
.link:hover { color: var(--ink); text-decoration: underline; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(248,245,239,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.logo__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 13px; letter-spacing: .02em; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--text); }
.nav__links a:hover { color: var(--ink); }

.nav__wa { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--line); color: #1faa53; margin-right: -14px; }
.nav__wa:hover { border-color: #1faa53; }
.nav__wa svg { width: 21px; height: 21px; fill: currentColor; }
.btn--wa { margin-top: 26px; background: #1faa53; color: #fff; }
.btn--wa:hover { background: #188f45; }
.btn--wa svg { width: 20px; height: 20px; fill: currentColor; }

/* Hero */
.hero { padding: 72px 0 40px; }
@keyframes riseIn { from { opacity: 0; transform: translateY(26px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
@keyframes cardIn { from { opacity: 0; transform: translateX(-14px); } }
@keyframes thumbIn { from { opacity: 0; transform: translateY(12px) rotate(0deg); } }
.hero__photo .arch { animation: riseIn 1s cubic-bezier(.2,.7,.2,1) .1s backwards; }
.hero__photo img { animation: fadeUp 1s cubic-bezier(.2,.7,.2,1) .35s backwards; }
.hero__photo figcaption { animation: cardIn .8s cubic-bezier(.2,.7,.2,1) .9s backwards; }
.proof__thumbs a { animation: thumbIn .6s cubic-bezier(.2,.7,.2,1) backwards; }
.proof__thumbs a:nth-child(1) { animation-delay: 1s; } .proof__thumbs a:nth-child(2) { animation-delay: 1.1s; }
.proof__thumbs a:nth-child(3) { animation-delay: 1.2s; } .proof__thumbs a:nth-child(4) { animation-delay: 1.3s; }
.mark { position: relative; white-space: nowrap; z-index: 0; }
.mark::after { content: ""; position: absolute; left: 0; right: -1%; bottom: -.08em; height: .32em; z-index: -1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13 C 60 5, 140 4, 205 8 S 280 12, 297 7' fill='none' stroke='%23c8643b' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; opacity: .9; clip-path: inset(-20% 100% -20% 0); animation: draw 1.1s cubic-bezier(.6,.05,.3,1) .6s forwards; }
@keyframes draw { to { clip-path: inset(-20% 0 -20% 0); } }
.proof { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 600px; }
.proof__label { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.proof__thumbs { display: flex; }
.proof__thumbs a { display: block; margin-right: -10px; border-radius: 8px; border: 2px solid #fffdf9; box-shadow: 0 6px 14px -8px rgba(40,25,10,.5); transition: transform .25s; }
.proof__thumbs a:nth-child(odd) { transform: rotate(-3deg); }
.proof__thumbs a:nth-child(even) { transform: rotate(2deg); }
.proof__thumbs a:hover { transform: translateY(-4px) rotate(0); z-index: 1; position: relative; }
.proof__thumbs img { display: block; width: 72px; height: 45px; object-fit: cover; object-position: top; border-radius: 6px; }
.proof__note { display: inline-flex; align-items: center; gap: 8px; margin-left: 10px; font-size: 14px; font-weight: 700; color: var(--text); }
.hero__grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 64px; align-items: center; }
.hero__hello { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; color: var(--text); background: var(--soft); border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px; margin-bottom: 24px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(31,157,85,.5); animation: ping 2.2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(31,157,85,.5); } 80%, 100% { box-shadow: 0 0 0 9px rgba(31,157,85,0); } }
.hero h1 { font-size: clamp(38px, 4.8vw, 58px); line-height: 1.07; letter-spacing: -.035em; max-width: 17ch; }
.lead { font-size: 19px; margin: 24px 0 34px; max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__photo { margin: 0; position: relative; aspect-ratio: 4 / 5; }
.hero__photo .arch { position: absolute; left: 6%; right: 6%; bottom: 0; height: 80%; border-radius: 999px 999px 26px 26px; background: radial-gradient(80% 60% at 30% 20%, #e08a5f 0%, transparent 70%), #c8643b; }
.hero__photo .arch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1.3px); background-size: 14px 14px; }
.hero__photo img { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; -webkit-mask-image: linear-gradient(#000 92%, transparent 100%); mask-image: linear-gradient(#000 92%, transparent 100%); clip-path: inset(-100% 0 0 0 round 0 0 26px 26px); }
.hero__photo figcaption { position: absolute; left: -26px; bottom: 30px; background: rgba(255,253,249,.96); backdrop-filter: blur(6px); border-radius: 12px; padding: 12px 16px; display: flex; flex-direction: column; line-height: 1.35; box-shadow: 0 14px 34px -16px rgba(40,25,10,.45); max-width: 250px; }
.hero__photo b { color: var(--ink); font-size: 15px; }
.hero__photo span { font-size: 13px; color: var(--muted); }

/* Sections */
.section { padding: 96px 0; }
.hero + .section { padding-top: 70px; }
.section--soft { background: var(--soft); }
.head { margin-bottom: 48px; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.sub { font-size: 18px; max-width: 60ch; margin-top: 16px; }

/* Work */
.work { display: grid; gap: 28px; }
.proj { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; border: 1px solid var(--line); border-radius: 22px; padding: 26px; background: #fffdf9; transition: box-shadow .25s, border-color .25s; }
.work .proj, .work .proj.reveal { transition: opacity .6s ease, box-shadow .45s ease, border-color .45s ease, transform .45s ease; }
.proj__shot::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 65% at 70% 60%, var(--glow) 0%, transparent 70%); opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.proj__shot .screen--desk { z-index: 1; } .proj__shot .screen--mob { z-index: 2; } .proj__hint { z-index: 3; }
@media (hover: hover) {
  .work .proj:hover, .work .proj.reveal.in:hover { transform: translateY(-4px); border-color: #ddd3c4; box-shadow: 0 30px 60px -34px rgba(60,35,15,.4); }
  .proj:hover .proj__shot::before { opacity: 1; }
}
.proj__shot { position: relative; background: var(--soft); border-radius: 14px; padding: 22px 64px 22px 22px; overflow: hidden; }
.screen { overflow: hidden; background: #fff; position: relative; }
.screen img { width: 100%; height: auto; display: block; transform: translateY(0); }
.screen--desk { border-radius: 8px; aspect-ratio: 16 / 10; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 18px 40px -22px rgba(0,0,0,.45); }
.screen--mob { position: absolute; right: 18px; bottom: 16px; width: 22%; aspect-ratio: 360 / 740; border-radius: 14px; border: 4px solid #111418; box-shadow: 0 16px 30px -14px rgba(0,0,0,.5); }
.screen[data-scroll] { cursor: ns-resize; }
.proj__hint { position: absolute; left: 34px; bottom: 32px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(17,20,24,.78); padding: 5px 10px; border-radius: 99px; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; pointer-events: none; }
.proj:hover .proj__hint { opacity: 1; transform: none; }
.proj__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag { font-size: 12.5px; font-weight: 700; color: var(--muted); background: #f6f1e8; border: 1px solid var(--line); border-radius: 99px; padding: 4px 11px; }
.tag--live { color: var(--green); background: #e9f7ef; border-color: #c9ead6; }
.proj h3 { font-size: 25px; margin-bottom: 10px; }
.proj p { font-size: 16px; }
.proj__meta { list-style: none; padding: 0; margin: 16px 0 22px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.proj__meta li::before { content: "· "; color: #b3b9c1; }
.proj__meta li:first-child::before { content: ""; }
.proj__links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* Project brand colors behind each preview */
.proj__shot { --dot: rgba(17,20,24,.10); background-image: radial-gradient(var(--dot) 1px, transparent 1.3px), radial-gradient(60% 70% at 70% 60%, var(--glow) 0%, transparent 70%); background-size: 16px 16px, 100% 100%; }
.proj--tent .proj__shot { background-color: #f4ecdc; --glow: rgba(201,160,82,.6); }
.proj--kestrel .proj__shot { background-color: #fdeee5; --glow: rgba(232,93,36,.42); }
.proj--harrier .proj__shot { background-color: #f3efe7; --glow: rgba(255,90,31,.4); }
.proj--cactus .proj__shot { background-color: #0f4c5c; --glow: rgba(242,196,141,.35); --dot: rgba(255,255,255,.12); }
.proj__shot .screen--desk { box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 30px 50px -24px rgba(40,25,10,.55); }
.proj--cactus .proj__shot .screen--desk { box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 30px 50px -22px rgba(0,0,0,.6); }
.proj__design { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 18px 0 20px; font-size: 13.5px; color: var(--muted); }
.proj__design b { font-weight: 700; color: var(--ink); font-size: 13px; }
.swatches { display: inline-flex; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fffdf9, 0 0 0 3px rgba(17,20,24,.08); margin-right: -5px; }

/* FAQ */
.faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.faq .sub a { color: var(--primary); font-weight: 700; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-size: 17.5px; font-weight: 700; color: var(--ink); position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 6px; top: 15px; font-size: 26px; font-weight: 400; color: var(--muted); transition: transform .25s; }
.faq__list details[open] summary::after { transform: rotate(45deg); color: var(--primary); }
.faq__list details p { padding: 0 44px 22px 0; font-size: 16px; }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: #fffdf9; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.steps span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 800; margin-bottom: 18px; }
.steps h3 { margin-bottom: 8px; }
.steps p { font-size: 16px; }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { background: #fffdf9; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; position: relative; display: flex; flex-direction: column; }
.price--pop { border: 2px solid var(--primary); box-shadow: 0 24px 50px -34px rgba(180,83,44,.55); transition: transform .5s ease .3s, box-shadow .5s ease .3s; }
.price--pop.in { transform: translateY(-8px); box-shadow: 0 34px 60px -30px rgba(180,83,44,.5); }
.price__badge { position: absolute; top: -13px; left: 28px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; padding: 5px 11px; border-radius: 99px; }
.price__num { font-size: 40px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin: 10px 0 4px; }
.price__num small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price__for { font-size: 15px; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.price ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15.5px; }
.price li { padding-left: 26px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 800; }

/* About */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: start; }
.about p { margin-top: 18px; max-width: 58ch; }
.about a { color: var(--primary); font-weight: 700; }
.tools { background: #fffdf9; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.tools h3 { margin-bottom: 18px; }
.tools__group { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.tools__group > span { font-size: 13.5px; font-weight: 700; color: var(--muted); padding-top: 4px; }
.tools ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tools li { font-size: 13.5px; font-weight: 700; color: var(--ink); background: #f4eee4; border-radius: 7px; padding: 4px 10px; }

/* Contact */
.review-band { padding: 96px 0 0; }
.review { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 40px 44px; border-radius: 22px; background: radial-gradient(70% 120% at 100% 0%, rgba(200,100,59,.45) 0%, transparent 60%), var(--ink); border: 0; color: #d9d4cc; }
.review__tag { display: inline-block; font-size: 13px; font-weight: 800; color: #7fe0a6; background: rgba(127,224,166,.12); padding: 5px 11px; border-radius: 99px; margin: 0 0 14px; }
.review h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; margin: 0 0 12px; color: #fff; }
.review__text p:last-child { margin: 0; color: #cfc9c0; font-size: 17px; line-height: 1.6; max-width: 640px; }
.review__btn { flex-shrink: 0; }
.sign { margin-top: 30px; color: var(--ink); }
.sign__svg { display: block; height: 78px; width: auto; fill: currentColor; clip-path: inset(0 0 0 0); }
.sign.reveal .sign__svg { clip-path: inset(-10% 100% -10% 0); }
.sign.reveal.in .sign__svg { clip-path: inset(-10% 0 -10% 0); transition: clip-path 1.8s cubic-bezier(.55,.1,.35,1) .35s; }
.sign__cap { display: block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.clock { margin: 28px 0 0; padding: 18px 20px; border-radius: 14px; background: #fffdf9; border: 1px solid var(--line); display: grid; gap: 12px; max-width: 460px; }
.clock__times { display: flex; gap: 28px; }
.clock__times div { display: flex; flex-direction: column; line-height: 1.2; }
.clock__times b { font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.clock__times span { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 3px; }
.clock__status { display: flex; align-items: baseline; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--text); padding-top: 12px; border-top: 1px solid var(--line); }
.clock__status .dot { flex-shrink: 0; transform: translateY(-1px); }
.clock__status.off .dot { background: #c9a052; animation: none; }
.contact__list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.contact__list li { display: grid; grid-template-columns: 90px 1fr; font-size: 16px; }
.contact__list span { font-weight: 700; color: var(--muted); font-size: 14px; padding-top: 2px; }
.contact__list a { color: var(--ink); font-weight: 700; text-decoration: none; }
.contact__list a:hover { color: var(--primary); }
.form { background: #fffdf9; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 16px; box-shadow: 0 24px 50px -36px rgba(17,20,24,.4); }
.form label { display: grid; gap: 6px; }
.form label span { font-size: 14px; font-weight: 700; color: var(--ink); }
.form input, .form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 14px; font: 500 16px var(--font); color: var(--ink); background: #fff; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--primary); }
.form .bad { border-color: #d33a2c; background: #fff7f6; }
.form__err { color: #c4321a; font-weight: 700; font-size: 14.5px; }
.form__note { font-size: 13px; color: var(--muted); text-align: center; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14.5px; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer__gh { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; color: var(--ink); }
.footer__gh svg { width: 18px; height: 18px; fill: currentColor; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero__grid, .proj, .about, .contact, .faq { grid-template-columns: 1fr; gap: 32px; }
  .hero__photo { max-width: 340px; margin: 10px auto 0; width: 100%; }
  .hero__photo figcaption { left: -10px; bottom: 18px; }
  .steps, .prices { grid-template-columns: 1fr; }
  .price--pop { order: -1; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__inner { gap: 10px; }
  .logo { margin-right: auto; }
  .nav__wa { margin-right: 0; }
  body { font-size: 16px; }
  .hero { padding: 40px 0 24px; }
  .proof__note { margin-left: 0; }
  .hero h1 { font-size: min(31px, 7.9vw); max-width: none; }
  .lead { font-size: 17px; }
  .hero__cta .btn { flex: 1; }
  .section { padding: 68px 0; }
  .proj { padding: 16px; gap: 22px; border-radius: 18px; }
  .proj__shot { padding: 14px 48px 14px 14px; }
  .proj__hint { display: none; }
  .proj h3 { font-size: 22px; }
  .tools__group { grid-template-columns: 1fr; gap: 6px; }
  .contact__list li { grid-template-columns: 1fr; }
  .review { flex-direction: column; align-items: flex-start; gap: 24px; padding: 30px 24px; }
  .review__btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .sign.reveal .sign__svg { clip-path: none; }
  .mark::after { clip-path: none; }
}
