/* ============================================================
   ADS LANDING PAGE — The Grand Resort
   Loaded only on page-wedding-ads.php. Own header, own footer,
   one lead modal, no links off the page.
   ============================================================ */

:root { --lph-h: 76px; }
@media (max-width: 900px) { :root { --lph-h: 62px; } }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--lph-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.gg-lp { background: var(--paper); }

/* ---------------- HEADER ---------------- */
.lph {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 247, 240, 0.94);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.admin-bar .lph { top: 32px; }
@media (max-width: 782px) { .admin-bar .lph { top: 46px; } }

.lph-in {
  max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter);
  height: var(--lph-h); display: flex; align-items: center; gap: clamp(12px, 2vw, 30px);
}
.lph-brand { flex: none; display: inline-flex; align-items: center; }
.lph-logo { height: 48px; width: auto; display: block; }
@media (max-width: 900px) { .lph-logo { height: 38px; } }

.lph-nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); margin-inline: auto; }
.lph-nav a {
  position: relative; padding: 6px 0; white-space: nowrap;
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
}
.lph-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--gold); transition: right 0.3s var(--ease);
}
.lph-nav a:hover, .lph-nav a.is-on { color: var(--forest); }
.lph-nav a:hover::after, .lph-nav a.is-on::after { right: 0; }

.lph-act { display: flex; align-items: center; gap: 14px; flex: none; margin-left: auto; }
.lph-phone { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 600; color: var(--forest); white-space: nowrap; }
.lph-phone svg { color: var(--gold); }
.lph-burger { display: none; background: none; border: 0; padding: 4px; color: var(--forest); cursor: pointer; }

@media (max-width: 1120px) { .lph-nav { display: none; } .lph-burger { display: inline-flex; } }
@media (max-width: 620px) { .lph-phone { display: none; } .lph-cta { padding: 11px 16px; font-size: 11.5px; } }

/* Mobile sheet */
.lph-sheet { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.lph-sheet.is-open { display: block; }
@media (min-width: 1121px) { .lph-sheet { display: none !important; } }
.lph-sheet-in { padding: 8px var(--gutter) 24px; display: flex; flex-direction: column; }
.lph-sheet-link { padding: 15px 2px; border-bottom: 1px solid var(--line); font-size: 16.5px; font-weight: 500; color: var(--forest); }
.lph-sheet .btn { margin-top: 20px; width: 100%; }
.lph-sheet-phone { margin-top: 14px; text-align: center; font-size: 15px; font-weight: 600; color: var(--forest); }

/* ---------------- HERO ---------------- */
.lp-hero {
  position: relative; display: flex; align-items: center;
  min-height: clamp(520px, calc(88vh - var(--lph-h)), 760px);
  color: var(--paper); overflow: hidden; isolation: isolate;
}
.lp-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.lp-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(12, 24, 17, 0.86) 0%, rgba(12, 24, 17, 0.66) 46%, rgba(12, 24, 17, 0.32) 100%);
}
.lp-hero-in {
  position: relative; width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) var(--gutter);
}
.lp-hero-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 16px; }
.lp-hero h1 {
  font-family: var(--font-head, "DM Sans"); font-weight: 500;
  font-size: clamp(34px, 5.2vw, 62px); line-height: 1.02; letter-spacing: -0.02em; max-width: 17ch;
}
.lp-hero-sub { margin-top: 20px; font-size: clamp(15.5px, 1.4vw, 19px); line-height: 1.62; max-width: 54ch; color: rgba(255, 255, 255, 0.9); }

.lp-chips { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lp-chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 13.5px; font-weight: 500; color: #fff;
}
.lp-chips svg { color: var(--gold-soft); flex: none; }

.lp-hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.lp-hero-note { margin-top: 16px; font-size: 13.5px; color: rgba(255, 255, 255, 0.72); }

/* Keep the first call to action within reach of the fold on a phone. */
@media (max-width: 560px) {
  .lp-hero { min-height: 0; }
  .lp-hero-in { padding-block: 40px 44px; }
  .lp-hero h1 { font-size: clamp(29px, 8vw, 40px); }
  .lp-hero-sub { margin-top: 16px; font-size: 15px; }
  .lp-chips { margin-top: 20px; gap: 8px; }
  .lp-chips li { padding: 7px 12px; gap: 6px; font-size: 12.5px; }
  .lp-hero-cta { margin-top: 24px; gap: 10px; }
  .lp-hero-cta .btn { width: 100%; }
}

/* ---------------- TRUST STRIP ---------------- */
.lp-trust { background: var(--forest); color: var(--paper); }
.lp-trust-in {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(22px, 3vw, 34px) var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center;
}
.lp-stat { display: flex; flex-direction: column; gap: 5px; }
.lp-stat b { font-family: var(--font-head, "DM Sans"); font-size: clamp(24px, 3.4vw, 38px); font-weight: 500; color: var(--gold-soft); line-height: 1; }
.lp-stat span { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(250, 247, 240, 0.76); }
@media (max-width: 640px) { .lp-trust-in { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; } }

/* ---------------- INLINE ENQUIRY SECTION ---------------- */
.lp-formsec { background: var(--cream); padding: clamp(48px, 6vw, 82px) 0; }
.lp-formsec-in {
  max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center;
}
.lp-formsec-copy .ptitle { font-family: var(--font-head, "DM Sans"); font-size: clamp(27px, 3.4vw, 43px); font-weight: 500; line-height: 1.06; letter-spacing: -0.02em; color: var(--forest); }
.lp-formsec-copy .peyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.lp-formsec-copy .plede { margin-top: 16px; font-size: 16px; line-height: 1.68; color: var(--ink-soft); max-width: 52ch; }
.lp-formsec-copy .split-list { margin-top: 24px; }
.lp-formcard {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 34px); box-shadow: var(--shadow-md);
}
.lp-formcard .leadform button[type="submit"] { background: var(--gold); color: #2a1f0d; }
.lp-formcard .leadform button[type="submit"]:hover { background: var(--forest); color: var(--paper); }
@media (max-width: 900px) { .lp-formsec-in { grid-template-columns: 1fr; } }

/* ---------------- SHARED BLOCK TWEAKS (landing only) ---------------- */
.gg-lp .split-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.gg-lp .lp-actions { margin-top: clamp(30px, 4vw, 46px); display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.gg-lp .lp-docs { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.gg-lp .room--static { cursor: default; }
.gg-lp .room--static:hover { transform: none; box-shadow: var(--shadow-sm); }
.gg-lp .room--static:hover .room-img { transform: none; }
.gg-lp .room--static .room-body { justify-content: flex-start; }
.gg-lp .faqx { background: var(--paper); }

/* ---------------- LEAD MODAL ---------------- */
/* Own scroll lock: the drawer's .gg-noscroll also sets touch-action: none,
   which would stop the dialog itself scrolling on a phone. */
html.gg-lp-lock, html.gg-lp-lock body { overflow: hidden; }

.lpm { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 18px; overflow-y: auto; overscroll-behavior: contain; }
.lpm[hidden] { display: none; }
.lpm [hidden] { display: none !important; }
.lpm-backdrop { position: absolute; inset: 0; background: rgba(12, 22, 16, 0.62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: lpm-fade 0.25s var(--ease); }
.lpm-dialog {
  position: relative; width: min(560px, 100%); max-height: calc(100dvh - 36px); overflow-y: auto;
  background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: clamp(24px, 3.4vw, 40px); animation: lpm-in 0.32s var(--ease);
}
@keyframes lpm-fade { from { opacity: 0; } }
@keyframes lpm-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
@media (prefers-reduced-motion: reduce) { .lpm-backdrop, .lpm-dialog { animation: none; } }

.lpm-x {
  position: absolute; top: 12px; right: 14px; width: 38px; height: 38px;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink-soft); font-size: 26px; line-height: 1; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lpm-x:hover { background: var(--cream); color: var(--forest); }
.lpm .peyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.lpm h2 { font-family: var(--font-head, "DM Sans"); font-size: clamp(22px, 3vw, 30px); font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; color: var(--forest); padding-right: 34px; }
.lpm-text { margin-top: 12px; font-size: 15px; line-height: 1.62; color: var(--ink-soft); }
.lpm-form { margin-top: 22px; }
/* JetFormBuilder / Infineural CRM embed shown instead of .lpm-form for
   plain (non-brochure) enquiries, see gg_lp_modal() and lp.js. */
.lpm-embed { margin-top: 22px; }
.lpm-form .cfield { margin-bottom: 14px; }
.lpm-form .btn { width: 100%; margin-top: 6px; }
.lpm-form .cform-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.5; }
.lpm-form .hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.lpm-error { background: #fdf1ee; border: 1px solid #e4b7a8; border-radius: var(--r-sm); color: #8a3a1f; font-size: 14px; padding: 11px 14px; margin-bottom: 14px; }
.lpm-form .btn.is-busy { opacity: 0.65; pointer-events: none; }

.lpm-done { text-align: center; }
.lpm-tick {
  width: 66px; height: 66px; margin: 4px auto 18px; border-radius: 50%;
  display: grid; place-items: center; background: var(--cream); color: var(--gold);
}
.lpm-done h2 { padding-right: 0; }
.lpm-done p { margin-top: 12px; font-size: 15px; line-height: 1.62; color: var(--ink-soft); }
.lpm-done .btn { margin-top: 18px; width: 100%; }

/* ---------------- FOOTER ---------------- */
.lpf { background: var(--forest-deep); color: rgba(250, 247, 240, 0.78); }
.lpf-in {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(38px, 5vw, 62px) var(--gutter);
  display: grid; grid-template-columns: 1.6fr 1fr auto; gap: clamp(24px, 3vw, 48px); align-items: start;
}
.lpf-logo { height: 54px; width: auto; display: block; filter: brightness(0) invert(1); margin-bottom: 16px; }
.lpf-brand p { font-size: 14px; line-height: 1.68; max-width: 46ch; }
.lpf-contact { display: flex; flex-direction: column; gap: 10px; }
.lpf-contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--paper); font-size: 15px; font-weight: 600; }
.lpf-contact a:hover { color: var(--gold-soft); }
.lpf-contact svg { color: var(--gold-soft); }
.lpf-hours { font-size: 13.5px; color: rgba(250, 247, 240, 0.6); margin-top: 2px; }
.lpf-cta .btn { white-space: normal; }
.lpf-bottom {
  max-width: var(--maxw); margin: 0 auto; padding: 18px var(--gutter) 26px;
  border-top: 1px solid rgba(250, 247, 240, 0.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 12.5px; color: rgba(250, 247, 240, 0.55);
}
.lpf-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.lpf-legal a { color: rgba(250, 247, 240, 0.62); }
.lpf-legal a:hover { color: var(--gold-soft); }
@media (max-width: 900px) { .lpf-in { grid-template-columns: 1fr; } .lpf-cta .btn { width: 100%; } }
