/* ==========================================================================
   Servis Frlic — stylesheet
   Struktura: 1 tokens · 2 reset · 3 tipografija · 4 gradniki · 5 postavitev
              6 sekcije · 7 vrtiljak mnenj · 8 odzivnost · 9 dostopnost
   ========================================================================== */

/* 1 — TOKENS ============================================================== */

/* Spremenljivi pisavi, prirezani na latinico + latinico razširjeno A
   (č š ž ć đ ł ż ą ę …), z osjo debeline omejeno na 400–700.
   Skupaj 67 KB namesto 196 KB. Podrobnosti in postopek: README. */
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo.woff2') format('woff2-variations'),
       url('../fonts/archivo.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter.woff2') format('woff2-variations'),
       url('../fonts/inter.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
}

:root {
  /* barve */
  --ink:       #0B0E13;
  --surface:   #12171F;
  --surface-2: #171D27;
  --line:      #232A35;
  --paper:     #F5F3EF;
  --paper-2:   #EAE7E1;
  --grey:      #7C8698;
  --grey-dk:   #5C6473;
  --accent:    #1D6FD3;
  --accent-lo: #4A93EE;
  --gold:      #C8A24A;

  /* tipografija */
  --f-head: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --t-hero:  clamp(2.6rem, 7.2vw, 5.4rem);
  --t-h2:    clamp(1.95rem, 4.2vw, 3.1rem);
  --t-h3:    clamp(1.15rem, 1.9vw, 1.4rem);
  --t-lead:  clamp(1.05rem, 1.55vw, 1.28rem);
  --t-body:  1.0625rem;
  --t-small: 0.9375rem;
  --t-eyebrow: 0.78rem;

  /* ritem */
  --pad-x:   clamp(1.25rem, 5vw, 4rem);
  --sec-y:   clamp(4.5rem, 9vw, 8.5rem);
  --max:     1240px;
  --max-txt: 62ch;

  --r:   4px;
  --r-lg: 8px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur:  .5s;
}

/* 2 — RESET =============================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.65;
  font-feature-settings: 'cv05' 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; display: block; }
img, video { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

/* 3 — TIPOGRAFIJA ========================================================= */

h1, h2, h3, .num {
  font-family: var(--f-head);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.07;
  text-wrap: balance;
}
h3 { font-size: var(--t-h3); line-height: 1.25; letter-spacing: -0.015em; }
h2 { font-size: var(--t-h2); }
p  { text-wrap: pretty; }

.eyebrow {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--f-body);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-lo);
  margin-bottom: 1.35rem;
}
.eyebrow::before {
  content: ''; width: 28px; height: 2px; flex: none;
  background: var(--accent);
}
.lead {
  font-size: var(--t-lead);
  line-height: 1.6;
  color: var(--grey);
  max-width: var(--max-txt);
}
.num { font-variant-numeric: tabular-nums; }

/* 4 — GRADNIKI ============================================================ */

.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  --btn-bd: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.6rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd); border-radius: var(--r);
  font-weight: 600; font-size: 1rem; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: background .2s var(--ease), border-color .2s var(--ease),
              transform .2s var(--ease);
}
.btn:hover { --btn-bg: var(--accent-lo); --btn-bd: var(--accent-lo); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--paper); --btn-bd: #ffffff38; }
.btn--ghost:hover { --btn-bg: #ffffff12; --btn-bd: #ffffff70; transform: translateY(-1px); }

.btn--onlight { }
.btn--ghost.btn--onlight { --btn-fg: var(--ink); --btn-bd: #0b0e1330; }
.btn--ghost.btn--onlight:hover { --btn-bg: #0b0e1308; --btn-bd: #0b0e1370; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; text-decoration: none;
  color: var(--accent-lo);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), gap .2s var(--ease);
}
.link-arrow:hover { border-bottom-color: currentColor; gap: .7rem; }

/* zvezdice */
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 15px; height: 15px; fill: var(--gold); }

/* 5 — POSTAVITEV ========================================================== */

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad-x); }

.section { padding-block: var(--sec-y); position: relative; }
.section--light { background: var(--paper); color: var(--ink); }
.section--light .lead { color: var(--grey-dk); }
.section--light .eyebrow { color: var(--accent); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .lead { margin-top: 1.25rem; }

/* skip link */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  padding: .9rem 1.4rem; background: var(--accent); color: #fff;
  font-weight: 600; text-decoration: none;
}
.skip:focus { left: 0; }

/* — glava — */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 1.35rem;
  transition: padding .3s var(--ease), background .3s var(--ease),
              border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  padding-block: .8rem;
  background: #0b0e13e0;
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header__in { display: flex; align-items: center; gap: 2rem; }
.header__nav { margin-left: auto; display: flex; align-items: center; gap: 2rem; }
.header__nav a {
  font-size: var(--t-small); font-weight: 500; text-decoration: none;
  color: #ffffffcc; transition: color .2s var(--ease);
}
.header__nav a:hover { color: #fff; }
.header .btn { padding: .8rem 1.25rem; font-size: var(--t-small); }

/* logotip */
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo b {
  font-family: var(--f-head); font-weight: 700;
  font-size: 1.06rem; letter-spacing: .075em; text-transform: uppercase;
}
.logo i {
  display: block; height: 3px; width: 100%; margin-top: 5px;
  background: var(--accent); font-style: normal;
}
.logo span {
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--grey); margin-top: 6px;
}

/* meni na mobilnem */
.burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.burger span {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--paper);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 6 — SEKCIJE ============================================================= */

/* — HERO — */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: 8rem; padding-bottom: clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img, .hero__media video {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.42) saturate(.85);
}
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, var(--ink) 4%, #0b0e13d9 34%, #0b0e1359 62%, #0b0e1326 100%),
    linear-gradient(to top, var(--ink) 0%, transparent 38%);
}
.hero__in { position: relative; z-index: 1; width: 100%; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; }

.hero h1 {
  font-size: var(--t-hero);
  letter-spacing: -0.035em;
  margin-bottom: 1.6rem;
  max-width: 15ch;
}
.hero h1 .l { display: block; overflow: hidden; }
.hero h1 .l > span { display: block; }
.hero h1 em { font-style: normal; color: var(--accent-lo); }
.hero__sub { font-size: var(--t-lead); color: #ffffffc4; max-width: 46ch; margin-bottom: 2.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.hero__cta .btn { padding: 1.1rem 1.8rem; font-size: 1.02rem; }

.hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.4rem;
  border-top: 1px solid #ffffff26;
}
.hero__rating { display: flex; align-items: center; gap: .75rem; }
.hero__rating .score {
  font-family: var(--f-head); font-weight: 700; font-size: 1.5rem;
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.hero__rating .meta { font-size: var(--t-small); color: #ffffff9e; }
.hero__where {
  margin-left: auto; text-align: right;
  font-size: var(--t-small); color: #ffffff9e;
}
.hero__where b { display: block; color: #ffffffd6; font-weight: 500; }

/* — trak zaupanja — */
.trust { background: var(--surface); border-block: 1px solid var(--line); }
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.trust__item {
  padding: clamp(1.8rem, 3.5vw, 2.6rem) clamp(1rem, 2vw, 1.75rem);
  border-left: 1px solid var(--line);
}
.trust__item:first-child { border-left: 0; }
.trust__item .num {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -0.03em;
  display: flex; align-items: baseline; gap: .3rem;
}
.trust__item .num sup { font-size: .5em; font-weight: 600; top: -.15em; position: relative; }
.trust__item p { font-size: var(--t-small); color: var(--grey); margin-top: .5rem; }

/* — storitve — */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--paper-2); }
.service {
  background: var(--paper);
  padding: clamp(1.75rem, 3vw, 2.4rem);
  display: flex; flex-direction: column;
  position: relative;
  transition: background .25s var(--ease);
}
.service::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.service:hover { background: #fff; }
.service:hover::after { transform: scaleX(1); }
.service__icon {
  width: 34px; height: 34px; margin-bottom: 1.4rem;
  stroke: var(--accent); stroke-width: 1.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.service h3 { margin-bottom: .7rem; }
.service p { font-size: var(--t-small); color: var(--grey-dk); }
.service--wide { grid-column: span 2; }

.service__figure { margin: -0.4rem 0 1.4rem; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r); }
.service__figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service:hover .service__figure img { transform: scale(1.035); }

/* — Ford / znamke — */
.brands__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.brands__fig { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-lg); }
.brands__fig img { width: 100%; height: 100%; object-fit: cover; }
.brands__list { margin-top: 2rem; display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.brands__list li { background: var(--ink); padding: 1.05rem .2rem; display: flex; gap: 1rem; align-items: flex-start; }
.brands__list svg { width: 20px; height: 20px; flex: none; margin-top: 3px; stroke: var(--accent-lo); stroke-width: 1.75; fill: none; }
.brands__list b { font-weight: 600; }
.brands__list span { color: var(--grey); font-size: var(--t-small); }
.brands__note {
  margin-top: 1.75rem; padding: 1rem 1.15rem;
  border-left: 2px solid var(--line); color: var(--grey); font-size: var(--t-small);
}

/* — od 1993 — */
.story__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
}
.story__figs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.story__figs figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
.story__figs figure:last-child { grid-column: 2; aspect-ratio: 1; margin-top: -25%; border: 8px solid var(--paper); }
.story__figs figure { margin: 0; overflow: hidden; border-radius: var(--r); }
.story__figs img { width: 100%; height: 100%; object-fit: cover; }
.story__body p + p { margin-top: 1.15rem; }
.story__body p { color: var(--grey-dk); max-width: var(--max-txt); }
.story__stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--paper-2); }
.story__stats .num { font-size: 2.1rem; letter-spacing: -0.03em; }
.story__stats p { font-size: var(--t-small); color: var(--grey-dk); margin-top: .2rem; }

/* — postopek — */
.process { position: relative; overflow: hidden; }
.process__bg { position: absolute; inset: 0; z-index: 0; }
.process__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.3) saturate(.7); }
.process__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--ink), #0b0e13cc 45%, var(--ink)); }
.process .wrap { position: relative; z-index: 1; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); counter-reset: step; }
.step { padding-top: 1.75rem; border-top: 1px solid #ffffff2e; }
.step__n {
  font-family: var(--f-head); font-weight: 700; font-size: .85rem;
  letter-spacing: .1em; color: var(--accent-lo); margin-bottom: 1rem;
}
.step h3 { margin-bottom: .6rem; }
.step p { font-size: var(--t-small); color: var(--grey); }

/* — kontakt — */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }
.info { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.info__row { background: var(--surface); padding: 1.35rem 1.5rem; display: flex; gap: 1.15rem; align-items: flex-start; }
.info__row svg { width: 20px; height: 20px; flex: none; margin-top: 4px; stroke: var(--accent-lo); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.info__row dt { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-bottom: .3rem; }
.info__row dd { margin: 0; font-size: 1.05rem; font-weight: 500; }
.info__row dd a { text-decoration: none; border-bottom: 1px solid #ffffff30; transition: border-color .2s; }
.info__row dd a:hover { border-bottom-color: var(--accent-lo); }
.info__row .sub { display: block; font-size: var(--t-small); font-weight: 400; color: var(--grey); margin-top: .3rem; }

.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: .3rem 0; font-weight: 400; font-size: var(--t-small); }
.hours td { text-align: right; color: var(--grey); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--accent-lo); font-weight: 600; }
.hours .closed { color: var(--grey-dk); }

/* Zemljevid stoji ob podatkih in zapolni višino stolpca. */
.contact__map { display: flex; flex-direction: column; }
.map {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  flex: 1; min-height: 420px;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35) contrast(1.05); }

.contact__actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
  margin-top: 1.25rem;
}


/* — zaključni CTA — */
.close { position: relative; overflow: hidden; text-align: center; }
.close__bg { position: absolute; inset: 0; z-index: 0; }
.close__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.32) saturate(.8); }
.close__bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 120% at 50% 50%, #0b0e1373, var(--ink)); }
.close .wrap { position: relative; z-index: 1; }
.close h2 { max-width: 18ch; margin-inline: auto; }
.close .lead { margin: 1.4rem auto 2.4rem; }
.close__cta { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }

/* — noga — */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2.5rem; }
.footer h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-bottom: 1.1rem; font-weight: 600; }
.footer li + li { margin-top: .55rem; }
.footer a { font-size: var(--t-small); color: #ffffffc4; text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer p { font-size: var(--t-small); color: var(--grey); }
.footer__legal {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between;
  font-size: .82rem; color: var(--grey-dk);
}

/* — lepljiva vrstica na mobilnem — */
.sticky {
  position: fixed; inset: auto 0 0 0; z-index: 90;
  display: none; gap: 1px; background: var(--line);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(105%);
  transition: transform .35s var(--ease);
}
.sticky.is-on { transform: translateY(0); }
.sticky a {
  flex: 1; background: var(--surface); color: var(--paper);
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  padding: .7rem .5rem calc(.7rem); text-decoration: none;
  font-size: .74rem; font-weight: 600; letter-spacing: .02em;
}
.sticky a:first-child { background: var(--accent); color: #fff; }
.sticky svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* 7 — VRTILJAK MNENJ ====================================================== */

.reviews { background: var(--ink); overflow: hidden; }
.reviews__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 2rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}
.reviews__head .section-head { margin-bottom: 0; flex: 1 1 22rem; }
.score-card {
  display: flex; align-items: center; gap: 1.15rem;
  padding: 1.15rem 1.5rem; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface);
}
.score-card .big { font-family: var(--f-head); font-weight: 700; font-size: 2.6rem; line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.score-card .stars svg { width: 17px; height: 17px; }
.score-card p { font-size: var(--t-small); color: var(--grey); margin-top: .35rem; }

.carousel { position: relative; }
.carousel__viewport { overflow: hidden; margin-inline: calc(var(--pad-x) * -1); padding-inline: var(--pad-x); }

/* Brez JavaScripta vrtiljak postane vodoravno drsen seznam z zaskokom. */
html:not(.js) .carousel__viewport { overflow-x: auto; scroll-snap-type: x mandatory; }
html:not(.js) .carousel__track { touch-action: auto; }
html:not(.js) .review { scroll-snap-align: start; opacity: 1; flex-basis: min(380px, 82vw); }
html:not(.js) .carousel__ui .carousel__btn,
html:not(.js) .carousel__dots { display: none; }
.carousel__track {
  display: flex; gap: var(--gap, 1.5rem);
  will-change: transform;
  touch-action: pan-y;
}
.carousel__track.is-animating { transition: transform .7s cubic-bezier(.4, 0, .2, 1); }
.carousel.is-dragging .carousel__track { cursor: grabbing; }

.review {
  flex: 0 0 var(--card-w, 33.333%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.6vw, 2rem);
  display: flex; flex-direction: column;
  min-height: var(--card-h, 21rem);
  opacity: .48;
  transition: opacity .55s var(--ease), border-color .55s var(--ease), background .55s var(--ease);
}
.review.is-active { opacity: 1; border-color: #2f3846; background: var(--surface-2); }

.review__stars { margin-bottom: 1.1rem; }
.review__text {
  font-size: 1.02rem; line-height: 1.62; color: var(--paper);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7;
  line-clamp: 7; overflow: hidden;
}
.review.is-open .review__text { -webkit-line-clamp: unset; line-clamp: unset; display: block; }
.review__orig { display: none; }
.review.show-orig .review__sl { display: none; }
.review.show-orig .review__orig { display: block; }

.review__tools { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; margin-top: .9rem; }
.review__tools button {
  font-size: .82rem; font-weight: 600; color: var(--accent-lo);
  border-bottom: 1px solid transparent; padding: 2px 0;
  transition: border-color .2s;
}
.review__tools button:hover { border-bottom-color: currentColor; }

.review__foot {
  margin-top: auto; padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: .85rem;
}
.review__avatar {
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-family: var(--f-head); font-weight: 700; font-size: .95rem;
}
.review__who { min-width: 0; }
.review__who b { display: block; font-weight: 600; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review__who span { font-size: .82rem; color: var(--grey); }
.review__src { margin-left: auto; flex: none; display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--grey); }
.review__src svg { width: 15px; height: 15px; }
.review__lang {
  display: inline-block; margin-bottom: .75rem;
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--grey-dk); border: 1px solid var(--line);
  padding: .2rem .5rem; border-radius: 100px;
}

.carousel__ui { display: flex; align-items: center; gap: 1.25rem; margin-top: 2rem; }
.carousel__btn {
  width: 46px; height: 46px; flex: none;
  border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.carousel__btn:hover { border-color: var(--accent); background: var(--surface); }
.carousel__btn svg { width: 17px; height: 17px; stroke: var(--paper); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.carousel__dots { display: flex; gap: .5rem; margin-right: auto; }
.carousel__dots button {
  width: 7px; height: 7px; border-radius: 50%; padding: 0;
  background: var(--line); transition: background .3s var(--ease), width .3s var(--ease);
}
.carousel__dots button[aria-current="true"] { background: var(--accent); width: 22px; border-radius: 100px; }
.carousel__more { font-size: var(--t-small); }

/* 8 — ODZIVNOST =========================================================== */

@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem 2.5rem; }
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__where { margin-left: 0; text-align: left; width: 100%; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .service--wide { grid-column: span 2; }
  .brands__grid, .story__grid, .contact__grid { grid-template-columns: 1fr; }
  .brands__fig { aspect-ratio: 16 / 10; max-height: 380px; }
  .story__figs { max-width: 460px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding-block: 1.5rem; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .header__nav { display: none; }
  .header__nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; inset: 100% 0 auto 0;
    background: #0b0e13f2; backdrop-filter: blur(14px);
    border-block: 1px solid var(--line);
    padding: .5rem var(--pad-x) 1.5rem;
  }
  .header__nav.is-open a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .header__nav.is-open .btn { margin-top: 1.25rem; justify-content: center; }
  .burger { display: block; }
  .sticky { display: flex; }
  body { padding-bottom: 0; }
}

@media (max-width: 700px) {
  .services { grid-template-columns: 1fr; }
  .service--wide { grid-column: span 1; }
  .hero { min-height: 92svh; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__meta { gap: .9rem 1.5rem; }
  .story__figs { grid-template-columns: 1fr; max-width: 340px; }
  .story__figs figure:last-child { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .carousel__ui { gap: .8rem; }
  .carousel__more { display: none; }
}

@media (max-width: 520px) {
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item { border-left: 0; border-bottom: 1px solid var(--line); }
  .trust__item:last-child { border-bottom: 0; }
}

/* 9 — DOSTOPNOST ========================================================== */

:focus-visible {
  outline: 2px solid var(--accent-lo);
  outline-offset: 3px;
  border-radius: 2px;
}
.section--light :focus-visible { outline-color: var(--accent); }

/* Vstopne animacije — skrijemo samo, kadar je JavaScript na voljo, da jih lahko
   spet pokaže. Brez razreda .js (skripta ni naložena) vsebina ostane vidna. */
.js .reveal { opacity: 0; transform: translateY(12px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: var(--d, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .carousel__track.is-animating { transition: none; }
  .review { opacity: 1; }
}

@media (prefers-contrast: more) {
  :root { --grey: #A8B0BC; --grey-dk: #4A505C; --line: #3A424F; }
}

@media print {
  .header, .sticky, .carousel__ui, .hero__media, .process__bg, .close__bg { display: none !important; }
  body { background: #fff; color: #000; }
}
