/* NAM HAI CON DAO | Tropical Coastal Boutique | v1.0 */
:root {
  --ocean:#123F4A; --sea:#237F83; --sea-text:#1B6569; --sand:#E5D8BD;
  --ivory:#F8F7F2; --forest:#233B36; --ink:#263D40; --muted:#607779;
  --white:#FFFFFF; --line:rgba(18,63,74,.14); --shadow:0 18px 42px rgba(18,63,74,.09);
  --serif:'Playfair Display',Georgia,'Times New Roman',serif;
  --sans:Inter,system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
  --page:1168px; --header:80px;
}
*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:calc(var(--header) + 15px); }
body { margin:0; min-width:320px; background:var(--ivory); color:var(--ink); font:400 16px/1.7 var(--sans); -webkit-font-smoothing:antialiased; }
[hidden] { display:none !important; }
img,svg { max-width:100%; }
img { vertical-align:middle; }
a { color:var(--sea-text); text-decoration:none; }
a:hover { color:var(--ocean); }
button { font:inherit; }
button,a { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:3px solid #D4A66A; outline-offset:4px; }
.container { width:min(var(--page),calc(100% - 48px)); margin-inline:auto; }
.container-narrow { max-width:810px; }
.skip-link { position:fixed; top:-110px; left:16px; z-index:1000; padding:12px 18px; background:var(--white); border:2px solid var(--sea-text); border-radius:5px; }
.skip-link:focus { top:12px; }
/* HEADER */
.site-header { position:sticky; top:0; z-index:200; min-height:var(--header); background:rgba(248,247,242,.97); backdrop-filter:blur(18px); box-shadow:0 1px 0 var(--line); }
.header-inner { min-height:var(--header); display:flex; align-items:center; gap:28px; }
.brand { display:inline-flex; align-items:center; flex:none; gap:10px; color:var(--ocean); min-width:0; }
.brand:hover { color:var(--ocean); }
.brand-logo { width:60px; height:60px; object-fit:contain; }
.brand-text { display:flex; flex-direction:column; white-space:nowrap; line-height:1.3; }
.brand-name { font-family:var(--serif); font-size:20px; letter-spacing:.055em; font-weight:600; text-transform:uppercase; }
.brand-descriptor { margin-top:4px; font-size:10px; letter-spacing:.17em; text-transform:uppercase; color:var(--sea-text); font-weight:600; }
.site-nav { margin-left:auto; }
.nav-list,.footer-list,.gallery-grid { padding:0; margin:0; list-style:none; }
.nav-list { display:flex; align-items:center; gap:18px; }
.nav-link { display:block; color:var(--ocean); font-size:12px; font-weight:600; white-space:nowrap; padding:14px 0; transition:color .2s ease; }
.nav-link:hover,.nav-link.is-active { color:var(--sea); }
.header-actions { margin-left:8px; display:flex; gap:10px; align-items:center; order:2; }
.lang-switch { border:1px solid var(--line); border-radius:6px; padding:3px; display:flex; flex:none; }
.lang-button { cursor:pointer; background:transparent; color:var(--ocean); border:0; padding:6px 9px; font:600 11px var(--sans); border-radius:4px; }
.lang-button[aria-pressed="true"] { color:var(--white); background:var(--ocean); }
.nav-toggle { padding:9px; display:none; border:1px solid var(--line); background:var(--white); color:var(--ocean); border-radius:6px; cursor:pointer; }
/* HERO */
.hero { position:relative; min-height:min(680px,85vh); display:grid; align-items:center; isolation:isolate; color:var(--white); background:var(--ocean); overflow:hidden; }
.hero-media,.hero-media img { position:absolute; inset:0; width:100%; height:100%; }
.hero-media { z-index:-1; }
.hero-media img { object-fit:cover; object-position:center 45%; }
.hero::after { content:""; z-index:-1; position:absolute; inset:0; background:linear-gradient(90deg,rgba(8,32,39,.80) 0%,rgba(8,32,39,.45) 53%,rgba(8,32,39,.15) 100%),linear-gradient(0deg,rgba(0,0,0,.23),transparent 35%); }
.hero-content { padding-block:120px; }
.hero .eyebrow { color:#D7ECE4; }
.eyebrow { margin:0 0 18px; text-transform:uppercase; letter-spacing:.23em; font-size:11px; line-height:1.6; font-weight:600; color:var(--sea-text); }
.hero-title,.section-title,.card-title,.subsection-title { font-family:var(--serif); line-height:1.22; font-weight:500; }
.hero-title { max-width:790px; font-size:clamp(42px,6vw,74px); letter-spacing:-.025em; margin:0 0 22px; text-wrap:balance; }
.hero-subtitle { max-width:540px; margin:0 0 34px; font-size:clamp(15px,1.45vw,19px); line-height:1.7; color:rgba(255,255,255,.92); }
.button-group { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.button { cursor:pointer; display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:12px 23px; border-radius:5px; font:600 13px/1.35 var(--sans); letter-spacing:.005em; text-align:center; border:1px solid transparent; transition:transform .2s,background .2s,border-color .2s,color .2s; }
.button:hover { transform:translateY(-2px); }
.button-primary { color:var(--white); background:var(--ocean); }
.button-primary:hover { color:var(--white); background:var(--sea-text); }
.hero .button-primary,.section-forest .button-primary { background:var(--sand); color:var(--ocean); }
.hero .button-primary:hover,.section-forest .button-primary:hover { background:var(--white); }
.button-light { color:var(--ocean); background:var(--white); }
.button-light:hover { background:#E8F1EE; }
.hero .button-light { background:transparent; border-color:rgba(255,255,255,.65); color:var(--white); }
.hero .button-light:hover { background:rgba(255,255,255,.14); color:var(--white); }
.button-outline { background:transparent; border-color:var(--ocean); color:var(--ocean); }
.button-outline:hover { background:var(--ocean); color:var(--white); }
.button-outline-light { border-color:rgba(255,255,255,.64); color:var(--white); background:transparent; }
.button-outline-light:hover { background:rgba(255,255,255,.12); color:var(--white); }
/* SECTIONS */
.section { padding:100px 0; }
.section-sand { background:#EEE9DF; }
.section-forest { color:var(--white); background:var(--forest); }
.section-forest .eyebrow { color:var(--sand); }
.section-title { margin:0 0 22px; font-size:clamp(32px,3.2vw,48px); letter-spacing:-.025em; color:var(--ocean); text-wrap:balance; }
.section-forest .section-title,.section-forest .subsection-title { color:var(--white); }
.section-lead { font-size:clamp(16px,1.5vw,18px); color:var(--muted); line-height:1.85; }
.section-forest .section-lead,.section-forest p { color:rgba(255,255,255,.86); }
.section-header { text-align:center; max-width:750px; margin:0 auto 48px; }
.section-header .section-lead { margin-bottom:0; }
.subsection-title { color:var(--ocean); font-size:clamp(25px,2.3vw,33px); margin:0 0 24px; }
.intro>.container-narrow { text-align:center; margin-bottom:56px; }
.intro .section-lead { margin-bottom:0; }
/* CARDS */
.business-grid,.two-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; }
.card,.panel { background:var(--white); border:1px solid var(--line); border-radius:7px; overflow:hidden; box-shadow:var(--shadow); }
.card { display:flex; flex-direction:column; }
.card-body { padding:28px; display:flex; flex-direction:column; flex:1; align-items:flex-start; }
.card-title { margin:0 0 13px; font-size:25px; color:var(--ocean); overflow-wrap:anywhere; }
.card-text { color:var(--muted); margin:0 0 24px; font-size:15px; line-height:1.8; }
.card-body .button { margin-top:auto; }
.media { position:relative; display:block; overflow:hidden; isolation:isolate; background:linear-gradient(135deg,#D9E9E6,#B5D0CB); color:var(--ocean); }
.media-4x3 { aspect-ratio:4/3; }
.media-portrait { aspect-ratio:3/4; }
.media img { width:100%; height:100%; object-fit:cover; transition:transform .65s ease; }
.card:hover .media img,.gallery-item:hover img { transform:scale(1.04); }
.media.is-missing::after { content:"Ảnh đang cập nhật / Photo coming soon"; position:absolute; inset:0; display:flex; align-items:center; justify-content:center; text-align:center; padding:24px; color:var(--ocean); font-size:13px; font-weight:600; background:linear-gradient(135deg,#DFECE8,#BDD4D0); }
.media.is-missing img { opacity:0; }
/* SPLIT SECTIONS */
.split { display:grid; grid-template-columns:1fr 1fr; gap:7%; align-items:center; }
.split-content>.section-lead { margin-bottom:22px; }
.split-content>p:not(.eyebrow):not(.section-lead) { font-size:15px; line-height:1.9; }
.split-media .media { border-radius:5px; box-shadow:var(--shadow); }
.image-pair { display:grid; grid-template-columns:1.05fr .76fr; align-items:center; gap:14px; }
.image-pair .media:nth-child(2) { margin-top:72px; }
.info-grid { margin-top:70px; display:grid; grid-template-columns:1fr 1fr; gap:38px; border-top:1px solid var(--line); padding-top:50px; }
.info-block { min-width:0; }
.notice { color:var(--muted); background:rgba(255,255,255,.45); padding:15px 18px; border-left:3px solid var(--sea); font-size:14px; border-radius:0 5px 5px 0; }
.notice-large { padding:30px; text-align:center; border-left:0; border:1px solid var(--line); border-radius:8px; max-width:740px; margin:auto; }
.notice-large p { margin:0 0 20px; }
.breakfast-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.breakfast-menu { max-width:100%; border-radius:5px; border:1px solid var(--line); box-shadow:0 12px 25px rgba(0,0,0,.07); }
.breakfast-menu img { object-fit:contain; background:#FFF9F0; }
/* ROOMS AND GALLERY */
.card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.room-card .card-body { padding:23px; }
.room-card .card-title { font-size:21px; }
.room-card .card-text { font-size:14px; }
.room-card .button { width:100%; }
.gallery { margin-top:72px; }
.gallery-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.gallery-item { border-radius:4px; cursor:zoom-in; }
.gallery-item img { transition:transform .4s; }
/* RESTAURANT */
.section-forest .split { margin-bottom:70px; }
.photo-strip { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:15px; }
.photo-strip .media { border-radius:4px; }
/* MENU */
.menu-filters { display:flex; justify-content:center; flex-wrap:wrap; gap:9px; margin:0 auto 30px; }
.filter-button { padding:10px 15px; cursor:pointer; color:var(--ocean); border:1px solid var(--line); border-radius:5px; background:var(--white); font-size:13px; font-weight:600; }
.filter-button[aria-pressed="true"],.filter-button:hover { color:var(--white); background:var(--ocean); border-color:var(--ocean); }
.menu-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.menu-grid>.notice-large { grid-column:1/-1; width:100%; }
.menu-item { display:grid; grid-template-columns:110px minmax(0,1fr); gap:18px; border:1px solid var(--line); border-radius:7px; background:var(--white); padding:15px; }
.menu-item-img { height:112px; width:110px; object-fit:cover; border-radius:4px; background:#E4EBE9; }
.menu-item-body h3 { color:var(--ocean); margin:0 0 3px; font-family:var(--serif); font-size:19px; }
.menu-item-body p { color:var(--muted); margin:0 0 8px; font-size:13px; }
.menu-item-price { font-weight:700; color:var(--sea-text); font-size:14px; }
/* LOCATION/CONTACT */
.panel { padding:31px; box-shadow:0 10px 30px rgba(18,63,74,.035); }
.location-card address { margin-bottom:18px; font-style:normal; color:var(--muted); }
.map-embed { border-radius:5px; overflow:hidden; margin-top:20px; }
.map-embed iframe { border:0; width:100%; min-height:255px; }
.contact-card { scroll-margin-top:110px; }
.channel-list { display:flex; flex-wrap:wrap; gap:10px; }
.channel-list .button { flex:1 1 140px; }
.contact-card .notice { margin:0 0 22px; }
/* FOOTER */
.site-footer { background:var(--ocean); color:rgba(255,255,255,.82); padding:55px 0 30px; }
.footer-inner { display:grid; grid-template-columns:1.4fr 1fr; gap:38px; }
.footer-brand .brand-name { color:var(--white); margin:0 0 8px; }
.footer-brand .brand-descriptor { color:#B3D3CD; }
.footer-brand p:not(.brand-name):not(.brand-descriptor) { font-size:13px; }
.footer-list { display:grid; grid-template-columns:repeat(2,1fr); gap:13px; }
.footer-list a { color:rgba(255,255,255,.85); font-size:13px; }
.footer-list a:hover { color:var(--white); }
.copyright { font-size:12px; margin-top:22px; grid-column:1/-1; border-top:1px solid rgba(255,255,255,.15); padding-top:24px; }
/* FLOATING CONTACT */
.contact-fab { position:fixed; z-index:300; right:24px; bottom:24px; }
.contact-fab-toggle { display:flex; align-items:center; gap:9px; cursor:pointer; user-select:none; list-style:none; padding:14px 17px; background:var(--sea-text); color:var(--white); border-radius:40px; box-shadow:0 12px 30px rgba(18,63,74,.3); font-size:13px; font-weight:600; }
.contact-fab-toggle::-webkit-details-marker { display:none; }
.contact-fab-toggle:hover { background:var(--ocean); }
.contact-fab-toggle svg { width:20px; height:20px; }
.contact-fab-panel { position:absolute; right:0; bottom:calc(100% + 13px); width:min(345px,calc(100vw - 32px)); border:1px solid var(--line); border-radius:9px; background:var(--white); color:var(--ink); box-shadow:0 25px 55px rgba(18,63,74,.20); padding:20px; max-height:min(620px,70vh); overflow:auto; }
.contact-fab-group+.contact-fab-group { margin-top:18px; padding-top:18px; border-top:1px solid var(--line); }
.contact-fab-title { color:var(--ocean); font-weight:700; font-size:14px; margin:0 0 10px; }
.contact-fab .channel-list { gap:7px; }
.contact-fab .channel { font-size:12px; background:var(--ivory); border:1px solid var(--line); padding:7px 10px; border-radius:4px; color:var(--ocean); }
.contact-fab .channel:hover { background:var(--sand); }
.contact-fab-link { display:inline-block; margin-top:10px; font-size:12px; font-weight:600; text-decoration:underline; }
/* LIGHTBOX */
.lightbox { border:0; padding:0; margin:auto; background:transparent; color:white; max-width:min(1120px,95vw); width:95vw; max-height:93vh; overflow:visible; }
.lightbox::backdrop { background:rgba(7,24,28,.94); }
.lightbox-figure { display:flex; flex-direction:column; align-items:center; justify-content:center; max-height:90vh; margin:0; }
.lightbox-figure img { width:auto; max-height:78vh; max-width:min(1050px,82vw); object-fit:contain; background:var(--ivory); }
.lightbox-figure figcaption { margin-top:10px; font-size:13px; color:rgba(255,255,255,.9); text-align:center; }
.lightbox-close,.lightbox-prev,.lightbox-next { cursor:pointer; border:1px solid rgba(255,255,255,.3); background:rgba(18,63,74,.78); color:white; border-radius:5px; display:grid; place-items:center; position:absolute; z-index:2; }
.lightbox-close { top:-15px; right:8px; width:43px; height:43px; font-size:32px; }
.lightbox-prev,.lightbox-next { top:50%; transform:translateY(-50%); width:43px; height:60px; font-size:38px; }
.lightbox-prev { left:4px; }.lightbox-next { right:4px; }
/* 1110+ desktop details */
@media (max-width:1190px) {
  .header-inner { flex-wrap:wrap; gap:15px; }
  .site-nav { order:3; flex:1 0 100%; margin:0; }
  .nav-list { justify-content:center; gap:25px; }
  .header-actions { margin-left:auto; }
  .site-header { --header:98px; }
  .js .site-nav { order:0; flex:auto; }
}
/* mobile menu styles only if JavaScript is active */
@media (max-width:1099px) {
  :root { --header:72px; }
  .header-inner { flex-wrap:nowrap; }
  .brand-logo { width:50px; height:50px; }
  .brand-name { font-size:16px; }
  .brand-descriptor { font-size:9px; letter-spacing:.08em; }
  .js .nav-toggle { display:grid; place-items:center; }
  .js .site-nav { position:absolute; top:100%; left:0; right:0; background:var(--ivory); border-top:1px solid var(--line); border-bottom:1px solid var(--line); max-height:calc(100vh - var(--header)); overflow:auto; box-shadow:0 20px 25px rgba(0,0,0,.08); }
  .js .site-nav:not(.is-open) { display:none; }
  .js .nav-list { flex-direction:column; align-items:stretch; gap:0; padding:13px 24px; }
  .js .nav-link { padding:12px 8px; border-bottom:1px solid var(--line); font-size:14px; }
  .js .nav-list li:last-child .nav-link { border-bottom:none; }
  .header-actions { margin-left:auto; }
  .nav-list { flex-wrap:wrap; }
}
@media (max-width:900px) {
  .section { padding:76px 0; }
  .split { grid-template-columns:1fr; gap:30px; }
  .split-media { max-width:680px; }
  .card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .photo-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .gallery-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .info-grid { gap:20px; }
  .section-forest .split { margin-bottom:44px; }
}
@media (max-width:640px) {
  :root { --header:68px; }
  .container { width:calc(100% - 36px); }
  .section { padding:64px 0; }
  .hero { min-height:610px; }
  .hero-content { padding-block:100px; }
  .hero-title { font-size:clamp(39px,10vw,56px); }
  .hero::after { background:linear-gradient(90deg,rgba(8,32,39,.78),rgba(8,32,39,.35)),linear-gradient(0deg,rgba(8,32,39,.38),transparent); }
  .hero .button-group { align-items:stretch; flex-direction:column; max-width:310px; }
  .hero .button { justify-content:center; }
  .brand-logo { width:45px; height:45px; }
  .brand-name { font-size:14px; }
  .brand-descriptor { font-size:7px; }
  .header-inner { gap:8px; }
  .header-actions { gap:5px; }
  .lang-button { padding:5px 7px; }
  .business-grid,.two-columns,.card-grid,.info-grid,.menu-grid { grid-template-columns:1fr; }
  .panel { padding:23px; }
  .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .image-pair .media:nth-child(2) { margin-top:45px; }
  .card-body { padding:24px; }
  .card-title { font-size:24px; }
  .breakfast-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .footer-inner { grid-template-columns:1fr; gap:25px; }
  .copyright { grid-column:1; }
  .contact-fab { right:15px; bottom:16px; }
  .contact-fab-toggle { padding:13px 15px; }
  .lightbox-figure img { max-width:81vw; max-height:75vh; }
  .lightbox-prev,.lightbox-next { width:34px; height:48px; font-size:26px; }
}
@media (max-width:380px) {
 .brand-name { font-size:12px; }
 .brand-descriptor { font-size:6.5px; }
 .brand-logo { width:40px; height:40px; }
 .lang-button { padding:5px; }
 .hero-title { font-size:37px; }
 .menu-item { grid-template-columns:90px minmax(0,1fr); }
 .menu-item-img { width:90px; height:96px; }
}
@media (prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto; }
 *,*::before,*::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}
