/* Self-hosted fonts (no third-party requests) */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/fraunces-latin-ext-0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/fraunces-latin-1.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/fraunces-latin-ext-0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/fraunces-latin-1.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/plusjakartasans-latin-ext-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/plusjakartasans-latin-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/plusjakartasans-latin-ext-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/plusjakartasans-latin-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/plusjakartasans-latin-ext-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/plusjakartasans-latin-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/plusjakartasans-latin-ext-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/plusjakartasans-latin-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   BDR Hotel Antananarivo · main stylesheet
   Edit the colors below to re-theme the whole site.
   ========================================================= */
:root {
  --green: #14532D;
  --green-dark: #0E3D21;
  --gold: #E0B23A;
  --gold-deep: #B8860B;
  --terracotta: #B8401C;
  --terracotta-dark: #A5361A;
  --turquoise: #0B7F80;
  --bougainvillea: #C2255C;
  --sunflower: #F2B33D;
  --sunflower-deep: #C9840C;
  --leaf: #3F8A3A;

  --cream: #FFF8EE;
  --sand: #FBEBD6;
  --ink: #2A1E17;
  --ink-soft: #5E4D42;
  --line: #EAD7BF;
  --night: #1F2A2B;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.84rem);
  --text-sm: clamp(0.875rem, 0.85rem + 0.15vw, 0.95rem);
  --text-base: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --text-xl: clamp(1.75rem, 1.4rem + 1.6vw, 2.6rem);
  --text-hero: clamp(2.4rem, 1.5rem + 4.4vw, 5rem);

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(74, 39, 18, .25);
  --shadow-lg: 0 24px 60px -20px rgba(74, 39, 18, .35);
  --section-pad: clamp(3.5rem, 8vw, 7rem);
  --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--turquoise); }
h2 { color: var(--green); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 2.5rem); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: var(--text-sm); text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .55rem 1.1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px -8px rgba(20, 83, 45, .7); }
.btn-primary:hover { background: var(--green-dark); }
.hero .btn-primary, .quickbar .btn-primary { background: var(--gold); color: var(--ink); box-shadow: 0 8px 20px -8px rgba(184, 134, 11, .8); }
.hero .btn-primary:hover, .quickbar .btn-primary:hover { background: #F0C553; }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.75); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { background: transparent; color: var(--accent, var(--green)); border-color: currentColor; }
.btn-outline:hover { background: var(--accent, var(--green)); color: #fff; border-color: var(--accent, var(--green)); }
.btn-whatsapp { background: #1FA855; color: #fff; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .97); box-shadow: 0 2px 18px -10px rgba(0,0,0,.25); backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--gold);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: calc(var(--header-h) - 12px); width: auto; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.site-nav a:not(.btn) {
  color: var(--green); text-decoration: none; font-weight: 700; font-size: var(--text-sm);
  padding: .5rem .8rem; border-radius: 999px; transition: background-color .18s;
}
.site-nav a:not(.btn):hover { background: #F3EEDC; }
.site-nav .btn { margin-left: .5rem; }
.site-nav { order: 2; margin-left: auto; }
.header-tools { order: 3; display: flex; align-items: center; gap: .5rem; }
.brand { order: 1; flex-shrink: 0; }

/* ---------- Language selector ---------- */
.flag { display: inline-block; width: 22px; height: 16px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex-shrink: 0; }
.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: .4rem; cursor: pointer; padding: .45rem .65rem; border-radius: 999px; border: 1.5px solid var(--line, #e5dccb); background: #fff; color: var(--green); font-weight: 700; font-size: var(--text-sm); min-height: 44px; user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { border-color: var(--gold); background: #FFFBEF; }
.lang .chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.lang[open] .chev { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + .5rem); z-index: 60; list-style: none; margin: 0; padding: .4rem; width: 220px; max-height: min(70vh, 520px); overflow-y: auto; background: #fff; border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.35); border: 1px solid #eee3cf; }
.lang-menu a { display: flex; align-items: center; gap: .65rem; padding: .6rem .75rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--text-sm); }
.lang-menu a:hover { background: #F3EEDC; }
.lang-menu a[aria-current] { background: var(--green); color: #fff; }
@media (max-width: 560px) { .lang summary { padding: .4rem .5rem; } .lang .lang-code { font-size: .8rem; } }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: #F3EEDC; cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--green); border-radius: 2px; transition: transform .25s, opacity .25s; }

@media (max-width: 1240px) {
  .nav-toggle { display: flex; }
  .site-nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--cream);
    padding: 1rem 1.25rem 1.5rem; box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .22s ease;
  }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: .25rem; }
  .site-nav a:not(.btn) { color: var(--green) !important; display: block; padding: .85rem 1rem; font-size: var(--text-base); }
  .site-nav a:not(.btn):hover { background: var(--sand); }
  .site-nav .btn { margin: .5rem 0 0; }
  .nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero { position: relative; margin-top: var(--header-h); min-height: min(86vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,30,16,.82) 0%, rgba(8,30,16,.55) 45%, rgba(8,30,16,.1) 80%), linear-gradient(0deg, rgba(8,30,16,.55) 0%, transparent 40%); }
.hero-content { position: relative; padding: 4.5rem 0 6.5rem; max-width: 760px; margin-left: max(1.25rem, (100% - 1200px) / 2); }
.hero h1 { font-size: var(--text-hero); text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-lead { font-size: var(--text-lg); max-width: 56ch; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 2rem; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-facts li { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); padding: .4rem .9rem; border-radius: 999px; font-size: var(--text-sm); }
.hero-facts strong { color: var(--gold); }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: var(--text-xs); font-weight: 700; margin-bottom: .9rem; }
.eyebrow-color { color: var(--gold-deep); }
.eyebrow-light { color: var(--gold); }

/* ---------- Quick bar ---------- */
.quickbar { position: relative; z-index: 5; margin-top: -3rem; }
.quickbar-form {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 1rem; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)) auto; gap: .75rem; align-items: end;
  border-top: 5px solid var(--gold);
}
.quickbar label { min-width: 0; display: flex; flex-direction: column; gap: .3rem; font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.quickbar input, .quickbar select { font: inherit; font-size: var(--text-base); text-transform: none; letter-spacing: 0; color: var(--ink); padding: .7rem .8rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); min-height: 48px; width: 100%; min-width: 0; -webkit-appearance: none; appearance: none; }
.quickbar .btn { min-height: 48px; }
@media (max-width: 720px) {
  .quickbar-form { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .quickbar-form label:nth-child(3) { grid-column: 1 / -1; }
  .quickbar-form .btn { grid-column: 1 / -1; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-pad) 0; }
.section-tint { background: var(--sand); }
.section-dark { background: var(--night); color: #F6EEE3; }
.section-green { background: var(--green); color: #F3EFE2; background-image: radial-gradient(circle at 90% 0%, rgba(224,178,58,.18), transparent 45%); }
.section-green h2 { color: #fff; }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p:last-child { color: var(--ink-soft); }
.section-dark .section-head p:last-child { color: #D9CFC2; }
.section-dark h2 { color: #fff; }
.note { margin-top: 2rem; font-size: var(--text-sm); color: var(--ink-soft); }

/* ---------- Rooms ---------- */
.rooms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.room-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease;
  border-bottom: 6px solid var(--accent);
}
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.room-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.room-card:hover .room-media img { transform: scale(1.04); }
.room-tag { position: absolute; top: 1rem; left: 1rem; background: var(--accent); color: #fff; font-size: var(--text-xs); font-weight: 700; padding: .35rem .8rem; border-radius: 999px; }
.room-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.room-body h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: .35rem; }
.room-body > p { color: var(--ink-soft); }
.room-meta { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.room-meta li { font-size: var(--text-xs); font-weight: 600; background: var(--cream); border: 1px solid var(--line); padding: .25rem .65rem; border-radius: 999px; }
.room-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.price { margin: 0; color: var(--ink-soft); font-size: var(--text-sm); }
.price strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--green); }
.price-inc { display: block; font-size: var(--text-xs); font-weight: 700; color: var(--gold-deep); line-height: 1.3; }
@media (max-width: 760px) { .rooms-grid { grid-template-columns: 1fr; } }

/* ---------- About / split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/4.2; object-fit: cover; width: 100%; }
.badge-float {
  position: absolute; right: -1rem; bottom: -1.5rem; background: var(--green); border: 2px solid var(--gold); color: #fff;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; padding: 1rem 1.4rem; border-radius: 16px;
  box-shadow: var(--shadow-lg); transform: rotate(-4deg); line-height: 1.1;
}
.badge-float small { display: block; font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; opacity: .85; margin-top: .2rem; }
.split-text p { color: var(--ink-soft); }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem; }
.checklist li { display: flex; gap: .7rem; align-items: center; font-weight: 600; }
.checklist li::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .badge-float { right: .75rem; } }

/* ---------- Amenities ---------- */
.amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.amenities li { background: #fff; border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); transition: transform .2s ease, border-color .2s; }
.amenities li:hover { transform: translateY(-3px); border-color: var(--c); }
.amenities svg { width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: color-mix(in srgb, var(--c) 14%, white); stroke: var(--c); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.amenities h3 { margin-bottom: .3rem; }
.amenities p { color: var(--ink-soft); font-size: var(--text-sm); margin: 0; }
.amenities-dark li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); }
.amenities-dark li:hover { border-color: var(--gold); }
.amenities-dark h3 { color: #fff; }
.amenities-dark p { color: #D6DDD1; }
.amenities-dark svg { background: rgba(224,178,58,.16); }
@media (max-width: 900px) { .amenities { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .amenities { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: .9rem; }
.g-item { padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: #000; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.g-item:hover img { transform: scale(1.06); opacity: .9; }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.review { margin: 0; background: #fff; border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); border-top: 6px solid var(--c); display: flex; flex-direction: column; }
.stars { color: var(--sunflower); letter-spacing: .15em; font-size: 1.1rem; margin-bottom: .75rem; }
.review blockquote { margin: 0 0 1.25rem; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.45; font-weight: 500; }
.review figcaption { margin-top: auto; font-size: var(--text-sm); color: var(--ink-soft); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Booking ---------- */
.book-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.book-info p { color: var(--ink-soft); }
.policies { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 1.5rem 0; }
.policies div { background: #fff; border-radius: var(--radius-sm); padding: .85rem 1rem; border-left: 4px solid var(--gold); }
.policies dt { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--green); }
.policies dd { margin: 0; font-weight: 600; font-size: var(--text-sm); }
.estimate { background: var(--green); color: #fff; border-radius: var(--radius); padding: 1.2rem 1.4rem; display: flex; flex-direction: column; gap: .2rem; }
.estimate span { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--gold); font-weight: 700; }
.estimate strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }

.book-form { background: #fff; border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--shadow-lg); display: grid; gap: 1rem; border-top: 6px solid var(--gold); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-row.four { grid-template-columns: 1fr 1fr .6fr .6fr; }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field label { font-size: var(--text-sm); font-weight: 600; }
.opt { color: var(--ink-soft); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--cream); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: .75rem .85rem; min-height: 48px; width: 100%; transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(20,83,45,.18); background: #fff; }
.field .invalid, .field input.invalid, .field select.invalid { border-color: var(--bougainvillea); }
.check { display: flex; align-items: center; gap: .6rem; font-size: var(--text-sm); font-weight: 600; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--terracotta); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; color: var(--bougainvillea); font-weight: 600; font-size: var(--text-sm); }
.form-success { background: #E8F5EC; border: 1.5px solid var(--leaf); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }
.form-success h3 { color: var(--leaf); margin-bottom: .2rem; font-family: var(--font-display); }
.form-success p { margin: 0; }
.form-fallback { background: #FFF4DC; border: 1.5px solid var(--sunflower); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }
.form-fallback p { font-size: var(--text-sm); margin-bottom: .75rem; }
.fallback-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 900px) { .book-wrap { grid-template-columns: 1fr; } .field-row.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .field-row.four { grid-template-columns: 1fr 1fr; }
  .policies { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.25rem; transition: border-color .2s; }
.faq details[open] { border-color: var(--green); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 0; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--gold-deep); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 1.1rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; flex-direction: column; font-weight: 500; }
.contact-list span { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--gold-deep); }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 360px; background: var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
@media (max-width: 860px) { .contact-wrap { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-dark); color: #E9DFD2; font-size: var(--text-sm); }
.footer-stripe { height: 6px; background: linear-gradient(90deg, var(--gold-deep), var(--gold), #F5D98A, var(--gold), var(--gold-deep)); }
.footer-inner { padding: 3rem 0 2.5rem; display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: start; }
.footer-logo { width: 200px; height: auto; background: #fff; border-radius: 12px; padding: 8px 12px; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: flex-end; }
.site-footer a { color: #fff; text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--gold); }
.copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.25rem; margin: 0; color: #B9AC9D; }
@media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr; } .site-footer ul { justify-content: flex-start; } }
.footer-langs { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.25rem; }
.site-footer .footer-langs ul { justify-content: flex-start; gap: .5rem 1.1rem; }
.footer-langs a { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; color: #E9DFD2; }
.footer-langs a[aria-current] { color: var(--gold); font-weight: 700; }
.footer-langs .flag { width: 18px; height: 13px; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px -8px rgba(0,0,0,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

/* ---------- Dialogs ---------- */
dialog { border: 0; padding: 0; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: min(640px, calc(100% - 2rem)); width: 100%; background: #fff; color: var(--ink); }
dialog::backdrop { background: rgba(20, 12, 6, .65); backdrop-filter: blur(3px); }
.rd-media { display: grid; grid-template-columns: 2fr 1fr; gap: 4px; background: #000; }
.rd-media img { width: 100%; height: 100%; aspect-ratio: auto; max-height: 300px; object-fit: cover; }
.room-dialog { max-width: min(760px, calc(100% - 2rem)); }
.rd-body { padding: 1.5rem 1.75rem 1.75rem; }
.rd-body h3 { font-family: var(--font-display); font-size: 1.75rem; }
.rd-body p { color: var(--ink-soft); }
.rd-features { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1rem; font-size: var(--text-sm); }
.rd-features li::before { content: "●"; color: var(--gold-deep); margin-right: .5rem; font-size: .7em; vertical-align: middle; }
.dialog-close { position: absolute; top: .75rem; right: .75rem; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink); z-index: 2; }
.lightbox { max-width: min(1100px, calc(100% - 2rem)); background: transparent; box-shadow: none; }
.lightbox img { width: 100%; max-height: 85vh; object-fit: contain; border-radius: var(--radius-sm); }
@media (max-width: 480px) { .rd-features { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 560px) {
  :root { --header-h: 68px; }
  .rd-media { grid-template-columns: 1fr 1fr; }
  .rd-media img { max-height: 200px; }
}

/* ---------- Inner pages (rooms, location, FAQ, guides) ---------- */
.breadcrumbs { margin-top: calc(var(--header-h, 96px) + 1.25rem); font-size: var(--text-sm); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; color: var(--ink-soft); }
.breadcrumbs li + li::before { content: "›"; margin-right: .5rem; color: var(--gold-deep); }
.breadcrumbs a { color: var(--green); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.page-404 main, .page-home .breadcrumbs { margin-top: 0; }
.page-404 .prose-page { padding-top: calc(var(--header-h, 96px) + 2rem); }
.prose-page, .room-page { padding-block: 1.5rem clamp(3rem, 6vw, 5rem); }
.page-head { max-width: 780px; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.page-head h1 { font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); line-height: 1.1; margin: .35rem 0 .8rem; color: var(--ink); overflow-wrap: anywhere; hyphens: auto; }
.page-head .lead { font-size: var(--text-lg, 1.15rem); color: var(--ink-soft); margin: 0; }
.page-head .meta { color: var(--ink-soft); font-size: var(--text-sm); margin: 0; }
.prose { max-width: 72ch; }
.prose h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 1.15rem + 1vw, 1.85rem); margin: 2rem 0 .6rem; color: var(--green-dark); }
.prose p, .prose li { color: var(--ink-soft); line-height: 1.7; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose a, .related a { color: var(--green); font-weight: 600; }
.prose strong { color: var(--ink); }
.article-img img, .room-hero-img img, .room-bath-img img, .loc-photo img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.article-img, .room-hero-img, .room-bath-img, .loc-photo { margin: 0 0 1.5rem; }
.article-img img { aspect-ratio: 16/9; object-fit: cover; }
.room-bath-img { max-width: 460px; }
.room-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.room-media p { color: var(--ink-soft); line-height: 1.7; }
.room-media h2, .other-rooms h2, .room-aside h2, .loc-aside h2, .related h2 { font-family: var(--font-display); color: var(--green-dark); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); margin: 1.75rem 0 .75rem; }
.room-aside { position: sticky; top: calc(var(--header-h, 96px) + 1rem); }
.spec-card { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--accent, var(--green)); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.spec-card h2 { margin-top: 1rem; }
.spec-price { margin: 0; font-size: var(--text-base); color: var(--ink-soft); }
.spec-price strong { font-family: var(--font-display); font-size: 2.2rem; color: var(--green); }
.spec-inc { margin: .25rem 0 0; font-size: var(--text-sm); color: var(--ink-soft); }
.specs { margin: 0 0 1.25rem; display: grid; gap: .6rem; }
.specs div { display: grid; grid-template-columns: 9.5rem 1fr; gap: .75rem; padding-bottom: .6rem; border-bottom: 1px dashed var(--line); }
.specs dt { font-weight: 700; color: var(--ink); font-size: var(--text-sm); }
.specs dd { margin: 0; color: var(--ink-soft); font-size: var(--text-sm); }
.spec-card .btn { margin-top: .6rem; }
.btn-wa { background: #1F8F4E; color: #fff; }
.btn-wa:hover { background: #17723E; color: #fff; }
.trust { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.trust li { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--text-sm); font-weight: 600; color: var(--ink); }
.trust svg { width: 18px; height: 18px; fill: none; stroke: var(--leaf); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.spec-card .trust { flex-direction: column; gap: .45rem; }
.page-home .trust { justify-content: center; }
.glance { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--gold); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); margin-top: 2rem; }
.glance h2 { font-family: var(--font-display); color: var(--green-dark); margin: 0 0 1rem; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); }
.glance dl { margin: 0; display: grid; gap: .55rem; }
.glance dl div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; }
.glance dt { font-weight: 700; color: var(--ink); }
.glance dd { margin: 0; color: var(--ink-soft); overflow-wrap: anywhere; }
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(1rem, 2.5vw, 1.5rem); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.card h3, .card h2 { font-family: var(--font-display); font-size: 1.25rem; margin: 0 0 .5rem; }
.card h3 a, .card h2 a { color: var(--green-dark); text-decoration: none; }
.card h3 a:hover, .card h2 a:hover { text-decoration: underline; }
.card p { color: var(--ink-soft); margin: 0; }
.card-img { padding: 0; overflow: hidden; }
.card-img a { display: block; text-decoration: none; color: var(--ink); font-weight: 700; }
.card-img img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .4s ease; }
.card-img a:hover img { transform: scale(1.03); }
.card-img span { display: block; padding: .9rem 1.1rem; }
.card-post { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-post img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; display: block; }
.card-post .card-body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card-post .more { margin-top: auto; font-weight: 700; color: var(--terracotta); text-decoration: none; }
.room-card h3 .room-link { color: inherit; text-decoration: none; }
.room-card h3 .room-link:hover { text-decoration: underline; }
.room-actions { display: inline-flex; flex-wrap: wrap; gap: .5rem; }
.faq-more { text-align: center; margin-top: 1.75rem; }
.faq-list .faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm, 12px); padding: 0 1.25rem; margin-bottom: .75rem; }
.faq-list summary { cursor: pointer; list-style: none; padding: 1.05rem 0; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-q { display: inline; font-family: var(--font-body); font-size: var(--text-base); font-weight: 700; color: var(--ink); margin: 0; }
.faq-list summary::after { content: "+"; float: right; font-weight: 700; color: var(--gold-deep); margin-left: 1rem; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 0 0 1.1rem; color: var(--ink-soft); line-height: 1.7; }
.loc-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.loc-aside .nap { font-style: normal; line-height: 1.8; }
.loc-aside .nap a { color: var(--green); font-weight: 600; }
.loc-aside .map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 1.5rem; }
.loc-aside iframe { width: 100%; height: 340px; border: 0; display: block; }
.related { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.related ul { padding-left: 1.2rem; }
.related li { margin-bottom: .45rem; }
.other-rooms { margin-top: clamp(2rem, 5vw, 3.5rem); }
.cta-band { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); color: #fff; padding-block: clamp(2.5rem, 6vw, 4rem); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-inner h2 { font-family: var(--font-display); color: #fff; margin: 0 0 .4rem; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); }
.cta-inner p { margin: 0; color: #E6F0E8; max-width: 60ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band .btn-wa { background: #fff; color: var(--green-dark); }
.footer-nap { font-style: normal; font-size: var(--text-sm); line-height: 1.7; margin-top: .75rem; }
.footer-nap a { color: inherit; }
@media (max-width: 900px) {
  .room-layout, .loc-grid { grid-template-columns: 1fr; }
  .room-aside { position: static; }
}
@media (max-width: 760px) { .breadcrumbs { margin-top: calc(var(--header-h, 68px) + 1rem); } }
@media (max-width: 480px) {
  .specs div, .glance dl div { grid-template-columns: 1fr; gap: .15rem; }
  .cta-actions .btn, .room-actions .btn { flex: 1 1 auto; }
}
.cta-band .btn-primary { background: var(--gold); color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--sunflower); color: var(--ink); }
