﻿:root {
  --brand: #b65632;
  --brand-strong: #8e3e22;
  --bg: #f6f1ea;
  --card: #fffdf9;
  --text: #1f1b18;
  --muted: #6b635d;
  --line: #d8ccc0;
  --accent: #2c6a5d;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Jost, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

.top-nav {
  width: min(1240px, 94vw);
  margin: 0 auto;
  min-height: 74px;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(246, 241, 234, 0.96);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: Outfit, sans-serif;
  font-size: 0.96rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 42px;
  width: auto;
  flex: 0 0 auto;
}

.brand-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-subtitle {
  margin: 0.12rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.top-nav nav {
  display: flex;
  gap: 0.25rem;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.top-nav nav a {
  text-decoration: none;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.77rem;
  padding: 0.4rem 0.62rem;
  border-bottom: 1px solid transparent;
}

.top-nav nav a.active {
  border-bottom-color: var(--text);
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
}

.lang-switch button {
  border: 0;
  background: #fff;
  color: var(--text);
  padding: 0.28rem 0.48rem;
  min-width: 38px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.67rem;
  cursor: pointer;
}

.lang-switch button + button {
  border-left: 1px solid var(--line);
}

.lang-switch button.active {
  background: var(--text);
  color: #fff;
}

.page-shell {
  width: min(1240px, 94vw);
  margin: 0 auto;
  padding: 1.5rem 0 2.8rem;
  display: grid;
  gap: 1.25rem;
}

.hero-minimal {
  background: var(--card);
  border: 1px solid var(--line);
  padding: clamp(1.15rem, 2.5vw, 2rem);
}

.eyebrow {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

h1 {
  margin: 0.38rem 0 0;
  font-family: Outfit, sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

h2,
h3 {
  margin: 0;
  font-family: Outfit, sans-serif;
  letter-spacing: 0.02em;
}

.hero-minimal p:not(.eyebrow) {
  margin: 0.8rem 0 0;
  max-width: 64ch;
  color: #404040;
}

.bridge-symbol {
  margin-top: 1rem;
  color: var(--brand);
}

.bridge-symbol svg {
  display: block;
  width: min(980px, 100%);
  height: auto;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(300px, 1.05fr);
  gap: 1rem;
}

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

.hero-split .visual-block img {
  min-height: 500px;
}

.highlights-split .visual-block {
  display: flex;
}

.highlights-split .visual-block img {
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
}

.highlights-split .check-list {
  margin-bottom: 0;
}

.text-block.welcome-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.9rem, 3vw, 3rem) clamp(2rem, 3.8vw, 3.6rem);
}

.seo-intro-heading {
  margin: 0.6rem 0 0;
  max-width: 50ch;
  font-family: Outfit, sans-serif;
  font-size: clamp(0.82rem, 1vw, 0.94rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.welcome-block h1 {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.welcome-block p {
  max-width: none;
  margin-top: 1.05rem;
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.86;
  letter-spacing: 0.01em;
  color: #49423c;
  text-align: justify;
  text-justify: inter-word;
  text-wrap: pretty;
}

.long-copy h3 {
  margin-top: 1.2rem;
}

.seo-section-heading {
  margin: 0;
  font-size: clamp(1.12rem, 1.8vw, 1.45rem);
}

.seo-section-copy {
  margin: 0.7rem 0 1.35rem;
  max-width: 78ch;
}

.long-copy p {
  margin: 0.65rem 0 0;
  max-width: 84ch;
  color: var(--muted);
  text-align: justify;
  text-justify: inter-word;
}

.long-copy .check-list {
  margin: 0.78rem 0 1.2rem;
}

.long-copy .check-list li {
  text-align: justify;
  text-justify: inter-word;
}

.long-copy .highlight-line {
  color: var(--text);
  font-weight: 500;
}

#space-details p,
#space-details li {
  max-width: none;
  text-align: justify;
  text-justify: inter-word;
}

.text-block,
.visual-block,
.requirements-minimal,
.card-surface,
.photo-gallery-page {
  background: var(--card);
  border: 1px solid var(--line);
}

.text-block,
.requirements-minimal,
.card-surface {
  padding: 1rem;
}

body[data-page="index"] .text-block,
body[data-page="index"] .requirements-minimal,
body[data-page="index"] .card-surface {
  padding: clamp(1.9rem, 3vw, 3rem) clamp(2rem, 3.8vw, 3.6rem);
}

.text-block p,
.muted {
  color: var(--muted);
}

.visual-block img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.plain-list,
.check-list {
  margin: 0.7rem 0 0;
  padding-left: 1.05rem;
}

.plain-list li,
.check-list li {
  margin-top: 0.42rem;
}

.plain-list li::marker {
  color: #000;
}

.contact-info-list {
  margin-bottom: 1.25rem;
}

.contact-info-list a {
  color: var(--text);
}

.contact-social-title {
  margin: 0;
}

.contact-platform-link {
  display: block;
  margin-top: 0.45rem;
  color: var(--text);
}

.contact-platform-link:last-of-type {
  margin-bottom: 1rem;
}

.contact-prices-title {
  margin: 0;
}

.contact-prices-body {
  margin: 0.45rem 0 1rem;
}

.contact-languages-title {
  margin: 0;
}

.contact-languages-body {
  margin: 0.45rem 0 1rem;
}

.requirements-columns {
  margin-top: 0.82rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  gap: 1rem;
}

#minimum-requirements h2 {
  margin-bottom: 1.9rem;
}

.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.15rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #000;
}

.actions-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.minimal-link,
button.minimal-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--text);
  color: #fff;
  border: 1px solid var(--text);
  padding: 0.5rem 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  cursor: pointer;
}

.photo-gallery-page {
  padding: 1rem;
}

.gallery-top {
  padding: 0.2rem 0 0.3rem;
}

.gallery-top h1 {
  margin: 0;
}

.gallery-top p {
  margin: 0.6rem 0 0;
  max-width: 72ch;
  color: var(--muted);
}

.gallery-content {
  padding: 0;
}

.location-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(420px, 1.2fr) minmax(280px, 0.8fr);
}

.location-map-card {
  padding: 1rem;
}

.location-map-title-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.location-map-title-row h2 {
  margin: 0;
}

.location-edit-hint {
  margin: 0.45rem 0 0.85rem;
}

.location-map {
  width: 100%;
  min-height: 520px;
  border: 1px solid var(--line);
}

.location-google-link {
  margin: 0;
  background: #e7efe9;
  border-color: #c9d8cf;
  color: #264338;
}

.spot-list {
  margin: 0.65rem 0 0;
  padding-left: 1.1rem;
}

.spot-list li {
  margin-top: 0.65rem;
}

.spot-list h3 {
  font-size: 0.95rem;
}

.spot-list p {
  margin: 0.2rem 0 0;
}

.gallery-note {
  margin: 0 0 1rem;
}

.gallery-groups {
  display: grid;
  gap: 1rem;
}

.gallery-group {
  border: 0;
  background: transparent;
  padding: 0;
}

.gallery-group + .gallery-group {
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 0;
}

.gallery-group-header p {
  margin: 0.35rem 0 0;
  max-width: 72ch;
}

.room-frame {
  margin-top: 0.85rem;
  background: #fff;
  border: 0;
  padding: 0.7rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  align-items: stretch;
}

.room-frame.reverse .room-media {
  order: 2;
}

.room-frame.reverse .room-copy {
  order: 1;
}

.room-media {
  display: grid;
  gap: 0.55rem;
  position: relative;
}

.room-nav {
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(20, 20, 20, 0.35);
  backdrop-filter: blur(2px);
  border-radius: 999px;
  color: var(--text);
  width: 32px;
  height: 32px;
  min-width: 0;
  display: inline-grid;
  place-items: center;
  padding: 0;
  font-size: 1.05rem;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
}

.room-controls {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 0.45rem;
  pointer-events: none;
}

.room-nav.prev {
  justify-self: start;
}

.room-nav.next {
  justify-self: end;
}

.room-counter {
  position: absolute;
  left: 50%;
  bottom: 0.65rem;
  transform: translateX(-50%);
  margin: 0;
  text-align: center;
  font-size: 0.74rem;
  min-width: 52px;
  color: #fff;
  background: rgba(15, 15, 15, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
  backdrop-filter: blur(2px);
}

.gallery-media-button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  touch-action: pan-y;
  user-select: none;
}

.gallery-media-button img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.room-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.4rem 0.2rem;
}

.gallery-copy {
  padding: 0.4rem 0;
}

.gallery-copy h3 {
  font-size: 1.03rem;
}

.gallery-copy p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.82);
  padding: 2rem;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox.open {
  display: flex;
}

.gallery-lightbox-content {
  background: #fff;
  border: 1px solid var(--line);
  width: min(1040px, 96vw);
  max-height: 92vh;
  padding: 0.75rem;
  display: grid;
  gap: 0.62rem;
}

.gallery-lightbox-close {
  justify-self: end;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: 0.35rem 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  cursor: pointer;
}

.gallery-lightbox img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  background: #f3f1ed;
}

#lightboxCaption {
  margin: 0;
}

.site-footer {
  width: min(1240px, 94vw);
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  color: #5f5f5f;
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 0.42rem;
}

.social-links a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}

.social-links svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.contact-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(250px, 0.9fr) minmax(300px, 1.1fr);
}

.contact-form-grid {
  display: grid;
  gap: 0.7rem;
}

.contact-form-disabled {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
  display: grid;
  gap: 0.7rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 0.7rem;
}

label {
  display: grid;
  gap: 0.28rem;
  font-size: 0.86rem;
  color: #4a4a4a;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: 0.56rem 0.62rem;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form-disabled :is(input, textarea, button) {
  background: #ececec;
  border-color: #d2d2d2;
  color: #787878;
  cursor: not-allowed;
}

.contact-form-disabled label > span {
  color: #808080;
}

input:focus,
textarea:focus,
button:focus-visible,
.minimal-link:focus-visible,
.top-nav nav a:focus-visible,
.brand-link:focus-visible,
.social-links a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.fade-up {
  animation: fadeUp 560ms ease both;
}

.delay-1 {
  animation-delay: 80ms;
}

.delay-2 {
  animation-delay: 150ms;
}

.delay-3 {
  animation-delay: 210ms;
}

.delay-4 {
  animation-delay: 280ms;
}

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

@media (max-width: 980px) {
  .split-section,
  .requirements-columns,
  .contact-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .welcome-block p {
    font-size: 1rem;
    line-height: 1.75;
  }

  body[data-page="index"] .text-block,
  body[data-page="index"] .requirements-minimal,
  body[data-page="index"] .card-surface {
    padding: 1.55rem 1.35rem;
  }

  .text-block.welcome-block {
    padding: 1.55rem 1.35rem;
  }

  .gallery-media-button img {
    height: 360px;
  }
}

@media (max-width: 680px) {
  .top-nav,
  .site-footer {
    min-height: auto;
    padding: 0.8rem 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .brand-logo {
    height: 36px;
    width: auto;
  }

  .nav-tools {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

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