/* Guest page: used by the real guest page and by the phone preview in the app. */
.g { --acc: #2f5d50; --acc-soft: #e7efec; color: #1f1d1a; background: #faf8f5; min-height: 100%; font-size: 15px; line-height: 1.5; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.g * { box-sizing: border-box; }
.g button { font: inherit; cursor: pointer; }
.g-hero { background: var(--acc); color: #fff; padding: 34px 22px 26px; }
.g-hero .hello { opacity: .85; font-size: 14px; margin: 0 0 4px; }
.g-hero h1 { margin: 0; font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; }
.g-hero .welcome { margin: 12px 0 0; opacity: .92; white-space: pre-line; }
.g-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; padding: 16px 16px 4px; }
.g-chip.wide { grid-column: 1 / -1; }
.g-chip { background: #fff; border: 1px solid #ebe5dc; border-radius: 14px; padding: 12px 14px; text-align: left; color: inherit; min-width: 0; }
.g-chip .k { font-size: 12px; color: #776f65; }
.g-chip .v { font-weight: 700; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-nav { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px 4px; scrollbar-width: none; }
.g-nav::-webkit-scrollbar { display: none; }
.g-nav button { flex: none; border: 1px solid #e3dcd1; background: #fff; border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 600; color: #3b3732; }
.g-card { background: #fff; border: 1px solid #ebe5dc; border-radius: 18px; margin: 12px 16px; padding: 18px; scroll-margin-top: 12px; }
.g-card h2 { display: flex; align-items: center; gap: 10px; font-size: 17px; margin: 0 0 10px; }
.g-ico { width: 32px; height: 32px; border-radius: 10px; background: var(--acc-soft); color: var(--acc); display: grid; place-items: center; flex: none; }
.g-ico svg { width: 18px; height: 18px; }
.g-card p { margin: 0 0 8px; white-space: pre-line; }
.g-card p:last-child { margin-bottom: 0; }
.g-sub { font-weight: 700; font-size: 14px; margin: 12px 0 2px; }
.g-card h2 + .g-sub { margin-top: 0; }
.g-wifi { display: grid; gap: 8px; }
.g-wifi .line { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #f7f4ef; border-radius: 12px; padding: 10px 12px; }
.g-wifi .line .k { font-size: 12px; color: #776f65; }
.g-wifi .line .v { font-weight: 700; word-break: break-all; }
.g-copy { border: none; background: var(--acc); color: #fff; border-radius: 9px; padding: 7px 11px; font-size: 13px; font-weight: 600; flex: none; }
.g-acc { border-top: 1px solid #f0ebe3; }
.g-acc:first-of-type { border-top: none; }
.g-acc summary { list-style: none; cursor: pointer; padding: 11px 0; font-weight: 650; display: flex; justify-content: space-between; gap: 12px; }
.g-acc summary::-webkit-details-marker { display: none; }
.g-acc summary::after { content: "+"; color: var(--acc); font-weight: 700; }
.g-acc[open] summary::after { content: "–"; }
.g-acc p { padding-bottom: 10px; }
.g-ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.g-ul li { display: flex; gap: 10px; }
.g-ul li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); margin-top: 8px; flex: none; }
.g-check li::before { content: "✓"; width: auto; height: auto; background: none; color: var(--acc); font-weight: 800; margin-top: 0; }
.g-tip { padding: 10px 0; border-top: 1px solid #f0ebe3; }
.g-tip:first-of-type { border-top: none; padding-top: 0; }
.g-tip .t { font-weight: 700; }
.g-tip .c { font-size: 12px; color: #776f65; text-transform: uppercase; letter-spacing: .04em; }
.g-link { color: var(--acc); font-weight: 650; text-decoration: none; font-size: 14px; }
.g-contact { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.g-contact a { background: var(--acc); color: #fff; text-decoration: none; padding: 10px 14px; border-radius: 12px; font-weight: 650; font-size: 14px; }
.g-contact a.alt { background: var(--acc-soft); color: var(--acc); }
.g-foot { text-align: center; color: #9a9289; font-size: 12px; padding: 18px 16px 30px; }
.g-empty { padding: 60px 28px; text-align: center; color: #776f65; }

body.guest-mode { margin: 0; background: #faf8f5; }
body.guest-mode .g { max-width: 560px; margin: 0 auto; min-height: 100vh; }

/* ---- photos, video, extras, emergency, reviews ---- */
.g-hero { position: relative; }
.g-hero.has-cover { background-size: cover; background-position: center; min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.g-logo { position: absolute; top: 16px; left: 18px; max-height: 44px; max-width: 140px; object-fit: contain; background: rgba(255,255,255,.92); border-radius: 10px; padding: 5px 8px; }
.g-hero:has(.g-logo) { padding-top: 76px; }
.g-lead { color: #776f65; font-size: 14px; }
.g-acc summary .g-media { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); opacity: .55; align-self: center; }
.g-acc-body { padding-bottom: 12px; display: grid; gap: 10px; }
.g-acc-body p { margin: 0; }
.g-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.g-photo { border: none; padding: 0; background: #eee; border-radius: 10px; overflow: hidden; aspect-ratio: 1; }
.g-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-video { position: relative; border: none; padding: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; width: 100%; }
.g-video img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .85; }
.g-video .play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; background: rgba(0,0,0,.6); }
.g-video .play::after { content: ""; position: absolute; left: 23px; top: 18px; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.g-video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }
.g-btn { display: inline-block; background: var(--acc); color: #fff; text-decoration: none; padding: 9px 14px; border-radius: 11px; font-weight: 650; font-size: 14px; justify-self: start; }
.g-extra { padding: 12px 0; border-top: 1px solid #f0ebe3; }
.g-extra:first-of-type { border-top: none; }
.g-extra-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.g-extra .t { font-weight: 700; }
.g-extra .price { font-weight: 700; color: var(--acc); white-space: nowrap; }
.g-extra p { margin: 4px 0 0; }
.g-extra-actions { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.g-sos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 10px; }
.g-sos-n { display: flex; align-items: center; gap: 10px; background: #fbeeee; color: #8f2d22; border-radius: 12px; padding: 10px 12px; text-decoration: none; min-width: 0; }
.g-sos-n b { font-size: 19px; }
.g-sos-n span { font-size: 12.5px; line-height: 1.25; color: #6b3a33; }
.g-near { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }
.g-masked { letter-spacing: .12em; }
.g-lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.9); display: grid; place-items: center; padding: 16px; }
.g-lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }
.g-lightbox button { position: absolute; top: 12px; right: 16px; border: none; background: none; color: #fff; font-size: 34px; line-height: 1; }

/* ---- languages ---- */
.g-langs { position: absolute; top: 14px; right: 14px; display: flex; gap: 4px; background: rgba(0,0,0,.22); border-radius: 999px; padding: 3px; z-index: 1; }
.g-langs a { color: #fff; text-decoration: none; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 999px; opacity: .85; text-shadow: none; }
.g-langs a[aria-current] { background: #fff; color: var(--acc); opacity: 1; }
.g-hero:has(.g-langs) { padding-top: 58px; }
.g-hero:has(.g-logo) { padding-top: 76px; }
.g-auto { font-size: 12.5px; color: #776f65; padding: 10px 18px 0; }
.g-auto a { color: var(--acc); font-weight: 600; }

/* ---- map, report form ---- */
.g-map { height: 230px; border-radius: 14px; overflow: hidden; margin: 0 0 12px; background: #eef0ee; z-index: 0; }
.g-pin span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; font: 700 12.5px system-ui, sans-serif; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.g-home span { width: 28px; height: 28px; font-size: 16px; }
.g-num { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--acc); color: #fff; font-size: 10.5px; font-weight: 700; margin-right: 6px; vertical-align: 1px; letter-spacing: 0; }
.g-report { display: grid; gap: 8px; margin-bottom: 10px; }
.g-report textarea, .g-report input[name=contact] { width: 100%; border: 1px solid #e3dcd1; border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 15px; background: #fcfbf9; }
.g-report textarea { min-height: 80px; resize: vertical; }
.g-file { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--acc); font-weight: 600; cursor: pointer; }
.g-file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.g-file span::before { content: "+ "; }
.g-file.has span::before { content: ""; }
.g-report .g-btn { border: none; cursor: pointer; }
.g-report .g-btn:disabled { opacity: .6; }
.g-report-msg { margin: 0; font-size: 14px; color: #2f6b3a; }
.g-report-msg.bad { color: #a33a2c; }

/* ---- typography and finish ---- */
.g { font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
.g-hero h1, .g-card h2 { font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: -0.015em; }
.g-hero { padding: 40px 24px 30px; background-image: radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,.14), transparent 55%); }
.g-hero h1 { font-size: 31px; }
.g-hero .hello { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; opacity: .8; }
.g-card { border-radius: 20px; border-color: #ece6dc; box-shadow: 0 1px 2px rgba(23,22,15,.04), 0 10px 26px -18px rgba(23,22,15,.25); }
.g-card h2 { font-size: 19px; }
.g-chip { border-radius: 16px; box-shadow: 0 1px 2px rgba(23,22,15,.04); }
.g-nav button { box-shadow: 0 1px 2px rgba(23,22,15,.04); }
.g-btn, .g-copy, .g-contact a { box-shadow: 0 6px 14px -8px rgba(0,0,0,.45); }

/* ---- the guest's own stay ---- */
.g-stay { display: flex; flex-direction: column; gap: 2px; background: var(--acc-soft); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; }
.g-stay span { font-size: 12px; color: #776f65; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.g-stay b { font-size: 18px; }
.g-late { display: grid; gap: 8px; margin: 0 0 12px; font-size: 14px; }
.g-late-row { display: flex; gap: 8px; }
.g-late select { flex: 1; border: 1px solid #e3dcd1; border-radius: 10px; padding: 9px 10px; font: inherit; background: #fff; }
.g-late .g-btn { border: none; cursor: pointer; }
.g-late-note { font-size: 14px; color: #776f65; margin: 0 0 12px !important; }
.g-late-note.ok { color: #2f6b3a; font-weight: 600; }

/* ---- calmer finish ---- */
.g-hero h1, .g-card h2 { font-family: "Inter Tight", "Inter", system-ui, sans-serif; font-weight: 700; letter-spacing: -0.022em; }
.g-hero { background-image: none; }
.g-hero .hello { letter-spacing: .02em; text-transform: none; font-size: 13.5px; }
.g-card { border-radius: 16px; box-shadow: none; }
.g-chip, .g-nav button { box-shadow: none; }
.g-btn, .g-copy, .g-contact a { box-shadow: none; }
