/* ==========================================================================
   Branka Gold kozmetički salon: landing page styles
   Breakpoints (mobile-first): 640px (sm) · 768px (md) · 1024px (lg)
   ========================================================================== */

/* ---------- Fonts (self-hosted; latin-ext covers č ć š ž đ) ---------- */
/* Cormorant Garamond: static v4 build. The current variable release draws š/ž with a
   misplaced caron, so don't swap these files for the Google Fonts version. */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-latin-ext-300-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-latin-300-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-latin-ext-300-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-latin-300-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-latin-ext-400-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Metric-matched fallbacks: text keeps the same size while the web fonts load (prevents layout shift). */
@font-face {
  font-family: 'Manrope Fallback';
  src: local('Arial'), local('ArialMT'), local('Helvetica');
  size-adjust: 96.85%;
  ascent-override: 110.07%;
  descent-override: 30.98%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Cormorant Fallback';
  src: local('Times New Roman'), local('TimesNewRomanPSMT'), local('Times');
  size-adjust: 95.05%;
  ascent-override: 97.21%;
  descent-override: 30.19%;
  line-gap-override: 0%;
}

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --navy: #1e2760;
  --navy-deep: #141a45;
  --navy-soft: #2b3578;
  --gold: #c9a45c;
  --gold-light: #e2c98f;
  --gold-ink: #8a6a2b;          /* gold dark enough for small text on light backgrounds */

  /* Neutrals */
  --ivory: #f7f4ee;
  --mist: #eceef5;
  --ink: #1a1d33;
  --slate: #5a5f7a;
  --white: #fff;

  /* Lines */
  --line: rgba(30, 39, 96, 0.14);
  --line-strong: rgba(30, 39, 96, 0.22);
  --line-light: rgba(255, 255, 255, 0.2);
  --line-gold: rgba(201, 164, 92, 0.4);

  /* Text on navy */
  --on-navy: rgba(255, 255, 255, 0.82);
  --on-navy-dim: rgba(255, 255, 255, 0.62);

  /* Typography */
  --font-serif: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  --font-sans: 'Manrope', 'Manrope Fallback', Arial, sans-serif;

  /* Layout */
  --wide: 1440px;
  --container: 1344px;
  --gutter: 1.25rem;
  --header-h: 5rem;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur: 180ms;
  --transition-props: color, background-color, border-color, box-shadow, opacity, transform;
}

@media (min-width: 640px) {
  :root { --gutter: 2rem; }
}

@media (min-width: 1024px) {
  :root { --gutter: 3rem; --header-h: 5.5rem; }
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-gutter: stable; /* no layout jump when a dialog/menu locks page scroll */
}

body {
  min-width: 320px;
  background: var(--ivory);
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: inherit;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

ul { list-style: none; }

button {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  background-color: transparent;
  border-radius: 0;
  cursor: pointer;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--navy);
  color: var(--white);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--white);
  color: var(--navy);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.skip-link:focus { top: 1rem; }

/* Anchored sections land below the fixed header */
section[id],
footer[id] { scroll-margin-top: var(--header-h); }

/* ---------- Shared ---------- */
.page {
  overflow: hidden;
  background: var(--ivory);
}

.container {
  max-width: var(--container);
  margin-inline: auto;
}

.icon {
  fill: none;
  stroke: currentColor;
  flex-shrink: 0;
}

.icon--arrow {
  width: 1rem;
  height: 1rem;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--dur) var(--ease);
}

.icon--phone {
  width: 1rem;
  height: 1rem;
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.icon--social {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 1.5;
}

.eyebrow {
  color: var(--gold-ink);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.eyebrow--gold { color: var(--gold-light); }

/* Section heading block: title left, intro/link right on wider screens */
.section-head {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
}

.section-title {
  margin-top: 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(2.9rem, 7.2vw, 5.5rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--navy);
  text-wrap: balance;
}

.section-title em {
  font-style: normal;
  color: var(--gold-ink);
}

.section-intro {
  max-width: 27rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--slate);
}

.section-head--dark .section-title { color: var(--white); }
.section-head--dark .section-title em { color: var(--gold-light); }
.section-head--dark .section-intro { color: var(--on-navy); }

@media (min-width: 768px) {
  .section-head {
    flex-direction: row;
    align-items: flex-end;
    margin-bottom: 4rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  min-height: 3.25rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: var(--dur) var(--ease);
  transition-property: var(--transition-props);
}

.btn:hover .icon--arrow { transform: translateX(0.25rem); }

.btn--light {
  background: var(--ivory);
  color: var(--navy);
}

.btn--light:hover { background: var(--gold-light); }

.btn--ghost {
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px var(--gold-light);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
}

.btn--navy:hover { background: var(--navy-soft); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
}

.text-link:hover .icon--arrow { transform: translateX(0.25rem); }

.text-link--gold { color: var(--gold-light); }

/* Scroll reveal: only when JS is running; content is always visible without it. */
.js .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line-light);
  color: var(--white);
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}

.header.is-scrolled {
  background: rgba(20, 26, 69, 0.97);
  border-bottom-color: transparent;
  box-shadow: 0 8px 30px rgba(10, 14, 40, 0.25);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.header__logo {
  position: relative;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.header__logo img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
}

.header__wordmark {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.header__wordmark em {
  font-style: normal;
  color: var(--gold-light);
}

.header__nav {
  display: none;
  align-items: center;
  gap: 2.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav-link {
  position: relative;
  padding-block: 0.5rem;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: '';
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__cta {
  display: none;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--gold);
  padding: 0.75rem 1.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: var(--dur) var(--ease);
  transition-property: var(--transition-props);
}

.header__cta:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy-deep);
}

/* Hamburger */
.burger {
  position: relative;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
}

.burger__lines {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  width: 1.5rem;
}

.burger__line {
  height: 1px;
  width: 100%;
  background: currentColor;
  transition: transform var(--dur) var(--ease);
}

.header.is-open .burger__line:first-child { transform: translateY(3.5px) rotate(45deg); }
.header.is-open .burger__line:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  background: var(--navy-deep);
  padding: 7rem 2rem 2rem;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity 400ms var(--ease), visibility 400ms;
}

.header.is-open .mobile-menu {
  visibility: visible;
  opacity: 1;
}

.mobile-menu__link {
  border-bottom: 1px solid var(--line-light);
  padding-block: 1.125rem;
  font-family: var(--font-serif);
  font-size: 2.125rem;
  line-height: 2.5rem;
}

.mobile-menu__cta,
.mobile-menu__call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mobile-menu__cta {
  margin-top: 2.5rem;
  background: var(--ivory);
  color: var(--navy);
}

.mobile-menu__call {
  margin-top: 1rem;
  box-shadow: inset 0 0 0 1px var(--line-gold);
}

/* Logo + 5 links + CTA need ~900px, so the desktop nav starts at 1024px */
@media (min-width: 1024px) {
  .header__nav,
  .header__cta { display: flex; }

  .burger,
  .mobile-menu { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
}

/* Photo slideshow behind the hero (js/main.js, "Hero slideshow"): photos cross-fade
   and slowly zoom in. Without JS only the first photo (.is-active) is shown. */
.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}

.hero__slide.is-active { opacity: 1; }

/* is-paused: the visitor pressed pause · is-idle: hero scrolled out of view or tab hidden */
.hero.is-paused,
.hero.is-idle { --hero-play: paused; }

/* The zoom keeps running while a photo fades out (.is-leaving), so it never snaps back mid-fade. */
.hero--autoplay .hero__slide.is-active,
.hero--autoplay .hero__slide.is-leaving {
  animation: hero-zoom calc(var(--hero-interval, 6s) + 3s) linear both;
  animation-play-state: var(--hero-play, running);
}

@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

/* Navy tint over the photos: keeps the text readable and the hero on-brand */
.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60rem 40rem at 85% 30%, rgba(201, 164, 92, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(20, 26, 69, 0.84) 0%, rgba(30, 39, 96, 0.8) 35%, rgba(20, 26, 69, 0.9) 100%);
}

/* Slideshow controls (built by JS): pause/play + one bar per photo.
   The active bar fills up over --hero-interval; when it is full the next photo comes in. */
.hero--slideshow .hero__inner { padding-bottom: 4.5rem; } /* room for the controls */

.hero__pager {
  position: absolute;
  bottom: 0.5rem;
  left: max(var(--gutter), calc((100% - var(--wide)) / 2 + var(--gutter)));
  display: flex;
  align-items: center;
}

.hero__pause,
.hero__dot {
  display: grid;
  place-items: center;
  height: 2.75rem;
  color: var(--on-navy-dim);
  transition: color var(--dur) var(--ease);
}

.hero__pause {
  width: 2.75rem;
  margin-left: -0.875rem; /* line the icon up with the text above */
}

.hero__pause:hover { color: var(--white); }

.icon--media {
  width: 1rem;
  height: 1rem;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__dot {
  width: 3rem;
  padding-inline: 0.25rem;
}

.hero__bar {
  position: relative;
  width: 100%;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
  transition: background-color var(--dur) var(--ease);
}

.hero__dot:hover .hero__bar { background: rgba(255, 255, 255, 0.55); }

.hero__bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
}

.hero__dot[aria-current="true"] .hero__bar::after { transform: none; }

.hero--autoplay:not(.is-paused) .hero__dot[aria-current="true"] .hero__bar::after {
  animation: hero-progress var(--hero-interval, 6s) linear both;
  animation-play-state: var(--hero-play, running);
}

@keyframes hero-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hero__pause:focus-visible,
.hero__dot:focus-visible { outline-offset: -2px; }

.hero__inner {
  position: relative;
  display: grid;
  /* Phones/tablets: the hero fills the first screen above the .quickbar (4rem), text sits low */
  align-items: end;
  min-height: min(calc(100vh - 4rem), 52rem);
  min-height: min(calc(100svh - 4rem - env(safe-area-inset-bottom)), 52rem);
  max-width: var(--wide);
  margin-inline: auto;
  padding: calc(var(--header-h) + 2.75rem) var(--gutter) 3.5rem;
}

.hero__content { max-width: 44rem; }

.hero__eyebrow {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.hero__eyebrow-line {
  height: 1px;
  width: 2.5rem;
  background: var(--gold);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(4.5rem, 11vw, 9.5rem);
  font-weight: 300;
  line-height: 0.8;
  letter-spacing: -0.045em;
}

.hero__title-accent {
  display: block;
  color: var(--gold-light);
  /* descenders need a little room under the tight line-height */
  padding-bottom: 0.08em;
}

.hero__lead {
  margin-top: 1.5rem;
  max-width: 30rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--on-navy);
}

.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero__meta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  font-size: 0.8125rem;
  color: var(--on-navy-dim);
}

.hero__meta a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}

.hero__meta a:hover { color: var(--white); }

.hero__scroll {
  position: absolute;
  bottom: 0;
  right: 0;
  display: none;
  border-left: 1px solid var(--line-light);
  border-top: 1px solid var(--line-light);
  padding: 1.25rem 2.25rem;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-navy-dim);
  transition: color var(--dur) var(--ease);
}

.hero__scroll:hover { color: var(--gold-light); }

.hero__scroll-arrow {
  margin-left: 1rem;
  display: inline-block;
  transform: rotate(90deg);
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .hero__inner {
    align-items: center;
    min-height: min(52rem, 100svh);
    padding-block: calc(var(--header-h) + 3rem) 5rem;
  }

  .hero__scroll { display: block; }

  /* Text sits on the left, so the tint is strongest there; the top band keeps the nav readable. */
  .hero__glow {
    background:
      radial-gradient(60rem 40rem at 85% 30%, rgba(201, 164, 92, 0.16), transparent 60%),
      linear-gradient(180deg, rgba(20, 26, 69, 0.7) 0, transparent 10rem),
      linear-gradient(90deg, rgba(20, 26, 69, 0.94) 0%, rgba(30, 39, 96, 0.84) 50%, rgba(30, 39, 96, 0.62) 100%);
  }

  .hero--slideshow .hero__inner { padding-bottom: 5rem; }

  .hero__pager { bottom: 0.35rem; } /* centred on the "Pogledajte usluge" link opposite */
}

/* ---------- Usluge ---------- */
.services {
  padding: 6rem var(--gutter);
}

.services__grid {
  display: grid;
  gap: 1rem;
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-strong);
  background: var(--white);
  padding: 1.75rem;
  transition: border-color var(--dur) var(--ease), box-shadow 300ms var(--ease), opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

/* gold rule that draws in along the top edge on hover */
.service::before {
  content: '';
  position: absolute;
  inset: -1px -1px auto;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--ease);
}

.service:hover,
.service:has(.service__more:focus-visible) {
  border-color: var(--line-gold);
  box-shadow: 0 24px 50px -24px rgba(30, 39, 96, 0.35);
}

.service:hover::before,
.service:has(.service__more:focus-visible)::before { transform: scaleX(1); }

/* Keyboard focus is drawn around the whole card (the link fills it, see .service__more::after) */
@supports selector(:has(*)) {
  .service__more:focus-visible { outline: none; }

  .service:has(.service__more:focus-visible) {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
  }
}

.service__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.service__num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-ink);
}

.service__icon {
  width: 2.75rem;
  height: 2.75rem;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service__title {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  line-height: 1.1;
  color: var(--navy);
}

.service__text {
  margin-top: 0.75rem;
  margin-bottom: 1.75rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--slate);
}

/* Service count + starting price, pinned to the bottom so the rows line up across cards */
.service__meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.125rem;
}

.service__count {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.service__from {
  font-size: 0.8125rem;
  white-space: nowrap;
  color: var(--slate);
}

.service__from strong {
  margin-inline: 0.125rem;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--navy);
  font-variant-numeric: lining-nums; /* Cormorant defaults to old-style figures */
}

.service__more {
  margin-top: 1.25rem;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
}

/* The "Cenovnik" link stretches over the whole card, so the card is one click target */
.service__more::after {
  content: '';
  position: absolute;
  inset: 0;
}

.service:hover .icon--arrow { transform: translateX(0.25rem); }

/* Closing call card (navy) */
.service-call {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  background: var(--navy);
  padding: 1.75rem;
  color: var(--white);
}

.service-call__title {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.1;
}

.service-call__text {
  margin-top: 0.75rem;
  max-width: 30rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--on-navy);
}

@media (min-width: 640px) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .services { padding-block: 8rem; }

  .services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .service,
  .service-call { padding: 2.25rem; }

  /* 9 cards = 3 full rows; the call card closes the grid as a full-width row.
     (At 2 columns it fills the cell next to card 09.) */
  .service-call {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: flex-end;
  }

  .service-call .btn { flex-shrink: 0; }
}

/* ---------- Cenovnik (price-list dialogs opened from the service cards) ---------- */
/* Phones: bottom sheet. ≥768px: centered panel. Header, group chips and footer stay
   in place; only .price-dialog__body scrolls. */
.price-dialog {
  --dialog-pad: 1.5rem;
  width: 100%;
  max-width: 100%;
  max-height: 92svh;
  margin: auto 0 0;
  overflow: hidden;
  border-top: 2px solid var(--gold);
  background: var(--ivory);
  color: var(--ink);
  box-shadow: 0 -20px 60px rgba(10, 14, 40, 0.35);
}

.price-dialog[open] {
  display: flex;
  flex-direction: column;
  animation: sheet-in 420ms var(--ease-out);
}

.price-dialog::backdrop {
  background: rgba(20, 26, 69, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.price-dialog[open]::backdrop { animation: fade-in 300ms var(--ease); }

@keyframes sheet-in {
  from { transform: translateY(100%); }
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(1.5rem) scale(0.98);
  }
}

@keyframes fade-in {
  from { opacity: 0; }
}

/* Fixed-height parts of the dialog must never shrink; only the body gives way */
.price-dialog__head,
.price-dialog__jump,
.price-dialog__foot { flex-shrink: 0; }

.price-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem var(--dialog-pad) 1.25rem;
}

.price-dialog__title {
  margin-top: 0.625rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-wrap: balance;
}

.price-dialog__close {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--navy);
  transition: var(--dur) var(--ease);
  transition-property: var(--transition-props);
}

.price-dialog__close:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--gold-light);
}

.icon--close {
  width: 1.125rem;
  height: 1.125rem;
  stroke-width: 1.5;
  stroke-linecap: round;
}

/* Group tabs (only in dialogs with 3+ groups): an underline tab bar that sits on the
   divider above the list. JS marks the group in view with aria-current and sets
   data-fade when the bar overflows (narrow phones scroll it sideways). */
.price-dialog__jump {
  position: relative; /* offsetParent for the tabs (JS keeps the active tab in view) */
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  padding-inline: calc(var(--dialog-pad) - 0.375rem);
  scrollbar-width: none;
}

.price-dialog__jump::-webkit-scrollbar { display: none; }

.price-dialog__jump[data-fade="end"] {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 3rem), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 3rem), transparent);
}

.price-dialog__jump[data-fade="start"] {
  -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 3rem), transparent);
  mask-image: linear-gradient(to left, #000 calc(100% - 3rem), transparent);
}

.price-dialog__jump[data-fade="both"] {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 3rem, #000 calc(100% - 3rem), transparent);
  mask-image: linear-gradient(to right, transparent, #000 3rem, #000 calc(100% - 3rem), transparent);
}

.price-dialog__jump a {
  position: relative;
  flex-shrink: 0;
  padding: 0.5rem 0.375rem 0.875rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em; /* tighter on phones so all four tabs fit from 360px up */
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--slate);
  transition: color var(--dur) var(--ease);
}

/* underline: rests on the divider line, spans the label only */
.price-dialog__jump a::after {
  content: '';
  position: absolute;
  right: 0.375rem;
  bottom: 0;
  left: 0.375rem;
  height: 2px;
  background: var(--line-strong);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms var(--ease), background-color var(--dur) var(--ease);
}

.price-dialog__jump a:hover { color: var(--navy); }

.price-dialog__jump a:hover::after { transform: scaleX(1); }

.price-dialog__jump a[aria-current="true"] { color: var(--navy); }

.price-dialog__jump a[aria-current="true"]::after {
  background: var(--gold);
  transform: scaleX(1);
}

/* inset ring: the scrolling bar would clip an outside outline */
.price-dialog__jump a:focus-visible { outline-offset: -2px; }

@media (min-width: 640px) {
  .price-dialog__jump { gap: 1rem; }

  .price-dialog__jump a { letter-spacing: 0.16em; }
}

.price-dialog__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  border-top: 1px solid var(--line-strong);
  padding: 1.75rem var(--dialog-pad) 2rem;
}

.price-group + .price-group { margin-top: 2.25rem; }

.price-group__title {
  margin-bottom: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.price-group__note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--slate);
}

/* Price row. Phones: name + duration stacked, price on the right.
   ≥640px: name · dotted leader · duration · price on one line. */
.price-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "name price"
    "time price";
  align-items: center;
  gap: 0.125rem 1.25rem;
  border-bottom: 1px solid var(--line);
  padding-block: 0.875rem;
}

.price-item__name {
  grid-area: name;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--ink);
}

.price-item__time {
  grid-area: time;
  font-size: 0.75rem;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}

.price-item__price {
  grid-area: price;
  text-align: right;
  white-space: nowrap;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.price-dialog__foot {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--line-strong);
  background: var(--white);
  padding: 1rem var(--dialog-pad) calc(1rem + env(safe-area-inset-bottom));
}

.price-dialog__note {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--slate);
}

.price-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}

.price-dialog__actions .btn { width: 100%; }

@media (min-width: 640px) {
  .price-item {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "name time price";
    align-items: baseline;
    column-gap: 1rem;
    border-bottom: 0;
    padding-block: 0.625rem;
  }

  .price-item__name {
    display: flex;
    align-items: baseline;
    gap: 1rem;
  }

  .price-item__name::after {
    content: '';
    flex: 1 0 1.5rem;
    border-bottom: 1px dotted var(--line-strong);
    transform: translateY(-0.25em);
  }

  .price-item__time {
    min-width: 4.5rem;
    text-align: right;
    white-space: nowrap;
  }

  .price-item__price { min-width: 6.5rem; }

  .price-dialog__foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }

  .price-dialog__actions {
    flex-shrink: 0;
    flex-wrap: nowrap;
  }

  .price-dialog__actions .btn { width: fit-content; }
}

@media (min-width: 768px) {
  .price-dialog {
    --dialog-pad: 2.5rem;
    width: min(46rem, 100% - 2 * var(--gutter));
    max-height: min(86vh, 56rem);
    margin: auto;
    box-shadow: 0 40px 100px -20px rgba(10, 14, 40, 0.55);
  }

  .price-dialog[open] { animation: dialog-in 360ms var(--ease-out); }

  .price-dialog__head { padding-top: 2.25rem; }
}

/* Without JavaScript the price lists are shown inline below the cards
   (the "Cenovnik" links jump to them). */
html:not(.js) .price-dialog {
  position: static;
  display: block;
  width: auto;
  max-width: var(--container);
  max-height: none;
  margin: 1rem auto 0;
  border: 1px solid var(--line-strong);
  border-top: 2px solid var(--gold);
  box-shadow: none;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

html:not(.js) .price-dialog__body { overflow: visible; }

html:not(.js) .price-dialog__close { display: none; }

/* ---------- Medicinski pedikir (feature band) ---------- */
.feature {
  background: var(--mist);
  padding: 6rem var(--gutter);
}

.feature__inner {
  display: grid;
  gap: 3.5rem;
}

.feature__lead {
  margin-top: 2rem;
  max-width: 32rem;
  font-size: 1.125rem;
  line-height: 1.75;
}

.feature__text {
  margin-top: 1rem;
  margin-bottom: 2.25rem;
  max-width: 32rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--slate);
}

.feature__list {
  align-self: center;
  border-top: 1px solid var(--line-strong);
}

.feature__item {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  column-gap: 1rem;
  align-items: baseline;
  border-bottom: 1px solid var(--line-strong);
  padding-block: 1.375rem;
}

.feature__num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-ink);
}

.feature__name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  line-height: 1.15;
  color: var(--navy);
}

.feature__note {
  grid-column: 2;
  margin-top: 0.25rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

@media (min-width: 640px) {
  .feature__item { grid-template-columns: 3.5rem 1fr auto; }

  .feature__note {
    grid-column: auto;
    margin-top: 0;
    text-align: right;
  }
}

@media (min-width: 1024px) {
  .feature { padding-block: 8rem; }

  .feature__inner {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
}

/* ---------- Obuke ---------- */
.courses {
  position: relative;
  background: var(--navy);
  padding: 6rem var(--gutter);
  color: var(--white);
}

.courses::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(50rem 30rem at 100% 0%, rgba(201, 164, 92, 0.12), transparent 65%);
  pointer-events: none;
}

.courses .container { position: relative; }

.courses__grid {
  display: grid;
  gap: 1rem;
}

.course {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-light);
  padding: 2rem 1.75rem;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

.course:hover {
  border-color: var(--line-gold);
  background: rgba(255, 255, 255, 0.04);
}

.course__label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.course__title {
  margin-top: 1.5rem;
  font-family: var(--font-serif);
  font-size: 2.125rem;
  font-weight: 300;
  line-height: 1.05;
}

.course__text {
  flex-grow: 1; /* keeps the package list and price aligned across cards */
  margin-top: 0.875rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--on-navy);
}

.course__list {
  margin-top: 1.75rem;
  border-top: 1px solid var(--line-light);
}

.course__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--line-light);
  padding-block: 0.75rem;
  font-size: 0.8125rem;
  color: var(--on-navy);
}

.course__list li::before {
  content: '✦';
  font-size: 0.625rem;
  color: var(--gold);
}

.course__price {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--on-navy);
}

.course__price strong {
  margin-left: 0.25rem;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--gold-light);
  font-variant-numeric: lining-nums; /* Cormorant defaults to old-style figures */
}

.courses__link { margin-top: 3rem; }

@media (min-width: 768px) {
  .courses__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .courses { padding-block: 8rem; }

  .course { padding: 2.5rem 2.25rem; }
}

/* ---------- O salonu ---------- */
.about {
  padding: 6rem var(--gutter);
}

.about__inner {
  display: grid;
  gap: 3.5rem;
}

/* Photo (4:5) with an offset gold outline */
.about__frame {
  position: relative;
  max-width: 26rem;
  aspect-ratio: 4 / 5;
  margin-right: 1rem;
  margin-bottom: 1rem;
  background: var(--navy); /* shown while the photo loads */
}

.about__frame::after {
  content: '';
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  border: 1px solid var(--gold);
  pointer-events: none;
}

.about__frame > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__lead {
  margin-top: 2rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.8;
}

.about__text {
  margin-top: 1rem;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--slate);
}

.about__values {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
  border-top: 1px solid var(--line-strong);
  padding-top: 2rem;
}

.about__value-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  line-height: 1.2;
  color: var(--navy);
}

.about__value-text {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--slate);
}

@media (min-width: 640px) {
  .about__values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .about { padding-block: 9rem; }

  .about__inner {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 6rem;
  }
}

/* ---------- Galerija ---------- */
.gallery {
  background: var(--mist);
  padding: 6rem var(--gutter);
}

/* Justified rows: every photo keeps its own proportions (--r = width ÷ height, set inline)
   and the photos in a row share one height. Both flex-grow and flex-basis scale with --r,
   which keeps the widths proportional. The basis (--r × 50%) fits 2 photos per row; from
   1024px up (--r × 30%) it fits 4. */
.gallery__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.image-card {
  --r: 0.8;
  position: relative;
  flex: var(--r) 1 calc(var(--r) * 50%);
  aspect-ratio: var(--r);
  overflow: hidden;
  background: var(--navy);
}

.image-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}

.image-card:hover > img { transform: scale(1.04); }

.gallery__quote {
  flex: 1 1 100%; /* always a band of its own under the photos */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-gold);
  background: var(--ivory);
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--navy);
}

.gallery__quote-mark {
  font-family: var(--font-serif);
  font-size: 3.75rem;
  line-height: 0.8;
  font-style: italic;
  color: var(--gold);
}

.gallery__quote p {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  line-height: 1.25;
  font-style: italic;
  text-wrap: balance;
}

@media (min-width: 640px) {
  .gallery__grid { gap: 1rem; }
}

@media (min-width: 1024px) {
  .gallery { padding-block: 8rem; }

  .image-card { flex-basis: calc(var(--r) * 30%); }
}

/* ---------- Česta pitanja ---------- */
.faq {
  padding: 6rem var(--gutter);
}

.faq__inner {
  display: grid;
  gap: 3rem;
}

.faq__list { border-top: 1px solid var(--line-strong); }

.faq__item { border-bottom: 1px solid var(--line-strong); }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: '+';
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1;
  color: var(--navy);
  transition: var(--dur) var(--ease);
  transition-property: var(--transition-props);
}

.faq__item summary:hover::after { border-color: var(--gold); }

.faq__item[open] summary::after {
  content: '–';
  border-color: var(--navy);
  background: var(--navy);
  color: var(--gold-light);
}

.faq__item p {
  max-width: 40rem;
  padding-bottom: 1.75rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--slate);
}

.faq__item p a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

@media (min-width: 1024px) {
  .faq { padding-block: 8rem; }

  .faq__inner {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 6rem;
  }
}

/* ---------- Zakazivanje ---------- */
.book {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 6rem var(--gutter);
  color: var(--white);
}

.book__watermark {
  position: absolute;
  right: 3%;
  top: -0.12em;
  user-select: none;
  font-family: var(--font-serif);
  font-size: clamp(16rem, 34vw, 34rem);
  font-style: italic;
  line-height: 1;
  color: rgba(226, 201, 143, 0.06);
}

.book__inner {
  position: relative;
  display: grid;
  gap: 3.5rem;
  max-width: var(--container);
  margin-inline: auto;
}

.book__title {
  margin-top: 1.5rem;
  max-width: 42rem;
  font-family: var(--font-serif);
  font-size: clamp(3.75rem, 7.5vw, 7.5rem);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.04em;
}

.book__title-accent {
  color: var(--gold-light);
}

.book__text {
  margin-top: 2rem;
  max-width: 28rem;
  line-height: 1.75;
  color: var(--on-navy);
}

.book__aside {
  border-top: 1px solid var(--line-gold);
  padding-top: 2rem;
}

.book-card {
  max-width: 28rem;
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.06);
  padding: 1.5rem;
}

.book-card + .book-card { margin-top: 1rem; }

.book-card--plain { background: transparent; }

.book-card__label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.book-card__title {
  margin-top: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.625rem;
  line-height: 1.2;
}

.book-card__text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--on-navy);
}

.book-card__btn {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--ivory);
  padding: 1rem 1.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  transition: var(--dur) var(--ease);
  transition-property: var(--transition-props);
}

.book-card__btn:hover { background: var(--gold-light); }

.book-card__btn + .book-card__btn { margin-top: 0.75rem; }

.book-card__btn--ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.book-card__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px var(--gold-light);
}

@media (min-width: 1024px) {
  .book { padding-block: 8rem; }

  .book__inner {
    grid-template-columns: 1fr 0.85fr;
    gap: 6rem;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  padding: 5rem var(--gutter) 2rem;
  color: var(--on-navy);
}

.footer__grid {
  display: grid;
  gap: 3rem;
}

.footer__logo {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
}

.footer__about {
  margin-top: 1.5rem;
  max-width: 21rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--on-navy-dim);
}

.footer-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.footer__address { font-style: normal; }

.footer__contacts {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.875rem;
}

.footer__contact {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  transition: color var(--dur) var(--ease);
}

.footer__contact .icon { color: var(--gold); }

.footer__contact:hover { color: var(--white); }

.footer__hours {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.75rem;
  max-width: 21rem;
  font-size: 0.95rem;
}

.footer__hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 0.75rem;
}

.footer__hours dt { color: var(--on-navy-dim); }

.footer__hours dd { font-variant-numeric: tabular-nums; }

.footer__map {
  display: block;
  margin-top: 3rem;
  aspect-ratio: 16 / 9;
  min-height: 14rem;
  max-height: 22rem;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: var(--navy); /* shown while the map loads */
}

.footer__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
  border-top: 1px solid var(--line-light);
  padding-top: 1.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-navy-dim);
}

.footer__top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__top:hover { color: var(--gold-light); }

.footer__top-arrow { transform: rotate(-90deg); }

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

/* ---------- Mobile quick actions (call + book) ---------- */
.quickbar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0.5rem;
  padding: 0.5rem 0.5rem calc(0.5rem + env(safe-area-inset-bottom));
  background: rgba(247, 244, 238, 0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(20, 26, 69, 0.1);
}

.quickbar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  box-shadow: inset 0 0 0 1px var(--navy);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}

.quickbar__btn--primary {
  background: var(--navy);
  color: var(--white);
}

/* Keep the end of the page clear of the bar */
body { padding-bottom: calc(4rem + env(safe-area-inset-bottom)); }

@media (min-width: 1024px) {
  .quickbar { display: none; }

  body { padding-bottom: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero__slide,
  .hero__bar::after,
  .price-dialog[open],
  .price-dialog[open]::backdrop { animation: none; }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
