:root {
  --forest: #1f6f5b;
  --forest-dark: #164f43;
  --leaf: #6da35d;
  --gold: #d99a2b;
  --clay: #b85c38;
  --sky: #d9edf2;
  --ink: #17211f;
  --muted: #66736f;
  --soft: #f5f7f3;
  --paper: #ffffff;
  --line: #dfe7df;
  --danger: #c24135;
  --success: #168657;
  --shadow: 0 18px 48px rgba(25, 48, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

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

.plain-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 5vw;
  color: #fff;
  background: linear-gradient(180deg, rgba(20, 33, 30, 0.72), rgba(20, 33, 30, 0));
}

.site-nav.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(31, 111, 91, 0.14);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--gold);
  color: #1d1606;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
  font-weight: 700;
}

.nav-cta {
  padding: 9px 16px;
  border-radius: 8px;
  background: var(--gold);
  color: #211604;
}

.hero {
  position: relative;
  min-height: 86vh;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1200ms ease, transform 7000ms linear;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 26, 23, 0.78), rgba(13, 26, 23, 0.34) 52%, rgba(13, 26, 23, 0.18)),
    linear-gradient(0deg, rgba(13, 26, 23, 0.28), rgba(13, 26, 23, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, 90vw);
  margin: 0 auto;
  padding: 120px 0 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: 4rem;
  line-height: 1.08;
  font-weight: 900;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.16rem;
}

.button-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  background: var(--gold);
  color: #211604;
  box-shadow: 0 12px 28px rgba(217, 154, 43, 0.24);
}

.btn-forest {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 12px 28px rgba(31, 111, 91, 0.22);
}

.btn-light {
  background: #fff;
  color: var(--forest-dark);
  border-color: rgba(255, 255, 255, 0.42);
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 780px;
  margin: 40px 0 0;
}

.hero-facts div {
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 14px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
}

.hero-facts dd {
  margin: 2px 0 0;
  font-weight: 900;
}

.section {
  padding: 78px 5vw;
}

.section.alt {
  background: #fff;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head h2,
.form-title,
.admin-title,
.not-found h1 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.18;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: stretch;
}

.image-panel {
  min-height: 420px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.info-list {
  display: grid;
  gap: 14px;
}

.info-item,
.spot-card,
.note-card,
.summary-card,
.booking-form,
.login-box,
.admin-panel,
.table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 38px rgba(25, 48, 38, 0.08);
}

.info-item {
  padding: 22px;
}

.info-item h3,
.spot-card h3,
.note-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.info-item p,
.spot-card p,
.note-card p {
  margin: 0;
  color: var(--muted);
}

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

.spot-card {
  overflow: hidden;
}

.spot-card img {
  height: 210px;
  object-fit: cover;
}

.spot-card-body {
  padding: 20px;
}

.spot-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--clay);
  font-weight: 900;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  counter-reset: day;
}

.timeline-step {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  min-height: 210px;
}

.timeline-step::before {
  counter-increment: day;
  content: "D" counter(day);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 32px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--sky);
  color: var(--forest-dark);
  font-weight: 900;
}

.timeline-step h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

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

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

.note-card {
  padding: 24px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 8px;
  background: #eef4ec;
  color: var(--forest-dark);
  font-weight: 800;
  font-size: 0.9rem;
}

.cta-band {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(22, 79, 67, 0.92), rgba(31, 111, 91, 0.84)),
    url("images/old-city.jpg") center/cover;
}

.cta-band .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-band h2 {
  margin: 0;
  font-size: 2rem;
}

.cta-band p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.footer {
  padding: 32px 5vw;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.fade-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 650ms ease, transform 650ms ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Homepage travel atmosphere ===== */
.home-page {
  background:
    linear-gradient(135deg, rgba(217, 237, 242, 0.72) 0%, rgba(255, 248, 225, 0.9) 34%, rgba(239, 248, 233, 0.95) 68%, rgba(255, 255, 255, 1) 100%);
}

.travel-canvas {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(31, 111, 91, 0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(184, 92, 56, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #fbfff9 0%, #fff7e5 45%, #edf9f9 100%);
  background-size: 34px 34px, 34px 34px, auto;
}

.travel-canvas::before,
.travel-canvas::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 110px;
  pointer-events: none;
  z-index: 0;
  background-image: repeating-linear-gradient(135deg, rgba(217, 154, 43, 0.12) 0 8px, transparent 8px 22px);
}

.travel-canvas::before {
  top: 0;
  clip-path: polygon(0 0, 100% 0, 100% 38%, 0 100%);
}

.travel-canvas::after {
  bottom: 122px;
  opacity: 0.6;
  clip-path: polygon(0 45%, 100% 0, 100% 100%, 0 100%);
}

.travel-canvas > .section,
.travel-canvas > .cta-band {
  position: relative;
  z-index: 1;
}

.intro-journey {
  padding-top: 88px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 250, 232, 0.72)),
    linear-gradient(90deg, rgba(31, 111, 91, 0.06), transparent 36%, rgba(217, 154, 43, 0.07));
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(360px, 1fr);
  gap: 48px;
  align-items: center;
}

.postcard-stack {
  min-height: 520px;
  position: relative;
}

.postcard-card {
  margin: 0;
  position: absolute;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 55px rgba(47, 55, 42, 0.18);
}

.postcard-card img {
  height: 100%;
  object-fit: cover;
}

.postcard-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #fff;
  background: rgba(22, 79, 67, 0.78);
  backdrop-filter: blur(10px);
  font-weight: 800;
  font-size: 0.9rem;
}

.main-photo {
  inset: 0 72px 42px 0;
}

.side-photo {
  right: 0;
  bottom: 0;
  width: 42%;
  height: 46%;
  border-color: #fff7df;
}

.travel-stamp {
  position: absolute;
  right: 28px;
  top: 24px;
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 3px solid rgba(184, 92, 56, 0.8);
  border-radius: 50%;
  color: var(--clay);
  background: rgba(255, 255, 255, 0.76);
  font-weight: 900;
  transform: rotate(9deg);
  box-shadow: 0 14px 28px rgba(184, 92, 56, 0.18);
}

.journey-copy h2 {
  margin: 0;
  font-size: 2.65rem;
  line-height: 1.14;
}

.journey-copy > p:not(.eyebrow) {
  margin: 18px 0 0;
  color: #52645f;
  font-size: 1.05rem;
}

.ticket-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 28px;
  border: 1px solid rgba(217, 154, 43, 0.36);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(100% - 16px), rgba(31, 111, 91, 0.08) calc(100% - 16px)),
    #fffaf0;
  box-shadow: 0 18px 38px rgba(154, 112, 46, 0.12);
}

.ticket-panel::before,
.ticket-panel::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fbfff9;
  border: 1px solid rgba(217, 154, 43, 0.36);
}

.ticket-panel::before {
  left: -12px;
}

.ticket-panel::after {
  right: -12px;
}

.ticket-panel div {
  padding: 22px 18px;
  border-right: 1px dashed rgba(31, 111, 91, 0.25);
}

.ticket-panel div:last-child {
  border-right: 0;
}

.ticket-panel span,
.mood-strip span,
.route-note,
.day-rhythm span {
  display: block;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ticket-panel strong {
  display: block;
  margin-top: 5px;
  color: var(--forest-dark);
  font-size: 1rem;
}

.mood-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}

.mood-strip div {
  min-height: 164px;
  padding: 20px;
  border: 1px solid rgba(31, 111, 91, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 251, 237, 0.78)),
    repeating-linear-gradient(45deg, rgba(31, 111, 91, 0.04) 0 6px, transparent 6px 18px);
  box-shadow: 0 18px 38px rgba(31, 111, 91, 0.08);
}

.mood-strip strong {
  display: block;
  margin-top: 12px;
  font-size: 1.25rem;
}

.mood-strip p {
  margin: 8px 0 0;
  color: var(--muted);
}

.highlight-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(239, 248, 233, 0.84)),
    repeating-linear-gradient(90deg, rgba(217, 154, 43, 0.05) 0 1px, transparent 1px 46px);
}

.postcard-grid {
  gap: 22px;
}

.feature-card {
  position: relative;
  border: 0;
  background: #fff;
  box-shadow: 0 20px 44px rgba(35, 58, 49, 0.12);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 6px;
}

.feature-card img {
  height: 250px;
}

.feature-card:nth-child(4) img {
  object-position: center bottom;
}

.feature-card .spot-card-body {
  position: relative;
  z-index: 2;
  min-height: 250px;
  padding: 22px;
}

.feature-card .spot-card-body::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 46px;
  border-radius: 6px;
  border: 2px dashed rgba(217, 154, 43, 0.55);
  background: rgba(255, 250, 232, 0.72);
}

.mini-tags,
.check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.mini-tags span,
.check-list span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 8px;
  background: #fff3d4;
  color: #744815;
  font-size: 0.82rem;
  font-weight: 900;
}

.experience-section {
  background:
    linear-gradient(135deg, rgba(217, 237, 242, 0.72), rgba(255, 255, 255, 0.92) 44%, rgba(255, 245, 219, 0.86)),
    repeating-linear-gradient(0deg, rgba(31, 111, 91, 0.045) 0 2px, transparent 2px 28px);
}

.experience-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  gap: 24px;
  align-items: stretch;
}

.map-card {
  padding: 34px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(22, 79, 67, 0.92), rgba(31, 111, 91, 0.82)),
    url("images/old-city.jpg") center/cover;
  box-shadow: 0 22px 50px rgba(31, 111, 91, 0.22);
}

.map-card .eyebrow {
  color: #ffe09a;
}

.map-card h2 {
  max-width: 720px;
  margin: 0;
  font-size: 2.1rem;
  line-height: 1.18;
}

.route-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.route-map::before {
  content: "";
  position: absolute;
  left: 42px;
  right: 42px;
  top: 25px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 224, 154, 0.9) 0 12px, transparent 12px 20px);
}

.route-map div {
  position: relative;
  z-index: 1;
  padding-top: 66px;
}

.route-map span {
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 2px solid #ffe09a;
  border-radius: 50%;
  background: var(--forest-dark);
  color: #ffe09a;
  font-weight: 900;
}

.route-map strong {
  display: block;
  font-size: 1.05rem;
}

.route-map p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

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

.experience-grid article {
  padding: 22px;
  border: 1px solid rgba(31, 111, 91, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(33, 61, 51, 0.08);
}

.experience-grid span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--clay);
  font-weight: 900;
}

.experience-grid h3 {
  margin: 16px 0 8px;
  font-size: 1.25rem;
}

.experience-grid p {
  margin: 0;
  color: var(--muted);
}

.route-section {
  background:
    linear-gradient(180deg, #fff 0%, #f4fbf4 100%),
    repeating-linear-gradient(135deg, rgba(184, 92, 56, 0.04) 0 8px, transparent 8px 20px);
}

.route-board {
  position: relative;
}

.route-board::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 55px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--leaf), var(--clay));
  opacity: 0.36;
}

.route-board .timeline-step {
  min-height: 245px;
  box-shadow: 0 18px 36px rgba(31, 111, 91, 0.08);
}

.route-board .timeline-step::before {
  position: relative;
  z-index: 1;
  background: #fff3d4;
  color: #744815;
}

.route-note {
  margin-top: 16px;
  color: var(--forest);
}

.day-rhythm {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.day-rhythm div {
  padding: 22px;
  border-radius: 8px;
  color: #20362f;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 245, 219, 0.82)),
    repeating-linear-gradient(90deg, rgba(217, 154, 43, 0.09) 0 4px, transparent 4px 16px);
  border: 1px solid rgba(217, 154, 43, 0.24);
}

.day-rhythm strong {
  display: block;
  margin-top: 6px;
  font-size: 1.15rem;
}

.day-rhythm p {
  margin: 8px 0 0;
  color: var(--muted);
}

.notice-section {
  background:
    linear-gradient(135deg, rgba(255, 248, 225, 0.96), rgba(237, 249, 249, 0.9)),
    repeating-linear-gradient(45deg, rgba(31, 111, 91, 0.05) 0 2px, transparent 2px 28px);
}

.travel-notes .note-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fff, #fffaf0);
}

.travel-notes .note-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--forest), var(--gold), var(--clay));
}

/* ===== Refined image-led homepage ===== */
.refined-home {
  background:
    repeating-linear-gradient(45deg, rgba(217, 154, 43, 0.055) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(135deg, rgba(31, 111, 91, 0.045) 0 1px, transparent 1px 34px),
    linear-gradient(90deg, rgba(31, 111, 91, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(184, 92, 56, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #fffaf0 0%, #f5fbf2 45%, #eef8f7 100%);
  background-size: auto, auto, 38px 38px, 38px 38px, auto;
}

.refined-home::before {
  height: 150px;
  background:
    repeating-linear-gradient(45deg, rgba(217, 154, 43, 0.09) 0 10px, transparent 10px 26px);
  clip-path: polygon(0 0, 100% 0, 100% 28%, 0 100%);
}

.refined-home::after {
  display: none;
}

.atmosphere-section {
  padding-top: 92px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 249, 231, 0.55)),
    repeating-linear-gradient(135deg, rgba(31, 111, 91, 0.035) 0 2px, transparent 2px 32px);
}

.atmosphere-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.86fr) minmax(460px, 1.14fr);
  gap: 48px;
  align-items: center;
}

.atmosphere-copy h2 {
  margin: 0;
  font-size: 3rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.atmosphere-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 20px 0 0;
  color: #52645f;
  font-size: 1.08rem;
}

.quiet-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.quiet-facts span {
  padding: 9px 13px;
  border: 1px solid rgba(31, 111, 91, 0.18);
  border-radius: 8px;
  color: var(--forest-dark);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.editorial-collage {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  grid-template-rows: 290px 230px;
  gap: 16px;
}

.editorial-collage figure,
.travel-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 48px rgba(31, 56, 48, 0.14);
}

.editorial-collage img,
.travel-gallery img {
  height: 100%;
  object-fit: cover;
}

.editorial-collage figcaption,
.travel-gallery figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: max-content;
  max-width: calc(100% - 28px);
  padding: 9px 12px;
  border-radius: 8px;
  color: #fff;
  background: rgba(22, 79, 67, 0.74);
  backdrop-filter: blur(12px);
  font-weight: 900;
}

.travel-gallery figcaption span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
}

.collage-large {
  grid-row: 1 / 3;
}

.collage-tall {
  grid-column: 2;
  grid-row: 1;
}

.collage-wide {
  grid-column: 2;
  grid-row: 2;
}

.gallery-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(238, 248, 247, 0.72)),
    repeating-linear-gradient(90deg, rgba(217, 154, 43, 0.05) 0 1px, transparent 1px 56px);
}

.travel-gallery {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 16px;
}

.travel-gallery .gallery-feature {
  grid-row: span 2;
}

.gallery-feature figcaption {
  width: auto;
}

.chiangmai-showcase-section {
  background:
    linear-gradient(180deg, rgba(238, 248, 247, 0.84), rgba(255, 250, 232, 0.86)),
    repeating-linear-gradient(45deg, rgba(217, 154, 43, 0.055) 0 1px, transparent 1px 30px);
}

.chiangmai-showcase {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 16px;
}

.showcase-card {
  position: relative;
  grid-column: span 3;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #e8efe8;
  box-shadow: 0 22px 48px rgba(31, 56, 48, 0.13);
}

.showcase-card.is-wide {
  grid-column: span 6;
  grid-row: span 2;
}

.showcase-card.is-tall {
  grid-column: span 3;
  grid-row: span 2;
}

.showcase-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 800ms ease;
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background: linear-gradient(180deg, transparent, rgba(13, 48, 40, 0.82));
}

.showcase-card:hover img {
  transform: scale(1.045);
}

.showcase-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  color: #fff;
}

.showcase-card strong,
.showcase-card span {
  display: block;
}

.showcase-card strong {
  margin-bottom: 5px;
  color: #ffd56d;
  font-size: 1.05rem;
  font-weight: 900;
}

.showcase-card span {
  max-width: 470px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.route-section {
  background:
    linear-gradient(180deg, rgba(255, 250, 232, 0.84), rgba(255, 255, 255, 0.92)),
    repeating-linear-gradient(135deg, rgba(31, 111, 91, 0.04) 0 8px, transparent 8px 30px);
}

.route-clean {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.route-clean article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(31, 111, 91, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 36px rgba(31, 56, 48, 0.08);
}

.route-clean span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 32px;
  border-radius: 8px;
  color: #70460f;
  background: #ffe3a3;
  font-weight: 900;
}

.route-clean h3 {
  margin: 20px 0 8px;
  font-size: 1.15rem;
}

.route-clean p {
  margin: 0;
  color: var(--muted);
}

.compact-notice {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(420px, 1.25fr);
  gap: 36px;
  align-items: start;
}

.notice-copy h2 {
  margin: 0;
  font-size: 2.35rem;
  line-height: 1.16;
}

.clean-notes .note-card {
  min-height: 180px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.82);
}

.clean-notes .note-card::before {
  display: none;
}

.booking-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(245, 247, 243, 0.95), rgba(245, 247, 243, 0.78)),
    url("images/lanna-house.jpg") center/cover fixed;
}

.booking-shell {
  width: min(980px, 92vw);
  margin: 0 auto;
  padding: 38px 0 72px;
}

.form-header {
  color: var(--ink);
  margin-bottom: 22px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--forest-dark);
  text-decoration: none;
  font-weight: 800;
}

.form-subtitle {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
}

.booking-form {
  padding: 30px;
}

.form-section {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.form-section:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.form-section h2 {
  margin: 0 0 18px;
  font-size: 1.35rem;
}

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

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #26332f;
  font-weight: 800;
}

.required {
  color: var(--danger);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd9d1;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(31, 111, 91, 0.14);
}

.field-hint {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.file-drop-area {
  border: 1.5px dashed #9db49d;
  border-radius: 8px;
  padding: 26px;
  text-align: center;
  background: #f8fbf6;
  cursor: pointer;
}

.file-drop-area.is-active {
  border-color: var(--forest);
  background: #eef7ee;
}

.file-title {
  margin: 0;
  color: var(--forest-dark);
  font-weight: 900;
}

.file-msg {
  margin: 6px 0 0;
  color: var(--muted);
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 28px;
}

.btn-reset {
  background: #fff;
  color: var(--forest-dark);
  border-color: var(--line);
}

.status-box {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #fff6e7;
  color: #7a4a10;
  border: 1px solid #f0d49a;
}

.status-box.is-visible {
  display: block;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 18, 16, 0.72);
  backdrop-filter: blur(10px);
}

.modal-overlay.is-visible {
  display: flex;
}

.modal {
  width: min(440px, 100%);
  padding: 30px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.modal h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.modal p {
  margin: 0;
  color: var(--muted);
}

.admin-body {
  min-height: 100vh;
  background: #eef4ef;
}

.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(15, 31, 28, 0.88), rgba(15, 31, 28, 0.72)),
    url("images/chiangmai-hero.jpg") center/cover;
}

.login-overlay.is-hidden {
  display: none;
}

.login-box {
  width: min(420px, 100%);
  padding: 30px;
}

.login-box h1 {
  margin: 0;
  font-size: 1.7rem;
}

.login-box p {
  color: var(--muted);
}

.login-error {
  min-height: 22px;
  color: var(--danger);
  font-weight: 800;
  margin-top: 12px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  padding: 28px 22px;
  color: #fff;
  background: var(--forest-dark);
}

.admin-sidebar .brand {
  margin-bottom: 32px;
}

.admin-menu {
  display: grid;
  gap: 8px;
}

.admin-menu a {
  padding: 12px 14px;
  border-radius: 8px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.admin-main {
  padding: 34px;
}

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

.admin-header p {
  margin: 8px 0 0;
  color: var(--muted);
}

.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.summary-card {
  padding: 18px;
}

.summary-label {
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
}

.summary-value {
  margin-top: 4px;
  font-size: 2rem;
  font-weight: 900;
  color: var(--forest-dark);
}

.admin-panel {
  padding: 18px;
  margin-bottom: 16px;
}

.filters {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 12px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: #43504b;
  background: #f7faf7;
  font-size: 0.9rem;
}

td {
  color: #26332f;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 0.82rem;
  background: #e7f1e7;
  color: var(--forest-dark);
}

.badge.warn {
  background: #fff1dc;
  color: #8a4d0f;
}

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

.danger-link {
  color: var(--danger);
  background: #fff;
  border-color: #e9c4bf;
}

.small-btn {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 0.88rem;
}

.photo-thumb {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.empty-state {
  padding: 40px;
  text-align: center;
  color: var(--muted);
}

.not-found {
  width: min(620px, 100%);
  padding: 42px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

@media (max-width: 1040px) {
  .intro-layout,
  .atmosphere-layout,
  .experience-layout {
    grid-template-columns: 1fr;
  }

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

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

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

  .travel-gallery .gallery-feature {
    grid-column: span 2;
  }

  .chiangmai-showcase {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .showcase-card,
  .showcase-card.is-tall {
    grid-column: span 3;
  }

  .showcase-card.is-wide {
    grid-column: span 6;
  }

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

  .compact-notice {
    grid-template-columns: 1fr;
  }

  .route-map::before {
    display: none;
  }

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

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

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

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

@media (max-width: 760px) {
  .site-nav {
    position: absolute;
    padding: 14px 18px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: 82vh;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-facts,
  .section-head,
  .intro-grid,
  .intro-layout,
  .atmosphere-layout,
  .ticket-panel,
  .mood-strip,
  .experience-layout,
  .experience-grid,
  .travel-gallery,
  .route-clean,
  .compact-notice,
  .route-map,
  .day-rhythm,
  .form-row,
  .filters,
  .cta-band .section-inner {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 18px;
  }

  .intro-journey {
    padding-top: 56px;
  }

  .section-head h2,
  .form-title,
  .admin-title {
    font-size: 1.85rem;
  }

  .journey-copy h2,
  .atmosphere-copy h2,
  .notice-copy h2,
  .map-card h2 {
    font-size: 1.9rem;
  }

  .atmosphere-section {
    padding-top: 56px;
  }

  .editorial-collage {
    grid-template-columns: 1fr;
    grid-template-rows: 260px 220px 220px;
  }

  .collage-large,
  .collage-tall,
  .collage-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .travel-gallery {
    grid-auto-rows: 230px;
  }

  .travel-gallery .gallery-feature {
    grid-column: auto;
    grid-row: auto;
  }

  .chiangmai-showcase {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .showcase-card,
  .showcase-card.is-wide,
  .showcase-card.is-tall {
    grid-column: auto;
    grid-row: auto;
  }

  .route-clean article {
    min-height: auto;
  }

  .postcard-stack {
    min-height: 430px;
  }

  .main-photo {
    inset: 0 34px 70px 0;
  }

  .side-photo {
    width: 52%;
    height: 42%;
  }

  .travel-stamp {
    width: 78px;
    height: 78px;
    right: 10px;
    top: 12px;
  }

  .ticket-panel div {
    border-right: 0;
    border-bottom: 1px dashed rgba(31, 111, 91, 0.25);
  }

  .ticket-panel div:last-child {
    border-bottom: 0;
  }

  .route-map div {
    padding-top: 58px;
  }

  .route-board::before {
    display: none;
  }

  .spot-grid,
  .timeline,
  .note-grid,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .image-panel {
    min-height: 260px;
  }

  .booking-shell {
    width: auto;
    padding: 24px 16px 56px;
  }

  .booking-form {
    padding: 20px;
  }

  .form-actions,
  .admin-header,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .admin-main {
    padding: 18px;
  }
}
