/* =========================================================================
   Dynasty Phú Quốc Resort — child theme Hello Elementor
   0. Elementor reset (trước CSS thiết kế: container Elementor cư xử như <div> thường)
   1–8. CSS thiết kế chép nguyên (design-tokens-and-base-components.css + homepage-sections.css)
   9. Elementor adapter (chỉ vá chỗ DOM Elementor khác thiết kế)
   ========================================================================= */

/* ---------- 0. Elementor reset ----------
   Nạp sau frontend.css của Elementor, cùng độ ưu tiên (0,1,0) → thắng; rule thiết kế bên dưới thắng lại. */
.e-con { display: block; width: auto; min-width: auto; position: static; padding: 0; margin: 0; gap: normal; }
.elementor .e-con.e-con-full.e-flex { --flex-direction: row; --flex-wrap: nowrap; }

/* =========================================================================
   Phương án D · bám sát mẫu New World Phu Quoc + La Festa (Curio by Hilton)
   Layout concept: New World's centered header, floating booking bar,
   tall overlay cards and sage footer; La Festa's utility bar, info strip,
   aqua promo band, alternating image/text blocks and teal Playfair headings.
   Square corners, flat surfaces, hairline dividers (both references).
   ========================================================================= */

:root {
  color-scheme: light;

  /* Color: sampled from the two references */
  --white: oklch(0.995 0 0);
  --grey-band: oklch(0.965 0 0);          /* New World gallery band #F4F4F4 */
  --aqua: oklch(0.925 0.025 195);         /* La Festa promo band #CCE7E9 */
  --teal: oklch(0.57 0.098 198);          /* La Festa headings #008D96 */
  --teal-deep: oklch(0.47 0.085 200);
  --sage: oklch(0.53 0.075 140);          /* New World #6B9560, deepened for 4.5:1 */
  --sage-deep: oklch(0.45 0.07 140);
  --ink: oklch(0.2 0.005 250);
  --ink-soft: oklch(0.48 0.008 250);      /* La Festa body grey #63666A */
  --line: oklch(0.88 0.003 250);
  --on-photo: oklch(0.99 0 0);
  --on-photo-soft: oklch(0.92 0 0);
  --line-on-sage: oklch(0.99 0 0 / 0.28);
  --scrim-deep: oklch(0.16 0.01 250 / 0.72);
  --scrim-mid: oklch(0.16 0.01 250 / 0.38);
  --scrim-soft: oklch(0.16 0.01 250 / 0.16);
  --scrim-clear: oklch(0.16 0.01 250 / 0);
  --backdrop: oklch(0.16 0.01 250 / 0.55);
  --focus: oklch(0.5 0.1 200);
  --gold: oklch(0.68 0.12 80);              /* Dynasty crown gold */
  --gold-light: oklch(0.82 0.1 85);

  /* Type: Playfair (La Festa headings) + Nunito Sans (Avenir-like body) */
  --font-display: "Playfair Display", "Times New Roman", Times, serif;
  --font-body: "Nunito Sans", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --fs-micro: 0.75rem;
  --fs-small: 0.875rem;
  --fs-body: 1rem;
  --fs-lead: 1.125rem;
  --fs-h3: 1.5rem;
  --fs-h2: clamp(1.875rem, 1.4rem + 1.6vw, 2.5rem);
  --fs-hero: clamp(2rem, 1.1rem + 3.2vw, 3.25rem);

  /* Spacing: 4pt scale */
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2rem;
  --s7: 3rem;
  --s8: 4rem;
  --s9: 6rem;
  --section-y: clamp(3rem, 2rem + 4vw, 6rem);
  --gutter: 16px;
  --container: 71.25rem;                  /* New World 1140px content width */
  --container-wide: 87.5rem;              /* La Festa near full-bleed blocks */
  --header-h: 4.5rem;

  /* Motion */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 120ms;
  --dur-base: 240ms;
  --dur-layout: 480ms;

  /* Layers */
  --z-raised: 2;
  --z-sticky: 20;
  --z-modal: 40;
}

@media (min-width: 48rem) {
  :root { --gutter: 32px; }
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--s4)); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; text-wrap: balance; }
h2 { font-size: var(--fs-h2); color: var(--teal); }
h3 { font-size: var(--fs-h3); }
h1 em, h2 em { font-style: italic; }
p { text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--focus-ring, var(--focus)); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--s4); top: calc(-1 * var(--s9)); z-index: var(--z-modal); padding: var(--s3) var(--s4); background: var(--ink); color: var(--white); }
.skip-link:focus { top: calc(var(--s4) + env(safe-area-inset-top, 0px)); }

.wrap {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.wrap-wide { max-width: calc(var(--container-wide) + 2 * var(--gutter)); }

.icon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons & links (New World uppercase, square) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 2.75rem;
  padding: var(--s2) var(--s5);
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background-color var(--dur-base) var(--ease-out-quart),
    color var(--dur-base) var(--ease-out-quart),
    border-color var(--dur-base) var(--ease-out-quart),
    transform var(--dur-fast) var(--ease-out-quart);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-sage { background: var(--sage); color: var(--on-photo); }
.btn-sage:hover { background: var(--sage-deep); }
.btn-teal { background: var(--teal-deep); color: var(--on-photo); text-transform: none; letter-spacing: 0; font-size: var(--fs-lead); font-weight: 600; }
.btn-teal:hover { background: var(--teal); }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn.is-loading { pointer-events: none; opacity: 0.8; }

/* "SHOW ALL" / "EXPLORE MORE" style text link */
.caps-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.caps-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.625rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out-quart);
}
.caps-link:hover::after, .caps-link:focus-visible::after { transform: scaleX(1); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  transition: background-color var(--dur-base) var(--ease-out-quart), color var(--dur-base) var(--ease-out-quart), transform var(--dur-fast) var(--ease-out-quart);
}
.icon-btn:hover { background: var(--ink); color: var(--white); }
.icon-btn:active { transform: scale(0.96); }
.icon-btn:disabled { opacity: 0.4; cursor: default; background: var(--white); color: var(--ink); }

/* ---------- Header: utility bar (La Festa) + centered logo and nav (New World) ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--on-photo);
  --focus-ring: var(--on-photo);
  transition: background-color var(--dur-layout) var(--ease-out-quart), color var(--dur-layout) var(--ease-out-quart), box-shadow var(--dur-layout) var(--ease-out-quart);
}
.site-header.is-solid { background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--line); --focus-ring: var(--focus); }

.utility-bar {
  display: flex;
  justify-content: flex-end;
  gap: var(--s4);
  padding-top: var(--s2);
  font-size: var(--fs-small);
}
.utility-bar a {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  min-height: 2rem;
  text-decoration: none;
}
.utility-bar a + a { padding-left: var(--s4); border-left: 1px solid currentColor; }
.utility-bar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-header.is-solid .utility-shell { grid-template-rows: 0fr; }
.utility-shell, .nav-shell { display: grid; grid-template-rows: 1fr; transition: grid-template-rows var(--dur-layout) var(--ease-out-quint); }
.utility-shell > div, .nav-shell > div { min-height: 0; overflow: hidden; }

.logo-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: var(--header-h); }
.logo {
  grid-column: 2;
  display: grid;
  justify-items: center;
  text-decoration: none;
  text-align: center;
}
.logo-name {
  margin-right: -0.32em;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: 1;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.logo-sub {
  margin-top: var(--s2);
  margin-right: -0.38em;
  font-size: var(--fs-micro);
  line-height: 1;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}
/* Dynasty logo: light PNG over the hero, color PNG once the header turns solid */
.logo { position: relative; }
.logo img { width: auto; height: 3.25rem; transition: opacity var(--dur-base) var(--ease-out-quart); }
.logo .logo-color { position: absolute; top: 0; left: 50%; translate: -50% 0; opacity: 0; }
.site-header.is-solid .logo .logo-light { opacity: 0; }
.site-header.is-solid .logo .logo-color { opacity: 1; }
.site-header .logo-sub { color: var(--gold-light); }
.site-header.is-solid .logo-sub { color: var(--teal-deep); }
.menu-logo { width: auto; height: 2.75rem; }
.footer-logo img { width: auto; height: 4rem; }
.footer-logo .logo-sub { color: var(--gold-light); }
.header-tools { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: var(--s2); }
.tool-btn {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out-quart);
}
.tool-btn:hover { transform: scale(1.08); }
.tool-btn .icon { width: 1.5rem; height: 1.5rem; }

.primary-nav ul { display: flex; justify-content: center; gap: clamp(var(--s5), 4vw, var(--s8)); padding-bottom: var(--s3); }
.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-family: var(--font-display);
  font-size: var(--fs-lead);
  text-decoration: none;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--s2);
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform var(--dur-base) var(--ease-out-quart);
}
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { transform: scaleX(1); }
.site-header.is-solid .primary-nav ul { padding-bottom: var(--s2); }

@media (max-width: 60rem) {
  .utility-shell, .nav-shell { display: none; }
  .logo-name { margin-right: -0.2em; font-size: var(--fs-lead); letter-spacing: 0.2em; }
  .logo img { height: 2.5rem; }
  .logo-sub { letter-spacing: 0.2em; margin-right: -0.2em; }
  .header-tools .lang-btn { display: none; }
}

/* ---------- Full-screen menu ---------- */
.site-menu {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--white);
  color: var(--ink);
}
.site-menu::backdrop { background: var(--scrim-clear); }
.site-menu[open] { animation: fade-in var(--dur-layout) var(--ease-out-quint); }
.menu-inner {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: var(--s6);
  min-height: 100%;
  padding-block: calc(env(safe-area-inset-top, 0px) + var(--s4)) calc(env(safe-area-inset-bottom, 0px) + var(--s7));
}
.menu-top { display: flex; justify-content: space-between; align-items: center; }
.menu-list { display: grid; gap: var(--s1); align-content: center; }
.menu-list a {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: 1.3;
  text-decoration: none;
  transition: color var(--dur-base) var(--ease-out-quart), transform var(--dur-base) var(--ease-out-quart);
}
.menu-list a:hover, .menu-list a:focus-visible { color: var(--teal-deep); transform: translateX(8px); }
.menu-aside { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s4); padding-top: var(--s5); border-top: 1px solid var(--line); color: var(--ink-soft); }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
/* =========================================================================
   Phương án D · homepage sections, in page order
   ========================================================================= */

.section { padding-block: var(--section-y); }
.section-head { max-width: 46rem; margin: 0 auto var(--s6); text-align: center; }
.section-head p { margin-top: var(--s4); color: var(--ink-soft); font-size: var(--fs-lead); }
.section-foot { display: flex; justify-content: center; margin-top: var(--s6); }

/* Photo with slow zoom on hover (cards in New World + La Festa) */
.zoom { overflow: hidden; background: var(--line); }
.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out-quint); }
a:hover .zoom img, a:focus-visible .zoom img, .zoom:hover img { transform: scale(1.05); }

/* Shared overlay card: title, italic subtitle, caps link over a photo */
.overlay-card {
  position: relative;
  display: block;
  color: var(--on-photo);
  text-decoration: none;
  --focus-ring: var(--focus);
}
.overlay-card .zoom { aspect-ratio: 367 / 455; }
.overlay-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--scrim-deep) 0%, var(--scrim-mid) 30%, var(--scrim-clear) 62%);
  pointer-events: none;
}
.overlay-body {
  position: absolute;
  left: var(--s5);
  right: var(--s5);
  bottom: var(--s5);
  z-index: 1;
  display: grid;
  gap: var(--s1);
}

/* ---------- 1. Hero (New World) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: clamp(38rem, 100dvh, 62rem);
  overflow: hidden;
  color: var(--on-photo);
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; animation: hero-settle 2000ms var(--ease-out-quint) both; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--scrim-mid) 0%, var(--scrim-soft) 30%, var(--scrim-soft) 60%, var(--scrim-mid) 100%);
}
.hero-content {
  display: grid;
  place-items: center;
  padding-top: calc(var(--header-h) + var(--s9));
  text-align: center;
}
.hero-title {
  max-width: 24ch;
  font-size: var(--fs-hero);
  line-height: 1.2;
  animation: rise 900ms var(--ease-out-quint) 120ms both;
}
@keyframes hero-settle { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Floating booking widget (New World: white box + sage CTA) */
.booking { padding-bottom: var(--s6); animation: rise 900ms var(--ease-out-quint) 260ms both; }
.booking-form {
  display: grid;
  grid-template-columns:
    auto minmax(10.5rem, 1.2fr) minmax(10.5rem, 1.2fr)
    minmax(4.5rem, 0.6fr) minmax(5.5rem, 0.7fr) minmax(9rem, 1fr) auto;
  align-items: stretch;
  max-width: 64rem;
  margin-inline: auto;
  background: var(--white);
  color: var(--ink);
  --focus-ring: var(--focus);
}
.booking-icon { display: grid; place-items: center; padding-left: var(--s5); color: var(--sage); }
.field {
  position: relative;
  display: grid;
  align-content: center;
  gap: 2px;
  min-width: 0;
  padding: var(--s3) var(--s4);
}
.field label { font-size: var(--fs-small); font-weight: 700; }
.field input, .field select {
  width: 100%;
  min-height: 1.75rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: var(--fs-body);
  color: var(--ink);
}
.field select { appearance: none; padding-right: var(--s4); cursor: pointer; }
.field-select { border-left: 1px solid var(--line); }
.field-select::after {
  content: "";
  position: absolute;
  right: var(--s4);
  top: calc(var(--s3) + 0.4rem);
  width: 0.4375rem;
  height: 0.4375rem;
  border-right: 1px solid var(--ink-soft);
  border-bottom: 1px solid var(--ink-soft);
  transform: rotate(45deg);
  pointer-events: none;
}
.field-select select { order: -1; }
.field-out { border-right: 1px solid var(--line); }
.field:focus-within { background: var(--grey-band); }
.field input:focus-visible, .field select:focus-visible { outline: none; }
.field:has(:focus-visible) { outline: 2px solid var(--focus); outline-offset: -2px; }
.field.is-invalid { box-shadow: inset 0 -2px 0 var(--teal-deep); }
.nights { display: none; }
.booking-submit { min-width: 9.5rem; padding-inline: var(--s4); line-height: 1.3; white-space: normal; }

.booking-below {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--s1) var(--s3);
  margin-top: var(--s3);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.link-btn {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-decoration: none;
}
.link-btn:hover { text-decoration: underline; text-underline-offset: 4px; }
.caps-link.link-btn { font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.caps-link.link-btn:hover { text-decoration: none; }
.promo-field { display: flex; justify-content: center; gap: var(--s2); margin-top: var(--s2); }
.promo-field input {
  min-height: 2.75rem;
  width: 14rem;
  padding: 0 var(--s3);
  border: 0;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-size: var(--fs-body);
  text-transform: uppercase;
}
.promo-field input::placeholder { color: var(--ink-soft); text-transform: none; }
.booking-status { max-width: 50rem; margin: var(--s2) auto 0; min-height: 1.5rem; text-align: center; font-size: var(--fs-small); text-shadow: 0 1px 2px var(--scrim-deep); }
.booking-status.is-error { font-weight: 700; }

@media (max-width: 52rem) {
  .booking-form { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .booking-icon { display: none; }
  .field-in, .field-out { grid-column: span 3; border-bottom: 1px solid var(--line); }
  .field-out { border-right: 0; border-left: 1px solid var(--line); }
  .field-select { grid-column: span 2; }
  .field-select:first-of-type { border-left: 0; }
  .booking-submit { grid-column: span 6; min-height: 3.25rem; }
}

/* ---------- 2. Info strip (La Festa) ---------- */
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.info-strip > div {
  display: grid;
  align-content: center;
  gap: 2px;
  padding: var(--s4) var(--s5);
  font-size: var(--fs-small);
}
.info-strip > div + div { border-left: 1px solid var(--line); }
.info-strip strong { font-weight: 700; }
.info-strip a { color: var(--ink); text-underline-offset: 3px; }
.info-strip .right { text-align: right; }
@media (max-width: 48rem) {
  .info-strip { grid-template-columns: 1fr; }
  .info-strip > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .info-strip .right { text-align: left; }
}

/* ---------- 3. Intro (centered) ---------- */
.intro { text-align: center; }
.intro h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); }
.intro p { max-width: 48rem; margin: var(--s5) auto 0; color: var(--ink-soft); font-size: var(--fs-lead); }
.intro .caps-link { margin-top: var(--s4); }

/* ---------- 4. Featured experiences (New World, 3 tall cards) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.feature-grid .overlay-body { text-align: center; justify-items: center; }
.feature-title { font-family: var(--font-display); font-size: var(--fs-lead); }
.feature-sub { font-family: var(--font-display); font-style: italic; color: var(--on-photo-soft); }
.feature-more { margin-top: var(--s3); font-size: var(--fs-small); letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 48rem) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid .overlay-card .zoom { aspect-ratio: 4 / 3; }
}

/* ---------- 5. Promo band (La Festa "Imagine The Wonder") ---------- */
.promo { background: var(--aqua); }
.promo-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 11fr);
  gap: clamp(var(--s5), 4vw, var(--s8));
  align-items: center;
}
.promo-copy { display: grid; gap: var(--s4); justify-items: start; }
.promo-copy p { color: var(--ink-soft); font-size: var(--fs-lead); }
.perk-list { display: grid; gap: var(--s2); color: var(--ink); }
.perk-list li { display: flex; gap: var(--s2); }
.perk-list .icon { margin-top: 3px; color: var(--teal-deep); }
.promo-copy .terms { font-size: var(--fs-small); color: var(--ink); text-underline-offset: 3px; }
.promo-media { aspect-ratio: 5 / 4; }
@media (max-width: 52rem) {
  .promo-grid { grid-template-columns: 1fr; }
  .promo-media { order: -1; aspect-ratio: 4 / 3; }
}

/* ---------- 6 + 8. Alternating image / text blocks (La Festa) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 4fr);
  gap: clamp(var(--s5), 4vw, var(--s8));
  align-items: center;
}
.split-copy { display: grid; gap: var(--s4); justify-items: start; }
.split-copy p { color: var(--ink-soft); font-size: var(--fs-lead); }
.split-media { position: relative; aspect-ratio: 5 / 4; }
@media (max-width: 52rem) {
  .split { grid-template-columns: 1fr; }
  .split-media { aspect-ratio: 4 / 3; }
}

/* Rooms carousel: slides translate inside a clipped track */
.carousel { position: relative; overflow: hidden; background: var(--line); }
.carousel-track { display: flex; height: 100%; transition: transform 700ms var(--ease-out-quint); }
.slide { position: relative; flex: 0 0 100%; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  display: grid;
  gap: 2px;
  padding: var(--s3) var(--s5);
  background: var(--white);
  color: var(--ink);
  font-size: var(--fs-small);
}
.slide-caption strong { font-family: var(--font-display); font-size: var(--fs-lead); font-weight: 400; }
.slide-caption span { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.carousel-controls { position: absolute; right: var(--s4); bottom: var(--s4); z-index: 1; display: flex; gap: var(--s2); }
.carousel-dots { display: flex; gap: var(--s2); margin-top: var(--s3); }
.carousel-dots button {
  position: relative;
  width: 2rem;
  height: 0.25rem;
  padding: 0;
  border: 0;
  background: var(--line);
  transition: background-color var(--dur-base) var(--ease-out-quart);
}
.carousel-dots button::before { content: ""; position: absolute; inset: -20px -6px; }
.carousel-dots button[aria-current="true"] { background: var(--teal); }

/* ---------- 7. Dining (centered head + scroller) ---------- */
.scroller-head { display: flex; justify-content: flex-end; gap: var(--s2); margin-bottom: var(--s4); }
.card-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(15rem, calc((100% - 3 * var(--s4)) / 4));
  gap: var(--s4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.card-track::-webkit-scrollbar { display: none; }
.card-track > li { scroll-snap-align: start; min-width: 0; }
.venue-card { display: grid; gap: var(--s2); text-decoration: none; }
.venue-card .zoom { aspect-ratio: 4 / 3; margin-bottom: var(--s2); }
.venue-card h3 { font-size: var(--fs-lead); transition: color var(--dur-base) var(--ease-out-quart); }
.venue-card:hover h3 { color: var(--teal-deep); }
.venue-card p { font-size: var(--fs-small); color: var(--ink-soft); }

/* ---------- 9. Amenities (La Festa, 4 tall overlay cards) ---------- */
.amenities-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--s4); margin-bottom: var(--s5); }
.amenities-head p { margin-top: var(--s2); color: var(--ink-soft); font-size: var(--fs-lead); }
.amenity-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
.amenity-grid .overlay-card .zoom { aspect-ratio: 349 / 484; }
.amenity-grid h3 { font-size: var(--fs-h3); font-weight: 700; }
@media (max-width: 60rem) { .amenity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .amenity-grid .overlay-card .zoom { aspect-ratio: 3 / 4; } .amenity-grid h3 { font-size: var(--fs-lead); } }

/* ---------- 10. Gallery (New World, grey band + text tabs) ---------- */
.gallery { background: var(--grey-band); }
.gallery h2 { color: var(--ink); }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 var(--s5); margin-bottom: var(--s5); }
.tab-btn {
  position: relative;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  transition: color var(--dur-base) var(--ease-out-quart);
}
.tab-btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: var(--s1); height: 1px; background: currentColor; transform: scaleX(0); transition: transform var(--dur-base) var(--ease-out-quart); }
.tab-btn:hover { color: var(--ink); }
.tab-btn[aria-pressed="true"] { color: var(--ink); }
.tab-btn[aria-pressed="true"]::after { transform: scaleX(1); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.g-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--on-photo);
  --focus-ring: var(--focus);
}
.g-item .zoom { aspect-ratio: 4 / 3; }
.g-item::after { content: ""; position: absolute; inset: 0; background: var(--scrim-mid); transition: background-color var(--dur-base) var(--ease-out-quart); }
.g-item:hover::after, .g-item:focus-visible::after { background: var(--backdrop); }
.g-cap {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: var(--s4);
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  text-align: center;
  text-shadow: 0 1px 8px var(--scrim-deep);
}
@media (max-width: 48rem) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-cap { font-size: var(--fs-body); } }

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--scrim-deep);
  color: var(--on-photo);
  --focus-ring: var(--on-photo);
}
.lightbox::backdrop { background: var(--scrim-mid); }
.lightbox[open] { display: grid; place-items: center; animation: fade-in var(--dur-base) var(--ease-out-quart); }
.lb-figure { display: grid; justify-items: center; gap: var(--s3); padding: var(--s9) max(var(--s9), env(safe-area-inset-right, 0px)) var(--s7) max(var(--s9), env(safe-area-inset-left, 0px)); }
.lb-figure img { max-height: 78dvh; width: auto; object-fit: contain; }
.lb-figure figcaption { font-family: var(--font-display); font-size: var(--fs-lead); }
.lightbox .icon-btn { position: absolute; }
.lb-close { top: calc(env(safe-area-inset-top, 0px) + var(--s4)); right: max(var(--s4), env(safe-area-inset-right, 0px)); }
.lb-prev { left: max(var(--s4), env(safe-area-inset-left, 0px)); top: 50%; translate: 0 -50%; }
.lb-next { right: max(var(--s4), env(safe-area-inset-right, 0px)); top: 50%; translate: 0 -50%; }
@media (max-width: 48rem) {
  .lb-figure { padding-inline: max(var(--s4), env(safe-area-inset-left, 0px)) max(var(--s4), env(safe-area-inset-right, 0px)); }
  .lb-prev, .lb-next { top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + var(--s4)); translate: none; }
}

/* ---------- 11. Special offers (New World, 3 cards) ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
.offer-card { display: grid; align-content: start; gap: var(--s3); text-decoration: none; }
.offer-card .zoom { aspect-ratio: 353 / 235; margin-bottom: var(--s2); }
.offer-card h3 { font-size: var(--fs-h3); transition: color var(--dur-base) var(--ease-out-quart); }
.offer-card:hover h3 { color: var(--teal-deep); }
.offer-card p { color: var(--ink-soft); }
.offer-card .caps-link { justify-self: start; }
.offer-tag { font-size: var(--fs-small); font-weight: 700; color: var(--sage-deep); font-variant-numeric: tabular-nums; }
@media (max-width: 52rem) { .offer-grid { grid-template-columns: 1fr; } }

/* ---------- 12. Location (Sunset Town + "Visit your paradise") ---------- */
.location-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(var(--s5), 4vw, var(--s8)); align-items: center; }
.location-copy { display: grid; gap: var(--s4); justify-items: start; }
.location-copy > p { color: var(--ink-soft); font-size: var(--fs-lead); }
.nearby { display: grid; width: 100%; border-top: 1px solid var(--line); }
.nearby li { display: flex; justify-content: space-between; gap: var(--s4); padding-block: var(--s3); border-bottom: 1px solid var(--line); }
.nearby span:last-child { color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.contact-lines { display: grid; gap: var(--s2); }
.contact-lines li { display: flex; align-items: center; gap: var(--s2); }
.contact-lines .icon { color: var(--sage); }
.map-frame { aspect-ratio: 4 / 3; border: 1px solid var(--line); background: var(--grey-band); }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 52rem) { .location-grid { grid-template-columns: 1fr; } }

/* ---------- 13. Instagram strip (La Festa) ---------- */
.insta-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); margin-bottom: var(--s4); }
.insta-head h2 { font-family: var(--font-body); font-size: var(--fs-lead); font-weight: 700; color: var(--ink); }
.insta-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(11rem, calc((100% - 5 * var(--s2)) / 6));
  gap: var(--s2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.insta-track::-webkit-scrollbar { display: none; }
.insta-track li { scroll-snap-align: start; }
.insta-track .zoom { aspect-ratio: 1; }

/* ---------- 14. Newsletter + 15. Footer (New World sage) ---------- */
.site-footer { background: var(--sage); color: var(--on-photo); --focus-ring: var(--on-photo); }
.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--s5);
  padding-block: var(--s7);
  border-bottom: 1px solid var(--line-on-sage);
}
.newsletter h2 { color: var(--on-photo); font-size: var(--fs-h3); }
.newsletter p { margin-top: var(--s1); color: var(--on-photo-soft); font-size: var(--fs-small); }
.nl-row { display: flex; }
.nl-row input {
  flex: 1;
  min-width: 0;
  min-height: 3rem;
  padding: 0 var(--s4);
  border: 0;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-size: var(--fs-body);
}
.nl-row input::placeholder { color: var(--ink-soft); }
.nl-row .btn { min-height: 3rem; background: var(--ink); color: var(--white); }
.nl-row .btn:hover { background: var(--sage-deep); }
.nl-msg { grid-column: 2; min-height: 1.5rem; font-size: var(--fs-small); }
.nl-msg.is-error { font-weight: 700; }
.footer-cols { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: var(--s6); padding-block: var(--s7); }
.footer-cols h3 { margin-bottom: var(--s3); font-family: var(--font-body); font-size: var(--fs-body); font-weight: 700; }
.footer-cols li a, .footer-cols address a { display: inline-flex; align-items: center; min-height: 2.25rem; color: var(--on-photo-soft); text-decoration: none; }
.footer-cols li a:hover { color: var(--on-photo); text-decoration: underline; text-underline-offset: 3px; }
.footer-cols address { display: grid; gap: var(--s1); color: var(--on-photo-soft); font-size: var(--fs-small); }
.footer-cols .logo { justify-items: start; text-align: left; margin-bottom: var(--s4); }
.footer-cols .logo-name, .footer-cols .logo-sub { margin-right: 0; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s4);
  padding-block: var(--s5) calc(var(--s7) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line-on-sage);
  font-size: var(--fs-micro);
  color: var(--on-photo-soft);
}
.credits summary { cursor: pointer; min-height: 2.75rem; display: inline-flex; align-items: center; }
.credits ul { display: grid; gap: var(--s1); max-width: 60ch; margin-top: var(--s2); }
.credits a { color: var(--on-photo-soft); }
@media (max-width: 48rem) {
  .newsletter { grid-template-columns: 1fr; }
  .nl-msg { grid-column: 1; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > :first-child { grid-column: 1 / -1; }
}

/* ---------- Perks popup (New World "Exclusive Perks") ---------- */
.perks-popup {
  width: min(25rem, calc(100% - 2 * var(--s4)));
  max-height: calc(100dvh - 2 * var(--s4));
  padding: 0;
  border: 0;
  background: var(--white);
  color: var(--ink);
  overflow: auto;
}
.perks-popup::backdrop { background: var(--backdrop); }
.perks-popup[open] { animation: rise var(--dur-layout) var(--ease-out-quint); }
.popup-media { aspect-ratio: 8 / 3; overflow: hidden; }
.popup-media img { width: 100%; height: 100%; object-fit: cover; }
.popup-body { display: grid; gap: var(--s3); padding: var(--s5) var(--s6) var(--s6); text-align: center; }
.popup-body h2 { color: var(--ink); font-size: var(--fs-h3); font-weight: 700; }
.popup-body .valid { font-family: var(--font-display); font-size: var(--fs-lead); }
.popup-body ul { display: grid; gap: var(--s2); padding-left: var(--s4); list-style: disc; text-align: left; font-family: var(--font-display); }
.popup-body ul em { color: var(--ink-soft); }
.popup-body .btn { margin-top: var(--s3); }
.popup-close {
  position: absolute;
  top: var(--s3);
  right: var(--s3);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  transition: transform var(--dur-fast) var(--ease-out-quart);
}
.popup-close:hover { transform: rotate(90deg); }

/* =========================================================================
   9. Elementor adapter
   ========================================================================= */

/* A1. Khung trung tính: Kit in --widgets-spacing:20px trên từng phần tử */
.elementor .elementor-element {
  --widgets-spacing: 0px; --widgets-spacing-row: 0px; --widgets-spacing-column: 0px;
  --container-default-padding-top: 0px; --container-default-padding-right: 0px;
  --container-default-padding-bottom: 0px; --container-default-padding-left: 0px;
  --kit-widget-spacing: 0px;
}

/* A2. Widget chữ "trong suốt" ngoài editor: thẻ thiết kế bên trong (h2, p, a.btn, span…) là con trực tiếp
       của lưới/flex thiết kế như HTML gốc. Trong editor giữ khung để chọn/sửa. */
body:not(.elementor-editor-active) .elementor .elementor-widget:is(.elementor-widget-heading, .elementor-widget-text-editor) { display: contents; }
.elementor :is(h1, h2, h3, h4).elementor-heading-title { line-height: 1.2; }
.elementor :is(span, p, div).elementor-heading-title { line-height: inherit; }
.elementor .elementor-widget-image img { display: block; }
.elementor a.terms, .elementor .info-strip a { text-decoration: underline; }
.elementor-editor-active .elementor .elementor-widget-text-editor:empty { min-height: 1.5rem; }

/* A3. Khoảng đệm trên = 0 (style="padding-top:0" của thiết kế) */
.section.pt-0 { padding-top: 0; }

/* A4. object-position inline của thiết kế */
.elementor .op-30-70 img { object-position: 30% 70%; }
.elementor .op-40-50 img { object-position: 40% 50%; }
.elementor .op-30-50 img { object-position: 30% 50%; }

/* A5. Elementor xoá margin-bottom của widget (0,3,0) → khai báo lại */
.elementor :is(.venue-card, .offer-card) .elementor-widget.zoom { margin-block-end: var(--s2); }

/* Hero */
.elementor .hero-title .elementor-heading-title {
  max-width: 24ch;
  font-size: var(--fs-hero);
  line-height: 1.2;
  animation: rise 900ms var(--ease-out-quint) 120ms both;
}
.elementor .e-con.hero { --position: relative; }

/* Thẻ <li> của thiết kế → container con trực tiếp */
.card-track > .e-con { scroll-snap-align: start; min-width: 0; }
.insta-track > .e-con { scroll-snap-align: start; }
.location-copy > .elementor-widget > p { color: var(--ink-soft); font-size: var(--fs-lead); }
.insta-head .scroller-head { margin: 0; }

/* Slide: flex 0 0 100% (Elementor đặt flex qua biến, 0,2,0) */
.elementor .e-con.e-flex.slide { --flex-grow: 0; --flex-shrink: 0; --flex-basis: 100%; }
.elementor .slide > .elementor-widget-image { height: 100%; }

/* Icon nét (svg <use> của thiết kế) → mask SVG, chữ thuần trong Text Editor */
.perk-list li::before,
.contact-lines li::before {
  content: "";
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  background: currentColor;
  -webkit-mask: var(--mask) no-repeat center / contain;
  mask: var(--mask) no-repeat center / contain;
}
.perk-list li::before { margin-top: 3px; color: var(--teal-deep); --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.contact-lines li::before { color: var(--sage); }
.contact-lines li.i-phone::before { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
.contact-lines li.i-pin::before { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-12a7 7 0 0 1 14 0c0 5.8-7 12-7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E"); }
.booking-icon::before {
  content: "";
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  background: currentColor;
  -webkit-mask: var(--mask) no-repeat center / contain;
  mask: var(--mask) no-repeat center / contain;
  --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
}

/* Nút <button> của thiết kế làm bằng <a> trong Text Editor (tab lọc ảnh, link-btn) */
a.tab-btn { display: inline-flex; align-items: center; text-decoration: none; cursor: pointer; }
a.link-btn { cursor: pointer; }
.g-item { cursor: pointer; }

/* Google Maps (iframe) trong khung .map-frame của thiết kế (widget CSS nạp sau → tiền tố .elementor) */
.elementor .map-frame .elementor-custom-embed { height: 100%; }
.elementor .map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Trang không có hero: dải ảnh (phần trên của ảnh hero trang chủ) nằm dưới header trong suốt,
   cao đúng bằng header → header trông như trên trang chủ, chuyển nền trắng khi cuộn */
.page-band { position: relative; isolation: isolate; height: 10.5rem; overflow: hidden; background: var(--ink); }
.page-band-media { position: absolute; top: 0; left: 0; right: 0; z-index: -2; height: clamp(38rem, 100dvh, 62rem); }
.page-band-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.page-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  height: clamp(38rem, 100dvh, 62rem);
  background: linear-gradient(180deg, var(--scrim-mid) 0%, var(--scrim-soft) 30%, var(--scrim-soft) 60%, var(--scrim-mid) 100%);
}
@media (max-width: 60rem) { .page-band { height: var(--header-h); } }
/* Đường nối dưới dải ảnh: khối đầu trang bắt đầu đúng phần lẻ pixel như trong trang mẫu dài
   (cùng màu khối đứng trước nó trong mẫu) → chữ/ảnh rơi đúng lưới pixel như mẫu */
.page-band { box-sizing: content-box; padding-bottom: var(--seam-h, 0px); }
.page-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--seam-h, 0px); background: var(--seam, var(--white)); }
body:has(#about) { --seam: var(--line); --seam-h: 0.1875px; }
body:has(#rooms) { --seam: var(--aqua); --seam-h: 0.171875px; }
body:has(#dining) { --seam-h: 0.8125px; }
body:has(#events) { --seam-h: 0.46875px; }
body:has(#location) { --seam-h: 0.578125px; }
@media (max-width: 60rem) {
  body:has(#about) { --seam-h: 0.28125px; }
  body:has(#rooms) { --seam-h: 0.140625px; }
  body:has(#dining) { --seam-h: 0.890625px; }
  body:has(#events) { --seam-h: 0.453125px; }
  body:has(#location) { --seam-h: 0.25px; }
}
@media (max-width: 47.99rem) {
  body:has(#about) { --seam-h: 0.5625px; }
  body:has(#rooms) { --seam-h: 0.75px; }
  body:has(#dining) { --seam-h: 0.375px; }
  body:has(#events) { --seam-h: 0.21875px; }
  body:has(#location) { --seam-h: 0.953125px; }
}
body.home, body:has(.hero) { --seam-h: 0px; }

/* ---------- Contact Form 7 trong markup thiết kế ---------- */
.wpcf7-form-control-wrap { display: block; }
.wpcf7-form-control-wrap > :is(input, select) { display: block; }
.wpcf7-not-valid-tip { font-size: 12px; font-weight: 600; margin-top: 2px; }
.wpcf7 .hidden-fields-container { display: none; }
.wpcf7-spinner { display: none; }
/* Đặt phòng: form = lưới .booking-form; thông báo hiện ở dòng .booking-status */
.booking .wpcf7 { display: contents; }
.booking-form .wpcf7-response-output, .booking-form .wpcf7-not-valid-tip { display: none !important; }
.field-select .wpcf7-form-control-wrap { order: -1; }
/* Bản tin: wrapper CF7 trong suốt → ô email, dòng báo là ô lưới của .newsletter */
.newsletter .wpcf7, .newsletter .wpcf7-form { display: contents; }
.newsletter .wpcf7-response-output, .newsletter .wpcf7-not-valid-tip { display: none !important; }
.nl-row .wpcf7-form-control-wrap { flex: 1; min-width: 0; }
.nl-row .wpcf7-form-control-wrap input { width: 100%; }

/* Mỗi trang là một đoạn của trang mẫu dài: sau khối cuối luôn là nền trắng như mẫu (trừ trang có dải Instagram, nối thẳng footer) */
#main:not(:has(.insta-track))::after { content: ""; display: block; height: 2px; }
