/* =========================================================
   Audio Guestbook Zagreb
   Bjelokost, smaragd i zlato · Playfair Display + Lato
   ========================================================= */

:root {
  --white: #FFFFFF;
  --ivory: #FAF6EF;
  --champagne: #EADFCC;
  --champagne-l: #F3EBDD;
  --mocha: #5A4632;
  --mocha-2: #6E5741;
  --mocha-deep: #3F3023;
  --mocha-night: #2E2319;
  --gold: #B08A3E;
  --gold-l: #D9C08A;
  --gold-d: #8C6A2E;
  --gold-text: #86662B;
  --ink: #2B231B;
  --muted: #6A5C4E;
  --line: #E6DCCB;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, .8, .2, 1);
  --nav-h: 96px;
  --pad: clamp(88px, 11vw, 150px);

  /* art-deco ljuske */
  --scales:
    radial-gradient(circle at 50% 100%, transparent 13px, rgba(176, 138, 62, .16) 14px, transparent 15px, transparent 21px, rgba(176, 138, 62, .1) 22px, transparent 23px) 0 0 / 46px 23px,
    radial-gradient(circle at 50% 100%, transparent 13px, rgba(176, 138, 62, .16) 14px, transparent 15px, transparent 21px, rgba(176, 138, 62, .1) 22px, transparent 23px) 23px 11.5px / 46px 23px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--nav-h) + 10px); -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; line-height: 1.08; }
h2 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.01em; }
h2 em { font-weight: 500; }
p { margin: 0 0 1em; }
em { font-style: italic; }
.ico { width: 1.2em; height: 1.2em; flex: none; }
.wrap { width: 100%; max-width: 1260px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 40px; } }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--mocha); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }

/* Zlatna folija */
.foil { color: var(--gold-text); }

.orn { display: block; width: 160px; height: 16px; color: var(--gold); margin-bottom: 22px; }

.label { display: inline-flex; align-items: center; gap: 14px; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--gold-text); margin-bottom: 18px; }
.label::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.label--center::after { content: ""; width: 34px; height: 1px; background: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 28px; border: 1px solid transparent; border-radius: 999px;
  font-family: var(--sans); font-weight: 700; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, box-shadow .3s var(--ease), transform .3s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .55) 50%, transparent 75%);
  transform: translateX(-130%); transition: transform .9s var(--ease);
}
.btn:hover::after { transform: translateX(130%); }
.btn .ico:last-child:not(:first-child) { transition: transform .3s var(--ease); }
.btn:hover .ico:last-child:not(:first-child) { transform: translateX(4px); }
.btn--dark { background: var(--mocha); color: #fff; box-shadow: 0 0 0 1px var(--mocha), inset 0 0 0 1px rgba(235, 209, 138, .0); }
.btn--dark:hover { background: var(--mocha-deep); box-shadow: 0 0 0 1px var(--gold), 0 14px 30px -12px rgba(63, 48, 35, .7), inset 0 0 0 1px rgba(235, 209, 138, .5); }
.btn--gold { background: var(--gold-l); color: var(--mocha-deep); box-shadow: 0 10px 24px -14px rgba(140, 106, 46, .7); }
.btn--gold:hover { background: #CDAF72; box-shadow: 0 16px 34px -14px rgba(140, 106, 46, .85); }
.btn--line { border-color: var(--gold); color: var(--mocha); background: rgba(255, 255, 255, .5); }
.btn--line:hover { background: var(--white); border-color: var(--gold-d); }
.btn--sm { min-height: 44px; padding: 9px 20px; font-size: .78rem; }
.btn--lg { min-height: 58px; padding: 16px 34px; }
.btn--block { width: 100%; }

/* ---------- Topbar + nav ---------- */
.topbar { background: var(--mocha-deep); color: var(--gold-l); font-size: .85rem; text-align: center; }
.topbar p { margin: 0; padding: 10px 20px; }
.topbar a { color: #fff; font-weight: 700; text-underline-offset: 3px; text-decoration-color: var(--gold); }

.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(251, 247, 238, .88); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); transition: box-shadow .4s, background .4s; }
.nav.is-scrolled { background: rgba(255, 255, 255, .92); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(63, 48, 35, .35); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a:not(.btn) { position: relative; font-size: .95rem; text-decoration: none; padding: 10px 0; color: var(--ink); }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 4px; height: 1px; background: var(--gold); transition: left .35s var(--ease), right .35s var(--ease); }
.nav__links a:not(.btn):hover::after { left: 0; right: 0; }
.nav__toggle { display: none; width: 48px; height: 48px; border: 0; background: none; align-items: center; justify-content: center; color: var(--mocha); }
.nav__toggle .ico { width: 28px; height: 28px; }
@media (max-width: 980px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 8px 20px 24px; box-shadow: 0 20px 40px -20px rgba(63, 48, 35, .4);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .5s var(--ease), visibility 0s linear .5s;
  }
  .nav__links.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
  .nav__links a:not(.btn) { padding: 15px 0; font-family: var(--serif); font-size: 1.3rem; border-bottom: 1px solid var(--line); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links .btn { margin-top: 18px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(235, 209, 138, .35), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(176, 138, 62, .10), transparent 70%),
    var(--ivory);
  padding: clamp(40px, 6vw, 80px) 0 clamp(90px, 10vw, 140px);
}
.hero__sun {
  position: absolute; top: 50%; left: 72%; width: 1300px; aspect-ratio: 1; translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, rgba(176, 138, 62, .22) 0deg .6deg, transparent .6deg 6deg);
  -webkit-mask: radial-gradient(circle, #000 0 8%, rgba(0, 0, 0, .7) 30%, transparent 62%);
  mask: radial-gradient(circle, #000 0 8%, rgba(0, 0, 0, .7) 30%, transparent 62%);
  animation: spin 180s linear infinite; pointer-events: none;
}
@keyframes spin { to { rotate: 360deg; } }
.hero__inner { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.hero__kicker { font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mocha-2); margin-bottom: 20px; }
.hero__title { font-size: clamp(4rem, 9.6vw, 8.8rem); line-height: .92; letter-spacing: -.02em; color: var(--mocha); font-weight: 500; }
.hero__title .mask { display: block; overflow: hidden; padding: 0 .08em .1em 0; margin-bottom: -.08em; }
.hero__title .mask > span { display: inline-block; }
.hero__title em { font-weight: 500; }
.hero__sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.2vw, 1.8rem); color: var(--gold-text); margin: 18px 0 22px; }
.hero__sub em { color: var(--mocha); }
.hero__lead { font-size: 1.12rem; color: var(--muted); max-width: 46ch; margin-bottom: 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__visual { position: relative; padding: 30px 8% 60px 12%; }
.deco { position: relative; margin: 0; }
.deco::before, .deco::after { content: ""; position: absolute; pointer-events: none; }
.deco::before { inset: -14px; border: 1px solid var(--gold); }
.deco::after { inset: -24px; border: 1px solid rgba(176, 138, 62, .45); }
.deco__img { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--champagne); box-shadow: 0 40px 80px -40px rgba(63, 48, 35, .55); }
.deco__img img { width: 100%; height: 115%; object-fit: cover; }
.corner { position: absolute; width: 12px; height: 12px; background: var(--gold); rotate: 45deg; z-index: 2; }
.c1 { top: -30px; left: -30px; } .c2 { top: -30px; right: -30px; } .c3 { bottom: -30px; left: -30px; } .c4 { bottom: -30px; right: -30px; }
.mini {
  position: absolute; z-index: 3; width: 32%; background: var(--white); padding: 8px 8px 0; text-decoration: none; color: var(--ink);
  border: 1px solid rgba(176, 138, 62, .6); box-shadow: 0 30px 60px -24px rgba(63, 48, 35, .55);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.mini img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.mini span { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; padding: 9px 4px 10px; font-family: var(--serif); font-size: 1rem; }
.mini b { font-family: var(--sans); font-size: .85rem; color: var(--gold-text); }
.mini:hover { box-shadow: 0 40px 70px -24px rgba(63, 48, 35, .65); }
.mini--a { left: 0; bottom: 0; rotate: -4deg; }
.mini--b { right: 0; top: 0; rotate: 4deg; width: 28%; }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }
}
@media (max-width: 560px) {
  .hero__visual { padding: 24px 6% 54px 10%; }
  .mini { width: 38%; padding: 5px 5px 0; }
  .mini--b { width: 34%; }
  .mini span { font-size: .82rem; padding: 6px 2px 7px; flex-direction: column; gap: 0; }
  .hero__cta .btn { width: 100%; }
  .hero__sun { left: 50%; top: 75%; width: 900px; }
}

/* ---------- Band ---------- */
.band { position: relative; background: var(--scales), var(--champagne); color: var(--muted); }
.band::before, .band::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--gold); }
.band::before { top: 0; } .band::after { bottom: 0; }
.band__inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.band__item { display: flex; align-items: center; gap: 18px; padding: 34px 28px; }
.band__item + .band__item { border-left: 1px solid rgba(176, 138, 62, .35); }
.band__item .ico { width: 40px; height: 40px; color: var(--gold-d); }
.band__item b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.3rem; color: var(--mocha-deep); line-height: 1.25; }
.band__item span { font-size: .93rem; }
@media (max-width: 860px) {
  .band__inner { grid-template-columns: 1fr; }
  .band__item { padding: 22px 4px; }
  .band__item + .band__item { border-left: 0; border-top: 1px solid rgba(176, 138, 62, .35); }
}

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--pad); }
.section--ivory { background: var(--ivory); }
.section--sand { background: var(--scales), linear-gradient(160deg, var(--champagne-l), var(--champagne)); color: var(--muted); }
.section--sand h2 { color: var(--mocha-deep); }
.head { text-align: center; max-width: 780px; margin: 0 auto clamp(64px, 8vw, 110px); }
.head .orn { margin-inline: auto; }
.head__sub { color: var(--muted); font-size: 1.12rem; margin: 22px auto 0; max-width: 60ch; }

/* ---------- Što je ---------- */
.intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.intro h2 { color: var(--mocha); }
.intro__text { font-size: 1.16rem; color: var(--muted); margin: 0; padding-left: 28px; border-left: 1px solid var(--gold); }
.cord { display: block; width: 100%; height: 90px; margin: clamp(48px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); overflow: visible; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.steps li { text-align: left; }
.steps__n {
  display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; margin-bottom: 22px;
  font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--mocha);
  border: 1px solid var(--gold); box-shadow: inset 0 0 0 5px var(--white), inset 0 0 0 6px rgba(176, 138, 62, .45);
  transition: background .4s, color .4s;
}
.steps li:hover .steps__n { background: var(--mocha); color: var(--gold-l); }
.steps h3 { font-size: 1.5rem; color: var(--mocha); margin-bottom: 10px; }
.steps p { color: var(--muted); margin: 0; font-size: 1rem; }
@media (max-width: 980px) { .intro { grid-template-columns: 1fr; } .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; gap: 32px; } .cord { height: 60px; } }


/* ---------- Proizvodi ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.product + .product { margin-top: clamp(110px, 13vw, 180px); }
.product--flip .product__visual { order: 2; }
.product__visual { position: relative; padding: 0 0 0 clamp(20px, 3vw, 40px); }
.product--flip .product__visual { padding: 0 clamp(20px, 3vw, 40px) 0 0; }
.product__block { position: absolute; top: -40px; left: 0; width: 72%; height: 78%; background: var(--scales), var(--champagne); }
.product--flip .product__block { left: auto; right: 0; }
.product__img {
  position: relative; display: block; width: 100%; padding: 0; border: 0; overflow: hidden; aspect-ratio: 4 / 4.7; cursor: zoom-in;
  background: var(--champagne); outline: 1px solid var(--gold); outline-offset: 10px; box-shadow: 0 40px 70px -40px rgba(63, 48, 35, .6);
}
.product__img img { width: 100%; height: 115%; object-fit: cover; transition: scale 1.2s var(--ease); }
.product__img:hover img { scale: 1.04; }
.product__details { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.crop { border: 0; padding: 0; aspect-ratio: 16 / 10; background-size: var(--z); background-position: var(--pos); cursor: zoom-in; border: 4px solid var(--white); box-shadow: 0 0 0 1px rgba(176, 138, 62, .6), 0 18px 30px -20px rgba(63, 48, 35, .5); transition: background-size 1.2s var(--ease); }
.crop:hover { background-size: calc(var(--z) + 25%); }
.product__no { display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--gold-text); margin-bottom: 12px; }
.product__no span { font-style: normal; font-family: var(--sans); font-weight: 700; font-size: .8rem; letter-spacing: .1em; color: var(--white); background: var(--mocha); padding: 4px 10px; }
.product__name { font-size: clamp(3rem, 6vw, 5rem); color: var(--mocha); letter-spacing: -.02em; }
.product__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin: 16px 0 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.product__price .foil { font-family: var(--serif); font-size: 2.8rem; line-height: 1; font-weight: 600; }
.product__body > p[data-a] { color: var(--muted); }
.list { list-style: none; padding: 0; margin: 22px 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.list li { position: relative; padding-left: 22px; font-size: 1rem; }
.list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; background: var(--gold); rotate: 45deg; }
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; }
  .product--flip .product__visual { order: 0; padding: 0 0 0 clamp(20px, 3vw, 40px); }
  .product--flip .product__block { right: auto; left: 0; }
}
@media (max-width: 460px) { .list { grid-template-columns: 1fr; } }

/* ---------- Dostava ---------- */
.delivery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.delivery__text { font-size: 1.15rem; margin-top: 24px; max-width: 44ch; }
.delivery__cards { display: grid; gap: 16px; }
.dcard { padding: 26px 30px; border: 1px solid rgba(176, 138, 62, .45); background: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: border-color .4s, background .4s, transform .4s var(--ease); }
.dcard:hover { border-color: var(--gold); background: var(--white); transform: translateX(-6px); }
.dcard__k { display: block; font-family: var(--serif); font-size: 1.55rem; color: var(--mocha-deep); margin-bottom: 6px; }
.dcard p { margin: 0; }
.dcard--gold { background: var(--mocha); border-color: var(--mocha); color: #EFE5D3; }
.dcard--gold:hover { background: var(--mocha-deep); border-color: var(--gold); }
.dcard--gold .dcard__k { color: #fff; }
@media (max-width: 900px) { .delivery { grid-template-columns: 1fr; } }

/* ---------- Rezervacija ---------- */
.booking { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.booking__copy { position: sticky; top: calc(var(--nav-h) + 40px); }
.booking__copy h2 { color: var(--mocha); }
.booking__copy > p { color: var(--muted); font-size: 1.1rem; margin-top: 24px; }
.booking__copy > .booking__alt { font-size: 1rem; }
.booking__alt a { color: var(--mocha); font-weight: 700; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.form { position: relative; display: grid; gap: 22px; background: var(--white); padding: clamp(26px, 4vw, 48px); border: 1px solid var(--line); box-shadow: 0 50px 90px -50px rgba(63, 48, 35, .45); }
.form::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px; background: var(--gold); }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field legend { font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mocha); padding: 0; }
.field legend { margin-bottom: 10px; }
.opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--ivory);
  border: 1px solid var(--line); border-radius: 0; padding: 13px 15px; min-height: 52px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176, 138, 62, .22); }
.field input::placeholder, .field textarea::placeholder { color: #8E978F; }
.field.has-error input { border-color: #B23A2A; }
.field__help { margin: 0; font-size: .87rem; color: #8A4B12; }
.field__help:empty, .field__err:empty { display: none; }
.field__err { margin: 0; font-size: .87rem; color: #A8321F; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; cursor: pointer; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink); }
.choices .choice:last-child { grid-column: 1 / -1; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 68px; padding: 10px 16px; background: var(--ivory); border: 1px solid var(--line); transition: border-color .25s, background .25s, box-shadow .25s; }
.choice span::after { content: ""; position: absolute; right: 14px; top: 50%; width: 9px; height: 9px; translate: 0 -50%; rotate: 45deg; border: 1px solid var(--gold); transition: background .25s; }
.choice b { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; line-height: 1.2; }
.choice small { color: var(--muted); font-size: .88rem; }
.choice:hover span { border-color: var(--gold); }
.choice input:checked + span { background: var(--mocha); border-color: var(--mocha); color: #fff; box-shadow: 0 12px 24px -14px rgba(63, 48, 35, .8); }
.choice input:checked + span small { color: var(--gold-l); }
.choice input:checked + span::after { background: var(--gold-l); border-color: var(--gold-l); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form__foot { margin: -6px 0 0; text-align: center; font-size: .87rem; color: var(--muted); }
@media (max-width: 900px) { .booking { grid-template-columns: 1fr; } .booking__copy { position: static; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-wrap h2 { color: var(--mocha); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; min-height: 48px; font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--mocha); }
.faq summary .ico { width: 30px; height: 30px; padding: 6px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-d); transition: rotate .4s var(--ease), background .3s, color .3s; }
.faq details[open] summary .ico { rotate: 45deg; background: var(--mocha); border-color: var(--mocha); color: var(--gold-l); }
.faq__a { overflow: hidden; }
.faq__a p { color: var(--muted); padding: 0 50px 26px 0; margin: 0; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } }

/* ---------- Finale ---------- */
.finale { position: relative; overflow: hidden; text-align: center; padding-block: clamp(100px, 13vw, 170px); background: radial-gradient(70% 90% at 50% 100%, var(--champagne-l), var(--champagne) 70%); color: var(--muted); }
.finale__sun {
  position: absolute; left: 50%; top: 100%; width: 1600px; aspect-ratio: 1; translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, rgba(176, 138, 62, .2) 0deg .5deg, transparent .5deg 5deg);
  -webkit-mask: radial-gradient(circle, #000 0 10%, transparent 60%); mask: radial-gradient(circle, #000 0 10%, transparent 60%);
  animation: spin 200s linear infinite reverse; pointer-events: none;
}
.finale__inner { position: relative; }
.finale .orn { margin-inline: auto; color: var(--gold); }
.finale h2 { color: var(--mocha-deep); font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
.finale p { font-size: 1.15rem; margin: 22px auto 40px; max-width: 46ch; }

/* ---------- Footer ---------- */
.footer { background: var(--mocha-night); color: #CBBBA5; padding: 64px 0 28px; }
.footer::before { content: ""; display: block; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer .footer p { margin: 6px 0 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.footer__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; transition: color .3s; }
.footer__links a:hover { color: var(--gold-l); }
.footer__copy { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(235, 209, 138, .18); font-size: .87rem; color: #9C8B75; }

/* ---------- FAB ---------- */
.fab {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 40;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mocha); color: #fff; box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--gold), 0 16px 30px -10px rgba(63, 48, 35, .7);
  scale: 0; transition: scale .5s var(--ease), background .3s;
}
.fab.is-visible { scale: 1; }
.fab:hover { background: var(--mocha-deep); }
.fab .ico { width: 28px; height: 28px; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(46, 35, 25, .9); }
.lightbox[open] { animation: lbIn .45s var(--ease); }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; outline: 1px solid var(--gold); outline-offset: 8px; }
.lightbox__close { position: absolute; top: -18px; right: -18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--gold-l); color: var(--mocha-deep); display: grid; place-items: center; }
@media (max-width: 560px) { .lightbox__close { top: 8px; right: 8px; } }
@keyframes lbIn { from { opacity: 0; scale: .94; } to { opacity: 1; scale: 1; } }

/* ---------- Početna stanja animacija (GSAP ih otkriva) ---------- */
.anim [data-a] { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .anim [data-a] { visibility: visible; }
}

/* =========================================================
   Mobitel
   ========================================================= */
a, button, summary, label { -webkit-tap-highlight-color: transparent; }
.topbar a, .booking__alt a { display: inline-block; padding: 8px 2px; margin: -8px 0; }

.mbar { display: none; }

@media (max-width: 760px) {
  :root { --pad: 72px; --nav-h: 80px; }
  body { font-size: 1rem; }
  .topbar { font-size: .8rem; }
  .topbar p { padding: 8px 16px; line-height: 1.5; }

  /* Hero */
  .hero { padding: 28px 0 64px; }
  .hero__title { font-size: clamp(3.5rem, 17vw, 4.6rem); }
  .hero__sub { font-size: 1.3rem; margin: 14px 0 18px; }
  .hero__lead { font-size: 1.05rem; margin-bottom: 28px; }
  .hero__sun { animation: none; }
  .hero__visual { margin-top: 12px; }
  .deco::after { inset: -18px; }
  .deco::before { inset: -10px; }
  .c1 { top: -24px; left: -24px; } .c2 { top: -24px; right: -24px; } .c3 { bottom: -24px; left: -24px; } .c4 { bottom: -24px; right: -24px; }
  .corner { width: 9px; height: 9px; }

  /* Sekcije */
  h2 { font-size: clamp(2.1rem, 9.5vw, 2.7rem); }
  .head { margin-bottom: 56px; }
  .head__sub, .intro__text, .delivery__text { font-size: 1.04rem; }
  .intro__text { padding-left: 18px; }
  .steps__n { width: 56px; height: 56px; font-size: 1.3rem; margin-bottom: 16px; }
  .steps h3 { font-size: 1.35rem; }

  /* Proizvodi */
  .product + .product { margin-top: 96px; }
  .product__visual, .product--flip .product__visual { padding: 0 0 0 16px; }
  .product__block { top: -20px; width: 80%; }
  .product__img { outline-offset: 6px; }
  .product__details { gap: 10px; margin-top: 18px; }
  .product__name { font-size: clamp(2.6rem, 12vw, 3.2rem); }
  .product__price .foil { font-size: 2.3rem; }
  .product__body .btn { width: 100%; }

  /* Dostava, forma, FAQ */
  .dcard { padding: 22px 20px; }
  .dcard:hover { transform: none; }
  .form { padding: 22px 18px; margin-inline: -4px; }
  .choices { grid-template-columns: 1fr; }
  .choice span { min-height: 56px; }
  .faq summary { font-size: 1.15rem; padding: 20px 0; }
  .faq__a p { padding-right: 0; }
  .finale { padding-block: 88px; }

  /* Donja traka za rezervaciju */
  .fab { display: none; }
  .mbar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(250, 246, 239, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 -1px 0 var(--line), 0 -10px 30px -20px rgba(63, 48, 35, .5);
    transform: translateY(110%); transition: transform .45s var(--ease);
  }
  .mbar.is-visible { transform: none; }
  .mbar .btn { min-height: 52px; }
  .footer { padding-bottom: 96px; }
}

/* ---------- Logo (amblem) ---------- */
.logo { --logo-ink: var(--mocha); --logo-gold: var(--gold); --logo-bg: var(--ivory); display: block; line-height: 0; }
.logo__mark { display: block; width: 84px; height: 84px; transition: transform .6s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-6deg) scale(1.04); }
.logo--light { --logo-ink: #F3EBDD; --logo-gold: var(--gold-l); --logo-bg: var(--mocha-night); }
.logo--light .logo__mark { width: 132px; height: 132px; }
.nav__inner .logo { margin-block: 6px; }
@media (max-width: 760px) {
  .logo__mark { width: 70px; height: 70px; }
  .logo--light .logo__mark { width: 116px; height: 116px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.footer__contact a { color: var(--gold-l); text-decoration: none; display: inline-block; padding: 6px 0; }
.footer__contact a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Oznaka "Najam" u glavnom naslovu */
.hero__title .mask--rent { margin-top: .22em; padding: 4px 0 6px; }
.hero__rent {
  font-family: var(--sans); font-style: normal; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  font-size: clamp(.95rem, 1.6vw, 1.25rem); line-height: 1; color: var(--ivory);
  background: var(--mocha); padding: .75em 1.4em .7em; border-radius: 999px;
  box-shadow: 0 0 0 1px var(--mocha), 0 0 0 4px var(--ivory), 0 0 0 5px var(--gold);
  margin-left: 5px;
}
