/* Fizioterapija Gradus — glavni slog */
:root {
  --navy: #163f6d;
  --navy-dark: #0e2a4a;
  --navy-deep: #0a1f38;
  --teal: #1a8e9e;
  --teal-dark: #13707d;
  --teal-light: #e8f4f5;
  --sand: #f4f1ec;
  --grey-bg: #f5f7f9;
  --text: #4b5866;
  --heading: #14273d;
  --muted: #8693a0;
  --line: #e6ebef;
  --white: #fff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(14, 42, 74, .08);
  --shadow-lg: 0 24px 50px rgba(14, 42, 74, .14);
  --wrap: 1200px;
  --font-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--heading); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
::selection { background: var(--teal); color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section--grey { background: var(--grey-bg); }
.section--teal { background: var(--sand); }
.section-title { font-size: 40px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 44px; }
.section-title b, .section-title strong { font-weight: 700; color: var(--teal); }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Gumbi */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  line-height: 1.2;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--teal { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(26, 142, 158, .25); }
.btn--teal:hover { background: var(--teal-dark); color: #fff; }
.btn--teal::after, .btn--navy::after, .btn--white::after { content: "›"; font-size: 20px; line-height: 0; margin-top: -2px; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-dark); color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--teal-light); color: var(--navy); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--outline-light:hover { background: #fff; color: var(--navy); }
.btn--ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.btn--ghost:hover { color: var(--heading); border-color: var(--muted); }
.btn--urnik { background: var(--navy); color: #fff; text-transform: uppercase; padding: 12px 24px; }
.btn--urnik:hover { background: var(--teal); color: #fff; }

.more { font-family: var(--font-head); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; letter-spacing: .02em; }
.more::after { content: "→"; transition: transform .2s; }
.more:hover::after { transform: translateX(4px); }

/* ---------- Placeholder za slike ---------- */
.ph {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e7eef3, #f2f5f8);
  border-radius: var(--radius);
  aspect-ratio: 3 / 2;
}
.ph::before {
  content: "";
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='%239fb1bf' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") center calc(50% - 16px) / 40px no-repeat;
}
.ph::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 16px 0;
  font-size: 12px;
  font-weight: 500;
  color: #8a9cab;
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

/* ---------- Glava ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; transition: background .3s, box-shadow .3s; box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(14, 42, 74, .08); }

.topbar { background: var(--navy-dark); color: rgba(255, 255, 255, .85); font-size: 13px; transition: max-height .3s, opacity .3s; max-height: 44px; overflow: hidden; }
.topbar .wrap { display: flex; align-items: center; gap: 28px; min-height: 42px; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 8px; color: inherit; white-space: nowrap; }
.topbar .tb-item svg { width: 15px; height: 15px; opacity: .9; }
.topbar .tb-item.highlight { font-weight: 600; color: #fff; }
.topbar .tb-social { margin-left: auto; display: inline-flex; gap: 12px; }
.topbar a { color: inherit; }
.topbar a:hover { color: #fff; }
.topbar .tb-social svg { width: 17px; height: 17px; }

.navbar .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 50px; width: auto; }
.brand .logo-white { display: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-head); }
.brand-text b { font-size: 16px; letter-spacing: .12em; color: var(--navy); font-weight: 700; }
.brand-text span { font-size: 12px; letter-spacing: .5em; color: var(--teal); font-weight: 600; margin-top: 3px; }

.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 12px;
  color: var(--heading);
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
}
.menu > li > a:hover, .menu > li.active > a { color: var(--teal); }
.menu .caret { width: 14px; height: 14px; opacity: .7; }
.menu .sub {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 270px;
  background: #fff;
  list-style: none; margin: 0; padding: 10px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.menu .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.menu li:hover > .sub, .menu li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.menu .sub li { position: relative; }
.menu .sub a { display: block; padding: 9px 14px; color: var(--text); font-size: 14.5px; border-radius: var(--radius-sm); }
.menu .sub a:hover, .menu .sub li.active > a { color: var(--teal); background: var(--teal-light); }
.menu .sub .sub { top: -10px; left: calc(100% + 6px); }
.menu .sub .sub::before { left: -12px; top: 0; bottom: 0; width: 12px; height: auto; right: auto; }
.menu .menu-phone a {
  border: 1.5px solid var(--navy); border-radius: 30px; padding: 9px 18px; margin-left: 10px; color: var(--navy); font-weight: 600;
}
.menu .menu-phone a:hover { background: var(--navy); color: #fff; }
.menu .menu-phone svg { width: 15px; height: 15px; }
.menu .menu-urnik { margin-left: 8px; }
.menu .menu-urnik a { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 28px; height: 28px; }

/* Prosojna glava čez naslovnico */
.site-header.is-transparent { position: fixed; left: 0; right: 0; background: transparent; box-shadow: none; }
.site-header.is-transparent .topbar { background: rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); }
.site-header.is-transparent .brand-text b,
.site-header.is-transparent .brand-text span,
.site-header.is-transparent .menu > li > a,
.site-header.is-transparent .nav-toggle { color: #fff; }
.site-header.is-transparent .brand .logo-color { display: none; }
.site-header.is-transparent .brand .logo-white { display: block; }
.site-header.is-transparent .menu .menu-phone a { border-color: rgba(255, 255, 255, .8); color: #fff; }
.site-header.is-transparent .menu .menu-phone a:hover { background: #fff; color: var(--navy); }
.site-header.is-transparent .menu .menu-urnik a { background: #fff; color: var(--navy); }
.site-header.is-transparent.is-scrolled { background: #fff; box-shadow: 0 6px 24px rgba(14, 42, 74, .08); }
.site-header.is-transparent.is-scrolled .topbar { max-height: 0; opacity: 0; }
.site-header.is-transparent.is-scrolled .brand-text b { color: var(--navy); }
.site-header.is-transparent.is-scrolled .brand-text span { color: var(--teal); }
.site-header.is-transparent.is-scrolled .menu > li > a,
.site-header.is-transparent.is-scrolled .nav-toggle { color: var(--heading); }
.site-header.is-transparent.is-scrolled .menu > li.active > a { color: var(--teal); }
.site-header.is-transparent.is-scrolled .brand .logo-color { display: block; }
.site-header.is-transparent.is-scrolled .brand .logo-white { display: none; }
.site-header.is-transparent.is-scrolled .menu .menu-phone a { border-color: var(--navy); color: var(--navy); }
.site-header.is-transparent.is-scrolled .menu .menu-phone a:hover { background: var(--navy); color: #fff; }
.site-header.is-transparent.is-scrolled .menu .menu-urnik a { background: var(--navy); color: #fff; }

/* Naslovni pas podstrani */
.page-title {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--navy-dark), var(--navy) 55%, var(--teal));
  padding: 80px 0 76px;
}
.page-title::after {
  content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255, 255, 255, .06);
}
.page-title h1 { font-size: 46px; font-weight: 600; margin: 0; color: #fff; letter-spacing: -.01em; position: relative; z-index: 1; }
.page-title .crumb { position: relative; z-index: 1; font-size: 13px; color: rgba(255, 255, 255, .7); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; }
.page-title .crumb a { color: rgba(255, 255, 255, .7); }
.page-title .crumb a:hover { color: #fff; }

/* ---------- Naslovnica ---------- */
.hero { position: relative; height: 100vh; min-height: 640px; max-height: 920px; overflow: hidden; background: var(--navy-deep); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide .ph { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; background: linear-gradient(135deg, #1d4a78, #0e2a4a 60%, #13707d); }
.slide .ph::before { opacity: .35; background: none; }
.slide .ph::after { justify-content: flex-end; align-items: flex-end; padding: 0 12% 130px 0; color: rgba(255, 255, 255, .45); }
.slide.is-active .ph img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.slide-content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center;
  background: linear-gradient(90deg, rgba(8, 25, 45, .78) 0%, rgba(8, 25, 45, .45) 50%, rgba(8, 25, 45, .1) 100%);
}
.slide-content .wrap { width: 100%; padding-top: 110px; }
.slide-inner { max-width: 680px; }
.slide-content .h1 { color: #fff; font-size: 48px; font-weight: 600; line-height: 1.12; letter-spacing: -.015em; margin-bottom: 22px; }
.slide-content p { color: rgba(255, 255, 255, .85); font-size: 18px; max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.slide.is-active .slide-inner > * { animation: rise .9s ease both; }
.slide.is-active .slide-inner > *:nth-child(2) { animation-delay: .1s; }
.slide.is-active .slide-inner > *:nth-child(3) { animation-delay: .2s; }
.slide.is-active .slide-inner > *:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .16em; padding: 8px 16px; border-radius: 30px; margin-bottom: 22px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); }
.eyebrow svg { width: 16px; height: 16px; }
.hero-dots { position: absolute; bottom: 44px; left: 0; right: 0; z-index: 3; }
.hero-dots .wrap { display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 4px; border-radius: 4px; border: 0; background: rgba(255, 255, 255, .35); padding: 0; cursor: pointer; transition: background .3s, width .3s; }
.hero-dots button.is-active { background: #fff; width: 56px; }
.hero-arrow { position: absolute; bottom: 24px; z-index: 3; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 22px; line-height: 1; transition: background .2s; }
.hero-arrow:hover { background: rgba(255, 255, 255, .3); }
.hero-arrow.prev { right: max(24px, calc(50% - var(--wrap) / 2 + 24px)); margin-right: 56px; }
.hero-arrow.next { right: max(24px, calc(50% - var(--wrap) / 2 + 24px)); }

/* ---------- Kartice ---------- */
.grid { display: grid; gap: 30px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .3s, transform .3s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.card .ph { border-radius: 0; }
.card .ph-link { position: relative; display: block; overflow: hidden; }
.card .ph-link .ph img { transition: transform .6s ease; }
.card:hover .ph-link .ph img { transform: scale(1.05); }
.card .ph-link .hover { display: none; }
.card-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.card-body h4 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.card-body h4 a { color: var(--heading); }
.card-body h4 a:hover { color: var(--teal); }
.card-body p { font-size: 15px; flex: 1; }
.card-date { font-size: 12px; color: var(--teal); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.card--team .ph { aspect-ratio: 4 / 3; }

/* CTA pasovi */
.band { padding: 0 0 100px; text-align: center; }
.band > .wrap { background: linear-gradient(120deg, var(--teal-dark), var(--teal)); color: #fff; border-radius: 24px; padding: 64px 32px; position: relative; overflow: hidden; }
.band > .wrap::before { content: ""; position: absolute; left: -60px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.band .band-big { font-family: var(--font-head); font-size: 34px; font-weight: 600; margin: 0; position: relative; }
.band .band-small { font-size: 17px; margin: 6px 0 26px; opacity: .9; position: relative; }
.band--navy > .wrap { background: linear-gradient(120deg, var(--navy-dark), var(--navy)); }
.band--navy p { font-size: 17px; margin: 0 0 4px; position: relative; opacity: .9; }
.band--navy p:first-child { font-family: var(--font-head); font-size: 26px; font-weight: 600; margin-bottom: 8px; opacity: 1; }
.band--navy br { display: none; }
.band--navy .btn { margin-top: 26px; }

/* Fizioterapija na domu */
.home-visit-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; align-items: center; margin-bottom: 60px; }
.home-visit-intro .ph { aspect-ratio: 4 / 3.4; border-radius: 24px; }
.home-visit-intro ul { list-style: none; padding: 0; margin-bottom: 30px; }
.home-visit-intro li { position: relative; padding-left: 34px; margin-bottom: 10px; }
.home-visit-intro li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-light); color: var(--teal); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.lead-big { font-size: 20px; color: var(--heading); line-height: 1.6; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step { background: var(--grey-bg); border-radius: var(--radius); padding: 34px 30px; transition: background .3s, box-shadow .3s; }
.step:hover { background: #fff; box-shadow: var(--shadow); }
.step-num { display: inline-flex; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: #fff; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 18px; font-family: var(--font-head); font-size: 18px; }
.step h4 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15px; margin: 0; }

/* Prednosti */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.feature { display: flex; gap: 22px; background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.feature .icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 16px; background: var(--teal-light); display: flex; align-items: center; justify-content: center; color: var(--teal); }
.feature .icon svg { width: 26px; height: 26px; }
.feature h6 { font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--heading); }
.feature p { font-size: 15px; margin: 0; }

/* Mnenja */
.testimonials-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 44px; }
.testimonials-head .section-title { margin: 0; }
.t-nav { display: flex; gap: 10px; }
.t-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--navy); background: transparent; color: var(--navy); font-size: 20px; cursor: pointer; transition: background .2s, color .2s; }
.t-nav button:hover { background: var(--navy); color: #fff; }
.t-viewport { overflow: hidden; margin: -20px; padding: 20px; }
.t-track { display: flex; transition: transform .5s ease; }
.t-item { flex: 0 0 50%; padding-right: 30px; }
.t-item blockquote { margin: 0; padding: 36px 36px 26px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); position: relative; font-size: 16px; min-height: 160px; }
.t-item blockquote::before { content: "\201C"; display: block; font-size: 64px; line-height: .6; color: var(--teal); font-family: Georgia, serif; margin-bottom: 14px; }
.t-item cite { display: block; font-style: normal; font-family: var(--font-head); font-weight: 600; color: var(--heading); padding: 18px 0 0 36px; }
.placeholder-note { color: var(--muted); font-style: italic; }

/* ---------- Podstrani z vsebino ---------- */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; align-items: start; }
.lead { font-size: 19px; line-height: 1.65; color: var(--heading); padding-bottom: 30px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.media-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.media-col { display: grid; gap: 24px; }
.media-col .ph:nth-child(2) { aspect-ratio: 3 / 4; }
.prose h3, .prose h5 { font-size: 14px; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: .1em; margin-top: 1.8em; margin-bottom: .6em; }
.prose h2 { font-size: 26px; margin-top: 1.2em; }
.prose ul { list-style: none; padding: 0; }
.prose li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.prose .btn { margin-top: 14px; }

/* Stranski meni */
.sidebar { display: grid; gap: 30px; position: sticky; top: calc(var(--header-h) + 30px); }
.side-menu { background: var(--navy); color: #fff; padding: 30px 24px; border-radius: 20px; }
.side-menu h4 { color: #fff; font-size: 20px; font-weight: 600; margin: 0 0 16px 12px; }
.side-menu ul { list-style: none; padding: 0; margin: 0; }
.side-menu a { display: flex; justify-content: space-between; gap: 8px; color: rgba(255, 255, 255, .78); font-size: 14.5px; padding: 9px 12px; line-height: 1.4; border-radius: var(--radius-sm); transition: background .2s, color .2s; }
.side-menu a::after { content: "→"; opacity: 0; transition: opacity .2s; }
.side-menu a:hover, .side-menu li.active a { color: #fff; background: rgba(255, 255, 255, .1); }
.side-menu a:hover::after, .side-menu li.active a::after { opacity: 1; }
.side-menu .sub-label { color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; margin: 18px 0 6px 12px; opacity: .6; font-weight: 600; }

.hours h4 { font-size: 20px; font-weight: 500; }
.hours h4 b { font-weight: 700; color: var(--teal); }
.hours-box { background: var(--grey-bg); border-radius: 20px; padding: 14px 24px; }
.hours-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text); }
.hours-row span:first-child { font-weight: 500; }
.hours-row:last-child { border-bottom: 0; }
.hours-row.today { color: var(--teal); font-weight: 600; }
.hours-row .tag { background: var(--teal-light); color: var(--teal-dark); padding: 3px 10px; font-size: 12px; border-radius: 20px; font-weight: 600; }

/* Ekipa */
.team-hero { margin-bottom: 50px; aspect-ratio: 16 / 7; border-radius: 24px; }
.member { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 60px; align-items: start; }
.member .ph { aspect-ratio: 4 / 5; border-radius: 24px; }
.member .role { color: var(--teal); font-weight: 600; margin-top: -6px; margin-bottom: 22px; font-family: var(--font-head); }
.member-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 60px; }

/* Urnik */
.tt-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.tt-filters button { border: 1.5px solid var(--line); background: #fff; padding: 9px 18px; border-radius: 30px; font: 600 13.5px var(--font-head); color: var(--heading); cursor: pointer; transition: all .2s; }
.tt-filters button.is-active, .tt-filters button:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.tt-scroll { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.timetable { border-collapse: collapse; width: 100%; min-width: 1150px; table-layout: fixed; font-size: 13px; background: #fff; }
.timetable th, .timetable td { border: 1px solid var(--line); padding: 8px; text-align: center; vertical-align: middle; }
.timetable thead th { background: var(--navy); color: #fff; font-weight: 500; font-size: 12px; line-height: 1.35; border-color: rgba(255, 255, 255, .12); padding: 14px 8px; }
.timetable tbody th, .timetable thead th:first-child { width: 64px; }
.timetable tbody th { background: var(--grey-bg); font-weight: 600; color: var(--heading); white-space: nowrap; font-family: var(--font-head); }
.timetable td { height: 50px; }
.tt-event { display: block; background: var(--teal); color: #fff; padding: 9px 6px; border-radius: 10px; line-height: 1.35; transition: opacity .2s; }
.tt-event b { display: block; font-size: 12.5px; font-weight: 600; }
.tt-event small { font-size: 11.5px; opacity: .85; }
.tt-event[data-cat="funkcionalna-vadba"] { background: var(--navy); }
.tt-event[data-cat="terapevtska-vadba"] { background: var(--teal); }
.tt-event[data-cat="vadba-za-seniorje"] { background: #5a87b3; }
.tt-event[data-cat="vadba-za-zdravo-hrbtenico"] { background: #2b7a6f; }
.tt-event.is-dim { opacity: .12; }
.tt-note { margin-top: 30px; }

/* Obrazci */
.form-card { border-radius: 24px; }
.form-inner { background: #fff; padding: 40px; border-radius: 24px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 13.5px; color: var(--heading); margin-bottom: 8px; font-family: var(--font-head); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); background: var(--grey-bg); font: inherit; font-size: 15px; color: var(--heading); border-radius: 10px; transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }
.check input { margin-top: 4px; accent-color: var(--teal); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.form-msg { margin-top: 14px; font-size: 14px; color: var(--teal-dark); font-weight: 600; }

/* Kontakt */
.contact-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 50px; align-items: start; }
.contact-box { background: linear-gradient(160deg, var(--navy), var(--navy-dark)); color: rgba(255, 255, 255, .8); padding: 34px; border-radius: 24px; }
.contact-box div { padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: 15px; }
.contact-box div:first-child { padding-top: 0; }
.contact-box div:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-box b { display: block; color: #fff; font-family: var(--font-head); font-weight: 600; margin-bottom: 2px; }
.contact-box a { color: rgba(255, 255, 255, .85); }
.contact-box a:hover { color: #fff; }
.contact-box svg { width: 22px; height: 22px; margin-top: 8px; }
.map-ph { aspect-ratio: 16 / 7; margin-bottom: 50px; border-radius: 24px; }

/* Darilni boni */
.voucher-templates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 60px; }
.voucher-templates label { cursor: pointer; display: block; text-align: center; font-size: 14px; }
.voucher-templates input { position: absolute; opacity: 0; }
.voucher-templates .ph { aspect-ratio: 300 / 228; margin-bottom: 8px; outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .2s; }
.voucher-templates input:checked + .ph { outline-color: var(--teal); }
.voucher-templates input:focus-visible + .ph { outline-color: var(--navy); }
.voucher-preview { padding: 36px; border-radius: 24px; background: linear-gradient(135deg, var(--navy), var(--teal)); color: #fff; box-shadow: var(--shadow-lg); }
.voucher-preview h2 { color: #fff; font-size: 28px; }
.voucher-preview .row { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid rgba(255, 255, 255, .2); padding: 10px 0; font-size: 15px; }
.voucher-preview .row span:first-child { color: rgba(255, 255, 255, .7); }
.voucher-preview .row span:last-child { font-weight: 600; color: #fff; text-align: right; }

/* Blog */
.post-list { display: grid; gap: 40px; }
.post-item { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 34px; align-items: center; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.post-item h2 { font-size: 24px; }
.post-item h2 a { color: var(--heading); }
.post-item h2 a:hover { color: var(--teal); }
.widget h4 { font-size: 17px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.widget ul { list-style: none; padding: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.widget li a { color: var(--text); }
.widget li a:hover { color: var(--teal); }
.search input { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: var(--grey-bg); }
.search input:focus { outline: none; border-color: var(--teal); background: #fff; }
.post-hero { aspect-ratio: 2 / 1; margin-bottom: 30px; border-radius: 24px; }

/* ---------- Noga ---------- */
.prefooter { background: var(--sand); padding: 80px 0; }
.prefooter .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 60px; align-items: center; }
.prefooter .quote { font-family: var(--font-head); font-size: 24px; font-weight: 500; color: var(--heading); line-height: 1.4; margin-bottom: 14px; }
.prefooter p { font-size: 15px; margin: 0; }
.newsletter { background: #fff; color: var(--text); padding: 34px; border-radius: 24px; box-shadow: var(--shadow); }
.newsletter h3 { font-size: 24px; margin-bottom: 4px; }
.newsletter .sub { font-size: 14px; margin-bottom: 18px; }
.newsletter .nl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.newsletter .nl-row .btn { grid-column: 1 / -1; }
.newsletter input[type="text"], .newsletter input[type="email"] { padding: 13px 14px; border: 1.5px solid var(--line); background: var(--grey-bg); border-radius: 10px; font: inherit; font-size: 14px; min-width: 0; }
.newsletter input:focus { outline: none; border-color: var(--teal); background: #fff; }

.contact-strip { background: var(--navy-deep); color: #fff; padding: 50px 0 0; }
.contact-strip .wrap { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 24px; align-items: center; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.contact-strip .item { display: flex; gap: 16px; align-items: center; }
.contact-strip .item > svg { width: 50px; height: 50px; padding: 13px; border-radius: 14px; background: rgba(255, 255, 255, .08); color: var(--teal); flex-shrink: 0; }
.contact-strip h6 { color: #fff; font-size: 15px; margin: 0 0 2px; }
.contact-strip p, .contact-strip a { color: rgba(255, 255, 255, .65); font-size: 14.5px; margin: 0; }
.contact-strip a:hover { color: #fff; }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: flex; align-items: center; justify-content: center; color: #fff; }
.social a:hover { background: var(--teal); color: #fff; }
.social svg { width: 18px; height: 18px; color: inherit; }

.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .6); padding: 60px 0 50px; font-size: 14.5px; }
.footer .wrap { display: grid; grid-template-columns: 240px repeat(3, 1fr); gap: 40px; }
.footer-logo { display: inline-block; margin-bottom: 24px; }
.footer-logo img { width: 150px; }
.footer h6 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: .02em; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 5px 0; }
.footer a { color: rgba(255, 255, 255, .6); }
.footer a:hover { color: #fff; }
.footer .btn--urnik { background: var(--teal); color: #fff; }
.copyright { background: var(--navy-deep); color: rgba(255, 255, 255, .45); font-size: 13px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.copyright .wrap { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* Piškotki */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 100; max-width: 420px; background: #fff; box-shadow: var(--shadow-lg); padding: 22px 24px; display: none; flex-direction: column; gap: 14px; font-size: 14px; border-radius: 18px; }
.cookie.is-visible { display: flex; }
.cookie p { margin: 0; }
.cookie .btn { align-self: flex-start; }
.cookie .btn::after { display: none; }

/* Animacija ob pomikanju */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .slide.is-active .ph img, .slide.is-active .slide-inner > * { animation: none; }
}

/* ---------- Odzivnost ---------- */
@media (max-width: 1180px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: block; }
  .brand img { height: 42px; }
  .menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; box-shadow: 0 20px 30px rgba(0, 0, 0, .12);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 10px 24px 24px;
  }
  .navbar { position: relative; }
  .menu.is-open { display: flex; }
  .site-header.is-transparent .menu > li > a { color: var(--heading); }
  .menu > li > a { padding: 14px 0; font-size: 16px; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .menu .sub, .menu .sub .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding: 4px 0 8px 12px; min-width: 0; border-radius: 0; }
  .menu li.is-open > .sub { display: block; }
  .menu .sub a { padding: 9px 10px; }
  .menu .menu-phone a, .site-header.is-transparent .menu .menu-phone a { margin: 18px 0 0; justify-content: center; border-color: var(--navy); color: var(--navy); }
  .menu .menu-urnik { margin: 10px 0 0; }
  .menu .menu-urnik a, .site-header.is-transparent .menu .menu-urnik a { background: var(--navy); color: #fff; justify-content: center; border-bottom: 0; }
  .hero-arrow { display: none; }
}
@media (max-width: 991px) {
  .section { padding: 72px 0; }
  .section-title { font-size: 34px; }
  .slide-content .h1 { font-size: 40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr; }
  .home-visit-intro { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .content-layout, .contact-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .member { grid-template-columns: 1fr; gap: 36px; }
  .member .ph { max-width: 440px; }
  .prefooter .wrap { grid-template-columns: 1fr; gap: 36px; }
  .contact-strip .wrap { grid-template-columns: 1fr 1fr; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .voucher-templates { grid-template-columns: repeat(3, 1fr); }
  .t-item { flex-basis: 100%; padding-right: 0; }
  .band { padding-bottom: 72px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .topbar .tb-item:not(.highlight) { display: none; }
  .section { padding: 56px 0; }
  .section-title { font-size: 28px; margin-bottom: 30px; }
  .page-title { padding: 52px 0 48px; }
  .page-title h1 { font-size: 32px; }
  .hero { min-height: 600px; height: 92vh; }
  .slide-content { background: linear-gradient(180deg, rgba(8, 25, 45, .5), rgba(8, 25, 45, .8)); }
  .slide-content .h1 { font-size: 31px; }
  .slide-content p { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .feature { padding: 26px; gap: 18px; flex-direction: column; }
  .media-text { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-inner { padding: 24px; }
  .post-item { grid-template-columns: 1fr; }
  .contact-strip .wrap, .footer .wrap { grid-template-columns: 1fr; }
  .newsletter { padding: 24px; }
  .newsletter .nl-row { grid-template-columns: 1fr; }
  .voucher-templates { grid-template-columns: 1fr 1fr; }
  .member-gallery { grid-template-columns: 1fr; }
  .cookie { left: 12px; right: 12px; max-width: none; }
  .band > .wrap { border-radius: 0; padding: 48px 20px; }
  .band .band-big { font-size: 26px; }
  .testimonials-head { flex-direction: column; align-items: flex-start; gap: 20px; }
}
.band > .wrap { width: calc(100% - 48px); }
@media (max-width: 640px) { .band > .wrap { width: 100%; } }
.section--grey + .band { background: linear-gradient(var(--grey-bg) 50%, #fff 50%); }
.ph.is-loaded::before, .ph.is-loaded::after { display: none; }
.ph--portrait { background: radial-gradient(circle at 50% 35%, #ffffff 0%, var(--teal-light) 45%, #cfe6ea 100%); }
.ph--portrait img { object-position: center 20%; }
.hours-box--simple { padding: 24px; }
.hours-box--simple p { color: var(--heading); margin-bottom: 16px; }
.hours-box--simple .btn { width: 100%; }

/* ---------- Telefon ---------- */
.contact-aside { display: grid; gap: 30px; }
.mobile-cta { display: none; }
@media (max-width: 991px) {
  /* Kontakt: najprej podatki, nato obrazec, delovni čas na koncu */
  .contact-layout { display: flex; flex-direction: column; gap: 40px; }
  .contact-aside { display: contents; }
  .contact-box { order: 1; }
  .contact-form-col { order: 2; }
  .contact-hours { order: 3; }
  /* Storitve: besedilo pred slikami */
  .media-text { display: flex; flex-direction: column; gap: 30px; }
  .media-col { order: 2; grid-template-columns: 1fr 1fr; gap: 14px; }
  .media-col .ph, .media-col .ph:nth-child(2) { aspect-ratio: 1 / 1; }
}
@media (max-width: 640px) {
  .hero { height: 92svh; }
  .slide-content .wrap { padding-top: 90px; }
  .slide .ph::after { display: none; }
  .eyebrow { font-size: 11px; letter-spacing: .12em; margin-bottom: 16px; }
  .slide-content p { margin-bottom: 26px; }
  .hero-dots { bottom: 24px; }
  .lead-big { font-size: 18px; }
  .lead { font-size: 17px; margin-bottom: 30px; }
  .page-title::after { width: 260px; height: 260px; right: -110px; top: -90px; }
  .card-body { padding: 22px 22px 26px; }
  .step { padding: 26px 22px; }
  .contact-box, .side-menu { padding: 26px 20px; }
  .member .ph { max-width: none; }
  .member-gallery { margin-top: 36px; gap: 16px; }
  .t-viewport { margin: -16px; padding: 16px; }
  .prefooter { padding: 56px 0; }
  .prefooter .quote { font-size: 20px; }
  .contact-strip { padding-top: 40px; }
  .contact-strip .wrap { gap: 20px; padding-bottom: 32px; }
  .contact-strip .item > svg { width: 44px; height: 44px; padding: 11px; }
  .footer { padding: 40px 0 30px; }
  .footer .wrap { gap: 28px; }
  .footer .wrap > div:nth-child(3), .footer .wrap > div:nth-child(4) { display: none; }
  .footer-logo img { width: 120px; }
  /* iOS ne poveča strani ob tipkanju, če je pisava vsaj 16 px */
  .field input, .field textarea, .field select,
  .newsletter input[type="text"], .newsletter input[type="email"], .search input { font-size: 16px; }
  .btn { padding: 15px 24px; }
  /* Spodnji pas za hiter klic */
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
    box-shadow: 0 -6px 24px rgba(14, 42, 74, .12);
  }
  .mobile-cta a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 10px; border-radius: 10px; font: 600 15px var(--font-head);
  }
  .mobile-cta svg { width: 18px; height: 18px; }
  .mobile-cta .mc-call { background: var(--teal); color: #fff; }
  .mobile-cta .mc-msg { background: var(--navy); color: #fff; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .cookie { bottom: calc(82px + env(safe-area-inset-bottom)); }
}
@media (max-width: 991px) { .contact-layout { align-items: stretch; } }
@media (max-width: 640px) {
  .cookie { flex-direction: row; align-items: center; gap: 12px; padding: 14px 16px; font-size: 12.5px; border-radius: 14px; }
  .cookie .btn { align-self: center; padding: 11px 16px; flex-shrink: 0; }
}
.card-role { color: var(--teal); font: 600 14px var(--font-head); margin: -4px 0 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg.is-ok { color: #1d7a4a; }
.form-msg.is-error { color: #b4232c; }
.form-msg a { color: inherit; text-decoration: underline; }
.newsletter .form-msg { margin: 10px 0 0; font-size: 13.5px; }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }
