/* Self-hosted Outfit (variable 100-900, latin + latin-ext) */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/outfit-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/outfit-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Očić · flat redizajn, svijetla verzija */
:root {
  --red: #ba0404;
  --red-dark: #9a0303;
  --ink: #1f1f22;
  --ink-2: #33333a;
  --soft: #f6f6f4;
  --white: #ffffff;
  --line: #e9e8e4;
  --muted: #6b6b70;
  --r: 16px;
  --r-sm: 10px;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --font: "Outfit", system-ui, -apple-system, sans-serif;
  --head: "Outfit", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 250;
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: -.02em;
}
h1 strong, h2 strong, h1 em, h2 em { font-weight: 700; font-style: normal; }
h1 { font-size: clamp(42px, 6vw, 78px); line-height: 1.05; }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
h3 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--white { background: var(--white); }
.section--soft { background: var(--soft); }
.section--ink { background: var(--ink); color: var(--white); }
.section--red { background: var(--red); color: var(--white); }

.eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  background: var(--soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero .eyebrow, .page-head .eyebrow, .section--red .eyebrow, .section--ink .eyebrow, .map__info .eyebrow {
  color: var(--white); background: rgba(255,255,255,.16);
}
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.section--ink .lead, .section--red .lead { color: rgba(255,255,255,.8); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: inherit; font-weight: 600; font-size: 16px; text-decoration: none;
  padding: 14px 24px; border: 0; border-radius: var(--r-sm); cursor: pointer;
  background: var(--red); color: var(--white);
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--red-dark); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--soft); }
.btn--ink { background: var(--ink); }
.btn--ink:hover { background: var(--ink-2); }
.btn--gray { background: rgba(255,255,255,.1); color: var(--white); }
.btn--gray:hover { background: rgba(255,255,255,.18); }
.btn--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--line:hover { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--white); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.topbar { background: var(--soft); color: var(--muted); font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-weight: 500; font-size: 16px; text-decoration: none; padding: 9px 14px; border-radius: var(--r-sm); }
.nav a:hover { background: var(--soft); }
.nav a.is-active { color: var(--red); }
.nav .btn { margin-left: 10px; padding: 11px 18px; color: var(--white); }
.nav .btn:hover { color: var(--white); background: var(--red-dark); }
.burger { display: none; width: 44px; height: 44px; background: var(--soft); border: 0; border-radius: var(--r-sm); cursor: pointer; padding: 14px 12px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 0 0 5px; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger span:last-child { margin: 0; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero-wrap { padding: 16px var(--gut) 0; }
.hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; border-radius: 24px; max-width: 1400px; margin: 0 auto; }
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr; padding-top: clamp(72px, 11vw, 140px); padding-bottom: clamp(72px, 10vw, 128px); }
.hero .eyebrow { justify-self: start; }
.hero h1 { max-width: 13ch; }
.hero h1 em { font-style: normal; }
.hero p { font-size: 19px; max-width: 560px; color: rgba(255,255,255,.88); margin-bottom: 30px; }
.hero__since {
  position: absolute; right: var(--gut); bottom: var(--gut);
  background: var(--white); color: var(--ink); padding: 16px 22px; border-radius: var(--r);
  line-height: 1.1;
}
.hero__since b { display: block; font-family: var(--head); font-size: 38px; font-weight: 200; letter-spacing: -.02em; }
.hero__since small { font-size: 14px; color: var(--muted); }

/* Stats */
.stats { padding: 24px 0 0; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--soft); border-radius: var(--r); padding: 26px 26px 22px; }
.stat b { display: block; font-size: clamp(34px, 3.6vw, 46px); font-family: var(--head); font-weight: 200; letter-spacing: -.03em; line-height: 1.1; }
.stat > span { font-size: 15px; color: var(--muted); }

/* About */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0; }
.pair div { background: var(--soft); padding: 22px; border-radius: var(--r); }
.section--soft .pair div { background: var(--white); }
.pair h3 { font-size: 18px; margin-bottom: 4px; }
.pair p { margin: 0; color: var(--muted); font-size: 15px; }
.sign { display: flex; align-items: center; gap: 22px; }
.sign img { height: 46px; width: auto; }
.sign b { display: block; font-size: 17px; font-weight: 600; }
.sign span { color: var(--muted); font-size: 15px; }

/* Services */
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.head-row h2 { margin: 0; }
.head-row .lead { margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 28px 26px; text-decoration: none;
  display: flex; flex-direction: column; min-height: 270px; transition: border-color .15s, background .15s;
}
.section--white .card { background: var(--soft); border-color: transparent; }
.section--white .card__icon { background: var(--white); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--soft); color: var(--ink); display: grid; place-items: center; margin-bottom: 22px; transition: background .15s, color .15s; }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0 0 20px; font-size: 16px; }
.card__more { margin-top: auto; font-weight: 600; font-size: 15px; color: var(--ink); }
.card__more::after { content: " →"; }
a.card:hover { border-color: var(--ink); }
a.card:hover .card__more { color: var(--red); }
.section--white a.card:hover { background: var(--white); }
a.card:hover .card__icon { background: var(--red); color: var(--white); }

/* Feature project */
.feature { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--soft); border-radius: 20px; overflow: hidden; }
.feature img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; }
.feature__txt { padding: clamp(28px, 5vw, 60px); display: flex; flex-direction: column; justify-content: center; }
.feature__txt p { color: var(--muted); font-size: 18px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { background: var(--white); padding: 30px 28px; border-radius: var(--r); display: flex; flex-direction: column; }
.review p { font-size: 17px; flex: 1; }
.review footer { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.review footer i { width: 40px; height: 40px; border-radius: 50%; background: var(--soft); color: var(--ink); display: grid; place-items: center; font-style: normal; }
.stars { color: var(--ink); letter-spacing: 2px; font-size: 17px; margin-bottom: 10px; }

/* News */
.news { display: grid; grid-template-columns: 1fr 1fr; background: var(--soft); border-radius: 20px; overflow: hidden; text-decoration: none; }
.news img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.news__txt { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.news__date { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.news:hover h3 { color: var(--red); }

/* CTA */
.cta-wrap { padding: 0 var(--gut) clamp(48px, 6vw, 80px); }
.cta { background: var(--ink); color: var(--white); border-radius: 24px; max-width: var(--wrap); margin: 0 auto; }
.cta .wrap { padding: clamp(36px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 8px; font-size: clamp(28px, 3.2vw, 40px); }
.cta p { margin: 0; max-width: 600px; color: rgba(255,255,255,.88); }
.cta__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cta__actions .btn--gray { grid-column: 1 / -1; }
@media (max-width: 620px) { .cta__actions { width: 100%; } }

/* Page header */
.page-head { background: var(--ink); color: var(--white); position: relative; overflow: hidden; border-radius: 24px; max-width: 1400px; margin: 16px auto 0; }
.page-head-wrap { padding: 0 var(--gut); }
.page-head img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-head .wrap { position: relative; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(44px, 6vw, 76px); }
.page-head h1 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 12px; }
.page-head p { font-size: 19px; color: rgba(255,255,255,.85); max-width: 640px; margin: 0; }
.crumbs { font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 16px; }
.crumbs a { text-decoration: none; color: var(--white); }
.crumbs a:hover { text-decoration: underline; }

/* Service detail */
.detail { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.prose h2 { font-size: 30px; font-weight: 500; margin-top: 1.2em; }
.prose h2:first-child { margin-top: 0; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 8px; }
.ticks li { background: var(--soft); border-radius: var(--r-sm); padding: 13px 18px 13px 50px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231f1f22' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.aside { background: var(--soft); padding: 28px; border-radius: var(--r); position: sticky; top: 100px; }
.aside h3 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.aside dl { margin: 0 0 20px; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.aside dt { color: var(--muted); }
.aside dd { margin: 0; text-align: right; font-weight: 500; }
.aside dd a { text-decoration: none; }
.aside .btn { width: 100%; justify-content: center; margin-top: 8px; }
.aside .btn--gray { background: rgba(255,255,255,.1); color: var(--white); }
.btn--gray:hover { background: rgba(255,255,255,.18); }
.btn--line { color: var(--ink); }
.aside .btn--line:hover { background: var(--ink); color: var(--white); box-shadow: none; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.gallery a { display: block; overflow: hidden; background: var(--soft); aspect-ratio: 3/2; border-radius: 14px; }
.gallery a.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s, transform .4s; }
.gallery a:hover img { opacity: .9; transform: scale(1.03); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,20,22,.94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 100%; width: auto; border-radius: 12px; }
.lightbox button { position: absolute; background: var(--white); color: var(--ink); border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 24px; cursor: pointer; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; margin-top: -24px; }
.lightbox .lb-next { right: 16px; top: 50%; margin-top: -24px; }

/* Contact */
.locs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.loc { background: var(--soft); padding: 32px; border-radius: var(--r); }
.loc h3 { font-size: 26px; }
.hours { width: 100%; border-collapse: collapse; margin: 6px 0 20px; }
.hours td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.phones { display: grid; gap: 6px; }
.phones a { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 20px; font-weight: 600; }
.phones a:hover { color: var(--red); }
.phones svg { width: 20px; height: 20px; color: var(--muted); }
.map { display: grid; grid-template-columns: 1fr 1.4fr; margin-top: 16px; border-radius: 20px; overflow: hidden; }
.map__info { background: var(--ink); color: var(--white); padding: 32px; }
.map__info h3 { font-size: 26px; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; background: var(--soft); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form .full { grid-column: 1 / -1; }
.form input, .form textarea, .form select {
  font: inherit; font-size: 16px; font-weight: 400;
  padding: 13px 15px; border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: var(--r-sm);
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--soft); }
.form textarea { min-height: 150px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__note { font-size: 13px; color: var(--muted); }
.form__note a { color: inherit; }
.form button:disabled { opacity: .6; cursor: wait; }
.form__msg { padding: 14px 18px; border-radius: var(--r-sm); font-weight: 500; }
.form__msg.is-ok { background: #e8f4ec; color: #1d6b3a; }
.form__msg.is-err { background: #fbeaea; color: var(--red-dark); }

/* Article */
.article { max-width: 780px; margin: 0 auto; }
.article img { width: 100%; margin: 0 0 32px; border-radius: 20px; }
.article h2 { font-size: 28px; margin-top: 1.4em; }

/* Footer */
.footer { background: var(--soft); color: var(--muted); font-size: 15px; }
.footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; padding-top: 64px; padding-bottom: 48px; }
.footer__logo { height: 50px; width: auto; margin-bottom: 18px; }
.footer h4 { color: var(--ink); font-size: 18px; font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.footer strong { color: var(--ink); }
.footer a { text-decoration: none; color: var(--ink); font-weight: 500; }
.footer a:hover { color: var(--red); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer .row { display: flex; justify-content: space-between; gap: 12px; }
.footer__base { border-top: 1px solid var(--line); }
.footer__base .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; font-size: 14px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1000px) {
  .cards, .reviews { grid-template-columns: 1fr 1fr; }
  .detail { grid-template-columns: 1fr; }
  .aside { position: static; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 76px 0 0; background: var(--white); flex-direction: column; align-items: stretch;
    padding: 16px var(--gut); gap: 0; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s;
  }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav a { font-size: 22px; padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:hover { background: none; }
  .nav .btn { margin: 20px 0 0; justify-content: center; border-radius: var(--r-sm); border: 0; }
  .split, .feature, .news, .locs, .map { grid-template-columns: 1fr; }
  .feature img, .news img { min-height: 240px; aspect-ratio: 3/2; }
  .hero__since { position: static; display: inline-block; margin-top: 32px; justify-self: start; }
  .topbar .hide-sm { display: none; }
  .hero, .page-head { border-radius: 18px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards, .reviews, .pair, .form, .gallery { grid-template-columns: 1fr; }
  .stats .wrap { gap: 10px; }
  .stat { padding: 20px 18px; }
  .gallery a.tall { grid-row: auto; aspect-ratio: 3/2; }
  .footer .wrap { grid-template-columns: 1fr; gap: 32px; }
  .footer__base .wrap { flex-direction: column; }
  .card { min-height: 0; }
  .btns .btn { flex: 1 1 auto; justify-content: center; }
}

/* Cjenici */
.pricelist { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pricelist__empty { margin: 0; padding: 28px; color: var(--muted); }
.pricelist__note { font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.pl-row { display: flex; align-items: center; gap: 16px; padding: 16px 24px; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.pl-row:first-child { border-top: 0; }
.pl-row:hover { background: var(--soft); }
.pl-row svg { width: 22px; height: 22px; flex: none; color: var(--muted); }
.pl-row__name { flex: 1; min-width: 0; overflow-wrap: anywhere; font-weight: 500; }
.pl-row__date { font-size: 14px; color: var(--muted); white-space: nowrap; }
.pl-row--current { background: var(--soft); }
.pl-row--current .pl-row__name::before { content: "Važeći"; display: inline-block; margin-right: 10px; padding: 2px 10px; border-radius: 99px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 600; vertical-align: 2px; }
.pl-archive summary { padding: 16px 24px; border-top: 1px solid var(--line); cursor: pointer; font-weight: 600; }
.pl-archive[open] summary { border-bottom: 1px solid var(--line); }
.pl-archive .pl-row:first-child { border-top: 0; }
@media (max-width: 620px) { .pl-row { flex-wrap: wrap; padding: 14px 18px; gap: 6px 12px; } .pl-row__date { width: 100%; padding-left: 34px; } }
