
:root {
  --paper: #fbf7ef;
  --paper-deep: #f2efe7;
  --navy: #1f4164;
  --sage: #8fa078;
  --sage-dark: #6f835a;
  --blue-soft: #e3edf0;
  --sand: #d8c8ad;
  --white: #fffdfa;
  --shadow: 0 18px 50px rgba(31,65,100,.12);
  --radius: 24px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--navy);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 70px);
  background: rgba(251,247,239,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31,65,100,.08);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .02em;
}
.brand em {
  font-style: normal;
  color: var(--sage-dark);
}
.brand-mark {
  width: 38px;
  height: 38px;
  border: 2px solid var(--sage);
  border-radius: 50%;
  position: relative;
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: var(--sage);
  border-radius: 99px;
}
.brand-mark::before { width: 22px; height: 2px; left: 8px; top: 18px; transform: rotate(-28deg); }
.brand-mark::after { width: 9px; height: 9px; right: 7px; top: 11px; }

.top-nav { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.top-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: rgba(31,65,100,.84);
}
.top-nav a:hover { color: var(--sage-dark); }

.hero, .guide-hero {
  position: relative;
  overflow: hidden;
  min-height: 74vh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(50px, 8vw, 100px) clamp(24px, 6vw, 90px);
}
.public-hero { padding-top: 70px; }
.guide-hero { min-height: auto; padding-bottom: 60px; }

.drawn-dunes {
  position: absolute;
  inset: auto -10% -45px -10%;
  height: 230px;
  pointer-events: none;
  opacity: .66;
  background:
    radial-gradient(ellipse at 20% 90%, transparent 0 36%, rgba(143,160,120,.35) 37% 38%, transparent 39%),
    radial-gradient(ellipse at 58% 95%, transparent 0 44%, rgba(143,160,120,.28) 45% 46%, transparent 47%),
    radial-gradient(ellipse at 86% 88%, transparent 0 36%, rgba(143,160,120,.22) 37% 38%, transparent 39%);
}
.drawn-dunes::before {
  content: "";
  position: absolute;
  inset: 40px 0 auto 0;
  height: 80px;
  background: repeating-linear-gradient(100deg, transparent 0 34px, rgba(143,160,120,.25) 35px 37px, transparent 38px 58px);
  opacity: .5;
}

.hero-copy, .guide-hero > div { position: relative; z-index: 1; }
.eyebrow {
  color: var(--sage-dark);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 10px;
}
h1, h2, h3 {
  font-family: var(--serif);
  line-height: 1.08;
  color: var(--navy);
  margin: 0;
}
h1 { font-size: clamp(46px, 7vw, 88px); letter-spacing: -.04em; max-width: 760px; }
h2 { font-size: clamp(34px, 4.2vw, 56px); letter-spacing: -.03em; }
h3 { font-size: 24px; margin-bottom: 10px; }
.lead {
  font-size: clamp(18px, 2.2vw, 23px);
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(31,65,100,.82);
}
p { margin-top: 0; }

.button-row {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}
.btn.primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(31,65,100,.18);
}
.btn.secondary {
  background: var(--blue-soft);
  color: var(--navy);
}
.btn:hover { transform: translateY(-1px); }

.framed-photo {
  position: relative;
  margin: 0;
  border-radius: 38px;
  padding: 13px;
  background: rgba(255,255,255,.65);
  box-shadow: var(--shadow);
}
.framed-photo img {
  border-radius: 28px;
  width: 100%;
  height: min(58vh, 560px);
  object-fit: cover;
}

.section {
  padding: clamp(60px, 8vw, 105px) clamp(24px, 6vw, 90px);
}
.section.soft {
  background: linear-gradient(180deg, rgba(227,237,240,.75), rgba(251,247,239,1));
}
.section-head {
  max-width: 860px;
  margin: 0 auto 36px;
  text-align: center;
}
.section-head p:last-child { font-size: 18px; color: rgba(31,65,100,.78); }
.two-col {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.two-col p { font-size: 18px; color: rgba(31,65,100,.82); }

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.photo-grid img,
.stacked-photos img,
.card img {
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(31,65,100,.1);
}
.photo-grid img { height: 220px; width: 100%; }
.photo-grid img:first-child { grid-row: span 2; height: 454px; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card {
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(31,65,100,.08);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 12px 35px rgba(31,65,100,.08);
}
.card img { width: 100%; height: 210px; margin-bottom: 18px; }
.card p { color: rgba(31,65,100,.75); margin-bottom: 0; }

.guest-access {
  background: var(--paper-deep);
}
.login-panel {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 34px;
  background: var(--white);
  border: 1px solid rgba(31,65,100,.09);
  border-radius: 30px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow);
}
.code-form {
  align-self: center;
  background: var(--blue-soft);
  border-radius: 24px;
  padding: 24px;
}
.code-form label {
  display: block;
  font-weight: 800;
  margin-bottom: 10px;
}
.code-row {
  display: flex;
  gap: 10px;
}
input[type="password"] {
  width: 100%;
  border: 1px solid rgba(31,65,100,.18);
  background: white;
  border-radius: 999px;
  padding: 14px 16px;
  color: var(--navy);
  font: inherit;
}
.form-error {
  color: #a33;
  font-weight: 700;
  margin: 12px 0 0;
}
.small-note { font-size: 14px; color: rgba(31,65,100,.66); }

.language-switcher {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 22px 20px;
  background: var(--paper-deep);
  position: sticky;
  top: 75px;
  z-index: 40;
}
.lang-btn {
  border: 1px solid rgba(31,65,100,.14);
  background: rgba(255,255,255,.65);
  color: var(--navy);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}
.lang-btn.active { background: var(--navy); color: white; }
.lang-content { display: none; }
.lang-content.active { display: block; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}
.info-card {
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(31,65,100,.08);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 245px;
  box-shadow: 0 12px 35px rgba(31,65,100,.07);
}
.info-card p { color: rgba(31,65,100,.76); }
.icon {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border: 2px solid var(--sage);
  border-radius: 50%;
  margin-bottom: 14px;
  position: relative;
}
.icon::before, .icon::after {
  content: "";
  position: absolute;
  border-color: var(--sage);
}
.icon.phone::before {
  width: 24px; height: 12px; border: 4px solid var(--sage); border-top: 0; border-radius: 0 0 18px 18px; transform: rotate(-35deg);
}
.icon.wifi::before { width: 26px; height: 26px; border: 3px solid var(--sage); border-bottom: 0; border-left-color: transparent; border-right-color: transparent; border-radius: 50%; top: 14px; }
.icon.wifi::after { width: 8px; height: 8px; background: var(--sage); border-radius: 50%; bottom: 12px; }
.icon.tv::before { width: 28px; height: 18px; border: 3px solid var(--sage); border-radius: 4px; }
.icon.tv::after { width: 18px; height: 3px; background: var(--sage); bottom: 11px; }
.icon.garden::before { width: 22px; height: 14px; border: 3px solid var(--sage); border-radius: 50% 0 50% 50%; transform: rotate(-35deg); left: 12px; top: 18px; }
.icon.garden::after { width: 14px; height: 14px; border: 3px dotted var(--sage); border-radius: 50%; right: 11px; bottom: 12px; }
.icon.cushion::before { width: 26px; height: 20px; border: 3px solid var(--sage); border-radius: 8px; }
.icon.waste::before { width: 22px; height: 24px; border: 3px solid var(--sage); border-top: 0; border-radius: 0 0 4px 4px; bottom: 12px; }
.icon.waste::after { width: 26px; height: 3px; background: var(--sage); top: 16px; }
.address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 22px;
}
.address-grid article {
  background: var(--blue-soft);
  border-radius: var(--radius);
  padding: 28px;
}
.check-list {
  padding: 0;
  list-style: none;
  margin: 22px 0 0;
}
.check-list li {
  margin: 10px 0;
  padding-left: 30px;
  position: relative;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sage-dark);
  font-weight: 900;
}
.stacked-photos {
  display: grid;
  gap: 16px;
}
.stacked-photos img { width: 100%; height: 245px; }

.site-footer {
  padding: 30px clamp(24px, 6vw, 90px);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--navy);
  color: var(--white);
}
.site-footer a { color: var(--white); font-weight: 800; }

@media (max-width: 900px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .top-nav { gap: 12px; }
  .hero, .guide-hero, .two-col, .login-panel { grid-template-columns: 1fr; }
  .framed-photo img { height: 360px; }
  .cards, .info-grid, .address-grid { grid-template-columns: 1fr; }
  .photo-grid img:first-child, .photo-grid img { height: 230px; }
  .language-switcher { top: 112px; overflow-x: auto; justify-content: flex-start; }
}
@media (max-width: 560px) {
  h1 { font-size: 44px; }
  h2 { font-size: 34px; }
  .section { padding-left: 20px; padding-right: 20px; }
  .hero, .guide-hero { padding-left: 20px; padding-right: 20px; }
  .code-row { flex-direction: column; }
  .top-nav a { font-size: 13px; }
}


/* v5: language-specific hero blocks inside the guest guide */
.hero-lang { display: none; }
.hero-lang.active { display: block; }
.hero-lang[hidden] { display: none !important; }


/* v6: guest page header only shows logout */
.guest-nav {
  margin-left: auto;
}
.logout-link {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--blue-soft);
}
.logout-link:hover {
  background: var(--navy);
  color: var(--white);
}
