/* ============================================================
   Northstar Demo Bistro - Group Bookings - Design System
   Brand: navy + gold, editorial cinematic, mobile-first.
   All colors are CSS variables, swap the :root block to rebrand.
   ============================================================ */

:root {
  /* Palette (swap these to rebrand) */
  --brand-deep: #14181F;   /* deepest background / overlay */
  --brand: #1F2A3A;        /* primary surface */
  --brand-light: #33455C;  /* lighter surface */
  --accent: #C9A961;       /* accent / CTA (gold) */
  --accent-bright: #E8C97E;
  --cream: #F5F1E8;        /* text on dark */
  --cream-dim: #C9C4B6;
  --ink: #14181F;          /* text on accent */

  /* Type */
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Space */
  --pad-x: clamp(20px, 5vw, 80px);
  --section-pad: clamp(60px, 10vw, 140px);
  --radius: 4px;
  --max: 1360px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--brand-deep);
  color: var(--cream);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--accent-bright); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ============================================================
   LANGUAGE TOGGLE (top-right)
   ============================================================ */
.lang-toggle {
  position: fixed;
  top: 14px; right: 14px;
  z-index: 120;
  display: flex;
  gap: 2px;
  background: rgba(20, 24, 31, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: var(--radius);
  padding: 3px;
}
.lang-btn {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: calc(var(--radius) - 1px);
  color: var(--cream-dim);
  transition: all 0.2s var(--ease);
}
.lang-btn.lang-active {
  background: var(--accent);
  color: var(--ink);
}
.lang-btn:hover:not(.lang-active) { color: var(--cream); }

/* ============================================================
   QUICK BAR (sticky on scroll)
   ============================================================ */
.quick-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(20, 24, 31, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
  z-index: 100;
  padding: 12px var(--pad-x);
  transform: translateY(-100%);
  transition: transform 0.3s var(--ease);
}
.quick-bar.show { transform: translateY(0); }
.qb-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--cream);
}
.qb-item strong { color: var(--accent); font-weight: 500; }
.qb-dot { color: var(--accent); opacity: 0.5; }
.qb-cta {
  margin-left: auto;
  background: var(--accent);
  color: var(--ink);
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.qb-cta:hover { background: var(--accent-bright); color: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  transform: scale(1.05);
  animation: heroZoom 14s var(--ease-out) forwards;
}
.hero-bg-pic { display: block; }
.hero-bg-pic img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,24,31,0.35) 0%, rgba(20,24,31,0.6) 70%, rgba(20,24,31,0.95) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad-x);
  max-width: 800px;
  animation: heroFadeIn 1.6s var(--ease-out) forwards;
}
.hero-logo {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.6em;
  color: var(--accent);
  margin-bottom: 28px;
  opacity: 0.95;
  text-transform: uppercase;
}
.hero-tagline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.char-line { display: block; }
.char-line:nth-child(2) { color: var(--accent-bright); font-style: italic; }
/* When JS is enabled, pre-hide char-lines to avoid a flash before GSAP animates them. */
.js .hero-tagline .char-line { opacity: 0; will-change: opacity; }
.hero-tagline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
}
@media (prefers-reduced-motion: reduce) {
  .js .hero-tagline .char-line,
  .hero-tagline .word { opacity: 1 !important; transform: none !important; }
}
.hero-sub {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--cream-dim);
  letter-spacing: 0.05em;
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 100%;
  word-wrap: break-word;
}
@media (max-width: 380px) {
  .hero-sub { font-size: 13px; letter-spacing: 0.02em; }
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: 0.02em;
  color: var(--accent);
  background: transparent;
  border: 0;
  padding: 0.6em 0;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: color 180ms var(--ease);
}
.hero-cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0.25em;
  height: 1px;
  background: var(--accent);
  transition: right 320ms var(--ease);
}
.hero-cta:hover::after,
.hero-cta:focus-visible::after { right: 0; }
.hero-cta:focus-visible {
  outline: 1px dashed var(--accent);
  outline-offset: 6px;
}

/* Live availability lozenge under hero CTA - read-only signal */
.live-avail {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--cream);
  letter-spacing: 0.01em;
  flex-wrap: nowrap;
  max-width: 100%;
}
.live-avail-pulse {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.live-avail-pulse::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
  animation: liveAvailPulse 2.4s var(--ease-out) infinite;
}
@keyframes liveAvailPulse {
  0% { transform: scale(0.8); opacity: 0.45; }
  80% { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}
.live-avail-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.35;
  min-width: 0;
}
.live-avail-line { color: var(--cream); font-weight: 400; }
.live-avail-line strong { color: var(--accent); font-weight: 500; }
@media (max-width: 380px) {
  .live-avail { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .live-avail-pulse::before { animation: none; }
}
.hero-cta .arrow {
  display: inline-block;
  transition: transform 260ms var(--ease);
}
.hero-cta:hover .arrow { transform: translateX(4px); }
.hero-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--accent);
  opacity: 0.6;
  animation: scrollHint 2s infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 0.8; }
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SECTIONS: GLOBAL
   ============================================================ */
section {
  padding: var(--section-pad) var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
}
.pattern-divider {
  display: block;
  width: 100%;
  height: 32px;
  border: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 32' width='40' height='32' fill='none' stroke='%23C9A961' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'><line x1='0' y1='16' x2='40' y2='16'/><path d='M20 6 L30 16 L20 26 L10 16 Z'/><path d='M20 11 L25 16 L20 21 L15 16 Z'/><circle cx='0' cy='16' r='1'/><circle cx='40' cy='16' r='1'/></svg>");
  background-repeat: repeat-x;
  background-position: center;
  background-size: 40px 32px;
  opacity: 0.45;
  margin: 0 auto;
  max-width: var(--max);
}
.section-title-row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 5vw, 56px);
  color: var(--cream);
  letter-spacing: -0.01em;
}
.section-title-en {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 2vw, 22px);
  color: var(--accent);
  letter-spacing: 0.05em;
}
.section-sub {
  color: var(--cream-dim);
  font-size: 15px;
  margin-bottom: 40px;
  margin-top: -28px;
}

/* ============================================================
   GALLERY (Swiper)
   ============================================================ */
.gallery-swiper {
  width: 100%;
  padding-bottom: 60px;
}
.gallery-swiper .swiper-slide {
  width: 420px;
  height: 320px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
}
.gallery-swiper .swiper-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-swiper .swiper-slide:hover img { transform: scale(1.06); }
.gallery-swiper .slide-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 20px 18px;
  background: linear-gradient(to top, rgba(20,24,31,0.9), transparent);
  color: var(--cream);
  font-size: 14px;
  letter-spacing: 0.03em;
}
/* a11y: bullet is a 24x24 touch target, inner ::after is the visible dot */
.swiper-pagination-bullet {
  background: transparent !important;
  opacity: 1 !important;
  width: 24px !important;
  height: 24px !important;
  position: relative;
  margin: 0 4px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.swiper-pagination-bullet::after {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cream-dim);
  opacity: 0.5;
  transition: background 0.2s, opacity 0.2s;
}
.swiper-pagination-bullet-active::after {
  background: var(--accent);
  opacity: 1;
}
.swiper-button-next, .swiper-button-prev { color: var(--accent); }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 22px; }

/* ============================================================
   PACKAGES
   ============================================================ */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.pkg-card {
  background: rgba(51, 69, 92, 0.18);
  border: 1px solid rgba(201, 169, 97, 0.2);
  padding: 36px 24px 28px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.pkg-card:hover, .pkg-card:focus {
  border-color: var(--accent);
  background: rgba(51, 69, 92, 0.3);
  transform: translateY(-2px);
  outline: none;
}
.pkg-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.pkg-card.pkg-anchor {
  background: rgba(51, 69, 92, 0.1);
  border-color: rgba(201, 169, 97, 0.15);
}
.pkg-popular {
  background: rgba(201, 169, 97, 0.1);
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(201, 169, 97, 0.08);
}
.pkg-ribbon {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--ink);
  padding: 4px 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  border-radius: 2px;
  white-space: nowrap;
}
.pkg-icon {
  color: var(--accent);
  margin-bottom: 14px;
  line-height: 0;
}
.pkg-icon svg {
  width: 56px; height: 56px;
  display: inline-block;
}
.pkg-name {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 6px;
}
.pkg-price {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 18px;
  line-height: 1;
}
.pkg-bullets {
  list-style: none;
  flex: 1;
  margin-bottom: 20px;
}
.pkg-bullets li {
  font-size: 14px;
  color: var(--cream-dim);
  padding: 6px 0;
  border-bottom: 1px dotted rgba(201, 169, 97, 0.15);
}
.pkg-bullets li:last-child { border: none; }
.pkg-more {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Enhancements */
.enhancements {
  background: rgba(51, 69, 92, 0.12);
  padding: 40px 32px;
  border-left: 3px solid var(--accent);
  margin-top: 20px;
}
.enhancements h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--accent);
  font-size: 22px;
  margin-bottom: 24px;
}
.enh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px 40px;
}
.enh-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px dotted rgba(201, 169, 97, 0.3);
}
.enh-item strong { color: var(--cream); font-weight: 500; }
.enh-item span { color: var(--accent); font-size: 14px; font-weight: 500; }

/* ============================================================
   CAPACITY TOGGLE
   ============================================================ */
.cap-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 32px;
  background: rgba(51, 69, 92, 0.2);
  padding: 4px;
  border-radius: var(--radius);
  max-width: 600px;
}
.cap-tab {
  flex: 1;
  padding: 14px 20px;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--cream-dim);
  border-radius: calc(var(--radius) - 2px);
  transition: all 0.2s var(--ease);
}
.cap-tab.cap-active {
  background: var(--accent);
  color: var(--ink);
  font-weight: 500;
}
.cap-tab:hover:not(.cap-active) { color: var(--cream); }
.cap-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.cap-panel {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.cap-panel.cap-active { display: grid; }
.cap-room {
  background: rgba(51, 69, 92, 0.15);
  padding: 40px 32px;
  border: 1px solid rgba(201, 169, 97, 0.15);
  text-align: center;
}
.cap-num {
  font-family: var(--serif);
  font-size: 96px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  font-weight: 500;
}
.cap-label {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--cream);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.cap-desc { color: var(--cream-dim); font-size: 14px; }

/* ============================================================
   AVAILABILITY DATE CHIPS (above inquiry form)
   ============================================================ */
.avail-dates {
  margin-bottom: 48px;
  padding: 28px 24px;
  background: color-mix(in srgb, var(--accent) 5%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  border-radius: var(--radius);
}
.ad-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 22px;
  gap: 4px;
}
.ad-kicker {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
}
.ad-sub {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--cream-dim);
  letter-spacing: 0.02em;
}
.ad-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--accent) 30%, transparent) transparent;
}
.ad-strip::-webkit-scrollbar { height: 6px; }
.ad-strip::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--accent) 30%, transparent); border-radius: 3px; }
@media (min-width: 720px) {
  .ad-strip {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 4px;
  }
}
.date-chip {
  flex: 0 0 auto;
  min-width: 110px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 18px 16px;
  background: color-mix(in srgb, var(--brand) 30%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: var(--sans);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
  text-align: center;
}
.date-chip:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--brand) 45%, transparent);
  transform: translateY(-1px);
}
.date-chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.date-chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}
.date-chip[aria-pressed="true"] .dc-dow,
.date-chip[aria-pressed="true"] .dc-mon,
.date-chip[aria-pressed="true"] .dc-room {
  color: var(--ink);
  opacity: 0.85;
}
.dc-dow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.dc-num {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  color: var(--cream);
  letter-spacing: -0.02em;
}
.dc-mon {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--cream-dim);
  letter-spacing: 0.05em;
  margin-top: -2px;
}
.dc-room {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--cream-dim);
  letter-spacing: 0.04em;
  margin-top: 6px;
  white-space: nowrap;
}
.ad-note {
  margin-top: 18px;
  text-align: center;
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--cream-dim);
  line-height: 1.6;
}

/* ============================================================
   INQUIRY FORM
   ============================================================ */
.inquire {
  background: linear-gradient(to bottom, transparent 0%, rgba(51, 69, 92, 0.12) 100%);
}
.inq-wrap {
  max-width: 880px;
  margin: 0 auto;
}
.inq-header {
  text-align: center;
  margin-bottom: 48px;
}
.inq-header .section-title-row {
  justify-content: center;
  border: none;
  padding-bottom: 0;
  margin-bottom: 16px;
}
.inq-sla {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.05em;
  font-style: italic;
}
.inq-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-full { grid-column: 1 / -1; }
.field span {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 16px;
  padding: 14px 16px;
  background: rgba(20, 24, 31, 0.5);
  border: 1px solid rgba(201, 169, 97, 0.25);
  color: var(--cream);
  border-radius: var(--radius);
  transition: border 0.2s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field input[type="range"] { padding: 10px 0; }
.slider-ticks {
  display: flex;
  justify-content: space-between;
  color: var(--cream-dim);
  font-size: 11px;
  margin-top: -4px;
}
#guestOutput {
  color: var(--accent);
  font-weight: 500;
  margin-left: 6px;
}
.inq-submit {
  background: var(--accent);
  color: var(--ink);
  padding: 20px 40px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.2s var(--ease);
  margin-top: 12px;
}
.inq-submit:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(201, 169, 97, 0.2);
}
.inq-privacy {
  color: var(--cream-dim);
  font-size: 13px;
  text-align: center;
  font-style: italic;
}

/* ----- Success / Error states ----- */
.inq-success,
.inq-error {
  max-width: 640px;
  margin: 40px auto 0;
  padding: 36px 32px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid;
}
.inq-success {
  background: rgba(201, 169, 97, 0.08);
  border-color: var(--accent);
  color: var(--cream);
}
.inq-success h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--accent-bright);
  margin-bottom: 12px;
}
.inq-success p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--cream);
}
.inq-error {
  background: rgba(220, 100, 80, 0.08);
  border-color: rgba(220, 100, 80, 0.5);
  color: var(--cream);
}
.inq-error h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: #e8a097;
  margin-bottom: 12px;
}
.inq-error a {
  color: var(--accent-bright);
  text-decoration: underline;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  padding: 60px var(--pad-x);
  max-width: var(--max);
  margin: 80px auto 0;
  border-top: 1px solid rgba(201, 169, 97, 0.15);
}
.foot-col h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.foot-col p { color: var(--cream-dim); font-size: 14px; margin-bottom: 6px; }
.foot-demo-note {
  margin-top: 16px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.05em;
  font-style: italic;
  opacity: 0.7;
}

/* ============================================================
   MODAL
   ============================================================ */
.pkg-modal {
  position: fixed; inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.pkg-modal.show { display: flex; }
.pkg-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(8, 10, 14, 0.88);
  backdrop-filter: blur(8px);
}
.pkg-modal-body {
  position: relative;
  background: var(--brand-deep);
  border: 1px solid var(--accent);
  max-width: 680px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 60px 40px 40px;
  animation: modalIn 0.3s var(--ease-out);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.pkg-modal-close {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 28px;
  color: var(--accent);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.pkg-modal-close:hover { color: var(--accent-bright); }
.pkg-modal-content h3 {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 8px;
}
.pkg-modal-content .pm-price {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--cream);
  margin-bottom: 24px;
}
.pkg-modal-content p { color: var(--cream-dim); margin-bottom: 16px; line-height: 1.7; }
.pkg-modal-content h4 {
  font-family: var(--serif);
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 24px 0 12px;
  font-weight: 500;
}
.pkg-modal-content ul { list-style: none; }
.pkg-modal-content ul li {
  color: var(--cream);
  padding: 8px 0 8px 20px;
  position: relative;
  border-bottom: 1px dotted rgba(201, 169, 97, 0.15);
}
.pkg-modal-content ul li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  position: absolute; left: 2px; top: 14px;
  transform: rotate(45deg);
}
.pkg-modal-select {
  display: block;
  width: 100%;
  background: var(--accent);
  color: var(--ink);
  padding: 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 32px;
  border-radius: var(--radius);
}
.pkg-modal-select:hover { background: var(--accent-bright); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .pkg-grid { grid-template-columns: 1fr 1fr; }
  .gallery-swiper .swiper-slide { width: 320px; height: 240px; }
  .field-row { grid-template-columns: 1fr; }
  .hero-logo { font-size: 11px; letter-spacing: 0.5em; }
}

@media (max-width: 600px) {
  :root { --section-pad: 60px; }
  .pkg-grid { grid-template-columns: 1fr; }
  .cap-tabs { flex-direction: column; }
  .hero { min-height: 560px; }
  .qb-inner { font-size: 12px; gap: 10px; }
  .qb-cta { padding: 6px 12px; font-size: 11px; }
  .hero-tagline { font-size: 52px; }
}
