/* =========================================
   DENSPARK STUDIO — Portfolio Page CSS
   ========================================= */

/* ---------- CSS Variables (shared with main) ---------- */
:root {
  --blue:        #1A56DB;
  --blue-dark:   #1240A8;
  --blue-light:  #3B82F6;
  --black:       #0A0A0A;
  --navy:        #0F172A;
  --white:       #FFFFFF;
  --off-white:   #F9FAFB;
  --gray-100:    #F3F4F6;
  --gray-200:    #E5E7EB;
  --gray-400:    #9CA3AF;
  --gray-600:    #4B5563;
  --gray-800:    #1F2937;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius:      8px;
  --radius-lg:   16px;
  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:      0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.14);
  --nav-h:       72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Shared keyframes ---------- */
/* FIX: fadeUp was missing — caused .page-hero-content to stay invisible */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}
.navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  height: 64px;
}
.nav-container {
  max-width: 1320px; margin: 0 auto;
  padding: 0 24px; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; }
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1; }
.logo-text {
  font-family: var(--font-display); font-size: 1rem;
  font-weight: 600; letter-spacing: 0.12em; color: var(--white);
}
.logo-sub { font-size: 0.6rem; letter-spacing: 0.25em; color: var(--blue-light); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  font-size: 0.875rem; font-weight: 400; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85); padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 4px; left: 14px; right: 14px;
  height: 1.5px; background: var(--blue-light);
  transform: scaleX(0); transition: transform var(--transition); border-radius: 2px;
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 12px; }
.btn-book {
  display: inline-flex; align-items: center;
  background: var(--blue); color: var(--white);
  font-size: 0.85rem; font-weight: 500;
  padding: 10px 22px; border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.03em;
}
.btn-book:hover {
  background: var(--blue-dark); transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,86,219,0.4);
}

.menu-toggle {
  display: none; flex-direction: column;
  justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 8px;
}
.menu-toggle span {
  display: block; width: 100%; height: 1.5px;
  background: var(--white); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(0, 6.5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(0, -6.5px); }

/* ── Services chevron (desktop) ──────────────────────────── */
.services-chevron {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #7fa3d4;
  border-bottom: 1.5px solid #7fa3d4;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.has-mega:hover .services-chevron {
  transform: rotate(-135deg) translateY(2px);
}

/* ── Mega menu ───────────────────────────────────────────── */
.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #0e1f3d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 22px;
  width: 660px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  pointer-events: none;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

/* caret arrow */
.mega-arrow {
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 13px;
  height: 13px;
  background: #0e1f3d;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.mega-column h4 {
  font-size: 10px;
  font-weight: 600;
  color: #4a90d9;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(74, 144, 217, 0.2);
}

.mega-column a {
  display: block;
  color: #a8c2e0;
  font-size: 12.5px;
  padding: 4px 0;
  text-decoration: none;
  transition: color 0.15s, padding-left 0.15s;
  line-height: 1.5;
}

.mega-column a:hover {
  color: #ffffff;
  padding-left: 6px;
}

.mega-footer {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 10px;
  color: #3d6a9c;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
}

/* ── Book Now button ─────────────────────────────────────── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-book {
  background: #2563b0;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}

.btn-book:hover {
  background: #1d50a0;
  transform: translateY(-1px);
}

/* ── Hamburger ───────────────────────────────────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 7px;
  border-radius: 7px;
  transition: background var(--transition);
}
.menu-toggle:hover { background: rgba(255, 255, 255, 0.08); }
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: #c8d9ee; border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── SERVICES MEGA MENU ──────────────────────────────────── */
.services-chevron {
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.5px solid #7fa3d4;
  border-bottom: 1.5px solid #7fa3d4;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.has-mega:hover .services-chevron,
.has-mega.open  .services-chevron {
  transform: rotate(-135deg) translateY(2px);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #0e1f3d;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 22px;
  width: 660px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  pointer-events: none;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55);
}

.mega-arrow {
  position: absolute;
  top: -7px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 13px; height: 13px;
  background: #0e1f3d;
  border-left: 1px solid rgba(255,255,255,0.1);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.has-mega:hover .mega-menu,
.has-mega.open  .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Hide desktop mega completely on mobile */
@media (max-width: 900px) {
  .has-mega .mega-menu { display: none !important; }
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.mega-column h4 {
  font-size: 10px; font-weight: 600; color: #4a90d9;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin: 0 0 10px; padding-bottom: 7px;
  border-bottom: 1px solid rgba(74,144,217,0.2);
}
.mega-column a {
  display: block; color: #a8c2e0; font-size: 12.5px;
  padding: 4px 0; text-decoration: none;
  transition: color 0.15s, padding-left 0.15s; line-height: 1.5;
}
.mega-column a:hover { color: #ffffff; padding-left: 6px; }
.mega-footer {
  margin-top: 18px; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 10px; color: #3d6a9c;
  letter-spacing: 1px; text-transform: uppercase; text-align: center;
}

/* ── Mobile menu ─────────────────────────────────────────── */
.mobile-menu {
  display: none;
  background: #0a1628;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 0 20px 24px;
  max-height: calc(100vh - 64px); /* never taller than the viewport */
  overflow-y: auto;               /* scroll if content overflows    */
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { display: block; }

.mobile-nav-links { list-style: none; padding: 8px 0 0; margin: 0; }

.mobile-nav-links > li > a,
.mobile-services-toggle {
  display: flex; align-items: center; justify-content: space-between;
  color: #c8d9ee; font-size: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-decoration: none; cursor: pointer;
  background: none; border-left: none; border-right: none; border-top: none;
  width: 100%; font-family: inherit;
  transition: color 0.2s;
}
.mobile-nav-links > li > a:hover,
.mobile-services-toggle:hover { color: #ffffff; }

.mobile-services-chevron {
  display: inline-block;
  width: 7px; height: 7px;
  border-right: 2px solid #4a90d9;
  border-bottom: 2px solid #4a90d9;
  transform: rotate(45deg);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.mobile-services-toggle.open .mobile-services-chevron,
.mobile-services-item.open .mobile-services-chevron {
  transform: rotate(-135deg);
}

/* Mobile mega accordion */
.mobile-mega {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 0 0 12px;
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease;
}
.mobile-services-item.open .mobile-mega {
  max-height: 1200px;           /* enough room for all links        */
  opacity: 1;
  padding: 8px 0 4px 12px;
}
.mobile-mega .mega-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
.mobile-mega .mega-column h4 { font-size: 10px; }
.mobile-mega .mega-column a {
  font-size: 12px; padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mobile-mega .mega-column a:last-child { border-bottom: none; }

/* Mobile CTA */
.btn-book-mobile {
  display: block; margin-top: 16px;
  background: #2563b0; color: #ffffff;
  text-align: center; padding: 13px; border-radius: 9px;
  font-weight: 600; font-size: 14px; text-decoration: none;
  letter-spacing: 0.5px; border: 1px solid rgba(255,255,255,0.15);
  transition: background var(--transition);
}
.btn-book-mobile:hover { background: #1d50a0; }

.mobile-info {
  display: flex; justify-content: space-between;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.mobile-info span { font-size: 11px; color: #3d6a9c; }

/* ── Responsive breakpoint ───────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .btn-book  { display: none; }
  .menu-toggle { display: flex; }
}
/* ---------- Page Hero ---------- */
.page-hero {
  position: relative;
  height: 60vh; min-height: 420px; /* FIX: was 52vh/360px — too short to show stats bar */
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.04);
  animation: heroZoom 8s ease forwards;
  will-change: transform;
}
@keyframes heroZoom { to { transform: scale(1); } }

.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.80) 0%,   /* FIX: deeper gradient so white text is always legible */
    rgba(15,23,42,0.50) 50%,
    rgba(10,10,10,0.20) 100%
  );
}
.page-hero-content {
  position: relative; z-index: 2;
  padding: 0 clamp(16px, 5vw, 80px) 52px;
  max-width: 1320px; margin: 0 auto; width: 100%;
  /* FIX: was opacity:0 with animation:fadeUp but @keyframes fadeUp was never defined
     in this file, so the element stayed permanently invisible. Now defined above. */
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s 0.4s ease forwards; /* FIX: also reduced delay from 1.8s → 0.4s */
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-bottom: 12px;
}
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.bc-sep { color: rgba(255,255,255,0.3); }

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 300; line-height: 1.08;
  color: var(--white); margin-bottom: 12px;
}
.page-hero-title em { font-style: italic; color: rgba(255,255,255,0.75); }
.page-hero-sub {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: rgba(255,255,255,0.75); /* FIX: was 0.65 — too dim against the bg */
  max-width: 560px; line-height: 1.65;
}

.page-hero-scroll {
  position: absolute; bottom: 20px; right: 32px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 0.62rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.45), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%, 100% { height: 36px; opacity: 1; }
  50% { height: 18px; opacity: 0.4; }
}

/* ---------- Container ---------- */
.container { max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

/* ---------- Portfolio Page Section ---------- */
.portfolio-page-section { padding: clamp(48px, 7vw, 80px) 0; }

/* ---------- Filter Bar ---------- */
.pf-filter-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}
.pf-filters { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pf-filter {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.82rem; font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--gray-200);
  color: var(--gray-600);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.02em;
}
.pf-filter:hover { border-color: var(--blue); color: var(--blue); }
.pf-filter.active {
  background: var(--blue); border-color: var(--blue); color: var(--white);
}
.pf-filter-count {
  font-size: 0.68rem; font-weight: 700;
  background: rgba(0,0,0,0.08);
  padding: 1px 6px; border-radius: 100px;
  min-width: 20px; text-align: center;
  transition: background var(--transition);
}
.pf-filter.active .pf-filter-count { background: rgba(255,255,255,0.22); }

.pf-view-toggle { display: flex; gap: 4px; }
.pf-view-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-200);
  color: var(--gray-400);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.pf-view-btn:hover { border-color: var(--blue); color: var(--blue); }
.pf-view-btn.active { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ---------- Meta / result count ---------- */
.pf-meta {
  font-size: 0.82rem; color: var(--gray-400);
  margin-bottom: 28px; letter-spacing: 0.03em;
}

/* ---------- Portfolio Grid — Masonry (default) ---------- */
.pf-grid {
  column-gap: 16px;
  transition: opacity 0.3s ease;
}

/* Masonry layout using CSS columns */
.pf-grid--masonry {
  columns: 3;
  column-gap: 16px;
}
.pf-grid--masonry .pf-item {
  break-inside: avoid;
  margin-bottom: 16px;
  display: block;
}

/* Grid layout */
.pf-grid--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pf-grid--grid .pf-item { margin-bottom: 0; }
.pf-grid--grid .pf-img-wrap { aspect-ratio: 4/3; }

/* List layout */
.pf-grid--list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pf-grid--list .pf-item {
  display: flex; gap: 20px; align-items: center;
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 12px; margin-bottom: 0;
}
.pf-grid--list .pf-img-wrap {
  width: 120px; height: 80px; flex-shrink: 0;
  border-radius: var(--radius);
}
.pf-grid--list .pf-img-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.pf-grid--list .pf-hover { display: none; }
.pf-grid--list .pf-info { flex: 1; }
.pf-grid--list .pf-title { font-size: 1rem; margin-bottom: 4px; }
.pf-grid--list .pf-item:hover { border-color: rgba(26,86,219,0.25); box-shadow: var(--shadow); }

/* ---------- Portfolio Item ---------- */
.pf-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;

  /* FIX: original code had BOTH will-change:transform AND transform:translateY(20px)
     as separate declarations — the second was wiping the first in some parsers.
     Now separated properly: will-change on its own line, then the reveal state. */
  will-change: transform, opacity;

  /* Reveal animation initial state */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease,
              box-shadow var(--transition);
}
.pf-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.pf-item:hover { box-shadow: var(--shadow-lg); }

/* Filtering transition */
.pf-item.filtering {
  opacity: 0; transform: scale(0.96);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.pf-item.filter-hidden { display: none; }

.pf-img-wrap {
  position: relative;
  width: 100%; overflow: hidden;
  background: var(--gray-100);
}
.pf-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  /* FIX: original had two separate transition declarations — last one wins.
     Combined into a single rule so both filter and transform animate. */
  transition: filter 0.4s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.pf-img-wrap img.lazy-loading {
  filter: blur(8px);
  transform: scale(1.02);
}
.pf-item:hover .pf-img-wrap img { transform: scale(1.05); }

/* Hover overlay */
.pf-hover {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.6) 0%, transparent 55%);
  display: flex; align-items: flex-start; justify-content: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity var(--transition);
}
.pf-item:hover .pf-hover { opacity: 1; }

.pf-zoom {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.pf-zoom:hover { background: var(--blue); transform: scale(1.1); }

/* Info bar below image */
.pf-info {
  padding: 12px 14px 14px;
  background: var(--white);
}
.pf-cat {
  display: inline-block;
  font-size: 0.67rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 4px;
}
.pf-title {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 400;
  color: var(--black); line-height: 1.25;
}

/* ---------- Skeleton Loading ---------- */
.pf-skeleton {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 1200px 100%;
  animation: shimmer 1.5s infinite linear;
}
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.pf-skeleton-img   { height: 220px; }
.pf-skeleton-info  { height: 52px; background: var(--white); padding: 12px 14px; }
.pf-skeleton-cat   { height: 10px; width: 60px; background: var(--gray-200); border-radius: 4px; margin-bottom: 8px; }
.pf-skeleton-title { height: 14px; width: 75%; background: var(--gray-200); border-radius: 4px; }

/* ---------- Empty state ---------- */
.pf-empty {
  text-align: center; padding: 80px 20px;
  color: var(--gray-400);
}
.pf-empty svg { margin: 0 auto 16px; opacity: 0.35; }
.pf-empty p { font-size: 1rem; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Marquee ---------- */
.marquee-wrap {
  background: var(--navy); padding: 14px 0; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.marquee-track { display: flex; overflow: hidden; }
.marquee-content {
  display: flex; align-items: center;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
  will-change: transform;
}
.marquee-content span {
  font-size: 0.78rem; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); padding: 0 18px;
  transition: color var(--transition);
}
.marquee-content .dot { color: var(--blue); padding: 0; letter-spacing: 0; }
.marquee-content span:not(.dot):hover { color: var(--white); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--navy); padding: 60px 0; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(26,86,219,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 400; color: var(--white); margin-bottom: 6px;
}
.cta-inner p { font-size: 1rem; color: rgba(255,255,255,0.65); }
.btn-primary {
  display: inline-flex; align-items: center;
  background: var(--blue); color: var(--white);
  font-size: 0.875rem; font-weight: 500;
  padding: 13px 26px; border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.03em;
}
.btn-primary:hover {
  background: var(--blue-dark); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,86,219,0.45);
}
.btn-white { background: var(--white) !important; color: var(--navy) !important; font-weight: 600; }
.btn-white:hover {
  background: var(--gray-100) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25) !important;
}

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--white); padding-top: 64px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  font-family: var(--font-display); font-size: 1.15rem;
  font-weight: 600; letter-spacing: 0.1em; margin-bottom: 12px;
}
.footer-logo span { color: var(--blue-light); }
.footer-brand > p {
  font-size: 0.85rem; color: rgba(255,255,255,0.55);
  line-height: 1.7; margin-bottom: 20px; max-width: 280px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); transition: all var(--transition);
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover {
  background: var(--blue); border-color: var(--blue);
  color: var(--white); transform: translateY(-2px);
}
.footer-col h4 {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li, .footer-col ul li a {
  font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; font-size: 0.8rem; color: rgba(255,255,255,0.35);
  gap: 16px; flex-wrap: wrap;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 9500;
  display: none; align-items: center; justify-content: center;
  flex-direction: column;
}
.lightbox.open { display: flex; animation: fadeIn 0.22s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.95);
  cursor: zoom-out;
}
.lightbox-close {
  position: absolute; top: 20px; right: 24px; z-index: 1;
  font-size: 2rem; color: rgba(255,255,255,0.65);
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: color var(--transition), background var(--transition);
  line-height: 1;
}
.lightbox-close:hover { color: var(--white); background: rgba(255,255,255,0.1); }

.lightbox-img-wrap {
  position: relative; z-index: 1;
  max-width: 90vw; max-height: 80vh;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-img-wrap img {
  max-width: 100%; max-height: 80vh;
  border-radius: var(--radius); object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  transition: opacity 0.2s ease;
}

.lightbox-caption {
  position: relative; z-index: 1;
  margin-top: 14px; text-align: center;
  font-family: var(--font-display); font-size: 1rem;
  color: rgba(255,255,255,0.7); letter-spacing: 0.05em;
}
.lightbox-counter {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem; color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
}

.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-nav:hover { background: var(--blue); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }

/* ---------- Chat Widget ---------- */
.chat-widget {
  position: fixed; bottom: 24px; right: 24px; z-index: 5000;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.chat-toggle-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(26,86,219,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.chat-toggle-btn svg { width: 24px; height: 24px; }
.chat-toggle-btn:hover {
  transform: scale(1.08); box-shadow: 0 6px 30px rgba(26,86,219,0.55);
}
.chat-badge {
  position: absolute; top: -4px; right: -4px;
  width: 20px; height: 20px; background: #ef4444; color: var(--white);
  font-size: 0.65rem; font-weight: 700; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--white);
}
.chat-window {
  width: 320px; background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
  overflow: hidden; display: none; flex-direction: column;
  border: 1px solid var(--gray-200); max-height: 440px;
}
.chat-window.open { display: flex; animation: slideUp 0.28s ease; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.chat-header {
  background: var(--navy); padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue); display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: var(--white); letter-spacing: 0.05em;
}
.chat-header h4 { font-size: 0.9rem; color: var(--white); font-weight: 600; }
.chat-status { display: flex; align-items: center; gap: 5px; font-size: 0.72rem; color: rgba(255,255,255,0.6); }
.online-dot {
  width: 7px; height: 7px; background: #10b981; border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  50% { box-shadow: 0 0 0 5px rgba(16,185,129,0); }
}
.chat-close-btn {
  font-size: 1.4rem; color: rgba(255,255,255,0.5);
  width: 28px; height: 28px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  transition: color var(--transition); line-height: 1;
}
.chat-close-btn:hover { color: var(--white); }
.chat-messages {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 2px; }
.chat-msg {
  max-width: 85%; font-size: 0.85rem; line-height: 1.55;
  padding: 10px 14px; border-radius: 14px;
  animation: fadeUp 0.2s ease;
}
.chat-msg.received {
  background: var(--gray-100); color: var(--black);
  border-bottom-left-radius: 4px; align-self: flex-start;
}
.chat-msg.sent {
  background: var(--blue); color: var(--white);
  border-bottom-right-radius: 4px; align-self: flex-end;
}
.chat-input-row {
  display: flex; align-items: center;
  border-top: 1px solid var(--gray-200); padding: 10px 12px; gap: 8px;
}
.chat-input-row input {
  flex: 1; border: 1.5px solid var(--gray-200); border-radius: 20px;
  padding: 9px 14px; font-size: 0.85rem; font-family: var(--font-body);
  outline: none; transition: border-color var(--transition);
}
.chat-input-row input:focus { border-color: var(--blue); }
.chat-input-row button {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition); flex-shrink: 0;
}
.chat-input-row button:hover { background: var(--blue-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .pf-grid--masonry { columns: 2; }
  .pf-grid--grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .btn-book  { display: none; }
  .menu-toggle { display: flex; }

  .pf-filter-bar { flex-direction: column; align-items: flex-start; }
  .pf-view-toggle { align-self: flex-end; }

  /* FIX: hero height on mobile — needs to be taller to fit title + sub + stats bar */
  .page-hero { height: auto; min-height: 520px; padding-top: var(--nav-h); }
  .page-hero-content { padding-bottom: 36px; }

  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .pf-grid--masonry,
  .pf-grid--grid { columns: 1; grid-template-columns: 1fr; }
  .pf-filters { gap: 6px; }
  .pf-filter { font-size: 0.75rem; padding: 6px 12px; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-inner a { width: 100%; justify-content: center; }
  .chat-window { width: calc(100vw - 48px); }

  /* FIX: hide dividers on very small screens when stats wrap */
  .hero-intro-divider { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  /* But still show the hero content — don't leave it invisible */
  .page-hero-content { opacity: 1; transform: none; }
}