/* Page-level sections reused by several pages: hero, feature rows, cards grid, stats, space split */

.section--tight { padding-block: 40px; }
.section-head--split { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 760px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero__bg--flip { transform: scaleX(-1); }
.hero::before { /* dark-blue glow on the left like the Figma blurred ellipse */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(3, 25, 43, .92) 0%, rgba(4, 52, 100, .7) 32%, rgba(0, 40, 90, 0) 62%);
}
.hero__content { padding-top: var(--header-h); max-width: 560px; }
.hero__title { margin-bottom: 28px; }
.hero__title span { display: block; }
.hero__title .sm { font-size: .8em; }
.hero .lead { margin-bottom: 70px; }
.hero__contacts { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 52px; font-size: 16px; }
.hero__contacts a { display: inline-flex; align-items: center; gap: 12px; }
.hero__contacts img { width: 28px; height: 28px; }
.hero--short { min-height: 495px; background: linear-gradient(80.87deg, #073457 19.78%, #005CA3 82.53%); }
.hero--short::before { display: none; }

/* ---------- Alternating feature rows (Món nổi bật) ---------- */
.feature-row {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 400px; overflow: hidden;
  background: #000; margin-bottom: 35px;
}
.feature-row::before, .feature-row::after { /* thin gold rule inset to the container width */
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); width: min(var(--container), 100% - 2 * var(--gutter));
  height: 1px; background: linear-gradient(90deg, transparent, rgba(239, 198, 97, .6), transparent); z-index: 2;
}
.feature-row::before { top: 0; } .feature-row::after { bottom: 0; }
.feature-row__media { position: relative; }
.feature-row__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-row__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #000 0%, rgba(0,0,0,0) 35%); }
.feature-row--reverse .feature-row__media { order: -1; }
.feature-row--reverse .feature-row__media::after { background: linear-gradient(270deg, #000 0%, rgba(0,0,0,0) 35%); }
.feature-row--blue { background: radial-gradient(120% 140% at 0% 50%, #0A2C5A 0%, #000 70%); }
.feature-row--gold { background: radial-gradient(120% 140% at 100% 0%, #3A2D10 0%, #000 65%); }
.feature-row__text { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 32px; }
.feature-row__name { display: block; font-weight: 700; font-size: 35px; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; }
.feature-row__sub { display: block; font-family: var(--font-display); font-weight: 400; font-size: 50px; line-height: 1.1; text-transform: uppercase; margin-bottom: 16px; }
.feature-row__text p { max-width: 400px; color: var(--text-muted); margin-bottom: 24px; }
.feature-row__text .price { color: var(--yellow-400); margin: 0; }

/* ---------- Card grid (dishes, occasions, testimonials) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--navy-800); border: 1px solid rgba(239, 198, 97, .35); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.card__media { aspect-ratio: 400 / 266; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 22px 30px 30px; }
.card__title { font-weight: 700; font-size: 16px; letter-spacing: .05em; margin-bottom: 12px; }
.card__body p { font-size: 13px; line-height: 22px; color: var(--text-muted); }

/* ---------- Split block: photo + copy (Không gian, Riêng tư) ---------- */
.split { display: grid; grid-template-columns: 615px 1fr; gap: 128px; align-items: center; }
.split__media img { width: 100%; aspect-ratio: 615 / 503; object-fit: cover; border-radius: 8px; border: 1px solid rgba(239, 198, 97, .5); }
.split__copy .eyebrow { margin-bottom: 14px; }
.split__copy h2 { margin-bottom: 28px; font-size: clamp(28px, 2.5vw, 36px); }
.split__copy .lead { margin-bottom: 20px; color: inherit; opacity: .9; }
.split__tags { display: grid; grid-template-columns: repeat(2, max-content); gap: 4px 40px; margin-bottom: 48px; font-size: 16px; text-transform: uppercase; }
.split__tags li::before { content: "•"; margin-right: 8px; }
.split--yellow { color: #000; }
.split--yellow h2 { color: #073457; }
.bg-yellow { background: linear-gradient(172.63deg, #EFC661 50.01%, #FFDC50 94.27%); }
.bg-navy { background: var(--navy-800); }

@media (max-width: 1100px) {
  .split { grid-template-columns: 1fr 1fr; gap: 48px; }
}
@media (max-width: 860px) {
  .hero { min-height: 640px; }
  .hero::before { background: linear-gradient(90deg, rgba(3,25,43,.92) 0%, rgba(3,25,43,.75) 70%, rgba(3,25,43,.5) 100%); }
  .hero .lead { margin-bottom: 36px; }
  .feature-row, .feature-row--reverse { grid-template-columns: 1fr; }
  .feature-row__media, .feature-row--reverse .feature-row__media { order: -1; min-height: 260px; }
  .feature-row__media::after, .feature-row--reverse .feature-row__media::after { background: linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 40%); }
  .feature-row__name { font-size: 26px; } .feature-row__sub { font-size: 36px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
  .split__tags { grid-template-columns: 1fr 1fr; gap: 4px 16px; font-size: 14px; }
}
