/* Bali Luxury Villas Collection — no dependencies beyond Google Fonts. */
:root {
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', Arial, sans-serif;
  --ink: #2a211b;
  --body: #6b645a;
  --muted: #8b8277;
  --amber: #e8b02f;
  --amber-hover: #f0bf44;
  --warm: #faf8f5;
  --line: #ece7df;
  --dark: #14110d;
  --container: 1180px;
  --header-height: 74px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { margin: 0; background: #fff; color: var(--body); font: 400 16px/1.75 var(--font-body); -webkit-font-smoothing: antialiased; }
body.menu-open, body.lightbox-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 3px solid #9c751a; outline-offset: 4px; }
::selection { background: #f5db99; color: var(--ink); }
h1,h2,h3,h4,p { margin-top: 0; }
h1,h2,h3,h4 { color: var(--ink); font-family: var(--font-heading); font-weight: 600; line-height: 1.19; }
h1 { font-size: clamp(2.25rem, 4.1vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
h3 { font-size: clamp(1.42rem, 2vw, 1.85rem); }
p { margin-bottom: 1.2em; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 200; top: -100px; left: 16px; padding: 12px 18px; background: #fff; color: #111; }
.skip-link:focus { top: 12px; }
.site-header { position: relative; top: auto; z-index: 60; height: var(--header-height); background: rgba(255,255,255,.97); box-shadow: 0 1px 0 rgba(49,38,27,.1); backdrop-filter: blur(14px); }
.header-row { max-width: 1480px; padding: 0 clamp(20px, 3vw, 48px); margin-inline: auto; height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.menu-toggle { justify-self: start; display: inline-flex; align-items: center; gap: 12px; padding: 12px 4px; border: 0; background: transparent; color: var(--ink); font-size: .79rem; font-weight: 600; letter-spacing: .15em; }
.hamburger { width: 24px; display: grid; gap: 5px; }
.hamburger i { display: block; width: 100%; height: 2px; background: var(--ink); border-radius: 9px; }
.header-centre { justify-self: center; font-family: var(--font-heading); font-size: 1.11rem; color: var(--ink); font-weight: 600; line-height: 1.2; text-align: center; }
.header-brand { width: 123px; min-height: 51px; padding: 5px 10px; background: var(--dark); border-radius: 12px; display: grid; place-items: center; }
.header-brand img { width: 99px; }
.header-book { justify-self: end; }
.btn { border: 1px solid transparent; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 23px; background: #fff; color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.3; text-align: center; transition: background .2s ease, transform .2s ease, border-color .2s ease; }
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: #1f1a14; }
.btn-primary:hover { background: var(--amber-hover); }
.btn-large { padding: 17px 28px; min-height: 58px; font-size: 1rem; }
.btn-outline { background: #fff; border: 1px solid #d5cbbf; }
.btn-outline:hover { background: var(--warm); }
.btn-ghost { color: #fff; background: transparent; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn svg { width: 20px; height: 20px; flex: 0 0 20px; }
.btn-block { width: 100%; }
.drawer-scrim { position: fixed; z-index: 69; inset: 0; background: rgba(15,12,9,.52); opacity: 0; pointer-events: none; transition: opacity .25s; }
.menu-drawer { position: fixed; z-index: 70; top: 0; bottom: 0; left: 0; width: min(380px, 88vw); background: #fff; padding: 25px 27px 45px; box-shadow: 0 25px 80px rgba(0,0,0,.11); transform: translateX(-105%); transition: transform .3s ease; overflow: auto; }
.menu-open .drawer-scrim { opacity: 1; pointer-events: all; }
.menu-open .menu-drawer { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 30px; }
.drawer-wordmark { font-family: var(--font-heading); font-size: 1.27rem; font-weight: 600; color: var(--ink); }
.icon-button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; color: var(--ink); background: var(--warm); }
.icon-button svg { width: 20px; height: 20px; }
.drawer-nav { display: flex; flex-direction: column; gap: 5px; }
.drawer-nav a { padding: 16px 7px; border-bottom: 1px solid var(--line); font-size: 1.03rem; color: var(--ink); }
.drawer-nav a:hover { color: #936c17; }
.drawer-cta { margin-top: 33px; }
/* Heroes remain dignified charcoal when original photography has not yet been supplied. */
.hero { min-height: min(65svh, 700px); min-height: min(65vh, 700px); position: relative; isolation: isolate; display: grid; align-items: center; justify-items: center; text-align: center; color: #fff; background: var(--dark); overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,10,.32), rgba(10,10,10,.56)); pointer-events: none; }
.hero--inner { min-height: clamp(510px, 68svh, 710px); }
.hero-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-content { position: relative; z-index: 1; width: min(760px, calc(100% - 36px)); padding: 45px 0 50px; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: min(380px, 72vw); max-width: 100%; margin-bottom: 15px; }
.hero h1 { max-width: 690px; margin: 0 auto 24px; font-size: clamp(1.58rem, 3vw, 3rem); color: #fff; line-height: 1.36; text-wrap: balance; }
.hero .hero-kicker { text-transform: uppercase; font-size: .75rem; letter-spacing: .22em; margin-bottom: 8px; color: rgba(255,255,255,.85); }
.hero .btn-large { box-shadow: none; min-width: 300px; }
.hero-helper { font-size: .79rem; color: rgba(255,255,255,.83); margin: 13px 0 0; }
.also-on { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px 12px; color: rgba(255,255,255,.75); font-size: .76rem; }
.also-on a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.65); }
.also-on a:hover { color: var(--amber); }
section.section { padding: clamp(70px, 8vw, 110px) 0; }
.section-soft { background: var(--warm); }
.section-head { text-align: center; max-width: 725px; margin: 0 auto 48px; }
.section-head h2 { margin-bottom: 15px; }
.title-rule { width: 90px; height: 3px; margin: 0 auto 19px; background: var(--amber); border-radius: 4px; }
.section-sub { max-width: 580px; margin: 0 auto; font-size: 1.01rem; }
.villa-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; align-items: stretch; }
.villa-grid--more { max-width: 790px; margin-inline: auto; grid-template-columns: repeat(2,minmax(0,1fr)); }
.villa-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .25s ease; }
.villa-card:hover { transform: translateY(-5px); }
.villa-card-logo { background: var(--dark); display: grid; place-items: center; min-height: 128px; padding: 9px 26px; }
.villa-card-logo img { width: min(190px, 100%); }
.villa-card-photo { position: relative; width: 100%; aspect-ratio: 3 / 4; background: #eeebe6; overflow: hidden; }
.villa-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder { position: absolute; inset: 0; background: #eeeae4; color: #978e84; display: grid; align-items: center; justify-items: center; padding: 24px; text-align: center; }
.photo-placeholder::before { content: ''; display: block; width: 56px; height: 56px; border-radius: 50%; border: 1px solid #d3cdc4; position: absolute; top: calc(50% - 78px); opacity: .7; }
.photo-placeholder span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-top: 28px; }
.photo-placeholder[hidden] { display: none; }
.photo-placeholder--dark { background: #25201b; color: #a7a096; }
.villa-card-body { padding: 26px 27px 28px; display: flex; flex-direction: column; flex: 1; }
.villa-card-body h3 { margin-bottom: 12px; }
.villa-card-body .card-description { font-size: .93rem; margin-bottom: 15px; }
.card-meta { font-size: .75rem; color: var(--muted); margin-top: auto; margin-bottom: 22px; line-height: 1.55; }
.card-actions { display: flex; gap: 9px; }
.card-actions .btn { flex: 1; min-width: 0; padding: 12px 10px; font-size: .83rem; }
.closing-blurb { max-width: 815px; margin: 48px auto 0; text-align: center; font-size: 1.02rem; line-height: 1.9; }
.site-footer { background: #171512; color: #d0cbc5; padding: 58px 0 30px; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding-bottom: 39px; }
.footer-logo { width: 163px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px 29px; font-size: .86rem; }
.footer-links a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.13); padding-top: 20px; font-size: .74rem; color: #a9a29a; }
.wa-floating { position: fixed; bottom: 25px; right: 25px; z-index: 55; width: 59px; height: 59px; display: grid; place-items: center; background: #24bc66; color: #fff; border-radius: 50%; box-shadow: 0 7px 24px rgba(0,0,0,.16); transition: transform .2s; }
.wa-floating:hover { transform: translateY(-4px); background: #1da957; }
.wa-floating svg { width: 30px; height: 30px; }
/* Villa pages */
.facts-strip { border-bottom: 1px solid var(--line); background: #fff; }
.facts-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; padding-block: 27px; }
.fact { display: flex; align-items: center; gap: 13px; min-width: 0; }
.fact-icon { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 40px; border-radius: 50%; background: #faf3e3; color: #a2751d; }
.fact-icon svg { width: 20px; height: 20px; }
.fact-label { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); line-height: 1.3; }
.fact-value { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px,1fr); gap: clamp(40px,7vw,90px); align-items: start; }
.detail-copy h2 { margin-bottom: 25px; }
.detail-copy p { max-width: 690px; }
.features-title { margin: 36px 0 22px; font-size: 1.7rem; }
.features-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.feature { background: #faf8f4; padding: 23px 15px 20px; border: 1px solid var(--line); border-radius: 14px; min-height: 180px; text-align: center; }
.feature-icon { width: 53px; height: 53px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: #e8b02f; color: #fff; }
.feature-icon svg { width: 27px; height: 27px; stroke-width: 1.7; }
.feature h4 { margin: 0 0 6px; font-family: var(--font-heading); font-size: 1.01rem; line-height: 1.4; }
.feature p { margin: 0; font-size: .74rem; line-height: 1.58; }
.booking-card { position: sticky; top: calc(var(--header-height) + 24px); padding: 29px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.booking-card h3 { margin-bottom: 12px; }
.booking-card .btn-large { font-size: .9rem; padding-inline: 14px; }
.booking-card-note { font-size: .81rem; margin: 15px 0 0; }
.booking-card .small-platform { margin-top: 19px; }
.small-platform { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; color: var(--muted); font-size: .77rem; }
.small-platform a { color: var(--ink); text-decoration: underline; text-decoration-color: #c7b5a2; text-underline-offset: 4px; }
.house-rules { margin-top: 24px; padding: 20px; background: #faf8f4; border-radius: 12px; font-size: .85rem; }
.house-rules strong { display: block; color: var(--ink); margin-bottom: 4px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; }
.gallery-item { position: relative; appearance: none; padding: 0; border: 0; display: block; background: #efebe5; border-radius: 14px; aspect-ratio: 1.1 / 1; overflow: hidden; }
.gallery-item:nth-child(1),.gallery-item:nth-child(6) { grid-column: span 2; aspect-ratio: 2 / 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:not(:disabled):hover img { transform: scale(1.04); }
.gallery-item:disabled { cursor: default; }
.gallery-item .photo-placeholder { font-size: .74rem; }
.gallery-item:disabled .photo-placeholder::before { display: none; }
.gallery-item:disabled .photo-placeholder span { margin: 0; }
.gallery-hint { text-align: center; font-size: .76rem; color: var(--muted); margin: 18px 0 0; }
.lightbox { max-width: min(1000px, calc(100% - 35px)); width: auto; max-height: calc(100dvh - 50px); padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--dark); color: #fff; }
.lightbox::backdrop { background: rgba(0,0,0,.88); }
.lightbox figure { margin: 0; }
.lightbox img { max-height: calc(100dvh - 95px); max-width: 100%; display: block; width: auto; margin: auto; }
.lightbox figcaption { font-size: .81rem; color: #fff; padding: 9px 20px 15px; text-align: center; }
.lightbox-close { position: absolute; top: 12px; right: 12px; z-index: 2; background: #fff; }
/* Calendar */
.availability-layout { max-width: 950px; margin-inline: auto; }
.calendar-panel { background: #fff; padding: clamp(20px,4vw,42px); border-radius: 16px; border: 1px solid var(--line); }
.calendar-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 21px; }
.calendar-top h3 { font-size: 1.42rem; margin: 0; }
.calendar-nav { display: flex; gap: 10px; }
.cal-arrow { width: 43px; height: 43px; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; color: var(--ink); background: #fff; }
.cal-arrow:hover:not(:disabled) { background: #faf6eb; }
.cal-arrow:disabled { opacity: .3; }
.cal-arrow svg { width: 20px; height: 20px; }
.calendar-months { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(20px,4vw,42px); }
.calendar-month h4 { margin: 0 0 18px; font: 600 1.14rem/1.5 var(--font-body); color: var(--ink); text-align: center; }
.cal-weekdays,.cal-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; }
.cal-weekdays { margin-bottom: 6px; }
.cal-weekdays span { text-align: center; font-size: .68rem; color: var(--muted); }
.cal-day { border: 0; border-radius: 8px; height: 41px; display: grid; place-items: center; background: #fff; color: var(--ink); font: 500 .81rem/1 var(--font-body); position: relative; padding: 0; }
.cal-day:not(:disabled):hover { background: #fcf2dd; }
.cal-day.is-past { color: #c6c1ba; background: transparent; }
.cal-day.is-taken { color: #a59d94; text-decoration: line-through; background: repeating-linear-gradient(135deg,#f4f1ed 0px,#f4f1ed 4px,#eae5de 4px,#eae5de 5px); }
.cal-day.is-in-range { background: #fff4d7; border-radius: 4px; }
.cal-day.is-end,.cal-day.is-start { color: #251b0d; background: var(--amber); text-decoration: none; font-weight: 700; border-radius: 8px; }
.cal-day.is-taken.is-end { background: var(--amber); }
.cal-day.is-empty { background: transparent; }
.cal-day.is-today::after { content: ''; position: absolute; bottom: 4px; left: calc(50% - 2px); width: 4px; height: 4px; border-radius: 50%; background: #9e7b25; }
.cal-day:disabled:not(.is-taken) { opacity: .75; }
.calendar-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 19px; margin-top: 24px; font-size: .72rem; }
.legend-item { display: inline-flex; align-items: center; gap: 7px; }
.legend-swatch { width: 16px; height: 16px; border-radius: 4px; border: 1px solid #e8e4de; }
.legend-selected { background: var(--amber); }
.legend-taken { background: repeating-linear-gradient(135deg,#f4f1ed 0,#f4f1ed 4px,#e7e2db 4px,#e7e2db 5px); }
.calendar-status { margin: 17px 0 0; font-size: .8rem; color: var(--body); }
.calendar-status.is-notice { background: #f7f3eb; padding: 12px 15px; border-radius: 9px; }
.calendar-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 17px; margin-top: 25px; padding-top: 23px; border-top: 1px solid var(--line); }
.selection-summary { font-size: .87rem; margin: 0; max-width: 410px; }
.selection-summary strong { color: var(--ink); }
.calendar-bottom .btn { max-width: 340px; }
.calendar-clear { border: none; padding: 0; background: transparent; text-decoration: underline; color: var(--ink); font-size: .76rem; }
/* fallback for missing original photos */
img.is-missing { display: none !important; }
/* simple reveal only if motion preference allows */
@media (prefers-reduced-motion: no-preference) {
  .js-ready .reveal { opacity: 1; transform: none; }
  .js-ready .reveal.is-visible { animation: gentle-reveal .6s ease both; }
  @keyframes gentle-reveal { from { opacity: .72; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 1050px) {
 .villa-grid { gap: 17px; }
 .villa-card-body { padding: 21px 19px 22px; }
 .card-actions { flex-wrap: wrap; }
 .card-actions .btn { flex-basis: 100%; }
 .features-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
 :root { --header-height: 67px; }
 .container { width: calc(100% - 38px); }
 .header-centre { font-size: .9rem; }
 .header-book { padding: 10px 14px; font-size: .77rem; }
 .menu-toggle { gap: 9px; font-size: .72rem; }
 .hamburger { width: 21px; }
 .header-brand { width: 89px; min-height: 43px; padding: 5px; border-radius: 9px; }
 .header-brand img { width: 76px; }
 .hero { min-height: 590px; min-height: min(72svh,640px); }
 .hero--inner { min-height: 570px; }
 .hero-logo { width: min(280px, 77vw); }
 .hero h1 { font-size: clamp(1.48rem, 6vw, 2.1rem); max-width: 440px; }
 .hero .btn-large { min-width: 0; width: min(320px,100%); font-size: .9rem; padding-inline: 12px; }
 section.section { padding: 67px 0; }
 .section-head { margin-bottom: 35px; }
 .villa-grid { grid-template-columns: 1fr; gap: 23px; max-width: 500px; margin-inline: auto; }
 .villa-card-photo { aspect-ratio: 3 / 3.5; }
 .villa-grid--more { grid-template-columns: 1fr; }
 .villa-card-logo { min-height: 116px; }
 .card-actions { flex-wrap: nowrap; }
 .card-actions .btn { flex-basis: auto; }
 .closing-blurb { margin-top: 37px; font-size: .92rem; }
 .footer-main { flex-direction: column; align-items: flex-start; }
 .footer-links { flex-direction: column; gap: 10px; }
 .facts-inner { gap: 20px 13px; grid-template-columns: repeat(2, minmax(0,1fr)); }
 .fact { gap: 8px; }
 .fact-icon { width: 34px; height: 34px; flex-basis: 34px; }
 .fact-icon svg { width: 17px; height: 17px; }
 .fact-value { font-size: .78rem; }
 .detail-grid { grid-template-columns: 1fr; gap: 36px; }
 .booking-card { position: static; }
 .features-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .gallery-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
 .gallery-item:nth-child(1),.gallery-item:nth-child(6) { grid-column: span 2; aspect-ratio: 2 / 1; }
 .calendar-months { grid-template-columns: 1fr; }
 .calendar-month:not(:first-child) { display: none; }
 .calendar-panel { padding: 21px 15px; }
 .calendar-top h3 { font-size: 1.14rem; }
 .cal-day { height: 41px; }
 .calendar-bottom { display: block; }
 .calendar-bottom .btn { max-width: none; margin-top: 15px; }
 .wa-floating { width: 54px; height: 54px; right: 17px; bottom: 17px; }
}
@media (max-width: 390px) {
 .container { width: calc(100% - 30px); }
 .header-row { padding-inline: 14px; }
 .header-centre { font-size: .77rem; max-width: 122px; }
 .header-book { padding: 10px 12px; font-size: .72rem; }
 .hero-helper { max-width: 280px; }
 .also-on { gap: 6px 8px; font-size: .71rem; }
 .features-grid { gap: 9px; }
 .feature { padding: 18px 9px; min-height: 170px; }
 .feature h4 { font-size: .89rem; }
 .feature p { font-size: .7rem; }
 .card-actions .btn { font-size: .78rem; }
 .cal-day { height: 37px; font-size: .76rem; }
}
@media (prefers-reduced-motion: reduce) {
 *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}



/* Pauly revision 1: consistent 5 mm gold frame and black site palette. */
:root {
  --ink: #f3eee7;
  --body: #cec6bc;
  --muted: #b6a99a;
  --amber: #f5c348;
  --amber-hover: #ffcf5a;
  --warm: #171512;
  --line: #3d3428;
  --dark: #0b0b0a;
  --page-black: #080808;
  --gold-frame: #f5c348;
}
html { scroll-padding-top: 16px; }
html,body { max-width:100%; }
/* Revision 2: 5 mm gold page border, 5 mm in from the outer page edge.
   The border belongs to body and scrolls with the full document; no overlay. */
body { background:var(--page-black); color:var(--body); margin:5mm; border:3.35mm solid var(--gold-frame); padding:0; min-width:0; width:auto; }
body > .site-header, body > main, body > .site-footer { width:100%; margin-inline:0; }
/* Navigation is part of the document flow: it scrolls away with the page and never overlays content. */
.site-header { position:relative; top:auto; background:#12100e; border-bottom:1px solid #3c3226; box-shadow:none; }
.site-header .header-row { max-width:1480px; margin-inline:auto; }
.header-centre,.menu-toggle,.drawer-wordmark,.drawer-nav a,.icon-button { color:var(--ink); }
.hamburger i { background:var(--amber); }
.btn { background:#1e1a15; color:var(--ink); }
.btn-primary { background:var(--amber); color:#1b130a; }
.btn-primary:hover { background:var(--amber-hover); }
.btn-outline { background:#171411; border-color:#6c5839; color:var(--ink); }
.btn-outline:hover { background:#2b2217; }
.btn-ghost { background:transparent; border-color:rgba(255,255,255,.7); color:#fff; }
:focus-visible { outline:3px solid #f5c348; outline-offset:4px; }
::selection { background:var(--amber); color:#0b0b0b; }
h1,h2,h3,h4 { color:var(--ink); }
.section { background:#10100f; }
.section-soft { background:#171512; }
.section-sub { color:var(--body); }
.title-rule { background:var(--amber); }
.menu-drawer { top:10mm; bottom:10mm; left:10mm; width:min(380px,calc(100vw - 20mm)); background:#191512; border:1px solid #47392a; box-shadow:0 24px 55px rgba(0,0,0,.45); }
.drawer-scrim { inset:10mm; }
.drawer-nav a { border-bottom-color:var(--line); }
.drawer-nav a:hover { color:var(--amber); }
.icon-button { background:#30291e; }
.hero { background:#0b0b0a; }
.hero::after { background:linear-gradient(180deg,rgba(0,0,0,.27),rgba(0,0,0,.6)); }
.hero--home { min-height:0; display:flex; align-items:center; justify-content:center; padding:clamp(44px,7vw,92px) 20px clamp(23px,4vw,49px); }
.hero--home::after { display:block; background:linear-gradient(180deg,rgba(0,0,0,.28),rgba(0,0,0,.52)); }
.hero--home .hero-content { padding:0; width:100%; }
.hero--home .hero-logo { width:min(520px,82%); max-width:100%; margin:0 auto; }
.visually-hidden { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }
/* The logos and portraits follow the supplied sketch: no separate black logo plate. */
.section.home-villas { background:#080808; padding:0 0 clamp(45px,6vw,78px); }
.home-villas .villa-grid { gap:clamp(16px,2.4vw,32px); }
.home-villas .villa-card { border:0; box-shadow:none; background:transparent; overflow:visible; border-radius:0; }
.home-villas .villa-card:hover { transform:none; box-shadow:none; }
.home-villas .villa-card-media { display:flex; flex-direction:column; background:transparent; overflow:visible; }
.home-villas .villa-card-logo { order:0; position:static; z-index:auto; width:100%; min-height:0; padding:0 6px clamp(15px,2.5vw,23px); border:0; border-radius:0; box-shadow:none; background:transparent; transform:none !important; display:grid; place-items:center; }
.home-villas .villa-card-logo:hover { transform:none !important; background:transparent; }
.home-villas .villa-card-logo img { display:block; width:min(245px,94%); max-width:100%; height:auto; object-fit:contain; filter:none; }
.home-villas .villa-card-photo { order:1; background:#1e1b16; aspect-ratio:3/4; border-radius:13px; overflow:hidden; }
.home-villas .villa-card-photo img { object-fit:cover; }
.home-villas .villa-card-body { background:transparent; padding:24px 3px 6px; }
.home-villas .villa-card-body h3 { color:var(--ink); font-size:clamp(1.35rem,2vw,1.7rem); }
.home-villas .villa-card-body .card-description { color:var(--body); }
.home-villas .villa-card-body .card-location { color:var(--amber); }
.home-villas .card-meta { color:var(--muted); }
.home-villas .card-actions { gap:9px; }
.home-villas .card-actions .btn { border-radius:10px; }
.villa-card { background:#191612; border:1px solid var(--line); box-shadow:none; }
.villa-card:hover { box-shadow:0 11px 28px rgba(0,0,0,.25); }
.villa-card-logo { background:#15120f; }
.villa-card-body { background:#191612; }
.villa-card-body h3 { color:var(--ink); }
.villa-card-body .card-description { color:var(--body); }
.villa-card-body .card-location { color:var(--amber); }
.card-meta { color:var(--muted); }
.photo-placeholder { background:#1c1915; color:var(--muted); }
.photo-placeholder--dark { background:#12100e; }
/* Exact landing-page welcome copy with its own breathing room. */
.welcome-section { text-align:center; background:#0e0d0c; padding:clamp(44px,6vw,88px) 0 clamp(45px,6vw,86px); }
.welcome-section .welcome-copy { max-width:900px; margin:auto; }
.welcome-copy p { font-size:clamp(.88rem,1.18vw,1.06rem); line-height:1.95; margin:0 0 25px; color:#d6ccbb; }
.welcome-copy .welcome-bold { font-family:var(--font-heading); font-weight:600; font-size:clamp(1.45rem,2.8vw,2.2rem); line-height:1.35; color:#f9edcf; }
.welcome-copy .welcome-final { margin-top:24px; margin-bottom:0; }
/* Availability dropdown: pointer hover, focus, keyboard and touch click. */
.welcome-actions { display:flex; flex-direction:column; align-items:center; gap:17px; margin-top:34px; }
.booking-title { font-family:var(--font-heading); font-size:clamp(1.28rem,2.1vw,1.85rem); margin:0; color:#f4e7d3; }
.availability-menu { position:relative; display:inline-block; width:min(330px,100%); text-align:left; }
.availability-trigger { width:100%; min-height:56px; padding:13px 20px; display:flex; gap:12px; align-items:center; justify-content:center; border:1px solid #dfb552; border-radius:11px; background:var(--amber); color:#21180e; font:600 .96rem/1.4 var(--font-body); cursor:pointer; }
.availability-trigger:hover,.availability-menu.is-open .availability-trigger { background:var(--amber-hover); }
.availability-chevron { width:9px; height:9px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg) translateY(-2px); }
.availability-dropdown { position:absolute; top:100%; left:0; right:0; z-index:71; border:1px solid #755b33; border-radius:0 0 11px 11px; background:#231c14; padding:8px; box-shadow:0 13px 25px rgba(0,0,0,.4); opacity:0; visibility:hidden; pointer-events:none; transform:translateY(-4px); transition:opacity .15s,transform .15s,visibility .15s; }
.availability-menu.is-open .availability-dropdown { opacity:1; visibility:visible; pointer-events:auto; transform:none; }
@media (hover:hover) { .availability-menu:hover .availability-dropdown { opacity:1; visibility:visible; pointer-events:auto; transform:none; } }
.availability-dropdown a { display:block; font:.89rem/1.6 var(--font-body); color:#f1e6d3; padding:11px 14px; border-radius:7px; }
.availability-dropdown a:hover,.availability-dropdown a:focus-visible { background:#4b3620; color:#fff; }
.welcome-actions .btn-large { width:min(330px,100%); font-size:.91rem; }
.welcome-actions .also-on { margin-top:0; }
.welcome-actions .also-on a { color:#fff0d2; }
/* Bali ocean photograph is deliberately a local CSS background (no broken image icon). */
.ocean-section { padding: 0 0 clamp(46px,7vw,108px); background: #080808; overflow: hidden; }
.ocean-band {
  position: relative;
  min-height: clamp(300px, 42vw, 560px);
  margin: 0 clamp(14px, 2vw, 24px);
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.08) 28%, rgba(0,0,0,.10) 72%, rgba(0,0,0,.42) 100%),
    linear-gradient(90deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,0) 18%, rgba(0,0,0,0) 82%, rgba(0,0,0,.22) 100%),
    url('images/bali-ocean.png') center center / cover no-repeat;
  border: 1px solid rgba(242, 183, 62, .28);
  box-shadow: 0 20px 44px rgba(0,0,0,.32), inset 0 0 0 1px rgba(255,255,255,.03);
}
.ocean-band::before,
.ocean-band::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 80px;
  pointer-events: none;
}
.ocean-band::before {
  top: 0;
  background: linear-gradient(180deg, rgba(8,8,8,.88), rgba(8,8,8,0));
}
.ocean-band::after {
  bottom: 0;
  background: linear-gradient(180deg, rgba(8,8,8,0), rgba(8,8,8,.9));
}
.ocean-photo { display:none; }
@media (max-width: 700px) {
  .ocean-band {
    min-height: clamp(240px, 58vw, 340px);
    border-radius: 18px;
    margin: 0 10px;
    background-position: center center;
  }
}

  .ocean-photo { width:min(100%, 1000px); height:clamp(190px,44vw,290px); }
}
.site-footer { background:#11100e; color:#c7bfb4; border-top:1px solid var(--line); }
.footer-bottom { border-top-color:var(--line); }
.footer-links a:hover { color:var(--amber); }
.wa-floating { right:calc(10mm + 10px); bottom:calc(10mm + 10px); }
/* Villa pages keep their HTML, facts, galleries and reservation JavaScript unchanged. */
.facts-strip { background:#171410; border-bottom:1px solid var(--line); }
.fact-icon { background:#302716; color:var(--amber); }
.fact-value { color:var(--ink); }
.fact-label { color:var(--muted); }
.feature { background:#211c16; border-color:var(--line); }
.feature-icon { background:#b99140; color:#fff; }
.booking-card,.calendar-panel { background:#211c15; border-color:var(--line); color:var(--body); box-shadow:none; }
.booking-card h3,.calendar-panel h3 { color:var(--ink); }
.small-platform a { color:#f2ddb5; }
.house-rules { background:#30291e; }
.house-rules strong { color:var(--ink); }
.gallery-item { background:#241e16; }
.calendar-month h4 { color:var(--ink); }
.cal-arrow,.cal-day { color:var(--ink); background:#30271e; }
.cal-arrow { border-color:#625037; }
.cal-arrow:hover:not(:disabled),.cal-day:not(:disabled):hover { background:#543e20; }
.cal-day.is-past { background:transparent; color:#766c5d; }
.cal-day.is-taken { color:#bbad98; background:repeating-linear-gradient(135deg,#26211c 0px,#26211c 4px,#443528 4px,#443528 5px); }
.cal-day.is-in-range { background:#66512f; }
.cal-day.is-start,.cal-day.is-end,.cal-day.is-taken.is-end { background:var(--amber); color:#1d150c; }
.legend-swatch { border-color:#6c5b40; }
.legend-taken { background:repeating-linear-gradient(135deg,#26211c 0px,#26211c 4px,#443528 4px,#443528 5px); }
.calendar-status.is-notice { background:#352c20; color:#ead6b9; }
.calendar-clear,.selection-summary strong { color:var(--ink); }
.lightbox-close { background:#362d20; }
@media(max-width:760px) {
  .site-header .header-row { padding-inline:12px; }
  .header-centre { max-width:105px; font-size:.8rem; }
  .header-book { padding:10px 10px; font-size:.7rem; }
  .menu-toggle { gap:7px; font-size:.67rem; }
  .container { width:calc(100% - 28px); }
  .hero--home { min-height:0; padding:34px 8px 20px; }
  .hero--home .hero-content { padding:0; width:100%; }
  .hero--home .hero-logo { width:min(335px,90%); }
  .section.home-villas { padding-bottom:46px; }
  .home-villas .villa-grid { gap:46px; }
  .home-villas .villa-card-logo { min-height:0; padding-bottom:14px; }
  .home-villas .villa-card-logo img { width:min(220px,85%); }
  .home-villas .villa-card-photo { aspect-ratio:3/3.65; }
  .welcome-section { padding:50px 0 57px; }
  .welcome-copy p { line-height:1.85; }
  .wa-floating { right:calc(10mm + 4px); bottom:calc(10mm + 4px); width:46px; height:46px; }
  .wa-floating svg { width:25px; height:25px; }
  .cal-day { height:38px; }
}
@media(max-width:390px) {
  .site-header .header-row { padding-inline:8px; }
  .site-header .header-centre { font-size:.72rem; max-width:88px; }
  .site-header .header-book { font-size:.65rem; padding:9px 8px; }
  .menu-toggle span:last-child { font-size:.62rem; }
  .container { width:calc(100% - 22px); }
  .home-villas .card-actions .btn { padding:11px 8px; }
  .features-grid { gap:8px; }
  .feature { padding:16px 8px; }
  .cal-day { height:33px; font-size:.72rem; }
}

/* Home villa covers should display directly without placeholder overlays. */
.home-villas .villa-card-photo { background:#14100d; }
.home-villas .villa-card-photo img { display:block; width:100%; height:100%; object-fit:cover; }

/* Revision 3: client-requested refinement (no changes to unrelated sections). */
/* Gold border belongs to the entire scrolling document; 33% thinner. */
body { margin:5mm; border:3.35mm solid var(--gold-frame); }
/* More consistent thumbnails even when the photo count changes. */
.gallery-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(8px,1.4vw,18px); grid-auto-flow:row dense; }
.gallery-grid .gallery-item { grid-column:auto; aspect-ratio:4/3; border-radius:12px; }
.gallery-grid .gallery-item:nth-child(1) { grid-column:span 2; grid-row:span 2; aspect-ratio:auto; }
.gallery-grid .gallery-item:nth-child(6) { grid-column:auto; aspect-ratio:4/3; }
.gallery-grid .gallery-item img { object-fit:cover; }
.lightbox { width:min(1050px,calc(100% - 22px)); max-width:1050px; max-height:calc(100dvh - 28px); overflow:visible; }
.lightbox figure { display:flex; flex-direction:column; justify-content:center; align-items:center; min-height: min(65vh,520px); }
.lightbox figure img { max-height:calc(100dvh - 145px); width:auto; object-fit:contain; }
.lightbox-nav { position:absolute; z-index:3; top:50%; transform:translateY(-50%); border:1px solid #b99a55; background:rgba(18,13,8,.82); color:#fff; border-radius:50%; width:44px; height:44px; cursor:pointer; font-size:27px; display:grid;place-items:center; }
.lightbox-nav--prev { left:12px; }
.lightbox-nav--next { right:12px; }
.lightbox-counter { position:absolute;left:16px;top:17px;color:#fff;z-index:3;font:500 .78rem var(--font-body); }
.lightbox-nav:focus-visible { outline:2px solid var(--amber); outline-offset:3px; }
.best-rates-note { color:#f6deb0; font:500 .82rem/1.5 var(--font-body);text-align:center;margin:8px 0 5px; }
.booking-card .best-rates-note { text-align:left; margin:8px 0 10px; }
.calendar-party { display:flex; flex-wrap:wrap; align-items:center; gap:14px; padding:18px 0 3px; }
.calendar-party label { display:flex; align-items:center; gap:8px; font:500 .83rem/1.4 var(--font-body); }
.calendar-party select { min-width:75px; border:1px solid #856a3c; border-radius:8px; background:#30271e; color:#f8e8c7; padding:9px 10px; font:500 .9rem var(--font-body); }
.calendar-status.is-error { background:#322418; color:#ffe1c3; border:1px solid #684628; padding:12px 15px; border-radius:9px; }
.calendar-legend .legend-unknown { border:1px solid #8c7f6c; background:#383029; }
.cal-day.is-unknown:not(.is-past):not(.is-in-range):not(.is-start):not(.is-end) { outline:1px dotted #584734; outline-offset:-3px; }
.villa-map { margin-top:0; }
.villa-map[hidden], .villa-map-embed[hidden] { display:none !important; }
.villa-map-card { display:flex; align-items:center; justify-content:space-between; gap:26px; padding:clamp(26px,4vw,44px); background:#1c1815; border:1px solid #594a35; border-radius:16px; }
.villa-map-intro { display:flex; align-items:flex-start; gap:18px; min-width:0; }
.villa-map-icon { display:grid; place-items:center; flex:none; width:56px; height:56px; color:var(--amber); border-radius:50%; background:#302618; }
.villa-map-icon svg { width:28px; height:28px; stroke:currentColor; }
.villa-map-eyebrow { color:#e4b84d; font:600 .7rem/1.4 var(--font-body); letter-spacing:.15em; text-transform:uppercase; margin:0 0 6px; }
.villa-map-card h3 { color:#fff; font-size:clamp(1.2rem,1.9vw,1.65rem); margin:0 0 9px; }
.villa-map-card p:last-child { color:#c7bdb0; font-size:.93rem; margin:0; }
.villa-map-open { display:inline-flex; justify-content:center; align-items:center; text-align:center; flex:none; min-height:48px; padding:13px 20px; border-radius:10px; background:var(--amber); color:#201810; font:600 .88rem/1.35 var(--font-body); transition:background .2s ease; }
.villa-map-open:hover { background:var(--amber-hover); }
.villa-map-frame { display:block; width:100%; height:clamp(280px,37vw,440px); border:0; border-radius:14px; background:#231d16; }
.villa-map-embed { margin-top:20px; }
@media(max-width:760px) {
 .villa-map-card { flex-direction:column; align-items:stretch; gap:22px; }
 .villa-map-intro { gap:12px; }
 .villa-map-icon { width:45px; height:45px; }
 .villa-map-open { width:100%; }
}
@media(max-width:760px) {
 .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:9px; }
 .gallery-grid .gallery-item:nth-child(1) { grid-column:span 2; grid-row:auto; aspect-ratio:16/10; }
 .gallery-grid .gallery-item { aspect-ratio:4/3; }
 .lightbox-nav {width:37px;height:37px;font-size:23px;}
 .lightbox-nav--prev {left:5px;} .lightbox-nav--next {right:5px;}
 .calendar-party {gap:10px;}
}

/* Revision 4 — WhatsApp's two lines are contained in the same button. */
.btn.wa-two-line {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 5px;
  min-height: 72px;
  padding-top: 12px;
  padding-bottom: 12px;
  white-space: normal;
  line-height: 1.35;
}
.wa-two-line .wa-main-row { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.wa-two-line .wa-main { font: 600 .96rem/1.35 var(--font-body); }
.wa-two-line .wa-best { display: block; font: 500 .82rem/1.35 var(--font-body); letter-spacing: .012em; opacity: .86; }
.btn.wa-two-line svg { flex: 0 0 20px; }
/* Revision 4 — unmistakably separate, secondary links (never a run-on URL). */
.platform-buttons,
.small-platform.platform-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}
.small-platform.platform-buttons { justify-content: flex-start; }
.platform-buttons > a.platform-link,
.platform-villa-group > a.platform-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 46px;
  padding: 11px 16px;
  border: 1px solid rgba(232,176,47,.56);
  border-radius: 10px;
  background: rgba(27,21,16,.9);
  color: #fff5e0;
  font: 500 .91rem/1.35 var(--font-body);
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}
.platform-buttons > a.platform-link:hover,
.platform-buttons > a.platform-link:focus-visible,
.platform-villa-group > a.platform-link:hover,
.platform-villa-group > a.platform-link:focus-visible {
  background: #3b2c1b;
  color: #fff;
  border-color: var(--amber);
}
.platform-villa-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
}
.platform-villa-name {
  flex-basis: 100%;
  text-align: center;
  color: #f5dfb4;
  font: 500 .82rem/1.5 var(--font-body);
}
.js-home-platform.platform-buttons { gap: 12px 17px; }
@media(max-width: 600px) {
  .btn.wa-two-line { min-height: 72px; max-width: 100%; }
  .wa-two-line .wa-main { font-size: .89rem; }
  .wa-two-line .wa-best { font-size: .81rem; }
  .platform-buttons > a.platform-link,
  .platform-villa-group > a.platform-link { min-width: 114px; min-height: 46px; }
  .platform-villa-group { width: 100%; }
}

/* STABILITY HOTFIX: owner gallery pictures are first-class content, no placeholder overlays. */
.gallery-grid .gallery-item { text-decoration:none; cursor:pointer; }
.gallery-grid .gallery-item > img { display:block; width:100%; height:100%; object-fit:cover; }
.calendar-months:empty { min-height:290px; }
@media (max-width:760px) {
  .calendar-months .calendar-static-fallback:nth-child(n+2) { display:none; }
}


/* Revision 5: focal brand, trustworthy live calendar and photo-first galleries. */
.header-row { position:relative; grid-template-columns:1fr auto 1fr; }
.header-centre,.site-header .header-centre {
  font:700 clamp(24px,6vw,36px)/1.15 var(--font-heading);
  letter-spacing:.04em; color:var(--amber); max-width:none; white-space:nowrap;
  text-decoration:none; text-shadow:0 1px 12px rgba(232,176,47,.12);
}
.header-centre:has(.header-brand) { font-size:0; }
.header-centre .header-brand img {max-height:50px;width:auto;max-width:210px;object-fit:contain;}
.header-spacer {justify-self:end;width:32px;}
/* symmetric, measured inner padding to centre main logo in the band between header and villa badges */
.hero--home {padding:clamp(34px,5vw,72px) 12px !important;min-height:0;}
.hero--home .hero-content {width:100%;padding:0;}
.hero--home .hero-logo {display:block;margin:0 auto;max-width:100%;width:min(560px,86%);height:auto;}
.section.home-villas {padding-top:0;}
/* Exactly four tiles across desktop, three across tablet, two on phones. */
.gallery-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(9px,1.4vw,18px);grid-auto-flow:row;}
.gallery-grid .gallery-item,.gallery-grid .gallery-item:nth-child(1),.gallery-grid .gallery-item:nth-child(6){
 grid-column:auto;grid-row:auto;aspect-ratio:4/3;min-width:0;width:100%;padding:0;display:block;overflow:hidden;
 background:#241e16;border:0;border-radius:12px;cursor:zoom-in;
}
.gallery-grid .gallery-item img {width:100%;height:100%;display:block;object-fit:cover;}
#photo-lightbox img,.photo-lightbox img {object-fit:contain;max-width:100%;max-height:80vh;}
@media (min-width:700px) and (max-width:1100px){ .gallery-grid {grid-template-columns:repeat(3,minmax(0,1fr));} }
@media (max-width:699px){ .gallery-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;} }
/* Every reserved night is visibly struck out and unfocusable. */
.cal-day.is-taken,.cal-day.is-taken.is-start,.cal-day.is-taken.is-end {text-decoration:line-through!important;color:#b9a68e!important;opacity:.6!important;
 background:repeating-linear-gradient(135deg,#211b15 0,#211b15 4px,#413122 4px,#413122 7px)!important;}
.cal-day[aria-disabled="true"],.cal-day:disabled {cursor:not-allowed;}
.cal-day.is-past {opacity:.42!important;}
.cal-day.is-unknown {opacity:.5;}
.cal-day.is-start,.cal-day.is-end {text-decoration:none;}
/* CTA typography refinement — retain size and branding; reduce visual noise. */
.btn.wa-two-line,
.hero .btn.wa-two-line,
.drawer-cta.wa-two-line {
  min-height: 78px;
  min-width: min(380px, 100%);
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 15px 22px;
  border: 1px solid rgba(255, 211, 108, .7);
  border-radius: 11px;
  background: var(--amber);
  color: #20180e;
  font-family: var(--font-body);
  text-align: center;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22), 0 0 12px rgba(232, 176, 47, .14);
  animation: none;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.wa-two-line .wa-main-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 9px;
}
.wa-two-line .wa-main {
  font-family: var(--font-body) !important;
  font-size: 21px !important;
  font-weight: 600 !important;
  line-height: 1.24 !important;
  letter-spacing: -.018em !important;
  text-transform: none;
  color: inherit !important;
  opacity: 1 !important;
}
.wa-two-line .wa-best {
  display: block;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  letter-spacing: .055em !important;
  text-transform: none;
  color: inherit !important;
  opacity: .83 !important;
}
.btn.wa-two-line .wa-main-row svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}
/* Fit compact sidebar and navigation layouts without shrinking the button's touch target. */
.menu-drawer .btn.wa-two-line,
.booking-card .btn.wa-two-line {
  width: 100%;
  min-width: 0;
}
.menu-drawer .wa-two-line .wa-main {
  font-size: clamp(16px, 1.5vw, 19px) !important;
}
.booking-card .wa-two-line .wa-main {
  font-size: 16px !important;
}
.booking-card .wa-two-line .wa-main-row { gap: 6px; }
.btn.wa-two-line:hover,
.btn.wa-two-line:focus-visible {
  background: var(--amber-hover);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25), 0 0 16px rgba(232, 176, 47, .19);
}
@media (prefers-reduced-motion: reduce) {
  .btn.wa-two-line { animation: none; transition: none; }
}
/* The hero booking tab is above the fold on a 390×844 phone. */
@media(max-width:600px){
 .site-header .header-row {padding-inline:12px;grid-template-columns:29px minmax(0,1fr) 29px;}
 .site-header .menu-toggle {width:29px;gap:0;padding:3px;min-width:0;}
 .site-header .menu-toggle > span:last-child {display:none;}
 .site-header .header-centre {font-size:clamp(24px,6vw,27px);max-width:none;text-align:center;}
 .site-header .header-centre .header-brand img {max-width:175px;max-height:48px;}
 .hero--home {padding-block:38px!important;}
 .hero--home .hero-logo {width:min(390px,85%);}
 .hero--inner{min-height:0;height:auto;padding-block:30px;}
 .hero--inner .hero-content {padding:20px 0 22px;}
 .hero--inner .hero-logo {max-width:200px;margin-bottom:9px;}
 .hero--inner h1 {font-size:clamp(1.55rem,5vw,2rem);margin-bottom:15px;}
 .btn.wa-two-line,.hero .btn.wa-two-line,.drawer-cta.wa-two-line {width:100%;min-width:0;min-height:72px;padding:12px 13px;}
 .wa-two-line .wa-main {font-size:clamp(16px,4.6vw,19px)!important;letter-spacing:-.02em!important;}
 .wa-two-line .wa-best {font-size:13px!important;}
 .btn.wa-two-line .wa-main-row svg {width:18px;height:18px;flex-basis:18px;}
}
/* Secondary actions remain usable but don't compete with the golden primary. */
.platform-buttons a.platform-link,.availability-trigger,.btn-outline {min-height:44px;}
/* Responsive guest reviews: no cards, no stars or dates unless verified in owner screenshot. */
.testimonials-section[hidden], .testimonials-menu-link[hidden], .testimonials-extra[hidden], .more-reviews-toggle[hidden]{display:none!important;}
.reviews-slot--mobile {display:none;}
.reviews-slot--desktop {display:block;}
.section.testimonials-section {background:#080808;padding:64px 0 56px;scroll-margin-top:24px;}
.testimonials-section .section-head {text-align:center;max-width:none;margin:0 0 26px;}
.testimonials-section .section-head h2 {font-size:clamp(32px,3vw,36px);margin:0;color:#f5e8ce;}
.testimonials-grid,.testimonials-extra {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,3.1vw,40px);align-items:start;}
.testimonials-extra {padding-top:25px;margin-top:24px;border-top:1px solid rgba(225,184,95,.24);}
.testimonial-card {min-width:0;border:0;background:transparent;box-shadow:none;border-radius:0;padding:0;text-align:left;}
.testimonial-card blockquote {margin:0 0 12px;color:#f1e6d6;font:400 .9rem/1.65 var(--font-body);}
.testimonial-credit {margin:0;color:#d9bb73;font:500 .72rem/1.65 var(--font-body);}
.testimonial-rating {color:#f5c348;font:700 1.05rem/1.35 var(--font-body);letter-spacing:.085em;margin:0 0 9px;}
.more-reviews-toggle {display:flex;align-items:center;gap:7px;margin:23px auto 0;padding:10px 7px;background:transparent;border:0;color:#f5c348;font:600 .85rem/1.4 var(--font-body);text-decoration:underline;text-underline-offset:5px;}
.more-reviews-toggle[aria-expanded="true"] span {transform:rotate(180deg);}
.calendar-min-stay-note {margin:12px 0 2px;color:#dfcda7;font:400 .79rem/1.5 var(--font-body);}
.cal-day.is-min-stay-unavailable {opacity:.37;cursor:not-allowed;text-decoration:line-through;color:#b9a68e;}
@media(max-width:767px){
  .reviews-slot--mobile {display:block;}
  .reviews-slot--desktop {display:none;}
  .section.home-villas {padding-top:0;}
  .section.testimonials-section {padding:28px 0;}
  .testimonials-section .section-head {margin-bottom:17px;}
  .testimonials-section .section-head h2 {font-size:26px;line-height:1.2;}
  .testimonials-grid,.testimonials-extra {grid-template-columns:1fr;gap:20px;}
  .testimonial-card blockquote {font-size:.86rem;line-height:1.58;margin-bottom:8px;}
  .testimonial-rating {margin-bottom:6px;}
  .more-reviews-toggle {margin-top:15px;}
}
/* Final QA refinements. */
.home-villas .villa-grid {position:relative;top:-4px;}
.calendar-bottom .js-book-dates.is-awaiting-dates { opacity:.55;cursor:not-allowed;pointer-events:none;animation:none; }
@media(max-width:600px){
 .hero--inner {padding-inline:6px;}
 .hero--inner .hero-content {width:min(100%,550px);}
}

/* Mobile: floating shortcut must not overlap visible booking buttons. */
@media (max-width:600px) {
  .wa-floating {transition:transform .2s ease,opacity .2s ease,visibility .2s ease;}
  .wa-floating.is-suppressed {opacity:0;visibility:hidden;pointer-events:none;transform:translateY(12px);}
}

/* Fix: fully hide the off-canvas drawer when closed so no left shadow/scrollbar remains visible on desktop. */
html, body { overflow-x: clip; }
.menu-drawer {
  transform: translateX(calc(-100% - 48px)) !important;
  visibility: hidden;
  pointer-events: none;
  box-shadow: none;
}
.menu-open .menu-drawer {
  transform: translateX(0) !important;
  visibility: visible;
  pointer-events: auto;
  box-shadow: 0 24px 55px rgba(0,0,0,.45);
}

/* CTA refinement v2: make both lines identical in font, size, weight, and spacing for a more premium, intentional look. */
.btn.wa-two-line,
.hero .btn.wa-two-line,
.drawer-cta.wa-two-line {
  min-height: 84px;
  border-radius: 14px;
  padding: 16px 24px;
  gap: 2px;
}
.wa-two-line .wa-main,
.wa-two-line .wa-best {
  display: block;
  font-family: var(--font-body) !important;
  font-size: clamp(18px, 2.1vw, 24px) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: .015em !important;
  text-transform: uppercase !important;
  color: #1f170d !important;
  opacity: 1 !important;
}
.wa-two-line .wa-main-row {
  gap: 10px;
}
.btn.wa-two-line .wa-main-row svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: -1px;
}
.menu-drawer .wa-two-line .wa-main,
.menu-drawer .wa-two-line .wa-best,
.booking-card .wa-two-line .wa-main,
.booking-card .wa-two-line .wa-best {
  font-size: clamp(16px, 1.65vw, 20px) !important;
}
@media (max-width:600px) {
  .btn.wa-two-line,
  .hero .btn.wa-two-line,
  .drawer-cta.wa-two-line {
    min-height: 78px;
    padding: 14px 16px;
    gap: 1px;
  }
  .wa-two-line .wa-main,
  .wa-two-line .wa-best {
    font-size: clamp(16px, 4.8vw, 18px) !important;
    line-height: 1.06 !important;
    letter-spacing: .012em !important;
  }
}

/* CTA refinement v4 — stronger premium emphasis with identical typography on both lines. */
.btn.wa-two-line,
.hero .btn.wa-two-line,
.drawer-cta.wa-two-line {
  position: relative;
  overflow: hidden;
  min-height: 90px;
  width: min(100%, 520px);
  min-width: min(380px, 100%);
  padding: 18px 26px;
  gap: 4px;
  border-radius: 16px;
  border: 1px solid rgba(126, 86, 8, 0.28);
  background: linear-gradient(180deg, #ffd36c 0%, #f2bf45 54%, #e2aa24 100%);
  box-shadow:
    0 12px 30px rgba(0,0,0,.30),
    0 0 0 1px rgba(255, 227, 149, .18) inset,
    0 10px 22px rgba(232,176,47,.22);
}
.btn.wa-two-line::before,
.hero .btn.wa-two-line::before,
.drawer-cta.wa-two-line::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,0));
  pointer-events: none;
}
.wa-two-line .wa-main-row {
  position: relative;
  z-index: 1;
  gap: 10px;
  flex-wrap: nowrap;
}
.wa-two-line .wa-main,
.wa-two-line .wa-best {
  display: block;
  position: relative;
  z-index: 1;
  font-family: var(--font-body) !important;
  font-size: clamp(18px, 2.05vw, 24px) !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  letter-spacing: .022em !important;
  text-transform: uppercase !important;
  color: #21170c !important;
  opacity: 1 !important;
  text-align: center;
  white-space: normal;
}
.wa-two-line .wa-best {
  margin-top: -1px;
}
.btn.wa-two-line .wa-main-row svg {
  position: relative;
  z-index: 1;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  color: #21170c;
}
.btn.wa-two-line:hover,
.btn.wa-two-line:focus-visible {
  background: linear-gradient(180deg, #ffe08a 0%, #f6ca59 54%, #ebb633 100%);
  transform: translateY(-1px);
  box-shadow:
    0 15px 34px rgba(0,0,0,.34),
    0 0 0 1px rgba(255, 240, 187, .24) inset,
    0 12px 28px rgba(232,176,47,.28);
}
.menu-drawer .wa-two-line .wa-main,
.menu-drawer .wa-two-line .wa-best,
.booking-card .wa-two-line .wa-main,
.booking-card .wa-two-line .wa-best {
  font-size: clamp(17px, 1.65vw, 20px) !important;
}
.booking-card .btn.wa-two-line,
.menu-drawer .btn.wa-two-line {
  min-height: 82px;
}
@media (max-width:600px) {
  .btn.wa-two-line,
  .hero .btn.wa-two-line,
  .drawer-cta.wa-two-line {
    min-height: 84px;
    min-width: 0;
    width: 100%;
    padding: 15px 16px;
    gap: 3px;
    border-radius: 15px;
  }
  .wa-two-line .wa-main,
  .wa-two-line .wa-best {
    font-size: clamp(17px, 4.65vw, 19px) !important;
    line-height: 1.04 !important;
    letter-spacing: .018em !important;
  }
  .btn.wa-two-line .wa-main-row svg {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }
}

/* Reviews follow immediately after villa cards on desktop and tablet. */
@media (min-width:768px) { .section.home-villas {padding-bottom:0;} }
/* Pauly: phone-only thinner frame and 25% smaller individual villa logos. */
@media (max-width:760px) {
  body { margin:5mm; border-width:2mm; }
  .home-villas .villa-card-logo img { width:min(165px,64%); height:auto; }
  .hero--inner .hero-logo { max-width:150px; height:auto; }
}
