/* =============================================
   Senai Worker Rooms — Mobile-first stylesheet
   ============================================= */

:root {
  --green: #25D366;
  --green-dark: #128C7E;
  --blue: #1a6fa8;
  --blue-light: #e8f2fb;
  --text: #1a1a1a;
  --text-muted: #666;
  --bg: #f8f9fa;
  --white: #ffffff;
  --border: #e0e0e0;
  --vacant: #22c55e;
  --occupied: #94a3b8;
  --maintenance: #f59e0b;
  --radius: 10px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

/* --- HEADER --- */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 0;
  gap: 12px;
}
.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.logo-icon { font-size: 26px; }
.logo-name { font-weight: 700; font-size: 15px; color: var(--blue); }
.logo-sub { font-size: 11px; color: var(--text-muted); }

.wa-btn-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.wa-btn-header:hover { background: var(--green-dark); }

/* --- HERO --- */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, #0d4d7a 100%);
  color: var(--white);
  text-align: center;
  padding: 48px 16px;
}

/* Hero with real photo background */
.hero-with-photo {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #0d4d7a; /* fallback while image loads */
}
.hero-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,77,122,0.82) 0%, rgba(26,111,168,0.75) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 48px 16px;
}
.hero h1 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}
.hero h1 span { color: #90cdf4; }
.hero-sub { font-size: 14px; opacity: 0.9; margin-bottom: 20px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}
.badge {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 13px;
}
.wa-btn-hero {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  transition: background 0.2s;
}
.wa-btn-hero:hover { background: var(--green-dark); }

/* --- LANG BAR --- */
.lang-bar {
  background: #f1f5f9;
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}
.lang-bar .container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.lang-label { font-size: 13px; color: var(--text-muted); }
.lang-btn {
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-btn.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* --- SECTIONS --- */
.section { padding: 36px 0; }
.section-alt { background: var(--white); }
.section-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--blue);
}
.section-sub { color: var(--text-muted); font-size: 13px; margin-bottom: 20px; }

/* --- FILTER BAR --- */
.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* --- LOADING / ERROR STATES --- */
.loading-state {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
}
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.error-state {
  background: #fff8e1;
  border: 1px solid #ffd54f;
  border-radius: var(--radius);
  padding: 14px;
  font-size: 13px;
  color: #795548;
  margin-bottom: 20px;
}

/* --- ROOMS GRID --- */
.rooms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 480px) {
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .rooms-grid { grid-template-columns: repeat(3, 1fr); }
}

.room-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.room-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.room-card.hidden { display: none; }

.room-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}
.room-code { font-weight: 700; font-size: 18px; color: var(--blue); }
.room-status {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.room-status.vacant { background: #dcfce7; color: #15803d; }
.room-status.occupied { background: #f1f5f9; color: #64748b; }
.room-status.maintenance { background: #fef9c3; color: #92400e; }

.room-house { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.room-rent { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.room-rent span { font-size: 13px; font-weight: 400; color: var(--text-muted); }

.room-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.room-feature {
  font-size: 12px;
  background: var(--blue-light);
  color: var(--blue);
  padding: 2px 8px;
  border-radius: 8px;
}

.room-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}
.room-wa-btn:hover { background: var(--green-dark); }
.room-wa-btn.disabled {
  background: #e2e8f0;
  color: #94a3b8;
  pointer-events: none;
}

/* --- INFO CARDS --- */
.info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 600px) {
  .info-cards { grid-template-columns: repeat(4, 1fr); }
}
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow);
}
.info-icon { font-size: 28px; margin-bottom: 8px; }
.info-title { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; font-weight: 600; }
.info-amount { font-size: 20px; font-weight: 800; color: var(--blue); margin-bottom: 4px; }
.info-note { font-size: 11px; color: var(--text-muted); }

/* --- LOCATION --- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .location-grid { grid-template-columns: 1fr 1fr; }
}
.location-text p { color: var(--text-muted); margin-bottom: 12px; }
.location-list { list-style: none; margin-bottom: 16px; }
.location-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.location-list li::before { content: "📍 "; }
.map-btn {
  display: inline-block;
  padding: 10px 20px;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

/* --- CTA SECTION --- */
.cta-section {
  background: linear-gradient(135deg, #0d4d7a 0%, var(--blue) 100%);
  color: var(--white);
}
.cta-inner {
  text-align: center;
  padding: 8px 0;
}
.cta-inner h2 { font-size: 22px; margin-bottom: 10px; }
.cta-inner p { opacity: 0.85; margin-bottom: 22px; font-size: 14px; }
.wa-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
}
.wa-btn-cta:hover { background: var(--green-dark); }

/* --- MAP FACADE --- */
.map-facade {
  width: 100%;
  height: 250px;
  border: 1px dashed var(--blue);
  border-radius: 8px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.map-facade:hover { background: #dbeafe; }
.map-facade-pin { font-size: 40px; }

/* --- PROSE --- */
.prose { color: var(--text-muted); font-size: 15px; line-height: 1.75; max-width: 760px; }

/* --- FEATURE LIST --- */
.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 600px) {
  .feature-list { grid-template-columns: 1fr 1fr; }
}
.feature-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px 12px 40px;
  font-size: 14px;
  position: relative;
  box-shadow: var(--shadow);
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  color: var(--green-dark);
  font-weight: 800;
}

/* --- HOW-TO STEPS --- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}
.step-num {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
}
.step-title { font-weight: 700; color: var(--blue); margin-bottom: 6px; font-size: 15px; }
.step-text { font-size: 13px; color: var(--text-muted); }

/* --- FAQ --- */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 16px;
  box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--blue);
  padding: 12px 0;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 10px;
  font-size: 20px;
  color: var(--text-muted);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding: 0 0 14px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- FOOTER --- */
.footer {
  background: #1a1a1a;
  color: #999;
  text-align: center;
  padding: 20px;
  font-size: 13px;
}

/* --- FOOTER --- enhanced for Go site --- */
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-nav { display: flex; gap: 16px; }
.footer-nav a { color: #bbb; text-decoration: none; font-size: 13px; }
.footer-nav a:hover { color: #fff; }

/* --- HERO small variant (blog pages) --- */
.hero-small { padding: 28px 16px; }
.hero-small h1 { font-size: 22px; margin-bottom: 8px; }

/* --- BLOG grid (home teaser) --- */
.blog-teaser { background: var(--white); }
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
.blog-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.15s, transform 0.15s;
}
.blog-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); transform: translateY(-2px); }
.blog-card-title { font-weight: 700; font-size: 15px; color: var(--blue); margin-bottom: 6px; line-height: 1.35; }
.blog-card-meta { font-size: 11px; color: var(--text-muted); margin-bottom: 8px; }
.blog-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.blog-all-link { display: inline-block; font-size: 14px; color: var(--blue); font-weight: 600; text-decoration: none; }
.blog-all-link:hover { text-decoration: underline; }

/* --- BLOG list page --- */
.blog-list { display: flex; flex-direction: column; gap: 24px; margin-top: 20px; }
.blog-list-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
@media (min-width: 600px) { .blog-list-item { flex-direction: row; } }
.blog-list-cover { flex-shrink: 0; width: 100%; max-height: 180px; overflow: hidden; }
@media (min-width: 600px) { .blog-list-cover { width: 220px; max-height: unset; } }
.blog-list-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-list-body { padding: 16px; flex: 1; }
.blog-list-meta { font-size: 11px; color: var(--text-muted); margin-bottom: 8px; }
.blog-list-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.blog-list-title a { color: var(--blue); text-decoration: none; }
.blog-list-title a:hover { text-decoration: underline; }
.blog-list-desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; margin-bottom: 12px; }
.blog-read-more { font-size: 13px; color: var(--blue); font-weight: 600; text-decoration: none; }

/* --- BLOG post page --- */
.blog-post-wrap { padding: 24px 0 0; }
.blog-post { max-width: 720px; margin: 0 auto 32px; }
.blog-post-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.blog-post-cover img { width: 100%; max-height: 340px; object-fit: cover; display: block; }
.blog-post-header { margin-bottom: 24px; }
.blog-post-header h1 { font-size: 26px; font-weight: 800; line-height: 1.25; color: var(--text); margin-bottom: 8px; }
.blog-post-meta { font-size: 12px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.blog-post-body { color: var(--text); line-height: 1.75; font-size: 15px; margin-bottom: 32px; }
.blog-post-body h2 { font-size: 20px; font-weight: 700; color: var(--blue); margin: 28px 0 10px; }
.blog-post-body h3 { font-size: 17px; font-weight: 700; color: var(--text); margin: 22px 0 8px; }
.blog-post-body p { margin-bottom: 16px; }
.blog-post-body ul, .blog-post-body ol { margin: 0 0 16px 20px; }
.blog-post-body li { margin-bottom: 6px; }
.blog-post-body table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 14px; }
.blog-post-body th { background: var(--blue); color: var(--white); padding: 8px 12px; text-align: left; }
.blog-post-body td { padding: 8px 12px; border-bottom: 1px solid var(--border); }
.blog-post-body tr:nth-child(even) td { background: var(--bg); }
.blog-post-body code { background: #f1f5f9; padding: 2px 6px; border-radius: 4px; font-family: monospace; font-size: 13px; }
.blog-post-body pre { background: #1e293b; color: #e2e8f0; padding: 16px; border-radius: 8px; overflow-x: auto; margin-bottom: 20px; }
.blog-post-body pre code { background: none; color: inherit; padding: 0; }
.blog-post-body blockquote { border-left: 4px solid var(--blue); padding: 12px 16px; margin: 20px 0; background: var(--blue-light); border-radius: 0 8px 8px 0; }
.blog-post-body a { color: var(--blue); }

.blog-post-cta {
  background: var(--blue-light);
  border: 1px solid #c3daf5;
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 32px;
}
.blog-post-cta h3 { font-size: 16px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.blog-post-cta p { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.blog-post-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-secondary {
  display: inline-block;
  padding: 10px 18px;
  border: 2px solid var(--blue);
  border-radius: 8px;
  color: var(--blue);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}
.btn-secondary:hover { background: var(--blue); color: var(--white); }

/* --- TAGS & LANG TAGS --- */
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
}
.lang-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
  font-weight: 600;
}

/* --- BREADCRUMB --- */
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* --- GALLERY --- */
.gallery-subheading {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 12px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 8px;
}
.gallery-grid-wide {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid-wide { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid-wide { grid-template-columns: repeat(5, 1fr); }
}
.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #eee;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  padding: 6px 8px;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--white);
  line-height: 1.3;
}

/* --- LANGUAGE SELECTOR (top-right header dropdown) --- */
.lang-selector {
  position: relative;
  flex-shrink: 0;
}
.lang-sel-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--blue-light);
  border: 1px solid #c3daf5;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
  white-space: nowrap;
}
.lang-sel-btn:hover { background: #d0e8f8; }
.lang-sel-caret { opacity: 0.6; margin-left: 2px; }
.lang-sel-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  list-style: none;
  min-width: 170px;
  z-index: 200;
  overflow: hidden;
}
.lang-sel-menu.open { display: block; }
.lang-sel-opt {
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.lang-sel-opt:last-child { border-bottom: none; }
.lang-sel-opt:hover { background: var(--blue-light); }
.lang-sel-opt.active { color: var(--blue); font-weight: 700; background: var(--blue-light); }

/* --- ROOM CARD — expandable <details> accordion --- */
/* The room-card is now a <details> element.
   Its <summary> acts as the clickable header.
   The .room-detail panel slides into view on open. */

.room-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s;
  overflow: hidden;
}
.room-card[open] {
  box-shadow: 0 4px 20px rgba(0,0,0,0.13);
  border-color: #c3daf5;
}
.room-card[open] .room-expand-hint { display: none; }

/* Remove default <details> triangle marker */
.room-summary { list-style: none; cursor: pointer; padding: 16px; display: block; }
.room-summary::-webkit-details-marker { display: none; }

.room-summary:hover { background: var(--bg); }

/* Existing room-card children now live inside .room-summary */
.room-summary .room-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

/* Expand hint shown while collapsed */
.room-expand-hint {
  font-size: 11px;
  color: var(--blue);
  margin-top: 8px;
  text-align: right;
  opacity: 0.7;
}

/* Detail panel */
.room-detail {
  padding: 0 16px 16px;
  border-top: 1px solid var(--border);
  margin-top: 0;
  animation: slideDown 0.18s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.room-detail-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 12px 0;
}
.room-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.room-detail-row:last-child { border-bottom: none; }
.room-detail-row dt {
  color: var(--text-muted);
  font-weight: 600;
  flex-shrink: 0;
  min-width: 110px;
}
.room-detail-row dd {
  color: var(--text);
  text-align: right;
  margin: 0;
}

/* --- RESPONSIVE TWEAKS --- */
@media (max-width: 360px) {
  .hero h1 { font-size: 22px; }
  .wa-btn-header { padding: 7px 10px; font-size: 12px; }
  .lang-sel-btn { padding: 5px 8px; font-size: 12px; }
}

/* --- PRIMARY NAV BAR --- */
.main-nav {
  background: var(--blue);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  margin: 0;
}
.nav-link {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-link-contact {
  margin-left: auto;
  color: var(--white);
  background: var(--green);
  border-radius: 20px;
  padding: 6px 14px;
  margin: 6px 0 6px auto;
}
.nav-link-contact:hover { background: var(--green-dark); }

/* Hamburger button — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
/* Hamburger → X when open */
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile: collapse nav; hamburger visible */
@media (max-width: 640px) {
  .nav-hamburger { display: flex; }

  .main-nav {
    display: none;
    border-top: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  .main-nav.open { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 4px 0;
  }
  .nav-link {
    padding: 12px 16px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-link-contact {
    margin: 8px 16px;
    text-align: center;
    border-radius: 8px;
    padding: 10px 16px;
  }
}

/* --- ECONSAVE SECTION --- */
.econsave-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 4px;
}
@media (min-width: 640px) {
  .econsave-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.econsave-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #eee;
}
.econsave-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.econsave-caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  background: var(--white);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}
.econsave-attribution {
  font-size: 11px;
  color: #999;
}
.econsave-attribution a { color: #888; }
.econsave-attribution a:hover { color: var(--blue); }

.econsave-map .map-facade {
  height: 250px;
}

/* Smooth scroll for anchor links */
html { scroll-behavior: smooth; }

/* Offset anchor scroll to clear sticky header + nav */
:target { scroll-margin-top: 100px; }

/* --- RELATED POSTS (blog internal linking) --- */
.related-posts { background: var(--bg); }
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.related-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.related-card img { width: 100%; aspect-ratio: 5/3; object-fit: cover; display: block; }
.related-body { padding: 14px; }
.related-body h3 { font-size: 15px; color: var(--blue); margin-bottom: 6px; line-height: 1.35; }
.related-body p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* --- MOBILE TAP TARGETS (>=44px per WCAG 2.5.5 / Google mobile-usability) --- */
@media (max-width: 768px) {
  .wa-btn-header,
  .lang-sel-btn,
  .nav-hamburger {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-hamburger { min-width: 44px; }
  /* Text links get vertical padding so the touch area clears 44px without
     changing the visual rhythm. */
  .blog-all-link,
  .footer a,
  .nav-links a {
    display: inline-block;
    padding-top: 12px;
    padding-bottom: 12px;
    min-height: 44px;
    box-sizing: border-box;
  }
}
