/* ==========================================================
   INVESTORS DEN — STANDALONE LANDING PAGE
   Edit these colors and sizes first to customize the design.
   ========================================================== */
   
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&display=swap');

:root {
  --background: #0b0b0b;
  --surface: #1b1a17;
  --text: #f5f1e8;
  --muted: #bdb8ae;
  --gold: #dfbc6b;
  --gold-light: #f3dca4;
  --border: rgba(223, 188, 107, 0.25);
  --heading-font: Georgia, "Times New Roman", serif;
  --cursive-font: "Fraunces", serif;
  --body-font: Arial, Helvetica, sans-serif;
}

/* Base elements and keyboard accessibility */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 19px;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button, input, select {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

h1, h2, h3 {
  font-family: var(--heading-font);
  line-height: 1.15;
  color: var(--gold-light);
  font-weight: 400;
}

h1 {
  font-size: 58px;
  margin: 18px 0;
  letter-spacing: -1px;
}

h1 span{
    font-family: var(--cursive-font);
    color: var(--text);
    font-size: 34px;
}

h2 {
  font-size: 44px;
  margin: 12px 0 20px;
}

h3 {
  font-size: 27px;
  margin: 0 0 14px;
}

p {
  margin: 0 0 16px;
}

.wrap {
  width: calc(100% - 80px);
  max-width: 1440px;
  margin: auto;
}

.eyebrow {
  display: block;
  color: var(--gold);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.5;
  text-transform: uppercase;
}

.micro {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.pill {
  display: inline-block;
  margin: 12px 0 10px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 30px;
  color: var(--gold);
  font-size: 15px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: linear-gradient(110deg, var(--gold-light), var(--gold));
  color: #17130b;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  filter: brightness(1.07);
}

/* Header and two-column desktop hero */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  gap: 20px;
}

.brand {
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
}

.site-logo img {
  width: 240px;
  height: 76px;
  object-fit: contain;
}

.short-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(350px, 1fr);
  grid-template-rows: auto auto;
  align-items: start;
  gap: 20px 40px;
  padding: 38px 0 44px;
}

.hero-copy {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.hero-copy .intro {
  color: var(--muted);
}

.short-hero > .form-card {
  grid-column: 2;
  grid-row: 1 / span 2;
}

/* Desktop invitation: copy beside a separate portrait.
   The mobile media query below replaces this with a background. */
.invitation-portrait {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  height: 340px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at 70% 90%, #dfbc6b25, transparent 72%);
}

.portrait-invitation {
  position: relative;
  z-index: 1;
  padding: 20px 0;
}

.portrait-invitation h3 {
  font-weight: 600;
  margin: 8px 0 18px;
}

.portrait-invitation p {
  margin-bottom: 20px;
}

.invitation-portrait > img {
  width: 100%;
  height: 340px;
  object-fit: contain;
  object-position: center bottom;
  align-self: end;
}

.text-link-gold {
  color: var(--gold);
  font-size: 16px;
  text-underline-offset: 6px;
}

/* Both registration forms share these compact field styles. */
.form-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  scroll-margin-top: 24px;
  min-width: 0;
}

.form-card h3 {
  margin: 6px 0 10px;
}

.form-card > .micro {
  margin-bottom: 12px;
}

.registration-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 16px;
  line-height: 1.4;
  min-width: 0;
}

.field:has([name="email"]), .field:has([name="buyer_type"]),
.field:has([name="profile"]), .field:has([name="budget"]),
.form-wide, .registration-form > .button {
  grid-column: 1 / -1;
}

.field input, .field select {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--background);
  color: var(--text);
  font-size: 16px;
  line-height: 1.25;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: start;
  margin: 5px 0;
  font-size: 14px;
  line-height: 1.5;
}

.consent input {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin: 3px 0 0;
  accent-color: var(--gold);
}

.registration-form .button {
  width: 100%;
  min-height: 46px;
  margin-top: 2px;
}

.form-message {
  margin: 0;
  color: var(--gold-light);
  font-size: 14px;
}

.form-message:empty {
  display: none;
}

/* Short content sections */
.short-section {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.short-tint {
  background: var(--surface);
}

.short-inner {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.short-copy {
  width: 100%;
  min-width: 0;
}

.short-copy .prose {
  margin-bottom: 22px;
}

.short-copy .button {
  margin-top: 8px;
}

.short-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 64px;
  text-align: left;
}

.short-split .short-copy {
  max-width: 540px;
}

.short-section-0 .wrap {
  max-width: none;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 28px 0;
  text-align: left;
  width: 100%;
}

.benefit-grid article {
  padding: 26px 30px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.benefit-grid p {
  margin: 0;
}

.hero-video {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.hero-video iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

.short-section-2 .short-copy {
  order: 2;
}

.short-section-2 .photo-carousel {
  order: 1;
}

.short-host {
  margin: 0;
  background: radial-gradient(ellipse at bottom, #dfbc6b20, transparent 65%);
}

.short-host img {
  width: 100%;
  height: 440px;
  object-fit: contain;
  object-position: center bottom;
}

.short-section-5 .short-copy {
  max-width: 900px;
}

.short-section-6 .short-copy {
  max-width: 950px;
}

.faq {
  text-align: left;
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  cursor: pointer;
  padding: 16px 0;
}

.faq details p {
  padding-bottom: 16px;
}

.contact-phone {
  display: inline-block;
  font-size: 27px;
  color: var(--gold);
  margin-top: 18px;
}

/* Swipeable property galleries */
.photo-carousel {
  width: 100%;
  min-width: 0;
}

.photo-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 12px;
}

.photo-track::-webkit-scrollbar {
  display: none;
}

.photo-slide {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
}

.photo-slide img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 12px;
}

.photo-slide figcaption {
  padding-top: 12px;
  font-size: 16px;
}

.photo-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.photo-controls > div {
  display: flex;
  gap: 8px;
}

.photo-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--background);
  color: var(--text);
  cursor: pointer;
  font-size: 22px;
}

.photo-carousel > .micro {
  margin: 8px 0 0;
}

/* Keep the poster and form together in the hero column */
.top-form-column {
  width: 100%;
  min-width: 0;
}

.top-form-column > .gala-poster {
  width: 100%;
  margin: 0 0 20px;
}

.top-form-column > .gala-poster img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.top-form-column > .form-card {
  width: 100%;
  margin-top: 0;
}

@media (max-width: 767px) {
  .top-form-column > .gala-poster {
    margin-bottom: 16px;
  }

  .top-form-column > .gala-poster img {
    border-radius: 8px;
  }
}

/* Footer, fixed reservation bar, Call and WhatsApp */
footer {
  padding: 30px 0 150px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.footer-top p {
  max-width: 430px;
  font-size: 14px;
}

.footer-top > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
}

.legal-page {
  padding: 40px 0;
}

.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 12px 30px;
  border-top: 1px solid var(--gold);
  background: #0b0b0bf5;
}

.sticky-bar strong {
  display: block;
  color: var(--gold);
  font-size: 16px;
}

.sticky-bar small {
  color: var(--muted);
  font-size: 14px;
}

.quick-contact {
  position: fixed;
  left: 22px;
  bottom: 100px;
  z-index: 60;
  display: flex;
  gap: 10px;
}

.quick-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px #0004;
}

.quick-call {
  background: var(--gold);
  color: #17130b;
}

.quick-whatsapp {
  background: #148b49;
  color: white;
}

.quick-contact svg {
  width: 21px;
  height: 21px;
}

/* Tablets */
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 48px);
  }

  .short-hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(330px, 1fr);
    gap: 20px 28px;
  }

  h1 {
    font-size: 48px;
  }

  .short-split {
    gap: 32px;
  }

}

/* ==========================================================
   MOBILE-ONLY PORTRAIT BACKGROUND UPDATE
   The photo is a background; the text is real editable HTML.
   Increase the gradient opacity below for a darker overlay.
   ========================================================== */
@media (max-width: 767px) {
  body {
    font-size: 18px;
  }

  .wrap {
    width: calc(100% - 36px);
  }

  h1 {
    font-size: 36px;
    line-height: 1.14;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 24px;
  }

  .eyebrow {
    font-size: 14px;
  }

  .pill {
    font-size: 13px;
  }

  .site-header {
    padding: 14px 0;
    gap: 12px;
  }

  .site-logo img {
    width: 170px;
    height: 54px;
  }

  .site-header .button {
    font-size: 14px;
    padding: 10px 14px;
    min-height: 44px;
  }

  .site-header .button > span:last-child {
    display: none;
  }

  .short-hero {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 28px 0 32px;
  }

  .hero-copy {
    order: 0;
  }

  .short-hero > .form-card {
    order: 2;
    width: 100%;
  }

  .form-card {
    padding: 20px;
  }

  .registration-form {
    gap: 8px;
  }

  .registration-form .field {
    grid-column: 1 / -1;
  }

  /* Hero invitation block: enlarged portrait behind the copy. */
  .invitation-portrait {
    order: 1;
    position: relative;
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: auto;
    min-height: 480px;
    overflow: hidden;
    border-radius: 12px;
    background-image:
      linear-gradient(to bottom, rgba(5, 4, 3, 0.12) 5%, rgba(5, 4, 3, 0.3) 35%, rgba(5, 4, 3, 0.85) 70%, #080706 100%),
      url("assets/host-portrait.webp");
    background-color: #100c08;
    background-size: cover;
    background-position: center top;
  }

  .invitation-portrait > img {
    display: none;
  }

  .portrait-invitation {
    width: 100%;
    padding: 300px 22px 28px;
  }

  .portrait-invitation .eyebrow {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .portrait-invitation h3 {
    font-size: 32px;
    line-height: 1.12;
    margin: 0 0 22px;
  }

  .portrait-invitation p {
    font-size: 20px;
    line-height: 1.5;
    color: white;
    margin-bottom: 24px;
  }

  .portrait-invitation .text-link-gold {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: 12px 18px;
    border-radius: 8px;
    background: linear-gradient(110deg, var(--gold-light), var(--gold));
    color: #17130b;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
  }

  .short-section {
    padding: 32px 0;
  }

  .short-inner {
    min-height: 0;
  }

  .short-split {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
  }

  .short-split .short-copy {
    max-width: none;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 20px 0;
  }

  .benefit-grid article {
    padding: 18px 20px;
  }

  .short-section-2 .short-copy {
    order: 0;
  }

  .short-section-2 .photo-carousel {
    order: 1;
  }

  .photo-slide img {
    height: 220px;
  }

  .photo-carousel {
    width: 100%;
  }

  /* The later 'Your Host' section uses the same mobile effect. */
  .short-section-4 .short-inner {
    position: relative;
    display: flex;
    justify-content: flex-end;
    min-height: 660px;
    overflow: hidden;
    border-radius: 12px;
    padding: 300px 22px 28px;
    background-image:
      linear-gradient(to bottom, rgba(5, 4, 3, 0.12), rgba(5, 4, 3, 0.35) 35%, rgba(5, 4, 3, 0.92) 75%, #080706),
      url("assets/host-portrait-alternate.webp");
    background-color: #100c08;
    background-size: cover;
    background-position: center top;
  }

  .short-section-4 .short-host {
    display: none;
  }

  .short-section-4 .short-copy {
    position: relative;
    z-index: 1;
  }

  .short-section-4 .prose {
    color: white;
  }

  .short-section-4 .button {
    width: 100%;
  }

  .footer-top {
    flex-direction: column;
    gap: 18px;
  }

  .sticky-bar {
    padding: 10px 18px;
  }

  .sticky-bar > div {
    display: none;
  }

  .sticky-bar > .button {
    width: 100%;
  }

  .quick-contact {
    left: 18px;
    right: 18px;
    bottom: 84px;
    justify-content: flex-end;
    pointer-events: none;
  }

  .quick-contact a {
    pointer-events: auto;
    font-size: 15px;
    padding: 10px 14px;
  }

}

/* Respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    transition: none !important;
  }

}

/* Fixed country-code prefix */
.registration-form .mobile-input {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(223, 188, 107, 0.55);
  border-radius: 8px;
  background: #0b0b0b;
}

.registration-form .mobile-prefix {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 12px;
  border-right: 1px solid rgba(223, 188, 107, 0.3);
  color: #dfbc6b;
  font-size: 16px;
}

.registration-form .mobile-input input {
  flex: 1;
  width: 100%;
  min-width: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 16px;
}

.registration-form .mobile-input:focus-within {
  outline: 2px solid #dfbc6b;
  outline-offset: 2px;
}

/* Desktop: poster above the form in the right column */
.short-hero > .hero-gala-poster {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-width: 0;
}

.short-hero > #reservation-form-top {
  grid-column: 2;
  grid-row: 2;
}

.hero-gala-poster img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Mobile order: intro → host picture → poster → form */
@media (max-width: 767px) {
  .short-hero > .hero-copy {
    order: 0;
  }

  .short-hero > .invitation-portrait {
    order: 1;
  }

  .short-hero > .hero-gala-poster {
    order: 2;
  }

  .short-hero > #reservation-form-top {
    order: 3;
    width: 100%;
  }
}

