/* ==========================================================================
   Vivid Spaces — Meta Ads Landing Page
   Built on Synora design tokens: Inter type, gold accent #e1c963,
   dark charcoal #07090d / warm cream #f6f1e8 theme pair, pill CTAs,
   underline inputs, isometric grid background.
   ========================================================================== */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
input, select, textarea, button { letter-spacing: inherit; }

:root {
  --vs-gold: #e1c963;
  --vs-gold-soft: rgba(225, 201, 99, .16);

  --vs-bg-main: #07090d;
  --vs-copy-main: #f0ece4;
  --vs-copy-muted: #a7a3a7;
  --vs-surface-soft: rgba(17, 19, 24, .58);
  --vs-form-bg: rgba(17, 19, 24, .43);
  --vs-border-soft: rgba(255, 255, 255, .12);
  --vs-header-bg: rgba(0, 0, 0, .75);
  --vs-input-bg: rgba(18, 19, 22, .6);
  --vs-input-border: rgba(255, 255, 255, .14);
  --vs-grid-stroke: #212833;
  --vs-grid-opacity: .42;
  --vs-cta-text: #0d0d0d;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--vs-bg-main);
  color: var(--vs-copy-main);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.5px;
  -webkit-font-smoothing: antialiased;
  transition: background .3s ease, color .3s ease;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

/* ---------- Background ---------- */

.vs-bg {
  position: fixed;
  inset: -12%;
  z-index: 0;
  pointer-events: none;
}

.vs-bg-grid {
  position: absolute;
  inset: 0;
  opacity: var(--vs-grid-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='312' viewBox='0 0 360 312'%3E%3Cg fill='none' stroke='%23212833' stroke-width='1.6' opacity='0.95'%3E%3Cpath d='M180 0 L360 90 L360 234 L180 312 L0 234 L0 90 Z'/%3E%3Cpath d='M180 0 L180 156'/%3E%3Cpath d='M0 90 L180 156 L360 90'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 360px 312px;
}

.vs-bg-atmosphere {
  position: absolute;
  inset: 0;
  opacity: .55;
  background:
    radial-gradient(circle at 18% 20%, rgba(12,15,20,.2), transparent 42%),
    radial-gradient(circle at 85% 75%, rgba(12,15,20,.28), transparent 45%),
    linear-gradient(180deg, rgba(5,7,10,.15), rgba(5,7,10,.35));
}

/* ---------- Header ---------- */

.vs-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  background: var(--vs-header-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--vs-border-soft);
}

.vs-header-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.vs-logo {
  font-size: 1.15rem;
  letter-spacing: .02em;
  color: #ffffff;
  white-space: nowrap;
}
.vs-logo-bold { font-weight: 700; }
.vs-logo-accent { font-weight: 300; }
.vs-logo-city {
  font-weight: 300;
  color: var(--vs-copy-muted, rgba(255, 255, 255, .6));
}

.vs-header-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--vs-gold);
  color: var(--vs-cta-text);
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
  transition: filter .2s ease, transform .15s ease;
}
.vs-header-call:hover { filter: brightness(1.08); }
.vs-header-call:active { transform: scale(.97); }

@media (max-width: 420px) {
  .vs-header-call span { display: none; }
  .vs-header-call { padding: 10px; }
}

/* ---------- Layout base ---------- */

.vs-main { position: relative; z-index: 1; padding-top: 72px; }

/* ---------- Hero ---------- */

.vs-hero {
  padding: 56px 20px 64px;
}

.vs-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 992px) {
  .vs-hero { padding: 88px 40px 96px; }
  .vs-hero-inner { grid-template-columns: 1.05fr .95fr; gap: 64px; }
}

.vs-hero-inner-solo {
  max-width: 620px;
}

@media (min-width: 992px) {
  .vs-hero-inner-solo { grid-template-columns: 1fr; }
}

/* ---------- Form panel ---------- */

.vs-form-panel { position: relative; }

.vs-form-card {
  background: var(--vs-form-bg);
  border: 1px solid var(--vs-border-soft);
  border-radius: 20px;
  padding: 48px;
  backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
}

.vs-form-head { margin-bottom: 32px; text-align: center; }

.vs-form-kicker {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--vs-gold);
  margin: 0 0 10px;
}

.vs-form-title {
  font-size: clamp(1.6rem, 3vw, 1.9rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  position: relative;
  color: transparent;
}

.vs-form-title::before,
.vs-form-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
}

.vs-form-title::before {
  color: var(--vs-copy-main);
  opacity: .25;
}

.vs-form-title::after {
  color: var(--vs-copy-main);
  background-image: linear-gradient(
    100deg,
    transparent 0%,
    transparent 42%,
    rgba(255, 255, 255, 1) 50%,
    transparent 58%,
    transparent 100%
  );
  background-size: 260% 100%;
  background-position: 150% 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: vs-title-sweep 2.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes vs-title-sweep {
  0%, 10% { background-position: 150% 0; }
  90%, 100% { background-position: -150% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .vs-form-title::before { opacity: 1; }
  .vs-form-title::after { animation: none; content: none; }
}

.vs-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
}

.vs-form[hidden] { display: none; }

.vs-field { display: flex; flex-direction: column; align-items: stretch; gap: 10px; text-align: left; }
.vs-field-full { grid-column: 1 / -1; }

.vs-field label {
  font-size: .95rem;
  font-weight: 400;
  color: var(--vs-gold);
}

.vs-field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.vs-field-change {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: .8rem;
  font-weight: 400;
  color: var(--vs-copy-muted);
  text-decoration: underline;
  cursor: pointer;
}
.vs-field-change:hover { color: var(--vs-gold); }

.vs-field input,
.vs-field select,
.vs-field textarea {
  width: 100%;
  background-color: transparent;
  background-image: none;
  border: none;
  border-bottom: 1px solid var(--vs-input-border);
  border-radius: 0;
  padding: 8px 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 300;
  color: var(--vs-copy-main);
  outline: none;
  text-align: left;
  transition: border-color .2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.vs-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a7a3a7' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 20px;
  text-align-last: left;
}

.vs-field select option {
  background: #121316;
  color: var(--vs-copy-main);
}

.vs-field textarea { resize: vertical; min-height: 48px; }

.vs-field input::placeholder,
.vs-field textarea::placeholder { color: var(--vs-copy-muted); opacity: .65; }

.vs-field input:focus,
.vs-field select:focus,
.vs-field textarea:focus {
  border-color: var(--vs-gold);
}

.vs-field input:invalid:not(:placeholder-shown) {
  border-color: #c96363;
}

.vs-field input:-webkit-autofill,
.vs-field input:-webkit-autofill:hover,
.vs-field input:-webkit-autofill:focus,
.vs-field input:-webkit-autofill:active,
.vs-field input:autofill {
  -webkit-text-fill-color: var(--vs-copy-main) !important;
  caret-color: var(--vs-copy-main) !important;
  transition: background-color 9999s ease-in-out 0s !important;
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  box-shadow: 0 0 0 1000px transparent inset !important;
  background-color: transparent !important;
  background-image: none !important;
  border-bottom-color: var(--vs-input-border) !important;
}

.vs-phone-input {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border-bottom: 1px solid var(--vs-input-border);
  transition: border-color .2s ease;
}
.vs-phone-input:focus-within { border-color: var(--vs-gold); }

.vs-phone-prefix {
  font-size: 1rem;
  font-weight: 300;
  color: var(--vs-copy-main);
  flex-shrink: 0;
}

.vs-phone-input input {
  width: auto;
  flex: 1 1 auto;
  border-bottom: none;
  padding: 8px 0;
  text-align: left;
}

.vs-submit {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px auto 0;
  padding: 14px 32px;
  border: none;
  border-radius: 999px;
  background: var(--vs-gold);
  color: var(--vs-cta-text);
  font-weight: 700;
  font-size: .98rem;
  width: fit-content;
  transition: filter .2s ease, transform .15s ease;
}
.vs-submit:hover { filter: brightness(1.08); }
.vs-submit:active { transform: scale(.98); }
.vs-submit:disabled { opacity: .6; cursor: not-allowed; }

@media (max-width: 480px) {
  .vs-form { grid-template-columns: 1fr; gap: 28px; }
  .vs-form-card { padding: 28px 24px; }
}

/* ---------- Booking confirmation popup ---------- */

.vs-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7, 9, 13, .72);
  backdrop-filter: blur(4px);
  animation: vs-modal-fade .2s ease;
}

.vs-modal-overlay[hidden] { display: none; }

.vs-modal {
  position: relative;
  width: 100%;
  max-width: 380px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--vs-form-bg);
  border: 1px solid var(--vs-border-soft);
  border-radius: 20px;
  padding: 40px 28px 28px;
  text-align: center;
  animation: vs-modal-pop .25s cubic-bezier(.22, 1, .36, 1);
}

.vs-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--vs-border-soft);
  color: var(--vs-copy-muted);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.vs-modal-close:hover { color: var(--vs-gold); border-color: var(--vs-gold); }

.vs-success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--vs-gold);
  border: 1px solid var(--vs-gold);
}
.vs-modal h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--vs-copy-main);
}
.vs-modal > p {
  font-size: .92rem;
  color: var(--vs-copy-muted);
  margin: 0;
  line-height: 1.6;
}

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

@keyframes vs-modal-pop {
  from { opacity: 0; transform: translateY(16px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .vs-modal-overlay, .vs-modal { animation: none; }
}

/* ---------- Feature strip ---------- */

.vs-features { padding: 48px 20px; border-top: 1px solid var(--vs-border-soft); text-align: center; }

.vs-features-inner {
  max-width: 540px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 768px) {
  .vs-features-inner { grid-template-columns: repeat(2, 1fr); }
}

.vs-portfolio-cta { margin-top: 40px; }

.vs-portfolio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: 999px;
  background: var(--vs-gold);
  color: var(--vs-cta-text);
  font-weight: 700;
  font-size: .98rem;
  text-decoration: none;
  transition: filter .2s ease, transform .15s ease;
}
.vs-portfolio-btn:hover { filter: brightness(1.08); }
.vs-portfolio-btn:active { transform: scale(.98); }

.vs-feature { text-align: center; }

.vs-feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--vs-surface-soft);
  border: 1px solid var(--vs-border-soft);
  color: var(--vs-gold);
  margin: 0 auto 16px;
}

.vs-feature h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--vs-copy-main);
}
.vs-feature p {
  font-size: .88rem;
  color: var(--vs-copy-muted);
  line-height: 1.6;
  margin: 0;
}

.vs-mobile-break { display: none; }

@media (max-width: 767px) {
  .vs-mobile-break { display: inline; }
}


/* ---------- Footer ---------- */

.vs-footer {
  padding: 24px 20px calc(24px + 64px);
  text-align: center;
  font-size: .8rem;
  color: var(--vs-copy-muted);
  border-top: 1px solid var(--vs-border-soft);
  position: relative;
  z-index: 1;
}

.vs-footer-address {
  font-style: normal;
  max-width: 480px;
  margin: 0 auto 10px;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .vs-footer { padding: 24px 20px; }
}

/* ---------- Sticky mobile call bar ---------- */

.vs-sticky-call {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: var(--vs-gold);
  color: var(--vs-cta-text);
  font-weight: 700;
  font-size: .95rem;
}

/* Overrides the inline 18px on the icon. */
.vs-sticky-call svg {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .vs-sticky-call { display: none; }
}

/* ---------- WhatsApp sticky widget ---------- */

.vs-whatsapp-widget {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 1200;
  width: 73px;
  height: 73px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--vs-gold);
  color: var(--vs-cta-text);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  transition: transform .2s ease, filter .2s ease;
}
.vs-whatsapp-widget:hover { filter: brightness(1.08); }
.vs-whatsapp-widget:active { transform: scale(.96); }

@media (min-width: 640px) {
  .vs-whatsapp-widget {
    display: flex;
  }
  .vs-whatsapp-widget svg {
    width: 44px;
    height: 44px;
  }
}

/* ---------- Scroll pop-in reveal ---------- */

.vs-reveal {
  opacity: 0;
  transform: translateY(40px) scale(.96);
  transition: opacity .35s cubic-bezier(.22, 1, .36, 1), transform .35s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}

.vs-reveal.vs-reveal-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.vs-feature-chained {
  opacity: 0;
  transform: translateY(40px) scale(.96);
  transition: opacity .5s cubic-bezier(.22, 1, .36, 1), transform .5s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}

.vs-feature-chained.vs-feature-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; }

  .vs-reveal {
    opacity: 1;
    transform: none;
  }

  .vs-feature-chained {
    opacity: 1;
    transform: none;
  }
}
