:root {
  --bg: #e3d6bd;
  --surface: #f8f2e6;
  --text: #454732;
  --muted: #6f7157;
  --accent: #3f6f43;
  --accent-dark: #2f5c33;
  --border: rgba(69, 71, 50, 0.2);
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --section-title-size: clamp(3.5rem, 9vw, 5.75rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--text);
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-toast {
  position: fixed;
  left: 50%;
  top: 92px;
  transform: translateX(-50%);
  width: min(760px, 92%);
  z-index: 2000;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
  padding: 14px 52px 14px 16px;
  display: none;
}

.form-toast.is-visible {
  display: block;
}

.form-toast--success {
  background: #eef6ea;
  border: 1px solid #9fc694;
  color: #2f5c33;
}

.form-toast--error {
  background: #f8ece9;
  border: 1px solid #d7a79d;
  color: #7b3127;
}

.form-toast p {
  margin: 0;
  font-weight: 600;
}

.form-toast__close {
  position: absolute;
  right: 10px;
  top: 8px;
  border: 0;
  background: transparent;
  color: currentColor;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.form-message {
  margin-top: 14px;
  border-radius: 12px;
  padding: 11px 12px;
  font-weight: 600;
  display: none;
}

.form-message.is-visible {
  display: block;
}

.form-message--success {
  background: #eef6ea;
  border: 1px solid #9fc694;
  color: #2f5c33;
}

.form-message--error {
  background: #f8ece9;
  border: 1px solid #d7a79d;
  color: #7b3127;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(227, 214, 189, 0.55);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(69, 71, 50, 0.12);
  transition: background-color 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(227, 214, 189, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  min-height: 76px;
  width: min(1120px, 92%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav__brand img {
  width: 132px;
  height: auto;
}

.nav__toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0 10px;
}

.nav__toggle-line {
  height: 2px;
  width: 100%;
  background: var(--text);
}

.nav__menu {
  position: absolute;
  top: 76px;
  left: 4%;
  right: 4%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px;
  display: none;
}

.nav__menu.is-open {
  display: block;
}

.nav__links,
.nav__lang-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links {
  display: grid;
  gap: 8px;
}

.nav__links a,
.nav__lang-menu a {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav__links a:hover,
.nav__lang-menu a:hover {
  background: rgba(63, 111, 67, 0.12);
  color: var(--accent-dark);
}

.nav__lang {
  margin-top: 10px;
  position: relative;
}

.nav__lang-btn {
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  padding: 9px 10px;
  text-align: left;
  font-weight: 600;
  color: var(--text);
}

.nav__lang-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 30;
  margin-top: 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    visibility 0s linear 0.28s;
}

.nav__lang.is-lang-open .nav__lang-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    visibility 0s;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #2a2c20;
}

.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease, visibility 0s linear 1.1s;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 1.1s ease, visibility 0s;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1);
  will-change: transform;
}

.hero__slide.is-active img {
  animation: heroKenBurns 7.5s ease-out forwards;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(20, 18, 14, 0.72) 0%, rgba(20, 18, 14, 0.42) 48%, rgba(20, 18, 14, 0.28) 100%),
    radial-gradient(circle at 18% 28%, rgba(245, 223, 183, 0.35), transparent 42%),
    radial-gradient(circle at 88% 78%, rgba(184, 91, 39, 0.28), transparent 45%),
    linear-gradient(135deg, rgba(69, 71, 50, 0.45), rgba(191, 118, 34, 0.28));
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: left;
  padding-top: 96px;
  padding-bottom: 48px;
  max-width: none;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.85rem, 8vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
  max-width: 14ch;
}

.hero p {
  margin: 0 0 28px;
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  max-width: 34ch;
  line-height: 1.45;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    transition: opacity 0.35s ease, visibility 0s;
  }

  .hero__slide.is-active img {
    animation: none;
  }
}

.btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--text);
  color: var(--bg);
}

.btn--primary:hover {
  background: #353724;
  box-shadow: 0 8px 18px rgba(53, 55, 36, 0.35);
}

.btn.is-loading {
  opacity: 0.75;
  cursor: not-allowed;
}

.btn--ghost {
  border: 1px solid var(--border);
  background: #fff;
}

.section {
  padding: 80px 0;
}

.section--alt {
  background: rgba(255, 255, 255, 0.38);
}

.section--top-gap {
  padding-top: 140px;
}

.section__head h2 {
  margin: 0 0 26px;
  font-size: var(--section-title-size);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.section__head--lead h2 {
  margin-bottom: 14px;
}

.section__lead {
  margin: 0 0 34px;
  max-width: 46rem;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  line-height: 1.6;
  font-weight: 500;
  color: var(--muted);
}

.about__grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.about__text {
  display: grid;
  gap: 16px;
}

.about__text p {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.65;
  color: var(--text);
}

.about__figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: rgba(69, 71, 50, 0.06);
}

.about__figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: min(78vh, 720px);
}

.about-gallery {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(69, 71, 50, 0.15);
}

.about-gallery__title {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.about-gallery__intro {
  margin: 0 0 22px;
  max-width: 40rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  line-height: 1.55;
}

.about-gallery__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.about-gallery__grid > li {
  display: block;
  min-width: 0;
}

.about-gallery__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  background: rgba(69, 71, 50, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.about-gallery__thumb:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.about-gallery__thumb:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.about-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: grid;
  place-items: center;
  padding: 56px 48px 72px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 14, 0.92);
  cursor: pointer;
}

.lightbox__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(96vw, 1400px);
  text-align: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: min(78vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lightbox__caption {
  margin: 14px auto 0;
  max-width: 42rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(248, 242, 230, 0.92);
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox__arrow:hover {
  background: rgba(255, 255, 255, 0.26);
}

.lightbox__arrow--prev {
  left: 12px;
}

.lightbox__arrow--next {
  right: 12px;
}

@media (max-width: 640px) {
  .lightbox {
    padding: 48px 12px 64px;
  }

  .lightbox__arrow {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .lightbox__arrow--prev {
    left: 4px;
  }

  .lightbox__arrow--next {
    right: 4px;
  }
}

.info-grid {
  display: grid;
  gap: 20px;
}

.info-card,
.map-card,
.contact-form,
.legal,
.not-found {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.info-card,
.map-card,
.legal,
.not-found {
  padding: 22px;
}

.info-card h3 {
  margin-top: 0;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.hours-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.hours-list span {
  font-weight: 600;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  white-space: nowrap;
}

.hours-list li span {
  white-space: nowrap;
  flex: 0 0 auto;
}

.hours-list li,
.hours-list li span,
.offer-time,
.info-list a,
.wa-link {
  font-variant-numeric: tabular-nums;
}

.wa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wa-icon {
  width: 18px;
  height: 18px;
  fill: #25d366;
  flex: 0 0 18px;
}

.map-card iframe {
  position: absolute;
  top: 12px;
  left: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  max-width: none;
  border: 0;
  border-radius: 12px;
  display: block;
  filter: sepia(22%) saturate(80%) hue-rotate(-8deg) brightness(0.98) contrast(0.95);
}

#informacije .map-card,
.map-card {
  display: block;
  position: relative;
  width: 100%;
  height: 350px;
  aspect-ratio: auto;
  min-height: 350px;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.contact-form {
  padding: 22px;
}

.booking-form {
  max-width: 840px;
  margin-inline: auto;
}

.booking-note {
  margin: 0 0 14px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-grid label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.form-grid select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 50px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23454732' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px 18px;
}

.form-grid input[type="date"] {
  padding-right: 52px;
  cursor: pointer;
}

.form-grid input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 1;
  width: 20px;
  height: 20px;
  margin-right: 4px;
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  outline: 2px solid rgba(63, 111, 67, 0.2);
  border-color: var(--accent);
}

.flatpickr-calendar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-family: var(--font-body);
}

.flatpickr-calendar.arrowTop::before,
.flatpickr-calendar.arrowTop::after {
  border-bottom-color: var(--surface);
}

.flatpickr-current-month {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
}

.flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  color: var(--text);
  font-weight: 600;
}

.flatpickr-weekdays {
  background: transparent;
}

span.flatpickr-weekday {
  color: var(--muted);
  font-weight: 600;
}

.flatpickr-day {
  color: var(--text);
  border-radius: 10px;
}

.flatpickr-day.today {
  border-color: var(--accent);
}

.flatpickr-day:hover,
.flatpickr-day:focus {
  background: rgba(63, 111, 67, 0.12);
  border-color: rgba(63, 111, 67, 0.2);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: var(--accent);
  border-color: var(--accent-dark);
  color: #fff;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: rgba(69, 71, 50, 0.35);
}

.gdpr-check {
  display: flex;
  gap: 10px;
  margin: 16px 0 18px;
  align-items: flex-start;
  font-size: 0.95rem;
}

.gdpr-check input {
  margin-top: 3px;
}

.section--offer {
  background: rgba(255, 255, 255, 0.22);
}

/* Mobile-first: always 1 full-width card per row until desktop */
.offer-grid,
#ponuda .offer-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
}

#ponuda .offer-grid > .offer-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.offer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
  border-color: rgba(69, 71, 50, 0.28);
}

.offer-card--photo {
  padding: 0;
  overflow: hidden;
}

.offer-card__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(69, 71, 50, 0.08);
}

.offer-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.offer-card--photo .offer-card__body {
  padding: 22px;
}

.offer-card h3 {
  margin: 0 0 8px;
  font-size: clamp(1.85rem, 4.2vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.offer-card p {
  margin: 0 0 10px;
}

.offer-card p:last-child {
  margin-bottom: 0;
}

.offer-time {
  padding-top: 4px;
  border-top: 1px dashed var(--border);
  white-space: nowrap;
}

@media (max-width: 859px) {
  .offer-grid,
  #ponuda .offer-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px;
  }

  #ponuda .offer-grid > .offer-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  .offer-card {
    border-radius: 16px;
  }

  .offer-card--photo .offer-card__body {
    padding: 18px 16px 20px;
  }

  .offer-card h3 {
    font-size: clamp(1.55rem, 6vw, 2rem);
    margin-bottom: 8px;
  }

  .offer-card p {
    font-size: 0.98rem;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .offer-time {
    font-size: 0.95rem;
    white-space: normal;
  }
}

@media (min-width: 860px) {
  .offer-grid,
  #ponuda .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-time {
    white-space: nowrap;
  }
}

.site-footer {
  padding: 48px 0 22px;
  border-top: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(248, 242, 230, 0.55), rgba(255, 255, 255, 0.28));
}

.footer__inner {
  display: grid;
  gap: 32px;
}

.footer__col h4 {
  margin: 0 0 14px;
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  letter-spacing: -0.02em;
}

.footer__brand p {
  margin: 12px 0 0;
  max-width: 34ch;
  color: var(--muted);
  line-height: 1.55;
}

.footer__logo-link {
  display: inline-block;
  transition: opacity 0.2s ease;
}

.footer__logo-link:hover {
  opacity: 0.82;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer__social-link {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer__social-link:hover {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
  transform: translateY(-2px);
}

.footer__social-link:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.footer__contact {
  display: grid;
  gap: 12px;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__contact-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: color 0.2s ease;
}

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

.footer__contact-item:hover .footer__contact-icon {
  color: var(--accent-dark);
}

.footer__contact-item:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
  border-radius: 8px;
}

.footer__nav a,
.footer__contact a,
.footer__bottom a {
  text-decoration: none;
}

.footer__nav a {
  font-weight: 600;
  padding: 2px 0;
  transition: color 0.2s ease;
}

.footer__nav a:hover,
.footer__bottom a:hover {
  color: var(--text);
}

.footer__bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(69, 71, 50, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.footer__legal-sep {
  color: var(--muted);
}

.footer__bottom p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.legal h1,
.not-found h1 {
  margin-top: 0;
}

.legal h1 {
  font-size: clamp(2rem, 4.8vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.legal h2 {
  font-size: clamp(1.45rem, 3.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 1.6em 0 0.65em;
}

.legal__meta {
  list-style: none;
  margin: 14px 0 0;
  padding: 14px 16px;
  display: grid;
  gap: 8px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.legal__meta li {
  margin: 0;
  line-height: 1.45;
}

.not-found h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.25rem);
  letter-spacing: -0.02em;
}

@media (max-width: 859px) {
  .nav__lang-btn {
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.6;
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent-dark);
  }

  .nav__lang-btn:hover {
    background: var(--accent-dark);
    color: #fff;
  }

  .nav__lang-btn:focus-visible {
    outline: 2px solid var(--accent-dark);
    outline-offset: 2px;
  }
}

@media (min-width: 860px) {
  .nav__toggle {
    display: none;
  }

  .nav__menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav__links {
    display: flex;
    gap: 4px;
  }

  .nav__lang {
    margin-top: 0;
  }

  .nav__lang-btn {
    width: auto;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.8);
  }

  .nav__lang-menu {
    left: auto;
    right: 0;
    min-width: 120px;
  }

  .info-grid {
    grid-template-columns: 1fr 1.15fr;
    align-items: stretch;
  }

  .map-card,
  #informacije .map-card {
    height: 350px;
    min-height: 350px;
    aspect-ratio: auto;
    width: 100%;
    align-self: start;
  }

  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid__full {
    grid-column: 1 / -1;
  }

  .about__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.82fr);
    gap: 44px;
    align-items: start;
  }

  .section__head h2 {
    margin-bottom: 36px;
  }

  .section__head--lead h2 {
    margin-bottom: 16px;
  }

  .footer__inner {
    grid-template-columns: 1.2fr 1fr 1.2fr;
    align-items: start;
  }

  .about-gallery__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (min-width: 520px) and (max-width: 859px) {
  .about-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
