:root {
  /* Brand Colors (GREEN THEME) */
  --primary: #ce7133;
  /* green-900 */
  --primary-light: #ca6232;
  /* green-800 (hover) */
  --primary-dark: #052e16;
  /* deep green */

  /* Neutral Palette */
  --neutral-dark: #0f172a;
  --neutral-medium: #475569;
  --neutral-light: #f1f5f9;
  --border-color: #e5e7eb;

  /* Text Colors */
  --text-muted: #6b7280;
  --text-light: #e5e5e5;

  /* Overlay / Glass */
  --glass-dark: rgba(0, 0, 0, 0.25);
  --glass-darker: rgba(0, 0, 0, 0.55);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(20, 83, 45, 0.25);
  /* green-tinted shadow */
}

.font-playfair {
  font-family: "Playfair Display", serif;
}

/* header */

.logo-name {
  color: var(--primary);
  font-size: 1.5rem;
  font-family: "Playfair Display", serif;
  font-weight: 500;
  margin-bottom: 10px;
}

.logo-name-scrolled {
  color: var(--primary);
  font-size: 1.5rem;
  font-family: "Playfair Display", serif;
  margin-bottom: 10px;
  font-weight: 500;
}

/* Active header link */
.nav-link.active-nav {
  background: var(--primary-light);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  font-weight: 600;
}

/* Card */
.amenity-inner {
  position: relative;
  /* height: 500px; */
  overflow: hidden;
  border-radius: 16px;
}

/* Image */
.amenity-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.group:hover img {
  transform: scale(1.08);
}

/* Hover Panel (initial state) */
.amenity-hover {
  position: absolute;
  inset: 0;
  /* 👈 full image */
  padding: 22px;

  /* ultra-smooth blend */
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.55) 30%,
      rgba(0, 0, 0, 0.25) 55%,
      rgba(0, 0, 0, 0.08) 70%,
      rgba(0, 0, 0, 0) 100%);

  backdrop-filter: blur(0px);

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  opacity: 0;
  transform: translateY(20px);

  transition:
    opacity 0.5s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 0.6s ease;
}

/* Hover movement – stops before top */
.group:hover .amenity-hover {
  transform: translateY(0);
  opacity: 1;

  /* Darker, richer gradient */
  /* background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.25)); */

  backdrop-filter: blur(2px);
}

/* Title */
.amenity-hover h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}

/* Description */
.amenity-hover p {
  color: #e5e5e5;
  font-size: 14px;
  line-height: 1.5;
}

.amenity-card {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

.amenity-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================= SECTION LABEL (FIXED) ================= */
.label {
  display: flex;
  /* 🔥 KEY FIX */
  align-items: center;
  justify-content: center;
  gap: 12px;

  width: 100%;
  text-align: center;
  white-space: nowrap;
  /* 🔥 prevents wrapping */

  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Divider lines */
.label::before,
.label::after {
  content: "";
  flex: 1;
  /* 🔥 auto scales */
  height: 1px;
  background: #ccc;
  max-width: 90px;
  /* 🔥 mobile-safe */
}

/* Main italic serif title */
.title {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  font-style: italic;
  /* 👈 key requirement */
  font-weight: 400;
  color: #0f172a;
}

/* Swiper pagination bullets */

/* Push pagination down from swiper */
.swiper-pagination {
  position: relative;
  /* override absolute */
  margin-top: 24px;
  /* 👈 gap from wrapper */
  bottom: auto;
}

.swiper-pagination-bullet {
  width: 12px;
  /* 👈 increased width */
  height: 6px;
  border-radius: 999px;
  /* pill shape */
  background: rgba(0, 0, 0, 0.3);
  opacity: 1;
  transition: all 0.35s ease;
  margin: 0 6px !important;
}

.swiper-pagination-bullet-active {
  width: 25px;
  /* 👈 wider active bullet */
  background: rgba(0, 0, 0, 0.85);
}

/* Header background when scrolled */
.header-scrolled {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

/* Icon buttons */
.header-icon-btn {
  @apply w-10 h-10 rounded-full bg-white/20 text-white flex items-center justify-center hover:bg-white/30 transition;
}

/* ================= MODAL ================= */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  position: relative;
  background: #fff;
  border-radius: 16px;
  max-width: 420px;
  width: 92%;
  padding: 32px 28px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.04);
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.modal-backdrop.show .modal-box {
  transform: translateY(0);
  opacity: 1;
}

/* Close button */
.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.modal-close-btn:hover {
  background: #f3f4f6;
  color: #1f2937;
}

/* Title & subtitle */
.modal-title {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px;
  line-height: 1.3;
}

.modal-subtitle {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 20px;
  line-height: 1.5;
}

/* Form layout */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Field group */
.modal-field-group {
  margin-bottom: 16px;
  position: relative;
}

/* Inputs */
.modal-input {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-size: 15px;
  color: #1f2937;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.modal-input::placeholder {
  color: #bdbdbd;
}

.modal-input:focus {
  border-color: #B5734E;
  box-shadow: 0 0 0 3px rgba(181, 115, 78, 0.15);
}

/* Input error state */
.modal-input.input-error {
  border-color: #ef4444;
}

.modal-input.input-error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

/* Input valid state */
.modal-input.input-valid {
  border-color: #22c55e;
}

/* Field error text */
.modal-field-error {
  display: block;
  min-height: 0;
  max-height: 0;
  overflow: hidden;
  font-size: 12px;
  color: #ef4444;
  padding-left: 4px;
  transition: max-height 0.25s ease, opacity 0.25s ease, margin 0.25s ease;
  opacity: 0;
  margin: 0;
}

.modal-field-error.visible {
  max-height: 24px;
  opacity: 1;
  margin-top: 5px;
}

/* Inline error banner */
.modal-error-banner {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  animation: fadeIn 0.25s ease-in;
}

.modal-error-banner.hidden {
  display: none;
}

.modal-error-banner::before {
  content: "\26A0\FE0F";
  flex-shrink: 0;
}

/* Submit button */
.modal-submit-btn {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 12px;
  background: #B5734E;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, opacity 0.2s;
}

.modal-submit-btn:hover {
  background: #9e6242;
}

.modal-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Button spinner */
.btn-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  flex-shrink: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* WhatsApp link */
.modal-whatsapp-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #25d366;
  text-decoration: none;
  transition: opacity 0.2s;
}

.modal-whatsapp-link:hover {
  opacity: 0.8;
}

.modal-wa-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Success view */
.modal-success-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
}

.modal-success-view.hidden {
  display: none;
}

.modal-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dcfce7;
  color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  animation: successBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-success-icon svg {
  width: 32px;
  height: 32px;
}

@keyframes successBounce {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  60% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ------ chat bot new ui design start ------ */

/* ================= GENNA AI CHATBOT ================= */

.chat-container {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.bot-message {
  background: #334155;
  color: white;
  padding: 10px 14px;
  border-radius: 16px;
  max-width: 75%;
}

.user-message {
  background: #94631b;
  color: white;
  padding: 10px 14px;
  border-radius: 16px;
  max-width: 75%;
  align-self: flex-end;
}

.sender-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e79450;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* ------ chat bot new ui design end------ */

@media (max-width: 768px) {
  .title {
    font-size: 22px;
  }

  .amenity-hover {
    opacity: 1;
    transform: translateY(0);
    backdrop-filter: blur(1.5px);
  }

  .label::before,
  .label::after {
    max-width: 60px;
  }

  /* Push pagination down from swiper */
  .swiper-pagination {
    position: relative;
    /* override absolute */
    margin-top: 12px;
    /* 👈 gap from wrapper */
    bottom: auto;
  }

  .swiper-pagination-bullet {
    width: 10px;
    /* 👈 increased width */
    height: 6px;
    border-radius: 999px;
    /* pill shape */
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
    transition: all 0.35s ease;
    margin: 0 6px !important;
  }

  .swiper-pagination-bullet-active {
    width: 15px;
    /* 👈 wider active bullet */
    background: rgba(0, 0, 0, 0.85);
  }
}

.bot-message {
  animation: fadeIn 0.25s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   SOCIAL PROOF TOASTER — Premium Dark-Gold
   ============================================ */
.social-proof-toast {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 340px;
  width: calc(100% - 40px);
  background: linear-gradient(135deg, #1a2e1a 0%, #0d1a0d 100%);
  border: 1px solid rgba(180, 155, 100, 0.25);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 15px rgba(180, 155, 100, 0.08);
  z-index: 9998;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-100%);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.social-proof-toast.show {
  opacity: 1;
  transform: translateX(0);
}

.social-proof-toast.hide {
  opacity: 0;
  transform: translateX(-100%);
}

.toast-content {
  display: flex;
  align-items: flex-start;
  padding: 14px 16px 10px;
  gap: 12px;
  position: relative;
}

.toast-avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b49b64 0%, #8a7a50 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(180, 155, 100, 0.3);
}

.toast-info {
  flex: 1;
  min-width: 0;
}

.toast-name {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast-activity {
  font-size: 12px;
  color: #c9b99a;
  margin-top: 2px;
  line-height: 1.3;
}

.toast-time {
  font-size: 11px;
  color: #7a7a7a;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.toast-time i {
  font-size: 10px;
}

.toast-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: rgba(255, 255, 255, 0.5);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
}

.toast-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
}

.toast-progress {
  height: 2px;
  background: linear-gradient(90deg, #b49b64, #d4c494);
  width: 100%;
  transition: width linear;
  opacity: 0.6;
}

@media (max-width: 480px) {
  .social-proof-toast {
    max-width: 300px;
    bottom: 15px;
    left: 15px;
    width: calc(100% - 30px);
  }

  .toast-content {
    padding: 12px 14px 8px;
    gap: 10px;
  }

  .toast-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 14px;
  }

  .toast-name {
    font-size: 12px;
  }

  .toast-activity {
    font-size: 11px;
  }
}

/* ============================================
   HERO — Ken Burns image + video handoff
   ============================================ */
@keyframes heroKenBurns {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}

#hero-section .hero-media>img {
  animation: heroKenBurns 18s ease-in-out infinite alternate;
  transform-origin: center center;
  will-change: transform;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  #hero-section .hero-media>img {
    animation: none;
  }
}

/* When video is ready, fade it in over the image */
#hero-video.is-ready {
  opacity: 1;
}

/* ============================================
   FLOOR PLAN GATE — blurred image + lock overlay
   ============================================ */
.floor-plan-locked .floor-plan-blurred {
  filter: blur(14px);
  transform: scale(1.05);
  /* prevents blurred edge from showing */
  transition: filter 300ms ease;
  pointer-events: none;
  user-select: none;
}

.floor-plan-gate {
  z-index: 2;
}

/* Locked wrapper has its own stacking context */
.floor-plan-locked {
  isolation: isolate;
}

/* ============================================
   REPRESENTATION WATERMARK
   ============================================ */
.representation-watermark {
  position: absolute;
  bottom: 6px;
  right: 8px;
  z-index: 3;
  padding: 0;
  background: transparent;
  color: rgba(226, 232, 240, 0.55);
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  user-select: none;
  font-family: inherit;
  font-weight: 400;
  font-style: italic;
}

/* On very small screens, keep the watermark readable but even smaller */
@media (max-width: 480px) {
  .representation-watermark {
    font-size: 8px;
    bottom: 4px;
    right: 6px;
  }
}

/* Ensure any image container that holds a watermark is positioned */
.has-watermark {
  position: relative;
}

/* Floor-plan locked card: keep watermark below the gate overlay */
.floor-plan-locked .representation-watermark {
  z-index: 1;
}

/* Hero: keep watermark above video (z-1) but below overlay cards (z-10) */
#hero-section .representation-watermark {
  z-index: 5;
}

/* ============================================
   EMI CALCULATOR SLIDER
   ============================================ */
.emi-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right,
      var(--primary) 0%,
      var(--primary) var(--slider-progress, 50%),
      #e5e7eb var(--slider-progress, 50%),
      #e5e7eb 100%);
  outline: none;
  cursor: pointer;
  transition: background 0.1s ease;
}

/* WebKit (Chrome, Safari, Edge) */
.emi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #ffffff;
  cursor: grab;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.emi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.12);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.25);
}

.emi-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.08);
}

/* Firefox */
.emi-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #ffffff;
  cursor: grab;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.emi-slider::-moz-range-thumb:hover {
  transform: scale(1.12);
}

.emi-slider::-moz-range-thumb:active {
  cursor: grabbing;
}

.emi-slider::-moz-range-track {
  background: transparent;
  border: none;
}

.emi-slider:focus {
  outline: none;
}

.emi-slider:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(169, 99, 71, 0.18);
}

.emi-slider:focus::-moz-range-thumb {
  box-shadow: 0 0 0 4px rgba(169, 99, 71, 0.18);
}

/* Visually-hidden labels for screen-reader-only access */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   BROCHURE VIEWER MODAL
   ============================================ */

.brochure-viewer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}

.brochure-viewer-backdrop.hidden {
  display: none;
}

.brochure-viewer-shell {
  width: 100%;
  max-width: 900px;
  height: 90vh;
  background: #1a1a1a;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.brochure-viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #0d0d0d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.brochure-viewer-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brochure-viewer-title {
  font-weight: 600;
  font-size: 15px;
}

.brochure-viewer-page-indicator {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.brochure-viewer-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0 6px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.brochure-viewer-close:hover {
  opacity: 1;
}

.brochure-canvas-viewport {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  background: #000;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  /* Pinch-zoom support on mobile */
  touch-action: pinch-zoom;
}

.brochure-canvas-viewport.hidden {
  display: none;
}

/* Each rendered PDF page wrapper */
.brochure-page-wrap {
  position: relative;
  width: 100%;
  max-width: 800px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  /* Disable right-click on canvas pages */
  user-select: none;
  -webkit-user-select: none;
}

.brochure-page-wrap canvas {
  display: block;
  width: 100% !important;
  height: auto !important;
  pointer-events: none;
}

/* Watermark overlay — repeated diagonal lines */
.brochure-watermark-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  display: grid;
  /* Reduced from 3x5=15 to 2x3=6 watermarks per page —
     fewer, more deliberate stamps that don't crowd content */
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  place-items: center;
  /* mix-blend-mode: multiply lets the watermark blend with
     page content — appears subtle on white backgrounds,
     visible on darker photos. Better visual integration than
     a flat opacity. */
  mix-blend-mode: multiply;
  opacity: 0.1;
  transform: rotate(-30deg) scale(1.3);
  transform-origin: center;
  z-index: 5;
}

.brochure-watermark-text {
  /* nowrap is critical — without it the text wraps to 2 lines
     in narrow grid cells and looks like a doubled watermark */
  white-space: nowrap;
  /* Lighter gray works better with multiply blend mode */
  color: #888;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-align: center;
  line-height: 1;
}

.brochure-loading {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.7);
}

.brochure-loading.hidden {
  display: none;
}

.brochure-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: brochure-spin 0.8s linear infinite;
}

@keyframes brochure-spin {
  to {
    transform: rotate(360deg);
  }
}

.brochure-viewer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #0d0d0d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.brochure-nav-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
  min-width: 100px;
}

.brochure-nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.brochure-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.brochure-cta {
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s;
}

.brochure-cta:hover {
  background: var(--primary-light);
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .brochure-viewer-shell {
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    max-width: 100%;
  }

  .brochure-viewer-backdrop {
    padding: 0;
  }

  .brochure-viewer-header {
    padding: 10px 14px;
  }

  .brochure-viewer-title {
    font-size: 13px;
  }

  .brochure-viewer-footer {
    flex-wrap: wrap;
    padding: 10px;
  }

  .brochure-nav-btn {
    flex: 1;
    min-width: 0;
    padding: 6px 8px;
    font-size: 12px;
  }

  .brochure-cta {
    flex-basis: 100%;
    text-align: center;
    padding: 10px;
    order: -1;
    /* Show CTA above nav buttons on mobile */
  }

  .brochure-watermark-text {
    font-size: 10px;
  }
}