:root {
  --paper: #f7f2ea;
  --paper-strong: #fffaf3;
  --ink: #2d2b27;
  --muted: #70695f;
  --line: #ddd2c3;
  --olive: #687264;
  --terracotta: #b66a4f;
  --sea: #486f7a;
  --gold: #c49a52;
  --shadow: 0 18px 55px rgba(50, 43, 35, .14);
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

button, input, textarea, select {
  font: inherit;
}

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

.app-shell {
  display: grid;
  grid-template-columns: minmax(320px, 38vw) 1fr;
  min-height: 100vh;
}

.side-panel {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  height: 100vh;
  padding: clamp(22px, 4vw, 52px);
  background: #ede4d7;
  overflow: hidden;
}

.brand-card {
  display: grid;
  gap: 12px;
  max-width: 520px;
}

.logo {
  width: min(180px, 45vw);
  max-height: 95px;
  object-fit: contain;
  object-position: left center;
}

.eyebrow,
.screen-kicker,
.coupon-label {
  margin: 0;
  color: var(--terracotta);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: .98;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.1rem, 7.4vw, 6.8rem);
}

.brand-card p:last-child {
  max-width: 32rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}

.hero-photo {
  flex: 1;
  min-height: 280px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-photo img,
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.quick-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.icon-link,
.back-button,
.print-button,
.booking-form button {
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  cursor: pointer;
}

.icon-link {
  display: grid;
  min-height: 46px;
  place-items: center;
  padding: 0 12px;
  font-weight: 700;
}

.main-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(18px, 3.8vw, 54px);
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding-bottom: 24px;
}

.back-button {
  width: 44px;
  height: 44px;
  font-size: 2rem;
  line-height: 1;
  background: var(--olive);
}

.back-button.is-hidden {
  visibility: hidden;
}

h2 {
  font-size: clamp(2.2rem, 4.6vw, 4.5rem);
}

.language-control {
  display: grid;
  gap: 6px;
  min-width: 148px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.language-buttons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}

.language-buttons button {
  min-width: 38px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 800;
  background: var(--paper-strong);
  cursor: pointer;
}

.language-buttons button.is-active {
  color: #fff;
  border-color: var(--olive);
  background: var(--olive);
}

.home-view,
.detail-view {
  width: min(960px, 100%);
}

.intro-band {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: end;
  padding: 0 0 28px;
  border-bottom: 1px solid var(--line);
}

.intro-band h3 {
  margin-top: 8px;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.intro-band p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 18px);
  padding-top: 28px;
}

.section-tile {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 14px;
  aspect-ratio: 1 / 1;
  min-height: 142px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 12px 16px;
  color: var(--ink);
  background: var(--paper-strong);
  box-shadow: 0 10px 24px rgba(51, 42, 31, .07);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.section-tile:hover,
.section-tile:focus-visible {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
  outline: 0;
}

.tile-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  align-self: center;
  justify-self: center;
  color: var(--olive);
}

.tile-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile-title {
  min-height: 2.6em;
  display: grid;
  place-items: center;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.content-section {
  display: grid;
  gap: 22px;
  animation: show .22s ease both;
}

@keyframes show {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.gallery {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 12px;
  min-height: 360px;
}

.gallery img {
  min-height: 170px;
  border-radius: 8px;
}

.gallery-stack {
  display: grid;
  gap: 12px;
}

.info-grid,
.offer-grid,
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.room-showcase {
  display: grid;
  gap: 18px;
}

.room-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.room-row h4 {
  margin: 0 0 8px;
}

.room-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.room-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.room-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.info-block,
.guide-card,
.booking-form,
.wifi-panel,
.coupon {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--paper-strong);
}

.info-block h4,
.guide-card h4,
.coupon h4 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.info-block p,
.guide-card p,
.coupon p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.list li {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.list li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: .65em;
  border-radius: 999px;
  background: var(--terracotta);
}

.wifi-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.qr-box {
  width: 142px;
  height: 142px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.qr-image,
.qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.booking-form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
}

.field textarea {
  min-height: 98px;
  resize: vertical;
}

.booking-form button,
.print-button {
  min-height: 46px;
  padding: 0 18px;
  font-weight: 800;
  background: var(--sea);
}

.booking-com-button {
  display: grid;
  min-height: 48px;
  place-items: center;
  border-radius: 8px;
  padding: 0 18px;
  color: #fff;
  font-weight: 900;
  background: #003b95;
}

.booking-com-button:hover,
.booking-com-button:focus-visible {
  background: #0057b8;
  outline: 0;
}

.coupon {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  break-inside: avoid;
}

.coupon .print-button {
  grid-column: 1 / -1;
}

.guide-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
}

.guide-link {
  display: inline-grid;
  min-height: 40px;
  align-items: center;
  margin-top: 14px;
  border-radius: 8px;
  padding: 0 14px;
  color: #fff;
  font-size: .86rem;
  font-weight: 800;
  background: var(--olive);
}

.area-faq {
  display: grid;
  gap: 14px;
  padding-top: 8px;
}

.area-faq h3 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.faq-item summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 60px;
  padding: 0 18px;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--olive);
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  inset: 10px 5px auto;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.faq-plus::after {
  transform: rotate(90deg);
}

.faq-item[open] .faq-plus::after {
  transform: rotate(0deg);
}

.faq-body {
  padding: 0 18px 18px;
}

.faq-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: relative;
    height: auto;
    min-height: 42vh;
  }

  .brand-card {
    z-index: 1;
  }

  .hero-photo {
    min-height: 220px;
  }

  .tile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .main-panel {
    padding: 16px;
  }

  .topbar {
    grid-template-columns: auto 1fr;
  }

  .language-control {
    grid-column: 1 / -1;
  }

  .intro-band,
  .gallery,
  .info-grid,
  .offer-grid,
  .guide-grid,
  .room-row,
  .wifi-panel,
  .form-row,
  .coupon,
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-tile {
    min-height: 132px;
  }

  .qr-box {
    justify-self: start;
  }
}

@media print {
  body * {
    visibility: hidden;
  }

  .coupon.is-printing,
  .coupon.is-printing * {
    visibility: visible;
  }

  .coupon.is-printing {
    position: fixed;
    inset: 24mm;
    display: grid;
    width: auto;
    box-shadow: none;
  }

  .coupon.is-printing .print-button {
    display: none;
  }
}
