:root {
  --cream: #faf7f0;
  --cream-2: #f1eadf;
  --green: #244b46;
  --green-2: #183632;
  --copper: #bd623d;
  --gold: #c7802f;
  --ink: #223431;
  --muted: #77736d;
  --line: rgba(36, 75, 70, 0.16);
  --white: #fffdfa;
  --shadow: 0 22px 60px rgba(35, 28, 20, 0.13);
  --heading-font: "Cormorant Garamond", Georgia, serif;
  --body-font: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body-font);
  line-height: 1.7;
}

main {
  display: flex;
  flex-direction: column;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: 0;
}

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

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

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  clip-path: inset(50%) !important;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  height: 102px;
  padding: 0 clamp(28px, 8.7vw, 245px);
  background: rgba(239, 236, 230, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--copper);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 31px;
  font-weight: 600;
  letter-spacing: 3px;
  white-space: nowrap;
}

.brand span {
  width: 1px;
  height: 20px;
  background: rgba(36, 75, 70, 0.25);
}

.brand small {
  color: var(--green);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 2.5vw, 40px);
  color: #363938;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  flex: 1;
}

.nav-links a:hover { color: var(--copper); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-action {
  min-width: 185px;
  border: 1px solid rgba(189, 98, 61, 0.65);
  border-radius: 4px;
  background: transparent;
  color: var(--copper);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.9px;
  padding: 16px 24px;
  text-transform: uppercase;
}

.nav-action span {
  display: none;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 1px solid rgba(36, 75, 70, 0.12);
  padding-left: 20px;
}

.language-switch button {
  border: 0;
  background: transparent;
  color: #77736d;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
}

.language-switch button.active {
  color: var(--copper);
}

.language-switch span {
  color: rgba(119, 115, 109, 0.35);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 102px));
  margin-top: 0;
  display: grid;
  align-items: start;
  justify-items: center;
  overflow: hidden;
  color: white;
  text-align: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1526392060635-9d6019884377?auto=format&fit=crop&w=1800&q=85");
  background-position: center 40%;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 16, 16, 0.58), rgba(15, 18, 18, 0.76)),
    rgba(0, 0, 0, 0.24);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1060px, 92vw);
  padding-top: clamp(158px, 19vh, 210px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.hero .eyebrow { color: #e2a36d; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  padding: 0 38px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.1px;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.recording-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e04437;
  box-shadow: 0 0 0 rgba(224, 68, 55, 0.8);
  animation: recordingBlink 1.35s ease-in-out infinite;
}

@keyframes recordingBlink {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(224, 68, 55, 0.5);
  }
  50% {
    opacity: 0.35;
    box-shadow: 0 0 0 7px rgba(224, 68, 55, 0);
  }
}

.hero h1 {
  font-size: clamp(54px, 5.6vw, 92px);
  font-weight: 600;
  line-height: 0.96;
  white-space: pre-line;
  text-shadow: 0 18px 55px rgba(0,0,0,0.24);
}

.hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 42px auto 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 21px;
  font-weight: 300;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 58px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 17px 42px;
  text-transform: uppercase;
}

.btn.primary {
  background: var(--copper);
  color: white;
  box-shadow: none;
}

.btn.ghost {
  border: 1px solid rgba(255,255,255,0.32);
  background: rgba(0,0,0,0.08);
  color: rgba(255,255,255,0.88);
}

.btn.secondary {
  background: var(--copper);
  color: white;
}

.btn.full { width: 100%; }

.btn-small {
  min-height: 40px;
  padding: 12px 26px;
  font-size: 11px;
}

.btn-medium {
  min-height: 48px;
  padding: 17px 42px;
  font-size: 13px;
}

.btn-large {
  min-height: 58px;
  padding: 20px 54px;
  font-size: 14px;
}

.journey-section,
.section,
.gallery-section,
.availability,
.testimonial {
  padding: clamp(76px, 9vw, 140px) clamp(20px, 7vw, 120px);
}

.journey-section {
  min-height: calc(100vh - 102px);
  padding-top: 22px;
  background: var(--cream);
}

.journey-heading {
  margin: 0 auto 86px;
  text-align: center;
}

.journey-heading h2,
.section-heading h2,
.availability h2,
.testimonial blockquote {
  color: var(--green);
  font-size: clamp(48px, 7vw, 82px);
}

.journey-heading p:last-child,
.section-heading p,
.availability p {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 19px;
}

.boznia-journey {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(54px, 7vw, 116px);
  align-items: center;
  max-width: 1510px;
  margin: 0 auto;
}

.timeline-nav {
  position: relative;
  display: grid;
  gap: 40px;
  justify-content: center;
  padding: 12px 0;
}

.timeline-nav::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 82px;
  width: 2px;
  background: rgba(36, 75, 70, 0.1);
}

.timeline-nav button {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 76px auto;
  align-items: center;
  gap: 24px;
  min-width: 238px;
  border: 0;
  background: transparent;
  color: #333735;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.timeline-nav span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 2px solid #d3852d;
  border-radius: 50%;
  background: var(--cream);
  color: #333735;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.4px;
  transition: 0.25s ease;
}

.timeline-nav strong {
  position: relative;
  width: max-content;
  color: #333735;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.timeline-nav button.active span {
  width: 70px;
  height: 70px;
  margin-left: -6px;
  border: 10px solid rgba(211, 133, 45, 0.22);
  background: #d3852d;
  background-clip: padding-box;
  color: white;
  font-size: 15px;
}

.timeline-nav button.active strong {
  color: white;
  background: #d3852d;
  box-shadow: 12px 0 0 rgba(211, 133, 45, 0.18), -12px 0 0 rgba(211, 133, 45, 0.18);
  padding: 5px 8px;
}

.journey-card {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: clamp(36px, 5vw, 78px);
  align-items: center;
  min-height: 530px;
  border: 1px solid rgba(36, 75, 70, 0.08);
  border-radius: 24px;
  background: rgba(244, 241, 232, 0.86);
  box-shadow: 0 20px 55px rgba(34, 38, 36, 0.14), inset 0 0 60px rgba(36, 75, 70, 0.06);
  padding: clamp(44px, 5vw, 72px);
}

.journey-kicker {
  margin: 0 0 22px;
  color: var(--copper);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.journey-copy h3 {
  max-width: 520px;
  color: var(--green);
  font-size: clamp(44px, 4.2vw, 62px);
  font-weight: 600;
  line-height: 1.02;
}

.journey-copy p:last-child {
  max-width: 490px;
  margin: 24px 0 0;
  color: #6d6d68;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.48;
}

.journey-image {
  margin: 0;
}

.journey-image img {
  display: block;
  width: 100%;
  height: 445px;
  border: 6px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(34, 38, 36, 0.17);
  object-fit: cover;
}

.host-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1fr);
  gap: clamp(60px, 7vw, 92px);
  align-items: center;
  padding: clamp(92px, 10vw, 150px) clamp(24px, 12vw, 260px);
  background: var(--green);
  color: rgba(255, 255, 255, 0.74);
}

.host-portrait-wrap {
  position: relative;
  max-width: 600px;
}

.host-portrait {
  display: block;
  width: 100%;
  height: min(72vh, 760px);
  min-height: 560px;
  border-radius: 16px;
  object-fit: cover;
  filter: brightness(0.74) saturate(0.8);
}

.corner {
  position: absolute;
  z-index: 1;
  width: 60px;
  height: 60px;
  border-color: var(--gold);
}

.corner-top {
  top: -22px;
  left: -22px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.corner-bottom {
  right: -22px;
  bottom: -22px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.host-copy .eyebrow {
  color: var(--gold);
}

.host-copy h2 {
  color: var(--white);
  font-size: clamp(52px, 6vw, 82px);
  font-weight: 600;
}

.host-copy blockquote {
  margin: 30px 0 36px;
  border-left: 4px solid var(--copper);
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 3vw, 42px);
  font-style: italic;
  line-height: 1.25;
  padding-left: 30px;
}

.host-copy p:last-child {
  max-width: 860px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.52;
}

.section-heading {
  margin: 0 auto 64px;
  text-align: center;
}

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

.experience-card {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  border: 1px solid rgba(24, 54, 50, 0.22);
  border-radius: 18px;
  background: #111;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.experience-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  filter: brightness(0.58);
  transform: scale(1.01);
  transition: transform 0.6s, filter 0.6s;
}

.experience-card:hover img {
  filter: brightness(0.72);
  transform: scale(1.06);
}

.experience-card-content {
  position: absolute;
  inset: auto 0 0;
  padding: 38px;
  color: white;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.82));
}

.experience-card .tag,
.story-card .tag {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.experience-card h3 {
  margin-top: 12px;
  font-size: clamp(38px, 4vw, 54px);
}

.experience-card button {
  margin-top: 24px;
  border: 0;
  background: transparent;
  color: #d77b4a;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.experience-editor-open {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: none;
  margin-top: 0 !important;
  border-radius: 999px !important;
  background: #2e82e6 !important;
  color: #fff !important;
  padding: 8px 12px !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

body.editor-preview-mode .experience-editor-open {
  display: inline-flex;
}

.experience-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(14, 18, 17, 0.56);
  padding: 28px;
}

.experience-modal.open {
  display: flex;
}

.experience-modal-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(24px, 3vw, 46px);
  width: min(1160px, 96vw);
  max-height: 92vh;
  overflow: auto;
  border-radius: 22px;
  background: var(--cream);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
  padding: clamp(24px, 4vw, 46px);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(250, 247, 240, 0.92);
  color: var(--green);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.experience-modal-gallery {
  position: relative;
  width: 100%;
  min-height: 470px;
  border-radius: 16px;
  overflow: hidden;
  background: #1d2422;
  box-shadow: 0 18px 42px rgba(36, 75, 70, 0.16);
}

.experience-modal-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: brightness(0.82);
  transform: scale(1.02);
  transition: opacity 1200ms ease, transform 1800ms ease;
}

.experience-modal-gallery img.active {
  opacity: 1;
  transform: scale(1);
}

.experience-modal-gallery::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.52));
}

.experience-photo-count {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.experience-modal-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 12px;
}

.experience-modal-copy h2 {
  color: var(--green);
  font-size: clamp(46px, 5.2vw, 74px);
}

.experience-modal-copy > p:not(.eyebrow) {
  margin: 22px 0 24px;
  color: #5d5b55;
  font-size: 19px;
  line-height: 1.72;
}

.experience-options {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  align-items: end;
  border-top: 1px solid rgba(36, 75, 70, 0.12);
  opacity: 0.78;
  padding-top: 16px;
}

.experience-options label {
  color: rgba(36, 75, 70, 0.78);
}

.experience-options input {
  font-size: 15px;
  padding-bottom: 8px;
}

.experience-actions {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 12px;
  margin: 8px 0 16px;
}

.btn.dark {
  border: 1px solid rgba(36, 75, 70, 0.28);
  color: var(--green);
}

.btn.small {
  min-height: 42px;
  padding: 10px 16px;
}

.community-viewer {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(216, 130, 44, 0.22);
  border-radius: 14px;
  background: rgba(216, 130, 44, 0.08);
  margin: 0 0 18px;
  padding: 18px;
}

.community-viewer h3 {
  color: var(--green);
  font-family: var(--heading-font);
  font-size: 32px;
}

.community-viewer p:not(.eyebrow) {
  margin: 8px 0 0;
  color: #66625b;
  font-size: 15px;
  line-height: 1.55;
}

.community-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.community-actions button {
  border: 1px solid rgba(216, 130, 44, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--copper);
  cursor: pointer;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.community-actions span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.stories-section { background: linear-gradient(180deg, var(--cream), #fffaf3); }

.story-list {
  display: grid;
  gap: 42px;
  max-width: 1460px;
  margin: 0 auto;
}

.story-card {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 54px;
  align-items: center;
  padding: clamp(28px, 4vw, 68px);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.story-card img {
  width: 100%;
  aspect-ratio: 1.15;
  border-radius: 12px;
  object-fit: cover;
}

.story-card h3 {
  margin: 10px 0 18px;
  color: var(--green);
  font-size: clamp(34px, 5vw, 52px);
}

.story-card blockquote {
  margin: 0;
  color: #666;
  font-size: 21px;
  font-style: italic;
}

.story-card footer {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: #aaa19a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 54px;
}

.gallery-filters button {
  min-width: 104px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: #383f3c;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 12px 20px;
}

.gallery-filters button.active {
  background: var(--copper);
  color: white;
  box-shadow: 0 12px 28px rgba(189, 98, 61, 0.22);
}

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

.gallery-edit-item {
  position: relative;
  margin: 0;
}

.gallery-edit-item img {
  width: 100%;
}

.gallery-edit-item figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  border-radius: 999px;
  background: rgba(15, 16, 16, 0.62);
  color: #fff;
  padding: 7px 10px;
  font-family: var(--body-font);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  object-fit: cover;
}

.commitments {
  padding: clamp(86px, 10vw, 150px) clamp(20px, 7vw, 120px);
  background: var(--green);
  color: white;
}

.inverse h2 { color: white; }
.inverse p { color: rgba(255,255,255,0.68); }

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
}

.commitment-grid article {
  min-height: 260px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 44px;
  text-align: center;
  background: rgba(255,255,255,0.035);
}

.commitment-grid span {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 2px;
}

.commitment-grid h3 {
  margin: 18px 0;
  font-size: 36px;
}

.commitment-grid p {
  color: rgba(255,255,255,0.68);
  margin: 0;
}

.availability {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 50px;
  align-items: center;
}

.calendar-card {
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 28px;
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.calendar-head button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  cursor: pointer;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-day {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 48px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #f8f9fa;
  color: #3e4946;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.calendar-day.head {
  background: transparent;
  color: var(--copper);
  font-weight: 800;
}

.calendar-day.available {
  background: rgba(36, 75, 70, 0.11);
  color: var(--green);
  font-weight: 700;
}

.calendar-day.unavailable {
  border-color: rgba(189, 98, 61, 0.34);
  background: rgba(189, 98, 61, 0.14);
  color: #a2472d;
  text-decoration: line-through;
}

.calendar-day.has-event {
  border-color: rgba(216, 130, 44, 0.72);
}

.calendar-day.has-event::before {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper);
  transform: translateX(-50%);
}

.calendar-day.blocked::after {
  content: "×";
  position: absolute;
  right: 5px;
  bottom: 3px;
  color: #a2472d;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.calendar-day:not(.head):hover {
  border-color: var(--green);
  box-shadow: 0 8px 22px rgba(31, 49, 46, 0.14);
  transform: translateY(-2px) scale(1.03);
}

.testimonial {
  text-align: center;
}

.testimonial blockquote {
  max-width: 1120px;
  margin: 0 auto 30px;
  font-style: italic;
}

.contact {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 70px;
  align-items: center;
  padding: clamp(80px, 10vw, 150px) clamp(20px, 8vw, 150px);
  background:
    linear-gradient(rgba(189, 98, 61, 0.78), rgba(189, 98, 61, 0.78)),
    url("https://images.unsplash.com/photo-1587595431973-160d0d94add1?auto=format&fit=crop&w=1800&q=85") center/cover;
  color: white;
}

.dynamic-sections {
  display: contents;
}

.custom-section {
  padding: clamp(76px, 9vw, 130px) clamp(20px, 8vw, 150px);
  background: var(--cream);
}

.custom-section h2 {
  color: var(--green);
  font-size: clamp(46px, 6vw, 76px);
}

.custom-section > p:not(.eyebrow),
.custom-section div > p {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}

.custom-editorial,
.custom-cta,
.custom-faq {
  text-align: center;
}

.custom-editorial > p,
.custom-cta > p,
.custom-faq > p {
  margin-left: auto;
  margin-right: auto;
}

.custom-image-text {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.custom-image-text img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.custom-cta {
  background: var(--green);
  color: white;
}

.custom-cta h2 {
  color: white;
}

.custom-cta p:not(.eyebrow) {
  margin: 20px auto 30px;
  color: rgba(255,255,255,0.72);
}

.faq-list {
  max-width: 850px;
  margin: 38px auto 0;
  display: grid;
  gap: 12px;
  text-align: left;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 18px 22px;
}

.faq-list summary {
  color: var(--green);
  cursor: pointer;
  font-weight: 800;
}

.contact h2 {
  font-size: clamp(48px, 6vw, 78px);
}

.contact-copy p {
  max-width: 640px;
  font-size: 19px;
}

.contact-lines {
  display: grid;
  gap: 14px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.25);
}

.contact-form,
.journey-form {
  display: grid;
  gap: 22px;
}

.contact-form {
  border-radius: 20px;
  background: var(--cream);
  color: var(--green);
  padding: clamp(28px, 5vw, 58px);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

input, textarea, select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: #2e3432;
  outline: none;
  padding: 10px 0 14px;
  font-size: 18px;
  text-transform: none;
}

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

.journey-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  justify-content: flex-end;
  background: rgba(12, 18, 17, 0.38);
}

.journey-drawer.open { display: flex; }

.drawer-panel {
  width: min(520px, 100%);
  overflow: auto;
  background: var(--cream);
  padding: 34px;
  box-shadow: -22px 0 60px rgba(0,0,0,0.22);
}

.drawer-close {
  float: right;
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font-size: 34px;
}

.journey-item {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 14px;
  align-items: center;
  margin: 18px 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.journey-item img {
  width: 84px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
}

.journey-item h3 {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.journey-item p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.journey-item button {
  border: 0;
  background: transparent;
  color: var(--copper);
  cursor: pointer;
  font-size: 20px;
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 70px;
  padding: 70px clamp(20px, 8vw, 150px);
  background: #202020;
  color: #aaa;
}

.footer h2,
.footer h3 {
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 3px;
}

.footer a {
  display: block;
  margin: 10px 0;
}

.admin-body {
  background: #eef0f3;
  color: #263936;
}

.admin-shell {
  display: grid;
  grid-template-columns: 228px minmax(720px, 1fr);
  grid-template-rows: 54px 1fr;
  grid-template-areas:
    "topbar topbar"
    "sidebar preview";
  height: 100vh;
  overflow: hidden;
}

.builder-topbar {
  grid-area: topbar;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: #232631;
  color: white;
  padding: 0 18px;
}

.builder-brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.builder-brand strong {
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  letter-spacing: 2px;
}

.builder-brand span,
.builder-context span {
  color: rgba(255,255,255,0.62);
  font-size: 12px;
  font-weight: 700;
}

.builder-context {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.device-btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.72);
  cursor: pointer;
  font-size: 14px;
}

.device-btn.active,
.device-btn:hover {
  background: rgba(255,255,255,0.16);
  color: white;
}

.admin-sidebar {
  grid-area: sidebar;
  position: relative;
  z-index: 8;
  height: calc(100vh - 54px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-right: 1px solid #d8dde3;
  background: #ffffff;
  color: #263936;
  padding: 20px 16px;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0 0 18px;
  border-bottom: 1px solid #e6e7e8;
}

.admin-brand strong {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #183632;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  letter-spacing: 1px;
}

.admin-nav {
  display: grid;
  gap: 4px;
  overflow: auto;
  padding: 0;
}

.sidebar-section {
  display: grid;
  gap: 12px;
}

.sidebar-section h3 {
  margin: 0;
  color: #6f7476;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.admin-sidebar .sidebar-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #666;
  cursor: pointer;
  padding: 12px 16px;
  box-shadow: none;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  transition: all 0.3s ease;
  margin-bottom: 4px;
}

.admin-sidebar .sidebar-btn .icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 8px;
  background: #f0f2f4;
  color: inherit;
  font-size: 1.2rem;
}

.admin-sidebar .sidebar-btn .label {
  display: inline;
  font-weight: 600;
}

.admin-sidebar .sidebar-btn:hover {
  background: rgba(36, 75, 70, 0.1);
  color: #244b46;
  transform: translateX(4px);
}

.admin-sidebar .sidebar-btn.active {
  background: linear-gradient(135deg, #244b46 0%, #1a3a36 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(36, 75, 70, 0.3);
}

.admin-sidebar .sidebar-btn.active .icon,
.admin-sidebar .sidebar-btn:hover .icon {
  background: rgba(255, 255, 255, 0.16);
  color: inherit;
}

.sidebar-tool {
  display: none;
}

.sidebar-tool.open {
  position: fixed;
  inset: 78px auto auto 310px;
  z-index: 40;
  display: grid;
  width: min(520px, calc(100vw - 340px));
  max-height: calc(100vh - 110px);
  overflow: auto;
  gap: 14px;
  border: 1px solid #e1dfd8;
  border-radius: 16px;
  background: #fffaf3;
  box-shadow: 0 26px 80px rgba(24, 26, 30, 0.24);
  padding: 20px;
}

.sidebar-tool-head {
  position: relative;
  display: grid;
  gap: 4px;
  padding-right: 40px;
}

.modal-close.mini {
  position: absolute;
  top: 0;
  right: 0;
  display: grid !important;
  place-items: center !important;
  width: 30px !important;
  height: 30px !important;
  border: 1px solid #e0d7c9 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--green) !important;
  padding: 0 !important;
}

.sidebar-tool-head strong {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.sidebar-tool-head span,
.sidebar-hint {
  margin: 0;
  color: #77736d;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
}

.sidebar-upload-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  border: 1px dashed rgba(216, 130, 44, 0.42) !important;
  border-radius: 12px !important;
  background: #fff8ef !important;
  color: #a85d2f !important;
  cursor: pointer;
  padding: 12px 13px !important;
  text-align: left;
  font: 800 13px var(--body-font);
  letter-spacing: 0.2px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sidebar-upload-btn b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 9px;
  background: rgba(216, 130, 44, 0.16);
  color: #a85d2f;
  font-size: 16px;
}

.sidebar-upload-btn:hover {
  border-color: rgba(216, 130, 44, 0.72) !important;
  box-shadow: 0 12px 28px rgba(168, 93, 47, 0.12);
  transform: translateY(-1px);
}

.upload-library {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  max-height: 168px;
  overflow: auto;
  padding-right: 2px;
}

.upload-thumb {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #f0eee9;
  cursor: pointer;
  padding: 0 !important;
}

.upload-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-thumb:hover,
.upload-thumb.selected {
  border-color: var(--copper);
}

.sidebar-calendar-head {
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  align-items: center;
  gap: 6px;
}

.sidebar-calendar-head strong {
  text-align: center;
  color: var(--green);
  font-size: 12px;
  text-transform: capitalize;
}

.sidebar-calendar-head button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #e0d7c9 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--green) !important;
  cursor: pointer;
  justify-content: center;
  padding: 7px !important;
  font: 900 16px var(--body-font);
}

.sidebar-calendar-head button:hover {
  border-color: rgba(216, 130, 44, 0.45) !important;
  background: #fff8ef !important;
  color: #a85d2f !important;
}

.sidebar-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.sidebar-calendar span,
.sidebar-calendar button {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  height: 30px;
  border-radius: 9px;
  padding: 0 !important;
  font-size: 11px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.sidebar-calendar span {
  color: #92908a;
  font-weight: 800;
}

.sidebar-calendar button {
  border: 1px solid #e3e4e5 !important;
  background: #f8f9fa !important;
  color: #263936 !important;
  cursor: pointer;
  font-weight: 800;
}

.sidebar-calendar button.available {
  border-color: rgba(36, 75, 70, 0.08) !important;
  background: rgba(36, 75, 70, 0.09) !important;
  color: var(--green) !important;
}

.sidebar-calendar button.unavailable {
  border-color: rgba(189, 98, 61, 0.35) !important;
  background: rgba(189, 98, 61, 0.14) !important;
  color: #a85d2f !important;
  text-decoration: line-through;
}

.sidebar-calendar button.selected {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

.sidebar-calendar button.has-event::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--copper);
  transform: translateX(-50%);
}

.sidebar-calendar button.blocked::after {
  content: "×";
  position: absolute;
  right: 4px;
  bottom: 2px;
  color: #a2472d;
  font-size: 9px;
  font-weight: 900;
}

.sidebar-calendar button:hover {
  border-color: rgba(36, 75, 70, 0.55) !important;
  box-shadow: 0 8px 18px rgba(31, 49, 46, 0.12);
  transform: translateY(-1px) scale(1.04);
}

.calendar-detail {
  display: grid;
  gap: 10px;
  border-top: 1px solid #e4ded4;
  padding-top: 14px;
}

.calendar-detail strong {
  color: var(--green);
}

.calendar-detail label,
.section-popover label {
  display: grid;
  gap: 6px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.calendar-detail input,
.calendar-detail select,
.calendar-detail textarea,
.section-popover input {
  width: 100%;
  border: 1px solid #e3ddd2;
  border-radius: 10px;
  background: #fff;
  color: #263936;
  padding: 10px 11px;
  font: 500 13px var(--body-font);
  text-transform: none;
  letter-spacing: 0;
}

.icon-btn {
  min-width: 42px;
  padding: 10px 12px !important;
}

.icon-btn:disabled {
  opacity: 0.36;
  cursor: not-allowed;
}

.section-popover[hidden] {
  display: none;
}

.section-popover {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: rgba(24, 26, 30, 0.28);
}

.section-popover-card {
  position: relative;
  display: grid;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  gap: 14px;
  border-radius: 18px;
  background: #fffaf3;
  box-shadow: 0 30px 90px rgba(24, 26, 30, 0.32);
  padding: 24px;
}

.section-popover-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-radius: 12px;
  background: #f1eadf;
  padding: 5px;
}

.section-popover-tabs button {
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #5f625f;
  cursor: pointer;
  padding: 10px 12px;
  font: 800 12px var(--body-font);
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.section-popover-tabs button.active {
  background: #fff;
  color: var(--green);
  box-shadow: 0 8px 20px rgba(24, 26, 30, 0.08);
}

.section-popover-panel {
  display: none;
  gap: 12px;
}

.section-popover-panel.active {
  display: grid;
}

.section-popover-panel textarea,
.section-popover-panel select {
  width: 100%;
  border: 1px solid #e3ddd2;
  border-radius: 10px;
  background: #fff;
  color: #263936;
  padding: 10px 11px;
  font: 500 13px var(--body-font);
  text-transform: none;
  letter-spacing: 0;
  resize: vertical;
}

.section-popover-panel small {
  float: right;
  color: #928a7e;
  font-size: 10px;
  font-weight: 800;
}

.color-suggestions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.color-suggestions button {
  width: 34px;
  height: 34px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #ded7ce;
  cursor: pointer;
}

.button-editor-backdrop[hidden] {
  display: none;
}

.button-editor-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: rgba(24, 26, 30, 0.36);
  padding: 24px;
}

.button-editor-modal {
  position: relative;
  width: min(600px, calc(100vw - 48px));
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid #e2ddd4;
  border-radius: 14px;
  background: #fffaf3;
  box-shadow: 0 24px 70px rgba(24, 26, 30, 0.32);
  padding: 32px;
}

.button-editor-modal h3 {
  margin: 4px 0 22px;
  color: var(--green);
  font: 600 32px/1 var(--heading-font);
}

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

.form-group {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.form-group label {
  color: #333;
  font-size: 13px;
  font-weight: 800;
}

.form-group input[type="text"],
.form-group select {
  width: 100%;
  border: 2px solid #e4ded4;
  border-radius: 8px;
  background: #fff;
  color: #263936;
  padding: 11px 12px;
  font: 500 14px var(--body-font);
}

.form-group input[type="text"]:focus,
.form-group select:focus {
  border-color: var(--green);
  outline: none;
}

.form-group input[type="color"] {
  width: 100%;
  height: 46px;
  border: 2px solid #e4ded4;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  padding: 3px;
}

.form-group input[type="range"] {
  width: 100%;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.btn-cancel,
.btn-save {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  padding: 11px 22px;
  font: 800 12px var(--body-font);
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.btn-cancel {
  background: #ece8df;
  color: #263936;
}

.btn-save {
  background: var(--green);
  color: #fff;
}

.section-popover-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.special-editor {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(216, 130, 44, 0.22);
  border-radius: 14px;
  background: rgba(216, 130, 44, 0.07);
  padding: 14px;
}

.special-item-editor {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px solid rgba(36, 75, 70, 0.12);
  padding-top: 12px;
}

.admin-main {
  display: none;
}

.drawer-open .admin-main {
  display: none;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  margin: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 241, 232, 0.95);
  backdrop-filter: blur(14px);
  padding: 22px 22px 18px;
}

.drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(36, 75, 70, 0.14);
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.admin-topbar h2 {
  color: var(--green);
  font-size: 32px;
}

.admin-page-help,
.admin-list-head p,
.admin-card-intro p {
  margin: 7px 0 0;
  color: #77736d;
  font-size: 14px;
  line-height: 1.45;
}

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

.save-status {
  border-radius: 999px;
  background: rgba(36, 75, 70, 0.1);
  color: var(--green);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
}

.save-status.dirty {
  background: rgba(189, 98, 61, 0.14);
  color: var(--copper);
}

.admin-tab { display: none; }
.admin-tab.active {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.admin-editor-card,
.admin-repeat-card {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(36, 75, 70, 0.08);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(35, 28, 20, 0.06);
  padding: 18px;
}

.admin-card-intro,
.admin-list-head,
.repeat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-card-intro {
  align-items: flex-start;
  justify-content: flex-start;
}

.admin-card-intro > span {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(189, 98, 61, 0.12);
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
}

.admin-card-intro h3,
.admin-list-head h3 {
  margin: 0;
  color: var(--green);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.editor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

.editor-grid .wide { grid-column: 1 / -1; }

.field-stack {
  display: grid;
  gap: 18px;
}

.image-editor {
  display: grid;
  gap: 14px;
  align-content: start;
}

.image-editor img,
.repeat-head img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  background: #e9e3d8;
}

.image-editor img {
  max-height: 260px;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
}

.repeat-head {
  justify-content: flex-start;
}

.repeat-head img {
  width: 82px;
  height: 72px;
  flex: 0 0 82px;
}

.repeat-head span {
  display: block;
  color: var(--copper);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.repeat-head strong {
  color: var(--green);
  font-size: 16px;
}

.upload-box {
  display: grid;
  place-items: center;
  min-height: 52px;
  border: 1px dashed rgba(36, 75, 70, 0.32);
  border-radius: 10px;
  background: rgba(36, 75, 70, 0.04);
  color: var(--green);
  cursor: pointer;
  padding: 14px;
  text-align: center;
}

.upload-box.small {
  min-height: 46px;
}

.upload-box input {
  display: none;
}

.admin-main label {
  color: var(--green);
  font-size: 11px;
  letter-spacing: 1.3px;
}

.admin-main input,
.admin-main textarea,
.admin-main select {
  border: 1px solid rgba(36, 75, 70, 0.14);
  border-radius: 8px;
  background: #fffaf4;
  padding: 12px 14px;
  font-size: 15px;
}

.admin-main textarea {
  min-height: 0;
}

.danger {
  width: fit-content;
  border: 0;
  border-radius: 8px;
  background: #b64c3a;
  color: white;
  cursor: pointer;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.empty-state {
  border-radius: 12px;
  background: rgba(36, 75, 70, 0.06);
  color: #77736d;
  padding: 22px;
}

.builder-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(36, 75, 70, 0.08);
  border-radius: 10px;
  background: #fffaf4;
  box-shadow: 0 10px 26px rgba(35, 28, 20, 0.06);
  margin-bottom: 0;
  padding: 18px;
}

.builder-hero h3 {
  color: var(--green);
  font-size: 28px;
}

.builder-hero p:not(.eyebrow) {
  margin: 8px 0 0;
  color: #77736d;
}

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

.style-controls {
  display: grid;
  gap: 14px;
}

.style-controls label {
  display: grid;
  gap: 8px;
}

.style-controls input[type="color"] {
  height: 46px;
  padding: 4px;
}

.block-palette button,
.section-drag button {
  border: 1px solid rgba(36, 75, 70, 0.14);
  border-radius: 8px;
  background: var(--white);
  color: var(--green);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  padding: 12px;
}

.section-builder-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(36, 75, 70, 0.08);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(35, 28, 20, 0.06);
  margin-bottom: 12px;
  padding: 14px;
}

.section-builder-row.paused {
  opacity: 0.58;
}

.section-builder-row strong {
  color: var(--green);
}

.section-builder-row p {
  margin: 2px 0 0;
  color: #77736d;
  font-size: 13px;
}

.section-drag {
  display: grid;
  gap: 6px;
}

.section-drag button:disabled {
  opacity: 0.35;
  cursor: default;
}

.preview-mini {
  margin-left: auto;
  border: 1px solid rgba(189, 98, 61, 0.35);
  border-radius: 8px;
  background: rgba(189, 98, 61, 0.08);
  color: var(--copper);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 10px 12px;
  text-transform: uppercase;
}

.switch {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.switch input {
  width: 18px;
}

.custom-list-head {
  margin-top: 24px;
}

.landing-builder-card .repeat-head p {
  margin: 4px 0 0;
  color: #77736d;
  font-size: 12px;
}

.landing-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(76px, 9vw, 130px) clamp(20px, 8vw, 150px);
  background: var(--cream);
}

.landing-detail h2 {
  color: var(--green);
  font-size: clamp(42px, 5vw, 64px);
}

.landing-detail ul,
.landing-detail ol {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  color: #5f625f;
  font-size: 18px;
  line-height: 1.55;
}

.admin-calendar .calendar-day:not(.head) {
  cursor: pointer;
}

.admin-preview-pane {
  grid-area: preview;
  height: calc(100vh - 54px);
  display: grid;
  grid-template-rows: auto 1fr;
  background: #eef0f3;
  overflow: hidden;
}

.preview-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid #d8dde3;
  background: #ffffff;
  padding: 10px 16px;
}

.preview-copy {
  display: grid;
  gap: 2px;
}

.preview-toolbar strong {
  color: var(--green);
  font-size: 13px;
  letter-spacing: 0.5px;
}

.preview-toolbar span {
  color: #6f7478;
  font-size: 12px;
}

.page-tabs {
  display: flex;
  gap: 6px;
  align-items: center;
}

.page-tabs button {
  border: 1px solid #d8dde3;
  border-radius: 999px;
  background: #fff;
  color: #545b60;
  cursor: pointer;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
}

.page-tabs button.active,
.page-tabs button:hover {
  border-color: rgba(189, 98, 61, 0.35);
  background: #f5eadc;
  color: #a85d2f;
}

.admin-preview-pane iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: white;
  border-radius: 0;
  box-shadow: none;
  justify-self: center;
  align-self: end;
}

body.editor-preview-mode .page-section,
body.editor-preview-mode .custom-section {
  cursor: pointer;
  outline: 0 solid rgba(189, 98, 61, 0);
  outline-offset: -6px;
  transition: outline-color 180ms ease, outline-width 180ms ease;
}

body.editor-preview-mode .page-section:hover,
body.editor-preview-mode .custom-section:hover {
  outline: 2px solid rgba(49, 132, 230, 0.84);
}

body.editor-preview-mode .page-section,
body.editor-preview-mode .custom-section {
  position: relative;
}

.editor-section-toolbar {
  position: absolute;
  z-index: 35;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 6px;
  opacity: 0;
  transition: opacity 160ms ease;
}

body.editor-preview-mode .page-section:hover .editor-section-toolbar,
body.editor-preview-mode .custom-section:hover .editor-section-toolbar,
.editor-section-toolbar:hover {
  opacity: 1;
}

.editor-section-toolbar button {
  border: 1px solid rgba(46, 130, 230, 0.22);
  border-radius: 999px;
  background: #fff;
  color: #2e5f9d;
  cursor: pointer;
  padding: 7px 10px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.editor-section-toolbar button:hover {
  background: #2e82e6;
  color: white;
}

body.editor-preview-mode .editable-text,
body.editor-preview-mode .editable-image {
  position: relative;
  cursor: text;
  border-radius: 4px;
  outline: 0 solid transparent;
  outline-offset: 4px;
}

body.editor-preview-mode .editable-text[contenteditable="true"]:focus {
  outline: 2px solid #2e82e6;
  background: rgba(255, 255, 255, 0.12);
}

body.editor-preview-mode [data-button-key] {
  position: relative;
}

.button-edit-trigger {
  position: absolute;
  z-index: 46;
  top: -11px;
  right: -11px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  min-height: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--copper);
  color: #fff;
  cursor: pointer;
  padding: 0;
  font: 900 13px/1 var(--body-font);
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 10px 24px rgba(24, 26, 30, 0.24);
}

body.editor-preview-mode [data-button-key]:hover > .button-edit-trigger,
body.editor-preview-mode .button-edit-trigger:focus {
  display: flex;
}

body.editor-preview-mode [data-button-key]:hover {
  outline: 2px solid rgba(216, 130, 44, 0.78);
  outline-offset: 4px;
}

body.editor-preview-mode .editable-image {
  cursor: pointer;
}

body.editor-preview-mode .editable-text:hover,
body.editor-preview-mode .editable-image:hover {
  outline: 2px solid #2e82e6;
  background: rgba(46, 130, 230, 0.08);
}

body.editor-preview-mode .editable-text:hover::after,
body.editor-preview-mode .editable-image:hover::after {
  content: attr(data-editor-label);
  position: absolute;
  z-index: 22;
  left: 0;
  bottom: calc(100% + 8px);
  border-radius: 6px;
  background: #2e82e6;
  color: #fff;
  padding: 7px 10px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.editor-insert-section {
  display: block;
  width: fit-content;
  margin: 0 auto;
  transform: translateY(-50%);
  position: relative;
  z-index: 30;
  border: 1px solid rgba(46, 130, 230, 0.35);
  border-radius: 999px;
  background: #fff;
  color: #2e82e6;
  opacity: 0;
  cursor: pointer;
  padding: 8px 14px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(0,0,0,0.14);
  transition: opacity 160ms ease;
}

.page-section:hover + .editor-insert-section,
.custom-section:hover + .editor-insert-section,
.editor-insert-section:hover,
.editor-insert-section:focus {
  opacity: 1;
}

.editor-insert-section::before,
.editor-insert-section::after {
  content: "";
  position: absolute;
  top: 50%;
  width: min(28vw, 260px);
  height: 1px;
  background: rgba(46, 130, 230, 0.38);
}

.editor-insert-section::before {
  right: calc(100% + 12px);
}

.editor-insert-section::after {
  left: calc(100% + 12px);
}

.field-selected {
  border-radius: 10px;
  box-shadow: 0 0 0 3px rgba(46, 130, 230, 0.18);
  background: rgba(46, 130, 230, 0.05);
  padding: 8px;
}

@media (max-width: 1320px) {
  .admin-shell {
    grid-template-columns: 210px minmax(600px, 1fr);
  }
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    top: 0;
    height: auto;
    min-height: 82px;
    padding: 18px 24px;
    gap: 18px;
  }
  .nav-links { display: none; }
  .nav-right {
    margin-left: auto;
    gap: 18px;
  }
  .nav-action {
    min-width: 150px;
    padding: 12px 16px;
    letter-spacing: 1.2px;
  }
  .language-switch {
    gap: 8px;
    padding-left: 14px;
  }
  .hero {
    min-height: 720px;
  }
  .hero-content {
    padding: 150px 24px 80px;
  }
  .experience-grid,
  .commitment-grid,
  .boznia-journey,
  .journey-card,
  .host-section,
  .experience-modal-panel,
  .editor-grid,
  .editor-grid.compact,
  .availability,
    .contact,
    .footer,
    .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-shell {
    grid-template-areas:
      "sidebar"
      "preview";
    height: auto;
    overflow: visible;
  }
  .story-card { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-heading { margin-bottom: 48px; }
  .timeline-nav {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 18px;
    padding-bottom: 18px;
  }
  .timeline-nav::before { display: none; }
  .timeline-nav button {
    grid-template-columns: 58px;
    min-width: 120px;
    justify-items: center;
    text-align: center;
  }
  .timeline-nav button.active strong {
    box-shadow: none;
  }
  .journey-card { min-height: 0; }
  .host-portrait {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }
  .experience-modal-gallery {
    min-height: 320px;
    height: 320px;
  }
  .experience-modal-panel {
    width: min(720px, 96vw);
    max-height: 90vh;
  }
  .experience-actions {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: relative;
    height: auto;
  }
  .admin-main,
  .admin-preview-pane {
    height: auto;
    min-height: 70vh;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 14px 16px;
  }
  .brand {
    flex: 1 1 100%;
    font-size: 22px;
  }
  .nav-right {
    width: 100%;
    justify-content: space-between;
  }
  .nav-action {
    min-width: 0;
    padding: 10px 12px;
    font-size: 11px;
  }
  .language-switch {
    border-left: 0;
    padding-left: 0;
  }
  .hero {
    min-height: 680px;
  }
  .hero-content {
    padding: 120px 18px 70px;
  }
  .hero h1 {
    font-size: clamp(58px, 17vw, 92px);
  }
  .hero p:not(.eyebrow) {
    font-size: 16px;
  }
  .hero-actions {
    grid-template-columns: 1fr;
    width: min(100%, 320px);
  }
  .experience-card { min-height: 430px; }
  .experience-card-content {
    padding: 28px;
  }
  .experience-card h3 {
    font-size: clamp(34px, 12vw, 46px);
  }
  .experience-modal {
    padding: 10px;
  }
  .experience-modal-panel {
    width: 100%;
    max-height: 94vh;
    border-radius: 14px;
    padding: 18px;
  }
  .experience-modal-gallery {
    height: 260px;
    min-height: 260px;
  }
  .experience-modal-copy h2 {
    font-size: clamp(38px, 13vw, 58px);
  }
  .experience-actions,
  .experience-options {
    grid-template-columns: 1fr;
  }
  .gallery-grid { grid-template-columns: 1fr; }
  .admin-topbar,
  .admin-list-head {
    display: grid;
  }
  .admin-actions {
    justify-content: flex-start;
  }
}

/* === POPUP EDITOR STYLES === */
.experience-modal-panel {
  position: relative;
}

.popup-editable {
  cursor: text;
  outline: 1px dashed transparent;
  outline-offset: 5px;
  border-radius: 6px;
  transition: outline-color .2s ease, background-color .2s ease;
}

.popup-editable:hover,
.popup-editable:focus {
  outline-color: rgba(198, 93, 54, .55);
  background: rgba(255, 255, 255, .08);
}

.img-wrap {
  position: relative;
}

.img-wrap img {
  transition: opacity .7s ease;
}

.img-overlay,
.popup-edit-btn,
.fab-btn {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--green);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
  cursor: pointer;
  font: 800 12px/1 var(--sans);
  letter-spacing: .06em;
  opacity: 0;
  padding: 12px 16px;
  pointer-events: none;
  position: absolute;
  text-transform: uppercase;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
  z-index: 25;
}

.img-overlay {
  right: 18px;
  top: 18px;
}

.popup-edit-btn {
  right: 0;
  top: -18px;
}

.fab-btn {
  bottom: 18px;
  left: 50%;
  transform: translate(-50%, 8px);
}

.img-wrap:hover .img-overlay,
#communityViewer:hover .popup-edit-btn,
.experience-modal-panel:hover .fab-btn,
.img-overlay:focus,
.popup-edit-btn:focus,
.fab-btn:focus {
  opacity: 1;
  pointer-events: auto;
}

.img-wrap:hover .img-overlay,
#communityViewer:hover .popup-edit-btn,
.img-overlay:focus,
.popup-edit-btn:focus {
  transform: translateY(0);
}

.experience-modal-panel:hover .fab-btn,
.fab-btn:focus {
  transform: translate(-50%, 0);
}
