/* Karin MANIS – Natural Nail Studio */

:root {
  --cream: #f4efe8;
  --sand: #e6ddd1;
  --beige: #d6ccbe;
  --taupe: #988779;
  --taupe-dark: #7d6d60;
  --mocha: #66574b;
  --ink: #3b312b;
  --light: #efe6da;

  --serif: "Playfair Display", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22, .8, .24, 1);
  --gutter: clamp(20px, 5vw, 72px);
  --header-h: 84px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 10px);
  @media (prefers-reduced-motion: reduce) { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; }
em { font-style: italic; }
p { margin: 0 0 1em; }

/* ---------- Gumbi ---------- */
.btn {
  --bg: transparent; --fg: var(--ink); --bd: currentColor;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border: 1px solid var(--bd);
  background: var(--bg);
  color: var(--fg);
  font: 500 12px/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease);

  &::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--fill, var(--ink));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .55s var(--ease);
  }
  &:hover::before, &:focus-visible::before { transform: scaleX(1); transform-origin: left; }
  &:hover, &:focus-visible { color: var(--fg-hover, var(--cream)); }
}
.btn--dark  { --bg: var(--mocha); --fg: var(--cream); --bd: var(--mocha); --fill: var(--ink); }
.btn--light { --bg: var(--light); --fg: var(--ink); --bd: var(--light); --fill: var(--ink); }
.btn--ghost { --fg: var(--light); --bd: rgb(239 230 218 / .6); --fill: var(--light); --fg-hover: var(--ink); }
.btn--ghost-dark { --fg: var(--mocha); --bd: var(--mocha); --fill: var(--mocha); }

/* ---------- Glava ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 var(--gutter);
  transition: background-color .4s var(--ease), height .4s var(--ease), box-shadow .4s var(--ease);

  .brand img { width: 150px; height: auto; filter: brightness(0) invert(.94) sepia(.15); transition: filter .4s var(--ease), width .4s var(--ease); }

  &.is-scrolled {
    --header-h: 68px;
    background: rgb(244 239 232 / .88);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgb(59 49 43 / .08);
    .brand img { filter: none; width: 128px; }
    .nav a { color: var(--ink); }
  }
}

.nav {
  margin-left: auto;
  ul { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
  a {
    position: relative;
    color: var(--light);
    font-size: 12px;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .4s var(--ease);
    &::after {
      content: "";
      position: absolute;
      left: 0; right: 0; bottom: -6px;
      height: 1px;
      background: currentColor;
      scale: 0 1;
      transform-origin: right;
      transition: scale .45s var(--ease);
    }
    &:hover::after, &.is-active::after { scale: 1 1; transform-origin: left; }
  }
}
.header-cta { padding: 12px 22px; }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 0; background: none; cursor: pointer;
  position: relative;
  span {
    position: absolute; left: 10px; right: 10px; height: 1.5px;
    background: var(--light);
    transition: background-color .4s;
    &:first-child { top: 17px; }
    &:last-child { top: 26px; left: 18px; }
  }
}
.site-header.is-scrolled .menu-toggle span { background: var(--ink); }

.mobile-menu {
  inset: 0;
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  margin: 0; padding: 100px var(--gutter) 40px;
  border: 0;
  background: var(--taupe);
  color: var(--light);
  opacity: 0;
  translate: 0 -24px;
  transition: opacity .45s var(--ease), translate .45s var(--ease), display .45s allow-discrete, overlay .45s allow-discrete;

  &:popover-open {
    opacity: 1; translate: 0 0;
    @starting-style { opacity: 0; translate: 0 -24px; }
  }
  ul { list-style: none; margin: 0; padding: 0; }
  li { border-bottom: 1px solid rgb(239 230 218 / .25); }
  a {
    display: block; padding: 18px 0;
    font: italic 34px/1.2 var(--serif);
    text-decoration: none;
  }
  .mobile-menu__cta { font: 500 13px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; padding: 28px 0; }
}
.menu-close {
  position: absolute; top: 18px; right: var(--gutter);
  width: 48px; height: 48px;
  border: 0; background: none; color: var(--light);
  font: 300 40px/1 var(--sans); cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 40px) var(--gutter) 90px;
  background:
    radial-gradient(ellipse 70% 60% at 78% 32%, rgb(239 230 218 / .28), transparent 70%),
    linear-gradient(135deg, #a39282, #8a796b);
  color: var(--light);
  overflow: hidden;

  &::after { /* tanek okvir kot na karticah */
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgb(239 230 218 / .35);
    pointer-events: none;
  }
}
.hero__signature {
  position: absolute;
  right: -4vw;
  top: 50%;
  width: min(62vw, 820px);
  translate: 0 -50%;
  opacity: .14;
  pointer-events: none;
  animation: write 2.6s var(--ease) .5s both;

  @supports (animation-timeline: scroll()) {
    animation: write 2.6s var(--ease) .5s both, drift linear both;
    animation-timeline: auto, scroll(root);
    animation-range: normal, 0 100vh;
  }
  @media (prefers-reduced-motion: reduce) { animation: none; }
}
@keyframes write {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
@keyframes drift {
  to { transform: translateY(18vh) rotate(-4deg); opacity: .05; }
}

.hero__inner { position: relative; max-width: 900px; }
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-bottom: 22px;
}
.hero__eyebrow { color: var(--light); opacity: .85; }
.hero__title {
  font-size: clamp(54px, 10vw, 150px);
  line-height: .98;
  letter-spacing: -.02em;
  color: #5d4f44;
  margin-bottom: 30px;

  .line { display: block; overflow: hidden; padding-bottom: .08em; }
  .line > span { display: inline-block; }
  em { color: var(--light); }
}
.hero__lead { max-width: 440px; font-size: 17px; opacity: .92; margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* uvodna animacija */
@media (prefers-reduced-motion: no-preference) {
  .hero__title .line > span { animation: rise 1.1s var(--ease) both; }
  .hero__title .line:nth-child(2) > span { animation-delay: .12s; }
  .hero__title .line:nth-child(3) > span { animation-delay: .24s; }
  .hero__eyebrow, .hero__lead, .hero__actions { animation: fade-up 1s var(--ease) both; }
  .hero__eyebrow { animation-delay: .1s; }
  .hero__lead { animation-delay: .5s; }
  .hero__actions { animation-delay: .65s; }
  .site-header { animation: fade-down .9s var(--ease) .3s both; }
}
@keyframes rise { from { translate: 0 105%; } }
@keyframes fade-up { from { opacity: 0; translate: 0 24px; } }
@keyframes fade-down { from { opacity: 0; translate: 0 -16px; } }

.scroll-hint {
  position: absolute;
  left: 50%; bottom: 36px;
  width: 1px; height: 56px;
  translate: -50% 0;
  background: rgb(239 230 218 / .3);
  overflow: hidden;
  span {
    position: absolute; inset: 0;
    background: var(--light);
    animation: scroll-line 2.2s var(--ease) infinite;
    @media (prefers-reduced-motion: reduce) { animation: none; scale: 1 .4; transform-origin: top; }
  }
}
@keyframes scroll-line {
  0% { translate: 0 -100%; }
  60%, 100% { translate: 0 100%; }
}

/* ---------- Trak ---------- */
.marquee {
  overflow: hidden;
  background: var(--mocha);
  color: var(--light);
  padding: 20px 0;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  animation: marquee 38s linear infinite;
  span { font: italic 26px/1 var(--serif); }
  i { font-style: normal; font-size: 12px; opacity: .6; }
  @media (prefers-reduced-motion: reduce) { animation: none; }
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { translate: -50% 0; } }

/* ---------- Skupno za sekcije ---------- */
.section { padding: clamp(80px, 12vw, 150px) var(--gutter); }
.section--tight { padding-top: 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(48px, 7vw, 80px); text-align: center; }
.section-title {
  font-size: clamp(38px, 5.6vw, 72px);
  color: var(--ink);
  margin-bottom: 22px;
  em { color: var(--taupe); }
}
.section-lead { color: #6c5f55; max-width: 540px; margin-inline: auto; }
.center { text-align: center; margin-top: 56px; }

/* razkrivanje ob drsenju */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    translate: 0 40px;
    transition: opacity 1s var(--ease), translate 1s var(--ease);
    transition-delay: var(--d, 0s);
  }
  .js .reveal.is-visible { opacity: 1; translate: 0 0; }
}

/* ---------- O meni ---------- */
.about {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}
.about__media { position: relative; }
.about__badge {
  position: absolute;
  right: -28px; bottom: 40px;
  width: 132px; height: 132px;
  border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--mocha);
  color: var(--light);
  strong { font: italic 46px/1 var(--serif); font-weight: 400; }
  span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; margin-top: 6px; }
  @media (prefers-reduced-motion: no-preference) { animation: spin-in 1s var(--ease) both; animation-play-state: paused; }
}
.about__media.is-visible .about__badge { animation-play-state: running; animation-delay: .5s; }
@keyframes spin-in { from { scale: .4; rotate: -40deg; opacity: 0; } }

.about__text p { color: #5a4e45; }
.about blockquote {
  margin: 34px 0 0;
  padding-left: 26px;
  border-left: 1px solid var(--taupe);
  font: italic clamp(22px, 2.4vw, 30px)/1.35 var(--serif);
  color: var(--mocha);
}

.photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(150deg, var(--beige), var(--taupe));
  display: grid; place-items: center;
  > span { font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: rgb(255 255 255 / .75); }
  img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
  &:hover img { scale: 1.06; }
}
.photo--tall { aspect-ratio: 3 / 4; }

/* ---------- Vrednote ---------- */
.values__list {
  list-style: none; margin: 0 auto; padding: 0;
  max-width: 1240px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgb(59 49 43 / .12);
  border-block: 1px solid rgb(59 49 43 / .12);
  li { background: var(--cream); padding: 44px 36px 40px; }
  h3 { font-size: 28px; margin: 14px 0 12px; }
  p { color: #6c5f55; font-size: 15px; margin: 0; }
}
.values__num { font: italic 18px/1 var(--serif); color: var(--taupe); }

/* ---------- Storitve ---------- */
.services { background: var(--sand); }
.services__list { list-style: none; margin: 0 auto; padding: 0; max-width: 1040px; }
.service {
  position: relative;
  display: grid;
  grid-template-columns: 170px 50px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 34px 10px;
  border-top: 1px solid rgb(59 49 43 / .18);
  &:last-child { border-bottom: 1px solid rgb(59 49 43 / .18); }

  &::before { /* poudarek ob prehodu z miško */
    content: "";
    position: absolute; inset: 0;
    background: var(--cream);
    scale: 1 0;
    transform-origin: bottom;
    transition: scale .55s var(--ease);
    z-index: -1;
  }
  @media (hover: hover) {
    &:hover::before { scale: 1 1; }
    &:hover h3 { translate: 12px 0; }
  }

  h3 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 10px; transition: translate .55s var(--ease); }
  p { color: #6c5f55; max-width: 620px; margin: 0; }
}
.services__list { isolation: isolate; }
.service__num { font: italic 20px/1 var(--serif); color: var(--taupe); align-self: start; padding-top: 10px; }
.service__img {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  img { width: 100%; height: 100%; object-fit: cover; scale: 1; transition: scale 1s var(--ease), filter 1s var(--ease); filter: saturate(.85); }
}
@media (hover: hover) {
  .service:hover .service__img img { scale: 1.12; filter: saturate(1); }
}
.service__price { font: 400 clamp(24px, 2.6vw, 32px)/1 var(--serif); color: var(--mocha); white-space: nowrap; }

.service__price small { font: 400 12px/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--taupe-dark); margin-right: 4px; }

/* cenik */
.pricelist {
  max-width: 1040px;
  margin: 90px auto 0;
  padding: clamp(28px, 5vw, 60px);
  background: var(--cream);
}
.pricelist__title { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 30px; em { color: var(--taupe); } }
.pricelist__scroll { overflow-x: auto; }
.pricelist table {
  width: 100%;
  border-collapse: collapse;
  min-width: 460px;
  th, td { padding: 16px 10px; border-bottom: 1px solid rgb(59 49 43 / .14); text-align: right; }
  thead th {
    font: 500 11px/1.3 var(--sans);
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--taupe-dark);
    vertical-align: bottom;
    small { display: block; font-size: 10px; letter-spacing: .08em; text-transform: none; opacity: .8; margin-top: 4px; }
  }
  th:first-child { text-align: left; padding-left: 0; }
  tbody th { font: 400 22px/1.2 var(--serif); }
  td { font: 400 22px/1.2 var(--serif); color: var(--mocha); white-space: nowrap; }
  tbody tr { transition: background-color .35s var(--ease); }
  tbody tr:hover { background: var(--sand); }
}
.pricelist__extra {
  list-style: none;
  margin: 34px 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
  li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgb(59 49 43 / .2); font-size: 15px; }
  li span:last-child { font: 18px/1.3 var(--serif); color: var(--mocha); white-space: nowrap; }
}

/* ---------- Galerija ---------- */
.gallery__grid {
  max-width: 1240px; margin: 0 auto;
  columns: 3;
  column-gap: 18px;
  .photo {
    display: block;
    aspect-ratio: auto;
    margin: 0 0 18px;
    break-inside: avoid;
    img { position: static; width: 100%; height: auto; }
  }
  .photo:nth-child(3n+2) { --d: .1s; }
  .photo:nth-child(3n+3) { --d: .2s; }
}
@media (max-width: 640px) {
  .gallery__grid { columns: 2; column-gap: 10px; .photo { margin-bottom: 10px; } }
}

/* ---------- Kartice ---------- */
.cards {
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgb(239 230 218 / .22), transparent 70%),
    linear-gradient(135deg, #a39282, #8a796b);
  color: var(--light);
  .section-title { color: #5d4f44; em { color: var(--light); } }
  .eyebrow { color: var(--light); opacity: .85; }
}
.cards__grid {
  max-width: 1240px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
.promo {
  &:nth-child(2) { --d: .12s; }
  &:nth-child(3) { --d: .24s; }
  h3 { font-size: 30px; margin: 30px 0 10px; font-style: italic; }
  p { opacity: .92; margin: 0; }
  strong { font-weight: 500; }
}
.promo__img {
  perspective: 900px;
  aspect-ratio: 85 / 55;
  display: grid;
  place-items: center;
  img {
    width: 100%;
    box-shadow: 0 30px 50px -24px rgb(40 30 25 / .55);
    transition: transform .8s var(--ease), box-shadow .8s var(--ease);
    transform: rotateX(8deg) rotateY(-10deg) rotateZ(1.5deg);
  }
  &:hover img { transform: rotateX(0) rotateY(0) rotateZ(0) translateY(-8px); box-shadow: 0 40px 60px -26px rgb(40 30 25 / .6); }
}

/* ---------- Rezervacija ---------- */
.booking { text-align: center; }
.booking .section-head { margin-bottom: 40px; }
.booking__cta .btn { padding: 20px 44px; font-size: 13px; }

/* ---------- Kontakt ---------- */
.contact {
  background: var(--sand);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.contact__info { max-width: 520px; justify-self: end; width: 100%; }
.contact__list {
  margin: 34px 0 30px;
  > div { display: grid; grid-template-columns: 130px 1fr; padding: 16px 0; border-bottom: 1px solid rgb(59 49 43 / .15); }
  > div:nth-child(2) { --d: .08s; } > div:nth-child(3) { --d: .16s; } > div:nth-child(4) { --d: .24s; }
  dt { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe-dark); padding-top: 4px; }
  dd { margin: 0; font: 20px/1.4 var(--serif); }
  a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); }
  a:hover { background-size: 100% 1px; }
}
.socials {
  display: flex; gap: 12px;
  a {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    border: 1px solid var(--mocha);
    border-radius: 50%;
    color: var(--mocha);
    transition: background-color .4s var(--ease), color .4s var(--ease), translate .4s var(--ease);
    &:hover { background: var(--mocha); color: var(--light); translate: 0 -4px; }
  }
  svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
  .fill { fill: currentColor; stroke: none; }
}
.review-btn { margin-top: 26px; }

.contact__map {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(.25) contrast(.95); }
}


.map-placeholder {
  height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  padding: 30px;
  text-align: center;
  background: linear-gradient(135deg, #a39282, #8a796b);
  color: var(--light);
  img { width: 110px; opacity: .5; }
  p { margin: 0; max-width: 300px; font-size: 14px; }
  .btn { --bg: var(--light); --fg: var(--ink); --bd: var(--light); }
  a { font-size: 13px; opacity: .85; }
}

/* ---------- Piškotki ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cookie {
  position: fixed;
  z-index: 60;
  left: 20px; bottom: 20px;
  width: min(440px, calc(100% - 40px));
  padding: 26px 26px 22px;
  background: var(--cream);
  border: 1px solid rgb(59 49 43 / .12);
  box-shadow: 0 24px 60px -20px rgb(40 30 25 / .45);
  font-size: 14px;
  line-height: 1.6;
  &[hidden] { display: none; }
  @media (prefers-reduced-motion: no-preference) { animation: fade-up .7s var(--ease) both; }
  p { margin: 0 0 14px; color: #5a4e45; }
}
.cookie__title { font: italic 24px/1 var(--serif) !important; color: var(--ink) !important; }
.cookie__detail {
  display: none;
  border: 0; margin: 0 0 16px; padding: 0;
  label { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid rgb(59 49 43 / .12); cursor: pointer; }
  input { margin-top: 4px; accent-color: var(--mocha); width: 16px; height: 16px; }
  strong { display: block; font-weight: 500; color: var(--ink); }
  span { color: #6c5f55; font-size: 13px; }
}
.cookie__actions {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  .btn { padding: 12px 18px; font-size: 11px; }
}
.cookie__link { border: 0; background: none; padding: 8px 4px; font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--mocha); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.cookie__save { display: none; }
.cookie.is-detail {
  .cookie__detail { display: block; }
  .cookie__save { display: inline-flex; }
  .cookie__link, [data-action="all"] { display: none; }
}
.site-footer__company { font-size: 12px !important; opacity: .7 !important; max-width: 640px; margin: 20px auto 0; line-height: 1.7; }
.pricelist__note { margin: 22px 0 0; font-size: 13px; color: var(--taupe-dark); }
.site-footer__credit { font-size: 11px !important; opacity: .55 !important; margin-top: 8px; letter-spacing: .08em; a { text-decoration: underline; text-underline-offset: 3px; } }
.site-footer__links { font-size: 12px !important; letter-spacing: .08em; margin-top: 18px; a { text-decoration: underline; text-underline-offset: 3px; } }

/* ---------- Noga ---------- */
.site-footer {
  background: var(--mocha);
  color: var(--light);
  text-align: center;
  padding: 70px var(--gutter) 40px;
  img { width: 200px; margin: 0 auto 26px; }
  a { text-decoration: none; }
  p { font-size: 14px; opacity: .9; }
}
.site-footer__small { font-size: 12px !important; opacity: .6 !important; margin-top: 30px; letter-spacing: .08em; }

/* ---------- Odzivnost ---------- */
@media (max-width: 1000px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .about, .contact { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; }
  .contact__info { justify-self: start; }
  .cards__grid { grid-template-columns: 1fr; max-width: 520px; }
  .values__list { grid-template-columns: 1fr; }
  .service { grid-template-columns: 120px 1fr auto; }
  .service__num { display: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 70px; }
  .site-header .brand img { width: 120px; }
  .hero::after { inset: 10px; }
  .hero__signature { width: 110vw; right: -30vw; top: 62%; }
  .about__badge { right: 12px; width: 110px; height: 110px; strong { font-size: 38px; } }
  .service { grid-template-columns: 1fr auto; gap: 10px 16px; padding: 28px 4px; align-items: baseline; }
  .service__img { grid-column: 1 / -1; aspect-ratio: 4 / 5; margin-bottom: 10px; }
  .service__num { grid-column: 1 / -1; padding-top: 0; }
  .service__body { grid-column: 1; }
  .service__price { grid-column: 2; grid-row: 2; }
  .contact__list > div { grid-template-columns: 1fr; gap: 2px; }
  .pricelist__extra { grid-template-columns: 1fr; }
  .pricelist table { min-width: 0; th, td { padding: 12px 4px; } tbody th, td { font-size: 17px; } }
  .marquee__track span { font-size: 22px; }
}

/* ---------- Stran Zasebnost ---------- */
.legal__back { margin-left: auto; padding: 12px 20px; font-size: 11px; }
.legal__main {
  max-width: 780px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 70px) var(--gutter) 100px;
  h2 { font-size: 30px; margin: 48px 0 14px; }
  p { color: #5a4e45; }
  code { font-size: 13px; background: var(--sand); padding: 1px 5px; }
}
.legal__updated { font-size: 13px; color: var(--taupe-dark) !important; }
.legal__table {
  overflow-x: auto;
  margin-top: 24px;
  table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14px; }
  th, td { text-align: left; vertical-align: top; padding: 14px 12px 14px 0; border-bottom: 1px solid rgb(59 49 43 / .14); }
  th { font: 500 11px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--taupe-dark); }
}

/* ---------- Pogosta vprašanja ---------- */
.faq { background: var(--cream); }
.faq__list { max-width: 860px; margin: 0 auto; border-top: 1px solid rgb(59 49 43 / .18); }
.faq__item {
  border-bottom: 1px solid rgb(59 49 43 / .18);
  summary {
    list-style: none;
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 26px 4px;
    font: 400 clamp(21px, 2.4vw, 26px)/1.3 var(--serif);
    cursor: pointer;
    transition: color .3s var(--ease);
    &::-webkit-details-marker { display: none; }
    &::after {
      content: "+";
      flex: none;
      width: 36px; height: 36px;
      display: grid; place-items: center;
      border: 1px solid var(--taupe);
      border-radius: 50%;
      font: 300 22px/1 var(--sans);
      color: var(--mocha);
      transition: rotate .45s var(--ease), background-color .3s, color .3s;
    }
    &:hover { color: var(--taupe-dark); }
  }
  &[open] summary::after { rotate: 45deg; background: var(--mocha); color: var(--light); }
  p { margin: 0; padding: 0 60px 28px 4px; color: #5a4e45; }
  @media (prefers-reduced-motion: no-preference) {
    &[open] p { animation: fade-up .5s var(--ease) both; }
  }
}

/* ---------- Drsnik slik pri storitvi ---------- */
.slider { position: relative; }
.slider__track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  &::-webkit-scrollbar { display: none; }
  @media (prefers-reduced-motion: reduce) { scroll-behavior: auto; }
  img {
    flex: 0 0 100%;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    scale: 1;
  }
}
.service:hover .slider__track img { scale: 1; }
.slider__dots {
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  display: flex; justify-content: center; gap: 4px;
  button {
    width: 22px; height: 22px;
    padding: 0; border: 0; background: none; cursor: pointer;
    display: grid; place-items: center;
    &::before {
      content: "";
      width: 6px; height: 6px;
      border-radius: 50%;
      background: rgb(255 255 255 / .55);
      box-shadow: 0 0 4px rgb(0 0 0 / .25);
      transition: background-color .3s, scale .3s var(--ease);
    }
    &.is-active::before { background: #fff; scale: 1.35; }
  }
}
