/* ===========================================================
   Apartmani Jadranka — shared stylesheet
   Boutique Mediterranean: deep sea blue, warm stone white, sand.
   Edit the CSS variables below to retheme the whole site at once.
   =========================================================== */

:root {
  /* --- Colors --- */
  --color-sea-deep: #1b4b6b;
  --color-sea: #4a90a4;
  --color-sea-mist: #eef3f4;
  --color-stone: #f7f5f0;
  --color-sand: #ede6d6;
  --color-sand-dark: #ddd2b8;
  --color-white: #ffffff;
  --color-text: #2a2a28;
  --color-text-light: #6b6558;

  /* --- Type --- */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* --- Layout --- */
  --max-width: 1240px;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-soft: 0 20px 50px rgba(27, 75, 107, 0.1);
  --shadow-small: 0 6px 20px rgba(27, 75, 107, 0.1);
}

/* --- Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-text);
  background-color: var(--color-stone);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-sea-deep);
  letter-spacing: 0.01em;
}

.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-sea);
  margin-bottom: 18px;
}

h2.section-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 500;
  text-align: center;
  margin-bottom: 14px;
}

p.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  max-width: 560px;
  margin: 0 auto 64px;
  font-size: 1.05rem;
  font-weight: 300;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

section {
  padding: 120px 0;
}

/* --- Scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn {
  display: inline-block;
  padding: 16px 38px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--color-sea-deep);
  color: var(--color-white);
  border-color: var(--color-sea-deep);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--color-sea-deep);
}

.contact-section .btn-primary:hover {
  background-color: var(--color-white);
  color: var(--color-sea-deep);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-sea-deep);
  color: var(--color-sea-deep);
}

.btn-outline:hover {
  background-color: var(--color-sea-deep);
  color: var(--color-white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-sea-deep);
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: gap 0.25s ease, border-color 0.25s ease;
}

.text-link:hover {
  gap: 14px;
  border-color: var(--color-sea-deep);
}

/* ===========================================================
   Header / Navigation
   =========================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.site-header.scrolled,
.site-header.solid {
  background-color: rgba(247, 245, 240, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(27, 75, 107, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  transition: padding 0.4s ease;
}

.site-header.scrolled .nav {
  padding: 18px 32px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-white);
  transition: color 0.4s ease;
}

.nav-logo-icon {
  height: 28px;
  width: auto;
  flex: none;
}

.site-header.scrolled .nav-brand,
.site-header.solid .nav-brand {
  color: var(--color-sea-deep);
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
}

.nav-links a {
  font-weight: 400;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
  white-space: nowrap;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.4s ease;
}

.site-header.scrolled .nav-links a,
.site-header.solid .nav-links a {
  color: var(--color-text);
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: currentColor;
}

.lang-switch {
  position: relative;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.4s ease;
}

.site-header.scrolled .lang-switch,
.site-header.solid .lang-switch {
  color: var(--color-text-light);
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: inherit;
  cursor: pointer;
}

.lang-toggle::after {
  content: '▾';
  font-size: 0.6rem;
  opacity: 0.7;
}

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 130px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background-color: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
  z-index: 30;
}

.lang-menu.open {
  display: block;
}

.lang-menu button,
.lang-menu a {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 9px 18px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--color-text);
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.lang-menu button:hover,
.lang-menu a:hover {
  background-color: var(--color-sea-mist);
}

.lang-menu button.active,
.lang-menu a.active {
  color: var(--color-sea-deep);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 1px;
  width: 100%;
  background-color: var(--color-white);
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.4s ease;
}

.site-header.scrolled .nav-toggle span,
.site-header.solid .nav-toggle span {
  background-color: var(--color-sea-deep);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* The hamburger turns into an X above the drawer, so it needs the
   drawer's (dark-on-light) color regardless of header scroll state. */
.nav-toggle[aria-expanded="true"] span {
  background-color: var(--color-sea-deep) !important;
}

.nav-backdrop {
  display: none;
}

/* ===========================================================
   Hero
   =========================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
  background-color: var(--color-sea-deep);
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  animation: hero-photo-in 1.8s ease both;
}

@keyframes hero-photo-in {
  from { opacity: 0; transform: scale(1.06); }
  to { opacity: 1; transform: scale(1); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(9, 26, 36, 0.5) 0%, rgba(9, 26, 36, 0.32) 42%, rgba(9, 26, 36, 0.62) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 32px;
  max-width: 760px;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 26px;
}

.hero h1 {
  color: var(--color-white);
  font-weight: 500;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1.15;
  margin-bottom: 26px;
  letter-spacing: 0.01em;
}

.hero p {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  max-width: 480px;
  margin: 0 auto 44px;
  line-height: 1.8;
}

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), transparent);
}

.weather-badge {
  position: absolute;
  top: 100px;
  right: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.weather-icon {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.92);
}

.weather-icon svg {
  display: block;
  width: 19px;
  height: 19px;
}

.weather-temp {
  font-weight: 500;
}

.weather-badge .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
}

/* ===========================================================
   Units overview (homepage)
   =========================================================== */

.units-overview {
  background-color: var(--color-stone);
}

.units-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px;
}

.unit-card {
  text-align: left;
}

.unit-card-photo {
  height: 420px;
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  margin-bottom: 28px;
  background: linear-gradient(180deg, rgba(18, 40, 51, 0) 55%, rgba(18, 40, 51, 0.45) 100%), url('../images/stan-cover.jpg?v=20260911') center/cover no-repeat;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.unit-card-photo.istok {
  background: linear-gradient(180deg, rgba(18, 40, 51, 0) 55%, rgba(18, 40, 51, 0.45) 100%), url('../images/istok-cover.jpg') center/cover no-repeat;
}

.unit-card:hover .unit-card-photo {
  transform: scale(1.03);
}

.unit-card-photo-label {
  position: relative;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}

.unit-card-body h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.unit-card-body h3 a {
  transition: color 0.2s ease;
}

.unit-card-body h3 a:hover {
  color: var(--color-sea);
}

.unit-card-body p {
  color: var(--color-text-light);
  margin-bottom: 22px;
  font-weight: 300;
  max-width: 46ch;
}

.unit-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--color-sea-deep);
  font-weight: 500;
}

.unit-card-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: var(--color-sea);
}

.unit-card-rooms {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--color-text-light);
  margin-bottom: 26px;
}

.unit-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.unit-card-actions .btn {
  padding: 12px 26px;
}

/* ===========================================================
   Guest reviews (rotating marquee — see js/reviews.js)
   =========================================================== */

.reviews-section {
  background-color: var(--color-white);
  overflow: hidden;
}

.reviews-track-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  /* Fade the marquee out at both edges instead of hard-cutting cards. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}

.reviews-track-wrap::-webkit-scrollbar {
  display: none;
}

.reviews-track-wrap.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.reviews-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 4px 32px;
}

.review-card {
  flex: none;
  width: 320px;
  background-color: var(--color-stone);
  border-radius: var(--radius-lg);
  padding: 28px;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}

.review-card:hover,
.review-card:focus-visible {
  box-shadow: var(--shadow-soft);
  outline: none;
}

.review-stars {
  color: #d99a3f;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-quote {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-more {
  display: block;
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-sea-deep);
  text-decoration: underline;
  cursor: pointer;
}

.review-more[hidden] {
  display: none;
}

.review-author {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-sea-deep);
  margin: 0;
}

.review-modal-dialog {
  max-width: 560px;
}

.review-modal-dialog .review-quote {
  -webkit-line-clamp: unset;
  overflow: visible;
  font-size: 1.05rem;
}

/* ===========================================================
   Why stay with us
   =========================================================== */

.why-stay {
  background-color: var(--color-sand);
}

.why-footnote {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--color-sand-dark);
  color: var(--color-text-light);
  font-size: 0.78rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  max-width: 60ch;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.feature-card {
  text-align: center;
  padding: 0 28px;
  border-left: 1px solid var(--color-sand-dark);
}

.feature-card:first-child {
  border-left: none;
}

.feature-icon {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--color-sea);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--color-text-light);
  font-size: 0.92rem;
  font-weight: 300;
}

/* ===========================================================
   Unit pages
   =========================================================== */

.unit-hero-page {
  padding: 200px 0 90px;
  text-align: center;
  background-color: var(--color-stone);
}

.unit-hero-page .breadcrumb {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 22px;
}

.unit-hero-page .breadcrumb a {
  color: var(--color-sea);
}

.unit-hero-page h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  margin-bottom: 18px;
}

.unit-hero-page p.tagline {
  color: var(--color-text-light);
  max-width: 520px;
  margin: 0 auto;
  font-size: 1.05rem;
  font-weight: 300;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 220px);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-end;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 18px;
  background: linear-gradient(160deg, #3d879e 0%, var(--color-sea-deep) 100%);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
  /* Replace each placeholder with:
     background: url('../images/your-photo.jpg') center/cover no-repeat; */
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item:nth-child(1) { background: linear-gradient(160deg, #3d879e 0%, var(--color-sea-deep) 100%); }
.gallery-item:nth-child(2) { background: linear-gradient(160deg, #3d879e 0%, var(--color-sea-deep) 100%); }
.gallery-item:nth-child(3) { background: linear-gradient(160deg, #8a6a4f 0%, #5e4530 100%); }
.gallery-item:nth-child(4) { background: linear-gradient(160deg, #8a6a4f 0%, #5e4530 100%); }
.gallery-item:nth-child(5) { background: linear-gradient(160deg, #7f9587 0%, #4b5d4f 100%); }
.gallery-item:nth-child(6) { background: linear-gradient(160deg, #7f9587 0%, #4b5d4f 100%); }
.gallery-item:nth-child(7) { background: linear-gradient(160deg, var(--color-sea-deep) 0%, #0e2c3f 100%); }
.gallery-item:nth-child(8) { background: linear-gradient(160deg, var(--color-sea-deep) 0%, #0e2c3f 100%); }
.gallery-item:nth-child(9) { background: linear-gradient(160deg, #a6805f 0%, #6b4d34 100%); }
.gallery-item:nth-child(10) { background: linear-gradient(160deg, #a6805f 0%, #6b4d34 100%); }
.gallery-item:nth-child(11) { background: linear-gradient(160deg, #6f7f99 0%, #3c455c 100%); }
.gallery-item:nth-child(12) { background: linear-gradient(160deg, #6f7f99 0%, #3c455c 100%); }
.gallery-item:nth-child(13) { background: linear-gradient(160deg, #9c8a5e 0%, #665a3a 100%); }
.gallery-item:nth-child(14) { background: linear-gradient(160deg, #9c8a5e 0%, #665a3a 100%); }
.gallery-item:nth-child(15) { background: linear-gradient(160deg, #5f9c7f 0%, #2f5240 100%); }
.gallery-item:nth-child(16) { background: linear-gradient(160deg, #5f9c7f 0%, #2f5240 100%); }

/* The full gallery-grid above is the source of truth for photos/labels and
   stays visible as a no-JS fallback; js/gallery.js hides it and builds the
   compact preview + lightbox below once it runs. */
.gallery-grid.gallery-grid-hidden {
  display: none;
}

/* ===========================================================
   Gallery preview (Airbnb-style: 1 large + 4 small) & lightbox
   =========================================================== */

.gallery-preview {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: repeat(2, 220px);
  gap: 12px;
}

.gallery-preview-tile {
  position: relative;
  border: none;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-preview-tile:hover {
  transform: scale(1.02);
}

.gallery-preview-tile:first-child {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.gallery-show-all {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background-color: rgba(255, 255, 255, 0.94);
  color: var(--color-sea-deep);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-small);
}

/* Desktop: the hero tile's own "show all" copy stays hidden — the one on
   the last small tile is the visible entry point (see the mobile override
   below, where it flips). */
.gallery-preview-tile:first-child .gallery-show-all {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(9, 26, 36, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

/* html, not just body, because html is the actual scrolling element on
   some mobile browsers — locking only body leaves the page scrollable
   behind a "fixed" overlay. */
html.lightbox-locked,
body.lightbox-locked {
  overflow: hidden;
}

.lightbox-stage {
  width: min(90vw, 1100px);
  text-align: center;
}

.lightbox-image {
  width: 100%;
  height: min(70vh, 640px);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius-lg);
}

.lightbox-caption {
  margin-top: 18px;
  color: var(--color-white);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lightbox-counter {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.12);
  border: none;
  color: var(--color-white);
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: rgba(255, 255, 255, 0.24);
}

.lightbox-close {
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 1.3rem;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.unit-details {
  padding: 110px 0;
}

.unit-details-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: start;
}

.unit-description .eyebrow {
  margin-bottom: 14px;
}

.unit-description h2 {
  text-align: left;
  font-size: 2.2rem;
  margin-bottom: 24px;
}

.unit-description p {
  color: var(--color-text-light);
  margin-bottom: 20px;
  font-weight: 300;
}

.sleeps-badge {
  display: inline-block;
  color: var(--color-sea-deep);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 24px;
}

.amenities-heading {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-sea-deep);
  margin-top: 40px;
  margin-bottom: 22px;
  display: block;
  font-weight: 500;
}

.amenities-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
}

.amenities-list li {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--color-text);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-sand-dark);
}

/* --- Categorized amenities (Stan, Istok) ---
   Uses CSS multi-column rather than a 2-column grid: a grid pairs each
   category with whatever sits next to it in DOM order and stretches both
   to match the taller one's height, which looks fine when categories have
   similar item counts but leaves a large empty gap under a short category
   next to a long one (e.g. a 2-item "Pogled" next to a 15-item "Kuhinja").
   Columns let each category size to its own content and flow to balance
   the two columns overall. */
.amenities-categories {
  columns: 2;
  column-gap: 40px;
  margin-top: 24px;
}

.amenity-category {
  break-inside: avoid;
  margin-bottom: 36px;
}

.amenity-category-title {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-sea);
  font-weight: 500;
  margin-bottom: 16px;
}

.amenity-category .amenities-list {
  display: block;
}

.amenity-category .amenities-list li {
  font-size: 0.92rem;
  padding-bottom: 6px;
  margin-bottom: 6px;
}

/* ===========================================================
   Availability & Pricing (calendar + booking summary)
   =========================================================== */

.availability-section {
  background-color: var(--color-sand);
}

.availability-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 56px;
  align-items: start;
}

.calendar-widget {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.calendar-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.calendar-nav {
  flex: none;
  margin-top: 6px;
}

/* Two months side by side (Airbnb-style) so a check-in near month's end
   and a check-out early the next month are both visible at once — no
   navigation needed in between. Collapses to one month on narrow screens
   (see the max-width: 720px override below). */
.calendar-months {
  display: flex;
  flex: 1;
  gap: 32px;
  min-width: 0;
}

.calendar-month {
  flex: 1;
  min-width: 0;
}

.calendar-month-label {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-sea-deep);
  display: block;
  text-align: center;
  margin-bottom: 16px;
}

.calendar-nav {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-sand-dark);
  background: none;
  color: var(--color-sea-deep);
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.calendar-nav:hover {
  background-color: var(--color-sea-mist);
  border-color: var(--color-sea);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 8px;
}

.calendar-weekdays span {
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
  padding-bottom: 8px;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 50px;
  border: none;
  background: none;
  border-radius: 10px;
  font-family: var(--font-body);
  color: var(--color-text);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.calendar-day .day-num {
  font-size: 0.88rem;
  font-weight: 400;
}

.calendar-day .day-price {
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  color: var(--color-text-light);
}

.calendar-day.empty {
  cursor: default;
}

.calendar-day:not(.unavailable):not(.empty):hover {
  background-color: var(--color-sea-mist);
}

.calendar-day.unavailable {
  color: var(--color-sand-dark);
  cursor: not-allowed;
}

.calendar-day.unavailable .day-num {
  text-decoration: line-through;
}

.calendar-day.below-min {
  color: var(--color-sand-dark);
  cursor: not-allowed;
  opacity: 0.55;
}

.calendar-day.selected {
  background-color: var(--color-sea-deep);
  color: var(--color-white);
}

.calendar-day.selected .day-price {
  color: rgba(255, 255, 255, 0.75);
}

.calendar-day.in-range {
  background-color: var(--color-sea-mist);
  border-radius: 0;
}

.calendar-legend {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--color-text-light);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.legend-dot.available {
  background-color: var(--color-sea-mist);
  border: 1px solid var(--color-sand-dark);
}

.legend-dot.unavailable {
  background-color: var(--color-sand-dark);
}

.legend-dot.selected {
  background-color: var(--color-sea-deep);
}

.calendar-updated {
  margin-top: 18px;
  font-size: 0.72rem;
  color: var(--color-text-light);
}

.booking-summary {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 130px;
}

.booking-prompt {
  font-size: 0.95rem;
  color: var(--color-text-light);
  font-weight: 300;
}

.booking-prompt.unavailable-msg {
  color: #9c3a26;
}

.booking-dates {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-sea-deep);
  margin-bottom: 18px;
}

.booking-line {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--color-sand-dark);
  font-size: 0.92rem;
  color: var(--color-text-light);
  font-weight: 300;
}

.booking-line.total {
  color: var(--color-sea-deep);
  font-weight: 500;
  font-size: 1.05rem;
}

.booking-clear {
  margin-top: 16px;
  margin-bottom: 4px;
}

.booking-summary .pricing-note {
  margin-top: 20px;
  text-align: left;
}

.inquiry-form {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--color-sand-dark);
}

.inquiry-form-title {
  font-size: 1.05rem;
  color: var(--color-sea-deep);
  margin-bottom: 20px;
}

.inquiry-form .btn {
  width: 100%;
  text-align: center;
}

.pricing-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 130px;
  text-align: center;
}

.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.pricing-card p {
  color: var(--color-text-light);
  font-size: 0.92rem;
  font-weight: 300;
  margin-bottom: 28px;
}

.pricing-note {
  margin-top: 18px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--color-text-light);
}

.policy-heading {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-sand-dark);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sea-deep);
  text-align: left;
}

.policy-list {
  margin-top: 16px;
  text-align: left;
}

.policy-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--color-sand-dark);
  font-size: 0.85rem;
}

.policy-item:first-child {
  border-top: none;
  padding-top: 0;
}

.policy-item dt {
  color: var(--color-sea-deep);
  font-weight: 500;
  flex: none;
}

.policy-item dd {
  color: var(--color-text-light);
  font-weight: 300;
  text-align: right;
}

/* ===========================================================
   Contact / Availability
   =========================================================== */

.contact-section {
  background-color: var(--color-sea-deep);
  color: var(--color-white);
}

.contact-section h2.section-title,
.contact-section .eyebrow {
  color: var(--color-white);
}

.contact-section p.section-subtitle {
  color: rgba(255, 255, 255, 0.72);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.contact-grid-solo {
  grid-template-columns: 1fr;
  justify-items: center;
}

.contact-grid-solo .host-card {
  max-width: 420px;
  width: 100%;
}

.contact-map {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 320px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sea-deep);
  margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 2px;
  border: none;
  border-bottom: 1px solid var(--color-sand-dark);
  border-radius: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--color-text);
  background-color: transparent;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-sea-deep);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-group .stepper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.form-group .stepper input {
  width: auto;
  flex: 1;
  text-align: center;
  padding: 8px 2px;
  cursor: default;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.stepper input[type="number"] {
  -moz-appearance: textfield;
}

.stepper-btn {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-sand-dark);
  background: none;
  color: var(--color-sea-deep);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.stepper-btn:hover:not(:disabled) {
  background-color: var(--color-sea-mist);
  border-color: var(--color-sea);
}

.stepper-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.form-status {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 400;
  display: none;
}

.form-status.visible {
  display: block;
}

.form-status.success {
  background-color: #e2f4e6;
  color: #276b3b;
}

.form-status.error {
  background-color: #fbe4e0;
  color: #9c3a26;
}

.form-status.sending {
  display: block;
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--color-text-light);
}

.host-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.host-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 20px;
}

.host-name {
  color: var(--color-sea-deep);
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.host-role {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.host-blurb {
  color: var(--color-text-light);
  font-weight: 300;
  margin-bottom: 28px;
}

.host-contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.host-contact-btn {
  display: block;
  padding: 16px 24px;
  border: 1px solid var(--color-sand-dark);
  border-radius: 999px;
  background-color: var(--color-white);
  color: var(--color-sea-deep);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.host-contact-btn:hover {
  background-color: var(--color-sea-mist);
  border-color: var(--color-sea);
}

.host-email-form {
  text-align: left;
}

/* ===========================================================
   Modal (shared: guest-review "read more" dialog)
   =========================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 32, 45, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-dialog {
  position: relative;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 44px;
  max-width: 460px;
  width: 100%;
  max-height: 85vh;
  max-height: 85dvh;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

/* Scrolling is driven entirely by this element's own explicit max-height
   (padding is 44px top + 44px bottom = 88px) rather than by flex-shrink —
   a flex column + min-height:0 child was tried twice and didn't reliably
   become touch-scrollable on real iOS Safari, so this avoids that
   mechanism altogether in favor of a plain, universally-supported
   max-height + overflow-y:auto block. */
.modal-scroll {
  max-height: calc(85vh - 88px);
  max-height: calc(85dvh - 88px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-dialog h3 {
  color: var(--color-sea-deep);
  margin-bottom: 24px;
  padding-right: 24px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  border: none;
  background: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color-text-light);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--color-sea-deep);
}

html.modal-open {
  overflow: hidden;
}

body.modal-open {
  position: fixed;
  left: 0;
  right: 0;
  overflow: hidden;
  /* top offset is set inline in JS to the negative of the scroll position
     being locked in place — see js/reviews.js openModal()/closeModal(). */
}

/* ===========================================================
   Mimice
   =========================================================== */

.mimice-section {
  background-color: var(--color-white);
}

.mimice-distances {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 40px;
  font-size: 0.95rem;
  color: var(--color-sea-deep);
}

.mimice-distances strong {
  font-weight: 500;
}

.mimice-distances .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--color-sea);
}

.mimice-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.mimice-highlight-card {
  background-color: var(--color-stone);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
}

.mimice-highlight-card h3 {
  color: var(--color-sea-deep);
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.mimice-highlight-card p {
  color: var(--color-text-light);
  font-weight: 300;
  font-size: 0.9rem;
}

.mimice-highlight-link {
  margin-top: 16px;
  font-size: 0.72rem;
}

/* ===========================================================
   Footer
   =========================================================== */

.site-footer {
  background-color: #123a52;
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 300;
}

.site-footer .footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-white);
  margin-bottom: 14px;
}

.site-footer p {
  margin-bottom: 6px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--color-white);
  border-color: var(--color-white);
}

.footer-contact .dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  margin: 0 10px;
  vertical-align: middle;
}

.footer-legal-id {
  font-size: 0.72rem;
  opacity: 0.6;
  margin-top: 14px;
}

.footer-links {
  margin-top: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-white);
  border-color: var(--color-white);
}

.footer-links .dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  margin: 0 10px;
  vertical-align: middle;
}

/* ===========================================================
   Legal pages (Privacy Policy, Terms of Use)
   =========================================================== */

.legal-content {
  background-color: var(--color-white);
}

.legal-article {
  max-width: 720px;
  margin: 0 auto;
}

.legal-article h2 {
  font-size: 1.25rem;
  color: var(--color-sea-deep);
  margin-top: 44px;
  margin-bottom: 14px;
}

.legal-article h2:first-child {
  margin-top: 0;
}

.legal-article p {
  color: var(--color-text-light);
  font-weight: 300;
  line-height: 1.75;
}

/* ===========================================================
   Responsive
   =========================================================== */

/* The full-text nav ("Apartman s pogledom na more", etc.) needs real
   room to fit on one line — it wraps well before typical phone/tablet
   breakpoints (including landscape phones up to ~1100px), so the
   mobile drawer kicks in much earlier than other layout changes below. */
@media (max-width: 1180px) {
  .nav-brand {
    font-size: 1.25rem;
    gap: 8px;
    white-space: nowrap;
  }

  .nav-logo-icon {
    height: 22px;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1002;
  }

  /* height is set explicitly (not via top+bottom) because the header uses
     backdrop-filter when scrolled/solid, which makes it a new containing
     block for fixed descendants — bottom:0 would then resolve against the
     header's own (short) box instead of the viewport. */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    width: 78%;
    max-width: 320px;
    background-color: var(--color-stone);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 40px;
    padding-top: max(40px, env(safe-area-inset-top, 0px));
    gap: 30px;
    box-shadow: -10px 0 40px rgba(27, 75, 107, 0.15);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1001;
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    color: var(--color-text) !important;
    font-size: 0.9rem;
    white-space: normal;
  }

  .nav-links .lang-switch {
    color: var(--color-text-light) !important;
    margin-top: 8px;
  }

  .nav-links .lang-toggle {
    color: inherit !important;
  }

  .nav-links .lang-menu {
    left: 0;
    right: auto;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    background-color: rgba(15, 32, 45, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  .nav-backdrop.open {
    opacity: 1;
    visibility: visible;
  }

  html.nav-open,
  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 900px) {
  .units-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .unit-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 16px 16px 32px;
  }

  .unit-card-photo {
    height: 220px;
    margin-bottom: 20px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 48px;
  }

  .feature-card:nth-child(3) {
    border-left: none;
  }

  .unit-details-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .pricing-card {
    position: static;
  }

  .amenities-categories {
    columns: 1;
  }

  .amenity-category {
    margin-bottom: 28px;
  }

  .availability-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .booking-summary {
    position: static;
  }

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

  .mimice-highlights {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(8, 180px);
  }
}

@media (max-width: 720px) {
  section {
    padding: 80px 0;
  }

  .review-card {
    width: 260px;
    padding: 22px;
  }

  .reviews-track-wrap {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
  }

  .gallery-preview {
    grid-template-columns: 1fr;
    grid-template-rows: 260px;
  }

  .gallery-preview-tile:not(:first-child) {
    display: none;
  }

  .gallery-preview-tile:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  .gallery-preview-tile:first-child .gallery-show-all {
    display: inline-block;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 42px;
    height: 42px;
  }

  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }

  .section-header {
    margin-bottom: 48px;
  }

  p.section-subtitle {
    margin-bottom: 48px;
  }

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

  .amenities-list {
    grid-template-columns: 1fr;
  }

  .unit-hero-page {
    padding-top: 160px;
  }

  .calendar-widget,
  .booking-summary {
    padding: 26px;
  }

  .calendar-month-label {
    font-size: 1.1rem;
  }

  /* Only room for one month on narrow screens — the "next" button still
     steps a month at a time, same as the two-month desktop view. */
  .calendar-month-second {
    display: none;
  }

  .calendar-day {
    min-height: 42px;
  }

  .calendar-day .day-price {
    font-size: 0.54rem;
  }
}

@media (max-width: 520px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    text-align: left;
    background-color: var(--color-stone);
    border-left: none;
    border-radius: var(--radius-lg);
    padding: 22px 22px;
  }

  .feature-icon {
    flex: none;
    width: 30px;
    font-size: 1rem;
    margin-bottom: 0;
    padding-top: 3px;
  }

  .mimice-highlights {
    grid-template-columns: 1fr;
  }

  .weather-badge {
    top: 84px;
    right: 16px;
    padding: 7px 14px;
    font-size: 0.78rem;
    gap: 7px;
  }

  .weather-icon svg {
    width: 16px;
    height: 16px;
  }
}
