/*
Theme Name: Romeo Villa Hotel
Version: 0.10.2
Text Domain: romeo-villa
*/
:root {
    --green: #082f2d;
    --deep: #032421;
    --gold: #c9a34a;
    --light: #f0cd7f;
    --bronze: #915b0b;
    --paper: #f8f6f1;
    --ink: #202020;
    --line: #382a1b21;
    --shadow: 0 5px 15px #30241516;
    --serif: "Playfair Display", Georgia, serif;
    --sans: "Be Vietnam Pro", sans-serif;
    --header-height: 82px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 15px/1.58 var(--sans); }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
button, select, input { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
svg { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: middle; }
:focus-visible { outline: 3px solid #a66c10; outline-offset: 3px; }
.wrap { width: min(92%, 1280px); margin-inline: auto; }
[id] { scroll-margin-top: calc(var(--header-height) + 16px); }
.skip { position: fixed; top: 0; left: 1rem; z-index: 9; background: white; padding: .6rem; transform: translateY(-120%); }
.skip:focus { transform: none; }

.top, .foot, .amenities { background: var(--green); color: white; }
.top { position: sticky; top: 0; z-index: 5; }
.bar { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; justify-content: center; }
.brand img { width: 122px; height: 75px; object-fit: contain; border-radius: 8px; }
.desktop-menu { display: flex; gap: clamp(.75rem, 1.65vw, 1.75rem); align-items: center; }
.desktop-menu a { font-size: .91rem; font-weight: 600; white-space: nowrap; padding-block: .35rem; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.desktop-menu a:hover, .home .desktop-menu a:first-child { color: var(--light); text-decoration: none; border-color: currentColor; }
.call { min-height: 44px; display: inline-flex; gap: .5rem; align-items: center; justify-content: center; border: 1px solid var(--gold); border-radius: 2rem; padding: .45rem 1rem; font-weight: 700; white-space: nowrap; }
.call svg { color: var(--light); }
.drawer { display: none; }

.hero { min-height: clamp(600px, 45vw, 700px); position: relative; isolation: isolate; display: flex; align-items: center; color: white; background: var(--deep); }
.hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0a140fee 0%, #141710b3 34%, #291a1530 67%, #28150700); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 40px; background: var(--paper); clip-path: polygon(0 20%, 23% 75%, 50% 100%, 76% 80%, 100% 20%, 100% 100%, 0 100%); }
.hero-content { padding: 4rem 0 6.5rem; }
.eyebrow { margin: 0 0 .5rem; color: var(--bronze); font-size: .8rem; font-weight: 700; letter-spacing: .24em; }
.hero .eyebrow { color: var(--light); }
h1, h2, h3 { margin: 0; line-height: 1.14; font-family: var(--serif); }
h1 { font-size: clamp(3rem, 4.55vw, 4.2rem); font-weight: 600; letter-spacing: -.035em; }
h2 { font-size: clamp(1.65rem, 2.5vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.3rem; }
.hero-description { max-width: 460px; font-size: 1.02rem; margin: 1.25rem 0 1.6rem; }
.actions { display: flex; gap: .85rem; flex-wrap: wrap; }
.gold, .outline { display: inline-flex; justify-content: center; align-items: center; gap: .55rem; min-height: 46px; border-radius: 3rem; padding: .58rem 1.25rem; font-weight: 700; transition: background .18s, box-shadow .18s, color .18s; }
.gold { border: 1px solid #d3a752; color: #231803; background: linear-gradient(112deg, #f4d895, #d5a24d); box-shadow: 0 3px 8px #301d001d; }
.gold:hover { background: #f3d690; text-decoration: none; box-shadow: 0 5px 12px #301d0030; }
.outline { border: 1px solid white; color: white; }
.outline:hover { background: #fff2; text-decoration: none; }

.booking { max-width: 1100px; margin-top: -54px; position: relative; z-index: 1; padding: .85rem 1.2rem; background: var(--paper); border: 1px solid #fff; border-radius: 32px; box-shadow: 0 10px 23px #241a182e; }
.booking form { display: grid; grid-template-columns: 1.16fr 1fr 1fr .78fr auto; align-items: center; }
.booking label { display: flex; align-items: center; gap: .6rem; min-width: 0; padding: .25rem .8rem; font-size: .78rem; font-weight: 700; }
.booking label + label { border-left: 1px solid var(--line); }
.booking label > svg { width: 24px; height: 24px; }
.booking label span { min-width: 0; width: 100%; }
.booking input, .booking select { display: block; min-width: 0; width: 100%; border: 0; padding: 0; background: transparent; font-size: .86rem; font-weight: 400; min-height: 30px; }
.booking select { text-overflow: ellipsis; }
.booking button { min-width: 138px; }

.section { padding-block: 1.6rem; }
.about { display: grid; grid-template-columns: .96fr 1fr; align-items: center; gap: clamp(1.25rem, 3.5vw, 3rem); padding-top: 2.4rem; }
.about h2 { font-size: clamp(2rem, 3.25vw, 3rem); }
.about .photo { min-height: 215px; aspect-ratio: 2.4; }
.about .eyebrow { display: flex; align-items: center; gap: .7rem; }
.about .eyebrow::after { content: ""; width: 55px; height: 1px; background: var(--gold); }
.photo { position: relative; overflow: hidden; background: var(--green); border-radius: .65rem; }
.photo img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; margin: 1.15rem 0 0; list-style: none; text-align: center; font-weight: 700; }
.values li + li { border-left: 1px solid var(--line); }
.values svg { display: block; width: 34px; height: 34px; margin: 0 auto .35rem; color: var(--bronze); }
.center { display: flex; justify-content: center; align-items: center; gap: .8rem; text-align: center; text-transform: uppercase; }
.center::before, .center::after { content: ""; flex: 0 0 clamp(14px, 4vw, 62px); height: 1px; background: var(--gold); }
.section-intro, .preview-note, .notice { text-align: center; }
.section-intro { margin: .6rem auto .9rem; max-width: 680px; }
.preview-note { margin: .35rem 0 .65rem; color: #765c32; font-size: .78rem; }
.notice a { display: inline-block; color: var(--deep); margin: 0 .5rem; text-decoration: underline; }

.branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.1rem; }
.branch { display: grid; grid-template-columns: 1fr 1fr; padding: .55rem; gap: .95rem; overflow: hidden; border-radius: .8rem; box-shadow: var(--shadow); background: #fff8; }
.branch .photo { min-height: 184px; }
.branch .photo img { object-position: 50% 59%; }
.branch-body { align-self: center; padding: .55rem .45rem .55rem 0; min-width: 0; }
.branch address, .branch-phone { display: flex; align-items: flex-start; gap: .48rem; }
.branch address { margin: .55rem 0; font: 400 .88rem/1.45 var(--sans); }
.branch address svg { margin-top: .1rem; }
.branch-phone { font-weight: 700; margin: .6rem 0; }
.branch .gold { min-height: 38px; font-size: .85rem; }
.image-note { position: absolute; bottom: 0; inset-inline: 0; padding: .3rem .4rem; background: #07251ce8; color: white; text-align: center; font-size: .71rem; }
.photo-label { display: grid; place-content: center; height: 100%; text-align: center; color: var(--light); font-family: var(--serif); }

.carousel { position: relative; }
.room-track { --cards: 5; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--cards) - 1) * 14px) / var(--cards)); gap: 14px; position: relative; overflow-x: auto; padding-block: 4px 12px; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.room-track::-webkit-scrollbar { display: none; }
.room-card, .news article { background: #fffc; border-radius: .65rem; overflow: hidden; box-shadow: var(--shadow); }
.room-card { scroll-snap-align: start; }
.room-photo { display: block; overflow: hidden; }
.room-card img { aspect-ratio: 1.82; object-fit: cover; }
.room-card h3 { padding: .7rem .7rem 0; font: 700 1rem/1.25 var(--sans); }
.room-link { display: flex; justify-content: space-between; gap: .4rem; align-items: center; color: var(--bronze); font-size: .85rem; font-weight: 600; padding: .35rem .7rem .7rem; }
.carousel-arrow { position: absolute; z-index: 1; top: 40%; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow); }
.carousel-arrow.previous { left: -16px; }
.carousel-arrow.next { right: -16px; }
.carousel-arrow:disabled { opacity: .38; cursor: default; }
.carousel-dots { display: none; }

.amenities { position: relative; padding: 1.6rem 0; background: radial-gradient(ellipse at 50% -90%, #164642, var(--deep) 80%); }
.amenities .wrap { display: flex; align-items: center; gap: 1.8rem; }
.amenities h2 { text-transform: uppercase; font-size: clamp(1.45rem, 2.15vw, 2rem); min-width: 195px; }
.amenities .preview-note { color: var(--light); text-align: left; margin-bottom: 0; }
.amenities ul { display: grid; flex: 1; grid-template-columns: repeat(6, 1fr); list-style: none; border-left: 1px solid var(--gold); padding: 0; margin: 0; }
.amenities li { display: grid; gap: .4rem; justify-items: center; align-content: center; padding: .2rem .45rem; text-align: center; font-size: .82rem; line-height: 1.2; }
.amenities li + li { border-left: 1px solid #ffffff27; }
.amenities svg { width: 34px; height: 34px; color: var(--light); }

.gallery { display: grid; grid-template-columns: 1.28fr 1.1fr .9fr .85fr 1.2fr; gap: .65rem; margin-top: 1rem; }
.gallery a { display: block; overflow: hidden; border-radius: .55rem; }
.gallery img { height: clamp(145px, 15vw, 205px); object-fit: cover; }
.gallery img, .room-photo img { transition: transform .25s ease; }
.gallery a:hover img, .room-photo:hover img { transform: scale(1.05); }
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.news article { transition: box-shadow .2s; }
.news article:hover { box-shadow: 0 6px 18px #30241526; }
.news a { display: grid; grid-template-columns: 41% 1fr; align-items: stretch; min-height: 110px; }
.news a:not(:has(img)) { grid-template-columns: 1fr; }
.news img { height: 100%; object-fit: cover; aspect-ratio: 1.5; }
.news a > div { padding: .65rem; }
.news h3 { font: 700 .9rem/1.35 var(--sans); }
.news time, .news .preview-note { display: block; text-align: left; margin-top: .4rem; font-size: .75rem; }
.news time svg { color: var(--bronze); }

.foot { padding: 1.75rem 0 0; margin-top: .75rem; }
.footer-grid { display: grid; grid-template-columns: .95fr 1.75fr .74fr 1fr; gap: 1.2rem; }
.footer-grid > div { min-width: 0; }
.footer-brand { display: grid; justify-items: center; align-content: center; border-right: 1px solid #fff3; text-align: center; padding-right: .75rem; }
.footer-brand img { width: 145px; height: auto; }
.footer-grid strong { display: block; margin-bottom: .45rem; }
.footer-grid p, .footer-menu nav, .copy { font-size: .8rem; }
.footer-menu a, .footer-contact > a { display: block; margin-bottom: .22rem; }
.footer-contact .gold { display: inline-flex; margin-top: .7rem; }
.footer-location { display: flex; align-items: flex-start; gap: .55rem; }
.footer-location p { margin: 0 0 .5rem; }
.footer-location svg, .footer-contact > a:not(.gold) svg { color: var(--light); }
.footer-bottom { border-top: 1px solid #fff3; margin-top: 1rem; }
.copy { display: flex; justify-content: space-between; gap: 1rem; padding-block: .75rem; }

dialog { max-width: min(90vw, 900px); padding: 1rem; border: 0; border-radius: .8rem; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #061310d9; }
dialog form { display: flex; justify-content: flex-end; }
dialog button { border: 0; background: transparent; font-size: 1.6rem; min-width: 44px; min-height: 44px; }
.image-dialog img { max-height: 74vh; width: auto; max-width: 100%; object-fit: contain; }
.image-dialog p { margin: .5rem 0 0; }
.topic-dialog { width: min(90vw, 490px); padding: 1rem 1.4rem 1.6rem; }

@media (min-width: 1180px) {
    .carousel-arrow { display: none; }
}
@media (max-width: 1179px) {
    .room-track { --cards: 4.15; }
}
@media (max-width: 975px) {
    .desktop { display: none; }
    .drawer { display: block; }
    .drawer summary { list-style: none; display: grid; place-items: center; min-width: 44px; min-height: 44px; font-size: 1.45rem; }
    .drawer summary::-webkit-details-marker { display: none; }
    .drawer nav { position: absolute; right: 0; top: 100%; width: min(86vw, 325px); background: var(--green); padding: .75rem 1rem; box-shadow: 0 12px 24px #0004; }
    .drawer nav a { display: block; padding: .68rem; }
    .bar .call { margin-left: auto; }
    .room-track { --cards: 3.2; }
}
@media (max-width: 740px) {
    .branches, .news { grid-template-columns: 1fr; }
    .booking { border-radius: 20px; }
    .booking form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .booking label { padding: .45rem .55rem; }
    .booking label:nth-child(3) { border-left: 0; }
    .booking label:nth-child(n+3) { border-top: 1px solid var(--line); }
    .booking button { grid-column: 1 / -1; margin-top: .6rem; }
    .amenities .wrap { display: block; }
    .amenities h2, .amenities .preview-note { text-align: center; }
    .amenities ul { border-left: 0; margin-top: 1rem; }
    .footer-grid { grid-template-columns: 1fr 1.4fr; }
}
@media (max-width: 550px) {
    :root { --header-height: 76px; }
    body { font-size: 14px; }
    .wrap { width: 92%; }
    .bar { gap: .45rem; }
    .brand img { width: 114px; height: 72px; }
    .call { padding: 0; min-width: 44px; border-radius: 14px; }
    .hero { min-height: 490px; }
    .hero-content { padding: 3.15rem 0 5.85rem; }
    .hero-image { object-position: 48% center; }
    .hero::before { background: linear-gradient(90deg, #0c120ee8, #0e160c61 85%), linear-gradient(0deg, #070d09b8, transparent 55%); }
    .hero::after { height: 25px; }
    h1 { font-size: clamp(2.15rem, 9vw, 2.7rem); max-width: 12.5ch; }
    .hero-description { font-size: .91rem; max-width: 33ch; margin: .85rem 0 1.4rem; }
    .actions { flex-direction: column; align-items: flex-start; gap: .62rem; }
    .actions a { min-width: 219px; }
    .booking { margin-top: -34px; padding: .65rem; }
    .booking label { gap: .35rem; }
    .booking label > svg { width: 20px; height: 20px; }
    .booking input, .booking select { font-size: .8rem; min-height: 30px; }
    .section { padding-block: 1.25rem; }
    .about { display: block; }
    .about .photo { display: none; }
    .about .eyebrow, .about h2 { justify-content: center; text-align: center; }
    .about .eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
    .about .eyebrow::after { width: 32px; }
    .values svg { width: 31px; height: 31px; }
    .center { gap: .45rem; font-size: clamp(1.29rem, 5.4vw, 1.72rem); }
    .center::before, .center::after { flex-basis: clamp(10px, 5vw, 28px); }
    .branch { grid-template-columns: 44% minmax(0, 1fr); gap: .65rem; padding: .48rem; }
    .branch .photo { min-height: 166px; }
    .branch h3 { font-size: 1.08rem; }
    .branch address { font-size: .77rem; }
    .branch-phone { font-size: .92rem; }
    .branch .gold { width: 100%; font-size: .76rem; padding-inline: .4rem; }
    .room-track { --cards: 1; width: 87%; margin: auto; }
    .room-card img { aspect-ratio: 1.87; }
    .carousel-arrow { width: 35px; height: 35px; }
    .carousel-arrow.previous { left: 0; }
    .carousel-arrow.next { right: 0; }
    .carousel-dots { display: flex; justify-content: center; }
    .carousel-dots button { border: 0; background: transparent; padding: 8px 5px; }
    .carousel-dots button::before { content: ""; display: block; width: 9px; height: 9px; border-radius: 50%; background: #d8d0c4; }
    .carousel-dots button[aria-current="true"]::before { background: var(--gold); }
    .amenities { padding: 1.3rem 0; }
    .amenities ul { grid-template-columns: repeat(3, 1fr); row-gap: .8rem; }
    .amenities li:nth-child(4) { border-left: 0; }
    .gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .gallery a { grid-column: span 2; }
    .gallery a:first-child { grid-column: span 3; }
    .gallery a:nth-child(n+3) { grid-column: auto; }
    .gallery:has(a:nth-child(5)) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .gallery:has(a:nth-child(5)) a { grid-column: span 2; }
    .gallery:has(a:nth-child(5)) a:nth-child(-n+2) { grid-column: span 3; }
    .gallery img { height: 105px; }
    .gallery a:nth-child(-n+2) img { height: 126px; }
    .news { gap: .55rem; }
    .news a { grid-template-columns: 38% 1fr; min-height: 82px; }
    .footer-grid { grid-template-columns: .76fr 1.24fr; gap: 1rem; }
    .footer-brand img { width: 100%; max-width: 125px; height: auto; }
    .footer-contact { align-self: start; }
    .footer-contact .gold { padding-inline: .65rem; font-size: .83rem; }
    .copy { display: block; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    html, .room-track { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
.hero-image { object-position: center 67%; }
@media (max-width: 550px) {
    .hero-image { object-position: 72% center; }
}
.branch#thuong-phuc .photo img { object-position: center 83%; }
@media (max-width: 550px) {
    h1 { font-size: clamp(2rem, 8.7vw, 2.35rem); max-width: none; }
    h1 span { display: block; }
    .gallery-default:has(a:nth-child(5)) { grid-template-columns: repeat(10, minmax(0, 1fr)); }
    .gallery-default:has(a:nth-child(5)) a:nth-child(1) { order: 3; grid-column: span 5; }
    .gallery-default:has(a:nth-child(5)) a:nth-child(2) { order: 1; grid-column: span 6; }
    .gallery-default:has(a:nth-child(5)) a:nth-child(3) { order: 2; grid-column: span 4; }
    .gallery-default:has(a:nth-child(5)) a:nth-child(4) { display: none; }
    .gallery-default:has(a:nth-child(5)) a:nth-child(5) { order: 4; grid-column: span 5; }
    .gallery-default a:nth-child(n) img { height: 105px; }
    .gallery-default a:nth-child(2) img, .gallery-default a:nth-child(3) img { height: 134px; }
}


/* Shared controls and spacing for the approved homepage layout. */
:root {
    --card-radius: 14px;
    --card-border: #4639251c;
    --card-lift: 0 9px 21px #30241520;
    --focus: #a87820;
    --control-height: 44px;
    --section-gap: 80px;
    --content-gap: 32px;
    --card-gap: 20px;
    --ease-ui: cubic-bezier(.2, .65, .35, 1);
}
.brand img { width: auto; height: 65px; max-width: 156px; object-fit: contain; border-radius: 0; }
.footer-brand img { width: min(150px, 100%); max-width: none; height: auto; }
.photo-label img { position: static; width: min(125px, 72%); height: auto; margin: auto; }
.photo-label { justify-items: center; }
.gold, .outline, .call { min-height: var(--control-height); font-weight: 600; padding-inline: 1.2rem; }
.gold, .outline { transition: background-color 210ms var(--ease-ui), box-shadow 210ms var(--ease-ui), transform 210ms var(--ease-ui); }
.gold { color: var(--deep); background: #e8c278; }
.gold:hover { background: #d9ad59; box-shadow: 0 5px 11px #301d0028; }
.outline:hover { background: #ffffff20; }
.gold:active, .outline:active { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.top :focus-visible, .foot :focus-visible, .amenities :focus-visible, .hero :focus-visible { outline-color: var(--light); }

.booking label { align-self: stretch; }
.booking input, .booking select {
    height: var(--control-height);
    padding-inline: .38rem;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: background-color 200ms, border-color 200ms;
}
.booking input:hover, .booking select:hover { background: #fffaf0; border-color: var(--card-border); }
.booking input:focus, .booking select:focus { background: white; border-color: var(--focus); outline: 2px solid #a8782055; outline-offset: 1px; }
.booking button { min-height: var(--control-height); }
.desktop-menu a { text-underline-offset: .38em; }
.drawer nav a { min-height: var(--control-height); }
.drawer[open] nav { animation: reveal-menu 200ms var(--ease-ui); }
@keyframes reveal-menu { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

.home .section { padding-block: calc(var(--section-gap) / 2); }
.home .about { padding-top: 48px; }
.branches, .gallery, .news { gap: var(--card-gap); margin-top: var(--content-gap); }
.section-intro { margin-top: .75rem; }
.rooms .carousel { margin-top: var(--content-gap); }
.room-track { --room-gap: var(--card-gap); grid-auto-columns: calc((100% - (var(--cards) - 1) * var(--room-gap)) / var(--cards)); gap: var(--room-gap); padding-top: 8px; }
.branch, .room-card, .news article, .gallery a {
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    transition: box-shadow 250ms var(--ease-ui), transform 250ms var(--ease-ui);
}
.branch img, .news img, .gallery img, .room-photo img { transition: transform 250ms var(--ease-ui); }
.gallery a:hover img, .room-photo:hover img { transform: none; }
.room-link { min-height: var(--control-height); }
.branch .gold { min-height: var(--control-height); }
.amenities { padding-block: 2.35rem; }
.amenities ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.amenities li a { display: grid; justify-items: center; gap: .4rem; min-height: var(--control-height); }
.text-link { color: var(--bronze); text-decoration: underline; text-underline-offset: .18em; }

@media (hover: hover) and (pointer: fine) {
    .gold:hover, .outline:hover { transform: translateY(-2px); }
    .branch:hover, .room-card:hover, .news article:hover, .gallery a:hover { transform: translateY(-3px); box-shadow: var(--card-lift); }
    .branch:hover .photo img, .room-card:hover img, .news article:hover img, .gallery a:hover img { transform: scale(1.03); }
}
@media (max-width: 975px) {
    .call { padding-inline: .85rem; }
    .carousel-arrow { width: 44px; height: 44px; }
}
@media (max-width: 550px) {
    :root { --section-gap: 54px; --content-gap: 22px; --card-gap: 14px; }
    .home .about { padding-top: 30px; }
    .brand img { height: 59px; max-width: 128px; }
    .footer-brand img { height: auto; }
    .call { padding-inline: 0; }
    .booking label { padding-inline: .35rem; }
    .booking input, .booking select { padding-inline: .18rem; }
    .carousel-arrow { width: 44px; height: 44px; }
    .carousel-dots button { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; }
    .section-intro { padding-inline: .25rem; }
    .foot nav a, .footer-contact > a { display: flex; align-items: center; min-height: 44px; }
    .footer-location a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .drawer[open] nav { animation: none; }
    .gold:hover, .outline:hover, .branch:hover, .room-card:hover, .news article:hover, .gallery a:hover,
    .branch:hover .photo img, .room-card:hover img, .news article:hover img, .gallery a:hover img { transform: none; }
}
.branch-menu { position: relative; }
.branch-menu summary {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding-block: .35rem;
    list-style: none;
    white-space: nowrap;
    font-size: .91rem;
    font-weight: 600;
    transition: color 200ms;
}
.branch-menu summary::-webkit-details-marker { display: none; }
.branch-menu summary span { display: inline-block; width: .42rem; height: .42rem; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); }
.branch-menu summary:hover, .branch-menu[open] summary { color: var(--light); }
.branch-menu > div { position: absolute; top: calc(100% + .55rem); left: -.75rem; background: var(--green); border: 1px solid #fff3; border-radius: .75rem; padding: .45rem; box-shadow: var(--card-lift); }
.branch-menu[open] > div { animation: reveal-menu 200ms var(--ease-ui); }
.branch-menu > div a { display: block; min-height: 44px; padding: .65rem .7rem; }
.home .desktop-menu .branch-menu a:first-child { color: inherit; border-color: transparent; }
.desktop-menu .branch-menu a:hover { color: var(--light); }
@media (prefers-reduced-motion: reduce) { .branch-menu[open] > div { animation: none; } }

.editorial-news { grid-template-columns: repeat(6,minmax(0,1fr)); }
.editorial-news article { grid-column: span 2; }
.editorial-news article:nth-child(-n+2) { grid-column: span 3; }
.editorial-news a { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.editorial-news img { aspect-ratio: 16/9; height: auto; object-fit: cover; }
.editorial-news a > div { padding: clamp(1rem,2vw,1.65rem); flex: 1; display: flex; flex-direction: column; }
.editorial-news h3 { font: 700 clamp(1.2rem,2vw,1.6rem)/1.25 var(--serif); }
.editorial-news time { font-size: .85rem; margin-top: .65rem; }
.news-more { display: flex; gap: .55rem; align-items: center; margin-top: auto; padding-top: 1rem; color: var(--bronze); font-weight: 600; }
.editorial-post { max-width: 780px; margin: 1rem auto 3rem; font-size: 1.04rem; }
.editorial-post header { margin-bottom: 1.7rem; }
.editorial-post h1 { font-size: clamp(2.1rem,5vw,3.4rem); margin: .65rem 0; }
.editorial-post h2 { font-size: clamp(1.45rem,3vw,2rem); margin-top: 1.7rem; }
.editorial-post figure { margin: 1.6rem 0; }
.editorial-post img { border-radius: var(--card-radius); }
.editorial-post figcaption { font-size: .85rem; margin-top: .45rem; }
.foot { background: var(--deep); padding-top: clamp(2rem,4vw,3.25rem); }
.footer-grid { grid-template-columns: .85fr 1.7fr .85fr 1fr; gap: clamp(1rem,2.25vw,2rem); }
.footer-brand { justify-items: start; text-align: left; align-content: start; }
.footer-grid strong { color: var(--light); font-size: .96rem; margin-bottom: .65rem; }
.footer-grid p, .footer-menu nav, .copy { font-size: .88rem; }
.footer-location p { margin-bottom: .8rem; }
.footer-location a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; }
.footer-menu a { margin-bottom: .45rem; }
.footer-contact p { margin: 0; }
.footer-bottom { margin-top: 1.25rem; }
@media(max-width:900px) {
    .footer-grid { grid-template-columns: 1fr 1.5fr; }
    .editorial-news article { grid-column: span 3; }
}
@media(max-width:550px) {
    .editorial-news { grid-template-columns: 1fr; }
    .editorial-news article, .editorial-news article:nth-child(-n+2) { grid-column: auto; }
    .editorial-news h3 { font-size: 1.28rem; }
    .footer-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 1.1rem; }
    .footer-brand { grid-template-columns: 108px 1fr; align-items: center; gap: 1rem; border-right: 0; padding: 0; }
    .footer-branches, .footer-menu, .footer-contact { border-top: 1px solid #fff3; padding-top: 1rem; }
    .footer-menu nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .25rem .7rem; }
    .footer-menu nav a { margin: 0; }
    .footer-contact .gold { display: inline-flex; width: 100%; justify-content: center; }
}


/* Room and service strip follow the approved desktop and mobile mockups. */
.top .brand img { display: block; height: 73px; width: auto; max-width: 160px; }
.rooms .carousel { margin-top: 20px; }
.room-card img { aspect-ratio: 1.88; }
.room-card h3 { font-size: 1.02rem; }
.room-link { color: var(--bronze); }
.amenities { padding-block: 1.45rem; }
.amenities .wrap { gap: 1.6rem; }
.amenities ul { grid-template-columns: repeat(6, minmax(0,1fr)); }
.amenities li { align-content: start; font-size: .85rem; }
.amenities li a { gap: .35rem; }
.amenities small { color: var(--light); font-size: .71rem; }

.news-carousel { margin-top: var(--content-gap); }
.news-carousel .editorial-news {
    --visible-articles: 3;
    position: relative;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--visible-articles) - 1) * var(--card-gap)) / var(--visible-articles));
    overflow-x: auto;
    margin: 0;
    padding-block: 6px 14px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.news-carousel .editorial-news article { grid-column: auto; scroll-snap-align: start; }
.news-carousel .carousel-arrow { display: grid; top: 42%; }
.news-carousel .carousel-arrow.previous { left: -19px; }
.news-carousel .carousel-arrow.next { right: -19px; }

@media (max-width: 975px) {
    .amenities ul { grid-template-columns: repeat(3, minmax(0,1fr)); row-gap: .9rem; }
    .amenities li:nth-child(4) { border-left: 0; }
    .news-carousel .editorial-news { --visible-articles: 2; }
    .news-carousel .carousel-arrow.previous { left: 0; }
    .news-carousel .carousel-arrow.next { right: 0; }
}
@media (max-width: 550px) {
    .top .brand img { height: 66px; max-width: 140px; }
    .amenities { padding-block: 1.35rem; }
    .amenities ul { row-gap: .95rem; }
    .amenities li { font-size: .78rem; }
    .news-carousel .editorial-news { --visible-articles: 1; width: 87%; margin-inline: auto; }
    .news-carousel .carousel-arrow { top: 34%; }
}
@media (prefers-reduced-motion: reduce) {
    .news-carousel .editorial-news { scroll-behavior: auto; }
}


/* Hotel locations */
.branch-section h2 { font-size: clamp(1.65rem, 3.2vw, 3rem); }
.branch-section .branches { gap: clamp(1rem, 2vw, 1.75rem); }
.branch-section .branch {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 0;
    background: #fffdfa;
    border-radius: 18px;
}
.branch-section .branch .photo {
    aspect-ratio: 2.05;
    min-height: 0;
    border-radius: 0;
}
.branch-section #thuong-phuc .photo img { object-position: center 76%; }
.branch-section .photo-label {
    background: radial-gradient(ellipse at 50% 35%, #184944, var(--deep) 80%);
}
.branch-section .photo-label img { width: clamp(115px, 14vw, 185px); }
.branch-section .branch-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-self: stretch;
    align-items: flex-start;
    padding: clamp(1.15rem, 2.4vw, 2rem);
}
.branch-section .branch h3 { font-size: clamp(1.45rem, 2.5vw, 2.1rem); }
.branch-section .branch address {
    font-size: clamp(.94rem, 1.2vw, 1.05rem);
    margin: .75rem 0 1rem;
    flex: 1;
}
.branch-section .branch address svg, .branch-section .branch-phone svg { color: var(--bronze); }
.branch-section .branch-phone {
    min-height: 44px;
    align-items: center;
    margin: 0 0 .65rem;
    font-size: clamp(1.13rem, 1.75vw, 1.42rem);
    font-variant-numeric: tabular-nums;
}
.branch-section .branch .gold { font-size: .94rem; }

@media (min-width: 650px) and (max-width: 740px) {
    .branch-section .branches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 550px) {
    .branch-section .branch .photo { aspect-ratio: 1.78; }
    .branch-section .branch .gold { padding-inline: 1rem; }
}


:root {
    --motion-fast: 180ms;
    --motion-normal: 300ms;
    --motion-slow: 650ms;
    --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
    --hover-lift: -3px;
    --image-hover-scale: 1.035;
}
.cinematic-hero .hero-content { padding-bottom: 5.8rem; }
.hero-visual, .hero-frame { position: absolute; inset: 0; overflow: hidden; }
.hero-visual { z-index: -2; }
.hero-frame { display: block; opacity: 0; transition: opacity 600ms ease; }
.hero-frame:first-child, .hero-frame.is-leaving, .hero-frame.is-current { opacity: 1; }
.hero-frame.is-current { z-index: 1; }
.hero-frame.is-leaving { z-index: 0; }
.hero-frame .hero-image { z-index: auto; transform-origin: 65% 55%; }
.hero-frame.is-current .hero-image, .hero-frame.is-leaving .hero-image { animation: hero-drift 2.6s linear both; }
.is-paused .hero-image { animation-play-state: paused !important; }
@keyframes hero-drift { from { transform: scale(1); } to { transform: scale(1.06); } }
.cinematic-hero::before { background: linear-gradient(90deg,#061412f2 0%,#101710c9 34%,#291a1542 73%,transparent); }
.hero-copy { display: grid; align-content: center; min-height: 205px; max-width: 820px; }
.hero-copy .hero-description { margin-block: 1rem 1.4rem; }
.hero-controls {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: .35rem;
    margin-top: 1rem;
}
.hero-controls[hidden], .back-to-top[hidden] { display: none; }
.hero-controls button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: white;
    border: 1px solid #ffffff70;
    border-radius: 50%;
    background: #091c1a75;
    transition: background-color var(--motion-fast), color var(--motion-fast);
}
.hero-controls button:hover { color: var(--light); background: var(--deep); }
.hero-controls button:disabled { opacity: .55; cursor: default; }
.hero-dots { display: flex; }
.hero-dots button { width: 24px; height: 44px; border: 0; background: transparent; }
.hero-dots button::before { content: ""; width: 8px; height: 8px; border: 1px solid white; border-radius: 50%; }
.hero-dots button[aria-current="true"]::before { background: var(--light); border-color: var(--light); }
.hero-play { margin-left: .25rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.will-reveal { opacity: 0; }
.will-reveal.has-revealed, .will-reveal:focus-within {
    animation: reveal-rise var(--motion-slow) var(--ease-luxury) var(--reveal-delay, 0ms) both;
}
.reveal-left.has-revealed { animation-name: reveal-left; }
@keyframes reveal-rise { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
@keyframes reveal-left { from { opacity: 0; translate: -10px 0; } to { opacity: 1; translate: 0 0; } }
.gold svg:last-child, .room-link svg, .news-more svg { transition: transform var(--motion-fast) var(--ease-luxury); }
.branch:hover, .room-card:hover, .news article:hover, .gallery a:hover { --card-motion: var(--hover-lift); }
.gallery a { position: relative; }
.gallery a::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: #021b191a; opacity: 0; transition: opacity var(--motion-normal); }
.amenities svg, .foot nav a { transition: color var(--motion-fast); }
.foot nav a:hover { color: var(--light); }
.booking button:disabled { cursor: wait; opacity: .8; }
.back-to-top {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 4;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--light);
    background: var(--deep);
    box-shadow: var(--shadow);
}
.back-to-top svg { transform: rotate(-90deg); }
@media (hover: hover) and (pointer: fine) {
    .gold:hover svg:last-child, .room-link:hover svg, .news a:hover .news-more svg { transform: translateX(3px); }
    .branch:hover, .room-card:hover, .news article:hover, .gallery a:hover { transform: translateY(var(--card-motion)); }
    .branch:hover .photo img, .room-card:hover img, .news article:hover img, .gallery a:hover img { transform: scale(var(--image-hover-scale)); }
    .gallery a:hover::after { opacity: 1; }
    .amenities li:hover svg { color: #ffe3ac; }
}
@media (max-width: 550px) {
    .cinematic-hero { touch-action: pan-y pinch-zoom; }
    .cinematic-hero .hero-content { padding-block: 2.8rem 4.8rem; }
    .cinematic-hero::before { background: linear-gradient(90deg,#071411ed,#0c140fa8 59%,#14130c5c),linear-gradient(0deg,#07100dc4,transparent 55%); }
    .hero-copy { min-height: 216px; }
    .hero-copy h1 { max-width: 15ch; }
    .hero-controls { gap: .15rem; }
    .hero-dots button { width: 28px; }
    .hero-dots button::before { width: 7px; height: 7px; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-frame { transition: none; }
    .hero-frame .hero-image { animation: none !important; }
    .will-reveal, .will-reveal.has-revealed, .will-reveal:focus-within { opacity: 1; animation: none; }
    .gold:hover svg:last-child, .room-link:hover svg, .news a:hover .news-more svg { transform: none; }
    .branch:hover, .room-card:hover, .news article:hover, .gallery a:hover,
    .branch:hover .photo img, .room-card:hover img, .news article:hover img, .gallery a:hover img { transform: none; }
}
.desktop-menu > a { background: linear-gradient(currentColor,currentColor) left bottom / 0 1px no-repeat; transition: color var(--motion-fast), background-size var(--motion-normal) var(--ease-luxury); }
.desktop-menu > a:hover, .desktop-menu > a[aria-current="page"] { border-bottom-color: transparent !important; background-size: 100% 1px; }
.lightbox-media { position: relative; }
.lightbox-media button { position: absolute; top: 50%; translate: 0 -50%; border-radius: 50%; background: #082f2de8; color: white; font-size: 1rem; }
.lightbox-prev { left: .5rem; }
.lightbox-next { right: .5rem; }
.lightbox-media button[hidden] { display: none; }





.branch-preview-link { position: absolute; inset: 0; display: block; isolation: isolate; }
.branch-preview-link:focus-visible { outline-offset: -5px; }
.branch-preview-interior { position: absolute; inset: 0; z-index: 2; opacity: 0; transition: opacity var(--motion-normal) var(--ease-luxury); }
.branch-preview-interior img { object-position: center 58%; }
.branch-preview-label {
    position: absolute; z-index: 3; right: .8rem; bottom: .8rem;
    display: grid; grid-template-columns: 1fr auto; gap: .1rem .5rem; align-items: center;
    min-height: 44px; padding: .5rem .8rem; border-radius: 10px;
    color: white; background: #082f2df2; font-size: .85rem;
}
.branch-preview-label small { grid-column: 1 / -1; color: var(--light); }
.branch-preview-link:focus-visible .branch-preview-interior { opacity: 1; }
@media (hover: hover) {
    .branch-preview-link:hover .branch-preview-interior { opacity: 1; }
}

.branch-section .branch-body {
    width: 100%;
    padding: clamp(1.2rem, 2.3vw, 2rem);
    background: linear-gradient(165deg, #fffdfa, #f8f4e9);
}
.branch-section .branch address { line-height: 1.55; }
.branch-section .branch-phone {
    padding: .25rem .75rem;
    border: 1px solid #c9a34a44;
    border-radius: 10px;
    background: #fffaf0;
}
.branch-actions {
    display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
    gap: .65rem; width: 100%; padding-top: 1rem;
    border-top: 1px solid #c9a34a55; margin-top: .4rem;
}
.branch-actions .gold, .branch-detail-button {
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    min-height: 46px; padding: .5rem .65rem; border-radius: 2rem;
    font-size: .92rem; font-weight: 600;
}
.branch-detail-button { color: var(--deep); border: 1px solid #082f2d60; background: transparent; transition: background-color var(--motion-fast); }
.branch-detail-button:hover { background: #e7efe9; }
.branch-detail-dialog { width: min(92vw, 520px); padding: 1.25rem 1.5rem 1.7rem; }
.branch-detail-dialog h2 { font-size: clamp(1.5rem,4vw,2rem); }
@media(max-width: 550px) {
    .branch-section .branch-actions .gold { font-size: .86rem; padding-inline: .4rem; }
    .branch-actions .branch-detail-button { font-size: .86rem; padding-inline: .4rem; }
}


@property --romeo-cta-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

.gold {
    --romeo-cta-surface: #082f2d;
    --romeo-cta-surface-light: #174a43;
    color: #fff8e8;
    border: 2px solid transparent;
    background:
        linear-gradient(135deg, var(--romeo-cta-surface-light), var(--romeo-cta-surface)) padding-box,
        conic-gradient(from var(--romeo-cta-angle, 0deg), #bd9141 0%, #e4be72 36%, #fff0be 48%, #e4be72 57%, #bd9141 100%) border-box;
    box-shadow: 0 3px 10px #06231f2a, inset 0 1px #ffffff18;
    animation: romeo-cta-border 4.5s linear infinite;
}
.gold svg { color: #f7d692; }
.gold:is(:hover, :focus-visible):not(:disabled) {
    --romeo-cta-surface: #d8ad60;
    --romeo-cta-surface-light: #ffedbd;
    color: #082f2d;
    box-shadow: 0 5px 14px #9c713a38;
    animation-play-state: paused;
}
.gold:is(:hover, :focus-visible):not(:disabled) svg { color: currentColor; }
.gold:disabled { animation: none; opacity: .72; transform: none; }
@keyframes romeo-cta-border { to { --romeo-cta-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) {
    .gold { animation: none; }
}

:root { --contact-dock-height: 67px; }
body { padding-bottom: calc(var(--contact-dock-height) + env(safe-area-inset-bottom, 0px)); }
html { scroll-padding-bottom: calc(var(--contact-dock-height) + env(safe-area-inset-bottom, 0px)); }
.contact-dock {
    position: fixed; inset: auto 0 0; z-index: 6;
    padding: .6rem 0 calc(.6rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #c9a34a90;
    background: #082f2d;
    color: #fffaf0;
    box-shadow: 0 -6px 24px #06231f26;
}
.contact-dock-inner { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 940px; }
.contact-dock-branch {
    display: flex; align-items: center; justify-content: center; gap: .55rem;
    padding-inline: .65rem; min-width: 0;
}
.contact-dock-branch + .contact-dock-branch { border-left: 1px solid #e4be7250; }
.contact-dock-name { color: #f2d58e; font-weight: 700; white-space: nowrap; }
.contact-dock-call,.contact-dock-zalo {
    display: inline-flex; justify-content: center; align-items: center; gap: .4rem;
    min-height: 44px; padding: .35rem .7rem; border-radius: 9px;
    border: 1px solid #e4be7270; white-space: nowrap; font-weight: 700;
    transition: background-color var(--motion-fast), color var(--motion-fast);
}
.contact-dock-call { background: #174a43; }
.contact-dock-call svg { color: #f2d58e; }
.contact-dock-zalo { background: #f7f1e1; color: #082f2d; }
.contact-dock a:hover { background: #f2d58e; color: #082f2d; text-decoration: none; }
.contact-dock a:hover svg { color: currentColor; }
.contact-dock :focus-visible { outline-color: #f2d58e; }
.back-to-top { bottom: calc(var(--contact-dock-height) + 1rem + env(safe-area-inset-bottom, 0px)); }
@media(max-width: 700px) {
    :root { --contact-dock-height: 84px; }
    .contact-dock { padding-top: .4rem; padding-bottom: calc(.45rem + env(safe-area-inset-bottom, 0px)); transform: translateY(var(--contact-dock-viewport-gap, 0px)); }
    .contact-dock-inner { width: 98%; }
    .contact-dock-branch { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .25rem; padding-inline: .3rem; }
    .contact-dock-name { grid-column: 1 / -1; text-align: center; font-size: .79rem; }
    .contact-dock-call, .contact-dock-zalo { padding-inline: .35rem; font-size: clamp(.68rem, 2.35vw, .83rem); gap: .25rem; }
    .contact-dock-zalo { min-width: 44px; }
}
@media(max-width: 360px) {
    .hero-dots button { width: 23px; }
    .contact-dock-call { padding-inline: .22rem; }
    .contact-dock-call svg { width: .95em; }
}





.top { transition: transform 220ms var(--ease-ui); }
.top.is-scroll-hidden:not(:has(details[open], :focus-visible)) {
    transform: translateY(-100%);
    pointer-events: none;
}
.footer-credit { color: #fffaf0; }
.footer-credit a { color: var(--light); font-weight: 700; }
.footer-credit a:hover { text-decoration: underline; }

@media (max-width: 975px) {
    .top .bar { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; }
    .top .brand { grid-column: 2; justify-self: center; }
    .top .brand img { height: 76px; max-width: 152px; }
    .top .drawer { grid-column: 3; }
}
@media (max-width: 550px) {
    .footer-credit { display: block; margin-top: .35rem; }
}
@media (prefers-reduced-motion: reduce) {
    .top { transition: none; }
}
