:root {
    --ink: #171b1c; --muted: #69777c; --soft: #f8fafb; --line: #e1e9ec;
    --brand: #151a1c; --brand-dark: #303b40; --blue: #151a1c; --gold: #507f90;
    --shadow: 0 12px 40px #2d566b0a;
}
body:not(.admin-body) { font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: #f7fafb; }
body.villa-home { padding: 0; background: #fcfcfc; }
.villa-page { width: 100%; margin: 0; background: #fcfcfc; }
.villa-home .container { max-width: 1220px; padding-inline: 32px; }
.villa-home section[id] { scroll-margin-top: 105px; }
.site-navbar { position: sticky; top: 0; width: 100%; padding: 22px 0; border: 0; background: #fcfcfcf2; backdrop-filter: blur(20px); z-index: 9999; }
.site-navbar.scrolled { padding: 14px 0; background: #fcfcfcf2 !important; box-shadow: 0 8px 25px #263c4908; }
.site-navbar .navbar-brand, .site-navbar.scrolled .navbar-brand { color: var(--ink) !important; font-size: .95rem; font-weight: 700; text-shadow: none; gap: 10px; }
.site-navbar .logo { width: 48px; height: 48px; padding: 0; border-radius: 50%; background: #fff; box-shadow: none; }
.villa-nav-links { display: flex; gap: 26px; }
.villa-nav-links a { text-decoration: none; color: #303b40; font-size: .63rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 10px 0; }
.villa-nav-links a:hover { box-shadow: 0 1px #20282b; }
.nav-booking-btn { border-radius: 40px; min-width: 0; background: #151a1c; border-color: #151a1c; color: #fff; font-size: .73rem; padding-block: 11px; font-weight: 500 !important; }
.nav-booking-btn:hover, .nav-booking-btn:focus-visible { background: #34454c; border-color: #34454c; color: #fff; }
.nav-booking-btn span { margin-left: 12px; }
.villa-home .hero { margin: 0 22px; min-height: 660px; padding: 60px 0 32px; background-color: #dcebf0; border-radius: 26px; overflow: visible; display: flex; align-items: flex-start; }
.villa-home .hero-overlay { border-radius: inherit; background: linear-gradient(90deg, #e5f3f300 15%, #e8f5f333 42%, #e6f4f38c 63%, #e6f4f3a6); }
.villa-home .hero-video-bg { border-radius: inherit; }
.villa-home .hero-content { display: flex; flex-direction: column; }
.villa-home .hero-copy { color: #182226; width: 46%; max-width: 520px; margin-left: auto; min-height: 405px; padding: 28px; background: rgba(247, 252, 253, .42); border: 1px solid rgba(255, 255, 255, .45); border-radius: 22px; backdrop-filter: blur(1px); -webkit-backdrop-filter: blur(1px); box-shadow: 0 10px 35px #203a4910; }
.villa-home .property-badge { border: 0; padding: 0; border-radius: 0; background: transparent; color: #344e59; font-size: .68rem; font-weight: 600; letter-spacing: .09em; }
.villa-home .hero h1 { font: 700 clamp(2.3rem, 3.6vw, 3.5rem)/1.13 Arial, Helvetica, sans-serif; letter-spacing: -.045em; text-shadow: none; max-width: 520px; margin: 24px 0 20px; }
.villa-home .hero-tagline { color: #293f49; font-size: 1rem; font-weight: 500; line-height: 1.8; max-width: 410px; }
.villa-home .hero-trust-row { gap: 15px; margin-top: 23px; }
.villa-home .hero-trust-row span { padding: 0; color: #293f49; font-size: .78rem; font-weight: 600; background: transparent; }
.hero-actions { display: flex; gap: 18px; align-items: center; margin-top: 27px; }
.hero-actions .btn { border-radius: 30px; padding: 12px 18px; font-size: .73rem; font-weight: 500; }
.hero-actions .bi { margin-left: 8px; }
.hero-inquiry { border: 0; border-bottom: 1px solid #536e77; padding: 5px 0; background: transparent; font-size: .78rem; font-weight: 600; color: #293f47; text-align: left; }
.btn-primary { --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-active-color: #fff; --bs-btn-bg: #151a1c; --bs-btn-hover-bg: #34454c; --bs-btn-border-color: #151a1c; --bs-btn-hover-border-color: #34454c; --bs-btn-focus-shadow-rgb: 80,127,144; background: #151a1c; border-color: #151a1c; color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible, .btn-primary:active { color: #fff; background: #34454c; border-color: #34454c; }
.villa-home .booking-search { grid-template-columns: 1fr 1fr 1fr .9fr auto; margin: 24px 0 0; gap: 18px; border: 1px solid #ffffffe0; background: #ecf7f5d9; backdrop-filter: blur(24px); box-shadow: 0 10px 32px #3052600c; border-radius: 18px; padding: 24px; }
.villa-home .search-field label, .villa-home .rate-preview span, .villa-home .rate-preview small { font-size: .67rem; font-weight: 400; color: #52676e; text-transform: none; letter-spacing: 0; }
.villa-home .search-field label { margin-bottom: 8px; }
.villa-home .hero-date-input .form-control, .villa-home .hero-guest-input .form-control { background: #ffffff70; border: 1px solid #cbdde1; border-radius: 8px; font-size: .77rem; font-weight: 500; }
.villa-home .hero-date-input > i, .villa-home .hero-guest-input > i { color: #507f90; }
.villa-home .search-btn { background: #151a1c; color: #fff; border-color: #151a1c; border-radius: 40px; padding-inline: 22px; font-size: .73rem; font-weight: 500; }
.villa-home .rate-preview strong { font-size: 1.25rem; font-weight: 600; }
.villa-home .quick-stats { background: transparent; margin: 22px 0 0; }
.villa-home .quick-stats-grid { gap: 15px; padding: 0; background: transparent; box-shadow: none; border: 0; border-radius: 0; }
.villa-home .quick-stats-grid div { padding: 26px; border: 1px solid #c9d9d5; border-top: 3px solid #527f73; border-radius: 18px; background: linear-gradient(145deg, #ffffff, #edf5f1); box-shadow: 0 6px 20px rgba(28, 64, 52, .09); text-align: left; display: flex; flex-direction: column; }
.villa-home .quick-stats-grid strong { font-size: 1.8rem; font-weight: 700; letter-spacing: -.04em; color: #193e33; }
.villa-home .quick-stats-grid span { font-size: .82rem; font-weight: 500; color: #435c53; margin-top: 6px; line-height: 1.5; }
.villa-home .section-band, .villa-home #about { padding: 85px 0; }
.villa-home .section-title { font: 400 clamp(1.7rem, 2.8vw, 2.4rem)/1.25 Arial, Helvetica, sans-serif; letter-spacing: -.045em; max-width: 700px; }
.villa-home .section-title strong { font-weight: 700; }
.villa-home .section-heading { margin-bottom: 38px; }
.villa-home .section-heading.text-center .section-title { margin-inline: auto; }
.villa-home .section-kicker { font-size: .58rem; color: #7a939d; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 14px; display: block; }
.villa-home .section-copy { font-size: .86rem; color: #6b777e; line-height: 1.9; max-width: 650px; }
.villa-home .text-center .section-copy { margin-inline: auto; }
.experience-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.experience-card { position: relative; display: flex; flex-direction: column; text-decoration: none; background: #eaf1f4; border-radius: 22px; overflow: hidden; color: #182226; transition: transform .25s ease; }
.experience-card:nth-child(2) { background: #f0f3f4; }
.experience-card:hover { color: #182226; transform: translateY(-5px); }
.experience-card img { width: 100%; height: 235px; object-fit: cover; }
.experience-card > div { padding: 26px; }
.experience-card h3 { font-size: 1.35rem; font-weight: 500; letter-spacing: -.035em; margin-bottom: 12px; }
.experience-card p { margin: 0; font-size: .79rem; color: #62717a; line-height: 1.7; }
.experience-arrow { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 32px; height: 32px; background: #ffffffeb; border-radius: 50%; }
.villa-home .main-property-img { border-radius: 24px; box-shadow: none; aspect-ratio: 1.12; object-fit: cover; }
.villa-home .floating-score { background: #ffffffed; padding: 22px; border: 1px solid #fff; border-radius: 16px; box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.villa-home .overview-list > div { border: 0; padding: 12px 0; }
.villa-home .overview-list i { color: #6e929f; background: #edf3f6; border-radius: 50%; }
.villa-home .overview-list strong { font-size: .86rem; font-weight: 600; }
.villa-home .overview-list span { font-size: .78rem; line-height: 1.7; }
.villa-home .btn-lg { border-radius: 40px; font-size: .78rem; padding: 13px 25px; font-weight: 500; }
.villa-home .amenities-section, .villa-home .gallery-section, .villa-home .villa-details-section { background: transparent; }
.villa-home .villa-details-section { background: #f2f6f8; border-radius: 26px; margin-inline: 22px; }
.villa-home .amenity-card { border: 0; border-radius: 18px; background: #f0f5f7; box-shadow: none; padding: 28px; }
.villa-home .amenity-card h3 { font-size: .95rem; font-weight: 500; }
.villa-home .amenity-card > i { color: #507f90; background: #e0edf2; border-radius: 50%; }
.villa-home .villa-detail-panel, .villa-home .rule-card, .villa-home .nearby-card, .villa-home .review-card, .villa-home .contact-panel { border-radius: 18px; box-shadow: none; border-color: #e6ecef; background: #fff; }
.villa-home .detail-icon { background: #eaf2f5; color: #507f90; }
.villa-home .detail-list div { font-size: .8rem; }
.villa-home .rule-card h3, .villa-home .nearby-card h3 { font-size: .96rem; font-weight: 600; }
.villa-home .rule-card p, .villa-home .nearby-card p { font-size: .81rem; line-height: 1.8; }
.villa-home .trust-band { padding: 36px 0; background: #f1f7f9; }
.villa-home .trust-item { background: transparent; border: 0; padding: 12px; box-shadow: none; }
.villa-home .trust-item strong { font-size: .73rem; font-weight: 600; }
.villa-home .trust-item span { font-size: .69rem; line-height: 1.7; }
.villa-home .trust-item > i { background: transparent; color: #6e929f; }
.villa-tour { margin: 0 22px 65px; min-height: 400px; display: grid; place-items: center; padding: 50px 24px; border-radius: 26px; background-size: cover; background-position: center; }
.tour-glass { max-width: 490px; border: 1px solid #ffffff80; border-radius: 20px; background: #eef8facf; backdrop-filter: blur(12px); padding: 42px; text-align: center; }
.tour-glass h2 { font-size: 1.8rem; line-height: 1.2; font-weight: 400; letter-spacing: -.04em; }
.tour-glass p { color: #52666f; font-size: .8rem; line-height: 1.8; margin: 18px 0 24px; }
.tour-glass .btn { border-radius: 40px; font-size: .74rem; padding: 12px 20px; font-weight: 500; }
.tour-inquiry { display: block; margin: 18px auto 0; color: #394f59; border: 0; background: transparent; font-size: .73rem; text-decoration: underline; text-underline-offset: 4px; }
.villa-home .gallery-mosaic { gap: 18px; grid-auto-rows: 230px; }
.villa-home .gallery-tile { border-radius: 22px; box-shadow: none; }
.villa-home .gallery-tile img { transition: transform .45s ease; }
.villa-home .gallery-tile:hover img { transform: scale(1.04); }
.villa-home #gallery-filters .btn { border-radius: 40px; padding: 9px 21px; background: transparent; border-color: #dfe8ed; color: #556771; font-size: .73rem; font-weight: 500; }
.villa-home #gallery-filters .btn.active, .villa-home #gallery-filters .btn:hover { background: #151a1c; border-color: #151a1c; color: #fff; }
.villa-home .reviews-section { background: radial-gradient(ellipse at center, #eaf2f6, #fcfcfc 70%); }
.villa-home .review-card { padding: 32px; text-align: center; box-shadow: var(--shadow); }
.villa-home .review-card p { font-size: .85rem; line-height: 1.8; }
.villa-home .review-score { margin-inline: auto; background: #eaf2f5; color: #507f90; border-radius: 50%; }
.villa-home #faq { background: #f4f8fa !important; }
.villa-home #faq h2.display-5 { font-size: 2rem; font-weight: 500 !important; letter-spacing: -.04em; }
.villa-home #faq .lead { font-size: .86rem; }
.villa-home .contact-method i { color: #507f90; background: #edf4f7; }
.villa-home .map-frame { border: 0; border-radius: 24px; filter: saturate(.65); }
.villa-home .footer { background: #14191b; padding-top: 60px; }
.villa-home .footer h2 { font-size: 1.6rem; font-weight: 500; letter-spacing: -.04em; }
.villa-home .footer h3 { font-size: .66rem; color: #b6c8d0; text-transform: uppercase; letter-spacing: .1em; }
.villa-home .footer p, .villa-home .footer a { font-size: .76rem; line-height: 1.9; }
.inquiry-widget { position: fixed; right: 24px; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 10020; font-family: Arial, Helvetica, sans-serif; color: #182226; }
.inquiry-launcher { display: flex; align-items: center; gap: 10px; margin-left: auto; border: 1px solid #ffffff50; border-radius: 40px; background: #151a1c; color: #fff; padding: 15px 22px; box-shadow: 0 8px 30px #203a4926; font-size: .85rem; }
.inquiry-launcher .bi { font-size: 1.2rem; }
.inquiry-panel { width: 370px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 120px); overflow-y: auto; margin-bottom: 14px; border-radius: 22px; border: 1px solid #e1ebef; background: #fff; box-shadow: 0 18px 70px #203a4926; }
.inquiry-panel[hidden] { display: none; }
.inquiry-header { display: flex; gap: 12px; align-items: center; background: #e7f1f5; padding: 22px 18px; }
.inquiry-header img { border-radius: 50%; background: #fff; padding: 2px; }
.inquiry-header h2 { font: 600 1.05rem Arial, Helvetica, sans-serif; margin: 0 0 6px; letter-spacing: -.03em; }
.inquiry-header p { font-size: .67rem; margin: 0; color: #5c747f; }
.inquiry-close { border: 0; color: #182226; background: transparent; margin-left: auto; font-size: 1.6rem; min-width: 32px; }
.inquiry-body { padding: 22px; }
.inquiry-bubble { background: #f0f5f7; padding: 16px; border-radius: 0 14px 14px 14px; font-size: .83rem; line-height: 1.7; }
.inquiry-caption { font-size: .75rem; color: #69777c; margin-top: 22px; }
.inquiry-topics { display: flex; gap: 7px; flex-wrap: wrap; }
.inquiry-topics button { border: 1px solid #dce6eb; padding: 8px 10px; border-radius: 25px; background: #fff; color: #435f6b; font-size: .69rem; }
.inquiry-topics button[aria-pressed="true"] { color: #fff; background: #151a1c; border-color: #151a1c; }
.inquiry-selection { font-size: .74rem; margin: 16px 0; }
.inquiry-messenger { display: flex; justify-content: center; align-items: center; gap: 9px; padding: 14px 10px; border-radius: 30px; background: #151a1c; color: #fff; text-decoration: none; font-size: .76rem; font-weight: 600; }
.inquiry-messenger:hover { color: #fff; background: #34454c; }
.inquiry-note { font-size: .67rem; line-height: 1.65; color: #69777c; margin: 12px 0 18px; }
.inquiry-alternatives { display: flex; justify-content: center; gap: 25px; border-top: 1px solid #e1e9ec; padding-top: 15px; }
.inquiry-alternatives a { font-size: .72rem; color: #435f6b; text-underline-offset: 3px; }
:is(a,button,input):focus-visible { outline: 3px solid #507f90; outline-offset: 4px; }
.form-control:focus, .form-select:focus,
.villa-home .hero-date-input.is-open .form-control, .villa-home .hero-guest-input.is-open .form-control { border-color: #8caebb; box-shadow: 0 0 0 .2rem #507f9020; }
.hero-date-day:not(:disabled):hover { border-color: #b7ced8; background: #e7f1f5; color: #182226; }
.hero-date-day.is-today { border-color: #8caebb; }
.hero-date-day.is-in-range { background: #edf4f7; border-color: #dae7ed; }
.hero-date-day.is-selected { background: #151a1c; box-shadow: 0 8px 18px #203a4920; }
.guest-select-arrow { color: #507f90; }
@media (max-width: 1199px) {
    .villa-nav-links { gap: 16px; }
    .villa-home .hero-copy { width: 49%; }
    .villa-home .booking-search { gap: 10px; padding: 20px; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
}
@media (max-width: 991px) {
    .villa-nav-links { display: none; }
    .villa-home .hero { min-height: auto; padding-top: 50px; }
    .villa-home .hero-copy { width: 53%; min-height: 410px; }
    .villa-home .booking-search { grid-template-columns: 1fr 1fr; }
    .villa-home .search-btn { grid-column: auto; }
    .villa-home .section-band, .villa-home #about { padding: 60px 0; }
    .experience-grid { gap: 12px; }
    .experience-card img { height: 180px; }
    .experience-card > div { padding: 20px; }
    .experience-card h3 { font-size: 1.15rem; }
}
@media (max-width: 575px) {
    .villa-home .container { padding-inline: 18px; }
    .site-navbar { padding: 14px 0; }
    .site-navbar .navbar-brand { font-size: .73rem; gap: 6px; }
    .site-navbar .logo { width: 36px; height: 36px; }
    .nav-booking-btn { padding: 10px 13px !important; font-size: .65rem; }
    .nav-booking-btn span { margin-left: 6px; }
    .villa-home .hero { margin: 0 10px; border-radius: 20px; padding: 230px 0 18px; background-position: left top !important; background-size: auto 380px !important; background-repeat: no-repeat; }
    .villa-home .hero-overlay { background: linear-gradient(180deg, transparent 100px, #e6f4f3b0 210px, #e6f4f3 300px); }
    .villa-home .hero-copy { margin: 0; width: 100%; min-height: 0; max-width: none; padding: 22px 18px; }
    .villa-home .hero h1 { font-size: 2.5rem; max-width: 100%; margin: 20px 0 15px; }
    .villa-home .property-badge { font-size: .62rem; letter-spacing: .05em; }
    .villa-home .hero-tagline { font-size: .92rem; }
    .villa-home .hero-trust-row { gap: 10px; }
    .villa-home .hero-trust-row span { font-size: .72rem; }
    .hero-actions { margin-top: 22px; gap: 15px; }
    .villa-home .booking-search { padding: 16px; gap: 17px 10px; margin-top: 28px; background: #ffffffa3; }
    .villa-home .booking-search .search-field:nth-child(3), .villa-home .search-btn { grid-column: 1 / -1; }
    .villa-home .rate-preview { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 8px; }
    .villa-home .search-btn { min-height: 46px; }
    .villa-home .quick-stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .villa-home .quick-stats-grid div { padding: 20px 16px; }
    .villa-home .quick-stats-grid strong { font-size: 1.5rem; }
    .villa-home .quick-stats-grid span { font-size: .76rem; }
    .experience-grid { grid-template-columns: 1fr; gap: 20px; }
    .experience-card img { height: 220px; }
    .villa-home .section-band, .villa-home #about { padding: 48px 0; }
    .villa-home .section-title { font-size: 1.85rem; }
    .villa-home .villa-details-section { margin-inline: 10px; }
    .villa-tour { margin: 0 10px 45px; min-height: 380px; padding: 28px 16px; }
    .tour-glass { padding: 28px 20px; }
    .tour-glass h2 { font-size: 1.65rem; }
    .villa-home .gallery-mosaic { grid-auto-rows: 230px; }
    .villa-home .footer-bottom { padding-bottom: 85px; }
    .inquiry-widget { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
    .inquiry-launcher { padding: 12px 18px; }
    #heroGuestPopover { max-width: calc(100vw - 100px); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    /* Preserve animationend events used by the lightbox to finish closing. */
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

