/* Base styles and reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --dark-soft: #1a1a1a;
  --white: #e8e4df;
  --white-bright: #f5f2ed;
  --gold: #c6a86b;
  --gold-light: #d4bc87;
  --gold-dark: #a8903d;
  --gray: #6b6b6b;
  --gray-light: #999999;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold-light);
}

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 10rem 0;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent);
  pointer-events: none;
  z-index: 1;
}

.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white-bright);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 1.5rem 0;
  transition: background 0.5s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 0;
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.4);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.2rem 0 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
}

.nav__logo {
  height: 65px;
  width: auto;
  transition: height 0.4s ease, opacity 0.3s ease;
}

.nav__logo:hover {
  opacity: 0.8;
}

.nav.is-scrolled .nav__logo {
  height: 45px;
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__links a {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s ease;
}

.nav__links a:hover {
  color: var(--gold);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__cta {
  border: 1px solid var(--gold) !important;
  padding: 0.5rem 1.4rem !important;
  color: var(--gold) !important;
  transition: background 0.3s ease, color 0.3s ease !important;
}

.nav__cta:hover {
  background: var(--gold) !important;
  color: var(--black) !important;
}

.nav__cta::after {
  display: none !important;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white-bright);
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav__toggle.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}

.nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* Scroll reveal animations */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay for grid items */
.stagger {
  transition-delay: calc(var(--delay, 0) * 0.12s);
}

/* Slide in from sides */
.slide-in-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale entrance */
.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Hero text reveal */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-text {
  opacity: 0;
  animation: revealUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: inherit;
}

.hero__content.is-visible .reveal-text {
  animation-play-state: running;
}

/* Parallax base */
.parallax-bg img {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.8rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
}

.btn--gold {
  background: var(--gold);
  color: var(--black);
}

.btn--gold:hover {
  background: var(--gold-light);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(198, 168, 107, 0.2);
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: heroKenBurns 25s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }
  30% {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
  60% {
    transform: scale(1.08) translate3d(1%, -2%, 0);
  }
  100% {
    transform: scale(1.15) translate3d(-0.5%, -1.5%, 0);
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.4) 0%,
    rgba(10, 10, 10, 0.6) 50%,
    rgba(10, 10, 10, 0.85) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 5rem);
  color: var(--white-bright);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero__subtitle {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 3rem;
}

/* Scroll hint arrow */
.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  animation: fadeInUp 1.5s ease 1.2s forwards;
  opacity: 0;
}

.hero__scroll-hint span {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-light);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes fadeInUp {
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}

/* Positioning quote */
.section--positioning {
  padding: 10rem 0;
  text-align: center;
  background: var(--black);
}

.quote {
  max-width: 700px;
  margin: 0 auto;
}

.quote p {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.quote__emphasis {
  color: var(--gold) !important;
  font-style: normal !important;
  margin-top: 1.5rem !important;
  font-weight: 500 !important;
}

/* What's included grid */
.section--included {
  background: var(--dark);
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem 3rem;
  margin-top: 4rem;
}

.grid__icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.grid__item h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--white-bright);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.grid__item p {
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* Experience split section */
.section--experience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  padding: 0;
  background: var(--black);
}

.experience__image {
  position: relative;
  overflow: hidden;
}

.experience__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

.experience__image:hover img {
  transform: scale(1.05);
}

.experience__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 5rem;
}

.experience__words {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: 3rem;
}

.experience__words span {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--gold);
  font-style: italic;
}

.experience__closing {
  font-size: 1.1rem;
  color: var(--gray-light);
  letter-spacing: 0.04em;
}

/* Hosted / differentiator */
.section--hosted {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hosted__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hosted__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hosted__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.75);
}

.hosted__content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0 auto;
}

.hosted__content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--white);
  line-height: 1.9;
  margin-top: 1rem;
}

/* Exclusivity */
.section--exclusive {
  background: var(--dark);
  text-align: center;
  padding: 10rem 0;
}

.exclusive__text {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 400;
  color: var(--white-bright);
  line-height: 1.6;
}

.exclusive__divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 3rem auto;
}

.exclusive__limited {
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
}

/* Contact form */
.section--cta {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.82);
}

.cta__content {
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin: 0 auto;
}

.cta__text {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--white);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.cta__form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.cta__form input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(198, 168, 107, 0.25);
  padding: 1rem 1.4rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--white-bright);
  transition: border-color 0.3s ease, background 0.3s ease;
  outline: none;
}

.cta__form input::placeholder {
  color: var(--gray);
  letter-spacing: 0.05em;
}

.cta__form input:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.09);
}

.cta__form .btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* Footer */
.footer {
  background: var(--dark);
  text-align: center;
  padding: 5rem 2rem 3rem;
  border-top: 1px solid rgba(198, 168, 107, 0.12);
}

.footer__logo {
  height: 60px;
  width: auto;
  margin: 0 auto 1.5rem;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.footer__logo:hover {
  opacity: 1;
}

.footer__brand {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--white-bright);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--gray-light);
}

.footer__links a:hover {
  color: var(--gold);
}

.footer__copy {
  margin-top: 3rem;
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.05em;
}

/* WhatsApp float */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  width: 56px;
  height: 56px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(198, 168, 107, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  color: var(--black);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(198, 168, 107, 0.5);
}

/* Grid hover effects */
.grid__item {
  transition: transform 0.4s ease;
}

.grid__item:hover {
  transform: translateY(-8px);
}

.grid__item:hover .grid__icon {
  animation: iconGlow 0.6s ease forwards;
}

@keyframes iconGlow {
  0% { filter: drop-shadow(0 0 0 transparent); }
  100% { filter: drop-shadow(0 0 12px rgba(198, 168, 107, 0.4)); }
}

/* Responsive */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
  }

  .experience__text {
    padding: 4rem 3rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 6rem 0;
  }

  .section__title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: 1.5rem;
  }

  /* Mobile nav */
  .nav {
    padding: 0.8rem 0;
  }

  .nav.is-scrolled {
    padding: 0.6rem 0;
  }

  .nav__inner {
    padding: 0 1.2rem 0 0.6rem;
  }

  .nav__logo {
    height: 45px;
  }

  .nav.is-scrolled .nav__logo {
    height: 38px;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75vw;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.2rem;
    padding: 2rem;
    transition: right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  }

  .nav__links.is-open {
    right: 0;
  }

  .nav__links a {
    font-size: 1.05rem;
    letter-spacing: 0.15em;
  }

  .nav__cta {
    padding: 0.7rem 2rem !important;
    margin-top: 1rem;
    font-size: 0.95rem !important;
    letter-spacing: 0.12em !important;
    background: var(--gold) !important;
    color: var(--black) !important;
    border-radius: 2px;
  }

  .nav__cta:hover {
    background: var(--white) !important;
  }

  /* Hero */
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero__title {
    font-size: clamp(2rem, 10vw, 3.2rem);
    padding: 0 0.5rem;
  }

  .hero__subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    margin-bottom: 2.5rem;
  }

  .hero__content {
    padding: 1.5rem;
  }

  .btn {
    padding: 1rem 2.2rem;
    font-size: 0.82rem;
    width: auto;
  }

  .hero__scroll-hint {
    bottom: 1.5rem;
  }

  /* Positioning */
  .section--positioning {
    padding: 6rem 0;
  }

  .quote p {
    font-size: clamp(1.1rem, 4.5vw, 1.5rem);
    line-height: 1.7;
  }

  .quote__emphasis {
    margin-top: 1rem !important;
  }

  /* Grid */
  .section--included {
    padding: 5rem 0;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 1.5rem;
    margin-top: 3rem;
  }

  .grid__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
  }

  .grid__item h3 {
    font-size: 1.05rem;
  }

  .grid__item p {
    font-size: 0.85rem;
  }

  /* Experience */
  .section--experience {
    grid-template-columns: 1fr;
  }

  .experience__image {
    height: 45vh;
    min-height: 280px;
  }

  .experience__text {
    padding: 3.5rem 1.8rem;
    text-align: center;
  }

  .experience__words {
    justify-content: center;
    gap: 0.8rem 1.5rem;
  }

  .experience__words span {
    font-size: 1.3rem;
  }

  .experience__closing {
    font-size: 1rem;
  }

  /* Hosted */
  .section--hosted {
    min-height: 55vh;
    padding: 5rem 0;
  }

  .hosted__content {
    padding: 0 1rem;
  }

  .hosted__content p {
    font-size: 1rem;
  }

  /* Exclusive */
  .section--exclusive {
    padding: 6rem 0;
  }

  .exclusive__text {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
    padding: 0 0.5rem;
  }

  .exclusive__divider {
    margin: 2rem auto;
  }

  .exclusive__limited {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
  }

  /* Form */
  .section--cta {
    min-height: 70vh;
    padding: 5rem 0;
  }

  .cta__content {
    padding: 0 1.2rem;
    max-width: 100%;
  }

  .cta__text {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .cta__form {
    gap: 1rem;
  }

  .cta__form input {
    padding: 1rem 1.2rem;
    font-size: 16px; /* prevents iOS zoom */
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
  }

  .cta__form .btn {
    padding: 1.1rem 2rem;
    font-size: 0.85rem;
  }

  /* Footer */
  .footer {
    padding: 4rem 1.5rem 2.5rem;
  }

  .footer__brand {
    font-size: 1.2rem;
  }

  .footer__tagline {
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .footer__links a {
    font-size: 0.85rem;
    word-break: break-all;
  }

  .footer__copy {
    margin-top: 2rem;
    font-size: 0.7rem;
  }

  /* WhatsApp */
  .whatsapp-btn {
    bottom: 1.2rem;
    right: 1.2rem;
    width: 52px;
    height: 52px;
  }

  .whatsapp-btn svg {
    width: 26px;
    height: 26px;
  }

  /* Simplified animations on small screens */
  .slide-in-left,
  .slide-in-right {
    transform: translateY(30px);
  }

  .slide-in-left.is-visible,
  .slide-in-right.is-visible {
    transform: translateY(0);
  }

  /* Disable parallax on mobile for performance */
  .parallax-bg img {
    transform: none !important;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 4rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  .hero__title {
    font-size: clamp(1.8rem, 9vw, 2.8rem);
  }

  .hero__subtitle {
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    margin-bottom: 2rem;
  }

  .btn {
    padding: 0.9rem 1.8rem;
    font-size: 0.78rem;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .grid__item {
    padding: 0 1rem;
  }

  .section--positioning {
    padding: 4.5rem 0;
  }

  .quote p {
    font-size: clamp(1rem, 4.5vw, 1.3rem);
  }

  .experience__image {
    height: 38vh;
    min-height: 240px;
  }

  .experience__text {
    padding: 3rem 1.2rem;
  }

  .section--hosted {
    min-height: 50vh;
  }

  .section--exclusive {
    padding: 4.5rem 0;
  }

  .section--cta {
    min-height: auto;
    padding: 4rem 0;
  }

  .cta__form input {
    padding: 0.9rem 1rem;
  }

  .nav__links {
    width: 85vw;
  }

  .nav__logo {
    height: 38px;
  }

  .nav.is-scrolled .nav__logo {
    height: 32px;
  }
}
