:root {
  color-scheme: dark;
}

html {
  scroll-padding-top: 96px;
}

body {
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

a,
button,
input,
select,
textarea,
[role="button"] {
  transition: box-shadow 180ms ease, transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, opacity 180ms ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid rgba(236, 198, 111, 0.95);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(236, 198, 111, 0.16);
}

.lux-btn-gold,
.lux-btn-outline,
.lux-btn-ghost,
.home-filter,
.social-icon-btn,
.mobile-whatsapp-btn,
.faq-question {
  border-radius: 999px;
}

.lux-btn-gold:hover,
.lux-btn-outline:hover,
.lux-btn-ghost:hover,
.social-icon-btn:hover,
.mobile-whatsapp-btn:hover {
  transform: translateY(-2px);
}

.lux-nav.scrolled,
.review-card-glass,
.portfolio-card,
.package-card,
.journal-card,
.instagram-post,
.footer-map-card,
.lux-form,
.faq-item,
.service-card,
.masonry-item {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.24);
}

.lux-nav.scrolled {
  backdrop-filter: blur(18px);
  background: rgba(10, 10, 10, 0.84);
}

.lux-mobile-menu {
  overscroll-behavior: contain;
}

.lux-form {
  position: relative;
}

.form-input,
.form-select,
select,
input,
textarea {
  min-height: 52px;
}

.form-input,
.form-select,
textarea,
select {
  width: 100%;
}

.field-error {
  display: block;
  margin-top: 8px;
  color: #ffb4b4;
  font-size: 0.92rem;
}

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(236, 198, 111, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: #f7f0de;
}

.form-status[data-state="error"] {
  border-color: rgba(255, 117, 117, 0.28);
  color: #ffd6d6;
}

.form-status[data-state="success"] {
  border-color: rgba(123, 210, 160, 0.28);
  color: #d8ffe8;
}

[aria-invalid="true"] {
  border-color: rgba(255, 117, 117, 0.82) !important;
  box-shadow: 0 0 0 4px rgba(255, 117, 117, 0.12);
}

.faq-answer[hidden] {
  display: none !important;
}

.home-hero::after,
.section-pad::after {
  pointer-events: none;
}

.home-hero-title,
.section-heading,
h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li,
.home-hero-subtitle,
.section-copy {
  text-wrap: pretty;
}

.portfolio-masonry,
.journal-grid,
.signature-grid,
.package-grid,
.films-grid,
.booking-grid,
.footer-shell,
.hero-proof-stack,
.hero-metrics {
  min-width: 0;
}

.portfolio-card,
.review-card-glass,
.journal-card,
.package-card,
.instagram-post,
.footer-map-card {
  overflow: clip;
}

@media (max-width: 1024px) {
  .lux-container,
  .footer-shell,
  .home-hero-layout,
  .booking-grid {
    min-width: 0;
  }
}

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .lux-container {
    width: min(100% - 32px, 1280px);
  }

  .home-hero {
    min-height: 88svh;
  }

  .home-hero-layout {
    gap: 24px;
  }

  .home-hero-actions,
  .booking-action-stack,
  .pkg-cta-buttons,
  .footer-bottom,
  .footer-legal-links {
    width: 100%;
  }

  .home-hero-actions > *,
  .booking-action-stack > *,
  .pkg-cta-buttons > * {
    width: 100%;
    justify-content: center;
  }

  table,
  iframe {
    display: block;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
