/* ============================================================
 * Venue Collect — CSS Design System
 * Version: 1.0.0
 * Color System: #4 Soft Gradient
 * Header: #6 Floating Pill
 * Hero: #7 Category Showcase
 * Layout: #10 Hub Portal
 * CTA: #8 Resource CTA
 * Footer: #6 Compact
 * Legal: #3 Card Based
 * ============================================================ */

/* ============================================================
 * 1. CUSTOM PROPERTIES (Design Tokens)
 * ============================================================ */

:root {
  /* ---- Color Palette ---- */
  --vc-white:            #ffffff;
  --vc-pearl-gray:       #f5f0eb;
  --vc-lavender-blue:    #e8e6f0;
  --vc-soft-lavender-gradient: linear-gradient(135deg, #e8e6f0 0%, #f5f0eb 100%);
  --vc-platinum:         #e5e4e2;
  --vc-cobalt:           #3a5a9f;
  --vc-cobalt-light:     #5a7abf;
  --vc-muted-coral:      #e8a087;
  --vc-graphite:         #2d2d2d;
  --vc-text-light:       #6b6b6b;
  --vc-border:           #e0ddd8;

  /* ---- Semantic Aliases ---- */
  --vc-bg-primary:       var(--vc-pearl-gray);
  --vc-bg-card:          var(--vc-white);
  --vc-text-primary:     var(--vc-graphite);
  --vc-text-secondary:   var(--vc-text-light);
  --vc-accent:           var(--vc-cobalt);
  --vc-accent-hover:     var(--vc-cobalt-light);
  --vc-border-color:     var(--vc-platinum);
  --vc-overlay:          rgba(0, 0, 0, 0.9);

  /* ---- Typography ---- */
  --vc-font-sans:        -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
                         'Helvetica Neue', Arial, 'Noto Sans', sans-serif,
                         'Apple Color Emoji', 'Segoe UI Emoji';
  --vc-font-mono:        'SFMono-Regular', Consolas, 'Liberation Mono', Menlo,
                         monospace;

  /* ---- Spacing Scale (4px base) ---- */
  --vc-space-1:          0.25rem;  /*  4px */
  --vc-space-2:          0.5rem;   /*  8px */
  --vc-space-3:          0.75rem;  /* 12px */
  --vc-space-4:          1rem;     /* 16px */
  --vc-space-5:          1.25rem;  /* 20px */
  --vc-space-6:          1.5rem;   /* 24px */
  --vc-space-8:          2rem;     /* 32px */
  --vc-space-10:         2.5rem;   /* 40px */
  --vc-space-12:         3rem;     /* 48px */
  --vc-space-16:         4rem;     /* 64px */
  --vc-space-20:         5rem;     /* 80px */

  /* ---- Border Radius ---- */
  --vc-radius-sm:        8px;
  --vc-radius-md:        12px;
  --vc-radius-lg:        16px;
  --vc-radius-xl:        20px;
  --vc-radius-pill:      25px;
  --vc-radius-full:      50px;

  /* ---- Shadows ---- */
  --vc-shadow-sm:        0 1px 3px rgba(0, 0, 0, 0.08);
  --vc-shadow-md:        0 4px 12px rgba(0, 0, 0, 0.10);
  --vc-shadow-lg:        0 8px 30px rgba(0, 0, 0, 0.12);
  --vc-shadow-header:    0 4px 20px rgba(0, 0, 0, 0.08);
  --vc-shadow-banner:    0 -4px 20px rgba(0, 0, 0, 0.10);

  /* ---- Transitions ---- */
  --vc-transition-fast:  0.2s ease;
  --vc-transition-base:  0.3s ease;
  --vc-transition-slow:  0.4s ease;

  /* ---- Z-Index Layers ---- */
  --vc-z-header:         1000;
  --vc-z-mobile-menu:    999;
  --vc-z-lightbox:       2000;
  --vc-z-cookie:         3000;
}


/* ============================================================
 * 2. RESET & BASE
 * ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--vc-font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--vc-text-primary);
  background-color: var(--vc-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--vc-accent);
  text-decoration: none;
  transition: color var(--vc-transition-base);
}

a:hover {
  color: var(--vc-accent-hover);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ---- Selection ---- */
::selection {
  background-color: var(--vc-cobalt);
  color: var(--vc-white);
}

::-moz-selection {
  background-color: var(--vc-cobalt);
  color: var(--vc-white);
}

/* ---- Focus States (Accessibility) ---- */
:focus-visible {
  outline: 2px solid var(--vc-cobalt);
  outline-offset: 2px;
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ============================================================
 * 3. TYPOGRAPHY
 * ============================================================ */

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--vc-text-primary);
}

h1 {
  font-size: 2.5rem;   /* 40px */
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2rem;      /* 32px */
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;    /* 24px */
}

h4 {
  font-size: 1.25rem;   /* 20px */
  font-weight: 600;
}

h5 {
  font-size: 1.125rem;  /* 18px */
  font-weight: 600;
}

h6 {
  font-size: 1rem;      /* 16px */
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

small,
.vc-text-small {
  font-size: 0.875rem;  /* 14px */
  line-height: 1.5;
}

.vc-text-muted {
  color: var(--vc-text-secondary);
}

.vc-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--vc-text-secondary);
}


/* ============================================================
 * 4. FLOATING PILL HEADER (Variant #6)
 * ============================================================ */

.header-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: var(--vc-space-5) auto 0;
  padding: var(--vc-space-3) var(--vc-space-8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--vc-radius-full);
  box-shadow: var(--vc-shadow-header);
  position: relative;
  z-index: var(--vc-z-header);
}

.header-pill-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--vc-space-4);
}

.header-pill.sticky {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--vc-z-header);
  animation: slideDown 0.4s ease forwards;
}

/* ---- Logo ---- */
.header-pill .vc-logo {
  display: flex;
  align-items: center;
  gap: var(--vc-space-2);
  text-decoration: none;
  color: var(--vc-text-primary);
  font-weight: 700;
  font-size: 1.25rem;
}

.header-pill .vc-logo img,
.header-pill .vc-logo svg {
  width: 240px;
  height: auto;
}

/* ---- Navigation Links ---- */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--vc-space-6);
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--vc-text-primary);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--vc-transition-base);
  padding: var(--vc-space-1) var(--vc-space-1);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--vc-cobalt);
}

/* ---- Nav CTA Button ---- */
.nav-cta {
  display: inline-block;
  background-color: var(--vc-cobalt);
  color: var(--vc-white) !important;
  border-radius: var(--vc-radius-pill);
  padding: var(--vc-space-2) var(--vc-space-5);
  font-weight: 600;
  transition: background-color var(--vc-transition-base);
}

.nav-cta:hover {
  background-color: var(--vc-cobalt-light);
  color: var(--vc-white) !important;
}

/* ---- Burger Button (Mobile) ---- */
.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--vc-space-2);
  flex-direction: column;
  gap: 5px;
}

.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--vc-text-primary);
  border-radius: 2px;
  transition: transform var(--vc-transition-base), opacity var(--vc-transition-base);
}

.burger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
}

.burger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Mobile Menu ---- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--vc-white);
  z-index: var(--vc-z-mobile-menu);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--vc-space-6);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 1.25rem;
  color: var(--vc-text-primary);
  text-decoration: none;
  font-weight: 500;
}

.mobile-menu a:hover {
  color: var(--vc-cobalt);
}


/* ---- Category Pills ---- */
.category-pills {
  display: flex;
  gap: var(--vc-space-3);
  justify-content: center;
  flex-wrap: wrap;
  padding: var(--vc-space-4) 0;
}

.category-pill {
  display: inline-block;
  background: var(--vc-white);
  border: 1px solid var(--vc-platinum);
  border-radius: var(--vc-radius-xl);
  padding: var(--vc-space-2) var(--vc-space-5);
  font-size: 0.875rem;
  color: var(--vc-text-primary);
  text-decoration: none;
  transition: border-color var(--vc-transition-base),
              color var(--vc-transition-base),
              background-color var(--vc-transition-base);
}

.category-pill:hover {
  border-color: var(--vc-cobalt);
  color: var(--vc-cobalt);
}

.category-pill.active {
  border-color: var(--vc-cobalt);
  background-color: var(--vc-cobalt);
  color: var(--vc-white);
}


/* ============================================================
 * 5. HERO SECTION — Category Showcase (Variant #7)
 * ============================================================ */

.hero-category {
  padding: var(--vc-space-20) var(--vc-space-5) var(--vc-space-16);
  text-align: center;
  background: var(--vc-soft-lavender-gradient);
}

.hero-category h1 {
  font-size: 3rem;       /* 48px */
  color: var(--vc-text-primary);
  max-width: 800px;
  margin: 0 auto var(--vc-space-4);
  line-height: 1.15;
}

.hero-category p {
  font-size: 1.25rem;    /* 20px */
  color: var(--vc-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- Category Grid (3-column) ---- */
.hero-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--vc-space-5);
  max-width: 800px;
  margin: var(--vc-space-10) auto 0;
}

.hero-category-card {
  background: var(--vc-white);
  border-radius: var(--vc-radius-lg);
  padding: var(--vc-space-6);
  box-shadow: var(--vc-shadow-sm);
  transition: transform var(--vc-transition-base),
              box-shadow var(--vc-transition-base);
  text-align: left;
}

.hero-category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--vc-shadow-md);
}

.hero-category-card .vc-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--vc-space-4);
  color: var(--vc-cobalt);
}

.hero-category-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--vc-space-2);
}

.hero-category-card p {
  font-size: 0.9375rem;
  color: var(--vc-text-secondary);
  margin: 0;
}


/* ============================================================
 * 6. HUB PORTAL SECTIONS (Layout #10)
 * ============================================================ */

.hub-section {
  padding: var(--vc-space-20) var(--vc-space-5);
  max-width: 1200px;
  margin: 0 auto;
}

.hub-section h2 {
  font-size: 2.25rem;    /* 36px */
  text-align: center;
  margin-bottom: var(--vc-space-12);
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--vc-space-6);
}

/* Grid balance variants */
.hub-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.hub-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.hub-card {
  background: var(--vc-white);
  border-radius: var(--vc-radius-lg);
  overflow: hidden;
  box-shadow: var(--vc-shadow-sm);
  transition: transform var(--vc-transition-base),
              box-shadow var(--vc-transition-base);
}

.hub-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--vc-shadow-md);
}

.hub-card-content {
  padding: var(--vc-space-6);
}

.hub-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--vc-space-2);
}

.hub-card p {
  font-size: 0.9375rem;
  color: var(--vc-text-secondary);
  margin-bottom: 0;
}

.hub-card .vc-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ---- Format Overview (image + text side by side) ---- */
.format-overview-inner {
  display: flex;
  gap: var(--vc-space-8);
  align-items: flex-start;
}

.format-overview-text {
  flex: 1;
  min-width: 0;
}

.format-overview-image {
  flex: 0 0 380px;
  border-radius: var(--vc-radius-lg);
  overflow: hidden;
  box-shadow: var(--vc-shadow-md);
}

.format-overview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.format-overview-bottom {
  margin-top: var(--vc-space-8);
  padding-top: var(--vc-space-8);
  border-top: 1px solid var(--vc-border);
}

/* ---- Format Content Card (roulette, blackjack) ---- */
.format-content-row {
  display: flex;
  gap: var(--vc-space-8);
  align-items: center;
}

.format-content-row .format-content-text {
  flex: 1;
  min-width: 0;
}

.format-content-row .format-content-image {
  flex: 0 0 360px;
  border-radius: var(--vc-radius-lg);
  overflow: hidden;
  box-shadow: var(--vc-shadow-md);
}

.format-content-row .format-content-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---- Responsive: stack on mobile ---- */
@media (max-width: 768px) {
  .format-overview-inner {
    flex-direction: column;
  }

  .format-overview-image {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .format-content-row {
    flex-direction: column;
  }

  .format-content-row .format-content-image {
    flex: none;
    width: 100%;
    max-width: 100%;
    order: -1;
  }
}


/* ============================================================
 * 7. CARDS & CONTENT BLOCKS
 * ============================================================ */

.content-card {
  background: var(--vc-white);
  border-radius: var(--vc-radius-lg);
  padding: var(--vc-space-8);
  box-shadow: var(--vc-shadow-sm);
}

.featured-collection {
  display: grid;
  gap: var(--vc-space-6);
}

.collection-card {
  position: relative;
  border-radius: var(--vc-radius-xl);
  overflow: hidden;
}

.collection-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform var(--vc-transition-base);
}

.collection-card:hover img {
  transform: scale(1.03);
}

.collection-card .vc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--vc-space-6);
}

.collection-card .vc-overlay h3 {
  color: var(--vc-white);
  font-size: 1.25rem;
  margin-bottom: var(--vc-space-1);
}

.collection-card .vc-overlay p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* ---- Event Story ---- */
.event-story {
  border-left: 4px solid var(--vc-cobalt);
  padding: var(--vc-space-5);
  margin: var(--vc-space-5) 0;
  background: var(--vc-white);
  border-radius: 0 var(--vc-radius-sm) var(--vc-radius-sm) 0;
}

.event-story h4 {
  margin-bottom: var(--vc-space-2);
}

.event-story p {
  font-size: 0.9375rem;
  color: var(--vc-text-secondary);
  margin-bottom: 0;
}


/* ============================================================
 * 8. FAQ ACCORDION
 * ============================================================ */

.faq-item {
  border-bottom: 1px solid var(--vc-platinum);
}

.faq-question {
  padding: var(--vc-space-5) 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--vc-text-primary);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: color var(--vc-transition-base);
}

.faq-question:hover {
  color: var(--vc-cobalt);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 var(--vc-space-5);
}

.faq-answer p {
  font-size: 0.9375rem;
  color: var(--vc-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--vc-space-4);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 var(--vc-space-5) var(--vc-space-5);
}

.faq-toggle {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background-color: var(--vc-text-primary);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-toggle::before {
  width: 2px;
  height: 14px;
}

.faq-toggle::after {
  width: 14px;
  height: 2px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}


/* ============================================================
 * 9. CTA RESOURCE BLOCKS (Variant #8)
 * ============================================================ */

.resource-cta {
  background: var(--vc-soft-lavender-gradient);
  border-radius: var(--vc-radius-xl);
  padding: var(--vc-space-12);
  text-align: center;
  margin: var(--vc-space-16) auto;
  max-width: 900px;
}

.resource-cta h3 {
  font-size: 1.5rem;      /* 24px */
  margin-bottom: var(--vc-space-4);
  color: var(--vc-text-primary);
}

.resource-cta p {
  font-size: 1.0625rem;
  color: var(--vc-text-secondary);
  margin-bottom: var(--vc-space-6);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.resource-cta .btn,
.vc-btn {
  display: inline-block;
  background: var(--vc-cobalt);
  color: var(--vc-white);
  border-radius: var(--vc-radius-pill);
  padding: var(--vc-space-3) var(--vc-space-8);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background-color var(--vc-transition-base);
}

.resource-cta .btn:hover,
.vc-btn:hover {
  background: var(--vc-cobalt-light);
  color: var(--vc-white);
}

.vc-btn-outline {
  background: transparent;
  color: var(--vc-cobalt);
  border: 2px solid var(--vc-cobalt);
}

.vc-btn-outline:hover {
  background: var(--vc-cobalt);
  color: var(--vc-white);
}


/* ============================================================
 * 10. GALLERY
 * ============================================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--vc-space-4);
}

.gallery-item {
  border-radius: var(--vc-radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ---- Gallery Lightbox ---- */
.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  z-index: var(--vc-z-lightbox);
}

.gallery-lightbox.open {
  display: flex;
}

.gallery-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--vc-radius-sm);
}

.lightbox-close {
  position: absolute;
  top: var(--vc-space-6);
  right: var(--vc-space-6);
  background: none;
  border: none;
  color: var(--vc-white);
  font-size: 2rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color var(--vc-transition-base);
}

.lightbox-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--vc-white);
  font-size: 2.5rem;
  cursor: pointer;
  padding: var(--vc-space-4);
  transition: opacity var(--vc-transition-base);
  opacity: 0.7;
}

.lightbox-nav:hover {
  opacity: 1;
}

.lightbox-nav.prev {
  left: var(--vc-space-4);
}

.lightbox-nav.next {
  right: var(--vc-space-4);
}


/* ============================================================
 * 11. CONTACT FORM
 * ============================================================ */

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--vc-space-6);
}

.form-label {
  display: block;
  margin-bottom: var(--vc-space-2);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--vc-text-primary);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--vc-space-3) var(--vc-space-4);
  border: 2px solid var(--vc-platinum);
  border-radius: var(--vc-radius-md);
  font-size: 1rem;
  color: var(--vc-text-primary);
  background: var(--vc-white);
  transition: border-color var(--vc-transition-base),
              box-shadow var(--vc-transition-base);
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--vc-cobalt);
  outline: none;
  box-shadow: 0 0 0 3px rgba(58, 90, 159, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--vc-text-light);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

/* ---- Validation States ---- */
.form-input.error,
.form-textarea.error {
  border-color: var(--vc-muted-coral);
}

.form-input.success,
.form-textarea.success {
  border-color: #4caf50;
}

.form-error {
  color: var(--vc-muted-coral);
  font-size: 0.8125rem;
  margin-top: var(--vc-space-1);
  display: none;
}

.form-error.visible {
  display: block;
}

/* ---- Submit Button ---- */
.form-submit {
  background: var(--vc-cobalt);
  color: var(--vc-white);
  border: none;
  border-radius: var(--vc-radius-pill);
  padding: var(--vc-space-4) var(--vc-space-10);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--vc-transition-base);
  display: inline-block;
}

.form-submit:hover {
  background: var(--vc-cobalt-light);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


/* ============================================================
 * 12. LEGAL PAGES — Card-Based Layout (#3)
 * ============================================================ */

.legal-hero {
  text-align: center;
  padding: var(--vc-space-20) var(--vc-space-5) var(--vc-space-10);
}

.legal-hero h1 {
  margin-bottom: var(--vc-space-3);
}

.legal-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--vc-space-5);
}

.legal-card {
  background: var(--vc-white);
  border-radius: var(--vc-radius-lg);
  padding: var(--vc-space-8);
  margin: var(--vc-space-5) auto;
  max-width: 800px;
  box-shadow: var(--vc-shadow-sm);
}

.legal-card h2 {
  color: var(--vc-cobalt);
  margin-bottom: var(--vc-space-4);
  font-size: 1.5rem;
}

.legal-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--vc-space-3);
  color: var(--vc-text-primary);
}

.legal-card p,
.legal-card li {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--vc-text-secondary);
  margin-bottom: var(--vc-space-3);
}

.legal-card ul {
  list-style: disc;
  padding-left: var(--vc-space-5);
  margin-bottom: var(--vc-space-4);
}

.legal-card ul li {
  margin-bottom: var(--vc-space-2);
}


/* ============================================================
 * 13. COMPACT FOOTER (Variant #6)
 * ============================================================ */

.footer-compact {
  background: var(--vc-graphite);
  color: var(--vc-white);
  padding: var(--vc-space-10) var(--vc-space-5) var(--vc-space-5);
}

.footer-brand {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--vc-space-4);
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--vc-space-4);
  list-style: none;
  padding: 0;
  margin: 0 0 var(--vc-space-6);
}

.footer-links a {
  color: var(--vc-platinum);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color var(--vc-transition-base);
}

.footer-links a:hover {
  color: var(--vc-white);
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--vc-space-5);
  margin-top: var(--vc-space-5);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--vc-space-4);
}

.footer-legal a {
  color: var(--vc-platinum);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--vc-transition-base);
}

.footer-legal a:hover {
  color: var(--vc-white);
}

.footer-bottom {
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  padding-top: var(--vc-space-5);
}


/* ============================================================
 * 14. COOKIE BANNER
 * ============================================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--vc-white);
  box-shadow: var(--vc-shadow-banner);
  padding: var(--vc-space-5);
  z-index: var(--vc-z-cookie);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--vc-space-4);
}

.cookie-banner p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--vc-text-secondary);
  flex: 1;
  min-width: 200px;
  line-height: 1.5;
}

.cookie-banner .cookie-actions {
  display: flex;
  gap: var(--vc-space-3);
  align-items: center;
  flex-shrink: 0;
}

.cookie-btn {
  background: var(--vc-cobalt);
  color: var(--vc-white);
  border: none;
  border-radius: var(--vc-radius-xl);
  padding: var(--vc-space-2) var(--vc-space-6);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.875rem;
  transition: background-color var(--vc-transition-base);
}

.cookie-btn:hover {
  background: var(--vc-cobalt-light);
}

.cookie-btn.secondary {
  background: transparent;
  color: var(--vc-text-primary);
  border: 1px solid var(--vc-platinum);
}

.cookie-btn.secondary:hover {
  background: var(--vc-pearl-gray);
}

.cookie-banner.hidden {
  display: none;
}


/* ============================================================
 * 15. THANK YOU PAGE
 * ============================================================ */

.thank-you {
  text-align: center;
  padding: 120px var(--vc-space-5);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.thank-you h1 {
  font-size: 3rem;       /* 48px */
  color: var(--vc-cobalt);
  margin-bottom: var(--vc-space-4);
}

.thank-you p {
  font-size: 1.125rem;
  color: var(--vc-text-secondary);
  max-width: 500px;
  margin-bottom: var(--vc-space-6);
}

.thank-you .btn {
  margin-top: var(--vc-space-6);
}


/* ============================================================
 * 16. UTILITY CLASSES
 * ============================================================ */

.vc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--vc-space-5);
}

.vc-container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--vc-space-5);
}

.vc-text-center {
  text-align: center;
}

.vc-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vc-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;
}


/* ============================================================
 * 17. ANIMATIONS
 * ============================================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ---- Scroll-triggered Animation ---- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  animation: fadeInUp 0.6s ease forwards;
}

/* Staggered animation delays */
.animate-stagger-1 { transition-delay: 0.1s; }
.animate-stagger-2 { transition-delay: 0.2s; }
.animate-stagger-3 { transition-delay: 0.3s; }
.animate-stagger-4 { transition-delay: 0.4s; }
.animate-stagger-5 { transition-delay: 0.5s; }


/* ============================================================
 * 18. RESPONSIVE — Tablet (768px - 1024px)
 * ============================================================ */

@media (max-width: 1024px) {
  .hero-categories {
    grid-template-columns: repeat(2, 1fr);
  }

  .hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hub-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-pill {
    margin-left: var(--vc-space-4);
    margin-right: var(--vc-space-4);
  }
}


/* ============================================================
 * 19. RESPONSIVE — Mobile (max-width: 768px)
 * ============================================================ */

@media (max-width: 768px) {
  /* ---- Header ---- */
  .header-pill {
    margin: var(--vc-space-3);
    padding: var(--vc-space-3) var(--vc-space-5);
    border-radius: var(--vc-radius-full);
  }

  .header-pill.sticky {
    margin: 0;
    top: 10px;
  }

  .nav-links {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  /* ---- Hero ---- */
  .hero-category {
    padding: var(--vc-space-16) var(--vc-space-4) var(--vc-space-12);
  }

  .hero-category h1 {
    font-size: 2rem;      /* 32px */
  }

  .hero-category p {
    font-size: 1.0625rem;
  }

  .hero-categories {
    grid-template-columns: 1fr;
    gap: var(--vc-space-4);
  }

  /* ---- Hub Sections ---- */
  .hub-section {
    padding: var(--vc-space-12) var(--vc-space-4);
  }

  .hub-section h2 {
    font-size: 1.75rem;
    margin-bottom: var(--vc-space-8);
  }

  .hub-grid {
    grid-template-columns: 1fr;
    gap: var(--vc-space-4);
  }

  .hub-grid.cols-2,
  .hub-grid.cols-4 {
    grid-template-columns: 1fr;
  }

  /* ---- Gallery ---- */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--vc-space-3);
  }

  /* ---- CTA ---- */
  .resource-cta {
    padding: var(--vc-space-8) var(--vc-space-5);
    margin: var(--vc-space-8) var(--vc-space-4);
    border-radius: var(--vc-radius-lg);
  }

  .resource-cta h3 {
    font-size: 1.25rem;
  }

  /* ---- Cookies ---- */
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: var(--vc-space-4);
  }

  .cookie-banner p {
    min-width: unset;
  }

  /* ---- Footer ---- */
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: var(--vc-space-3);
  }

  .footer-legal {
    flex-direction: column;
    align-items: center;
    gap: var(--vc-space-2);
  }

  /* ---- Category Pills ---- */
  .category-pills {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: var(--vc-space-4) var(--vc-space-4);
    gap: var(--vc-space-2);
  }

  .category-pills::-webkit-scrollbar {
    display: none;
  }

  .category-pill {
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* ---- Legal ---- */
  .legal-card {
    padding: var(--vc-space-5);
  }

  .legal-hero {
    padding: var(--vc-space-12) var(--vc-space-4) var(--vc-space-8);
  }

  /* ---- Typography ---- */
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.625rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  /* ---- Thank You ---- */
  .thank-you {
    padding: var(--vc-space-16) var(--vc-space-4);
  }

  .thank-you h1 {
    font-size: 2.25rem;
  }

  /* ---- Contact Form ---- */
  .contact-form {
    padding: 0 var(--vc-space-4);
  }

  .form-submit {
    width: 100%;
  }
}


/* ============================================================
 * 20. RESPONSIVE — Small Mobile (max-width: 480px)
 * ============================================================ */

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--vc-space-2);
  }

  .hero-category h1 {
    font-size: 1.75rem;
  }

  .header-pill {
    padding: var(--vc-space-2) var(--vc-space-4);
  }

  .header-pill .vc-logo {
    font-size: 1.0625rem;
  }

  .header-pill .vc-logo img,
  .header-pill .vc-logo svg {
    width: 200px;
    height: auto;
  }
}


/* ============================================================
 * 21. PRINT STYLES
 * ============================================================ */

@media print {
  .header-pill,
  .burger-btn,
  .mobile-menu,
  .cookie-banner,
  .gallery-lightbox,
  .footer-compact,
  .nav-cta,
  .form-submit {
    display: none !important;
  }

  body {
    background: var(--vc-white);
    color: #000;
    font-size: 12pt;
  }

  .hero-category {
    background: none;
    padding: 1cm 0;
  }

  .hero-categories {
    break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .content-card,
  .hub-card,
  .legal-card,
  .resource-cta {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }

  .gallery-grid {
    break-inside: avoid;
  }

  .gallery-item {
    break-inside: avoid;
  }
}
