/* WebHizmeti v2 (2026) — same layout as the 2009 site, refreshed */
:root {
  --ink: #17323a;
  --muted: #5b7279;
  --line: #dcebea;
  --card: #ffffff;
  --bg: #e8f6f3;
  --sky1: #bfe9f4;
  --brand: #16a3c9;
  --brand-2: #2fbf8f;
  --brand-ink: #0b6f8c;
  --leaf: #8fd16d;
  --sun: #ffb648;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(18, 60, 70, .06), 0 12px 32px -12px rgba(18, 60, 70, .18);
  --head: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font: 16px/1.7 var(--body);
  color: var(--ink);
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
}
.sky {
  position: absolute; inset: 0 0 auto 0; height: 520px; z-index: -1;
  background:
    radial-gradient(60% 80% at 15% 0%, rgba(22, 163, 201, .35), transparent 70%),
    radial-gradient(50% 70% at 90% 10%, rgba(47, 191, 143, .25), transparent 70%),
    linear-gradient(var(--sky1), var(--bg));
}
a { color: var(--brand-ink); }
img, svg { display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout: sidebar + main (like the original) ---------- */
.shell {
  width: min(1160px, 100% - 32px);
  margin: 28px auto 48px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 24px;
  align-items: start;
}
.side { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 16px; }
.main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }

/* brand */
.side-head {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 48px; height: 48px; flex: none; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-word { font: 700 25px/1 var(--head); letter-spacing: -.02em; }
.brand-word b { font-weight: 500; color: var(--brand); }
.menu-toggle { display: none; }

/* services menu */
.services {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px;
}
.services-label {
  margin: 4px 10px 8px; font: 700 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.services ul, .topnav ul { list-style: none; margin: 0; padding: 0; }
.services a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px;
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.3;
  transition: background .2s, color .2s, transform .2s;
}
.services a:hover { background: #eef8f6; transform: translateX(3px); }
.services a[aria-current] { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.ico {
  width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.services a .ico { color: var(--brand); }
.services a[aria-current] .ico { color: #fff; }

.side-note {
  display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: var(--radius);
  background: linear-gradient(135deg, #f3fbe9, #e3f5ee); color: #3d6b3a; font-size: 14px; line-height: 1.45;
}
.side-note p { margin: 0; }
.side-note strong { display: block; font: 700 16px/1.3 var(--head); color: #2e5f2b; }
.leaf {
  width: 34px; height: 34px; flex: none; border-radius: 0 60% 0 60%; transform: rotate(-10deg);
  background: linear-gradient(135deg, #b9eb7a, #5fbf4f);
}

/* top menu */
.topnav ul { display: flex; gap: 6px; flex-wrap: wrap; }
.topnav-desktop {
  align-self: flex-end; background: rgba(255, 255, 255, .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 6px; border-radius: 999px; box-shadow: var(--shadow);
}
.topnav a {
  display: block; padding: 9px 18px; border-radius: 999px; text-decoration: none;
  color: var(--ink); font-weight: 600; font-size: 14px; letter-spacing: .02em; transition: background .2s, color .2s;
}
.topnav a:hover { background: #fff; color: var(--brand-ink); }
.topnav a[aria-current] { background: var(--ink); color: #fff; }
.topnav-mobile { display: none; }

/* banner */
.banner {
  position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow);
  background: linear-gradient(120deg, #ffffff 0%, #f2fbff 45%, #fff6fb 100%);
  min-height: 170px; display: flex; align-items: center; padding: 28px 36px;
}
.banner-hero { min-height: 260px; }
.swirl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.swirl path { transform-origin: center; animation: drift 14s ease-in-out infinite alternate; }
.swirl .r2 { animation-duration: 11s; animation-delay: -3s; }
.swirl .r3 { animation-duration: 17s; animation-delay: -6s; }
@keyframes drift { from { transform: translateY(-6px) scaleY(.96); } to { transform: translateY(8px) scaleY(1.06); } }
.banner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .8) 38%, rgba(255, 255, 255, 0) 70%);
}
.banner-text { position: relative; z-index: 1; max-width: 560px; }
.banner .eyebrow {
  display: inline-block; margin: 0 0 10px; padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 182, 72, .18); color: #b86a00; font-weight: 700; font-size: 13px; letter-spacing: .04em;
}
.banner h1 {
  margin: 0; font: 800 clamp(30px, 4.4vw, 46px)/1.05 var(--head); letter-spacing: -.03em;
  background: linear-gradient(90deg, var(--brand-ink), var(--brand) 55%, var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.banner-hero h1 { font-size: clamp(36px, 6vw, 62px); }
.banner p:not(.eyebrow) { margin: 12px 0 0; color: var(--muted); font-size: 16px; max-width: 52ch; }
.banner p strong { color: var(--ink); }

/* content card */
.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 44px);
}
.card h2 { font: 700 26px/1.2 var(--head); letter-spacing: -.02em; margin: 1.6em 0 .5em; }
.card > h2:first-child, .card section:first-child h2:first-child { margin-top: 0; }
.card h3 { font: 700 18px/1.3 var(--head); margin: 0 0 .4em; }
.card p { margin: 0 0 1em; color: #33525a; }
.card > p:first-child { font-size: 17.5px; color: var(--ink); }

/* home */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.intro h2 { margin-top: 0 !important; }
.hl { font-weight: 700; color: var(--brand-ink) !important; }
.section-title { margin-top: 1.8em !important; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 18px;
  border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; line-height: 1.3;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.svc .ico {
  width: 44px; height: 44px; padding: 10px; border-radius: 14px; color: var(--brand-ink);
  background: linear-gradient(135deg, #e3f6fb, #e4f7ef);
}
.svc i { position: absolute; right: 18px; top: 22px; font-style: normal; color: var(--muted); transition: transform .25s, color .25s; }
.svc:hover { border-color: transparent; transform: translateY(-3px); box-shadow: var(--shadow); }
.svc:hover i { transform: translateX(4px); color: var(--brand); }

/* lists, options, chips */
.groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.group { border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.group h3 { display: flex; align-items: center; gap: 10px; }
.group h3 .ico { color: var(--brand); }
.group ul { list-style: none; margin: 6px 0 0; padding: 0; }
.group li a {
  display: block; padding: 7px 0 7px 18px; position: relative; text-decoration: none; color: #33525a; font-weight: 500;
  border-top: 1px dashed var(--line);
}
.group li:first-child a { border-top: 0; }
.group li a::before { content: ""; position: absolute; left: 2px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--leaf); }
.group li a:hover { color: var(--brand-ink); }
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 1.4em; }
.opt { padding: 20px; border-radius: 18px; background: linear-gradient(160deg, #f4fbfd, #f3fbf3); }
.opt p { margin: 0; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.4em; }
.chips span { padding: 6px 14px; border-radius: 999px; background: #eef8f6; color: var(--brand-ink); font-weight: 700; font-size: 14px; }

/* pricing table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.plans { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 680px; }
.plans th, .plans td { padding: 10px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.plans tbody th { text-align: left; font-weight: 600; color: #33525a; white-space: nowrap; }
.plans thead th { font: 700 17px/1.2 var(--head); padding: 18px 10px; background: #f6fbfb; }
.plans thead th span { display: block; font: 600 12px/1.4 var(--body); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.plans thead th.pop { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.plans thead th.pop span { color: rgba(255, 255, 255, .85); }
.plans .grp th { text-align: left; background: #fbfdfd; color: var(--brand-ink); font: 700 13px/1 var(--body); text-transform: uppercase; letter-spacing: .1em; padding-top: 16px; }
.plans td.ok { color: #3c9b39; font-weight: 700; }
.plans tfoot th { text-align: left; }
.plans tfoot td b { font: 800 20px/1 var(--head); color: var(--ink); }
.plans tfoot td, .plans tfoot th { border-bottom: 0; padding: 16px 10px; }
.plans tbody tr:not(.grp):hover { background: #f7fcfb; }
.note { margin-top: 1em !important; font-size: 14.5px; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 36px; }
.contact-info h2 { margin-top: 0 !important; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 6px 0 6px 30px; position: relative; font-weight: 600; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 7px; width: 20px; height: 20px; border-radius: 50%;
  background: #e4f7ef; color: #2c9a6c; font-size: 12px; line-height: 20px; text-align: center;
}
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.form .wide { grid-column: 1 / -1; }
.form input, .form textarea {
  font: inherit; font-weight: 400; color: var(--ink); width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 14px; background: #fbfefe; transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(22, 163, 201, .15); }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  font: 700 15px/1 var(--body); color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 8px 20px -8px rgba(22, 163, 201, .7); transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(22, 163, 201, .8); }
.btn-ghost { background: #eef8f6; color: var(--brand-ink); box-shadow: none; }
.btn-ghost:hover { box-shadow: none; background: #e2f3f0; }

/* portfolio empty state */
.empty { text-align: center; padding: 30px 10px; }
.empty-art { display: grid; grid-template-columns: repeat(2, 54px); gap: 8px; justify-content: center; margin-bottom: 22px; }
.empty-art span { height: 54px; border-radius: 14px; background: linear-gradient(135deg, #e3f6fb, #e4f7ef); }
.empty-art span:nth-child(2) { background: linear-gradient(135deg, #fff1d9, #ffe4ef); }
.empty-art span:nth-child(3) { background: linear-gradient(135deg, #eef5ff, #efe7ff); }
.empty p { max-width: 46ch; margin: 0 auto 1.4em !important; }

/* footer: always on the bottom of the window */
.foot { margin-top: auto; position: relative; background: #8fd16d; color: #24461f; }
.hills { position: absolute; left: 0; bottom: 100%; width: 100%; height: 70px; }
.foot-inner {
  width: min(1160px, 100% - 32px); margin: 0 auto; padding: 18px 0 22px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
}
.foot p { margin: 0; }
.foot-brand { font: 700 20px/1 var(--head); letter-spacing: -.02em; }
.foot-brand b { font-weight: 500; }
.foot-brand span { font: 500 14px/1 var(--body); margin-left: 12px; letter-spacing: 0; }
.foot-copy { font-size: 13.5px; }
.foot a { color: inherit; font-weight: 700; }

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

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; margin-top: 16px; gap: 16px; }
  .side { position: static; gap: 0; }
  .side-note, .topnav-desktop { display: none; }
  .side-head { position: relative; z-index: 2; }
  .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px;
    border: 0; border-radius: 14px; background: #eef8f6; cursor: pointer; padding: 0 12px;
  }
  .menu-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
  .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); }
  .menus {
    display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease;
  }
  .menus > * { overflow: hidden; min-height: 0; }
  .menus.open { grid-template-rows: 1fr; }
  .menus-inner { min-height: 0; overflow: hidden; }
  .menus.open { margin-top: 12px; }
  .topnav-mobile { display: block; }
  .topnav-mobile ul { padding: 0 0 10px; }
  .topnav-mobile a { background: var(--card); box-shadow: var(--shadow); }
  .intro, .contact { grid-template-columns: 1fr; gap: 10px; }
  .svc-grid, .opts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .svc-grid, .opts, .groups, .form { grid-template-columns: 1fr; }
  .banner { padding: 24px 22px; min-height: 150px; }
  .banner-hero { min-height: 230px; }
  .brand-word { font-size: 22px; }
  .foot-brand span { display: block; margin: 6px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
