/* ═══════════════════════════════════════════════════════
   CASA PARAÍSO — style.css
   Editorial · Minimal · Neutral elegant
═══════════════════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Variables ──
   Official Casa Paraíso palette (STX brand kit):
   cream #E9E5D8 · green #1F2B1B · gold #C49137           */
:root {
  --cream:     #DCD7C6;   /* deeper cream — image placeholders, borders */
  --cream-lt:  #E9E5D8;   /* official cream — main background */
  --sand:      #C49137;   /* official gold */
  --sand-dk:   #9A7328;   /* deeper gold — small labels/eyebrows on cream */
  --warm-gray: #5A5040;
  --dark:      #1F2B1B;   /* official forest green */
  --white:     #FFFFFF;

  --font-display: 'Cinzel', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;
  --ease:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --gutter: clamp(24px, 5vw, 80px);
}

body {
  font-family: var(--font-body);
  background: var(--cream-lt);
  color: var(--dark);
  overflow-x: hidden;
}
em { font-style: italic; }

/* ── Reveal ──
   Only hidden when JS is available (html.js) so content stays visible
   with JS off. Motion disabled for prefers-reduced-motion.            */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}


/* ═══════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  height: 64px;
  background: var(--sand);
  transition: background .4s, box-shadow .4s;
}
.nav.solid {
  background: var(--sand);
  box-shadow: 0 1px 0 rgba(0,0,0,.12);
}

.nav__logo {
  display: flex;
  align-items: center;
  height: 100%;
}
.nav__logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav__links a {
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dark);
  transition: color .25s;
}
.nav__links a:hover { color: rgba(28,51,33,.6); }

.nav__cta {
  padding: 8px 22px !important;
  border: 1px solid var(--dark) !important;
  border-radius: 0 !important;
  color: var(--dark) !important;
  transition: background .25s, border-color .25s, color .25s !important;
}
.nav__cta:hover {
  background: var(--dark) !important;
  color: var(--sand) !important;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--dark);
}

.mobile-menu {
  position: fixed;
  inset: 64px 0 0;
  z-index: 99;
  background: var(--white);
  padding: 48px var(--gutter);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav {
  display: flex;
  flex-direction: column;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--dark);
  border-bottom: 1px solid #eee;
  padding: 18px 0;
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--sand-dk); }


/* ═══════════════════════════════════════════════════════
   HERO — SPLIT HEADER + WIDE IMAGE
═══════════════════════════════════════════════════════ */
.hero {
  background: var(--cream-lt);
  padding-top: 64px; /* nav offset */
}

/* Top strip: title left | text right */
.hero__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  padding: 60px var(--gutter) 40px;
  gap: 40px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 8.5rem);
  font-weight: 300;
  letter-spacing: .06em;
  line-height: .95;
  color: var(--dark);
  animation: fadeUp .9s var(--ease) both;
}

/* Official wordmark used as hero brand lockup */
.hero__logo {
  width: 100%;
  max-width: 460px;
  height: auto;
  animation: fadeUp .9s var(--ease) both;
}

/* ── Brand ornament (STX graphic element) ── */
.ornament {
  display: block;
  width: 34px;
  height: auto;
  margin-bottom: 1.1rem;
}
.ornament--center { margin-left: auto; margin-right: auto; }

.hero__right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.5rem;
  padding-bottom: .5rem;
  animation: fadeUp .9s .15s var(--ease) both;
}

.hero__eyebrow {
  font-size: .58rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--sand-dk);
}

.hero__desc {
  font-size: .92rem;
  color: var(--warm-gray);
  line-height: 1.9;
  max-width: 380px;
}

.hero__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dark);
  font-weight: 500;
  transition: gap .25s;
}
.hero__link::after {
  content: '→';
  font-size: .9rem;
  transition: transform .25s;
}
.hero__link:hover { gap: 16px; }
.hero__link:hover::after { transform: translateX(4px); }

/* Full-width image below header */
.hero__img {
  width: 100%;
  height: clamp(420px, 65vw, 760px);
  overflow: hidden;
  position: relative;
}
.hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 75%;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}


/* ═══════════════════════════════════════════════════════
   STORY — TEXT + EDITORIAL COLLAGE
═══════════════════════════════════════════════════════ */
.story {
  background: var(--cream-lt);
  padding: clamp(72px, 9vw, 120px) var(--gutter);
}

.story__inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.story__left { }

.story__label {
  font-size: .54rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--sand-dk);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.4rem;
}
.story__label::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--sand-dk);
}

.story__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.4rem;
}
.story__title em { color: var(--sand-dk); }

.story__text {
  font-size: .86rem;
  color: var(--warm-gray);
  line-height: 1.95;
}
.story__text p + p { margin-top: 1rem; }

/* Editorial photo collage */
.story__collage {
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.9fr;
  grid-template-rows: auto auto;
  gap: 10px;
  align-items: start;
}

.sc {
  overflow: hidden;
  background: var(--cream);
}
.sc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
  display: block;
}
.sc:hover img { transform: scale(1.04); }

/* Tall left image */
.sc--tall {
  grid-column: 1;
  grid-row: 1 / 3;
  aspect-ratio: 3/4;
}
/* Top center */
.sc--mid {
  grid-column: 2;
  grid-row: 1;
  aspect-ratio: 1/1.1;
}
/* Top right */
.sc--sm {
  grid-column: 3;
  grid-row: 1;
  aspect-ratio: 3/4;
}
/* Bottom wide */
.sc--wide {
  grid-column: 2 / 4;
  grid-row: 2;
  aspect-ratio: 2/1;
}


/* ═══════════════════════════════════════════════════════
   MARQUEE DIVIDER
═══════════════════════════════════════════════════════ */
.marquee {
  overflow: hidden;
  background: var(--dark);
  padding: 18px 0;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  animation: marquee 24s linear infinite;
}
.marquee__item {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: .1em;
  color: var(--sand);
  padding: 0 2.5rem;
}
.marquee__dot {
  color: var(--sand-dk);
  padding: 0 .5rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ═══════════════════════════════════════════════════════
   GALLERY STRIP
═══════════════════════════════════════════════════════ */
.gallery {
  background: var(--cream-lt);
  padding: clamp(72px, 9vw, 120px) var(--gutter) clamp(40px, 6vw, 80px);
}
.gallery__inner { max-width: 1280px; margin: 0 auto; }

.gallery__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.gallery__head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--dark);
}
.gallery__count {
  font-size: .58rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sand-dk);
}

.gallery__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gallery__row + .gallery__row {
  margin-top: 10px;
}

.gi {
  overflow: hidden;
  background: var(--cream);
}
.gi img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
  display: block;
}
.gi:hover img { transform: scale(1.04); }

/* Row 1 */
.gi--landscape { aspect-ratio: 4/3; }
.gi--portrait  { aspect-ratio: 3/4; }
.gi--square    { aspect-ratio: 1/1; }

/* Gliding photo strip */
.gallery__strip {
  margin-top: 34px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.gallery__strip-track {
  display: inline-flex;
  gap: 14px;
  animation: gallery-glide 42s linear infinite;
}
.gallery__strip:hover .gallery__strip-track {
  animation-play-state: paused;
}
.gs-item {
  flex: 0 0 auto;
  width: clamp(200px, 22vw, 300px);
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--cream);
}
.gs-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease);
}
.gs-item:hover img { transform: scale(1.05); }
@keyframes gallery-glide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .gallery__strip-track { animation: none; }
}


/* ═══════════════════════════════════════════════════════
   PACKAGES TEASER
═══════════════════════════════════════════════════════ */
.pkgs-teaser {
  background: var(--dark);
  padding: clamp(80px, 10vw, 130px) var(--gutter);
}
.pkgs-teaser__inner { max-width: 1160px; margin: 0 auto; }

.pkgs-teaser__head {
  margin-bottom: clamp(40px, 5vw, 64px);
}
.pkgs-teaser__head .story__label { color: var(--sand); }
.pkgs-teaser__head .story__label::before { background: var(--sand); }
.pkgs-teaser__head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  margin-top: .6rem;
}
.pkgs-teaser__head h2 em { color: var(--sand); font-style: italic; }

.pkgs-teaser__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.06);
  margin-bottom: 2.5rem;
}

/* Package cards */
.pkg-card {
  background: rgba(255,255,255,.03);
  padding: clamp(28px, 3vw, 44px) clamp(24px, 2.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: .8rem;
  transition: background .3s;
  text-decoration: none;
}
.pkg-card:hover { background: rgba(255,255,255,.07); }

.pkg-card__tag {
  font-size: .52rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sand-dk);
}
.pkg-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
}
.pkg-card__price {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 300;
  color: var(--sand);
  line-height: 1;
}
.pkg-card__desc {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  line-height: 1.85;
  flex: 1;
}
.pkg-card__link {
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sand-dk);
  margin-top: .5rem;
  transition: color .2s;
}
.pkg-card:hover .pkg-card__link { color: var(--sand); }

.pkgs-teaser__cta { text-align: center; }
.pkgs-teaser__btn {
  display: inline-block;
  padding: 13px 36px;
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .25s, border-color .25s;
}
.pkgs-teaser__btn:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.4);
}

/* ═══════════════════════════════════════════════════════
   CTA — DARK SECTION, BIG TEXT OVER IMAGE
═══════════════════════════════════════════════════════ */
.cta {
  position: relative;
  background: var(--dark);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.cta__bg {
  position: absolute;
  inset: 0;
}
.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: .35;
}

.cta__inner {
  position: relative;
  z-index: 1;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  width: 100%;
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 11vw, 11rem);
  font-weight: 300;
  letter-spacing: .06em;
  line-height: .9;
  color: var(--white);
  margin-bottom: 2.5rem;
}
.cta__title em { color: var(--sand); font-style: italic; }

.cta__sub {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  line-height: 1.9;
  max-width: 460px;
  margin-bottom: 2.8rem;
}

.cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 36px;
  border: 1px solid rgba(255,255,255,.4);
  color: var(--white);
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .25s, border-color .25s;
}
.cta__btn:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}
.cta__btn span { font-size: .9rem; }


/* ═══════════════════════════════════════════════════════
   BOOK A TOUR
═══════════════════════════════════════════════════════ */
.book {
  background: var(--cream-lt);
  padding: clamp(80px, 10vw, 140px) var(--gutter);
}
.book__inner {
  max-width: 860px;
  margin: 0 auto;
}

.book__head {
  margin-bottom: 3.5rem;
}
.book__label {
  font-size: .54rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--sand-dk);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.2rem;
}
.book__label::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--sand-dk);
}
.book__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 300;
  color: var(--dark);
  line-height: 1.05;
}
.book__title em { color: var(--sand-dk); }
.book__sub {
  font-size: .88rem;
  color: var(--warm-gray);
  line-height: 1.9;
  margin-top: 1rem;
  max-width: 500px;
}

/* Form */
.book__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(0,0,0,.07);
  border: 1px solid rgba(0,0,0,.07);
}
.book__field {
  background: var(--cream-lt);
  position: relative;
  padding: 0;
}
.book__field label {
  position: absolute;
  top: 10px; left: 18px;
  font-size: .5rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sand-dk);
  pointer-events: none;
}
.book__field input,
.book__field select,
.book__field textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: .85rem;
  color: var(--dark);
  padding: 28px 18px 10px;
  line-height: 1.4;
  appearance: none;
}
.book__field select option { background: var(--white); }
.book__field--full { grid-column: 1 / -1; }
.book__field textarea { resize: none; height: 110px; }
.book__field input::placeholder,
.book__field textarea::placeholder { color: rgba(0,0,0,.2); font-size: .82rem; }

.book__submit {
  grid-column: 1 / -1;
  width: 100%;
  padding: 18px;
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s;
  border: none;
  margin-top: 1px;
  display: block;
}
.book__submit:hover { background: #152918; }

.book__confirm {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--dark);
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid rgba(31,43,27,.15);
  background: var(--cream);
  text-align: center;
}

.book__note {
  margin-top: 1.5rem;
  font-size: .68rem;
  color: var(--warm-gray);
  letter-spacing: .06em;
}
.book__note a { color: var(--sand-dk); border-bottom: 1px solid rgba(168,147,110,.3); }


/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 28px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__name {
  display: flex;
  align-items: center;
}
.footer__logo-img {
  height: 52px;
  width: auto;
  display: block;
}
.footer__copy {
  font-size: .56rem;
  letter-spacing: .1em;
  color: rgba(255,255,255,.2);
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .story__inner { grid-template-columns: 1fr; }
  .story__collage { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .hero__header { grid-template-columns: 1fr; gap: 24px; padding-bottom: 28px; }
  .hero__title { font-size: clamp(3rem, 12vw, 5rem); }

  .story__collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .sc--tall { grid-column: 1; grid-row: 1 / 3; }
  .sc--mid  { grid-column: 2; grid-row: 1; }
  .sc--sm   { grid-column: 2; grid-row: 2; }
  .sc--wide { grid-column: 1 / 3; grid-row: 3; }

  .gallery__row { grid-template-columns: 1fr 1fr; }
  .gallery__row .gi:last-child { display: none; }

  .cta__title { font-size: clamp(3rem, 12vw, 6rem); }

  .book__form { grid-template-columns: 1fr; }

  .footer { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .story__collage { grid-template-columns: 1fr; }
  .sc--tall, .sc--mid, .sc--sm, .sc--wide {
    grid-column: 1; grid-row: auto;
    aspect-ratio: 4/3;
  }
  .gallery__row { grid-template-columns: 1fr; }
}
