/* Theme hthrubyhotel (webbase) theo hthrubyhotel.vn: chữ Open Sans, xám đậm #4a4a4a, cam #ffa400, nền trắng. */
:root {
    --hr-dark: #4a4a4a;
    --hr-orange: #ffa400;
    --hr-gold: #c9a45c;
    --hr-text: #555;
    --hr-line: #e5e5e5;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Open Sans", Arial, sans-serif; font-size: 14px; line-height: 1.7; color: #333; background: #fff; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--hr-orange); }
.hr-wrap { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.hr-btn { display: inline-block; background: var(--hr-orange); color: #fff; border: 0; padding: 10px 20px; font: 700 14px/1.2 "Open Sans", Arial, sans-serif;
    text-transform: uppercase; cursor: pointer; border-radius: 0; }
.hr-btn:hover { background: #e69300; color: #fff; }
.hr-btn-dark { background: var(--hr-dark); font-weight: 600; font-size: 13px; padding: 8px 15px; text-transform: none; }
.hr-btn-dark:hover { background: var(--hr-orange); }

/* Đầu trang */
.hr-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.08); }
.hr-header-inner { display: flex; align-items: center; min-height: 80px; gap: 20px; }
.hr-logo { flex: 0 0 auto; display: flex; align-items: center; }
.hr-logo img { max-height: 60px; width: auto; display: block; }
.hr-logo span { font-weight: 700; font-size: 18px; max-width: 240px; line-height: 1.3; display: block; color: var(--hr-dark); text-transform: uppercase; }
.hr-nav { flex: 1 1 auto; }
.hr-menu, .hr-menu ul { list-style: none; margin: 0; padding: 0; }
.hr-menu { display: flex; flex-wrap: nowrap; justify-content: center; }
.hr-menu > li { position: relative; }
.hr-menu > li > a { display: block; padding: 0 14px; white-space: nowrap; line-height: 80px; font-weight: 700; font-size: 15px; text-transform: uppercase; color: var(--hr-dark); }
.hr-menu > li.active > a, .hr-menu > li > a:hover { color: var(--hr-orange); }
.hr-menu li ul { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.hr-menu li:hover > ul { display: block; }
.hr-menu li ul a { display: block; padding: 10px 16px; border-bottom: 1px solid #f0f0f0; color: var(--hr-dark); }
.hr-book-btn { flex: 0 0 auto; }
.hr-menu-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.hr-menu-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--hr-dark); }

/* Slide */
.hr-slider { position: relative; height: 550px; overflow: hidden; background: #222; }
.hr-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; }
.hr-slide.active { opacity: 1; z-index: 1; }
.hr-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hr-dots { position: absolute; z-index: 2; bottom: 15px; left: 0; right: 0; text-align: center; }
.hr-dots button { width: 12px; height: 12px; margin: 0 4px; border-radius: 50%; border: 1px solid #fff; background: transparent; cursor: pointer; padding: 0; }
.hr-dots button.active { background: #fff; }

/* Chào mừng + đặt phòng */
.hr-kicker { margin: 0; display: flex; align-items: center; }
.hr-kicker::before { content: ""; width: 90px; height: 3px; background: var(--hr-orange); margin-right: 8px; }
.hr-kicker span { color: var(--hr-orange); font-weight: 700; font-size: 20px; text-transform: uppercase; }
.hr-big-title { margin: 0 0 20px; color: var(--hr-dark); font-size: 35px; font-weight: 700; text-transform: uppercase; line-height: 1.4; }
.hr-welcome { padding: 10px 0 0; }
.hr-welcome-inner { display: flex; gap: 60px; align-items: flex-start; }
.hr-welcome-text { flex: 1 1 50%; padding-top: 57px; }
.hr-intro-text { color: var(--hr-text); text-align: justify; line-height: 2.2; white-space: pre-line; margin-bottom: 15px; }
.hr-more { display: inline-block; color: var(--hr-orange); text-transform: uppercase; padding-left: 20px; position: relative; }
.hr-more::before { content: "\203A"; position: absolute; left: 4px; top: -2px; font-size: 18px; }
.hr-welcome-book { flex: 0 0 546px; max-width: 100%; padding: 34px; margin-bottom: 20px;
    background: linear-gradient(rgba(201,164,92,.92), rgba(176,139,72,.92)), #b08b48; }
.hr-book-title { margin: 0 0 20px; color: #fff; font-size: 35px; text-transform: uppercase; text-align: center; line-height: 1.5; }
.hr-book-form { position: relative; color: #fff; }
.hr-book-form label, .hr-book-row { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.hr-book-form label > span, .hr-book-row > span { flex: 0 0 90px; }
.hr-book-form input, .hr-book-form select, .hr-book-form textarea, .hr-form input, .hr-form textarea, .hr-search input {
    width: 100%; border: 1px solid #ccc; padding: 6px 8px; font: 13px "Open Sans", Arial, sans-serif; color: #333; background: #fff; }
.hr-book-form label > input, .hr-book-form label > select, .hr-book-form label > textarea, .hr-book-pair { flex: 1 1 auto; min-width: 0; }
.hr-book-pair { display: flex; gap: 8px; }
.hr-book-form .hr-btn { display: block; margin: 18px auto 0; }

/* Dải dịch vụ */
.hr-services { display: grid; grid-template-columns: repeat(3, 1fr); }
.hr-service { position: relative; display: block; height: 281px; overflow: hidden; background: #333; }
.hr-service img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.hr-service::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); transition: background .3s; }
.hr-service span { position: absolute; z-index: 1; inset: 0; display: flex; align-items: center; justify-content: center; padding: 15px; text-align: center;
    color: #fff; font-size: 28px; font-weight: 300; text-transform: uppercase; line-height: 1.4; }
.hr-service:hover img { transform: scale(1.06); }
.hr-service:hover::after { background: rgba(0,0,0,.5); }
.hr-service:hover span { color: var(--hr-orange); }

/* Phòng */
.hr-rooms-home { padding: 40px 0; }
.hr-section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.hr-room-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hr-room { border: 1px solid var(--hr-line); background: #fff; display: flex; flex-direction: column; }
.hr-room-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #eee; }
.hr-room-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.hr-room:hover .hr-room-img img { transform: scale(1.05); }
.hr-room-body { padding: 10px; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.hr-room-body h3 { margin: 5px 0 8px; font-size: 19px; font-weight: 300; color: #333; text-transform: uppercase; line-height: 1.35; }
.hr-room-facts { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 12px; color: #777; }
.hr-room-facts li::before { content: "\25AA"; color: var(--hr-orange); margin-right: 5px; }
.hr-room-body .hr-btn { margin-top: auto; }

.hr-map iframe { display: block; width: 100%; height: 300px; border: 0; }

/* Trang con */
.hr-page-head { background: var(--hr-dark); color: #dedede; text-align: center; padding: 50px 0 40px; }
.hr-page-head h1 { margin: 0 0 10px; font-size: 35px; font-weight: 700; text-transform: uppercase; color: #dedede; line-height: 1.3; }
.hr-crumbs { list-style: none; margin: 0; padding: 0; font-size: 11px; text-transform: uppercase; }
.hr-crumbs li { display: inline; }
.hr-crumbs li + li::before { content: "/"; margin: 0 8px; opacity: .6; }
.hr-crumbs a:hover { color: var(--hr-orange); }
.hr-page { padding-top: 40px; padding-bottom: 50px; }
.hr-empty, .hr-lead { color: var(--hr-text); }
.hr-subgroups { margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.hr-subgroups a { border: 1px solid var(--hr-line); padding: 6px 14px; }
.hr-two-cols { display: flex; gap: 30px; align-items: flex-start; }
.hr-col-main { flex: 1 1 auto; min-width: 0; }
.hr-col-side { flex: 0 0 360px; max-width: 100%; }
.hr-room-cover img { width: 100%; display: block; }
.hr-room-name { margin: 20px 0 10px; color: var(--hr-dark); font-size: 24px; font-weight: 600; text-transform: uppercase; }
.hr-date { color: #999; font-size: 12px; margin: -5px 0 15px; }
.hr-specs { list-style: none; padding: 0; margin: 0 0 15px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 20px; }
.hr-specs li::before { content: "\2714"; color: var(--hr-orange); margin-right: 6px; }
.hr-content { color: var(--hr-text); overflow-wrap: break-word; }
.hr-content img { height: auto !important; }
.hr-content table { max-width: 100%; }
.hr-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 20px; }
.hr-thumbs button { border: 0; padding: 0; cursor: pointer; aspect-ratio: 3 / 2; overflow: hidden; background: #eee; }
.hr-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hr-side-book { background: var(--hr-dark); padding: 20px; margin-bottom: 25px; }
.hr-side-book .hr-book-title { font-size: 28px; margin-bottom: 15px; }
.hr-side-book .hr-book-form label, .hr-side-book .hr-book-row { display: block; }
.hr-side-book .hr-book-form label > span, .hr-side-book .hr-book-row > span { display: block; font-size: 12px; margin-bottom: 3px; }
.hr-side-room { display: block; margin-bottom: 20px; border: 1px solid var(--hr-line); text-align: center; }
.hr-side-room img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hr-side-room span { display: block; padding: 10px; font-size: 18px; color: var(--hr-dark); font-weight: 600; }
.hr-side-box { border: 1px solid var(--hr-line); padding: 15px; }
.hr-side-title { margin: 0 0 10px; font-size: 18px; font-weight: 600; color: var(--hr-dark); text-transform: uppercase; }
.hr-side-news { list-style: none; margin: 0; padding: 0; }
.hr-side-news li + li { border-top: 1px solid #f0f0f0; }
.hr-side-news a { display: flex; gap: 10px; padding: 8px 0; align-items: center; }
.hr-side-news img { width: 80px; height: 55px; object-fit: cover; flex: 0 0 auto; }
.hr-related { margin-top: 30px; border-top: 1px solid var(--hr-line); padding-top: 10px; }
.hr-related h3 { font-size: 18px; color: var(--hr-dark); text-transform: uppercase; }
.hr-related ul { padding-left: 18px; }
.hr-video { position: relative; padding-top: 56.25%; margin-bottom: 15px; }
.hr-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.hr-news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.hr-news-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #eee; }
.hr-news-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hr-news-card h3 { margin: 15px 0 8px; font-size: 22px; font-weight: 400; color: var(--hr-dark); text-transform: uppercase; line-height: 1.35; }
.hr-news-card p { margin: 0; color: var(--hr-text); font-size: 13px; text-align: justify; }

.hr-tile { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #eee; }
.hr-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hr-tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; background: rgba(0,0,0,.55); color: #fff; }
.hr-tile-video::after { content: "\25B6"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 54px; height: 54px; border-radius: 50%;
    background: rgba(0,0,0,.55); color: #fff; font-size: 22px; line-height: 54px; text-align: center; }
.hr-subtitle { margin: 40px 0 15px; color: var(--hr-dark); text-transform: uppercase; }

.hr-pager { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.hr-pager a, .hr-pager span { min-width: 34px; padding: 5px 10px; border: 1px solid var(--hr-line); text-align: center; }
.hr-pager .active { background: var(--hr-orange); border-color: var(--hr-orange); color: #fff; }

.hr-contact { display: flex; gap: 30px; align-items: flex-start; }
.hr-contact-form, .hr-contact-map { flex: 1 1 50%; min-width: 0; }
.hr-form-title { margin: 0 0 15px; font-size: 20px; font-weight: 300; text-transform: uppercase; color: var(--hr-dark); border-bottom: 1px solid var(--hr-line); padding-bottom: 6px; }
.hr-form label { display: block; font-weight: 700; font-size: 12px; margin: 10px 0 4px; }
.hr-form .hr-btn { margin-top: 15px; }
.hr-contact-map iframe { width: 100%; height: 380px; border: 0; display: block; }
.hr-contact-info { margin-top: 15px; color: var(--hr-text); }
.hr-contact-info p { margin: 0 0 4px; }
.hr-alert { padding: 10px 14px; margin-bottom: 15px; }
.hr-alert-ok { background: #e7f6e7; color: #23652a; }
.hr-alert-err { background: #fdeaea; color: #a12a2a; }
.hr-search { display: flex; gap: 8px; margin-bottom: 20px; max-width: 600px; }

/* Chân trang */
.hr-footer { background: var(--hr-dark); color: #dedede; }
.hr-footer-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; padding-top: 60px; padding-bottom: 50px; }
.hr-footer-fb iframe { max-width: 100%; background: #fff; }
.hr-footer-title { margin: 0 0 18px; color: var(--hr-orange); font-size: 20px; font-weight: 600; text-transform: uppercase; padding-bottom: 10px; border-bottom: 1px solid #5c5c5c; position: relative; }
.hr-footer-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 60px; height: 1px; background: var(--hr-orange); }
.hr-sitemap { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.hr-footer-contact ul { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.hr-footer-contact li { margin-bottom: 12px; }
.hr-footer a:hover { color: var(--hr-orange); }
.hr-copyright { border-top: 1px solid #5c5c5c; padding: 12px 15px; text-align: center; font-size: 12px; color: #aaa; }

/* Nút nổi */
.hr-float { position: fixed; left: 15px; bottom: 90px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.hr-float a { display: flex; align-items: center; gap: 8px; }
.hr-float a > svg, .hr-float a > b { width: 50px; height: 50px; border-radius: 50%; flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 6px rgba(0,0,0,.08); animation: hr-pulse 1.6s infinite; }
.hr-float-call > svg { background: #e5383b; fill: #fff; padding: 13px; }
.hr-float-zalo > b { background: #0068ff; color: #fff; font-size: 13px; }
.hr-float a > span { background: rgba(0,0,0,.7); color: #fff; font-size: 13px; padding: 3px 10px; border-radius: 12px; display: none; }
.hr-float a:hover > span { display: inline; }
@keyframes hr-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,164,0,.5); } 50% { box-shadow: 0 0 0 10px rgba(255,164,0,0); } }
.hr-totop { position: fixed; right: 15px; bottom: 20px; z-index: 60; width: 40px; height: 40px; line-height: 46px; text-align: center; font-size: 22px;
    background: var(--hr-orange); color: #fff; opacity: 0; pointer-events: none; transition: opacity .3s; }
.hr-totop.show { opacity: 1; pointer-events: auto; }
.hr-totop:hover { color: #fff; }

/* Ảnh lớn (album) */
.hr-lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.85); display: flex; align-items: center; justify-content: center; cursor: zoom-out; padding: 20px; }
.hr-lightbox img { max-width: 100%; max-height: 100%; }

@media (max-width: 1100px) {
    .hr-menu > li > a { padding: 0 10px; font-size: 13px; }
    .hr-welcome-book { flex-basis: 440px; }
}
@media (max-width: 991px) {
    .hr-header-inner { flex-wrap: wrap; min-height: 64px; gap: 10px; }
    .hr-logo img { max-height: 48px; }
    .hr-menu-toggle { display: block; }
    .hr-book-btn { order: 2; padding: 8px 12px; font-size: 12px; }
    .hr-menu-toggle { order: 3; margin-left: 0; }
    .hr-logo { margin-right: auto; }
    .hr-nav { order: 4; flex-basis: 100%; display: none; }
    .hr-nav.open { display: block; }
    .hr-menu { display: block; border-top: 1px solid var(--hr-line); }
    .hr-menu > li > a { line-height: 44px; border-bottom: 1px solid #f0f0f0; }
    .hr-menu li ul { display: block; position: static; box-shadow: none; padding-left: 15px; }
    .hr-slider { height: 360px; }
    .hr-welcome-inner, .hr-two-cols, .hr-contact { flex-direction: column; gap: 30px; }
    .hr-welcome-text { padding-top: 30px; }
    .hr-welcome-book, .hr-col-side { flex-basis: auto; width: 100%; }
    .hr-room-grid { grid-template-columns: repeat(2, 1fr); }
    .hr-services { grid-template-columns: 1fr; }
    .hr-service { height: 200px; }
    .hr-footer-cols { grid-template-columns: 1fr; padding-top: 40px; }
}
@media (max-width: 575px) {
    .hr-slider { height: 220px; }
    .hr-big-title, .hr-page-head h1 { font-size: 26px; }
    .hr-book-title { font-size: 28px; }
    .hr-welcome-book { padding: 20px 15px; }
    .hr-book-form label, .hr-book-row { display: block; }
    .hr-book-form label > span, .hr-book-row > span { display: block; margin-bottom: 3px; }
    .hr-room-grid, .hr-news-grid { grid-template-columns: 1fr; }
    .hr-specs { grid-template-columns: 1fr; }
    .hr-section-head { flex-direction: column; align-items: flex-start; gap: 5px; }
    .hr-page-head { padding: 30px 0 25px; }
    .hr-float { bottom: 15px; left: 10px; gap: 8px; }
    .hr-float a > svg, .hr-float a > b { width: 44px; height: 44px; }
}
