:root {
  --ink: #17211b;
  --muted: #5f6e64;
  --paper: #f7f4ed;
  --surface: #fffaf0;
  --forest: #244735;
  --moss: #6f8d4f;
  --clay: #b85d3b;
  --sky: #4d7e95;
  --line: rgba(23, 33, 27, 0.14);
  --shadow: 0 18px 50px rgba(23, 33, 27, 0.15);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 10px clamp(18px, 4vw, 54px);
  background: rgba(36, 71, 53, 0.94);
  color: #fff;
  backdrop-filter: blur(14px);
}

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

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-header nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  opacity: 0.9;
}

.site-header nav a.facebook-button {
  padding: 7px 11px;
  border-radius: 8px;
  color: #fff;
  background: #315f9f;
  opacity: 1;
}

.ghost-button,
.admin-actions button,
.tile-tools button,
.primary-button,
.secondary-button,
.tool-button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.ghost-button {
  padding: 10px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 6vw, 86px);
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(23, 33, 27, 0.82), rgba(23, 33, 27, 0.24)), var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
  padding-bottom: 8vh;
}

.eyebrow {
  margin: 0 0 14px;
  color: #f4ce77;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
  word-break: normal;
}

h1 {
  margin: 0;
  font-size: clamp(54px, 10vw, 126px);
  line-height: 0.92;
}

.hero-lead {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
}

.hero-actions,
.section-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  text-decoration: none;
}

.primary-button {
  color: #fff;
  background: var(--clay);
}

.secondary-button {
  color: #17211b;
  background: #f4ce77;
}

.sections {
  margin-top: -8vh;
  position: relative;
  z-index: 2;
}

.page-section {
  padding: clamp(44px, 7vw, 86px) clamp(18px, 5vw, 72px);
  background: var(--paper);
}

.page-section:nth-child(even) {
  background: #edf3ee;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.path-grid,
.stay-grid,
.testimonial-grid,
.fact-grid {
  display: grid;
  gap: 16px;
}

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

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

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

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

.path-card,
.stay-card,
.testimonial,
.fact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(23, 33, 27, 0.04);
}

.path-card {
  min-height: 210px;
  padding: 22px;
  text-decoration: none;
}

.path-card h3,
.stay-card h3,
.testimonial h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.path-card p,
.stay-card p,
.testimonial p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-card {
  display: grid;
  gap: 10px;
}

.contact-symbol {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--forest);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.contact-symbol.whatsapp {
  background: #267d4b;
  font-size: 15px;
}

.contact-symbol.messenger {
  background: #315f9f;
}

.contact-symbol.map {
  background: var(--clay);
}

.stay-card {
  overflow: hidden;
}

.stay-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.stay-body {
  padding: 18px;
}

.stay-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--forest);
  font-size: 12px;
  font-weight: 800;
}

.calendar-layout,
.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.calendar-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  color: #fff;
  background: var(--forest);
}

.calendar-navigation {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.calendar-navigation button {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-weight: 800;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.calendar-weekday {
  min-height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--sky);
  font-size: 12px;
  font-weight: 900;
}

.calendar-cell {
  min-height: 72px;
  padding: 8px;
  background: #fff;
}

.calendar-cell strong {
  display: block;
  margin-bottom: 6px;
}

.calendar-cell.busy {
  background: #f6ddd3;
}

.calendar-cell.available {
  background: #edf7ef;
}

.calendar-cell.past,
.calendar-cell.inactive {
  color: #879188;
  background: #f3f0e8;
}

.calendar-note {
  display: grid;
  gap: 4px;
  padding: 12px 18px;
  color: var(--muted);
  background: #fffaf0;
  font-size: 13px;
  line-height: 1.5;
}

.resource-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.resource-list button {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  padding: 10px 12px;
}

.resource-list button.active {
  color: #fff;
  background: var(--sky);
}

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

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

.schedule-list li {
  padding: 12px 14px;
  border-left: 4px solid var(--clay);
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.gallery-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-grid img:nth-child(1),
.gallery-grid img:nth-child(4) {
  grid-column: span 2;
}

.testimonial {
  padding: 20px;
}

.testimonial blockquote {
  margin: 0;
  color: var(--ink);
  line-height: 1.7;
}

.testimonial cite {
  display: block;
  margin-top: 14px;
  color: var(--clay);
  font-style: normal;
  font-weight: 800;
}

.testimonial-source {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 42px clamp(18px, 5vw, 72px);
  color: #fff;
  background: var(--forest);
}

.footer p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.footer a {
  margin-right: 12px;
  font-weight: 800;
}

.admin-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0;
  color: var(--ink);
  background: #fffaf0;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(23, 33, 27, 0.08);
}

.admin-bar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 40px);
}

.admin-brand {
  color: var(--forest);
  text-decoration: none;
  font-weight: 900;
}

.admin-bar nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.admin-bar nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.admin-bar nav a:hover {
  background: #edf3ee;
}

.admin-bar nav a.active {
  color: #fff;
  background: var(--forest);
}

.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-actions button,
.tile-tools button,
.tool-button {
  min-height: 34px;
  padding: 7px 10px;
  color: #111;
  background: #f4ce77;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
  background: linear-gradient(135deg, #edf3ee, #fffaf0);
}

.login-box {
  width: min(430px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.login-brand {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--forest);
  text-decoration: none;
  font-weight: 900;
}

.login-box h1 {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.1;
}

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

.login-box label {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  font-weight: 800;
}

.login-box input {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.login-error {
  color: #a62e1f !important;
  font-weight: 800;
}

.admin-page {
  min-height: 100vh;
  padding: clamp(44px, 7vw, 86px) clamp(18px, 5vw, 72px);
  background: var(--paper);
}

.admin-page-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.admin-page h1 {
  font-size: clamp(42px, 7vw, 76px);
}

.admin-page p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.admin-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-mode .editable,
.admin-mode [data-editable] {
  outline: 2px dashed rgba(184, 93, 59, 0.55);
  outline-offset: 4px;
}

.admin-mode .page-section,
.admin-mode .path-card,
.admin-mode .stay-card {
  position: relative;
}

.section-tools,
.tile-tools {
  display: none;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.admin-mode .section-tools,
.admin-mode .tile-tools {
  display: flex;
}

.dragging {
  opacity: 0.45;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .path-grid,
  .stay-grid,
  .testimonial-grid,
  .fact-grid,
  .calendar-layout,
  .split-layout,
  .admin-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .admin-bar-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .admin-bar nav {
    justify-content: flex-start;
  }

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

@media (max-width: 560px) {
  .site-header {
    padding: 10px 14px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: 720px;
    padding: 58px 18px;
  }

  .path-card {
    min-height: auto;
  }

  .calendar-cell {
    min-height: 58px;
    font-size: 12px;
  }

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

  .gallery-grid img,
  .gallery-grid img:nth-child(1),
  .gallery-grid img:nth-child(4) {
    grid-column: auto;
  }
}
