/* Mobile-first. Boje i fontovi dolaze iz brand.json kao CSS varijable (vidi <style> u index.html). */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-tekst);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--tekst);
  background: var(--pozadina);
  padding-bottom: 4.5rem; /* mjesto za sticky CTA na mobitelu */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primarna); text-underline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-naslovi); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--akcent); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--pozadina); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }

.wrap { width: min(100% - 2.5rem, 70rem); margin-inline: auto; }
.narrow > p { max-width: 44rem; }

.btn {
  display: inline-block;
  min-height: 48px;
  padding: .8rem 1.4rem;
  border-radius: .6rem;
  background: var(--primarna);
  color: var(--primarna-tekst);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.btn:hover { filter: brightness(1.08); }
.btn--small { min-height: 44px; padding: .55rem 1rem; font-size: .95rem; }

.top { position: sticky; top: 0; z-index: 10; background: var(--pozadina); border-bottom: 1px solid var(--povrsina); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { font-family: var(--font-naslovi); font-weight: 800; font-size: 1.15rem; color: var(--tekst); text-decoration: none; }
.top .btn--small { display: none; }

.hero { padding: 2rem 0 2.5rem; }
.hero__in { display: grid; gap: 1.75rem; }
.eyebrow { color: var(--prigusen); font-weight: 600; font-size: .95rem; margin-bottom: .5rem; }
.lead { font-size: 1.15rem; color: var(--prigusen); }
.hero__phone { margin-top: 1rem; color: var(--prigusen); }
.hero__img { margin: 0; }
.hero__img img { border-radius: 1rem; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.section { padding: 3rem 0; }
.section--alt { background: var(--povrsina); }

.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.card { background: var(--povrsina); border-radius: .9rem; padding: 1.25rem 1.25rem .5rem; border-top: 4px solid var(--primarna); }

.contact { display: grid; gap: 2rem; }
.contact__list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact__list li { padding: .5rem 0; border-bottom: 1px solid var(--povrsina); }
.contact__list a { font-weight: 600; overflow-wrap: anywhere; }
.label { display: block; font-size: .85rem; color: var(--prigusen); }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--povrsina); }
.hours dd { margin: 0; font-weight: 600; }
.map { width: 100%; min-height: 300px; border: 0; border-radius: .9rem; grid-column: 1 / -1; }

.foot { padding: 2rem 0; background: var(--tekst); color: var(--pozadina); font-size: .9rem; }
.foot p { margin: .25rem 0; }
.foot a { color: inherit; }
.credit { opacity: .85; }

.sticky-cta {
  position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 20;
  min-height: 52px; display: flex; align-items: center; justify-content: center;
  border-radius: .8rem; background: var(--primarna); color: var(--primarna-tekst);
  font-weight: 700; text-decoration: none; box-shadow: 0 6px 20px rgb(0 0 0 / .18);
  transition: transform .2s ease;
}
.sticky-cta.is-hidden { transform: translateY(150%); }

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .top .btn--small { display: inline-block; }
  .cards { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
  .contact { grid-template-columns: 1fr 1fr; }
  .section { padding: 4.5rem 0; }
}

@media (min-width: 960px) {
  .hero { padding: 4rem 0; }
  .hero__in { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sticky-cta { transition: none; }
}

/* ---------- Frizerski salon Lana: nježna roza, zlatni detalji ---------- */
h1, h2, .brand { font-weight: 400; letter-spacing: .01em; }
h3 { font-weight: 600; }
h2::after { content: ""; display: block; width: 3rem; height: 2px; margin-top: .55em; background: var(--akcent); }
.brand { font-size: 1.3rem; }
.top { border-bottom-color: color-mix(in srgb, var(--akcent) 35%, transparent); }

.btn { border-radius: 999px; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s ease, background-color .2s ease; }
.btn:hover { filter: none; box-shadow: inset 0 0 0 2px var(--akcent); }

.hero { background: linear-gradient(180deg, var(--povrsina) 0%, var(--pozadina) 100%); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }
.hero__phone { margin-bottom: .25rem; }
.hero__hours { color: var(--prigusen); font-size: .95rem; }
.hero__img img { border-radius: 10rem 10rem 1rem 1rem; aspect-ratio: 4 / 5; outline: 1px solid var(--akcent); outline-offset: 8px; }

.card { background: var(--pozadina); border: 1px solid var(--povrsina); border-top: 2px solid var(--akcent); }

.feature { display: grid; gap: 2rem; align-items: center; }
.feature__img { margin: 0; }
.feature__img img { border-radius: 1rem; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ticks { list-style: none; padding: 0; margin: 0 0 1rem; }
.ticks li { padding: .35rem 0 .35rem 1.6rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: .2rem; top: .95rem; width: .55rem; height: .55rem; transform: rotate(45deg); border: 1.5px solid var(--akcent); }
.note { color: var(--prigusen); font-size: .95rem; }

.foot { border-top: 3px solid var(--akcent); }
.foot__hours { display: inline-block; margin-right: 1.25rem; }

@media (min-width: 960px) {
  .hero__img img { max-height: 34rem; margin-left: auto; }
  .feature { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
}

@media (min-width: 600px) and (max-width: 959px) {
  .hero__img img { aspect-ratio: auto; height: 26rem; }
  .feature__img img { max-height: 24rem; }
}
