/* Shared design for the redesigned hotel sites (2026). Mobile-first, no frameworks. */
:root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --ink: #1b1a17;
  --muted: #5d5850;
  --line: #e8e4dd;
  --soft: #f3f0ea;
  --accent: #b4441a;
  --accent-ink: #ffffff;
  --accent-soft: #fbeee6;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(27, 26, 23, .05), 0 8px 24px rgba(27, 26, 23, .06);
  --wrap: 1160px;
  --gutter: 20px;
  --header-h: 64px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.theme-dwaraka { --accent: #0f6b5c; --accent-soft: #e6f2ef; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--font); padding-bottom: 72px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--font); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .6); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .26); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(251, 250, 248, .86); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img { height: 26px; width: auto; }
.theme-dwaraka .brand img { height: 34px; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; }
.site-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; display: none; }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: flex; align-items: center; min-height: 52px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; border-bottom: 1px solid var(--line); }
.site-nav .nav-cta { display: none; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: flex !important; align-items: center; gap: 8px; padding: 0; background: none; border: 0; }
  .site-nav ul { display: flex; gap: 4px; }
  .site-nav a { min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted); }
  .site-nav a:hover { color: var(--ink); background: var(--soft); }
  .site-nav .nav-cta { display: inline-flex; margin-left: 8px; min-height: 44px; }
}

/* Hero */
.hero { position: relative; min-height: min(88svh, 760px); display: grid; align-items: end; color: #fff; isolation: isolate; overflow: hidden; margin-top: calc(-1 * var(--header-h)); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .05) 35%, rgba(0, 0, 0, .7) 100%); }
.hero .wrap { padding-top: calc(var(--header-h) + 40px); padding-bottom: 32px; }
.hero-logo { background: rgba(255, 255, 255, .94); border-radius: var(--radius); padding: 14px 18px; display: inline-block; box-shadow: var(--shadow); }
.hero-logo img { width: 190px; height: auto; }
.theme-dwaraka .hero-logo { background: none; box-shadow: none; padding: 0; }
.theme-dwaraka .hero-logo img { width: 84px; }
.hero h1 { margin: 0; }
.hero-title { font-size: clamp(36px, 8vw, 64px); font-weight: 700; letter-spacing: -.02em; margin-top: 16px; }
.hero-place { font-size: clamp(20px, 4.4vw, 28px); font-weight: 500; opacity: .95; margin-top: 8px; letter-spacing: .02em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-note { margin-top: 28px; font-size: 14px; opacity: .92; border-top: 1px solid rgba(255, 255, 255, .25); padding-top: 14px; }
.hero-note a { color: #fff; font-weight: 700; font-size: 16px; }

/* Sections */
.section { padding: 64px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: var(--surface); }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(28px, 5vw, 40px); font-weight: 700; letter-spacing: -.02em; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.lead { color: var(--muted); font-size: 17px; margin-top: 10px; }
.sub { display: block; font-size: 14px; font-weight: 500; color: var(--muted); margin-top: 4px; letter-spacing: 0; }

/* Highlight cards (horizontal scroll on phones) */
.cards { display: grid; gap: 16px; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 16px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; }
.cards::-webkit-scrollbar { display: none; }
.cards > * { scroll-snap-align: start; }
@media (min-width: 700px) { .cards { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; padding: 0; margin: 0; } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-media { position: relative; aspect-ratio: 16 / 10; background: var(--soft); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card-media button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.card-media button:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 18px 20px 22px; }
.card-body h3 { font-size: 19px; font-weight: 700; }
.card-body p { color: var(--muted); margin-top: 8px; }
.card-logo { height: 56px; width: auto; margin-bottom: 12px; object-fit: contain; object-position: left; }
.more-count { position: absolute; right: 12px; bottom: 12px; background: rgba(0, 0, 0, .62); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 999px; pointer-events: none; }

/* Prose */
.prose-grid { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 900px) { .prose-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.prose { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.prose h3 { font-size: 21px; margin-bottom: 14px; }
.prose p { color: #3a3631; }
.prose .standalone { font-weight: 600; margin: 0 0 1em; }
details.more summary { cursor: pointer; font-weight: 600; color: var(--accent); list-style: none; min-height: 44px; display: inline-flex; align-items: center; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: "+"; margin-left: 8px; font-size: 20px; line-height: 1; }
details.more[open] summary::after { content: "–"; }
details.more[open] summary { margin-bottom: 8px; }

/* Rooms */
.rooms { display: grid; gap: 22px; }
.room { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; }
@media (min-width: 900px) { .room { grid-template-columns: 1.15fr 1fr; } .room:nth-child(even) .gallery { order: 2; } }
.gallery { position: relative; background: #111; }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 3 / 2; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; position: relative; margin: 0; }
.slide button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
.g-btn { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.g-btn svg { width: 20px; height: 20px; }
.g-prev { left: 10px; } .g-next { right: 10px; }
.g-btn[disabled] { opacity: 0; pointer-events: none; }
.g-count { position: absolute; right: 12px; bottom: 12px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
.badge { position: absolute; left: 12px; top: 12px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 14px; padding: 8px 12px; border-radius: 999px; z-index: 2; }
.badge em { font-style: normal; font-weight: 500; margin-left: 4px; }
.room-body { padding: 22px 22px 26px; display: flex; flex-direction: column; justify-content: center; }
.room-body h3 { font-size: 23px; }
.room-body p { color: var(--muted); margin-top: 12px; }
.chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; background: var(--soft); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 500; }
.chips svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.room-cta { margin-top: 22px; align-self: flex-start; }

/* Tariff */
.tariff { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tariff table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tariff th, .tariff td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.tariff th { background: var(--soft); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.tariff td:not(:first-child), .tariff th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.tariff tr:last-child td { border-bottom: 0; }

/* Info boxes */
.info-grid { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 900px) { .info-grid { grid-template-columns: repeat(3, 1fr); } }
.info { background: var(--accent-soft); border-radius: var(--radius); padding: 22px; }
.info h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.info h3 svg { width: 22px; height: 22px; color: var(--accent); }
.info p, .info li { font-size: 15px; color: #3a3631; }
.info ul { padding-left: 18px; margin: 0; }
.info li { margin-bottom: 6px; }
.mono { font-variant-numeric: tabular-nums; }

/* Accordion */
.acc-grid { display: grid; gap: 24px; margin-top: 28px; }
@media (min-width: 900px) { .acc-grid { grid-template-columns: 1fr 1fr; } }
.acc-grid h3 { font-size: 18px; margin-bottom: 12px; }
.acc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; }
.acc summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 600; position: relative; list-style: none; min-height: 52px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.acc[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.acc-body { padding: 0 18px 18px; color: #3a3631; }
.acc-body img { border-radius: var(--radius-sm); margin-bottom: 12px; width: 100%; max-width: 360px; }
.travel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 40px; }
.travel h3 { font-size: 21px; }
.travel p { color: var(--muted); margin-top: 6px; }

/* Contact */
.contact-grid { display: grid; gap: 22px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1.25fr; align-items: start; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.panel h3 { font-size: 20px; }
.address { font-style: normal; color: #3a3631; margin-top: 10px; }
.phones { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.phones a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; font-size: 17px; text-decoration: none; color: var(--ink); }
.phones svg { width: 20px; height: 20px; color: var(--accent); }
.directions { margin-top: 22px; }
.directions h4 { font-size: 16px; }
.directions small { display: block; color: var(--muted); margin-bottom: 10px; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 180px; }
.map { margin-top: 22px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.credit { font-size: 14px; color: var(--muted); margin-top: 18px; }

/* Forms */
.tabs { display: flex; gap: 6px; background: var(--soft); padding: 5px; border-radius: 999px; margin-bottom: 20px; }
.tabs button { flex: 1; min-height: 44px; border: 0; border-radius: 999px; background: transparent; font: 600 15px var(--font); color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
input, select, textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font: 400 16px var(--font); }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-actions { margin-top: 18px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.form-msg:not(:empty) { margin-bottom: 16px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--accent-soft); }

/* Footer */
.site-footer { background: #151412; color: #d9d4cc; padding: 40px 0 32px; font-size: 14px; }
.site-footer a { color: #fff; }
.site-footer .wrap { display: grid; gap: 14px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 0; }
.foot-nav a { text-decoration: none; display: inline-flex; min-height: 40px; align-items: center; }

/* Mobile action bar */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
.action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; border-radius: 12px; text-decoration: none; color: var(--ink); font-size: 12px; font-weight: 600; }
.action-bar a.primary { background: var(--accent); color: var(--accent-ink); }
.action-bar svg { width: 22px; height: 22px; }
@media (min-width: 900px) { .action-bar { display: none; } }

/* Lightbox */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
dialog.lightbox::backdrop { background: rgba(10, 10, 10, .92); }
.lb-inner { width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 56px 12px 16px; }
.lb-inner img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 10px; }
.lb-cap { color: #eee; font-size: 14px; padding-top: 12px; text-align: center; }
.lb-btn { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 10px; top: 50%; translate: 0 -50%; }
.lb-next { right: 10px; top: 50%; translate: 0 -50%; }

/* fixes after preview */
.site-nav a.nav-cta, .site-nav a.nav-cta:hover { color: var(--accent-ink); background: var(--accent); padding: 0 20px; font-weight: 600; }
.hero-note a, .site-footer p a { display: inline-block; padding: 8px 0; }

/* Share buttons (footer) */
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 6px 0; }
.share-label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #bdb3a6; margin-right: 4px; }
.share-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; padding: 0; transition: background .2s ease, border-color .2s ease, transform .15s ease; }
.share-btn svg { width: 20px; height: 20px; }
.share-btn:hover { transform: translateY(-1px); }
.share-btn.wa:hover { background: #25d366; border-color: #25d366; }
.share-btn.fb:hover { background: #1877f2; border-color: #1877f2; }
.share-btn.ig:hover { background: linear-gradient(45deg, #f9a43a, #e1306c 50%, #833ab4); border-color: transparent; }
.share-msg { font-size: 13px; color: #e9dccb; }
