/* Physio Therapy Care - Design System
   ----------------------------------- */

:root {
  /* Brand */
  --brand-50:  #f0fdfa;
  --brand-100: #ccfbf1;
  --brand-200: #99f6e4;
  --brand-300: #5eead4;
  --brand-400: #2dd4bf;
  --brand-500: #14b8a6;
  --brand-600: #0d9488;   /* primary */
  --brand-700: #0f766e;
  --brand-800: #115e59;
  --brand-900: #134e4a;

  /* Accent (warm gold) */
  --accent-300: #fcd34d;
  --accent-400: #fbbf24;
  --accent-500: #f59e0b;   /* CTA */
  --accent-600: #d97706;

  /* Neutrals (warm) */
  --ink-900: #1c1917;
  --ink-800: #292524;
  --ink-700: #44403c;
  --ink-600: #57534e;
  --ink-500: #78716c;
  --ink-400: #a8a29e;
  --ink-300: #d6d3d1;
  --ink-200: #e7e5e4;
  --ink-100: #f5f5f4;
  --ink-50:  #fafaf9;

  --bg:        #fbfaf7;   /* off-white, warm */
  --bg-soft:   #f6f4ef;
  --surface:   #ffffff;
  --line:      #ece9e2;

  --shadow-sm: 0 1px 2px rgba(28,25,23,.06);
  --shadow:    0 4px 14px rgba(28,25,23,.08);
  --shadow-lg: 0 18px 40px -12px rgba(13,148,136,.18);

  --radius:    14px;
  --radius-lg: 22px;

  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-800);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }

/* Inline ikone uz tekst — gde god SVG ide pored teksta, koristimo inline-flex
   da SVG i tekst ostanu u istoj liniji, sa tananim gap-om. */
.post-meta,
.topbar span, .topbar a,
.trust-row > div,
.choice .meta,
.therapist-info .meta,
.summary-row, .summary-total,
.section-eyebrow,
.hero-eyebrow,
.review .stars, .review .author,
.cal-legend > span,
.field .hint,
.faq-q,
.kpi small,
.appt-card .meta,
.flash {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.post-meta span { display: inline-flex; align-items: center; gap: 4px; }
.topbar .container > div { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}
.footer li svg { flex-shrink: 0; margin-top: 2px; }
.location-info li { /* već je flex, samo da osiguramo svg vertical align */
  align-items: center;
}
.summary-row, .summary-total { justify-content: space-between; gap: 12px; display: flex; }
.faq-q { justify-content: space-between; gap: 12px; display: flex; }
.section-head .section-eyebrow { display: inline-block; }
a { color: var(--brand-700); text-decoration: none; transition: color .15s; }
a:hover { color: var(--brand-800); }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  line-height: 1.18;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p  { margin: 0 0 1em; }

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}
.container-sm { max-width: 760px; }
.container-md { max-width: 980px; }

.section { padding-block: clamp(48px, 8vw, 96px); }
.section-tight { padding-block: clamp(32px, 5vw, 56px); }

/* Topbar — fiksan iznad headera */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 201;
  background: var(--brand-900);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  padding: 9px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.topbar .topbar-left, .topbar .topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: 6px; transition: opacity .15s; }
.topbar a:hover { opacity: .85; color: #fff; }
.topbar .pipe { opacity: .35; padding: 0 4px; }

/* Header — UVEK fiksan, na svim ekranima.
   VAŽNO: bez backdrop-filter jer pravi "containing block" za fixed djecu. */
.header {
  position: fixed; top: 36px; left: 0; right: 0;
  z-index: 200;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
@media (max-width: 1024px) {
  .header { top: 0; }
}
body { padding-top: 112px; }   /* topbar (~36) + header (76) */
@media (max-width: 1024px) { body { padding-top: 64px; } }    /* topbar skriven, samo header */
.header .container {
  display: flex; align-items: center; gap: 24px;
  height: 76px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 18px; color: var(--ink-900);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  white-space: nowrap;
}
.brand:hover { color: var(--ink-900); }
.brand-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 6px 16px -4px rgba(13,148,136,.45);
  transition: transform .2s;
  flex-shrink: 0;
}
.brand:hover .brand-icon { transform: rotate(-4deg) scale(1.05); }
.brand-name { line-height: 1.15; }
.brand-name small {
  display: block; font-weight: 600; font-size: 10px;
  color: var(--brand-700);
  letter-spacing: .12em; text-transform: uppercase;
  margin-top: 2px;
}

.nav {
  display: flex; gap: 2px;
  margin-left: auto;
  align-items: center;
  flex-wrap: nowrap;
}
.nav a {
  position: relative;
  padding: 10px 13px;
  border-radius: 10px;
  color: var(--ink-700);
  font-weight: 500;
  font-size: 14.5px;
  transition: all .18s ease;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 13px; right: 13px; bottom: 4px;
  height: 2px;
  background: var(--brand-600);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.nav a:hover { color: var(--ink-900); background: var(--bg-soft); }
.nav a.is-active {
  color: var(--brand-800);
  font-weight: 600;
}
.nav a.is-active::after { transform: scaleX(1); }

.header-cta {
  display: flex; gap: 8px; align-items: center;
  margin-left: auto;     /* UVEK desno */
  flex-shrink: 0;
}
.header-cta .btn { white-space: nowrap; }
.header-cta .btn-account {
  width: 42px; height: 42px;
  padding: 0;
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--ink-700);
  border: 1px solid transparent;
}
.header-cta .btn-account:hover { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line); background: #fff;
  border-radius: 12px;
  align-items: center; justify-content: center;
  color: var(--ink-800);
  transition: all .15s;
  flex-shrink: 0;
}
.menu-toggle:hover { background: var(--bg-soft); border-color: var(--brand-300); }
.menu-toggle.is-open { background: var(--brand-700); color: #fff; border-color: var(--brand-700); }

/* Hide brand subtitle on mid screens */
@media (max-width: 1180px) {
  .brand-name small { display: none; }
  .brand-name { line-height: 1; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  transition: all .18s ease;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent-500);
  color: #fff;
  box-shadow: 0 4px 14px rgba(245,158,11,.35);
}
.btn-primary:hover { background: var(--accent-600); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(245,158,11,.4); }
.btn-secondary {
  background: var(--brand-700);
  color: #fff;
}
.btn-secondary:hover { background: var(--brand-800); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink-800);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink-900); }
.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 14px; }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: all .2s ease;
}
.card-hover:hover {
  border-color: var(--brand-300);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Hero */
.hero {
  position: relative;
  padding-block: clamp(48px, 9vw, 100px) clamp(32px, 6vw, 72px);
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(20,184,166,.08), transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(245,158,11,.08), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--brand-50);
  color: var(--brand-800);
  border: 1px solid var(--brand-100);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 { margin-bottom: 18px; }
.hero p.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-600); max-width: 540px; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-row {
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
  margin-top: 28px;
  font-size: 14px; color: var(--ink-600);
}
.trust-row strong { color: var(--ink-900); font-weight: 700; }
.trust-stars { color: var(--accent-500); }

.hero-art {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--brand-100), var(--brand-300));
  box-shadow: var(--shadow-lg);
}
.hero-art-illu {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.45), transparent 40%),
    linear-gradient(135deg, #5eead4, #0d9488);
}
.hero-card {
  position: absolute;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,.18);
  display: flex; gap: 12px; align-items: center;
  font-size: 14px;
}
.hero-card.tl { top: 24px; left: 24px; }
.hero-card.br { bottom: 24px; right: 24px; }
.hero-card-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--brand-50); color: var(--brand-700);
  display: grid; place-items: center;
}

/* Mini booking widget */
.mini-book {
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 8px;
}
.mini-book select, .mini-book input {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  font-size: 14px; font-family: inherit;
  color: var(--ink-900);
  width: 100%;
}
.mini-book select:focus, .mini-book input:focus { outline: 2px solid var(--brand-300); border-color: var(--brand-400); background:#fff; }

/* Section heading */
.section-head { text-align: center; margin-bottom: 48px; max-width: 720px; margin-inline: auto; }
.section-eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 12px;
}
.section-head p { color: var(--ink-600); font-size: 17px; }

/* Service grid */
.service-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.service-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  transition: all .2s ease;
  color: inherit;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-300);
  box-shadow: var(--shadow-lg);
}
.service-card .icon-wrap {
  width: 52px; height: 52px;
  background: var(--brand-50);
  color: var(--brand-700);
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 1.15rem; margin-bottom: 8px;
}
.service-card p { color: var(--ink-600); font-size: 14px; margin-bottom: 14px; }
.service-card .price-line { display: flex; justify-content: space-between; align-items: center; }
.service-price { font-weight: 700; color: var(--ink-900); }
.service-price small { display: block; color: var(--ink-500); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  background: var(--accent-500); color: #fff;
  border-radius: 999px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  position: absolute; top: 16px; right: 16px;
}
.badge-soft { background: var(--brand-50); color: var(--brand-800); }

/* Steps section */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  text-align: center;
  position: relative;
}
.step-num {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff;
  border-radius: 50%;
  font-size: 22px; font-weight: 700;
  box-shadow: var(--shadow);
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--ink-600); font-size: 15px; }

/* Team */
.team-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.therapist-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .2s ease;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column;
}
.therapist-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-300);
}
.therapist-photo {
  aspect-ratio: 4/4;
  background: linear-gradient(135deg, var(--brand-100), var(--brand-300));
  position: relative;
  display: grid; place-items: center;
  font-family: var(--font-display);
  color: #fff;
  font-size: 48px; font-weight: 700;
}
.therapist-info { padding: 18px 20px; }
.therapist-info h3 { font-size: 1.05rem; margin-bottom: 4px; }
.therapist-info .title { font-size: 13px; color: var(--brand-700); font-weight: 600; }
.therapist-info .meta { font-size: 13px; color: var(--ink-500); margin-top: 8px; }

/* Reviews */
.review-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.review .stars { color: var(--accent-500); margin-bottom: 12px; font-size: 14px; }
.review .body { color: var(--ink-700); margin-bottom: 16px; }
.review .author { display: flex; gap: 10px; align-items: center; }
.review .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-300), var(--brand-600));
  color: #fff; display: grid; place-items: center; font-weight: 700;
}
.review .author-name { font-weight: 600; color: var(--ink-900); font-size: 14px; }
.review .author-meta { font-size: 12px; color: var(--ink-500); }

/* Blog cards */
.post-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .2s ease;
  display: flex; flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--brand-300); }
.post-cover {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--brand-200), var(--brand-500));
  position: relative;
}
.post-meta { display: flex; gap: 12px; padding: 12px 20px 0; font-size: 12px; color: var(--ink-500); }
.post-card h3 { font-size: 1.1rem; padding: 8px 20px; margin: 0; }
.post-card p { color: var(--ink-600); font-size: 14px; padding: 0 20px 20px; flex: 1; }

/* Location */
.location-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.location-info ul { list-style: none; padding: 0; margin: 24px 0 0; }
.location-info li {
  display: flex; gap: 14px; padding: 14px 0;
  border-top: 1px solid var(--line);
  align-items: flex-start;
}
.location-info li:first-child { border-top: 0; }
.location-info .icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--brand-50); color: var(--brand-700);
  border-radius: 12px; display: grid; place-items: center;
}
.location-info strong { display: block; color: var(--ink-900); margin-bottom: 2px; }
.map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 400px;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--brand-700), var(--brand-900));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before, .cta-banner::after {
  content: ''; position: absolute;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.cta-banner::before { top: -120px; left: -80px; }
.cta-banner::after { bottom: -160px; right: -100px; background: rgba(245,158,11,.12); }
.cta-banner h2 { color: #fff; position: relative; z-index: 1; }
.cta-banner p { color: rgba(255,255,255,.8); font-size: 17px; max-width: 540px; margin: 0 auto 28px; position: relative; z-index: 1; }
.cta-banner .btn { position: relative; z-index: 1; }

/* Footer */
.footer {
  background: var(--ink-900);
  color: rgba(255,255,255,.7);
  padding-block: 60px 20px;
  margin-top: 80px;
}
.footer-grid {
  display: grid; gap: 36px;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  margin-bottom: 40px;
}
.footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 5px 0; }
.footer a { color: rgba(255,255,255,.7); }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand-name small { color: rgba(255,255,255,.5); }
.footer .brand-icon { background: linear-gradient(135deg, var(--brand-400), var(--brand-600)); }
.footer-tagline { color: rgba(255,255,255,.55); font-size: 14px; max-width: 320px; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  transition: all .15s;
}
.socials a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,.5);
}

/* App-style bottom navigation (mobile) */
.bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  z-index: 95;
  padding: 8px 4px calc(8px + env(safe-area-inset-bottom, 0));
  box-shadow: 0 -2px 14px rgba(0,0,0,.04);
}
.bottom-nav-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  max-width: 600px;
  margin: 0 auto;
}
.bottom-nav a {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px;
  padding: 8px 4px;
  color: var(--ink-500);
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: color .15s;
  border-radius: 10px;
  position: relative;
  min-height: 52px;
}
.bottom-nav a span { line-height: 1.1; }
.bottom-nav a svg { transition: transform .2s; }
.bottom-nav a.is-active { color: var(--brand-700); }
.bottom-nav a.is-active::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 3px;
  background: var(--brand-600);
  border-radius: 0 0 3px 3px;
}
.bottom-nav a.is-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
  margin: -16px 4px 0;
  box-shadow: 0 8px 18px -4px rgba(245,158,11,.45);
  border-radius: 16px;
  min-height: 60px;
  font-size: 11px;
}
.bottom-nav a.is-cta::before { display: none; }
.bottom-nav a.is-cta svg { color: #fff; }
.bottom-nav a:hover { color: var(--brand-700); }
.bottom-nav a.is-cta:hover { color: #fff; transform: translateY(-2px); }

/* Legacy mobile CTA — sakriven jer imamo bottom nav */
.mobile-cta { display: none !important; }

/* Forms */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-800); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 15px; font-family: inherit;
  color: var(--ink-900);
  transition: all .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--brand-300); border-color: var(--brand-400);
}
.field .hint { font-size: 12px; color: var(--ink-500); margin-top: 6px; }
.field.error input, .field.error select, .field.error textarea { border-color: #dc2626; }
.field .err-msg { color: #dc2626; font-size: 12px; margin-top: 6px; display: none; }
.field.error .err-msg { display: block; }

.checkbox-row { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: 14px; }
.checkbox-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand-600); }

/* Page header (interior pages) */
.page-header {
  padding: 48px 0 32px;
  background: linear-gradient(180deg, var(--bg-soft), transparent);
  border-bottom: 1px solid var(--line);
}
.breadcrumbs { font-size: 13px; color: var(--ink-500); margin-bottom: 14px; }
.breadcrumbs a { color: var(--ink-500); }
.breadcrumbs a:hover { color: var(--brand-700); }
.breadcrumbs span { padding: 0 6px; }

/* Pricing table */
.price-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-row {
  display: grid;
  grid-template-columns: 1fr 110px 130px auto;
  gap: 16px;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.price-row:first-child { border-top: 0; }
.price-row .name { font-weight: 600; color: var(--ink-900); }
.price-row .name small { display: block; color: var(--ink-500); font-weight: 400; font-size: 13px; }
.price-row .duration { color: var(--ink-600); font-size: 14px; }
.price-row .price { font-weight: 700; color: var(--ink-900); text-align: right; }
.price-row .badges { display: flex; gap: 6px; align-items: center; }
.tag {
  font-size: 11px; padding: 3px 8px; border-radius: 999px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.tag-popular { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.tag-promo { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.tag-cat { background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); }

.price-cat-head {
  background: var(--bg-soft);
  padding: 14px 22px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.05rem;
  border-top: 1px solid var(--line);
}
.price-cat-head:first-child { border-top: 0; }

/* FAQ accordion */
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all .15s;
}
.faq-item.open { border-color: var(--brand-300); box-shadow: var(--shadow); }
.faq-q {
  width: 100%; text-align: left;
  background: transparent; border: 0;
  padding: 18px 22px;
  font-size: 16px; font-weight: 600; color: var(--ink-900);
  font-family: inherit;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.faq-q .chev { transition: transform .2s; flex-shrink: 0; color: var(--brand-700); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { padding: 0 22px 20px; color: var(--ink-700); display: none; }
.faq-item.open .faq-a { display: block; }

/* ----- BOOKING FLOW ----- */
.booking-shell {
  min-height: 100vh;
  background: var(--bg);
}
.booking-progress {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 20px;
}
.booking-step {
  display: flex; align-items: center; gap: 10px;
}
.booking-step .num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink-200); color: var(--ink-500);
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
  transition: all .2s;
}
.booking-step .label { font-size: 14px; color: var(--ink-500); font-weight: 600; }
.booking-step.active .num { background: var(--brand-700); color: #fff; }
.booking-step.active .label { color: var(--ink-900); }
.booking-step.done .num { background: var(--brand-100); color: var(--brand-700); }
.booking-step.done .label { color: var(--brand-700); }
.booking-step + .booking-step::before {
  content: ''; display: block; width: 32px; height: 2px;
  background: var(--ink-200);
}

.booking-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.choice-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.choice {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  text-align: left; cursor: pointer;
  transition: all .15s;
  font-family: inherit;
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
}
.choice:hover { border-color: var(--brand-300); transform: translateY(-2px); }
.choice.selected { border-color: var(--brand-600); background: var(--brand-50); }
.choice .choice-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-50); color: var(--brand-700);
  display: grid; place-items: center; margin: 0;
  flex-shrink: 0;
}
.choice.selected .choice-icon { background: var(--brand-100); }
.choice h4 { font-size: 1rem; margin: 0 0 3px; line-height: 1.2; }
.choice .meta {
  font-size: 12.5px;
  color: var(--ink-500);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}
.choice .price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-900);
  margin: 0;
  font-family: var(--font-display);
  white-space: nowrap;
}
.choice .check {
  position: absolute; top: 10px; right: 10px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-700); color: #fff;
  display: none; place-items: center;
}
.choice.selected .check { display: grid; }

.booking-footer {
  display: flex; justify-content: space-between; gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
}
.booking-footer .btn-back { background: transparent; color: var(--ink-700); border-color: var(--line); }

/* Booking 2-column layout: kalendar | slotovi */
.booking-step2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: flex-start;
}
.booking-step2-grid .slots-side {
  position: sticky;
  top: 90px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.booking-step2-grid .slots-side h4 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}
@media (max-width: 900px) {
  .booking-step2-grid {
    grid-template-columns: 1fr;
  }
  .booking-step2-grid .slots-side { position: static; max-height: none; }
}

/* Calendar — mesečni grid */
.cal-month {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.cal-weekdays span {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.calendar-month {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.cal-cell {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .12s;
  font-family: inherit;
  padding: 4px;
  min-height: 56px;
  color: var(--ink-800);
}
.cal-cell .day {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.1;
  color: inherit;
}
.cal-cell .count {
  font-size: 10px;
  color: var(--brand-700);
  font-weight: 700;
  margin-top: 3px;
  line-height: 1;
  text-align: center;
}
/* Stanja (specifični selektori da pobede red u CSS-u) */
.cal-cell.empty {
  background: transparent;
  border: 0;
  cursor: default;
  min-height: 0;
  pointer-events: none;
}
.cal-cell.cell-past {
  background: transparent;
  color: var(--ink-300);
  border-color: transparent;
  cursor: not-allowed;
}
.cal-cell.cell-past .count { display: none; }
.cal-cell.cell-unavail {
  background: var(--ink-100);
  color: var(--ink-400);
  cursor: not-allowed;
  border-color: var(--ink-200);
}
.cal-cell.cell-unavail .count { display: none; }
.cal-cell.cell-avail {
  background: #fff;
  border-color: var(--brand-100);
  color: var(--ink-900);
}
.cal-cell.cell-avail:hover {
  border-color: var(--brand-400);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px -4px rgba(13,148,136,.22);
}
/* SELECTED — najveća specifičnost */
.cal-cell.cell-avail.is-selected,
.calendar-month .cal-cell.is-selected {
  background: var(--brand-700) !important;
  color: #fff !important;
  border-color: var(--brand-700) !important;
  box-shadow: 0 8px 20px -6px rgba(13,148,136,.45);
}
.cal-cell.is-selected .day { color: #fff; }
.cal-cell.is-selected .count { color: rgba(255,255,255,.92); }

.cal-legend {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px; color: var(--ink-600);
}
.cal-legend .dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  margin-right: 6px; vertical-align: middle;
}
.cal-legend .dot-avail { background: var(--brand-500); }
.cal-legend .dot-full  { background: var(--ink-300); }
.cal-legend .dot-past  { background: transparent; border: 1px solid var(--ink-300); }

.slots-grid {
  display: grid; gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  margin-top: 24px;
}
.slots-grid-compact {
  display: grid; gap: 6px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .slots-grid-compact { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
}
.slot {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-weight: 600; font-size: 14px;
  color: var(--ink-900);
  cursor: pointer; transition: all .12s;
  font-family: inherit;
}
.slot:hover { border-color: var(--brand-400); background: var(--brand-50); }
.slot.selected { background: var(--brand-700); color: #fff; border-color: var(--brand-700); }

.cal-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.cal-nav h3 { margin: 0; font-size: 1.1rem; text-transform: capitalize; }
.cal-nav button {
  width: 40px; height: 40px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 10px;
  display: grid; place-items: center;
}
.cal-nav button:hover { background: var(--bg-soft); }

/* Summary sticky */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: flex-start;
}
.summary {
  position: sticky; top: 90px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.summary h4 { font-size: 1.05rem; margin-bottom: 14px; }
.summary-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0;
  border-top: 1px dashed var(--line);
  font-size: 14px;
}
.summary-row:first-of-type { border-top: 0; }
.summary-row .l { color: var(--ink-500); }
.summary-row .r { color: var(--ink-900); font-weight: 600; text-align: right; }
.summary-total {
  display: flex; justify-content: space-between;
  padding-top: 14px; margin-top: 14px;
  border-top: 1px solid var(--ink-300);
  font-weight: 700; font-size: 17px;
  color: var(--ink-900);
}

/* Success */
.success-screen {
  text-align: center;
  padding: 64px 24px;
}
.success-check {
  width: 84px; height: 84px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #34d399, var(--brand-600));
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 18px 40px -12px rgba(13,148,136,.4);
  animation: pop .5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Therapist profile */
.therapist-profile {
  display: grid; grid-template-columns: 320px 1fr; gap: 36px;
  align-items: flex-start;
}
.therapist-profile .photo {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--brand-200), var(--brand-500));
  border-radius: var(--radius-lg);
  display: grid; place-items: center;
  font-family: var(--font-display); color: #fff;
  font-size: 96px; font-weight: 700;
}
.therapist-profile h1 { margin-bottom: 6px; }
.therapist-profile .role { color: var(--brand-700); font-weight: 600; margin-bottom: 16px; }
.therapist-profile .meta-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin: 24px 0;
}
.therapist-profile .meta-item {
  background: var(--bg-soft);
  padding: 14px 16px;
  border-radius: 12px;
}
.therapist-profile .meta-item small { display: block; color: var(--ink-500); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.therapist-profile .meta-item strong { font-size: 1.05rem; color: var(--ink-900); }

/* Service detail */
.service-detail {
  display: grid; grid-template-columns: 1fr 320px; gap: 36px;
  align-items: flex-start;
}
.service-detail h2 { font-size: 1.4rem; margin-top: 32px; margin-bottom: 12px; }
.service-detail ul { padding-left: 1.4em; }
.service-detail li { margin-bottom: 6px; }
.service-side {
  position: sticky; top: 96px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.service-side .price { font-size: 2rem; font-weight: 700; color: var(--ink-900); }
.service-side .price small { display: block; font-size: 12px; color: var(--ink-500); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; }

/* Filters bar */
.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.chip {
  padding: 8px 14px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--ink-700);
  cursor: pointer; transition: all .12s;
  font-family: inherit;
}
.chip:hover { border-color: var(--brand-300); }
.chip.active { background: var(--brand-700); color: #fff; border-color: var(--brand-700); }

/* Blog post (article) */
.article {
  max-width: 740px; margin: 0 auto;
}
.article h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.article .meta { color: var(--ink-500); font-size: 14px; margin-bottom: 32px; }
.article-body { font-size: 17px; line-height: 1.75; color: var(--ink-800); }
.article-body h2 { font-size: 1.5rem; margin-top: 36px; margin-bottom: 14px; }
.article-body h3 { font-size: 1.2rem; margin-top: 24px; margin-bottom: 10px; }
.article-body ul { padding-left: 1.4em; }
.article-body p { margin-bottom: 1.2em; }

/* Admin */
/* Admin shell — resetuj javni body padding (admin ne treba topbar/header offset) */
body.is-admin { padding-top: 0 !important; padding-bottom: 0 !important; }
.admin-shell {
  display: flex;
  min-height: 100vh;
  background: var(--bg-soft);
}

.admin-sidebar {
  width: 240px;
  background: var(--ink-900);
  color: #fff;
  padding: 24px 16px;
  flex-shrink: 0;
  /* Fiksiran sidebar */
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 50;
  /* Tanki scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.18) transparent;
}
.admin-sidebar::-webkit-scrollbar { width: 6px; }
.admin-sidebar::-webkit-scrollbar-track { background: transparent; }
.admin-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.18);
  border-radius: 3px;
}
.admin-sidebar::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.32); }

.admin-sidebar .brand { color: #fff; margin-bottom: 32px; }
.admin-sidebar .brand-name small { color: rgba(255,255,255,.5); }
.admin-nav a {
  display: flex; gap: 12px; align-items: center;
  padding: 11px 14px; border-radius: 10px;
  color: rgba(255,255,255,.7); font-weight: 500; font-size: 14px;
  margin-bottom: 4px;
}
.admin-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-nav a.is-active { background: var(--brand-700); color: #fff; }

/* Admin main — offset za fiksirani sidebar */
.admin-main {
  flex: 1;
  padding: 32px;
  margin-left: 240px;
  min-width: 0;
}
.admin-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px;
}
.admin-header h1 { font-size: 1.8rem; margin: 0; }
.kpi-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  margin-bottom: 32px;
}
.kpi {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
}
.kpi small { color: var(--ink-500); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.kpi .val { font-size: 2rem; font-weight: 700; color: var(--ink-900); margin-top: 6px; font-family: var(--font-display); }
.kpi .delta { font-size: 12px; margin-top: 4px; color: var(--brand-700); }

.tbl {
  width: 100%; border-collapse: collapse;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.tbl th, .tbl td { text-align: left; padding: 14px 18px; font-size: 14px; }
.tbl th { background: var(--bg-soft); font-weight: 600; color: var(--ink-700); }
.tbl tr + tr td { border-top: 1px solid var(--line); }
.tbl .row-actions { display: flex; gap: 8px; }
.status-pill { display: inline-flex; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.status-confirmed { background: var(--brand-50); color: var(--brand-800); }
.status-cancelled { background: #fee2e2; color: #b91c1c; }
.status-completed { background: #dbeafe; color: #1e40af; }
.status-no_show { background: #fef3c7; color: #92400e; }

/* Misc */
.divider { height: 1px; background: var(--line); margin: 32px 0; }
.tag-list { display: flex; gap: 6px; flex-wrap: wrap; }
.tag-list .tag-cat { background: var(--bg-soft); color: var(--ink-700); border-color: var(--line); }

/* Flash messages */
.flash { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-weight: 500; }
.flash.success { background: var(--brand-50); color: var(--brand-800); border: 1px solid var(--brand-200); }
.flash.error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { aspect-ratio: 16/12; max-height: 400px; }
  .therapist-profile { grid-template-columns: 1fr; }
  .therapist-profile .photo { max-width: 280px; }
  .service-detail { grid-template-columns: 1fr; }
  .service-side { position: static; }
  .booking-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .price-row { grid-template-columns: 1fr 90px auto; }
  .price-row .duration { display: none; }
  .admin-sidebar { width: 72px; }
  .admin-sidebar .brand-name, .admin-nav a span { display: none; }
  .admin-main { margin-left: 72px; }
}
@media (max-width: 1024px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .nav.open {
    display: flex; flex-direction: column;
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
    background: #fff;
    padding: 24px 20px env(safe-area-inset-bottom, 24px);
    gap: 4px;
    overflow-y: auto;
    z-index: 99;
    animation: navSlide .22s ease;
  }
  body.nav-open { overflow: hidden; }
  /* Stari .nav.open stilovi su zamenjeni novim u mobile.css */
  .nav.open a::after { display: none; }
  .nav-mobile-cta-old-removed {
    display: none;
  }
}
.nav-mobile-cta { display: none; }
@media (max-width: 1024px) { .nav.open .nav-mobile-cta { display: flex; } }

@keyframes navSlide { from { opacity: 0; transform: translateY(-6px);} to { opacity: 1; transform: none; } }

@media (max-width: 720px) {
  .header .container { gap: 12px; height: 68px; }
  .brand { font-size: 16px; gap: 9px; }
  .brand-icon { width: 36px; height: 36px; border-radius: 10px; }
  .nav.open { top: 68px; }
  .header-cta .btn-primary { padding: 10px 14px; font-size: 13.5px; }
  .header-cta .btn-account { display: none; }
  .topbar .topbar-left { display: none; }
  .topbar .topbar-right { width: 100%; justify-content: center; gap: 12px; }
  .topbar { padding: 7px 0; font-size: 12px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-cta { display: flex; gap: 8px; }
  .mobile-cta .btn { flex: 1; }
  body { padding-bottom: 80px; }
  .booking-progress .label { display: none; }
  .booking-step + .booking-step::before { width: 16px; }
  .price-row { grid-template-columns: 1fr auto; gap: 8px; padding: 14px 16px; }
  .price-row .duration { display: none; }
  .price-row .badges { display: none; }
  .mini-book { grid-template-columns: 1fr; }
  .admin-shell { flex-direction: column; }
  .admin-sidebar {
    position: sticky;
    top: 0;
    width: 100%;
    height: auto;
    max-height: none;
    padding: 12px;
    overflow: visible;
  }
  .admin-main {
    padding: 16px;
    margin-left: 0;
  }
}
