/*
 * Flamingo Cat Ba Sea & Sand Resort – lớp giao diện "Luxe" (10/2026)
 * Nạp SAU fss-theme.css. Giữ tông trắng – vàng hiện có, thêm:
 *   hero cao kiểu điện ảnh, dải "Đặt trực tiếp", đoạn giới thiệu + 4 con số,
 *   nhịp khoảng trắng rộng hơn, chữ nút đủ tương phản (WCAG AA), hiệu ứng hiện dần nhẹ.
 * Muốn quay lại giao diện cũ: xóa 1 dòng <link ... fss-luxe.css> trong layouts/public.blade.php.
 */
:root {
  --fss-ink: #151B40;            /* xanh than thương hiệu, dùng cho chữ trên nút vàng */
  --fss-gold-deep: #B58A3C;      /* vàng logo, dùng cho con số lớn */
  --lx-ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Khả năng truy cập ---------- */
.fss-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--fss-ink); color: #fff; padding: 10px 16px; font-size: 14px; font-weight: 600; transition: top .2s; }
.fss-skip:focus { top: 12px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--fss-gold-deep); outline-offset: 3px; }

/* Nút vàng: chữ xanh than thay cho chữ trắng (tương phản 9,2:1 thay vì 1,8:1) */
.bg-brand-primary, .hover\:bg-brand-primary:hover, .fss-header-cta, .fss-prose .fss-cta-btn { color: var(--fss-ink) !important; }
a.bg-brand-primary, button.bg-brand-primary, .fss-header-cta { transition: background-color .3s var(--lx-ease); }

/* ---------- Hero ---------- */
@media (min-width: 768px) { .fss-hero { height: 88vh !important; min-height: 640px !important; max-height: 940px; } }
.fss-hero [data-reveal] { max-width: 1060px; }
.fss-hero .fss-hero-title { font-size: clamp(2.25rem, 4.6vw, 4.25rem) !important; line-height: 1.08 !important; }
.fss-hero-cta, .fss-hero-link { padding-top: 15px; padding-bottom: 15px; }
@media (min-width: 768px) { .fss-perk .site-container { column-gap: 28px; } }
.fss-hero-scrim { background: linear-gradient(180deg, rgba(10, 14, 32, .42) 0%, rgba(10, 14, 32, .12) 38%, rgba(10, 14, 32, .18) 62%, rgba(10, 14, 32, .58) 100%); }
.fss-hero-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: rgba(255, 255, 255, .85); margin-bottom: 18px; }
.fss-hero .fss-hero-title { font-weight: 400 !important; letter-spacing: .005em !important; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.fss-hero p { text-shadow: 0 1px 12px rgba(0, 0, 0, .3); }
.fss-hero-cta { background: var(--fss-gold); color: var(--fss-ink) !important; letter-spacing: .14em; }
.fss-hero-cta:hover { background: #fff; }
.fss-hero-link { color: #fff; letter-spacing: .14em; position: relative; }
.fss-hero-link::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 10px; height: 1px; background: rgba(255, 255, 255, .7); transform-origin: left; transition: transform .5s var(--lx-ease); }
.fss-hero-link:hover::after { transform: scaleX(.4); }
.fss-scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 20; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 13px; }
.fss-scroll-cue span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; background: #fff; border-radius: 1px; animation: fss-cue 2.2s var(--lx-ease) infinite; }
@keyframes fss-cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.fss-hero .swiper-pagination { bottom: 84px !important; }
@media (max-width: 767px) { .fss-scroll-cue { display: none; } .fss-hero .swiper-pagination { bottom: 64px !important; } .fss-hero-eyebrow { letter-spacing: .22em; font-size: 10px; } }

/* ---------- Dải "Đặt phòng trực tiếp" ---------- */
.fss-perk { background: var(--fss-ink); color: rgba(255, 255, 255, .86); }
.fss-perk-label { font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--fss-gold); white-space: nowrap; }
.fss-perk-text { margin: 0; font-size: 14px; line-height: 1.6; }
.fss-perk-note { color: rgba(255, 255, 255, .55); }
.fss-perk-link { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fss-gold); white-space: nowrap; border-bottom: 1px solid rgba(218, 190, 129, .5); padding-bottom: 2px; }
.fss-perk-link:hover { color: #fff; border-color: #fff; }

/* ---------- Giới thiệu + con số ---------- */
.fss-signature { padding: 96px 0 24px; background: #fff; }
.fss-signature-intro { max-width: 920px; margin: 0 auto; text-align: center; }
.fss-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--color-brand-primary); }
.fss-statement { margin-top: 22px; font-family: "EB Garamond", Georgia, serif; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.42; font-weight: 400; color: var(--fss-heading); }
.fss-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 72px auto 0; max-width: 1100px; border-top: 1px solid #ECE4D2; }
.fss-stat { padding: 36px 20px 8px; text-align: center; border-left: 1px solid #ECE4D2; }
.fss-stat:first-child { border-left: 0; }
.fss-stat-num { font-family: "EB Garamond", Georgia, serif; font-size: clamp(48px, 5vw, 72px); line-height: 1; font-weight: 400; color: var(--fss-gold-deep); }
.fss-stat-label { margin: 14px auto 0; max-width: 220px; font-size: 13px; line-height: 1.6; color: var(--fss-muted); }
@media (max-width: 767px) {
  .fss-signature { padding: 64px 0 56px; }
  .fss-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; }
  .fss-stat { padding: 28px 12px 20px; }
  .fss-stat:nth-child(3) { border-left: 0; }
  .fss-stat:nth-child(n+3) { border-top: 1px solid #ECE4D2; }
}

/* ---------- Nhịp trang: khoảng trắng & tiêu đề mục ---------- */
@media (min-width: 1024px) {
  main > section.lg\:py-24 { padding-top: 7rem; padding-bottom: 7rem; }
}
main section h2.text-3xl { font-size: clamp(2rem, 3.4vw, 3.4rem) !important; line-height: 1.08; font-weight: 400 !important; }
main section h2.text-3xl + p, main section h2.text-3xl ~ p.max-w-2xl { font-size: 16px; line-height: 1.85; }

/* ---------- Thẻ nội dung (phòng, ưu đãi, nhà hàng...) ---------- */
main article.group img { transition: transform 1.2s var(--lx-ease) !important; }
main article.group:hover img { transform: scale(1.045); }
main article.group h3 { font-size: 23px !important; line-height: 1.25 !important; }
main article.group h3 a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .5s var(--lx-ease); }
main article.group:hover h3 a { background-size: 100% 1px; }
main article.group p.text-xs.font-semibold { letter-spacing: .2em; }

/* ---------- Hiện dần khi cuộn (chỉ khi có JavaScript, tắt nếu khách chọn giảm chuyển động) ---------- */
.fss-js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--lx-ease) var(--d, 0ms), transform 1s var(--lx-ease) var(--d, 0ms); }
.fss-js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fss-js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .fss-scroll-cue span { animation: none; }
  main article.group img, main article.group:hover img { transition: none !important; transform: none; }
}

/* ---------- Chữ cho tiếng Trung, Nhật, Hàn, Nga (10/2026) ---------- */
.fss-lang-zh { font-family: "Google Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }
.fss-lang-zh h1, .fss-lang-zh h2, .fss-lang-zh h3, .fss-lang-zh .fss-serif, .fss-lang-zh .fss-statement, .fss-lang-zh .fss-stat-num { font-family: "EB Garamond", "Noto Serif SC", "Songti SC", serif !important; }
.fss-lang-zh-tw { font-family: "Google Sans", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; }
.fss-lang-zh-tw h1, .fss-lang-zh-tw h2, .fss-lang-zh-tw h3, .fss-lang-zh-tw .fss-serif, .fss-lang-zh-tw .fss-statement, .fss-lang-zh-tw .fss-stat-num { font-family: "EB Garamond", "Noto Serif TC", "Songti TC", serif !important; }
.fss-lang-ja { font-family: "Google Sans", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; }
.fss-lang-ja h1, .fss-lang-ja h2, .fss-lang-ja h3, .fss-lang-ja .fss-serif, .fss-lang-ja .fss-statement, .fss-lang-ja .fss-stat-num { font-family: "EB Garamond", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif !important; }
.fss-lang-ko { font-family: "Google Sans", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; word-break: keep-all; }
.fss-lang-ko h1, .fss-lang-ko h2, .fss-lang-ko h3, .fss-lang-ko .fss-serif, .fss-lang-ko .fss-statement, .fss-lang-ko .fss-stat-num { font-family: "EB Garamond", "Noto Serif KR", serif !important; }
.fss-lang-ru { font-family: "Google Sans", "Noto Sans", system-ui, sans-serif; }
/* Chữ CJK: bỏ giãn chữ và in hoa kiểu Latin, tăng khoảng dòng */
.fss-lang-zh, .fss-lang-zh-tw, .fss-lang-ja { line-break: strict; }
.fss-lang-zh .uppercase, .fss-lang-zh-tw .uppercase, .fss-lang-ja .uppercase, .fss-lang-ko .uppercase { letter-spacing: .06em !important; }
.fss-lang-zh .fss-prose, .fss-lang-zh-tw .fss-prose, .fss-lang-ja .fss-prose, .fss-lang-ko .fss-prose { line-height: 1.95; }

/* ---------- Nút chọn ngôn ngữ (08/10/2026) ---------- */
[x-cloak] { display: none !important; }
.fss-lp { position: relative; }
.fss-lp-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 10px; border: 1px solid #E5DCC8; border-radius: 999px; background: #fff; color: var(--fss-ink); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; line-height: 1; cursor: pointer; transition: border-color .25s, box-shadow .25s, background-color .25s; }
.fss-lp-btn:hover, .fss-lp.is-open .fss-lp-btn { border-color: var(--fss-gold-deep); box-shadow: 0 6px 18px rgba(21, 27, 64, .10); }
.fss-lp-globe { width: 17px; height: 17px; color: var(--fss-gold-deep); flex-shrink: 0; }
.fss-lp-caret { width: 10px; height: 10px; opacity: .7; transition: transform .3s var(--lx-ease); }
.fss-lp.is-open .fss-lp-caret { transform: rotate(180deg); }
/* cờ tròn */
.fss-lp-dot { position: relative; display: block; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; }
.fss-lp-dot .fss-flag { position: absolute; top: 0; left: 50%; width: auto; height: 100%; aspect-ratio: 3 / 2; transform: translateX(-50%); box-shadow: none; }
.fss-lp-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(21, 27, 64, .14); }
.fss-lp-dot--sm { width: 20px; height: 20px; }
/* bảng chọn */
.fss-lp-panel { position: absolute; right: 0; top: calc(100% + 14px); z-index: 70; width: 400px; padding: 16px; background: #fff; border: 1px solid rgba(21, 27, 64, .07); border-radius: 18px; box-shadow: 0 28px 70px rgba(21, 27, 64, .20), 0 2px 8px rgba(21, 27, 64, .06); transform-origin: top right; }
.fss-lp-panel::before { content: ""; position: absolute; top: -7px; right: 26px; width: 12px; height: 12px; background: #fff; border-left: 1px solid rgba(21, 27, 64, .07); border-top: 1px solid rgba(21, 27, 64, .07); transform: rotate(45deg); }
.fss-lp-anim { transition: opacity .22s ease, transform .32s var(--lx-ease); }
.fss-lp-from { opacity: 0; transform: translateY(-6px) scale(.97); }
.fss-lp-to { opacity: 1; transform: none; }
.fss-lp-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 12px; margin-bottom: 8px; border-bottom: 1px solid #F1EBDD; }
.fss-lp-title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--fss-gold-deep); }
.fss-lp-title svg { width: 15px; height: 15px; }
.fss-lp-close { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--fss-ink); opacity: .55; transition: opacity .2s, background-color .2s; }
.fss-lp-close:hover { opacity: 1; background: #F7F2E8; }
.fss-lp-close svg { width: 12px; height: 12px; }
.fss-lp-handle, .fss-lp-backdrop { display: none; }
.fss-lp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.fss-lp-opt { position: relative; display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 12px; border: 1px solid transparent; color: var(--fss-ink); text-decoration: none; transition: background-color .2s, border-color .2s, transform .2s; }
.fss-lp-opt:hover, .fss-lp-opt:focus-visible { background: #FAF6EE; }
.fss-lp-opt:focus-visible { outline: 2px solid var(--fss-gold-deep); outline-offset: 1px; }
.fss-lp-opt[aria-current="true"] { background: #F7F0E1; border-color: #E8D9B5; }
.fss-lp-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.fss-lp-txt b { font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.fss-lp-txt small { margin-top: 2px; font-size: 11px; letter-spacing: 0; color: #7A7F98; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: "Google Sans", system-ui, sans-serif; }
.fss-lp-check { position: absolute; right: 9px; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; color: var(--fss-gold-deep); }
/* lưới trong menu ☰ điện thoại */
.fss-lp-grid--menu { margin-top: 28px; gap: 8px; }
.fss-lp-grid--menu .fss-lp-title { grid-column: 1 / -1; margin-bottom: 4px; }
.fss-lp-grid--menu .fss-lp-opt { border-color: #EFE7D6; padding: 11px 12px; }
.fss-lp-grid--menu .fss-lp-opt[aria-current="true"] { border-color: var(--fss-gold-deep); }
.fss-mobile-menu .fss-lp-opt { border-bottom-width: 1px; font-size: inherit; text-transform: none; }
/* điện thoại: bảng trượt từ dưới lên */
@media (max-width: 639px) {
  .fss-lp-btn { height: 36px; padding: 0 7px; gap: 6px; }
  .fss-lp-btn .fss-lp-code, .fss-lp-btn .fss-lp-caret { display: none; }
  .fss-lp-backdrop { display: block; position: fixed; inset: 0; z-index: 69; background: rgba(21, 27, 64, .45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
  .fss-lp-panel { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 86vh; overflow-y: auto; padding: 10px 16px calc(18px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; transform-origin: bottom center; }
  .fss-lp-panel::before { display: none; }
  .fss-lp-handle { display: block; width: 40px; height: 4px; margin: 0 auto 10px; border-radius: 4px; background: #E3DCCB; }
  .fss-lp-from { opacity: 1; transform: translateY(100%); }
  .fss-lp-opt { padding: 12px 10px; }
}
@media (prefers-reduced-motion: reduce) { .fss-lp-anim, .fss-lp-caret { transition: none; } }

/* Logo header phóng to 25% (08/10/2026): 52px -> 65px máy tính, 42px -> 52px điện thoại. Header cao 80px giữ nguyên. */
.fss-header .fss-logo { height: 65px; max-width: none; }
@media (max-width: 767px) { .fss-header .fss-logo { height: 52px; } }
/* Điện thoại: thu gọn khoảng cách để logo lớn + nút cờ + menu vừa một hàng (đến 360px). */
@media (max-width: 767px) {
  .fss-header .site-container { padding-left: 16px; padding-right: 16px; gap: 12px; }
  .fss-header .site-container > div:last-child { gap: 6px; }
  }
@media (max-width: 359px) { .fss-header .fss-logo { height: 46px; } }
/* Máy tính: nếu menu ngang không đủ chỗ (logo lớn, nhãn dài theo ngôn ngữ) thì tự chuyển sang nút menu ☰. */
.fss-header.fss-nav-collapsed nav.fss-nav { display: none !important; }
.fss-header.fss-nav-collapsed .fss-burger { display: grid !important; }
.fss-header.fss-nav-collapsed .fss-mobile-menu { display: block; }
.fss-mobile-menu { overflow-y: auto; overscroll-behavior: contain; }
