/* Phone-first layer: the phone is the only booking channel, so every call target is large and shows the number. */

@keyframes call-ring{0%{box-shadow:0 0 0 0 rgba(166,124,82,.55)}70%{box-shadow:0 0 0 14px rgba(166,124,82,0)}100%{box-shadow:0 0 0 0 rgba(166,124,82,0)}}

/* Plain tel links inside text */
main a[href^="tel:"]:not([class]){color:#8a6540;font-weight:700;font-size:1.1em;letter-spacing:.04em;white-space:nowrap;text-decoration:underline;text-underline-offset:5px}

/* Every primary call button: larger, with the number beside the label */
.compact-site .button.primary[href^="tel:"]{min-height:60px;padding:12px 24px;font-size:18px;font-weight:700;gap:6px 12px;flex-wrap:wrap}
.compact-site .button.primary[href^="tel:"]::after{content:"0966-717-732";font-size:22px;font-weight:700;letter-spacing:.06em;color:#8a6540;padding-left:12px;border-left:1px solid #b6a994}
.room-booking .button.primary[href^="tel:"]{background:#8a6540;border-color:#8a6540;color:#fff}
.room-booking .button.primary[href^="tel:"]::after{color:#fff;border-left-color:rgba(255,255,255,.5)}
.cinematic-hero .button.primary[href^="tel:"]{animation:call-ring 2.8s ease-out 1.4s infinite}
@media(max-width:560px){
  .cinematic-hero .hero-actions{flex-direction:column;align-items:stretch;width:100%}
  .compact-site .button.primary[href^="tel:"]{flex-direction:column;gap:0;padding:10px 16px}
  .compact-site .button.primary[href^="tel:"]::after{padding-left:0;border-left:0;font-size:26px}
}

/* Header phone (visible from 768px): number is the label */
.header-phone{min-height:50px;padding:6px 18px;gap:10px;background:#8a6540;border-color:#c9a074;font-size:13px}
.header-phone small{font-size:18px;font-weight:700;letter-spacing:.05em;margin-top:1px}
.header-phone:hover{background:#a67c52;border-color:#c9a074}

/* Mobile bottom bar: the call button takes most of the width and shows the number */
.mobile-booking{grid-template-columns:76px 1fr;padding-top:10px}
.mobile-booking>a:last-child{min-height:62px;background:#8a6540;border-color:#8a6540;animation:call-ring 2.8s ease-out 2s infinite}
.mobile-booking>a:last-child span{display:block;text-align:center;font-size:13px;line-height:1.35}
.mobile-booking>a:last-child span::before{content:"0966-717-732";display:block;font-size:22px;font-weight:700;letter-spacing:.06em;line-height:1.25}
.mobile-booking>a:last-child small{display:inline;font-size:11px;margin-left:6px;color:#f1e6d6}
.compact-site{padding-bottom:0}

/* Footer number */
.footer-phone{font-size:28px;font-weight:700;letter-spacing:.06em;text-decoration:underline;text-underline-offset:6px;margin-bottom:6px}

/* Desktop floating call card (added by call-boost.js) */
.call-card{display:none;position:fixed;right:24px;bottom:24px;z-index:60;width:272px;padding:12px 16px;opacity:0;transform:translateY(14px);pointer-events:none;transition:opacity .35s ease,transform .35s ease;background:#2d2823;color:#fff;border:1px solid #a67c52;border-radius:4px;box-shadow:0 12px 32px rgba(0,0,0,.28)}
.call-card .cc-label{display:block;font-size:13px;color:#e3d9c9}
.call-card .cc-num{display:block;margin:2px 0 8px;font-size:24px;white-space:nowrap;font-weight:700;letter-spacing:.06em;color:#fff;text-decoration:none;line-height:1.3}
.call-card .cc-num:hover{color:#f1dbc3}
.call-card .cc-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#d9d0c0}
.call-card button{min-height:34px;padding:4px 12px;white-space:nowrap;flex:none;border:1px solid #c9a074;border-radius:3px;background:transparent;color:#fff;font:inherit;font-size:13px;cursor:pointer}
.call-card button:hover,.call-card button:focus-visible{background:#8a6540}
.call-card.is-on{opacity:1;transform:none;pointer-events:auto}
@media(min-width:1024px){.call-card{display:block}}
@media print{.call-card{display:none!important}}
@media(prefers-reduced-motion:reduce){.cinematic-hero .button.primary[href^="tel:"],.mobile-booking>a:last-child{animation:none}}

/* English pages: show the international format */
.compact-site[lang^="en"] .button.primary[href^="tel:"]::after{content:"+886 966 717 732"}
.compact-site[lang^="en"] .mobile-booking>a:last-child span::before{content:"+886 966 717 732";font-size:20px}
.compact-site[lang^="en"] .mobile-booking small{display:none}
@media(max-width:560px){.compact-site[lang^="en"] .button.primary[href^="tel:"]::after{font-size:24px}}
.compact-site[lang^="en"] .header-phone small,.compact-site[lang^="en"] .footer-phone{font-size:0;line-height:0}
.compact-site[lang^="en"] .header-phone small::after{content:"+886 966 717 732";font-size:18px;line-height:1.3}
.compact-site[lang^="en"] .footer-phone::after{content:"+886 966 717 732";font-size:28px;line-height:1.3}

/* LINE band under the footer (added by call-boost.js): QR for desktop, button for phones */
.line-band{display:flex;align-items:center;justify-content:center;gap:24px;padding:28px 20px calc(28px + 86px + env(safe-area-inset-bottom));background:#2d2823;color:#fff;border-top:1px solid #4a4037}
.line-band img{display:none;width:112px;height:112px;border-radius:2px;background:#fff}
.line-band .lb-text{display:flex;flex-direction:column;align-items:flex-start;gap:6px;font-size:14px;color:#d9d0c0}
.line-band strong{font-size:18px;color:#fff;font-weight:700}
.line-band a{margin-top:6px;display:inline-flex;align-items:center;min-height:44px;padding:8px 22px;border:1px solid #c9a074;border-radius:3px;color:#fff;font-weight:700;text-decoration:none}
.line-band a:hover,.line-band a:focus-visible{background:#8a6540}
@media(min-width:768px){.line-band{padding-bottom:28px}.line-band img{display:block}}
@media print{.line-band{display:none!important}}
