/* ===== Luna Lupi — Layout: Appbar, Buttons, Hero, Metrics, Block typography ===== */

/* ===== Top app bar ===== */
.appbar {
  position: sticky;
  top: 0;
  z-index: 50;
  margin: 0 auto var(--block-gap);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px 10px 12px;
  background: color-mix(in srgb, var(--cream) 85%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1), opacity 280ms ease;
}
.appbar.is-hidden {
  transform: translateY(calc(-100% - var(--block-gap) - 8px));
  opacity: 0;
  pointer-events: none;
}
.appbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.appbar-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: contain;
  background: var(--surface);
  padding: 4px;
  box-shadow: var(--shadow-sm);
}
.appbar-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.appbar-tag {
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.appbar-text { display: flex; flex-direction: column; line-height: 1.15; }

.appbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.appbar-link {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  transition: background 160ms, color 160ms;
}
.appbar-link:hover { background: var(--cream-warm); }
.appbar-link.is-active { background: var(--navy); color: var(--cream); }
.appbar-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-left: 6px;
}
.appbar-cta:hover { background: var(--coral-deep); }
.booking-dropdown-wrap { position: relative; }
.booking-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  min-width: 220px;
  overflow: hidden;
  z-index: 200;
  animation: fadeIn 120ms ease;
}
.booking-option {
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  transition: background 120ms;
  border-bottom: 1px solid var(--line-soft);
}
.booking-option:last-child { border-bottom: none; }
.booking-option:hover { background: var(--cream); color: var(--coral-deep); }
.appbar-toggle {
  display: none;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.appbar-toggle span { display: block; width: 16px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform 160ms, background 160ms, color 160ms;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--navy-deep); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-deep); }
.btn-light { background: rgba(255,255,255,0.18); color: #fff; backdrop-filter: blur(8px); }
.btn-light:hover { background: rgba(255,255,255,0.28); }
.btn-outline { background: transparent; border-color: currentColor; color: inherit; }
.btn-outline:hover { background: currentColor; color: var(--cream); }
.btn-ghost { background: transparent; padding: 12px 4px; }
.btn-ghost:hover { transform: none; color: var(--coral-deep); }
.btn-arrow::after { content: "→"; transition: transform 200ms; display: inline-block; }
.btn-arrow:hover::after { transform: translateX(3px); }
.btn-sm { padding: 8px 14px; font-size: 12px; }
.btn-lg { padding: 16px 26px; font-size: 15px; }

/* ===== Hero block ===== */
.hero-block {
  grid-column: span 12;
  background: linear-gradient(135deg, var(--cream-warm) 0%, var(--sand) 100%);
  color: var(--navy);
  padding: 0;
  border: 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
  min-height: 560px;
  position: relative;
  overflow: hidden;
}
.hero-block::before {
  content: "";
  position: absolute;
  top: -30%; right: -15%;
  width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, color-mix(in srgb, var(--coral) 32%, transparent), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero-block-text {
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.hero-block .eyebrow { color: var(--coral-deep); margin-bottom: 20px; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 6.5vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  color: var(--navy);
  text-wrap: balance;
}
.hero-title .accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--coral-deep);
  letter-spacing: -0.02em;
}
.hero-lede {
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--navy) 75%, transparent);
  margin: 0 0 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-photo {
  position: relative;
  align-self: end;
  justify-self: end;
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 18px 30px rgba(14, 19, 64, 0.18));
}
.hero-pill {
  position: absolute;
  top: 20px; right: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  backdrop-filter: blur(8px);
  z-index: 3;
}

/* Hero metric mini-blocks */
.hero-metrics {
  grid-column: span 12;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--block-gap);
}
.metric {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 18px 22px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.metric-value {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--navy);
  line-height: 1;
}
.metric-label {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

/* ===== Block titles ===== */
.block-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--navy);
  text-wrap: balance;
}
.block.is-navy .block-title,
.block.is-deep .block-title { color: var(--cream); }
.block.is-coral .block-title { color: #fff; }

.block-title .accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--coral-deep);
}
.block.is-navy .block-title .accent,
.block.is-deep .block-title .accent { color: var(--coral-soft); }
.block.is-coral .block-title .accent { color: var(--cream); }

.block-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.block-head.row {
  flex-direction: row;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.block-head p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 50ch;
}
.block.is-navy .block-head p,
.block.is-deep .block-head p { color: color-mix(in srgb, var(--cream) 70%, transparent); }
.block.is-coral .block-head p { color: rgba(255,255,255,0.88); }
