@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@700&display=swap');

:root {
  --espresso: #3e2115;
  --brown: #6f351d;
  --terracotta: #b95e2d;
  --orange: #dc762f;
  --cream: #fff8ef;
  --sand: #f2e4d4;
  --surface: #ffffff;
  --surface-soft: #faf7f3;
  --ink: #241c18;
  --muted: #71645c;
  --border: #e8ddd3;
  --success: #18864b;
  --danger: #c43d42;
  --warning: #b87916;
  --shadow: 0 18px 45px rgba(71, 39, 23, .10);
  --radius-lg: 24px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface-soft); color: var(--ink); font-family: 'DM Sans', system-ui, sans-serif; line-height: 1.6; }
img { max-width: 100%; }
button, input { font: inherit; }
textarea, select { font: inherit; }
a { color: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 239, .94); border-bottom: 1px solid rgba(111,53,29,.10); backdrop-filter: blur(14px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--espresso); }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: white; background: linear-gradient(145deg, var(--orange), var(--brown)); font-family: 'Playfair Display', serif; font-size: 21px; box-shadow: 0 8px 18px rgba(111,53,29,.22); }
.brand strong, .brand small { display: block; line-height: 1.1; }
.brand strong { font-size: 17px; letter-spacing: .2px; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { padding: 9px 13px; border-radius: 999px; color: #5f5048; text-decoration: none; font-size: 14px; font-weight: 700; }
.site-nav a:hover, .site-nav a.active { color: var(--brown); background: #f2dfcf; }
.menu-button { display: none; border: 1px solid var(--border); background: white; color: var(--brown); border-radius: 10px; padding: 9px 13px; font-weight: 700; cursor: pointer; }

.hero { position: relative; min-height: 600px; display: flex; align-items: center; overflow: hidden; isolation: isolate; background: var(--espresso) url('../images/room1.jpg') center/cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(41,20,12,.94) 0%, rgba(66,31,17,.78) 48%, rgba(66,31,17,.22) 100%); }
.hero-content { padding: 90px 0; color: white; }
.eyebrow { margin: 0 0 12px; color: var(--orange); text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px; font-weight: 800; }
.hero .eyebrow { color: #ffb77b; }
.hero h1, .contact-hero h1 { max-width: 780px; margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(42px, 6vw, 72px); line-height: 1.05; letter-spacing: -.8px; }
.hero-copy { max-width: 620px; margin: 24px 0 0; color: #f2dfd1; font-size: clamp(16px, 2vw, 20px); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 12px; text-decoration: none; font-weight: 800; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, var(--orange), var(--terracotta)); box-shadow: 0 10px 24px rgba(185,94,45,.25); }
.button-primary:hover { background: linear-gradient(135deg, #e9853d, #a94c22); }
.button-secondary { color: white; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.10); backdrop-filter: blur(8px); }
.button-outline { color: var(--brown); background: white; border-color: #d9bca6; }
.button-outline:hover { background: var(--cream); }
.trust-row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 42px; color: #efdccc; font-size: 13px; font-weight: 700; }

.availability-strip { position: relative; z-index: 2; margin-top: -36px; }
.availability-grid { display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; background: white; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow); }
.availability-grid div { padding: 22px 24px; border-right: 1px solid var(--border); }
.availability-grid div:last-child { border-right: 0; }
.availability-grid strong, .availability-grid span { display: block; }
.availability-grid strong { color: var(--brown); font-size: 23px; }
.availability-grid span { margin-top: 2px; color: var(--muted); font-size: 12px; }

.rooms-section { padding: 95px 0 80px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-heading h2, .location-card h2, .contact-card h2 { margin: 0; color: var(--espresso); font-family: 'Playfair Display', Georgia, serif; font-size: clamp(30px, 4vw, 44px); line-height: 1.15; }
.section-heading p:not(.eyebrow) { margin: 8px 0 0; color: var(--muted); }
.updated-pill { padding: 8px 12px; color: var(--success); background: #eaf8ef; border: 1px solid #cbead6; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.room-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; padding: 10px; background: white; border: 1px solid var(--border); border-radius: 14px; }
.filter-group { display: flex; gap: 7px; flex-wrap: wrap; }
.filter-button { padding: 9px 13px; border: 0; border-radius: 9px; color: #65564e; background: transparent; font-weight: 800; cursor: pointer; }
.filter-button:hover { background: var(--surface-soft); }
.filter-button.active { color: white; background: var(--brown); }
.room-search input { width: 230px; padding: 10px 13px; border: 1px solid var(--border); border-radius: 9px; color: var(--ink); background: var(--surface-soft); outline: none; }
.room-search input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(220,118,47,.12); }
.rooms-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.room-card { overflow: hidden; display: flex; flex-direction: column; min-height: 100%; background: white; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: 0 10px 28px rgba(69,39,24,.07); transition: transform .2s ease, box-shadow .2s ease; }
.room-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.room-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #eadfd5; }
.room-img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.room-card:hover .room-img { transform: scale(1.035); }
.status-badge { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.94); box-shadow: 0 5px 14px rgba(0,0,0,.12); font-size: 11px; font-weight: 800; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.status-occupied .status-dot { background: var(--danger); }
.status-cleaning .status-dot { background: var(--warning); }
.status-maintenance .status-dot { background: #64748b; }
.room-info { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.room-kicker { color: var(--orange); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.room-info h3 { margin: 4px 0 6px; color: var(--espresso); font-size: 20px; line-height: 1.25; }
.room-description { margin: 0; color: var(--muted); font-size: 13px; }
.rate-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 17px 0; }
.rate-chip { padding: 8px 9px; color: #59483e; background: var(--surface-soft); border: 1px solid var(--border); border-radius: 9px; font-size: 11px; }
.rate-chip strong { color: var(--brown); font-size: 13px; }
.room-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 4px; color: var(--muted); font-size: 11px; }
.available-time { color: var(--danger); font-weight: 700; }
.room-card .button { width: 100%; margin-top: 17px; min-height: 44px; }
.loading-state, .empty-state { grid-column: 1/-1; min-height: 220px; display: grid; place-items: center; align-content: center; gap: 12px; color: var(--muted); text-align: center; }
.loader { width: 30px; height: 30px; border: 3px solid var(--sand); border-top-color: var(--orange); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.error-state { grid-column: 1/-1; padding: 28px; color: #8c292d; background: #fff1f1; border: 1px solid #f2c9cb; border-radius: 14px; text-align: center; }

.location-section { padding: 0 0 90px; }
.location-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 42px; color: white; background: linear-gradient(135deg, var(--espresso), #79391d); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.location-card h2 { color: white; }
.location-card p:not(.eyebrow) { margin: 9px 0 0; color: #ead4c4; }
.site-footer { color: #e8d7ca; background: #2e180f; }
.footer-inner { min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner strong { color: white; }
.footer-inner p { margin: 4px 0 0; font-size: 12px; }
.mobile-actions { display: none; }

.detail-page { min-height: 70vh; padding: 42px 0 80px; }
.back-link { display: inline-block; margin-bottom: 20px; color: var(--brown); font-weight: 800; text-decoration: none; }
.room-detail { display: grid; grid-template-columns: 1.08fr .92fr; gap: 34px; padding: 24px; background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.detail-image { position: sticky; top: 104px; overflow: hidden; align-self: start; aspect-ratio: 4/3; border-radius: 18px; background: #eadfd5; }
.detail-image img { width: 100%; height: 100%; object-fit: cover; }
.detail-content { padding: 12px 12px 12px 0; }
.detail-content h1 { margin: 5px 0 9px; color: var(--espresso); font-family: 'Playfair Display', Georgia, serif; font-size: clamp(34px,5vw,52px); line-height: 1.1; }
.detail-status { display: inline-flex; align-items: center; gap: 7px; margin: 8px 0 16px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 999px; font-size: 12px; font-weight: 800; }
.detail-description { color: var(--muted); }
.detail-section { padding: 20px 0; border-top: 1px solid var(--border); }
.detail-section h2 { margin: 0 0 12px; color: var(--espresso); font-size: 16px; }
.rate-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rate-item { display: flex; justify-content: space-between; padding: 11px 12px; background: var(--surface-soft); border: 1px solid var(--border); border-radius: 9px; }
.rate-item strong { color: var(--brown); }
.amenity-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; list-style: none; }
.amenity-list li { padding: 9px 11px; color: #51443d; background: var(--cream); border-radius: 9px; font-size: 13px; }
.booking-actions { display: grid; gap: 9px; }
.booking-note { margin: 10px 0 0; color: var(--muted); font-size: 11px; }

.contact-page { min-height: 72vh; padding: 72px 0 90px; }
.contact-hero { text-align: center; }
.contact-hero h1 { max-width: none; color: var(--espresso); }
.contact-hero > p:last-child { color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 42px; }
.contact-card { padding: 28px; background: white; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: 0 10px 28px rgba(69,39,24,.06); }
.contact-card h2 { font-size: 26px; }
.contact-card p { min-height: 52px; color: var(--muted); }
.contact-icon { display: inline-grid; width: 44px; height: 44px; place-items: center; margin-bottom: 18px; background: var(--cream); border-radius: 12px; font-size: 20px; }
.contact-card .button { width: 100%; }
.contact-note { margin-top: 22px; padding: 20px 24px; color: #6d4d31; background: #fff5df; border: 1px solid #efd9a8; border-radius: 14px; }
.contact-note p { margin: 4px 0 0; font-size: 13px; }

.review-page { padding: 64px 0 90px; }
.review-layout { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr); gap:24px; align-items:start; }
.review-form-card,.review-side-card { background:white; border:1px solid var(--border); border-radius:var(--radius-lg); box-shadow:var(--shadow); }
.review-form-card { padding:38px; }
.review-form-card h1 { margin:0; color:var(--espresso); font-family:'Playfair Display',Georgia,serif; font-size:clamp(36px,5vw,54px); line-height:1.08; }
.review-intro { max-width:640px; color:var(--muted); }
.rating-field { margin:26px 0 18px; padding:0; border:0; }
.rating-field legend,.review-field>span { display:block; margin-bottom:7px; color:var(--espresso); font-weight:800; }
.star-picker { display:inline-flex; flex-direction:row-reverse; gap:5px; }
.star-picker input { position:absolute; opacity:0; pointer-events:none; }
.star-picker label { color:#d9cec6; font-size:39px; line-height:1; cursor:pointer; transition:.15s; }
.star-picker label:hover,.star-picker label:hover~label,.star-picker input:checked~label { color:#ee9b24; transform:translateY(-1px); }
.review-field { display:block; margin-bottom:17px; }
.review-field input,.review-field textarea,.review-field select { width:100%; padding:13px 14px; color:var(--ink); background:var(--surface-soft); border:1px solid var(--border); border-radius:10px; outline:none; resize:vertical; }
.review-field input:focus,.review-field textarea:focus,.review-field select:focus { border-color:var(--orange); box-shadow:0 0 0 3px rgba(220,118,47,.12); }
.review-field small { color:var(--muted); font-weight:500; }
.review-field>small { display:block; margin-top:4px; text-align:right; }
.review-field-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.review-consent { display:flex; gap:10px; align-items:flex-start; margin:6px 0 20px; color:var(--muted); font-size:14px; }
.review-consent input { margin-top:5px; }
#review-submit { width:100%; border:0; cursor:pointer; }
#review-submit:disabled { opacity:.65; cursor:wait; transform:none; }
.review-form-status { display:none; margin-top:14px; padding:12px 14px; border-radius:10px; font-weight:700; }
.review-form-status.success { display:block; color:#12683a; background:#eaf8ef; border:1px solid #cbead6; }
.review-form-status.error { display:block; color:#8c292d; background:#fff1f1; border:1px solid #f2c9cb; }
.honeypot { position:absolute!important; left:-9999px!important; }
.review-side-card { padding:30px; color:#f6e9df; background:linear-gradient(145deg,var(--espresso),#71361f); }
.review-side-card h2 { margin:8px 0 12px; color:white; font-family:'Playfair Display',Georgia,serif; font-size:30px; line-height:1.2; }
.review-side-card p,.review-side-card li { color:#ead6c8; }
.review-side-card ul { padding-left:20px; }
.review-side-icon { color:#ffb77b; font-family:Georgia,serif; font-size:72px; line-height:.7; }
.public-reviews-section { padding-top:80px; }
.review-score { text-align:right; }
.review-score strong,.review-score span { display:block; }
.review-score strong { color:var(--orange); font-size:29px; }
.review-score span { color:var(--muted); font-size:13px; }
.public-review-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.public-review-card { display:flex; flex-direction:column; min-height:230px; padding:24px; background:white; border:1px solid var(--border); border-radius:var(--radius-md); box-shadow:0 8px 24px rgba(69,39,24,.06); }
.public-review-stars { color:#ee9b24; letter-spacing:2px; }
.public-review-card>p { color:#4f433c; font-size:16px; }
.public-review-meta { margin-top:auto; padding-top:16px; border-top:1px solid var(--border); }
.public-review-meta strong,.public-review-meta span { display:block; }
.public-review-meta strong { color:var(--espresso); }
.public-review-meta span { margin-top:3px; color:var(--muted); font-size:12px; }
.reviews-empty { grid-column:1/-1; padding:30px; color:var(--muted); background:white; border:1px solid var(--border); border-radius:14px; text-align:center; }

@media (max-width: 900px) {
  .review-layout { grid-template-columns:1fr; }
  .public-review-grid { grid-template-columns:1fr 1fr; }
  .rooms-grid { grid-template-columns: 1fr 1fr; }
  .availability-grid { grid-template-columns: 1fr 1fr; }
  .availability-grid div:nth-child(2) { border-right: 0; }
  .availability-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .room-detail { grid-template-columns: 1fr; }
  .detail-image { position: static; }
  .detail-content { padding: 0 4px 8px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .review-page { padding-top:30px; }
  .review-form-card,.review-side-card { padding:24px; border-radius:18px; }
  .review-field-row,.public-review-grid { grid-template-columns:1fr; }
  .public-reviews-section { padding-top:55px; }
  .review-score { margin-top:12px; text-align:left; }
  .container { width: min(100% - 24px, 1180px); }
  .header-inner { min-height: 68px; }
  .menu-button { display: block; }
  .site-nav:not(.always-visible) { display: none; position: absolute; top: 68px; left: 12px; right: 12px; padding: 10px; flex-direction: column; align-items: stretch; background: white; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { text-align: center; }
  .site-nav.always-visible { gap: 2px; }
  .site-nav.always-visible a { padding: 7px 8px; font-size: 12px; }
  .brand small { display: none; }
  .hero { min-height: 560px; background-position: 58% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(41,20,12,.95), rgba(60,27,14,.60)); }
  .hero-content { padding: 70px 0; text-align: center; }
  .hero h1 { font-size: 43px; }
  .hero-copy { font-size: 16px; }
  .hero-actions { justify-content: center; }
  .hero-actions .button { width: 100%; }
  .trust-row { justify-content: center; gap: 10px 15px; }
  .availability-strip { margin-top: -24px; }
  .availability-grid div { padding: 16px; }
  .availability-grid strong { font-size: 18px; }
  .rooms-section { padding: 72px 0 60px; }
  .section-heading { display: block; }
  .updated-pill { display: inline-block; margin-top: 14px; }
  .room-toolbar { display: block; }
  .filter-group { display: grid; grid-template-columns: 1fr 1fr; }
  .room-search { display: block; margin-top: 9px; }
  .room-search input { width: 100%; }
  .rooms-grid { grid-template-columns: 1fr; }
  .location-card { display: block; padding: 30px 24px; }
  .location-card .button { width: 100%; margin-top: 22px; }
  .footer-inner { display: block; padding: 34px 0 90px; text-align: center; }
  .footer-inner > p { margin-top: 20px; }
  .mobile-actions { position: fixed; z-index: 60; left: 10px; right: 10px; bottom: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 7px; background: rgba(255,255,255,.94); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 12px 35px rgba(40,20,10,.2); backdrop-filter: blur(12px); }
  .mobile-actions a { padding: 11px; color: white; background: var(--brown); border-radius: 9px; text-align: center; text-decoration: none; font-size: 13px; font-weight: 800; }
  .mobile-actions a:last-child { background: var(--orange); }
  .detail-page { padding-top: 24px; }
  .room-detail { padding: 12px; border-radius: 18px; }
  .rate-list, .amenity-list { grid-template-columns: 1fr; }
  .contact-page { padding-top: 50px; }
}
