.web-page {
  --web-ink:#151919;
  --web-muted:#515c58;
  --web-dark:#151a1a;
  --web-line:#d8dcd8;
  --web-soft:#f3f5f3;
  --web-gap:clamp(24px,5vw,80px);
}
.web-page main { color:var(--web-ink); }
.web-page main h2 { font-size:clamp(36px,4.64vw,76px); line-height:1.04; text-wrap:balance; }
.web-page main .eyebrow { color:#3a5d58; }
.web-copy { display:grid; gap:13px; max-width:63ch; color:var(--web-muted); line-height:1.72; }
.web-copy a:not(.button),.web-feature-note a { text-decoration:underline; text-underline-offset:3px; }
.web-copy .button { justify-self:start; margin-top:6px; }
.web-copy strong { color:var(--web-ink); }
.web-duo { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); align-items:baseline; gap:var(--web-gap); }
.web-intro { max-width:1050px; }
.web-intro .eyebrow,.web-duo .eyebrow,.web-faq .eyebrow { margin-bottom:17px; }
.web-intro .lead { margin-top:19px; max-width:61ch; }
.web-dark { background:var(--web-dark); color:#fff; }
.web-page main .web-dark .eyebrow { color:#bddcd4; }
.web-dark .web-copy,.web-dark article p { color:#d0dcda; }
.web-dark .web-copy strong { color:white; }

.web-hero {
  display:grid;
  grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);
  align-items:center;
  gap:clamp(22px,3.9vw,64px);
  padding-block:clamp(58px,7.25vw,128px);
}
.web-hero h1 { font-size:clamp(46px,5.17vw,88px); margin-block:17px 22px; line-height:1.035; }
.web-hero h1 em { color:#335c56; font-style:normal; font-weight:inherit; }
.web-hero-subtitle { font-size:clamp(17px,1.49vw,24px); font-weight:700; line-height:1.34; letter-spacing:-.028em; }
.web-hero .web-copy { margin-block:17px 24px; }
.web-hero .actions { gap:12px 22px; }
.web-hero-stage { min-width:0; }
.web-hero-scene {
  position:relative;
  isolation:isolate;
  min-height:441px;
  aspect-ratio:1.27;
  perspective:1200px;
  background:#eef0ec;
  border:1px solid #e0e3dd;
  border-radius:4px;
  overflow:hidden;
}
.web-hero-scene::before {
  content:"";
  position:absolute;
  inset:6.5%;
  border:1px solid #d9ddd6;
}
.web-hero-stage figcaption { margin-top:11px; color:var(--web-muted); font-size:12px; }
.web-screen,.web-phone {
  display:block;
  position:relative;
  padding:5px;
  overflow:hidden;
  background:#181c1b;
  border:1px solid #353a38;
  border-radius:8px;
  box-shadow:0 14px 25px -13px #141b1a9c;
}
.web-screen img,.web-phone img { width:100%; height:auto; border-radius:4px; }
.web-phone { padding:4px; border-radius:11px; }
.web-phone img { border-radius:7px; }
.web-hero-restaurant,.web-hero-building,.web-hero-salon { position:absolute; }
.web-hero-restaurant img,.web-hero-building img { aspect-ratio:1.42; object-fit:cover; object-position:top; }
.web-hero-building {
  --web-angle:5deg;
  width:59%;
  top:7%;
  right:8%;
  transform:rotateX(6deg) rotateY(-5deg) rotateZ(var(--web-angle));
}
.web-hero-restaurant {
  --web-angle:-5deg;
  width:75%;
  left:5%;
  bottom:12%;
  transform:rotateX(5deg) rotateY(7deg) rotateZ(var(--web-angle));
}
.web-hero-salon {
  --web-angle:5deg;
  width:25%;
  right:5%;
  bottom:9%;
  transform:rotateY(-7deg) rotateZ(var(--web-angle));
}

.web-value-grid,.web-audience-grid,.web-type-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(13px,2.3vw,39px);
  margin-top:clamp(28px,4.3vw,65px);
}
.web-value-grid article,.web-audience-grid article {
  border-top:1px solid #7a8c87;
  padding-top:18px;
}
.web-value-grid article p,.web-audience-grid article p { margin-top:9px; max-width:48ch; }
.web-audience-grid { grid-template-columns:repeat(4,minmax(0,1fr)); row-gap:25px; }
.web-audience-grid article { border-color:var(--web-line); }
.web-audience-grid h3 { font-size:clamp(19px,1.85vw,29px); }
.web-audience-grid p { color:var(--web-muted); font-size:15px; }

.web-showcase { background:#f3f4f0; }
.web-showcase-note { margin-top:9px; color:var(--web-muted); font-size:14px; }
.web-showcase-grid {
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:clamp(28px,5.3vw,85px) clamp(18px,3vw,48px);
  align-items:start;
  margin-top:clamp(31px,5.1vw,77px);
}
.web-project { min-width:0; --web-media:#e8eae5; }
.web-project-sol-i-zar {
  grid-column:1/-1;
  display:grid;
  grid-template-columns:minmax(0,1.44fr) minmax(0,.56fr);
  align-items:center;
  gap:clamp(17px,3.6vw,56px);
  --web-media:#e9e0d0;
}
.web-project-atelje-mira { grid-column:span 7; --web-media:#ece3d6; }
.web-project-kota-gradnja { grid-column:span 5; margin-top:clamp(32px,5vw,84px); --web-media:#e2e6df; }
.web-project-villa-maestral { grid-column:span 5; --web-media:#e0e9e7; }
.web-project-zrno-u-ritmu { grid-column:span 7; margin-top:clamp(9px,2.2vw,39px); --web-media:#e8e3d0; }
.web-project-media {
  display:grid;
  grid-template-columns:minmax(0,1fr) 25%;
  align-items:end;
  isolation:isolate;
  padding:clamp(12px,3.2vw,48px) clamp(12px,2.9vw,44px);
  background:var(--web-media);
  border:1px solid #d9ddd6;
  border-radius:4px;
}
.web-project-media .web-screen { grid-area:1/1/2/3; margin:0 14% 15px 0; }
.web-project-media .web-phone { grid-area:1/2/2/3; z-index:1; }
.web-project-media .web-screen,.web-project-media .web-phone { transition:transform .23s var(--ease-out); }
.web-project-media a:hover,.web-project-media a:focus-visible { transform:translateY(-4px); z-index:2; }
.web-project-media .web-phone:hover,.web-project-media .web-phone:focus-visible { z-index:3; }
.web-zoom {
  position:absolute;
  right:6px;
  bottom:6px;
  display:grid;
  width:24px;
  height:24px;
  place-items:center;
  border-radius:50%;
  background:#191f1e;
  color:#fff;
  font-size:17px;
  font-weight:600;
  line-height:1;
}
.web-project-copy { padding-top:17px; max-width:46ch; }
.web-project-copy h3 { font-size:clamp(28px,3.15vw,54px); margin:5px 0 10px; }
.web-project-copy > p:not(.eyebrow) { color:var(--web-muted); }

.web-type-grid article { display:flex; flex-direction:column; align-items:flex-start; gap:13px; padding:22px 0 3px; border-top:1px solid #95a39d; }
.web-type-grid article p { color:var(--web-muted); }
.web-type-grid article p strong { color:var(--web-ink); }
.web-type-grid .button { margin-top:auto; }
.web-features,.web-studio { background:#f5f6f3; border-block:1px solid var(--web-line); }
.web-feature-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:19px clamp(13px,2.3vw,35px);
  margin:clamp(31px,4vw,65px) 0 0;
}
.web-feature-grid > div { padding-top:14px; border-top:1px solid #a4b2ac; }
.web-feature-grid dt { font-size:clamp(18px,1.6vw,24px); font-weight:700; line-height:1.32; letter-spacing:-.024em; }
.web-feature-grid dd { margin:7px 0 0; color:var(--web-muted); font-size:15px; }
.web-feature-note { max-width:85ch; margin-top:24px; color:var(--web-muted); font-size:14px; }

.web-redesign { background:#ebece7; }
.web-comparison { max-width:1190px; margin:clamp(27px,4vw,58px) auto 0; }
.web-comparison figcaption { padding-bottom:10px; font-weight:700; }
.web-comparison-canvas {
  --web-split:50%;
  position:relative;
  isolation:isolate;
  display:grid;
  overflow:hidden;
  aspect-ratio:1.67;
  background:#f5f5ef;
  border:1px solid #aeb8b1;
  border-radius:4px;
}
.web-comparison-canvas picture { grid-area:1/1; min-width:0; min-height:0; }
.web-comparison-canvas img { width:100%; height:100%; object-fit:cover; object-position:top center; }
.web-compare-before { z-index:1; clip-path:inset(0 calc(100% - var(--web-split)) 0 0); }
.web-compare-line {
  position:absolute;
  z-index:2;
  inset:0 auto 0 var(--web-split);
  width:2px;
  background:white;
  transform:translateX(-50%);
  box-shadow:0 0 0 1px #141a1a30;
}
.web-compare-line::after {
  position:absolute;
  content:"‹ ›";
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  display:grid;
  width:36px;
  height:36px;
  place-items:center;
  border-radius:50%;
  background:#fff;
  color:var(--web-ink);
  font-size:17px;
  box-shadow:0 2px 8px #1219195a;
}
.web-compare-label {
  position:absolute;
  z-index:3;
  top:9px;
  padding:5px 10px;
  border-radius:2px;
  background:#151a1a;
  color:#fff;
  font-size:12px;
  font-weight:700;
}
.web-compare-label-before { left:9px; }
.web-compare-label-after { right:9px; }
.web-comparison-tools { margin-top:16px; }
.web-range-control { display:grid; gap:5px; width:min(100%,380px); font-size:13px; font-weight:700; }
.web-range-control input { width:100%; min-height:42px; margin:0; accent-color:#35534a; cursor:ew-resize; }

.web-process-grid {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:17px clamp(14px,2.7vw,38px);
  margin-top:clamp(27px,4.3vw,61px);
  counter-reset:web-step;
}
.web-process-grid li { counter-increment:web-step; padding-top:15px; border-top:1px solid #a1afa9; }
.web-process-grid li::before { display:block; content:counter(web-step,decimal-leading-zero); margin-bottom:15px; color:#45625b; font:600 13px/1.4 var(--mono); }
.web-process-grid h3 { font-size:clamp(17px,1.85vw,28px); }
.web-process-grid p { margin-top:8px; color:var(--web-muted); font-size:14px; }
.web-price { border-bottom:1px solid var(--web-line); }

.web-faq {
  display:grid;
  grid-template-columns:minmax(0,.68fr) minmax(0,1.32fr);
  align-items:start;
  gap:var(--web-gap);
}
.web-faq-list { border-bottom:1px solid var(--web-line); }
.web-faq-list summary {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:14px 0;
  border-top:1px solid var(--web-line);
  font-weight:700;
  list-style:none;
}
.web-faq-list summary::-webkit-details-marker { display:none; }
.web-faq-list summary:hover { color:var(--teal); }
.web-faq-list summary::after { content:"+"; font-size:22px; line-height:1; font-weight:400; }
.web-faq-list details[open] summary::after { content:"−"; }
.web-faq-list p { max-width:68ch; padding:0 24px 16px 0; color:var(--web-muted); }
.web-contact .web-duo { align-items:center; }
.web-contact p { color:#d6e3dd; max-width:58ch; }
.web-contact p.web-contact-lead { margin-bottom:12px; font-size:clamp(17px,1.45vw,24px); font-weight:700; color:white; }
.web-contact .button { margin-top:21px; background:#fff; color:var(--web-ink); }
.web-contact .button::after { color:#31594e; }
.web-contact .button:hover { background:#c6ded7; }

html:has(.web-lightbox[open]) { overflow:hidden; }
.web-lightbox {
  width:min(calc(100vw - 28px),1080px);
  max-width:100%;
  max-height:calc(100dvh - 28px);
  margin:auto;
  padding:0;
  border:0;
  border-radius:5px;
  background:#151a1a;
  color:white;
  overscroll-behavior:contain;
}
.web-lightbox::backdrop { background:#101918cf; }
.web-lightbox-toolbar {
  position:sticky;
  top:0;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:13px;
  padding:12px 16px;
  background:#151a1a;
  border-bottom:1px solid #5e7169;
}
.web-lightbox-toolbar h2 { font-size:clamp(15px,2vw,22px); line-height:1.25; letter-spacing:-.02em; }
.web-lightbox-toolbar button { display:flex; align-items:center; gap:8px; min-height:40px; border:1px solid #65766d; color:white; background:transparent; padding:6px 11px; }
.web-lightbox-toolbar button span { font-size:19px; }
.web-lightbox-image { padding:12px; }
.web-lightbox-image img { margin:0 auto; height:auto; max-width:100%; }

@media (prefers-reduced-motion:no-preference) {
  .web-hero-building,.web-hero-restaurant,.web-hero-salon { animation:web-stage-entry .72s var(--ease-out) both; }
  .web-hero-restaurant { animation-delay:.11s; }
  .web-hero-salon { animation-delay:.2s; }
  @keyframes web-stage-entry {
    from { opacity:.42; translate:0 17px; }
    to { opacity:1; translate:0 0; }
  }
  @supports (animation-timeline:view()) {
    [data-web-reveal] { animation:web-stage-entry linear both; animation-timeline:view(); animation-range:entry 4% entry 72%; }
  }
  @supports (animation-timeline:scroll()) {
    .web-hero-stage { animation:web-stage-parallax linear both; animation-timeline:scroll(root block); animation-range:0px 800px; }
    @keyframes web-stage-parallax { to { transform:translateY(18px); } }
  }
}
@media (max-width:1000px) {
  .web-hero-scene { min-height:0; }
  .web-audience-grid,.web-feature-grid,.web-process-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:740px) {
  .web-hero,.web-duo,.web-project-sol-i-zar,.web-faq { grid-template-columns:minmax(0,1fr); }
  .web-hero { gap:27px; padding-block:44px 53px; }
  .web-hero-copy { display:contents; }
  .web-hero .eyebrow { grid-row:1; margin-bottom:-17px; }
  .web-hero h1 { grid-row:2; font-size:clamp(41px,8.6vw,66px); margin:0; }
  .web-hero-subtitle { grid-row:3; margin-top:-12px; }
  .web-hero .actions { grid-row:4; margin-top:-13px; }
  .web-hero-stage { grid-row:5; }
  .web-hero .web-copy { grid-row:6; margin:0; }
  .web-hero-stage figcaption { margin-top:7px; line-height:1.4; }
  .web-value-grid,.web-audience-grid,.web-type-grid,.web-feature-grid,.web-process-grid { grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:21px; }
  .web-project-sol-i-zar { display:block; }
  .web-showcase-grid { grid-template-columns:minmax(0,1fr); gap:32px; }
  .web-project { grid-column:1/-1; margin-top:0; }
  .web-project-media { padding:clamp(16px,4.2vw,38px); }
}
@media (max-width:600px) {
  .web-comparison-canvas { aspect-ratio:1/1.16; }
}
@media (max-width:460px) {
  .web-type-grid,.web-value-grid { grid-template-columns:minmax(0,1fr); }
  .web-audience-grid h3,.web-feature-grid dt { font-size:17px; }
  .web-project-media { padding:14px 12px; }
  .web-project-media .web-screen { margin-bottom:10px; }
  .web-project-media .web-zoom { width:20px; height:20px; right:5px; bottom:5px; }
  .web-contact .button { max-width:100%; }
  .web-process-grid { gap:19px 12px; }
}
@media (prefers-reduced-motion:reduce) {
  .web-project-media a,.web-page main .button,.web-page main .button::after { transition:none; }
}
