:root {
  --paper: #f5f5f0;
  --surface: #fff;
  --ink: #192522;
  --muted: #4a5851;
  --accent: #19574a;
  --on-accent: #fff;
  --soft: #e0eee7;
  --border: #d7ddd6;
  --sans: "DM Sans", system-ui, sans-serif;
  --display: "Bricolage Grotesque", var(--sans);
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.56 var(--sans); }
a { color: inherit; }
button, select { font: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
section[id] { scroll-margin-top: 20px; }
.wrap { width: calc(100% - 96px); max-width: 1248px; margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 4; padding: 8px 12px; transform: translateY(-160%); background: #fff; color: #161b18; }
.skip:focus { transform: translateY(0); }
.demo-bar { background: #191e1b; color: #fff; font-size: .76rem; }
.demo-bar :focus-visible { outline-color: #b5f3e2; }
.demo-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 37px; padding-block: 5px; }
.demo-bar a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.demo-bar a:hover { text-decoration: underline; }
.demo-bar-inner > span { color: #d4ded7; text-align: right; }
.demo-header { border-bottom: 1px solid var(--border); background: var(--surface); }
.demo-header-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 77px; padding-block: 9px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand strong, .brand small { display: block; }
.brand strong { font: 750 clamp(1.25rem, 3.2vw, 1.65rem)/.98 var(--display); letter-spacing: -.045em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: .71rem; font-weight: 650; }
.brand-mark { width: 43px; height: 43px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--soft); color: var(--ink); font: 800 1.1rem/1 var(--sans); letter-spacing: -.045em; }
nav { display: flex; align-items: center; gap: clamp(15px, 3vw, 35px); font-weight: 650; font-size: .88rem; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.action { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 47px; padding: 10px 20px; border: 1px solid transparent; border-radius: 7px; background: var(--accent); color: var(--on-accent); font-size: .89rem; font-weight: 750; line-height: 1.25; text-decoration: none; text-align: center; }
.action:hover { filter: brightness(.9); }
.action-nav { min-height: 42px; font-size: .8rem; }
.hero-demo { background: var(--soft); }
.hero-demo-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.09fr); align-items: center; gap: clamp(24px, 5vw, 74px); min-height: 519px; padding-block: clamp(32px, 5vw, 72px); }
.demo-copy { position: relative; z-index: 1; }
.hero-demo h1 { max-width: 11.5ch; margin: 0; font: 750 clamp(3rem, 5.9vw, 6.2rem)/.96 var(--display); letter-spacing: -.063em; text-wrap: balance; }
.demo-copy p { max-width: 45ch; margin: 22px 0 25px; color: var(--muted); font-size: clamp(.98rem, 1.4vw, 1.16rem); }
.demo-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 18px; }
.quiet-link { font-size: .88rem; font-weight: 700; text-underline-offset: 5px; }
.quiet-link:hover { text-decoration-thickness: 2px; }
.demo-photo { margin: 0; overflow: hidden; height: min(37vw, 470px); min-height: 325px; border-radius: var(--radius); background: var(--surface); }
.demo-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.demo-services { padding-block: clamp(52px, 6vw, 92px); }
.demo-section-heading { max-width: 600px; margin-bottom: 26px; }
h2 { margin: 0; font: 750 clamp(2.15rem, 4.4vw, 4.02rem)/1 var(--display); letter-spacing: -.052em; text-wrap: balance; }
.demo-section-heading p, .demo-info p, .demo-contact p { margin: 11px 0 0; color: var(--muted); }
.service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin: 0; padding: 0; list-style: none; }
.service-item { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 20px; min-width: 0; padding: clamp(16px, 2.25vw, 29px); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.service-item h3 { margin: 0; font: 750 clamp(1.35rem, 2.2vw, 1.9rem)/1.04 var(--display); letter-spacing: -.035em; }
.service-item p { margin: 10px 0 0; color: var(--muted); font-size: .89rem; }
.service-action { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 13px; }
.service-price { font-weight: 750; font-size: .84rem; }
.service-link { display: inline-flex; gap: 8px; align-items: center; padding: 5px 9px; min-height: 38px; border: 1px solid var(--border); border-radius: 6px; text-decoration: none; font-size: .79rem; font-weight: 700; }
.service-link:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.demo-info { padding-block: clamp(45px, 6vw, 68px); background: var(--soft); }
.demo-info-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(20px, 6vw, 95px); }
.demo-info h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
.demo-info dl { margin: 0; border-top: 1px solid var(--border); }
.demo-info dl div { display: flex; justify-content: space-between; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: .92rem; }
.demo-info dd { font-weight: 750; margin: 0; text-align: right; }
.demo-contact { padding-block: clamp(48px, 7vw, 82px); }
.demo-contact .action { margin-top: 18px; }
.demo-footer { border-top: 1px solid var(--border); background: var(--surface); }
.demo-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 11px 20px; min-height: 86px; padding-block: 17px; font-size: .83rem; }
.demo-footer-inner > span { color: var(--muted); }
dialog { width: min(515px, calc(100vw - 30px)); max-height: calc(100dvh - 36px); padding: clamp(21px, 4vw, 35px); color: #17221e; background: #fff; border: 1px solid #d3ded7; border-radius: 15px; box-shadow: 0 22px 80px #0004; }
dialog::backdrop { background: #101a18ab; }
dialog :focus-visible { outline-color: #246958; }
.form-heading { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.form-context { margin: 0 0 7px; color: #4e5b53; font-size: .79rem; font-weight: 750; }
dialog h2 { font-size: clamp(1.9rem, 5.3vw, 2.6rem); text-wrap: initial; }
.close { width: 37px; height: 37px; flex-shrink: 0; display: grid; place-items: center; padding: 0; border: 1px solid #d4dcd6; border-radius: 50%; background: #f0f3ef; color: #17221e; font: 500 1.45rem/1 var(--sans); }
form { display: grid; gap: 16px; margin-top: 23px; }
form label { display: grid; gap: 5px; font-size: .88rem; font-weight: 700; }
form select { width: 100%; min-height: 46px; padding: 8px 11px; color: #1f2924; background: #f7faf7; border: 1px solid #a5b6aa; border-radius: 6px; }
form .action { justify-self: start; }
.form-result { margin-top: 18px; padding: 17px; border: 1px solid #accfbe; border-radius: 10px; background: #eaf6ef; }
.form-result h3 { margin: 0 0 10px; font: 750 1.3rem/1.2 var(--sans); }
.form-result p { margin: 8px 0; font-size: .87rem; }
.form-result .action { margin-top: 9px; }

.frizer {
  --paper: #1b1814;
  --surface: #26211a;
  --ink: #fff4df;
  --muted: #d8c8b0;
  --accent: #e8b479;
  --on-accent: #25190e;
  --soft: #33291f;
  --border: #594c3d;
  --display: "Archivo Narrow", var(--sans);
  --radius: 7px;
}
.frizer .brand-mark { border: 1px solid #b88859; color: var(--accent); border-radius: 50%; }
.frizer .hero-demo { position: relative; overflow: hidden; isolation: isolate; background: #1d1814; }
.frizer .hero-demo-inner { grid-template-columns: minmax(0, 1fr); min-height: 563px; }
.frizer .hero-demo h1 { max-width: 10ch; font-size: clamp(3.4rem, 7.1vw, 7.1rem); line-height: .88; letter-spacing: -.045em; text-transform: uppercase; }
.frizer .demo-copy p { max-width: 32ch; }
.frizer .demo-photo { position: absolute; z-index: -2; inset: 0; height: 100%; border-radius: 0; }
.frizer .demo-photo img { object-position: 62% 48%; }
.frizer .hero-demo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #18130fee 0%, #18130fdb 27%, #18130f55 62%, #18130f14 100%); }

.apoteka {
  --paper: #fbfffc;
  --ink: #192e28;
  --muted: #465e55;
  --accent: #1f624d;
  --soft: #e6f4ec;
  --border: #cbded3;
  --radius: 20px;
}
.apoteka .brand-mark { color: #22634e; font-size: 2rem; border-radius: 50%; }
.apoteka .hero-demo { background: transparent; padding: 25px 0 0; }
.apoteka .hero-demo-inner { width: min(calc(100% - 42px), 1360px); padding: clamp(23px, 4.2vw, 62px); background: var(--soft); border-radius: 26px; }
.apoteka .demo-photo { max-height: 390px; }
.apoteka .action { border-radius: 100px; }

.knjigovodja {
  --paper: #f7f6ed;
  --surface: #fffcf2;
  --ink: #2a3224;
  --muted: #545d4c;
  --accent: #385332;
  --soft: #e7eadb;
  --border: #cdd0bb;
  --sans: Geist, system-ui, sans-serif;
  --display: "Instrument Serif", Georgia, serif;
  --radius: 3px;
}
.knjigovodja h1, .knjigovodja h2, .knjigovodja h3, .knjigovodja .brand strong { font-weight: 400; letter-spacing: -.025em; }
.knjigovodja .hero-demo { background: var(--paper); border-bottom: 1px solid var(--border); }
.knjigovodja .hero-demo-inner { grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); }
.knjigovodja .hero-demo h1 { max-width: 12ch; font-size: clamp(3.7rem, 7vw, 7.3rem); }
.knjigovodja .demo-photo { border-radius: 48% 48% 2px 2px / 30% 30% 2px 2px; }
.knjigovodja .service-list { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--border); }
.knjigovodja .service-item { flex-direction: row; align-items: center; background: transparent; border-width: 0 0 1px; padding-inline: 0; }
.knjigovodja .service-item h3 { font-size: clamp(1.65rem, 3vw, 2.45rem); }

.automehanicar {
  --paper: #151e29;
  --surface: #1e2936;
  --ink: #eff2f6;
  --muted: #b8c3cf;
  --accent: #ffb746;
  --on-accent: #231804;
  --soft: #202d3c;
  --border: #3c4a59;
  --sans: Inter, system-ui, sans-serif;
  --display: "Barlow Condensed", var(--sans);
  --radius: 6px;
}
.automehanicar .brand-mark { background: var(--accent); color: #171b20; }
.automehanicar .hero-demo { background: linear-gradient(110deg, #1b2633 0 66%, #25374c 66%); }
.automehanicar .hero-demo h1 { font-size: clamp(3.25rem, 6.2vw, 6.7rem); max-width: 11ch; text-transform: uppercase; letter-spacing: -.015em; }
.automehanicar .demo-photo { border: 1px solid #657281; box-shadow: 11px 12px 0 #0d1422; }
.automehanicar .service-item { border-top: 3px solid var(--accent); }
.automehanicar .action { border-radius: 3px; }

.stomatolog {
  --paper: #fafdff;
  --ink: #173448;
  --muted: #4b6576;
  --accent: #1c587b;
  --soft: #e8f4fa;
  --border: #cbdfeb;
  --sans: Inter, system-ui, sans-serif;
  --display: "Rethink Sans", var(--sans);
  --radius: 24px;
}
.stomatolog .brand-mark, .stomatolog .action { border-radius: 100px; }
.stomatolog .hero-demo { background: linear-gradient(155deg, #f5fbff, #deeff8); }
.stomatolog .demo-photo { box-shadow: 14px 14px 0 #cfe6f1; }
.stomatolog .hero-demo h1 { max-width: 12.5ch; }
.stomatolog .service-item { border-radius: 16px; }
@media (max-width: 1024px) {
  .wrap { width: calc(100% - 56px); }
  .hero-demo-inner { min-height: 445px; }
}
@media (max-width: 710px) {
  .wrap { width: calc(100% - 36px); }
  .demo-header-inner { min-height: 68px; gap: 10px; }
  .action-nav { display: none; }
  .brand-mark { width: 37px; height: 37px; }
  nav { gap: 13px; font-size: .81rem; }
  .hero-demo-inner, .knjigovodja .hero-demo-inner { grid-template-columns: 1fr; min-height: auto; padding-block: 36px 30px; gap: 23px; }
  .hero-demo h1 { max-width: 14ch; font-size: clamp(2.9rem, 9.8vw, 4.8rem); text-wrap: initial; }
  .demo-copy p { margin: 14px 0 18px; }
  .demo-photo { height: clamp(195px, 56vw, 375px); min-height: 0; }
  .frizer .hero-demo-inner { min-height: 466px; align-items: end; }
  .frizer .hero-demo::after { background: linear-gradient(0deg, #18130ff2, #18130f9c 60%, #18130f42); }
  .frizer .demo-photo img { object-position: 67% center; }
  .apoteka .hero-demo { padding-top: 13px; }
  .apoteka .hero-demo-inner { width: calc(100% - 24px); padding: 23px 18px 18px; border-radius: 19px; }
  .knjigovodja .hero-demo h1 { font-size: clamp(3.5rem, 10.4vw, 5.6rem); }
  .automehanicar .hero-demo h1, .frizer .hero-demo h1 { font-size: clamp(3.25rem, 10vw, 5.2rem); }
  .stomatolog .demo-photo, .automehanicar .demo-photo { box-shadow: 7px 7px 0 #0002; }
  .service-list, .demo-info-inner { grid-template-columns: 1fr; }
  .service-item { flex-direction: row; align-items: center; gap: 10px; }
  .service-action { justify-content: flex-end; flex-shrink: 0; max-width: 42%; }
  .service-price { text-align: right; font-size: .72rem; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 28px); }
  .brand strong { font-size: 1.15rem; }
  nav { gap: 9px; font-size: .75rem; }
  .demo-actions .action { padding-inline: 12px; font-size: .82rem; }
  .quiet-link { font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.pekara { --paper: #fffbf3; --soft: #f6e6cd; --ink: #452a19; --muted: #634731; --accent: #93411f; --border: #e1cbae; }
.bravar { --paper: #212327; --surface: #2a2d33; --soft: #32353b; --ink: #f7f4ef; --muted: #d4ceca; --accent: #f49a7c; --on-accent: #291712; --border: #5b5c63; --radius: 5px; }
.selidbe { --paper: #f8faff; --soft: #e5edff; --ink: #1e2c49; --muted: #4a5c79; --accent: #2b4781; --border: #c4d0e8; }
.auto-skola { --paper: #f7fbf5; --soft: #e5f1dc; --ink: #213421; --muted: #4e6147; --accent: #3c632d; --border: #c5d7b9; }
.vrtic { --paper: #fffdf8; --soft: #fff0c8; --ink: #413021; --muted: #65533b; --accent: #80581a; --border: #ead8af; --radius: 23px; }
.perionica { --paper: #131f2d; --surface: #1d2d40; --soft: #24374d; --ink: #f4f9ff; --muted: #ccdce9; --accent: #90d9fd; --on-accent: #11293d; --border: #445b72; --radius: 10px; }
.igraonica { --paper: #fffcff; --soft: #f3e9fb; --ink: #402747; --muted: #67526f; --accent: #744486; --border: #e0cde8; --radius: 23px; }
.apartmani { --paper: #fbfaf5; --soft: #eee9dc; --ink: #373229; --muted: #625b4d; --accent: #605332; --border: #d9d1bc; }
.restoran { --paper: #fff9f2; --soft: #f7e4da; --ink: #462825; --muted: #694740; --accent: #87372f; --border: #e3c7bc; --radius: 12px; }
.perionica .demo-photo img, .pekara .demo-photo img { object-position: 42% center; }
.pekara .demo-photo, .auto-skola .demo-photo, .perionica .demo-photo { height: auto; min-height: 0; aspect-ratio: 3 / 2; }
.masiranje-lima { --paper: #171f27; --surface: #23303c; --soft: #293747; --ink: #f5f9ff; --muted: #c7d4de; --accent: #b8e2d8; --on-accent: #172c28; --border: #50606d; --radius: 7px; --display: "Barlow Condensed", Inter, system-ui, sans-serif; --sans: Inter, system-ui, sans-serif; }
.demo-photo-credited { position: relative; }
.demo-photo-credited figcaption { position: absolute; bottom: 9px; left: 9px; right: 9px; width: fit-content; max-width: calc(100% - 18px); padding: 5px 8px; border-radius: 6px; color: white; background: #182522e8; font-size: .69rem; line-height: 1.35; }
