/* stay-dine.css — Landing Stay & Dine. Bổ sung cho villa-offer.css, dùng token của global.css. */
.sd { --sd-gold: #C9A96E; --sd-gold-text: #8A6A2F; }
.sd section[id], .sd [id="uoc-tinh"], .sd [id="sd-form"] { scroll-margin-top: calc(var(--header-height, 80px) + 16px); }

/* Hero */
.sd-hero { padding-bottom: 140px; }
.sd-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-xl); align-items: end; }
.sd-eyebrow { display: inline-block; font: 600 var(--text-sm) var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--sd-gold); margin: 0 0 var(--space-md); }
.sd-hero__title { max-width: 19ch; }
.sd-price { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 260px; max-width: 340px; padding: 1.5rem 1.75rem; border-radius: var(--radius-lg); background: rgba(255,255,255,.96); color: var(--deep-navy); box-shadow: 0 20px 50px rgba(13,33,55,.28); }
.sd-price::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(201,169,110,.55); border-radius: calc(var(--radius-lg) - 4px); pointer-events: none; }
.sd-price__from { font-size: var(--text-sm); color: var(--color-text-muted); }
.sd-price__num { font-family: var(--font-heading); font-size: clamp(2rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1.05; color: var(--sd-gold-text); white-space: nowrap; }
.sd-price__unit { font-size: var(--text-sm); font-weight: 600; }
.sd-price__pp { margin-top: var(--space-sm); padding-top: var(--space-sm); border-top: 1px solid var(--color-border); font-size: var(--text-sm); color: var(--color-text-muted); }

/* Strip */
.sd-strip { margin-top: -80px; background: linear-gradient(180deg, transparent 0 80px, #fff 80px); }
.sd-strip__box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md) var(--space-xl); }
.sd-chips { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 0; padding: 0; }
.sd-chips li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--deep-navy); }
.sd-chips svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: var(--sd-gold-text); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sd-strip__period { margin: 0; font-size: var(--text-sm); color: var(--color-text-muted); }

/* Inclusions */
.sd-inc { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.sd-inc__item { position: relative; padding: var(--space-xl) var(--space-lg) var(--space-lg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: #fff; }
.sd-inc__num { position: absolute; top: 18px; right: 20px; font-family: var(--font-heading); font-size: 1.1rem; color: var(--sd-gold); }
.sd-inc__item svg { width: 40px; height: 40px; stroke: var(--ocean-blue); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sd-inc__item h3 { font-size: 1.35rem; margin: var(--space-md) 0 var(--space-sm); }
.sd-inc__item p { margin: 0; color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.65; }
.sd-inc__note { margin: var(--space-lg) 0 0; padding: var(--space-md) var(--space-lg); background: var(--warm-ivory); border-left: 3px solid var(--sd-gold); border-radius: 0 var(--radius-md) var(--radius-md) 0; color: var(--deep-navy); }

/* Rates */
.sd-rooms { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.sd-room { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: transform var(--transition-fast, .2s), box-shadow var(--transition-fast, .2s); }
.sd-room:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(13,33,55,.14); }
.sd-room__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--warm-ivory); }
.sd-room__img img { width: 100%; height: 100%; object-fit: cover; }
.sd-room__badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: var(--radius-full); background: rgba(13,33,55,.78); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.sd-room__body { display: flex; flex-direction: column; flex: 1; padding: var(--space-lg); }
.sd-room__body h3 { font-size: 1.25rem; line-height: 1.25; margin: 0; }
.sd-room__body .vo-villa__specs { margin: var(--space-sm) 0 var(--space-md); }
.sd-room__price { margin: auto 0 0; }
.sd-room__price b { font-family: var(--font-heading); font-size: 1.85rem; font-weight: 500; color: var(--sd-gold-text); }
.sd-room__price small { margin-left: 2px; color: var(--color-text-muted); }
.sd-room__pp { margin: 2px 0 var(--space-md); font-size: var(--text-sm); color: var(--color-text-muted); }
.vo a.sd-room__cta { align-self: flex-start; font-weight: 600; font-size: var(--text-sm); color: var(--deep-navy); text-decoration: none; border-bottom: 1px solid var(--sd-gold); padding-bottom: 2px; }
.sd--peak .sd-room__price b { color: #A0452E; }

.sd-extra { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); margin-top: var(--space-2xl, 3rem); }
.sd-extra__col { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.25rem, 2.5vw, 2rem); box-shadow: var(--shadow-card); }
.sd-extra__col h3 { font-size: 1.45rem; margin: 0 0 var(--space-md); }
.sd-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.sd-table th, .sd-table td { padding: 12px 8px; border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.sd-table thead th { font-weight: 600; color: var(--color-text-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.sd-table tbody th { font-weight: 600; color: var(--deep-navy); }
.sd-table tbody th small { display: block; font-weight: 400; color: var(--color-text-muted); }
.sd-table td { white-space: nowrap; font-weight: 600; color: var(--deep-navy); }
.sd-table td:last-child { color: #A0452E; }
.sd-peak__dates { margin: 0 0 var(--space-md); padding-left: 18px; }
.sd-peak__dates li { margin-bottom: 4px; }
.sd-peak__dinner li { flex-wrap: wrap; font-weight: 600; color: var(--deep-navy); }
.sd-peak__dinner span { white-space: normal; font-weight: 400; }
.sd-hero__lead { margin-bottom: 0; font-weight: 500; }
.sd-hero__lead + .vo-hero__sub { margin-top: var(--space-sm); }
.sd-peak__intro { margin: 0 0 var(--space-sm); color: var(--color-text-muted); }
.sd-peak__sub { margin: var(--space-md) 0 0; font-weight: 600; color: var(--deep-navy); }
.sd-small { font-size: var(--text-sm); color: var(--color-text-muted); margin: var(--space-md) 0 0; }

/* Dining */
.sd-dine__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.sd-dine__imgs { position: relative; padding: 0 12% 14% 0; }
.sd-dine__imgs img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--radius-lg); }
.sd-dine__imgs img + img { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 4 / 3; border: 6px solid #fff; box-shadow: var(--shadow-card); }
.sd-ticks { list-style: none; margin: 0; padding: 0; }
.sd-ticks li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--color-border); color: var(--deep-navy); }
.sd-ticks li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 12px; height: 7px; border-left: 2px solid var(--sd-gold-text); border-bottom: 2px solid var(--sd-gold-text); transform: rotate(-45deg); }

/* Estimator + form */
.sd-quote__grid { align-items: start; }
.sd-est .vo-lede { margin-bottom: var(--space-lg); }
.sd-est__form { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.sd-span2 { grid-column: 1 / -1; }
.sd-est .vo-field label { color: #D5DEE8; }
.sd-est .vo-field input, .sd-est .vo-field select { width: 100%; font: inherit; padding: .75rem .9rem; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-md); background: rgba(255,255,255,.06); color: #fff; color-scheme: dark; }
.sd-est .vo-field select option { color: var(--color-text); background: #fff; }
.sd-est .vo-field input:focus, .sd-est .vo-field select:focus { border-color: var(--sd-gold); outline: none; box-shadow: 0 0 0 3px rgba(201,169,110,.3); }
.sd-est__out { margin-top: var(--space-lg); padding: var(--space-lg); border-radius: var(--radius-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.sd-est__nights { margin: 0 0 var(--space-sm); font-weight: 600; color: #fff; }
.sd-est__out dl { margin: 0; }
.sd-est__out dl > div { display: flex; justify-content: space-between; gap: var(--space-md); padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: var(--text-sm); }
.sd-est__out dd { margin: 0; color: #fff; white-space: nowrap; }
.sd-est__out .sd-est__total { border-bottom: 0; padding-top: 14px; align-items: baseline; }
.sd-est__total dt { font-weight: 600; color: #fff; font-size: 1rem; }
.sd-est__total dd { font-family: var(--font-heading); font-size: 2rem; color: var(--sd-gold); }
.sd-est__msg { min-height: 1em; margin: var(--space-sm) 0 0; font-size: var(--text-sm); color: #F2C98B; }
.sd-est .sd-small { color: #9FB3C6; }
.sd-est .btn { margin-top: var(--space-md); width: 100%; }
.sd-form__alt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--color-border); font-size: var(--text-sm); }
.sd-form__alt span { color: var(--color-text-muted); }
.vo .sd-form__alt a { font-weight: 600; color: var(--deep-navy); }

.sd-est__form > *, .sd-quote__grid > * { min-width: 0; }
.sd-est select { max-width: 100%; text-overflow: ellipsis; }
.sd-est .vo-field input[type="date"] { -webkit-appearance: none; appearance: none; min-height: 48px; }

/* Sticky bar (desktop) */
.sd-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(13,33,55,.96); color: #fff; box-shadow: 0 -8px 30px rgba(0,0,0,.2); }
.sd-bar[hidden] { display: none; }
.sd-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding-top: 12px; padding-bottom: 12px; }
.sd-bar p { margin: 0; }
.sd-bar p span { color: #AFC0D1; font-size: var(--text-sm); }
.sd-bar b { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 500; color: var(--sd-gold); }
.sd-bar small { color: #AFC0D1; margin-left: 2px; }
.lcr-fab { transition: transform .25s ease; }
body.sd-bar-on .lcr-fab { transform: translateY(-72px); }

@media (max-width: 1200px) {
  .sd-rooms { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .sd-inc { grid-template-columns: repeat(2, 1fr); }
  .sd-rooms { grid-template-columns: repeat(2, 1fr); }
  .sd-extra, .sd-dine__grid { grid-template-columns: 1fr; }
  .sd-hero__inner { grid-template-columns: 1fr; }
  .sd-price { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; min-width: 0; justify-self: start; }
  .sd-price__pp { flex-basis: 100%; }
}
@media (max-width: 900px) {
  .sd-bar { display: none !important; }
}
@media (max-width: 720px) {
  .sd-hero { min-height: 0; padding-top: calc(var(--header-height, 72px) + 2.5rem); padding-bottom: 100px; }
  .sd-hero__title { font-size: clamp(2rem, 1.4rem + 3vw, 2.4rem); }
  .sd-hero .vo-hero__sub { font-size: 1rem; margin: var(--space-md) 0 var(--space-lg); }
  .sd-price { padding: 1rem 1.25rem; }
  .sd-price__num { font-size: 2rem; }
  .sd-strip { margin-top: -70px; background: linear-gradient(180deg, transparent 0 70px, #fff 70px); }
  .sd-chips { gap: 10px 18px; }
  .sd-chips li { font-size: var(--text-sm); }
  .sd-inc { grid-template-columns: 1fr; }
  .sd-rooms { grid-template-columns: 1fr; }
  .sd-room { flex-direction: row; }
  .sd-room__img { flex: 0 0 38%; aspect-ratio: auto; }
  .sd-room__body { padding: var(--space-md); }
  .sd-room__body h3 { font-size: 1.1rem; }
  .sd-room__price b { font-size: 1.45rem; }
  .sd-est__form { grid-template-columns: 1fr 1fr; }
  .sd-dine__imgs { padding: 0 0 18% 0; }
  .sd-table th, .sd-table td { padding: 10px 4px; }
}
