/* ==========================================================================
   Pansion GMV – Međugorje
   Raspored: mobile-first, jedna kolona koja se na širim zaslonima otvara
   u dvije; kameni (vapnenac) tonovi, maslinasti naglasak.
   ========================================================================== */

:root {
  /* Boje */
  --stone-50: #f7f6f4;      /* svijetla pozadina (stara stranica: #f5f5f5) */
  --stone-100: #f0ede8;     /* topla bež površina (stara stranica) */
  --stone-200: #e2dbd2;     /* linije i rubovi */
  --ink: #2f2a26;           /* tamni topli tekst */
  --ink-soft: #6b6560;      /* sekundarni tekst */
  --accent: #826f5e;        /* smeđa sa stare stranice: gumbi, trake, podnožje */
  --accent-dark: #66574a;   /* tekstualne poveznice i hover */
  --accent-tint: #ece5dd;
  --roof: #b0614a;          /* topli detalj (pin na karti) */
  --white: #ffffff;
  --error: #a3322a;
  --success: #3e6b37;

  /* Tipografija */
  --font-display: "Marcellus", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem);
  --step-4: clamp(2.3rem, 1.6rem + 3.4vw, 3.9rem);

  /* Razmaci */
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --max: 72rem;
  --radius: 6px;
  --header-h: 4.25rem;
  --shadow: 0 10px 30px -12px rgba(47, 42, 38, 0.25);

  color-scheme: light;
}

/* ---------- Osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--stone-50);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; color: var(--ink); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: var(--white); padding: 0.6rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; color: var(--white); }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tint { background: var(--stone-100); }

.eyebrow {
  font-size: var(--step--1); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-dark); font-weight: 600; margin-bottom: 0.75rem;
}
.lead { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.6; }
.prose { display: grid; gap: 1.1rem; max-width: 62ch; }
.section-head { display: grid; gap: 0.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 46rem; }


/* ---------- Gumbi ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.7rem 1.4rem;
  font: 600 1rem/1.2 var(--font-body); letter-spacing: 0.02em;
  border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  text-decoration: none; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.14); color: var(--white); }
.btn--outline { background: transparent; color: var(--accent-dark); border-color: var(--accent); }
.btn--outline:hover { background: var(--accent-tint); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Zaglavlje ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 246, 244, 0.96);
  border-bottom: 1px solid var(--stone-200);
  backdrop-filter: saturate(1.2) blur(8px);
}
.site-header.is-scrolled { box-shadow: 0 6px 20px -14px rgba(47,42,38,.45); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 2.3rem; height: 2.3rem; flex: none; }
.brand-text { display: grid; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.04em; }
.brand-place { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }


.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--stone-200);
  border-radius: var(--radius); background: var(--white); color: var(--ink); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 1.25rem; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform .25s, background-color .25s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  background: var(--stone-50); border-bottom: 1px solid var(--stone-200);
  padding: 0.5rem var(--gutter) 1.5rem;
  box-shadow: var(--shadow);
}
.site-nav:not(.is-open) { display: none; }
.nav-list { list-style: none; margin: 0; padding: 0; display: grid; }
.nav-list a {
  display: block; padding: 0.9rem 0.25rem; border-bottom: 1px solid var(--stone-200);
  color: var(--ink); text-decoration: none; font-size: 1.1rem;
}
.nav-list a:hover { color: var(--accent-dark); }
.nav-cta { margin-top: 1.25rem; width: 100%; }

.lang-menu { position: relative; }
.lang-menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem;
  min-height: 2.75rem; padding: 0 0.7rem; border: 1px solid var(--stone-200); border-radius: var(--radius);
  background: var(--white); color: var(--ink); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.06em;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after {
  content: ""; width: 0.4rem; height: 0.4rem; margin-left: 0.15rem;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px);
}
.lang-menu[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.lang-menu summary svg { width: 1.1rem; height: 1.1rem; color: var(--accent); }
.lang-panel {
  position: absolute; right: 0; top: calc(100% + 0.4rem); z-index: 120; min-width: 13.5rem;
  background: var(--white); border: 1px solid var(--stone-200); border-radius: var(--radius); box-shadow: var(--shadow); padding: 0.35rem;
}
.lang-panel ul { list-style: none; margin: 0; padding: 0; display: grid; }
.lang-panel a, .lang-panel .is-soon {
  display: flex; align-items: center; gap: 0.7rem; min-height: 2.75rem; padding: 0 0.7rem; border-radius: 4px;
  color: var(--ink); text-decoration: none; font-size: 0.98rem;
}
.lang-panel a:hover { background: var(--stone-100); color: var(--ink); }
.lang-panel [aria-current="true"] { background: var(--accent-tint); font-weight: 600; }
.lang-panel .is-soon { color: #8a837d; cursor: default; }
.lang-panel small { margin-left: auto; font-size: 0.75rem; letter-spacing: 0.04em; }
.lang-code { width: 1.8rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; color: var(--accent-dark); }
.lang-panel .is-soon .lang-code { color: inherit; }

/* ---------- Slider ---------- */
.hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.slides { position: relative; height: clamp(26rem, 78vh, 46rem); touch-action: pan-y; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,25,21,.15) 0%, rgba(30,25,21,.25) 45%, rgba(30,25,21,.72) 100%);
}
.hero-content {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding-bottom: clamp(4.5rem, 10vh, 6.5rem);
}
.hero-content .container { display: grid; gap: 1rem; }
.hero-kicker { font-size: var(--step--1); letter-spacing: 0.22em; text-transform: uppercase; opacity: .92; }
.hero h1, .hero .hero-title { color: var(--white); font-size: var(--step-4); max-width: 18ch; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero-text { font-size: var(--step-1); max-width: 40ch; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }

.slider-controls {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 1.25rem;
}
.slider-controls .container { display: flex; align-items: center; gap: 0.75rem; }
.slider-btn {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.55);
  background: rgba(30,25,21,.25); color: var(--white); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; padding: 0;
}
.slider-btn:hover { background: rgba(30,25,21,.5); }
.slider-btn svg { width: 1.1rem; height: 1.1rem; }
.slider-dots { display: flex; gap: 0.25rem; margin-inline: 0.25rem; }
.slider-dot {
  width: 2rem; height: 2.75rem; padding: 0; border: 0; background: none; cursor: pointer; position: relative;
}
.slider-dot::before {
  content: ""; position: absolute; left: 0.25rem; right: 0.25rem; top: 50%; height: 2px;
  background: rgba(255,255,255,.45); transition: background-color .3s;
}
.slider-dot[aria-current="true"]::before { background: var(--white); height: 3px; }
.slider-pause { margin-left: auto; }

/* ---------- O pansionu ---------- */
.about-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.reach {
  margin-top: 1rem; display: grid; gap: 1rem; padding: 1.25rem;
  background: var(--white); border: 1px solid var(--stone-200); border-radius: var(--radius);
}
.reach-head { display: grid; gap: 0.15rem; }
.reach-label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.reach-number { font-family: var(--font-display); font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2rem); color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.reach-number:hover { color: var(--accent-dark); }
.reach-note { color: var(--ink-soft); font-size: 0.95rem; }
.reach-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.reach-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 2.9rem; padding: 0 0.5rem;
  border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--white);
}
.reach-btn svg { width: 1.1rem; height: 1.1rem; flex: none; }
.reach-btn { background: var(--accent); }
.reach-btn:hover { background: var(--accent-dark); color: var(--white); }
.contact-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.5rem; padding: 0 0.9rem; border-radius: 999px;
  font-size: 0.9rem; font-weight: 600; text-decoration: none;
  color: var(--accent-dark); background: var(--accent-tint); border: 1px solid var(--stone-200);
}
.chip svg { width: 1rem; height: 1rem; color: var(--accent); }
.chip:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
.chip:hover svg { color: var(--white); }


.amenities { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.amenity { display: grid; gap: 0.4rem; align-content: start; padding: 1rem; background: var(--white); border: 1px solid var(--stone-200); border-radius: var(--radius); min-width: 0; }
.amenity svg { width: 1.6rem; height: 1.6rem; color: var(--accent); }
.amenity strong { font-weight: 600; line-height: 1.3; }
.amenity span { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.4; }
.amenity-num { font-family: var(--font-display); font-size: clamp(2.8rem, 2.2rem + 2vw, 3.6rem); line-height: 0.95; color: var(--accent-dark); }
.amenity--feature { background: var(--accent); border-color: var(--accent); }
.amenity--feature .amenity-num, .amenity--feature strong { color: var(--white); }
.amenity--feature strong { font-size: 1.05rem; }
.about-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ---------- Međugorje ---------- */
.mg-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.mg-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 7 / 5; object-fit: cover; }
.places { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.places li { padding-left: 1.25rem; border-left: 2px solid var(--accent); }
.places h3 { font-size: 1.15rem; }
.places span { color: var(--ink-soft); }

/* ---------- Galerija ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; list-style: none; padding: 0; margin: 0; }
.gallery-item button {
  display: block; width: 100%; padding: 0; border: 0; background: var(--stone-200); cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item--wide { grid-column: span 2; grid-row: span 2; }
/* Na stranici se vidi prvih 5 fotografija; ostale se listaju u uvećanom prikazu */
.gallery-item:nth-child(n+6) { display: none; }
.gallery-item button { position: relative; }
.gallery-more {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  background: rgba(47,42,38,.55); color: var(--white); font-family: var(--font-display); font-size: clamp(1.4rem, 1rem + 1.5vw, 2rem);
  transition: background-color .25s;
}
.gallery-more small { display: block; font-family: var(--font-body); font-size: 0.9rem; letter-spacing: 0.04em; }
.gallery-item button:hover .gallery-more { background: rgba(47,42,38,.4); }
.gallery-actions { display: flex; justify-content: center; margin-top: 1.5rem; }
.gallery-item button:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(24, 20, 17, 0.94);
  display: grid; grid-template-rows: auto 1fr; padding: env(safe-area-inset-top, 0px) 0 calc(1rem + env(safe-area-inset-bottom, 0px));
  color: var(--white);
}
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem var(--gutter); }
.lightbox-count { font-size: 0.9rem; letter-spacing: 0.1em; opacity: .8; font-variant-numeric: tabular-nums; }
.lightbox-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding-inline: var(--gutter); touch-action: pan-y; }
.lightbox-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.5); user-select: none; }
.lb-btn {
  width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08); color: var(--white); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; padding: 0;
}
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-btn svg { width: 1.2rem; height: 1.2rem; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 0.5rem; }
.lb-next { right: 0.5rem; }
body.no-scroll { overflow: hidden; }

/* ---------- Česta pitanja ---------- */
.faq-grid { display: grid; gap: 1rem; }
.faq { display: grid; border-top: 1px solid var(--stone-200); min-width: 0; }
.faq-item { border-bottom: 1px solid var(--stone-200); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1.1rem; min-height: 3rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.08rem; line-height: 1.4; }
.faq-item summary::after {
  content: ""; flex: none; width: 0.6rem; height: 0.6rem; margin-right: 0.3rem;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translateY(-2px); transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-item summary:hover h3 { color: var(--accent-dark); }
.faq-item p { padding-bottom: 1.2rem; color: var(--ink-soft); max-width: 65ch; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.contact-card { display: grid; gap: 1.5rem; align-content: start; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--stone-200); }
.contact-list li { display: grid; grid-template-columns: 2.25rem 1fr; gap: 0.75rem; padding-block: 1rem; border-bottom: 1px solid var(--stone-200); }
.contact-list svg { width: 1.4rem; height: 1.4rem; color: var(--accent); margin-top: 0.2rem; }
.contact-label { display: block; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.contact-value { font-size: 1.15rem; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
a.contact-value:hover { color: var(--accent-dark); text-decoration: underline; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.map {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--stone-200);
  aspect-ratio: 4 / 3; max-width: 100%; background: var(--stone-100);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.9rem; text-align: center; padding: 1.5rem;
  background:
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(130,111,94,.08) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(130,111,94,.08) 38px 39px),
    var(--stone-100);
}
.map-pin { width: 2.5rem; height: 2.5rem; color: var(--roof); }
.map-placeholder p { color: var(--ink-soft); font-size: 0.95rem; max-width: 34ch; }

/* Forma */
.form-wrap { background: var(--white); border: 1px solid var(--stone-200); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2.5rem); }
.form-wrap h3 { font-size: var(--step-2); margin-bottom: 0.4rem; }
.form-intro { color: var(--ink-soft); margin-bottom: 1.5rem; }
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field .optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--stone-50);
  border: 1px solid #c9c0b0; border-radius: var(--radius); padding: 0.75rem 0.9rem; min-height: 3rem;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(130,111,94,.25); background: var(--white); }
.field[data-invalid] input, .field[data-invalid] textarea { border-color: var(--error); }
.field-error { color: var(--error); font-size: 0.9rem; min-height: 0; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; font-size: 0.95rem; color: var(--ink-soft); }
.consent input { width: 1.2rem; height: 1.2rem; margin-top: 0.25rem; accent-color: var(--accent); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 0.9rem 1rem; border-radius: var(--radius); font-size: 0.98rem; }
.form-status[data-type="success"] { background: #e6efe3; color: var(--success); border: 1px solid #b9d0b2; }
.form-status[data-type="error"] { background: #f6e5e3; color: var(--error); border: 1px solid #e3bcb7; }
.form-status[data-type="info"] { background: var(--stone-100); color: var(--ink); border: 1px solid var(--stone-200); }
.form .btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- Podnožje ---------- */
.site-footer { background: var(--accent); color: #f5f0ea; padding-block: 1.25rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; font-size: 0.9rem; color: #f5f0ea;
}

/* Politika privatnosti */
.page-plain { padding-block: var(--section); }
.page-plain h1 { font-size: var(--step-3); margin-bottom: 1.5rem; }
.page-plain h2 { font-size: var(--step-2); margin-top: 2rem; margin-bottom: 0.5rem; }

/* Mobilna traka za poziv */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; gap: 0.5rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(247,246,244,.97); border-top: 1px solid var(--stone-200);
}
.call-bar .btn { flex: 1; min-height: 2.9rem; }
.call-menu {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(100% + 0.5rem);
  background: var(--white); border: 1px solid var(--stone-200); border-radius: var(--radius);
  box-shadow: 0 -8px 30px -10px rgba(47,42,38,.35); padding: 0.5rem; display: grid; gap: 0.25rem;
}
.call-menu-title { font-size: 0.8rem; letter-spacing: 0.06em; color: var(--ink-soft); padding: 0.4rem 0.6rem 0.2rem; }
.call-option {
  display: flex; align-items: center; gap: 0.85rem; min-height: 3.4rem; padding: 0.5rem 0.75rem;
  border-radius: 4px; text-decoration: none; color: var(--ink);
}
.call-option:hover, .call-option:focus-visible { background: var(--stone-100); color: var(--ink); }
.call-option svg {
  width: 2.4rem; height: 2.4rem; padding: 0.55rem; flex: none; border-radius: 50%;
  background: var(--accent-tint); color: var(--accent-dark);
}
.call-option span { display: grid; line-height: 1.25; }
.call-option small { color: var(--ink-soft); font-size: 0.85rem; }
.call-toggle[aria-expanded="true"] { background: var(--accent-tint); }
body { padding-bottom: 4.5rem; }

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (min-width: 40em) {
  .amenities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .amenity--feature { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 0.75rem; }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.85rem; }
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Desktop
   ========================================================================== */
@media (min-width: 64em) {
  :root { --header-h: 5rem; }
  .nav-toggle { display: none; }
  .site-nav, .site-nav:not(.is-open) {
    display: flex; align-items: center; gap: 1.75rem;
    position: static; max-height: none; overflow: visible; padding: 0; background: none; border: 0; box-shadow: none;
    order: 1;
  }
  .nav-list { display: flex; gap: 1.6rem; }
  .nav-list a { border: 0; padding: 0.4rem 0; font-size: 1rem; position: relative; }
  .nav-list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
  .nav-list a:hover::after { transform: scaleX(1); }
  .nav-cta { display: none; }
  .lang-menu { order: 2; }

  .about-grid { grid-template-columns: 1.05fr 1fr; align-items: start; }
  .amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .amenity--feature { grid-column: auto; display: grid; }
  .about-media { position: sticky; top: calc(var(--header-h) + 2rem); }
  .mg-grid { grid-template-columns: 1fr 1.1fr; }
  .mg-media { order: 2; }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr 1.15fr; align-items: start; }
  .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start; }
  .call-bar { display: none; }
  body { padding-bottom: 0; }
  .lb-prev { left: 1.5rem; }
  .lb-next { right: 1.5rem; }
}

@media (min-width: 64em) and (max-width: 74em) {
  .nav-list { gap: 1.1rem; }
}

/* Računalo: stranica u središtu, ograničene širine, na toploj bež podlozi */
@media (min-width: 80em) {
  body { background: #e6dfd5; }
  .page { max-width: 78rem; margin-inline: auto; background: var(--stone-50); box-shadow: 0 0 0 1px rgba(47,42,38,.05), 0 20px 60px -20px rgba(47,42,38,.25); }
  .slides { height: clamp(26rem, 70vh, 40rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
