/* Fiziovizija — smer C: Active Movement
   Barve: Emerald #17624E · Jade #4A8B76 · Taupe #736458 · Pink #EFD8E0 · Ivory #FAF9F6 · Forest #1E322C */

:root {
  --emerald: #17624E;
  --jade: #4A8B76;
  --taupe: #736458;
  --pink: #EFD8E0;
  --ivory: #FAF9F6;
  --forest: #1E322C;
  --mint: #A9D2C3;
  --sand: #F1EEE8;
  --line: #E4E0D8;
  --ink-soft: #4d453d;
  --radius: 6px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --gutter-x: clamp(20px, 5cqi, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--forest); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 2px; box-shadow: 0 0 0 6px var(--pink); }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--emerald); }
section[id] { scroll-margin-top: 72px; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 20; padding: 12px 16px; border-radius: var(--radius); background: var(--ivory); color: var(--forest); font: 700 15px 'DM Sans', system-ui, sans-serif; }
.skip:focus { top: 12px; }

.page {
  container-type: inline-size;
  background: var(--ivory);
  color: var(--forest);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
}

.fr { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.eye { font-size: 13px; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.muted { color: var(--ink-soft); }
.c-green { color: var(--emerald); }
.c-mint { color: var(--mint); }
.c-pink { color: var(--pink); }
.stack-sm { display: flex; flex-direction: column; gap: 14px; }
.stack-md { display: flex; flex-direction: column; gap: clamp(22px, 2.6cqi, 36px); }
.stack-lg { display: flex; flex-direction: column; gap: clamp(32px, 4.5cqi, 64px); }
.stack-xl { display: flex; flex-direction: column; gap: clamp(48px, 7cqi, 104px); }
.desktop-only { display: inline-flex; }
.mobile-only { display: none; }

.sec { padding: clamp(64px, 8cqi, 120px) var(--gutter-x); }
.wrap { max-width: 1296px; margin: 0 auto; }
.sec h2, .about h2 { font-weight: 700; font-size: clamp(38px, 5.4cqi, 76px); line-height: 1; letter-spacing: -.04em; }
.sub { font-size: clamp(20px, 2.1cqi, 28px); line-height: 1.25; font-weight: 500; letter-spacing: -.015em; color: var(--emerald); }
.sub.c-pink { color: var(--pink); }
.h3 { font-size: clamp(24px, 2.6cqi, 34px); line-height: 1.1; font-weight: 700; letter-spacing: -.03em; }
.sec-head { display: flex; flex-wrap: wrap; gap: 24px clamp(32px, 6cqi, 96px); }
.sec-head .sec-title { flex: 1 1 340px; }
.prose { flex: 1.2 1 380px; display: flex; flex-direction: column; gap: 16px; max-width: 640px; font-size: clamp(17px, 1.4cqi, 19px); color: var(--ink-soft); }

/* Gumbi in povezave */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px; border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  font: 700 16px 'DM Sans', system-ui, sans-serif; letter-spacing: .01em; text-decoration: none;
  transition: background .25s, color .25s, border-color .25s;
}
.btn-sm { min-height: 46px; padding: 0 20px; font-size: 15px; }
.btn-light { background: var(--ivory); color: var(--forest); }
.btn-light:hover { background: var(--pink); color: var(--forest); }
.btn-ghost { background: transparent; color: var(--ivory); border-color: rgba(250,249,246,.55); }
.btn-ghost:hover { background: var(--ivory); color: var(--forest); border-color: var(--ivory); }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; align-self: flex-start; font-weight: 700; color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.text-link .ar, .go .ar { display: inline-block; transition: transform .35s var(--ease); }
.text-link:hover .ar { transform: translateX(6px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Glava */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(30,50,44,.97); color: var(--ivory); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px var(--gutter-x); }
.logo { display: inline-flex; align-items: center; min-height: 44px; color: var(--ivory); text-decoration: none; font-size: 22px; font-weight: 800; letter-spacing: -.03em; text-transform: uppercase; }
.logo span { color: var(--pink); }
.nav { align-items: center; gap: clamp(10px, 2cqi, 30px); }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; color: var(--ivory); text-decoration: none; font-size: 13px; letter-spacing: .14em; font-weight: 700; box-shadow: inset 0 -2px 0 transparent; transition: box-shadow .25s, color .25s; }
.nav a:hover { box-shadow: inset 0 -2px 0 var(--pink); color: var(--pink); }
.header-actions { align-items: center; gap: 8px; }
.icon-btn { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid rgba(250,249,246,.4); border-radius: var(--radius); background: transparent; color: var(--ivory); cursor: pointer; }
.icon-btn-solid { border-color: var(--emerald); background: var(--emerald); }
.mobile-menu { display: flex; flex-direction: column; padding: 4px 20px 20px; }
.mobile-menu a { padding: 11px 0; font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -.03em; color: var(--ivory); text-decoration: none; border-bottom: 1px solid rgba(250,249,246,.14); }
.mobile-menu a.accent { color: var(--pink); border-bottom: 0; }

/* Hero */
.hero { position: relative; background: var(--forest); color: var(--ivory); overflow: hidden; }
.rings { position: absolute; left: -260px; bottom: -420px; width: 900px; height: 900px; opacity: .35; pointer-events: none; }
.rings-r { left: auto; bottom: auto; right: -300px; top: -380px; opacity: .14; }
.hero-inner { position: relative; display: flex; flex-wrap: wrap; align-items: stretch; gap: 36px clamp(24px, 4cqi, 64px); padding: clamp(40px, 6cqi, 88px) var(--gutter-x) clamp(48px, 6cqi, 88px); }
.hero-copy { flex: 1.25 1 460px; display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 2.2cqi, 30px); }
.hero h1 { font-weight: 800; font-size: clamp(48px, 8cqi, 124px); line-height: .94; letter-spacing: -.05em; }
.hero h1 span { color: var(--pink); }
.lead { max-width: 560px; font-size: clamp(17px, 1.5cqi, 20px); color: #d9e2de; }
.hero-contact { font-size: 15px; color: #c9d4cf; }
.hero-contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ivory); text-underline-offset: 4px; }
.hero-photos { flex: 1 1 340px; display: flex; min-height: clamp(380px, 42cqi, 620px); }

.cut { position: relative; overflow: hidden; background: var(--jade); }
.pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease); }
.cut:hover .pic { transform: scale(1.04); }
.cut-a { flex: 1.35; clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%); }
.cut-b { flex: 1; margin: 56px 0 -24px -6%; clip-path: polygon(24% 0, 100% 0, 76% 100%, 0 100%); }

/* Tri poti */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.path { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: clamp(280px, 27cqi, 400px); padding: clamp(28px, 3.2cqi, 44px); text-decoration: none; overflow: hidden; }
.path p { position: relative; max-width: 380px; }
.path-title { position: relative; font-size: clamp(32px, 3.4cqi, 48px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.path-1 { background: var(--emerald); color: #fff; }
.path-1 p { color: #e9f1ee; }
.path-2 { background: var(--ivory); color: var(--forest); }
.path-2 p { color: var(--ink-soft); }
.path-3 { background: var(--pink); color: var(--forest); }
.path-3 p { color: #4a4044; }
.path .go { position: relative; margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 14px; font-weight: 700; font-size: 16px; }
.path .go .ar { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid currentColor; }
.path:hover .go .ar { transform: translateX(8px); }
.path .big { position: absolute; right: -8px; bottom: -56px; font-size: 240px; line-height: 1; font-weight: 800; letter-spacing: -.06em; opacity: .09; transition: transform .6s var(--ease); }
.path:hover .big { transform: translateY(-14px); }

/* Fizioterapija */
.split { display: flex; flex-wrap: wrap; align-items: stretch; gap: 32px clamp(32px, 6cqi, 88px); }
.split-photo { flex: 1 1 320px; min-height: clamp(360px, 38cqi, 540px); clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%); }
.split-copy { flex: 1.2 1 360px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.needs { border-bottom: 1px solid var(--line); }
.needs li { display: flex; align-items: baseline; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); font-size: clamp(18px, 1.8cqi, 23px); line-height: 1.3; font-weight: 500; letter-spacing: -.01em; }
.ix { flex: 0 0 auto; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--taupe); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 28px 24px; }
.step { display: flex; flex-direction: column; gap: 10px; }
.track { height: 6px; background: var(--line); }
.bar { height: 100%; background: var(--emerald); transform-origin: left; }
.step-n { font-size: 48px; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--emerald); padding-top: 10px; }
.step h4 { font-size: 21px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.step p { color: var(--ink-soft); font-size: 16px; }

.methods-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 40px; }
.methods-head p { max-width: 440px; font-size: 16px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 12px; }
.tile { border-top: 3px solid var(--emerald); background: #fff; padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; }
.tile h4 { font-size: 20px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.tile p { font-size: 15.5px; color: var(--ink-soft); }

/* Vadba */
.dark { background: var(--forest); color: var(--ivory); }
.programs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.program { display: flex; flex-direction: column; gap: 14px; min-height: clamp(300px, 26cqi, 380px); padding: clamp(26px, 3cqi, 40px); border-radius: var(--radius); }
.program h3 { font-size: clamp(26px, 2.6cqi, 34px); line-height: 1.08; font-weight: 800; letter-spacing: -.035em; }
.program .text-link { margin-top: auto; }
.program-1 { background: var(--emerald); color: #fff; }
.program-1 .eye { color: var(--pink); }
.program-1 p:not(.eye) { color: #e9f1ee; }
.program-2 { background: var(--ivory); color: var(--forest); }
.program-2 .eye { color: var(--emerald); }
.program-2 p:not(.eye) { color: var(--ink-soft); }
.program-3 { background: var(--pink); color: var(--forest); }
.program-3 .eye { color: var(--emerald); }
.program-3 p:not(.eye) { color: #4a4044; }

/* Dogodki */
.sand { background: var(--sand); }
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 16px; }
.event { display: flex; flex-direction: column; gap: 16px; padding: clamp(26px, 3.4cqi, 48px); border-radius: var(--radius); }
.event h3 { font-size: clamp(26px, 2.6cqi, 34px); line-height: 1.1; font-weight: 800; letter-spacing: -.035em; }
.event-groove { justify-content: flex-end; min-height: clamp(300px, 28cqi, 400px); background: var(--emerald); color: #fff; }
.event-groove .eye { color: var(--pink); }
.event-groove p:not(.eye) { max-width: 460px; color: #e9f1ee; }
.event .groove-title { font-size: clamp(48px, 6cqi, 88px); line-height: .92; letter-spacing: -.05em; }
.groove-title .fr { font-weight: 400; letter-spacing: -.03em; color: var(--pink); }
.event-workshops { background: #fff; }
.topics { border-bottom: 1px solid var(--line); }
.topics li { padding: 13px 0; border-top: 1px solid var(--line); font-weight: 500; }
.events-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; font-size: clamp(17px, 1.5cqi, 20px); }

/* Spoznaj Katjo */
.about { display: flex; flex-wrap: wrap; align-items: stretch; background: var(--ivory); }
.about-photo { flex: 1 1 360px; min-height: clamp(460px, 50cqi, 720px); clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
.about-copy { flex: 1.2 1 400px; padding: clamp(48px, 6cqi, 96px) var(--gutter-x); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.about-quote { max-width: 580px; font-size: clamp(19px, 1.8cqi, 24px); line-height: 1.4; font-weight: 500; letter-spacing: -.01em; }
.about-copy .muted { max-width: 580px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border: 1.5px solid var(--emerald); border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--emerald); }
.about-vision { font-size: clamp(24px, 2.6cqi, 36px); line-height: 1.15; color: var(--emerald); }

/* Kontakt */
.contact { position: relative; background: var(--emerald); color: #fff; overflow: hidden; }
.contact-inner { position: relative; display: flex; flex-wrap: wrap; gap: 36px clamp(32px, 6cqi, 96px); }
.contact-copy { flex: 1 1 340px; display: flex; flex-direction: column; gap: 22px; }
.sec .contact-title { font-size: clamp(46px, 6.6cqi, 100px); line-height: .92; }
.contact-lead { max-width: 460px; font-size: clamp(17px, 1.5cqi, 20px); color: #e9f1ee; }
.contact-cards { flex: 1.2 1 380px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 12px; align-content: start; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(22px, 2.6cqi, 32px); border-radius: var(--radius); background: var(--forest); color: var(--ivory); }
.contact-card-wide { grid-column: 1 / -1; }
.contact-value { display: inline-flex; align-items: center; min-height: 44px; color: var(--ivory); font-size: clamp(21px, 2cqi, 27px); font-weight: 700; letter-spacing: -.02em; text-decoration: none; overflow-wrap: anywhere; }
.contact-value:hover { color: var(--pink); }
.contact-card .btn { margin-top: auto; }
.locations { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 14px 24px; font-size: 17px; }
.loc-note { font-size: 14.5px; color: #c9d4cf; }

/* Noga */
.site-footer { background: var(--forest); color: #c9d4cf; font-size: 15px; padding: 48px var(--gutter-x) 40px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; }
.footer-nav a, .footer-contact a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ivory); text-decoration: none; font-weight: 500; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--pink); text-decoration: underline; text-underline-offset: 4px; }
.copy { flex-basis: 100%; padding-top: 24px; border-top: 1px solid rgba(250,249,246,.16); font-size: 14px; }

/* Animacije (samo če uporabnik ne zahteva manj gibanja) */
@keyframes in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes cut-in { from { opacity: 0; transform: translateX(48px); } to { opacity: 1; transform: none; } }
@keyframes rv { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: no-preference) {
  .in { animation: in .9s var(--ease) both; }
  .in2 { animation: cut-in 1.1s var(--ease) .15s both; }
  .in3 { animation: cut-in 1.1s var(--ease) .3s both; }
  @supports (animation-timeline: view()) {
    .rv { animation: rv linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
    .bar { animation: grow linear both; animation-timeline: view(); animation-range: entry 10% entry 90%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Mobilna različica */
@media (min-width: 900px) {
  .mobile-menu { display: none; }
}
@media (max-width: 899px) {
  .desktop-only { display: none; }
  .mobile-only { display: inline-flex; }
}
@media (max-width: 719px) {
  .page { font-size: 16.5px; }
  .hero-photos { min-height: 320px; }
  .cut-b { margin-top: 36px; }
  .cta-row .btn { flex: 1 1 150px; }
  .split-photo, .about-photo { clip-path: none; min-height: 400px; }
  .about-photo { flex-basis: 100%; }
  .path .big { font-size: 180px; bottom: -40px; }
  .contact-card .btn { width: 100%; }
}
