/* Last Sea Resort · refreshed visual system / responsive enhancements */
:root {
  --primary: #155e60;
  --primary-dark: #103f42;
  --primary-light: #e7f1ec;
  --accent: #be8756;
  --accent-light: #fff3e6;
  --text-dark: #243433;
  --text-light: #71807b;
  --bg-body: #f8f8f5;
  --border: #e5e9e3;
  --radius: 19px;
  --shadow-sm: 0 4px 16px rgba(25, 61, 53, .045);
  --shadow-md: 0 18px 50px rgba(25, 61, 53, .105);
  --glass-bg: #fff;
  --glass-bg-strong: rgba(255, 255, 255, .96);
  --glass-border: #e7ebe5;
  --glass-shadow: 0 8px 36px rgba(25, 61, 53, .052);
}
html { scroll-padding-top: 104px; }
body { background: var(--bg-body); color: var(--text-dark); line-height: 1.7; padding-bottom: 0; }
body, button, input, select { font-family: 'Kanit', sans-serif; }
a, button { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, .gallery-item:focus-visible, .room-thumb:focus-visible { outline: 3px solid #a6c6ad; outline-offset: 3px; }
button:disabled { opacity: .45; cursor: not-allowed; }
.container { max-width: 1260px; padding-inline: clamp(20px, 4vw, 56px); }
.section-padding { padding-block: clamp(62px, 8vw, 112px); scroll-margin-top: 78px; }
.section-header { margin-bottom: clamp(28px, 4vw, 43px); }
.section-header h2 { color: var(--primary-dark); font-size: clamp(1.7rem, 3.1vw, 2.55rem); letter-spacing: -.7px; line-height: 1.3; font-weight: 600; }
.section-header h2::after { width: 38px; height: 3px; background: var(--accent); margin-top: 12px; }
.section-header p { color: var(--text-light); font-size: 1rem; margin-top: 8px; }
.section-overline { display: block; color: var(--accent); font-size: .76rem; text-transform: uppercase; font-family: 'Poppins', sans-serif; letter-spacing: 2.8px; font-weight: 600; margin-bottom: 8px; }
header { height: 76px; box-shadow: 0 4px 30px rgba(29,53,43,.04); transition: box-shadow .2s ease, background .2s ease; }
header.is-scrolled { box-shadow: 0 9px 34px rgba(29, 53, 43, .10); }
.logo-img { height: 44px; width: 44px; border-radius: 50%; object-fit: cover; border: 1px solid #e8eee9; }
.logo-text { color: var(--primary-dark); font-size: 1.14rem; letter-spacing: -.3px; }
.nav-container { gap: 20px; }
.nav-menu { gap: clamp(12px, 1.5vw, 22px); align-items: center; }
.nav-menu a { position: relative; color: #5d6f69; font-weight: 400; font-size: .87rem; padding-block: 15px; }
.nav-menu a:hover, .nav-menu a.is-active { color: var(--primary); }
.nav-menu a.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--accent); border-radius: 5px; }
.nav-actions { display: flex; align-items: center; gap: 10px; order: 3; margin-left: auto; }
.nav-book { padding: 10px 18px; border-radius: 100px; background: var(--primary); color: white; font-size: .83rem; font-weight: 500; white-space: nowrap; transition: transform .2s, background .2s; }
.nav-book:hover { transform: translateY(-2px); color: white; background: var(--primary-dark); }
.lang-switcher { margin-left: 0; background: #f2f6f1; border: 1px solid #e5ece5; padding: 7px 10px; }
.hamburger { padding: 8px; background: none; color: var(--primary-dark); border-radius: 10px; width: 42px; height: 42px; }
.banner { margin-top: 76px; min-height: 580px; max-height: 780px; height: min(76vh,780px); }
.banner-slide { background-position: center 48%; transition: opacity 1.3s ease, transform 8s ease; transform: scale(1.035); }
.banner-slide.active { transform: scale(1); }
.banner-slide::after { background: linear-gradient(90deg,rgba(12,34,36,.72) 0%,rgba(13,48,50,.4) 53%,rgba(18,34,35,.10) 100%),linear-gradient(0deg,rgba(10,29,28,.30),transparent 48%); }
.banner-content { top: 48%; left: max(5vw,calc((100vw - 1216px) / 2)); transform: translateY(-50%); max-width: 790px; text-align: left; padding: 24px; }
.banner-content h1 { font-size: clamp(3.2rem,7.4vw,6rem); line-height: 1.07; letter-spacing: -2px; font-weight: 600; text-shadow: 0 5px 28px rgba(0,0,0,.15); margin: 12px 0 19px; }
.banner-content > p { max-width: 650px; line-height: 1.65; font-size: clamp(1rem,1.7vw,1.22rem); font-weight: 300; opacity: 1; }
.hero-eyebrow { font-size: .78rem; letter-spacing: 3px; text-transform: uppercase; font-family: 'Poppins', sans-serif; color: #e0ccac; font-weight: 600; display: flex; align-items: center; gap: 12px; }
.hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.hero-actions { display:flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; gap: 9px; padding: 12px 24px; border: 1px solid rgba(255,255,255,.55); border-radius: 8px; font-size: .91rem; font-weight: 500; color: white; transition: background .25s, transform .25s; }
.hero-btn:hover { color: white; background: rgba(255,255,255,.14); transform: translateY(-3px); }
.hero-btn-primary { background: #fff; color: var(--primary-dark); border-color: white; }
.hero-btn-primary:hover { background: #e8f2eb; color: var(--primary-dark); }
.hero-sub { font-size: .82rem; opacity: .85; margin-top: 17px; display: flex; align-items: center; gap: 8px; }
.banner-arrow { width: 47px; height: 47px; border-color: rgba(255,255,255,.3); }
.banner-dots { bottom: 31px; }
.banner-dot { width: 24px; height: 24px; position: relative; cursor: pointer; background: transparent; border-radius: 50%; }
.banner-dot::before { content: ''; position: absolute; top: 10px; left: 8px; width: 8px; height: 8px; border-radius: 6px; background: rgba(255,255,255,.65); transition: .2s; }
.banner-dot.active { background: transparent; width: 24px; }
.banner-dot.active::before { width: 19px; left: 3px; background: white; }
.benefit-strip { background: white; border-bottom: 1px solid var(--border); }
.benefit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; }
.benefit-item { display:flex; align-items:center; gap: 16px; padding: 24px 16px; justify-content: center; }
.benefit-item + .benefit-item { border-left: 1px solid var(--border); }
.benefit-icon { color: var(--primary); width: 42px; height: 42px; background: #eef5ef; border-radius: 13px; flex-shrink: 0; display: grid; place-items:center; font-size: 1.1rem; }
.benefit-item strong { display:block; font-size: .95rem; font-weight: 500; line-height: 1.4; }
.benefit-item small { display:block; color: var(--text-light); font-size: .78rem; }
#about { background: #fbfbf8; }
.about-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
.info-card, .promo-card, .contact-card, .policy-card, .faq-item { background: #fff; border: 1px solid var(--border); backdrop-filter: none; box-shadow: var(--shadow-sm); border-radius: var(--radius); }
.info-card { padding: clamp(24px,3vw,38px); }
.info-card h3 { color: var(--primary-dark); font-size: 1.22rem; }
.info-card p { line-height: 1.9; font-size: .95rem; }
.service-item { padding: 6px 0; }
.service-item i { color: var(--accent); }
.ad-banner-section { padding: 4px 0 70px; background: #fbfbf8; }
.ad-banner-wrap { box-shadow: var(--shadow-sm); border-radius: 18px; }
.ad-banner-img { max-height: 380px; object-fit: contain; background: #e7eee8; }
#rooms { background: #f3f5f0 !important; }
.rooms-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin: -3px 0 29px; }
.room-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.room-filter { font-size: .86rem; padding: 10px 17px; border-radius: 100px; color: #5e736b; background: white; border: 1px solid #dde6de; transition: .2s; }
.room-filter:hover, .room-filter[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: white; }
.room-count { font-size: .83rem; color: var(--text-light); }
.rooms-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 23px; }
.room-card { background: white; border: 1px solid #e4eae3; box-shadow: 0 8px 28px rgba(12,47,36,.045); border-radius: 17px; transition: transform .3s, box-shadow .3s; }
.room-card[hidden] { display: none !important; }
.room-img-box { height: 250px; }
.room-badge { top: 17px; left: 17px; padding: 5px 12px; border-radius: 5px; font-size: .72rem; letter-spacing: .2px; background: rgba(255,255,255,.95); color: var(--primary); box-shadow: 0 4px 20px rgba(0,0,0,.07); }
.room-info { padding: 25px; }
.room-title { color: var(--primary-dark); font-size: 1.17rem; margin-bottom: 7px; }
.room-subtitle { font-size: .83rem; }
.room-desc-short { line-height: 1.8; font-size: .88rem; }
.room-specs { border-top: 1px solid var(--border); }
.spec-item i { color: var(--accent); }
.room-footer { gap: 8px; }
.price-text { color: var(--primary); font-size: 1.38rem; }
.price-unit { color: var(--text-light); }
.btn-outline { background: var(--primary); color: white; border-color: var(--primary); padding: 9px 17px; border-radius: 7px; white-space: nowrap; }
.btn-outline:hover { color: white; background: var(--primary-dark); }
.price-note { font-size: .78rem; color: #79877e; text-align: center; margin-top: 26px; line-height: 1.7; }
.promo-grid { gap: 22px; }
.promo-card { text-align:left; padding: 30px; }
.promo-icon { margin: 0 0 21px; width: 56px; height: 56px; border-radius: 16px; background: #eef5ef; }
.promo-icon i { font-size: 1.2rem; }
.promo-card h3 { font-size: 1.15rem; }
.promo-card p { line-height: 1.8; }
#activities { background: #f7f8f4 !important; }
.activity-card { background: white; border: 1px solid var(--border); box-shadow: var(--shadow-sm); border-radius: 18px; }
.act-img { height: 270px; }
.act-content { text-align: left; padding: 25px 28px 27px; }
.act-title { font-size: 1.18rem; color: var(--primary-dark); }
.act-desc { font-size: .91rem; line-height: 1.8; }
#gallery { background: white; }
.gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item { border-radius: 11px; overflow: hidden; display: block; border: none; background: #e6eee9; padding: 0; transition: box-shadow .25s; }
.gallery-item:hover { box-shadow: var(--shadow-md); }
.gallery-item img { height: clamp(160px,17vw,250px); }
.gallery-item:focus-visible img { transform: scale(1.04); }
.gallery-more { margin-top: 25px; display: flex; justify-content: center; }
.gallery-more button { padding: 11px 23px; color: var(--primary); border: 1px solid #c6d8cc; border-radius: 7px; font-size: .9rem; background: white; }
.gallery-more button:hover { background: #eff6f0; }
#location { background: #f3f5f0 !important; }
.map-wrap { border-radius: 17px; border: 1px solid #e5ebe4; box-shadow: var(--shadow-sm); }
.map-wrap iframe { height: 390px; }
#contact { background: #fff; }
.contact-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.contact-card { padding: 35px 20px; }
.contact-card i { font-size: 1.75rem; }
.contact-card h3 { font-size: 1.05rem; }
#reviews { background: #f3f5f0 !important; }
.real-reviews { text-align: center; border: 1px solid #e1e9e1; border-radius: 21px; padding: 38px 25px; background: white; max-width: 730px; margin: auto; }
.real-reviews .google-symbol { font-size: 1.8rem; color: var(--primary); margin-bottom: 16px; }
.real-reviews p { color: var(--text-light); line-height: 1.85; max-width: 550px; margin: 0 auto 24px; }
.real-reviews a { display: inline-flex; align-items: center; gap: 9px; padding: 12px 22px; background: var(--primary); color: white; border-radius: 8px; font-size: .93rem; }
.real-reviews a:hover { background: var(--primary-dark); }
#policy { background: white; }
#faq { background: #f7f8f4 !important; }
.faq-list { max-width: 900px; margin: 0 auto; gap: 12px; }
.faq-question { font-size: .96rem; padding: 20px 24px; }
.faq-answer { line-height: 1.85; font-size: .92rem; }
.faq-item.open .faq-answer { max-height: 600px; padding: 0 24px 23px; }
.copyright { background: var(--primary-dark); color: #cbded4; padding: 33px 22px 101px; font-size: .82rem; }
.floating-bar { width: auto; left: 50%; transform: translateX(-50%); bottom: 18px; max-width: calc(100vw - 36px); padding: 7px; gap: 6px; background: rgba(255,255,255,.96); border: 1px solid #e0e9e3; border-radius: 60px; box-shadow: 0 16px 50px rgba(25,61,53,.15); }
.f-btn { border-radius: 50px; min-width: 140px; padding: 12px 22px; font-size: .88rem; }
.f-btn:hover { transform: translateY(-2px); color: white; }
.btn-call { background: #eaf2eb; color: var(--primary-dark); }
.btn-call:hover { color: var(--primary-dark); background: #d9e9dc; }
.btn-messenger { background: var(--primary); }
.btn-fb { background: #eff4ef; color: var(--primary-dark); }
.btn-fb:hover { color: var(--primary-dark); }
.room-page { background: #f8f9f6; }
.room-page-topbar { height: 74px; border-color: var(--border); }
.room-back-btn { color: var(--primary-dark); }
.room-detail-wrap { max-width: 1260px; }
.room-breadcrumb { max-width: 1260px; }
.modal-img-container { height: min(55vw, 580px); border-radius: 18px; }
.modal-img-counter { background: rgba(16,45,38,.83); }
.room-thumb { width: 100px; height: 74px; border-radius: 9px; border-width: 3px; background: none; padding: 0; }
.room-thumb.active { border-color: var(--primary); }
.room-detail-main h2 { color: var(--primary-dark); font-size: clamp(1.7rem,3vw,2.3rem); }
.am-item { background: white; border: 1px solid var(--border); backdrop-filter: none; }
.room-booking-card { background: white; border: 1px solid var(--border); backdrop-filter: none; box-shadow: var(--shadow-sm); top: 94px; }
.modal-price-box { background: #eef5ed; backdrop-filter: none; }
.modal-price-main { color: var(--primary-dark); }
.btn-modal-book { background: var(--primary); border-radius: 9px; }
.btn-modal-book:hover { background: var(--primary-dark); }
.btn-modal-close { border-radius: 9px; }
.booking-prep { margin: 7px 0 18px; border-top: 1px solid var(--border); padding-top: 17px; }
.booking-prep h4 { font-size: .95rem; margin-bottom: 12px; color: var(--primary-dark); font-weight: 500; }
.booking-input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.booking-prep label { font-size: .77rem; color: var(--text-light); display: block; margin-bottom: 4px; }
.booking-prep input, .booking-prep select { display: block; width: 100%; min-height: 43px; font-size: .81rem; color: var(--text-dark); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; background: #fbfcfa; }
.booking-guest { margin: 10px 0 0; }
.booking-feedback { margin: 10px 0 0; min-height: 30px; color: var(--primary-dark); font-size: .79rem; line-height: 1.5; }
.booking-copy { width: 100%; background: #edf3ec; color: var(--primary); border: 1px solid #dce7dd; padding: 11px; border-radius: 9px; font-weight: 500; margin-top: 11px; }
.booking-copy:hover { background: #e1ece1; }
.booking-disclaimer { font-size: .76rem; color: var(--text-light); line-height: 1.65; margin-top: 8px; }
/* image viewer */
.gallery-lightbox { position: fixed; inset: 0; z-index: 3000; padding: 28px; border: 0; width: 100%; max-width: none; max-height: none; background: rgba(12,26,23,.94); color: white; display: none; align-items: center; justify-content: center; }
.gallery-lightbox[open] { display: flex; }
.gallery-lightbox img { max-height: 86vh; max-width: min(94vw,1320px); width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 15px 70px rgba(0,0,0,.4); }
.lb-close, .lb-prev, .lb-next { position: absolute; display: grid; place-items:center; width: 45px; height: 45px; background: rgba(255,255,255,.14); color: white; border-radius: 50%; font-size: 1.06rem; }
.lb-close { top: 18px; right: 18px; }.lb-prev { left: 20px; }.lb-next { right: 20px; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.26); }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-size: .88rem; color: #e8efe9; }
.reveal { opacity: 0; transform: translateY(25px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 1120px) { .nav-book { display:none; }.nav-menu { gap: 11px; }.rooms-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 900px) {
  header { height: 68px; }.banner { margin-top: 68px; }.nav-container { gap: 10px; }.nav-actions { order:2; }
  .hamburger { display: grid; place-items:center; }.nav-menu { position: fixed; top: 68px; left: 0; right: 0; width: 100%; display: flex; flex-direction:column; align-items: stretch; gap: 0; padding: 13px 22px 25px; background: #fff; max-height: calc(100vh - 68px); overflow-y:auto; transform: translateY(-130%); opacity: 0; pointer-events: none; border-bottom: 1px solid var(--border); box-shadow: 0 15px 25px rgba(25,61,53,.1); transition: transform .28s, opacity .25s; }
  .nav-menu.active { transform: translateY(0); opacity: 1; pointer-events: auto; }.nav-menu a { padding: 12px 5px; }.nav-menu a.is-active::after { display: none; }
  .banner-content { left: 5vw; padding-inline: 15px; max-width: 88vw; }.banner-slide::after { background: linear-gradient(90deg,rgba(12,34,36,.72),rgba(12,34,36,.21)); }
  .gallery-grid { grid-template-columns: repeat(3,1fr); }.contact-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .logo-text { font-size: 1.03rem; }.logo-img { height: 38px; width: 38px; }
  .banner { height: min(80svh,690px); min-height: 560px; }
  .banner-content { left: 4vw; top: 48%; max-width: 93vw; }.banner-content h1 { font-size: clamp(2.75rem,10.4vw,4.8rem); letter-spacing:-1.8px; }.banner-content > p { max-width: 80vw; }.banner-arrow { width: 36px; height: 36px; }.banner-arrows { top:auto; bottom: 12px; transform:none; padding:0 18px; }.banner-dots { bottom:18px; }
  .hero-actions { gap: 9px; }.hero-btn { padding: 11px 16px; font-size: .84rem; min-height: 44px; }
  .benefit-grid { grid-template-columns: 1fr; }.benefit-item { padding: 17px 0; justify-content: flex-start; }.benefit-item + .benefit-item { border-left:0; border-top: 1px solid var(--border); }
  .about-grid, .rooms-grid, .contact-grid { grid-template-columns: 1fr; }
  .room-img-box { height: 250px; }.room-card { max-width: 560px; width: 100%; margin-inline:auto; }
  .act-grid { grid-template-columns: 1fr; }.act-img { height: 235px; }
  .promo-grid { grid-template-columns: 1fr; }.promo-card { padding: 24px; }
  .gallery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; overflow: visible; }.gallery-item { width:auto; flex:initial; }.gallery-item img,.gallery-item.tall img { height: clamp(138px,39vw,230px); }
  .section-padding { padding-block: 58px; }.map-wrap iframe { height: 330px; }.ad-banner-section { padding-bottom: 50px; }
  .room-detail-wrap { padding: 14px 18px 55px; }.room-breadcrumb { padding: 15px 18px 0; }.modal-img-container { height: min(68vw,410px); min-height: 275px; }.room-thumb { width: 82px; height:62px; }
  .floating-bar { width: calc(100% - 20px); max-width: 560px; bottom: 10px; gap: 5px; padding: 6px; }.f-btn { min-width: 0; padding: 11px 5px; font-size: .8rem; }.copyright { padding-bottom: 100px; }.booking-input-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lb-prev { left: 8px; }.lb-next { right: 8px; }.gallery-lightbox { padding: 8px; }
}
@media (max-width: 390px) { .logo-text { font-size: .9rem; }.lang-switcher { padding: 5px 7px; }.hero-btn { padding-inline: 12px; }.room-footer { align-items:flex-end; }.price-text { font-size: 1.16rem; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }.reveal { opacity:1 !important; transform:none !important; } }

.gallery-item[hidden] { display:none !important; }
.breadcrumb-action { background:none; padding:0; color:var(--primary); font-size:inherit; }

.gallery-item[hidden] { display:none !important; }
.breadcrumb-action { background:none; padding:0; color:var(--primary); font-size:inherit; }
/* Detail view replaces the landing page completely. */
body.room-page-open > .benefit-strip { display: none !important; }
@media (min-width: 901px) and (max-width: 1320px) { .nav-book { display: none; } }
