/* ═══════════════════════════════════════════════════════════════════════════
   PAGES-REFINED — module RIÊNG, cô lập cho 2 trang: ƯU ĐÃI (.lyn-offers-page) và
   LIÊN HỆ (.lyn-contact). Mọi rule đều scope trong 2 wrapper này → KHÔNG ảnh hưởng
   các trang/section đang đẹp (lyn-lead, footer, home…). Tái dùng token của web
   (--primary-color, --secondary-color, --font-display, --lyn-container…).
   Nạp SAU design-system.css để thắng cascade khi cần.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── HEADING dùng chung cho 2 trang: eyebrow + title + mô tả, canh giữa, thanh mảnh ── */
.lyn-page-head {
    max-width: 720px;
    margin: 0 auto clamp(36px, 4vw, 56px);
    text-align: center;
}
.lyn-page-head .lyn-eyebrow {
    display: block;
    margin-bottom: 14px;
    font-family: var(--font-display);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--secondary-color);
}
.lyn-page-head .lyn-page-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
    line-height: 1.15;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--heading-color);
    margin: 0 0 16px;
}
.lyn-page-head .lyn-page-sub {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--text-color);
    margin: 0;
}
/* Gạch trang trí ngắn dưới tiêu đề — vàng đồng, tinh tế. */
.lyn-page-head .lyn-page-title::after {
    content: '';
    display: block;
    width: 54px;
    height: 3px;
    border-radius: 3px;
    margin: 20px auto 0;
    background: var(--secondary-color);
}

/* ═══════════════════════════════════════════════════════════════════════════
   TRANG ƯU ĐÃI — header thanh lịch + lưới card sang (ảnh, badge, giá, hạn).
   ═══════════════════════════════════════════════════════════════════════════ */
.lyn-offers-page {
    padding-block: clamp(56px, 7vw, 104px);
    background: var(--lyn-surface);
}
.lyn-offers-page .container { max-width: var(--lyn-container); }

.lyn-offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);   /* 3 cột cố định → thẳng hàng */
    gap: clamp(22px, 2.4vw, 34px);
    align-items: stretch;                     /* các card CÙNG chiều cao mỗi hàng */
}
@media (max-width: 991.98px) { .lyn-offers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .lyn-offers-grid { grid-template-columns: 1fr; } }

/* Card ưu đãi — ảnh trên, nội dung dưới, bo góc, đổ bóng mềm, hover nâng + zoom ảnh. */
.lyn-offer-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;                             /* lấp đầy ô grid → cùng chiều cao */
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--lyn-radius-lg, 22px);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
    transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease;
    text-decoration: none;
}
.lyn-offer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(0, 0, 0, .12);
}

.lyn-offer-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(150deg, #3a2c22 0%, #24201c 60%, #1c1a17 100%);
}
.lyn-offer-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.lyn-offer-card:hover .lyn-offer-media img { transform: scale(1.07); }

/* Badge góc ảnh — nền vàng đồng, chữ than, cho ưu đãi toàn hệ thống / điểm đến. */
.lyn-offer-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--secondary-color);
    color: #1c1c1c;
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.lyn-offer-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 22px 24px 24px;
}
.lyn-offer-place {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--secondary-color);
}
.lyn-offer-name {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.22rem;
    line-height: 1.3;
}
.lyn-offer-name a {
    color: var(--heading-color);
    text-decoration: none;
    transition: color .2s ease;
}
.lyn-offer-card:hover .lyn-offer-name a { color: var(--primary-color); }

.lyn-offer-desc {
    margin: 0 0 18px;
    font-size: .95rem;
    line-height: 1.65;
    color: var(--text-color);
}

/* Chân card: giá (trái) + hạn (phải), phân cách bằng vạch mảnh phía trên. */
.lyn-offer-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, .07);
}
.lyn-offer-price {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.lyn-offer-price small { font-size: .74rem; color: #8a8a8a; }
.lyn-offer-price strong {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
}
.lyn-offer-price .lyn-offer-price-note { font-size: .74rem; color: #8a8a8a; }
.lyn-offer-until {
    font-size: .8rem;
    color: #8a8a8a;
    white-space: nowrap;
}

/* Rỗng: thông báo canh giữa, thoáng. */
.lyn-offers-empty {
    text-align: center;
    color: #8a8a8a;
    padding-block: 64px;
    font-size: 1.05rem;
}

/* Phân trang canh giữa, khoảng thở rộng. */
.lyn-offers-page .lyn-offers-pagination {
    margin-top: clamp(40px, 5vw, 64px);
    display: flex;
    justify-content: center;
}

/* ── DẢI "VÌ SAO ĐẶT TẠI LYNNTIMES" (cuối trang Ưu đãi) — panel teal BO GÓC, CONTAINED
   (không tràn full-width) → dóng THẲNG với lưới card ở trên, không nhô ra. ── */
.lyn-why {
    /* section ngoài: chỉ tạo khoảng thở trên/dưới, nền trắng. */
    padding-block: 0 clamp(56px, 7vw, 96px);
    background: var(--lyn-surface);
}
.lyn-why .container { max-width: var(--lyn-container); }
/* Panel teal: nằm ở MÉP NỘI DUNG của container (= đúng lề lưới card) → không nhô ra.
   Bo góc, padding đồng nhất mọi phía. */
.lyn-why-panel {
    background: linear-gradient(180deg, #0b3b40 0%, #072d31 100%);
    color: #cfe3e4;
    border-radius: var(--lyn-radius-lg, 22px);
    padding: clamp(44px, 5vw, 72px) clamp(28px, 4vw, 56px);
}
.lyn-why .lyn-page-head { margin-bottom: clamp(28px, 3.5vw, 44px); }
.lyn-why .lyn-page-head .lyn-page-title { color: #fff; }
.lyn-why .lyn-page-head .lyn-page-sub { color: #a9cfd0; }
.lyn-why .lyn-page-head .lyn-page-title::after { background: var(--secondary-color); }

.lyn-why-grid {
    display: grid;
    grid-template-columns: repeat(var(--why-cols, 4), 1fr);   /* mặc định 4 cột; MICE đặt 5 */
    gap: clamp(20px, 2.4vw, 34px);
}
/* Số cột khớp số mục (2–5). MICE có 5 lý do → 5 cột. */
.lyn-why-grid--2 { --why-cols: 2; }
.lyn-why-grid--3 { --why-cols: 3; }
.lyn-why-grid--4 { --why-cols: 4; }
.lyn-why-grid--5 { --why-cols: 5; }
@media (max-width: 991.98px) { .lyn-why-grid { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 767.98px) { .lyn-why-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 479.98px) { .lyn-why-grid { grid-template-columns: 1fr !important; } }
.lyn-why-item { text-align: center; padding: 6px 8px; }
.lyn-why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(var(--secondary-color-rgb, 201,162,75), .14);
    border: 1px solid rgba(var(--secondary-color-rgb, 201,162,75), .35);
    color: var(--secondary-color);
    font-size: 1.7rem;
}
.lyn-why-title {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.12rem;
    color: #fff;
}
.lyn-why-desc {
    margin: 0;
    font-size: .95rem;
    line-height: 1.7;
    color: #a9cfd0;
    max-width: 30ch;
    margin-inline: auto;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TRANG LIÊN HỆ — FORM BÊN TRÁI + ẢNH/THÔNG TIN BÊN PHẢI (đảo ngược Đặt bàn).
   Dùng lại tinh thần .lyn-lead (form gạch chân thanh thoát) nhưng SCOPE riêng
   trong .lyn-contact để không đụng .lyn-lead gốc.
   ═══════════════════════════════════════════════════════════════════════════ */
.lyn-contact {
    padding-block: clamp(56px, 7vw, 104px);
    background: var(--lyn-surface);
}
.lyn-contact .container { max-width: var(--lyn-container); }

.lyn-contact-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;   /* form rộng hơn chút, ảnh bên phải */
    gap: clamp(36px, 4vw, 64px);
    align-items: stretch;
}
@media (max-width: 900px) {
    .lyn-contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ── CỘT TRÁI: form trong KHUNG bo góc viền vàng đồng → sang trọng, có cấu trúc ── */
.lyn-contact-formcol {
    background: #fff;
    border: 1px solid rgba(var(--secondary-color-rgb, 201,162,75), .28);
    border-radius: var(--lyn-radius-lg, 22px);
    padding: clamp(28px, 3.4vw, 48px);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .05);
}
.lyn-contact-formtitle {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    letter-spacing: .01em;
    color: var(--heading-color);
    margin: 0 0 8px;
}
.lyn-contact-sub {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-color);
    max-width: 46ch;
    margin: 0 0 clamp(22px, 2.6vw, 32px);
}

/* Form — hàng ngang, khoảng thở đều. */
.lyn-contact-form { margin: 0; }
.lyn-contact-form .row { row-gap: clamp(20px, 2.4vw, 28px); }

.lyn-contact-form .form-label {
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 4px;
}
/* Input/textarea — gạch chân tinh tế, nền trong suốt (như form Đặt bàn). */
.lyn-contact-form .form-control {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--heading-color);
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, .16) !important;
    border-radius: 0 !important;
    padding: 8px 2px !important;
    min-height: 44px;
    box-shadow: none !important;
    width: 100%;
    transition: border-color .3s ease;
}
.lyn-contact-form textarea.form-control {
    min-height: 110px;
    border: 1px solid rgba(0, 0, 0, .14) !important;
    border-radius: 12px;
    padding: 12px 14px !important;
    resize: vertical;
}
.lyn-contact-form .form-control::placeholder { color: rgba(0, 0, 0, .32); }
.lyn-contact-form .form-control:focus {
    border-bottom-color: var(--primary-color) !important;
    outline: none;
}
.lyn-contact-form textarea.form-control:focus { border-color: var(--primary-color) !important; }

.lyn-contact-form button[type="submit"] {
    background: var(--primary-color) !important;
    border: 0 !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 13px 42px !important;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .92rem;
    letter-spacing: .04em;
    box-shadow: none;
    cursor: pointer;
    transition: background .3s ease, transform .3s ease;
    margin-top: 8px;
}
.lyn-contact-form button[type="submit"]:hover {
    background: var(--primary-color-hover) !important;
    transform: translateY(-2px);
}

/* ── CỘT PHẢI: 2 ảnh so le + khối thông tin liên hệ ── */
.lyn-contact-aside {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(24px, 3vw, 40px);
}
.lyn-contact-photos { position: relative; }
.lyn-contact-photo {
    border-radius: var(--lyn-radius-lg, 22px);
    overflow: hidden;
    box-shadow: 0 22px 55px rgba(0, 0, 0, .14);
    width: 74%;
}
.lyn-contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s cubic-bezier(.22,.61,.36,1);
}
.lyn-contact-photo:hover img { transform: scale(1.07); }
.lyn-contact-photo--top { aspect-ratio: 4 / 3; margin-left: auto; }   /* đẩy PHẢI (đảo Đặt bàn) */
.lyn-contact-photo--bottom {
    aspect-ratio: 3 / 4;
    width: 50%;
    margin-left: 0;                 /* đẩy TRÁI */
    margin-top: -24%;
    position: relative;
    z-index: 2;
    border: 5px solid var(--lyn-surface);
}

/* Khối thông tin liên hệ — trong KHUNG bo góc viền vàng đồng (đồng bộ khung form). */
.lyn-contact-info {
    list-style: none;
    margin: 0;
    padding: clamp(18px, 2.2vw, 28px) clamp(20px, 2.4vw, 30px);
    background: #fff;
    border: 1px solid rgba(var(--secondary-color-rgb, 201,162,75), .28);
    border-radius: var(--lyn-radius-lg, 22px);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .05);
}
.lyn-contact-info li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid rgba(0, 0, 0, .07);
}
.lyn-contact-info li:first-child { border-top: 0; padding-top: 0; }
.lyn-contact-info li:last-child { padding-bottom: 0; }
.lyn-contact-info .ci-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(var(--secondary-color-rgb, 201,162,75), .14);
    color: var(--secondary-color);
    font-size: 1.15rem;
}
.lyn-contact-info .ci-body { display: flex; flex-direction: column; line-height: 1.35; }
.lyn-contact-info .ci-label {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #9a9a9a;
}
.lyn-contact-info .ci-value {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--heading-color);
    text-decoration: none;
    transition: color .2s ease;
}
.lyn-contact-info a.ci-value:hover { color: var(--primary-color); }

@media (max-width: 900px) {
    .lyn-contact-photo--top { width: 78%; }
    .lyn-contact-photo--bottom { width: 54%; margin-top: -18%; }
}

/* Checkbox điều khoản — hàng ngang, chữ nhỏ nhẹ. */
.lyn-contact-terms label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    font-size: .9rem;
    line-height: 1.5;
    color: var(--text-color);
    cursor: pointer;
}
.lyn-contact-terms input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
    flex: 0 0 auto;
}
.lyn-contact-terms a { color: var(--primary-color); text-decoration: underline; }

/* Nút gửi (site-button base Travlla) — đảm bảo bo tròn + cam brand trong trang này. */
.lyn-contact-form .site-button {
    display: inline-block;
    background: var(--primary-color) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 13px 42px !important;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .92rem;
    letter-spacing: .04em;
    cursor: pointer;
    transition: background .3s ease, transform .3s ease;
    margin-top: 8px;
}
.lyn-contact-form .site-button:hover {
    background: var(--primary-color-hover) !important;
    transform: translateY(-2px);
    color: #fff !important;
}

/* Alert thành công / lỗi — gọn, bo góc. */
.lyn-contact .alert { border-radius: 12px; }

/* ── DẢI BẢN ĐỒ (dưới form Liên hệ) — full-width, bo góc, khung viền mảnh. ── */
.lyn-contact-map {
    padding-block: 0 clamp(56px, 7vw, 96px);
    background: var(--lyn-surface);
}
.lyn-contact-map .container { max-width: var(--lyn-container); }
.lyn-contact-map .lyn-map-frame {
    position: relative;
    border-radius: var(--lyn-radius-lg, 22px);
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .12);
    border: 1px solid rgba(0, 0, 0, .06);
    line-height: 0;
}
.lyn-contact-map iframe {
    width: 100%;
    height: clamp(320px, 42vw, 480px);
    border: 0;
    display: block;
    filter: grayscale(.15) contrast(1.02);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FAQ (docx §10.2 Lưu trú · §10.8 Liên hệ) — accordion thanh mảnh, dùng chung.
   Scope trong .lyn-faq → độc lập, không đụng accordion khác.
   ═══════════════════════════════════════════════════════════════════════════ */
.lyn-faq {
    padding-block: clamp(48px, 6vw, 88px);
    background: var(--lyn-surface);
}
/* Mặc định: hẹp cho dễ đọc (khi FAQ đứng lẻ, không cần dóng mép với section khác). */
.lyn-faq .container { max-width: 920px; }
/* FAQ dóng mép THẲNG với các section khác (1200px): dùng ở trang Liên hệ + trang Lưu trú
   (khi có cờ .lyn-faq--wide) → mép trái/phải khớp grid/bản đồ/khám phá. */
.lyn-faq--wide .container,
.lyn-contact ~ .lyn-faq .container,
.lyn-contact-map ~ .lyn-faq .container { max-width: var(--lyn-container); }

.lyn-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.lyn-faq-item {
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.lyn-faq-item[open] {
    border-color: rgba(var(--primary-color-rgb), .4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
}
.lyn-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.04rem;
    color: var(--heading-color);
}
.lyn-faq-item summary::-webkit-details-marker { display: none; }
.lyn-faq-item summary::after {
    content: '\F282';                              /* bi chevron-down */
    font-family: 'bootstrap-icons';
    font-size: .9rem;
    color: var(--primary-color);
    flex: 0 0 auto;
    transition: transform .25s ease;
}
.lyn-faq-item[open] summary::after { transform: rotate(180deg); }
.lyn-faq-item summary:hover { color: var(--primary-color); }
.lyn-faq-answer {
    padding: 0 22px 20px;
    font-size: .98rem;
    line-height: 1.7;
    color: var(--text-color);
}

/* ═══════════════════════════════════════════════════════════════════════════
   "HỖ TRỢ THEO NHU CẦU" (docx §10.8) — lưới ô: Đặt phòng / Onsen-Spa / MICE /
   Nhà hàng / Thông tin chung. Mỗi ô: icon + tiêu đề + mô tả ngắn, bấm được.
   ═══════════════════════════════════════════════════════════════════════════ */
.lyn-support {
    padding-block: clamp(40px, 5vw, 72px) 0;
    background: var(--lyn-surface);
}
/* Khi nằm TRONG trang Liên hệ (ngay dưới tiêu đề, trên form): bỏ padding-top, thêm
   KHOẢNG THỞ dưới để tách khỏi khối form — không bị dính sát. */
.lyn-support--incontact {
    padding-top: 0;
    margin-bottom: clamp(36px, 4.5vw, 64px);
}
.lyn-support .container { max-width: var(--lyn-container); }
.lyn-support-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(14px, 1.6vw, 22px);
}
@media (max-width: 991.98px) { .lyn-support-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575.98px) { .lyn-support-grid { grid-template-columns: repeat(2, 1fr); } }

.lyn-support-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 22px 20px;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 16px;
    background: #fff;
    text-decoration: none;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.lyn-support-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--primary-color-rgb), .35);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .08);
}
.lyn-support-ic {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(var(--primary-color-rgb), .08);
    color: var(--primary-color);
    font-size: 1.3rem;
}
.lyn-support-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--heading-color);
    margin: 0;
}
.lyn-support-desc {
    font-size: .86rem;
    line-height: 1.55;
    color: var(--text-color);
    margin: 0;
}
