/* ==========================================================================
   doc. dr. Andrej Cokan, ginekološko svetovanje in storitve
   Oblikovni sistem
   ========================================================================== */

:root {
  /* Barve blagovne znamke */
  --blue: #0557BC;
  --blue-bright: #016EF4;
  --blue-deep: #06265A;
  --blue-soft: #DCE8FB;
  --blue-wash: #EFF4FD;

  --ink: #0B1341;
  --ink-2: #444C74;
  --ink-3: #767C9A;

  --paper: #FBF9F6;
  --paper-2: #F3EEE8;
  --paper-3: #EAE3DA;
  --white: #FFFFFF;

  --line: #E6DFD6;
  --line-2: #F0EAE2;
  --line-dark: rgba(255, 255, 255, .16);

  --radius-xs: 8px;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 34px;
  --pill: 999px;
  --arch: 260px 260px 24px 24px;

  --shadow-sm: 0 1px 2px rgba(11, 19, 65, .04), 0 8px 24px rgba(11, 19, 65, .05);
  --shadow: 0 18px 50px rgba(11, 19, 65, .10);
  --shadow-lg: 0 40px 90px rgba(11, 19, 65, .16);

  --container: 1240px;
  --narrow: 780px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 10vw, 140px);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Osnove ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 120px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--blue-bright); }

h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; }

h1, h2, .display {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 96;
  letter-spacing: -0.015em;
  line-height: 1.06;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-family: var(--sans); font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.15em; }
li { margin-bottom: .55em; }

strong { color: var(--ink); font-weight: 600; }

::selection { background: var(--blue); color: #fff; }

:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--ink); color: #fff; padding: 12px 22px;
  border-radius: 0 0 var(--radius-xs) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* ---------- Postavitev ---------- */

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--narrow); }

.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(52px, 7vw, 88px); }
.section--paper2 { background: var(--paper-2); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: rgba(255, 255, 255, .72); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink a { color: #fff; }

.grid { display: grid; gap: clamp(22px, 3vw, 34px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Tipografski pripomočki ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .55; }
.section--ink .eyebrow { color: #9DBEF3; }

.lead { font-size: clamp(1.06rem, 1.5vw, 1.22rem); line-height: 1.62; color: var(--ink-2); }
.section--ink .lead { color: rgba(255, 255, 255, .78); }

.section-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 68px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head--wide { max-width: 820px; }

.text-muted { color: var(--ink-3); font-size: .95rem; }
.section--ink .text-muted { color: rgba(255, 255, 255, .55); }

/* ---------- Gumbi ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 500; font-size: .96rem;
  padding: 15px 30px; border-radius: var(--pill);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--blue); color: #fff; }

.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-bright); color: #fff; }

.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: transparent; }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--blue-soft); color: var(--ink); }

.btn--outline-light { border-color: rgba(255, 255, 255, .32); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }

.btn--sm { padding: 11px 22px; font-size: .88rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; font-size: .95rem; color: var(--ink); }
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--blue); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Vrhnja vrstica ---------- */

.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .62);
  font-size: .82rem;
}
.topbar-inner { display: flex; align-items: center; gap: 22px; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: rgba(255, 255, 255, .78); }
.topbar a:hover { color: #fff; }
.topbar .sep { margin-left: auto; }
.topbar span svg { vertical-align: -3px; margin-right: 7px; opacity: .6; }

/* Preklop jezika */
.lang { display: inline-flex; align-items: center; gap: 2px; }
.lang a {
  padding: 3px 9px; border-radius: var(--pill); font-size: .78rem; font-weight: 500;
  letter-spacing: .06em; color: rgba(255, 255, 255, .6);
}
.lang a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.lang a.is-active { color: var(--ink); background: #fff; font-weight: 600; }

/* Ocena na Googlu */
.gscore { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.gscore .stars { display: inline-flex; gap: 2px; color: #E8A33D; }
.gscore .txt { font-size: .87rem; color: var(--ink-3); }
.gscore .txt strong { color: var(--ink); font-weight: 600; }
.gscore a { color: inherit; text-decoration: none; }
.gscore a:hover .txt { color: var(--ink); }
.section--ink .gscore .txt { color: rgba(255, 255, 255, .7); }
.section--ink .gscore .txt strong { color: #fff; }

.gbadge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--line-2); border-radius: var(--pill);
  padding: 10px 20px 10px 14px; box-shadow: var(--shadow-sm);
}
.gbadge .stars { color: #E8A33D; display: inline-flex; gap: 2px; }
.gbadge span { font-size: .9rem; color: var(--ink-3); }
.gbadge strong { color: var(--ink); }

/* ---------- Glava ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 249, 246, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .35s var(--ease), background-color .35s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); background: rgba(251, 249, 246, .94); }

.header-inner { display: flex; align-items: center; gap: 28px; min-height: 84px; }

.brand { display: flex; align-items: center; gap: 13px; margin-right: auto; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--serif); font-weight: 500; color: var(--ink); font-size: 1.12rem; white-space: nowrap; letter-spacing: -0.01em; }
.brand-sub { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }

.nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { margin: 0; position: relative; }
.nav-list a {
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
  color: var(--ink-2); font-size: .93rem; font-weight: 500;
  padding: 10px 15px; border-radius: var(--pill);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-list a:hover { color: var(--ink); background: var(--paper-2); }
.nav-list a.is-active { color: var(--ink); font-weight: 600; }
.nav-list a.is-active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px;
  height: 1.5px; background: var(--blue); border-radius: 2px;
}
.nav-list .caret { opacity: .5; transition: transform .25s var(--ease); }
.nav .btn { display: none; }

.subnav {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 12px); left: -6px; min-width: 266px;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.subnav li { margin: 0; }
.subnav a { padding: 11px 14px; border-radius: var(--radius-xs); font-size: .92rem; }
.subnav a.is-active::after { display: none; }
.has-sub::after { content: ""; position: absolute; inset: 100% 0 auto; height: 14px; }
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover > a .caret, .has-sub:focus-within > a .caret { transform: rotate(180deg); }

.header-cta { margin-left: 6px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--line); background: transparent; border-radius: 50%;
  cursor: pointer; place-items: center;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform .28s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Naslovni del ---------- */

.hero { position: relative; overflow: hidden; padding-block: clamp(32px, 4vw, 62px) clamp(52px, 6vw, 88px); }
.hero::before {
  content: ""; position: absolute; z-index: 0;
  width: 900px; height: 900px; top: -420px; left: 50%;
  background: radial-gradient(circle, rgba(1, 110, 244, .10), rgba(1, 110, 244, 0) 66%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(30px, 5vw, 80px); align-items: center;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--blue); font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 120; }
.hero .lead { max-width: 40ch; }
.hero .btn-row { margin-top: 34px; }

.hero .eyebrow { text-transform: none; letter-spacing: .02em; font-size: .9rem; font-weight: 500; color: var(--ink-3); }
.hero .eyebrow::before { background: var(--blue); opacity: 1; }

/* Ločni okvir slike */
.arch-wrap { position: relative; max-width: 420px; margin-left: auto; width: 100%; }
.arch {
  position: relative; z-index: 1;
  border-radius: var(--arch); overflow: hidden;
  background: var(--paper-2); box-shadow: var(--shadow);
}
.arch img { width: 100%; aspect-ratio: 3 / 3.4; object-fit: cover; object-position: center 22%; }
.arch-wrap::before {
  content: ""; position: absolute; z-index: 0;
  inset: 34px -26px -26px 34px; border: 1px solid var(--line); border-radius: var(--arch);
}

.float-card {
  position: absolute; z-index: 2; left: -34px; bottom: 46px;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 20px 24px; box-shadow: var(--shadow); min-width: 238px;
}
.float-card .label { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.float-card dl { margin: 0; display: grid; grid-template-columns: auto auto; gap: 7px 20px; font-size: .9rem; }
.float-card dt { color: var(--ink-2); }
.float-card dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; white-space: nowrap; }

/* ---------- Pas z dejstvi ---------- */

.facts { border-block: 1px solid var(--line); background: var(--paper); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: clamp(26px, 3.4vw, 38px) clamp(16px, 2.4vw, 34px); border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact .num { font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.3rem); color: var(--ink); line-height: 1; margin-bottom: 8px; display: block; }
.fact p { font-size: .9rem; color: var(--ink-3); margin: 0; }

/* ---------- Storitve kot uredniške vrstice ---------- */

.svc-list { border-top: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: 68px minmax(0, 1fr) 300px 130px 40px;
  align-items: center; gap: 24px;
  padding: clamp(24px, 3vw, 34px) clamp(12px, 2vw, 24px);
  border-bottom: 1px solid var(--line);
  position: relative; color: inherit;
  transition: background-color .3s var(--ease), padding-left .3s var(--ease);
}
.svc-row:hover { background: var(--white); padding-left: clamp(20px, 3vw, 34px); color: inherit; }
.svc-row .idx { font-family: var(--serif); font-size: 1.05rem; color: var(--ink-3); }
.svc-row h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(1.35rem, 2.4vw, 1.9rem); letter-spacing: -0.015em; }
.svc-row p { margin: 0; font-size: .95rem; color: var(--ink-3); }
.svc-row .price { font-size: 1.05rem; font-weight: 600; color: var(--ink); text-align: right; }
.svc-row .go {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.svc-row:hover .go { background: var(--blue); border-color: var(--blue); color: #fff; }
.svc-thumb {
  position: absolute; right: 190px; top: 50%; width: 132px; height: 92px;
  border-radius: var(--radius-xs); overflow: hidden; pointer-events: none;
  opacity: 0; transform: translateY(-50%) scale(.94) rotate(-3deg);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  box-shadow: var(--shadow-sm);
}
.svc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.svc-row:hover .svc-thumb { opacity: 1; transform: translateY(-50%) scale(1) rotate(0); }

/* ---------- Kartice ---------- */

.card {
  background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 34px);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line); }
.section--ink .card { background: rgba(255, 255, 255, .05); border-color: var(--line-dark); }

.icon-badge {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue-wash); color: var(--blue);
  margin-bottom: 20px; flex: none;
}
.section--ink .icon-badge { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- Časovnica ---------- */

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.timeline li { position: relative; padding-left: 38px; margin-bottom: 26px; }
.timeline li:last-child { margin-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 15px; height: 15px;
  border-radius: 50%; background: var(--paper); border: 1.5px solid var(--blue);
}
.timeline .year { display: block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.timeline strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.timeline p { margin: 0; font-size: .95rem; }

/* ---------- Koraki ---------- */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 4vw, 56px); }
.step { position: relative; padding-top: 30px; border-top: 1px solid var(--line-dark); }
.step .n { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: rgba(255, 255, 255, .28); display: block; margin-bottom: 18px; }
.step h3 { margin-bottom: 10px; }
.step p { font-size: .96rem; margin: 0; }

/* ---------- Seznam s kljukicami ---------- */

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 13px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230557BC' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.section--ink .check-list li::before,
.package--featured .check-list li::before {
  background-color: rgba(255, 255, 255, .12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* ---------- Vsebina strani ---------- */

.page-head { padding-block: clamp(44px, 6vw, 84px) clamp(30px, 4vw, 52px); }
.page-head h1 { margin-bottom: 20px; max-width: 16ch; }
.page-head .lead { max-width: 60ch; }
.page-head .btn-row { margin-top: 30px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; font-size: .82rem; color: var(--ink-3); margin-bottom: 24px; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--ink); }

.prose { max-width: 66ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.9em; }
.prose h2:first-child { margin-top: 0; }
.prose > p + ul, .prose > p + ol { margin-top: -.3em; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 348px; gap: clamp(34px, 5vw, 76px); align-items: start; }
.sidebar { position: sticky; top: 108px; display: grid; gap: 20px; }

.price-box { background: var(--ink); color: rgba(255, 255, 255, .74); border-radius: var(--radius); padding: 32px; }
.price-box .label { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 10px; }
.price-box .amount { font-family: var(--serif); font-size: 3rem; line-height: 1; color: #fff; margin-bottom: 16px; }
.price-box p { font-size: .93rem; margin-bottom: 24px; }
.price-box .btn { width: 100%; }

.info-box { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 28px; }
.info-box h3 { font-size: 1.02rem; margin-bottom: 16px; }
.info-list { list-style: none; margin: 0; padding: 0; font-size: .94rem; }
.info-list li { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 14px; }
.info-list li:last-child { margin-bottom: 0; }
.info-list svg { flex: none; color: var(--blue); margin-top: 4px; }

.callout {
  background: var(--blue-wash); border-radius: var(--radius-sm);
  padding: 24px 28px; font-size: .96rem; color: var(--ink-2);
}
.callout strong { display: block; margin-bottom: 6px; color: var(--ink); }

/* ---------- Cenik ---------- */

.price-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.price-list li {
  display: flex; align-items: baseline; gap: 16px;
  padding: 20px 4px; border-bottom: 1px solid var(--line); margin: 0;
  transition: padding-left .25s var(--ease);
}
.price-list li:hover { padding-left: 12px; }
.price-list .name { color: var(--ink); font-weight: 500; }
.price-list .name small { display: block; font-weight: 400; color: var(--ink-3); font-size: .87rem; margin-top: 2px; }
.price-list .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); min-width: 20px; }
.price-list .amount { font-weight: 600; color: var(--ink); white-space: nowrap; font-size: 1.05rem; }

.package { display: flex; flex-direction: column; position: relative; }
.package .amount { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--ink); margin: 6px 0 20px; }
.package .check-list { margin-bottom: 26px; font-size: .95rem; }
.package .btn { margin-top: auto; }
.package--featured { background: var(--ink); border-color: var(--ink); color: rgba(255, 255, 255, .72); }
.package--featured h3, .package--featured .amount { color: #fff; }
.package--featured .check-list li::before { background-color: rgba(255, 255, 255, .12); }
.package--featured .tag {
  position: absolute; top: 26px; right: 26px; font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: #9DBEF3;
}

/* ---------- Mnenja ---------- */

.quote {
  background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 40px); display: flex; flex-direction: column; margin: 0;
}
.quote .mark { font-family: var(--serif); font-size: 3.4rem; line-height: .6; color: var(--blue-soft); margin-bottom: 18px; }
.quote blockquote { margin: 0 0 26px; font-size: 1rem; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--blue-wash); color: var(--blue);
  display: grid; place-items: center; font-weight: 600; font-size: .92rem;
}
.quote .name { display: block; color: var(--ink); font-weight: 600; font-size: .95rem; }
.quote .role { font-size: .84rem; color: var(--ink-3); }

/* ---------- Pogosta vprašanja ---------- */

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 24px 4px;
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.1rem, 1.8vw, 1.32rem);
  color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: color .2s var(--ease);
}
.faq-item summary:hover { color: var(--blue); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230557BC' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 17px no-repeat;
  transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-item .faq-body { padding: 0 60px 26px 4px; font-size: .98rem; }

/* ---------- Poziv k dejanju ---------- */

.cta { position: relative; overflow: hidden; background: var(--ink); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 76px); color: rgba(255, 255, 255, .74); }
.cta::after {
  content: ""; position: absolute; right: -140px; bottom: -260px; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 110, 244, .34), rgba(1, 110, 244, 0) 64%);
}
.cta-inner { position: relative; display: grid; grid-template-columns: 1.5fr auto; gap: 34px; align-items: center; }
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { max-width: 50ch; margin: 0; }

/* ---------- Obrazec ---------- */

.form-card { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); }
.form-card h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 26px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: 9px; letter-spacing: .01em; }
.field .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-xs);
  background: var(--paper); transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23767C9A' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 17px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-hint { font-size: .84rem; color: var(--ink-3); margin-top: 9px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .89rem; margin-bottom: 26px; }
.consent input { width: 17px; height: 17px; margin-top: 4px; flex: none; accent-color: var(--blue); }

.form-status { display: none; margin-top: 18px; padding: 15px 20px; border-radius: var(--radius-xs); font-size: .93rem; }
.form-status.is-visible { display: block; }
.form-status.is-success { background: #EEF6F1; color: #1E6B41; }
.form-status.is-error { background: #FBF0EF; color: #9C2C23; }

/* ---------- Zemljevid ---------- */

.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); }
.map-frame iframe { display: block; width: 100%; min-height: 380px; border: 0; filter: grayscale(.35); }

/* ---------- Noga ---------- */

.site-footer { background: var(--ink); color: rgba(255, 255, 255, .58); padding-block: clamp(56px, 7vw, 92px) 30px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 52px); padding-bottom: 52px; }
.site-footer h4 { color: rgba(255, 255, 255, .5); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 20px; font-weight: 500; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 11px; }
.footer-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.footer-brand img { width: 38px; height: 38px; background: #fff; border-radius: 50%; padding: 5px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, .45); }
.footer-about { max-width: 40ch; font-size: .93rem; }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); color: #fff; transition: background-color .25s var(--ease); }
.social a:hover { background: var(--blue); }
.footer-bottom {
  border-top: 1px solid var(--line-dark); padding-top: 26px;
  display: flex; flex-wrap: wrap; gap: 12px 30px; justify-content: space-between; align-items: center;
  font-size: .85rem; color: rgba(255, 255, 255, .42);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }

/* ---------- Mobilni poziv ---------- */

.mobile-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; gap: 10px;
  background: rgba(251, 249, 246, .95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}
.mobile-cta .btn { flex: 1; padding: 13px 16px; font-size: .9rem; }

/* ---------- Animacije ---------- */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Odzivnost ---------- */

@media (max-width: 1180px) {
  .topbar-inner .hide-sm { display: none; }
  .nav-list a { padding: 10px 12px; font-size: .9rem; }
  .svc-row { grid-template-columns: 54px minmax(0, 1fr) 240px 110px 40px; }
  .svc-thumb { display: none; }
  .content-grid { grid-template-columns: minmax(0, 1fr) 310px; }
}

@media (max-width: 980px) {
  .header-cta { display: none; }
  .nav-toggle { display: grid; }
  .nav .btn { display: inline-flex; }

  .nav {
    position: fixed; inset: 84px 0 auto; flex-direction: column; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 20px var(--gutter) 30px; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
    max-height: calc(100vh - 84px); overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; width: 100%; gap: 2px; }
  .nav-list a { padding: 13px 14px; font-size: 1.04rem; border-radius: var(--radius-xs); }
  .nav-list a.is-active::after { display: none; }
  .nav-list .caret { display: none; }
  .nav .btn { margin-top: 16px; width: 100%; }
  .subnav {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-left: 1px solid var(--line); border-radius: 0;
    margin: 2px 0 8px 16px; padding: 0 0 0 10px; min-width: 0; background: transparent;
  }
  .subnav a { color: var(--ink-3); }

  .hero-grid { grid-template-columns: 1fr; }
  .hero .lead { max-width: 56ch; }
  .arch-wrap { max-width: 440px; margin-inline: auto; width: 100%; }
  .arch-wrap::before { inset: 26px -18px -18px 26px; }

  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }

  .svc-row { grid-template-columns: 1fr auto; gap: 8px 20px; padding-block: 26px; }
  .svc-row .idx { grid-column: 1 / -1; }
  .svc-row h3 { grid-column: 1; }
  .svc-row .price { grid-row: 2; grid-column: 2; }
  .svc-row p { grid-column: 1 / -1; }
  .svc-row .go { display: none; }

  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .steps { grid-template-columns: 1fr; gap: 30px; }
  .cta-inner { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .mobile-cta { display: flex; }
  body { padding-bottom: 76px; }
}

@media (max-width: 720px) {
  :root { --section: clamp(56px, 13vw, 88px); }

  body { font-size: 16px; -webkit-tap-highlight-color: rgba(5, 87, 188, .12); }
  h1 { font-size: clamp(2.05rem, 8.4vw, 2.7rem); }
  h2 { font-size: clamp(1.65rem, 6.6vw, 2.1rem); }
  .lead { font-size: 1.02rem; }

  .topbar-inner { justify-content: space-between; gap: 12px; min-height: 0; padding-block: 8px; font-size: .78rem; }
  .topbar .sep { margin-left: 0; }
  .topbar-inner .hide-sm, .topbar-inner span:nth-child(2) { display: none; }
  .topbar span svg { margin-right: 5px; }

  .header-inner { min-height: 66px; gap: 14px; }
  .nav { inset-block-start: 66px; max-height: calc(100vh - 66px); }
  .brand img { width: 34px; height: 34px; }
  .brand-name { font-size: 1.02rem; }
  .brand-sub { display: none; }
  .nav-toggle { width: 42px; height: 42px; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }

  /* Gumbi so na dotik lažje dosegljivi, ko zavzamejo celotno širino */
  .hero .btn-row .btn,
  .page-head .btn-row .btn,
  .cta .btn-row .btn { width: 100%; }
  .btn-row { gap: 10px; }

  .hero { padding-block: 26px 44px; }
  .hero .rating { margin-bottom: 18px; }
  .hero .rating span { font-size: .8rem; }
  .hero .btn-row { margin-top: 26px; }
  .arch { border-radius: 200px 200px 20px 20px; }
  .arch img { aspect-ratio: 3 / 3.1; }
  .arch-wrap::before { display: none; }
  .float-card { position: static; margin-top: 18px; min-width: 0; padding: 18px 20px; }
  .float-card dl { grid-template-columns: 1fr auto; }

  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: 22px 14px 22px 0; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(even) { padding-left: 14px; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact .num { font-size: 1.5rem; }
  .fact p { font-size: .84rem; }

  .svc-row { padding: 22px 0; gap: 6px 14px; }
  .svc-row:hover { padding-left: 0; }
  .svc-row .idx { font-size: .82rem; letter-spacing: .1em; }
  .svc-row h3 { font-size: 1.3rem; }
  .svc-row p { font-size: .92rem; }

  .timeline li { padding-left: 32px; margin-bottom: 22px; }

  .price-list li { padding: 16px 0; gap: 12px; }
  .price-list li:hover { padding-left: 0; }
  .price-list .name { font-size: .96rem; }

  .package--featured .tag { position: static; display: block; margin-bottom: 10px; }

  .quote { padding: 26px 22px; }
  .quote blockquote { font-size: .97rem; }

  .faq-item summary { padding: 20px 0; gap: 16px; }
  .faq-item .faq-body { padding: 0 0 20px; }

  .cta { border-radius: var(--radius); padding: 32px 24px; }
  .cta-inner { gap: 26px; }

  /* Na napravah iOS preprečimo samodejno povečavo ob vnosu */
  .field input, .field select, .field textarea { font-size: 16px; padding: 14px 15px; }
  .field textarea { min-height: 130px; }
  .form-card { padding: 24px 20px; }

  .map-frame iframe { min-height: 300px; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 34px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-bottom nav { flex-direction: column; align-items: flex-start; gap: 8px; }

  .mobile-cta .btn { padding: 14px 12px; }
}

@media (max-width: 380px) {
  .facts-grid { grid-template-columns: 1fr; }
  .fact:nth-child(even) { padding-left: 0; border-top: 1px solid var(--line); }
  .svc-row .price { font-size: .98rem; }
}

@media print {
  .site-header, .topbar, .mobile-cta, .cta, .site-footer, .map-frame { display: none; }
  body { padding: 0; background: #fff; color: #000; }
}
