:root {
  --cream: #f8f2e8;
  --paper: #fffaf3;
  --ink: #26201d;
  --muted: #746961;
  --rust: #a7442f;
  --rust-dark: #783021;
  --terracotta: #c96d4b;
  --teal: #123f43;
  --teal-soft: #dbe9e6;
  --gold: #c49a52;
  --line: rgba(38, 32, 29, 0.15);
  --shadow: 0 18px 50px rgba(45, 31, 24, 0.12);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
  --container: min(1160px, calc(100% - 32px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 5%, rgba(201, 109, 75, 0.08), transparent 28rem),
    var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 14px;
  color: white;
  background: var(--teal);
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.container { width: var(--container); margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

h1, h2, h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  text-wrap: balance;
}
h1 { font-size: clamp(2.8rem, 8vw, 6.6rem); }
h2 { font-size: clamp(2.1rem, 5vw, 4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.85rem); }
p { margin: 0; }
.lead {
  max-width: 65ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 242, 232, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--rust);
  border-radius: 50% 50% 44% 44%;
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.25);
}
.brand-copy { line-height: 1.08; }
.brand-copy strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.08rem;
}
.brand-copy span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--teal);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  width: 20px;
  height: 2px;
  display: block;
  position: relative;
  background: currentColor;
  transition: 180ms ease;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute;
  inset: 74px 16px auto;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.site-nav.is-open { display: block; }
.site-nav ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--rust-dark); background: #f2e3d5; }
.header-contact { display: none; }

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: var(--rust); box-shadow: 0 12px 28px rgba(167, 68, 47, 0.24); }
.btn-primary:hover { background: var(--rust-dark); }
.btn-secondary { color: var(--teal); background: rgba(255, 250, 243, 0.88); border-color: rgba(18, 63, 67, 0.18); }
.btn-text { min-height: 0; padding: 0; color: var(--rust-dark); border-radius: 0; }
.header-contact { display: none; }

.hero {
  min-height: calc(100svh - 74px);
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background: var(--teal);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('../assets/images/victory-square-720.webp');
  background-size: cover;
  background-position: 42% center;
  filter: saturate(0.9) contrast(1.02);
  transform: scale(1.01);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(9, 36, 38, 0.12) 0%, rgba(10, 34, 36, 0.34) 32%, rgba(16, 31, 31, 0.92) 100%),
    linear-gradient(90deg, rgba(67, 23, 16, 0.45), transparent 65%);
}
.hero-content { padding: clamp(90px, 15vw, 180px) 0 clamp(48px, 9vw, 90px); }
.hero .eyebrow { color: #f6c8b9; }
.hero h1 { max-width: 11ch; }
.hero h1 em { color: #f3b79f; font-weight: 400; }
.hero-copy { max-width: 680px; margin-top: 20px; color: rgba(255,255,255,0.86); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  width: fit-content;
  margin-top: 42px;
  padding: 11px 16px;
  color: rgba(255,255,255,0.88);
  background: rgba(8, 34, 36, 0.62);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  backdrop-filter: blur(10px);
}
.hero-note strong { display: block; color: white; }
.hero-note span { font-size: 0.84rem; }
.hero-note .icon { font-size: 1.4rem; }

.section { padding: clamp(70px, 10vw, 130px) 0; }
.section-soft { background: rgba(255, 250, 243, 0.76); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 16px; margin-bottom: 38px; }
.section-head.split { align-items: end; }

.intro-grid { display: grid; gap: 34px; align-items: center; }
.intro-copy { display: grid; gap: 22px; }
.intro-copy .stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat { padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.stat strong { display: block; color: var(--rust); font-family: Georgia, serif; font-size: 1.7rem; }
.stat span { color: var(--muted); font-size: 0.88rem; }
.arch-image {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 120px var(--radius-lg);
  box-shadow: var(--shadow);
}
.arch-image img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.arch-caption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  max-width: 260px;
  padding: 13px 15px;
  color: white;
  background: rgba(18, 63, 67, 0.88);
  border-radius: 12px;
  font-size: 0.86rem;
}

.teaser-grid { display: grid; gap: 18px; }
.teaser-card {
  min-height: 410px;
  display: flex;
  align-items: flex-end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 26px;
  color: white;
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: var(--shadow);
}
.teaser-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--card-image) center / cover no-repeat;
  transition: transform 400ms ease;
}
.teaser-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 22%, rgba(20, 26, 24, 0.9) 100%);
}
.teaser-card--landmarks::before { background-image: url('../assets/images/old-site/temisvarska-opera.jpg'); background-position: center; }
.teaser-card--hotels::before { background-image: url('../assets/images/hotels/casa-del-sole.jpg'); background-position: center; }
.teaser-card--packages::before { background-image: url('../assets/images/old-site/temisvar-jednodnevni-izlet-autobusom.jpg'); background-position: center; }
.teaser-card:hover::before { transform: scale(1.045); }
.teaser-card-content { display: grid; gap: 8px; }
.teaser-card .tag { width: fit-content; padding: 5px 9px; color: #ffe9de; background: rgba(167,68,47,0.82); border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.teaser-card p { color: rgba(255,255,255,0.8); }
.teaser-card .arrow { margin-top: 6px; font-weight: 900; }

.romance-band {
  position: relative;
  overflow: hidden;
  padding: clamp(68px, 11vw, 130px) 0;
  color: white;
  background: var(--rust-dark);
}
.romance-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(66,22,16,0.94), rgba(66,22,16,0.42)), url('../assets/images/rose-park-720.webp') center / cover;
}
.romance-content { max-width: 680px; position: relative; }
.romance-band .eyebrow { color: #ffc2ad; }
.romance-content p { margin-top: 18px; color: rgba(255,255,255,0.83); font-size: 1.1rem; }
.romance-content .btn { margin-top: 26px; }

.page-hero { padding: clamp(80px, 10vw, 130px) 0 56px; }
.page-hero .lead { margin-top: 18px; }
.breadcrumbs { margin-bottom: 20px; color: var(--muted); font-size: 0.86rem; }
.breadcrumbs a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

.hotel-toolbar {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 26px 0 34px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-label { color: var(--muted); font-size: 0.86rem; font-weight: 800; }
.filter-button {
  min-width: 46px;
  min-height: 42px;
  padding: 8px 13px;
  color: var(--teal);
  background: transparent;
  border: 1px solid rgba(18,63,67,0.18);
  border-radius: 999px;
  font-weight: 800;
}
.filter-button:hover,
.filter-button.is-active { color: white; background: var(--teal); border-color: var(--teal); }
.hotel-count { color: var(--muted); font-size: 0.9rem; }

.hotel-grid { display: grid; gap: 22px; }
.hotel-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(38, 32, 29, 0.06);
}
.hotel-card[hidden] { display: none; }
.hotel-photo { aspect-ratio: 16 / 10; overflow: hidden; background: #e8ddd1; }
.hotel-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.hotel-card:hover .hotel-photo img { transform: scale(1.035); }
.hotel-content { display: grid; gap: 13px; padding: 22px; }
.hotel-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.hotel-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hotel-tags span { padding: 6px 10px; color: var(--teal); background: var(--teal-soft); border-radius: 999px; font-size: 0.82rem; font-weight: 700; }
.hotel-gallery { padding: 18px; background: #e8ddd1; }
.hotel-gallery-main { margin: 0; overflow: hidden; border-radius: 18px; aspect-ratio: 16 / 10; background: var(--teal); }
.hotel-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.hotel-gallery-thumbs { display: grid; grid-template-columns: repeat(var(--gallery-thumb-columns, 4), minmax(0, 1fr)); gap: 9px; margin-top: 10px; }
.hotel-gallery-thumbs button { aspect-ratio: 16 / 10; padding: 0; overflow: hidden; background: var(--paper); border: 2px solid transparent; border-radius: 10px; cursor: pointer; }
.hotel-gallery-thumbs button.is-active { border-color: var(--rust); }
.hotel-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.hotel-services { margin-top: 26px; padding: clamp(24px, 4vw, 42px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.hotel-services > div:first-child { margin-bottom: 22px; }
.hotel-services h3, .hotel-services h4 { margin: 0; }
.hotel-services h4 { color: var(--teal); font-size: 1.12rem; }
.hotel-services-grid { display: grid; gap: 14px; }
.hotel-services-grid article { display: grid; gap: 5px; padding: 16px; background: rgba(219, 233, 230, 0.42); border-radius: var(--radius-sm); }
.hotel-services-grid p { color: var(--muted); }
.hotel-stars { flex: 0 0 auto; color: var(--gold); letter-spacing: 0.06em; font-size: 0.9rem; }
.hotel-address { display: flex; gap: 8px; color: var(--rust-dark); font-size: 0.88rem; font-weight: 750; }
.hotel-description { color: var(--muted); }
.hotel-details { display: none; }
.hotel-empty {
  display: none;
  padding: 32px 20px;
  color: var(--muted);
  text-align: center;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
}
.hotel-empty.is-visible { display: block; }
.hotel-more-wrap { display: none; margin-top: 24px; text-align: center; }
.hotel-more-wrap.is-visible { display: block; }
.hotel-info-note { margin-top: 34px; padding: 17px 18px; color: var(--teal); background: var(--teal-soft); border-left: 4px solid var(--teal); border-radius: 8px 14px 14px 8px; }

.timeline { display: grid; gap: 16px; margin-top: 34px; }
.timeline-item { display: grid; grid-template-columns: minmax(120px, 150px) minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.timeline-year { min-width: 0; color: var(--rust); font-family: Georgia, serif; font-size: 1.15rem; font-weight: 700; line-height: 1.35; word-break: normal; overflow-wrap: anywhere; }
.timeline-item > div:last-child { min-width: 0; }
.timeline-item h3 { margin-top: 0; }
.landmark-grid, .package-grid, .contact-grid { display: grid; gap: 20px; }
.landmark-card, .package-card, .contact-card { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.landmark-card { overflow: hidden; padding: 0; }
.landmark-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.landmark-card div { display: grid; gap: 10px; padding: 22px; }
.history-section { padding-block: clamp(58px, 7vw, 88px); }
.history-section .timeline { gap: 12px; margin-top: 26px; }
.history-section .timeline-item { padding: 17px 20px; }
.attraction-directory { padding-block: clamp(66px, 8vw, 96px); }
.directory-group + .directory-group { margin-top: 38px; padding-top: 34px; border-top: 1px solid var(--line); }
.directory-group > h3 { margin-bottom: 18px; font-size: clamp(1.55rem, 3vw, 2.25rem); }
.directory-grid { gap: 16px; }
.directory-grid .landmark-card div { min-height: 100%; padding: 19px; }
.directory-grid .landmark-card p { color: var(--muted); }
.directory-note { margin: 34px 0 0; color: var(--muted); font-size: 0.95rem; }
.card-status { width: fit-content; margin-top: 3px; padding: 7px 11px; color: var(--muted); background: rgba(18, 63, 67, 0.07); border: 1px solid rgba(18, 63, 67, 0.13); border-radius: 999px; font-size: 0.82rem; font-weight: 700; }
.package-card { display: grid; gap: 16px; }
.package-card .btn { width: fit-content; margin-top: auto; }
.package-price { color: var(--rust); font-family: Georgia, serif; font-size: 2rem; font-weight: 700; }
.package-meta { color: var(--muted); }
.package-includes { margin-top: -2px; padding-top: 14px; color: var(--teal); border-top: 1px solid var(--line); font-size: 0.92rem; line-height: 1.55; }
.package-includes strong { color: var(--ink); }
.booking-path { margin-top: clamp(34px, 6vw, 58px); padding-top: clamp(30px, 5vw, 48px); border-top: 1px solid var(--line); }
.booking-steps { display: grid; gap: 14px; margin-top: 28px; }
.booking-step { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 13px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.booking-step > span { grid-row: 1 / span 2; display: grid; width: 42px; height: 42px; place-items: center; color: white; background: var(--teal); border-radius: 50%; font-family: Georgia, serif; font-size: 1.15rem; font-weight: 700; }
.booking-step strong { align-self: end; color: var(--ink); }
.booking-step p { margin-top: 4px; color: var(--muted); font-size: 0.92rem; }
.booking-actions { margin-top: 22px; }
.contact-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.contact-list strong { color: var(--teal); }
.contact-primary-card { align-content: start; }
.contact-primary-card > .lead { max-width: 680px; margin-top: 10px; }
.contact-action-grid { display: grid; gap: 12px; margin-top: 24px; }
.contact-action { display: grid; gap: 5px; padding: 18px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.contact-action:hover { transform: translateY(-2px); border-color: rgba(167, 68, 47, 0.35); box-shadow: 0 12px 28px rgba(38, 32, 29, 0.08); }
.contact-action-kicker { color: var(--rust); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-action strong { color: var(--teal); font-size: 1.15rem; }
.contact-action > span:last-child { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.contact-checklist { margin-top: 24px; padding: 18px; background: var(--teal-soft); border-radius: var(--radius-sm); }
.contact-checklist h3 { margin-top: 0; }
.contact-checklist ul { display: grid; gap: 8px; margin: 12px 0 0; padding-left: 20px; color: var(--muted); }
.contact-note { margin-top: 16px; color: var(--muted); font-size: 0.88rem; }
.form-grid { display: grid; gap: 14px; }
.form-field { display: grid; gap: 7px; }
.form-field label { font-weight: 800; }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: 3px solid rgba(201,109,75,0.2); border-color: var(--terracotta); }
.form-fallback-note { margin-top: 14px; color: var(--muted); font-size: 0.88rem; }

.mobile-action-dock { display: none; }

.site-footer { padding: 54px 0 24px; color: rgba(255,255,255,0.78); background: #102e31; }
.footer-grid { display: grid; gap: 34px; }
.footer-grid h2, .footer-grid h3 { color: white; }
.footer-brand p { max-width: 430px; margin-top: 14px; }
.footer-links { margin: 14px 0 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 8px; }
.footer-links a { text-underline-offset: 4px; }
.footer-bottom { margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 0.84rem; }

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


/* Hotel directory links and category hubs */
.hotel-card-link { display: contents; color: inherit; text-decoration: none; }
.hotel-open-link { width: fit-content; color: var(--rust-dark); font-weight: 800; }
.hotel-card-directory:focus-within { outline: 3px solid rgba(201,109,75,0.28); outline-offset: 3px; }
.hotel-card-directory .hotel-card-link:hover .hotel-open-link { text-decoration: underline; text-underline-offset: 4px; }

.category-grid { display: grid; gap: 18px; }
.category-card {
  min-height: 330px;
  display: flex;
  align-items: flex-end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 26px;
  color: white;
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: var(--shadow);
  background-position: center;
  background-size: cover;
}
.category-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background: inherit; transition: transform 350ms ease; }
.category-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,31,31,0.06) 10%, rgba(16,31,31,0.9) 100%); }
.category-card:hover::before { transform: scale(1.035); }
.category-card--center { background-image: url('../assets/images/old-site/temisvarska-opera.jpg'); }
.category-card--parks { background-image: url('../assets/images/old-site/park-ruza.jpg'); }
.category-card--shopping { background-image: url('../assets/images/old-site/temisvar-iulius-mall.jpg'); }
.category-card > div { display: grid; gap: 9px; position: relative; z-index: 1; }
.category-card h3 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
.category-card p { color: rgba(255,255,255,0.84); }
.category-kicker { width: fit-content; padding: 5px 9px; color: #ffe9de !important; background: rgba(167,68,47,0.84); border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.category-link { margin-top: 4px; font-weight: 900; }
.compact-history { display: grid; gap: 22px; align-items: end; max-width: 980px; }
.compact-history > p { color: var(--muted); font-size: 1.05rem; }
.category-list-grid { align-items: stretch; }
.category-list-card { display: flex; flex-direction: column; }
.category-list-card div { flex: 1; }
.category-list-card h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
.category-list-card .btn { width: fit-content; margin-top: auto; }
.category-back { margin-top: 30px; }

@media (max-width: 699px) {
  body { padding-bottom: 72px; }
  .section { padding: 58px 0; }
  .page-hero { padding: 48px 0 34px; }
  .page-hero h1 { font-size: clamp(2.5rem, 13vw, 4rem); }

  .hero { min-height: 76svh; }
  .hero-content { padding: 84px 0 44px; }
  .hero-note { margin-top: 28px; }

  .intro-copy .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 14px; }
  .arch-image { min-height: 300px; border-radius: 24px 24px 72px 24px; }

  .teaser-card { min-height: 255px; padding: 21px; }
  .teaser-card p { max-width: 30ch; }

  .hotel-toolbar {
    position: sticky;
    top: 74px;
    z-index: 35;
    gap: 10px;
    margin: 0 -16px 16px;
    padding: 12px 16px;
    background: rgba(255, 250, 243, 0.96);
    border-width: 0 0 1px;
    border-radius: 0;
    box-shadow: 0 8px 20px rgba(38, 32, 29, 0.06);
    backdrop-filter: blur(14px);
  }
  .filter-label { display: none; }
  .filter-group {
    flex-wrap: nowrap;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .filter-group::-webkit-scrollbar { display: none; }
  .filter-button { flex: 0 0 auto; min-height: 38px; padding: 7px 13px; }
  .hotel-count { font-size: 0.78rem; }

  .hotel-grid { display: block; }
  .hotel-card {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 13px;
    overflow: visible;
    padding: 14px 0;
    background: transparent;
    border: 0;
    border-bottom: 0.5px solid var(--line);
    border-radius: 0;
    box-shadow: none;
  }
  .hotel-card:first-child { padding-top: 4px; }
  .hotel-card:hover .hotel-photo img { transform: none; }
  .hotel-photo {
    width: 84px;
    height: 84px;
    aspect-ratio: auto;
    border-radius: 10px;
  }
  .hotel-content { min-width: 0; gap: 5px; padding: 0; }
  .hotel-title-row { display: block; min-width: 0; }
  .hotel-title-row h2 { overflow: hidden; font-size: 1.08rem; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
  .hotel-stars { display: block; margin-top: 3px; font-size: 0.76rem; line-height: 1.2; }
  .hotel-address,
  .hotel-description {
    display: block;
    min-width: 0;
    overflow: hidden;
    font-size: 0.78rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .hotel-address span { display: none; }
  .hotel-details { display: block; margin-top: 1px; color: var(--muted); font-size: 0.78rem; }
  .hotel-details summary { width: fit-content; color: var(--rust-dark); cursor: pointer; font-weight: 800; list-style: none; }
  .hotel-details summary::-webkit-details-marker { display: none; }
  .hotel-details summary::after { content: " +"; }
  .hotel-details[open] summary::after { content: " −"; }
  .hotel-details p { margin-top: 7px; line-height: 1.45; }
  .hotel-card[data-load-hidden="true"] { display: none; }
  .hotel-gallery { padding: 0; background: transparent; }
  .hotel-gallery-main { border-radius: 10px; }
  .hotel-gallery-thumbs { display: flex; overflow-x: auto; padding-bottom: 3px; scrollbar-width: thin; }
  .hotel-gallery-thumbs button { flex: 0 0 92px; }


  /* Detail pages keep a large gallery on phones; only directory cards use compact 84px thumbnails. */
  .hotel-detail-card {
    display: block;
    overflow: hidden;
    padding: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(38, 32, 29, 0.06);
  }
  .hotel-detail-card .hotel-gallery { width: 100%; padding: 12px; background: #e8ddd1; }
  .hotel-detail-card .hotel-gallery-main { width: 100%; min-height: 230px; aspect-ratio: 4 / 3; border-radius: 14px; }
  .hotel-detail-card .hotel-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
  .hotel-detail-card .hotel-gallery-thumbs { gap: 8px; margin-top: 9px; }
  .hotel-detail-card .hotel-gallery-thumbs button { flex: 0 0 112px; border-radius: 9px; }
  .hotel-detail-card .hotel-content { gap: 12px; padding: 22px 18px 24px; }
  .hotel-detail-card .hotel-title-row { display: flex; gap: 10px; }
  .hotel-detail-card .hotel-title-row h2 { overflow: visible; font-size: 1.75rem; line-height: 1.08; text-overflow: clip; white-space: normal; }
  .hotel-detail-card .hotel-stars { flex: 0 0 auto; font-size: 0.82rem; }
  .hotel-detail-card .hotel-address,
  .hotel-detail-card .hotel-description { overflow: visible; font-size: 0.92rem; line-height: 1.55; text-overflow: clip; white-space: normal; }
  .hotel-detail-card .hotel-address span { display: inline; }
  .hotel-detail-card .hero-actions { margin-top: 8px; }
  .category-card { min-height: 260px; padding: 22px; }
  .category-card h3 { font-size: 1.9rem; }

  .timeline-item { grid-template-columns: 1fr; gap: 7px; padding: 18px; }
  .timeline-year { font-size: 1.08rem; }
  .package-card, .contact-card { padding: 21px; }

  .mobile-action-dock {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    position: fixed;
    inset: auto 0 0;
    z-index: 60;
    gap: 10px;
    padding: 9px 16px calc(9px + env(safe-area-inset-bottom));
    background: rgba(255, 250, 243, 0.97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px rgba(38, 32, 29, 0.1);
    backdrop-filter: blur(14px);
  }
  .mobile-action-dock .btn { min-height: 46px; padding: 9px 13px; }
}

@media (min-width: 700px) {
  .hero::before { background-image: url('../assets/images/victory-square.webp'); }
  .romance-band::before { background-image: linear-gradient(90deg, rgba(66,22,16,0.94), rgba(66,22,16,0.42)), url('../assets/images/rose-park.webp'); }
  .section-head.split { grid-template-columns: minmax(0, 1fr) minmax(320px, 0.65fr); }
  .teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .teaser-card:first-child { grid-column: span 2; }
  .hotel-toolbar { flex-direction: row; align-items: center; justify-content: space-between; }
  .hotel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hotel-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landmark-grid, .package-grid { grid-template-columns: repeat(3, 1fr); }
  .booking-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .booking-step { grid-template-columns: 42px minmax(0, 1fr); }
  .contact-action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .compact-history { grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr); }
  .contact-grid { grid-template-columns: 0.8fr 1.2fr; }
  .footer-grid { grid-template-columns: 1.4fr 0.7fr 0.9fr; }
}

@media (min-width: 930px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
  .site-nav ul { display: flex; align-items: center; gap: 2px; }
  .site-nav a { padding: 9px 11px; font-size: 0.93rem; }
  .header-contact { display: inline-flex; }
  .intro-grid { grid-template-columns: 0.88fr 1.12fr; gap: 70px; }
  .teaser-grid { grid-template-columns: repeat(3, 1fr); }
  .teaser-card:first-child { grid-column: auto; }
  .hotel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hotel-grid-single { grid-template-columns: minmax(0, 1fr); }
  .hotel-grid-single .hotel-card { display: grid; grid-template-columns: minmax(340px, 0.88fr) minmax(0, 1.12fr); align-items: start; }
  .hotel-grid-single .hotel-gallery { width: 100%; align-self: start; }
  .hotel-grid-single .hotel-photo { height: 100%; aspect-ratio: auto; }
  .hotel-grid-single .hotel-content { align-content: center; padding: clamp(28px, 4vw, 54px); }
  .directory-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .directory-grid-complete { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Booking-style hotel photo gallery: wide mosaic on desktop, edge-to-edge swipe gallery on mobile. */
.booking-gallery {
  position: relative;
  width: 100%;
  padding: 18px;
  background: #e8ddd1;
}
.booking-gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 5px;
  height: clamp(380px, 42vw, 540px);
  overflow: hidden;
  border-radius: 18px;
}
.booking-gallery-item {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #d7cbc0;
  border: 0;
  cursor: zoom-in;
}
.booking-gallery-item-main { grid-row: 1 / 3; }
.booking-gallery-item:nth-child(2) { grid-column: 2 / 4; }
.booking-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease, filter 240ms ease;
}
.booking-gallery-item:hover img { transform: scale(1.025); filter: brightness(0.94); }
.booking-gallery-all {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 9px 12px;
  color: #201b18;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(32,27,24,0.14);
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.14);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}
.booking-gallery-mobile-count { display: none; }

.hotel-gallery-modal[hidden] { display: none; }
.hotel-gallery-modal {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(52px, 90px) minmax(0, 1fr) minmax(52px, 90px);
  align-items: center;
  justify-items: center;
  padding: 28px;
  background: rgba(10, 11, 11, 0.94);
}
.gallery-modal-open { overflow: hidden; }
.hotel-gallery-modal-figure {
  display: grid;
  gap: 12px;
  max-width: min(1200px, 84vw);
  max-height: 90vh;
  margin: 0;
  justify-items: center;
}
.hotel-gallery-modal-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
}
.hotel-gallery-modal-figure figcaption { color: white; font-weight: 700; }
.hotel-gallery-modal-close,
.hotel-gallery-modal-nav {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  color: white;
  background: rgba(255,255,255,0.11);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50%;
  cursor: pointer;
}
.hotel-gallery-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 2rem;
  line-height: 1;
}
.hotel-gallery-modal-nav { font-size: 2.2rem; }
.hotel-gallery-modal-close:hover,
.hotel-gallery-modal-nav:hover { background: rgba(255,255,255,0.2); }

@media (min-width: 930px) {
  .hotel-grid-single .hotel-detail-card {
    display: block;
  }
  .hotel-grid-single .hotel-detail-card .hotel-content {
    padding: clamp(28px, 4vw, 46px);
  }
}

@media (max-width: 699px) {
  .hotel-detail-card .booking-gallery {
    margin: 0;
    padding: 0;
    background: transparent;
  }
  .booking-gallery-grid {
    display: flex;
    height: auto;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }
  .booking-gallery-grid::-webkit-scrollbar { display: none; }
  .booking-gallery-item,
  .booking-gallery-item-main,
  .booking-gallery-item:nth-child(2) {
    flex: 0 0 100%;
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .booking-gallery-item img { object-fit: cover; }
  .booking-gallery-all { display: none; }
  .booking-gallery-mobile-count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: block;
    padding: 6px 9px;
    color: white;
    background: rgba(0,0,0,0.66);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
  }
  .hotel-gallery-modal {
    grid-template-columns: 1fr;
    padding: 54px 12px 22px;
  }
  .hotel-gallery-modal-figure {
    max-width: 100%;
    max-height: 86vh;
  }
  .hotel-gallery-modal-figure img { max-height: 76vh; }
  .hotel-gallery-modal-nav {
    position: absolute;
    top: 50%;
    width: 42px;
    height: 42px;
    transform: translateY(-50%);
  }
  .hotel-gallery-modal-prev { left: 8px; }
  .hotel-gallery-modal-next { right: 8px; }
  .hotel-gallery-modal-close { top: 10px; right: 10px; }
}
