/* ==========================================================================
   EGGCELLENT AGENCY — PREMIUM TALENT & CASTING SYSTEM
   Cape Town, South Africa | Clean Modular CSS Architecture
   ========================================================================== */

:root {
  /* Color System */
  --bg-eggshell: #fffdfa;
  --bg-butter: #fefcf6;
  --bg-biscuit: #fdf8eb;
  
  --yolk-primary: #d97706;
  --amber-accent: #b45309;
  --amber-dark: #92400e;
  --amber-border: #f9e2b3;
  --biscuit-border: #f3e4c8;
  --yolk-glow: rgba(217, 119, 6, 0.25);
  
  --cocoa-heading: #3b2314;
  --toasted-brown: #5c3d28;
  --toasted-muted: #8c684d;
  
  /* WhatsApp Brand Color */
  --whatsapp-green: #25D366;
  --whatsapp-dark: #128C7E;
  
  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-eggshell);
  color: var(--toasted-brown);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

[id] {
  scroll-margin-top: 84px;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-eggshell);
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  color: var(--cocoa-heading);
  letter-spacing: -0.02em;
  opacity: 1;
}

a { color: inherit; text-decoration: none; transition: all 0.2s ease; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.text-gold, .text-yolk { color: var(--yolk-primary) !important; }
.text-amber { color: var(--amber-accent) !important; }
.text-cocoa { color: var(--cocoa-heading) !important; }

/* Global Container */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* PAGE VIEW ROUTING SYSTEM */
.page-view {
  display: none;
  padding-top: 76px;
  min-height: 80vh;
}

.page-view.active {
  display: block;
}

/* Header & Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-eggshell);
  border-bottom: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
  background: rgba(255, 253, 250, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(59, 35, 20, 0.07);
  border-bottom: none;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled .nav-container {
  height: 54px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
}

.logo-egg-icon {
  width: 28px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-egg-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--yolk-primary);
  stroke-width: 2.2;
  filter: drop-shadow(0 2px 6px var(--yolk-glow));
}

.brand-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--cocoa-heading);
  line-height: 1;
}

.brand-sub {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--amber-accent);
  margin-top: 0.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--toasted-brown);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active { color: var(--cocoa-heading); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--yolk-primary);
  border-radius: 2px;
  box-shadow: 0 2px 6px var(--yolk-glow);
}

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.btn-sign-in {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--cocoa-heading);
  padding: 0.55rem 1rem;
  border-radius: 9999px;
  border: 1.5px solid transparent;
  transition: all 0.2s ease;
}
.btn-sign-in:hover {
  color: var(--amber-accent);
  background: rgba(217, 119, 6, 0.08);
  border-color: var(--amber-border);
}

/* Strong High-Contrast Primary CTA Button */
.btn-pill-gold,
a.btn-pill-gold,
button.btn-pill-gold {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  padding: 0.62rem 1.35rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 2px rgba(44, 24, 16, 0.25);
  min-height: 42px;
  cursor: pointer;
  text-decoration: none !important;
}

.btn-pill-gold svg,
a.btn-pill-gold svg,
button.btn-pill-gold svg {
  transition: transform 0.22s ease;
  flex-shrink: 0;
  stroke: #ffffff;
}

.btn-pill-gold:hover,
a.btn-pill-gold:hover,
button.btn-pill-gold:hover {
  background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(180, 83, 9, 0.45);
  color: #ffffff !important;
}

.btn-pill-gold:hover svg,
a.btn-pill-gold:hover svg,
button.btn-pill-gold:hover svg {
  transform: translateX(3px);
}

.btn-pill-gold:focus-visible,
a.btn-pill-gold:focus-visible,
button.btn-pill-gold:focus-visible {
  outline: 3px solid #d97706;
  outline-offset: 3px;
}

.btn-pill-gold:active,
a.btn-pill-gold:active,
button.btn-pill-gold:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.3);
}

/* High-Visibility Secondary Outline Button */
.btn-outline-gold,
a.btn-outline-gold,
button.btn-outline-gold {
  border: 2px solid #b45309;
  color: #3b2314 !important;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.58rem 1.25rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: #fffdf5;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(59, 35, 20, 0.05);
  min-height: 42px;
  cursor: pointer;
  text-decoration: none !important;
}

.btn-outline-gold svg,
a.btn-outline-gold svg,
button.btn-outline-gold svg {
  transition: transform 0.22s ease;
  flex-shrink: 0;
  stroke: #3b2314;
}

.btn-outline-gold:hover,
a.btn-outline-gold:hover,
button.btn-outline-gold:hover {
  border-color: #92400e;
  color: #78350f !important;
  background: #fef3c7;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.2);
}

.btn-outline-gold:focus-visible,
a.btn-outline-gold:focus-visible,
button.btn-outline-gold:focus-visible {
  outline: 3px solid #b45309;
  outline-offset: 3px;
}

.btn-outline-gold:active,
a.btn-outline-gold:active,
button.btn-outline-gold:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(59, 35, 20, 0.05);
}

/* WhatsApp Primary CTA Button */
.btn-whatsapp-primary,
a.btn-whatsapp-primary,
button.btn-whatsapp-primary {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.65rem 1.35rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  cursor: pointer;
  min-height: 42px;
}

.btn-whatsapp-primary:hover,
a.btn-whatsapp-primary:hover,
button.btn-whatsapp-primary:hover {
  background: linear-gradient(135deg, #20bd5a, #0e7266);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp-primary:focus-visible {
  outline: 3px solid #25D366;
  outline-offset: 3px;
}

/* WhatsApp Pill Button - Admin & Action Modals */
.btn-pill-whatsapp,
a.btn-pill-whatsapp,
button.btn-pill-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  padding: 0.62rem 1.35rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-height: 42px;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
}

.btn-pill-whatsapp:hover:not(:disabled):not(.disabled),
a.btn-pill-whatsapp:hover,
button.btn-pill-whatsapp:hover:not(:disabled) {
  background: linear-gradient(135deg, #20bd5a 0%, #0e7266 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.btn-pill-whatsapp:focus-visible {
  outline: 3px solid #25D366;
  outline-offset: 3px;
}

.btn-pill-whatsapp:disabled,
.btn-pill-whatsapp.disabled {
  opacity: 0.5;
  cursor: not-allowed !important;
  pointer-events: none !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Admin Enquiry Modal Action Buttons Responsive Container */
.admin-enquiry-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .admin-enquiry-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .admin-enquiry-actions > * {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Mobile Drawer */
.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 110; }
.mobile-toggle span { width: 24px; height: 2.5px; background-color: var(--cocoa-heading); }

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: var(--bg-eggshell);
  z-index: 105;
  padding: 6rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: -10px 0 30px rgba(59, 35, 20, 0.15);
  transition: right 0.3s ease, visibility 0.3s ease;
  visibility: hidden;
}

.mobile-drawer.open {
  right: 0;
  visibility: visible;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(59, 35, 20, 0.4);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

/* HERO SECTION */
.hero-section {
  position: relative;
  padding-top: 14px;
  padding-bottom: 24px;
  background-color: var(--bg-eggshell);
}

.hero-grid {
  display: grid;
  grid-template-columns: 46% 54%;
  gap: 1.75rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--amber-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.eyebrow-line {
  width: 24px;
  height: 2px;
  background-color: var(--yolk-primary);
}

.hero-headline {
  font-size: 2.45rem;
  font-weight: 800;
  color: var(--cocoa-heading);
  margin-bottom: 0.75rem;
  line-height: 1.12;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--toasted-brown);
  margin-bottom: 1.15rem;
  max-width: 500px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Hero Visual Column Wrapper */
.hero-visual {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero Image — Static, Full Width, Natural Height, Zero Crop */
.hero-base-image {
  width: 100%;
  height: auto;
  display: block;
  transform: none !important;
}

/* Viewfinder HUD Row */
.frame-badges-row {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.frame-badge {
  background: rgba(26, 16, 10, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fffdfa;
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
}

.badge-rec {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.rec-dot-blink {
  animation: recBlink 1.2s ease-in-out infinite alternate;
}

@keyframes recBlink {
  0% { opacity: 0.2; }
  100% { opacity: 1; }
}

/* Light Sweep & Focus Effects */
.stage-spotlight-cone {
  position: absolute;
  top: -40px;
  left: 20px;
  width: 240px;
  height: 500px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.35) 0%, rgba(245, 158, 11, 0.08) 60%, rgba(254, 252, 246, 0) 100%);
  transform-origin: top left;
  animation: spotlightConeSweep 20s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
  pointer-events: none;
  z-index: 5;
}

.stage-spotlight-right {
  position: absolute;
  top: -40px;
  right: 20px;
  width: 240px;
  height: 500px;
  background: linear-gradient(225deg, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0.05) 60%, rgba(254, 252, 246, 0) 100%);
  transform-origin: top right;
  animation: spotlightConeSweepRight 18s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
  pointer-events: none;
  z-index: 5;
}

@keyframes spotlightConeSweepRight {
  0% { transform: rotate(10deg) scale(0.95); opacity: 0.5; }
  50% { transform: rotate(-12deg) scale(1.1); opacity: 0.9; }
  100% { transform: rotate(10deg) scale(0.95); opacity: 0.5; }
}

@keyframes spotlightConeSweep {
  0% { transform: rotate(-10deg) scale(0.95); opacity: 0.7; }
  50% { transform: rotate(12deg) scale(1.1); opacity: 1; }
  100% { transform: rotate(-10deg) scale(0.95); opacity: 0.7; }
}

.lens-focus-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  background: radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0) 40%, rgba(59, 35, 20, 0.15) 100%);
}

/* SECTION PADDING & HEADERS */
.section-padding { padding: 1.65rem 0; }
.section-padding-sm { padding: 1rem 0; }

/* CMS-EDITABLE PUBLIC PAGE BACKGROUND SYSTEM */
#page-home,
#page-talent,
#page-services,
#page-about,
#page-fees-registration,
#page-contact {
  background-color: var(--page-base-color, var(--bg-eggshell));
  background-image: var(--page-bg-gradient-image, none);
  background-size: var(--page-bg-fit, cover);
  background-position: var(--page-bg-position, center top);
  background-repeat: no-repeat;
  background-attachment: scroll;
  min-height: 100vh;
  transition: background-image 0.3s ease, background-color 0.3s ease;
}

#page-home section:not(.cms-public-section),
#page-talent section:not(.cms-public-section),
#page-services section:not(.cms-public-section),
#page-about section:not(.cms-public-section),
#page-fees-registration section:not(.cms-public-section),
#page-contact section:not(.cms-public-section),
#page-home .why-section,
#page-home .fee-section,
#page-home .process-section,
#page-home .faq-section,
#page-home .final-cta-section {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transition: background-color 0.3s ease;
}

#page-home .hero-section {
  background-color: transparent !important;
}

/* ==========================================================================
   DYNAMIC CMS PUBLIC CONTENT & BRANDED TYPOGRAPHY SYSTEM
   ========================================================================== */

.cms-public-section {
  position: relative;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.cms-public-section .cms-eyebrow,
.cms-public-section .section-eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--page-accent-text, var(--amber-accent));
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.4rem;
}

.cms-public-section .cms-heading,
.cms-public-section .section-title {
  font-family: var(--font-heading);
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--page-heading-primary, var(--cocoa-heading));
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.cms-public-section .cms-subheading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--page-heading-secondary, var(--toasted-brown));
  margin-bottom: 0.5rem;
}

.cms-public-section .cms-body,
.cms-public-section .section-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--page-body-text, var(--toasted-brown));
  line-height: 1.6;
}

.cms-public-section .cms-muted {
  font-size: 0.85rem;
  color: var(--page-muted-text, var(--toasted-muted));
}

.cms-public-section a:not(.btn-pill-gold):not(.btn-outline-gold):not(.btn-whatsapp-primary) {
  color: var(--page-link-text, var(--yolk-primary));
  font-weight: 700;
  text-decoration: underline;
}

/* 1. TEXT ONLY SECTION */
.cms-type-text_only {
  padding: 2rem 2.25rem;
  background: var(--card-surface-color, var(--bg-biscuit));
  border: 1.5px solid var(--amber-border);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(59, 35, 20, 0.04);
}

/* 2. TEXT IMAGE RIGHT & 3. IMAGE LEFT TEXT SECTIONS */
.cms-type-text_image_right,
.cms-type-image_left_text {
  padding: 2.25rem;
  background: var(--card-surface-color, var(--bg-biscuit));
  border: 1.5px solid var(--amber-border);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(59, 35, 20, 0.04);
}

.cms-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: center;
}

@media (max-width: 768px) {
  .cms-grid-2col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.cms-media-wrapper {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--amber-border);
  box-shadow: 0 6px 20px rgba(59, 35, 20, 0.08);
  background: var(--bg-eggshell);
}

.cms-media-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.cms-media-wrapper:hover .cms-media-img {
  transform: scale(1.02);
}

/* 4. FULL WIDTH IMAGE BANNER SECTION */
.cms-type-full_width_image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--amber-border);
  box-shadow: 0 8px 30px rgba(59, 35, 20, 0.1);
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}

.cms-full-width-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cms-full-width-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2.5rem 2rem 2rem;
  background: linear-gradient(to top, rgba(26, 16, 10, 0.92) 0%, rgba(26, 16, 10, 0.65) 60%, rgba(26, 16, 10, 0) 100%);
  color: #ffffff;
}

.cms-type-full_width_image .cms-eyebrow {
  color: var(--yolk-primary) !important;
}

.cms-type-full_width_image .cms-heading {
  color: #ffffff !important;
}

.cms-type-full_width_image .cms-body {
  color: rgba(255, 253, 250, 0.92) !important;
  max-width: 720px;
}

/* 5. FEATURE SECTION */
.cms-type-feature_section {
  padding: 2.5rem 2rem;
  background: var(--card-surface-color, #ffffff);
  border: 1.5px solid var(--amber-border);
  border-top: 4px solid var(--yolk-primary);
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(59, 35, 20, 0.06);
}

.cms-type-feature_section .cms-eyebrow {
  color: var(--amber-accent);
}

/* 6. CTA SECTION */
.cms-type-cta_section {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--cocoa-heading) 0%, #25140b 100%);
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 10px 32px rgba(59, 35, 20, 0.2);
  border: 1px solid rgba(249, 226, 179, 0.2);
}

.cms-type-cta_section .cms-eyebrow {
  color: var(--yolk-primary) !important;
  letter-spacing: 0.1em;
}

.cms-type-cta_section .cms-heading {
  color: #ffffff !important;
  font-size: 2.15rem;
  margin-bottom: 0.85rem;
}

.cms-type-cta_section .cms-body {
  color: rgba(255, 253, 250, 0.92) !important;
  max-width: 660px;
  margin: 0 auto 1.75rem;
  font-size: 1.05rem;
}

.cms-cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}


/* CMS BACKGROUND PREVIEW CARD */
.bg-cms-preview-card {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px dashed var(--amber-accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}

.bg-cms-preview-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.bg-cms-preview-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.bg-cms-preview-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 1rem;
  background: rgba(255, 253, 250, 0.88);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  border: 1px solid var(--amber-border);
}

/* SECTION LAYOUT & PADDING SYSTEM */
.section-padding {
  padding: 1.65rem 0;
}

.section-padding-compact {
  padding: 0.85rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 1.25rem 0;
  }
  .section-padding-compact {
    padding: 0.75rem 0;
  }
}

.section-header {
  margin-bottom: 1rem;
  max-width: 640px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--amber-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.95rem;
  color: var(--cocoa-heading);
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 0.925rem;
  color: var(--toasted-brown);
  line-height: 1.6;
}

/* HERO SCROLL CUE */
.hero-scroll-cue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--toasted-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
  transition: opacity 0.25s ease;
}

.hero-scroll-cue:hover {
  opacity: 1;
  color: var(--amber-accent);
}

.hero-scroll-cue-arrow {
  display: inline-block;
  animation: heroBounceCue 2s ease-in-out infinite;
}

@keyframes heroBounceCue {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

/* GRIDS & CARDS */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

.check-card {
  background: var(--card-surface-color, var(--bg-biscuit));
  border: 1.5px solid var(--amber-border);
  border-radius: 20px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.3s ease;
}

.check-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(59, 35, 20, 0.09);
  border-color: var(--yolk-primary);
}

/* 4-STEP PROCESS CONNECTING LINE (DESKTOP) */
.process-timeline-grid {
  position: relative;
}

@media (min-width: 1025px) {
  .process-timeline-grid::before {
    content: '';
    position: absolute;
    top: 2.15rem;
    left: calc(12.5% + 1rem);
    right: calc(12.5% + 1rem);
    height: 3px;
    background: linear-gradient(90deg, var(--yolk-primary) 0%, var(--whatsapp-green) 66%, var(--yolk-primary) 100%);
    border-radius: 2px;
    z-index: 1;
    opacity: 0.6;
  }
  .process-timeline-grid .check-card {
    position: relative;
    z-index: 2;
  }
}

/* CONTENT REVEAL SYSTEM - ALL CONTENT VISIBLE IMMEDIATELY ON LOAD */
.reveal-on-scroll {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1,
.reveal-delay-2,
.reveal-delay-3,
.reveal-delay-4 {
  transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-scroll-cue-arrow {
    animation: none !important;
  }
}

.service-detailed-card {
  background: var(--card-surface-color, var(--bg-butter));
  border: 1.5px solid var(--biscuit-border);
  border-radius: 20px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  position: relative;
}

.service-detailed-card:hover {
  border-color: var(--yolk-primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.15);
}

/* Lists & Checkmarks */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.95rem; color: var(--toasted-brown); }
.check-list li svg { width: 20px; height: 20px; stroke: var(--yolk-primary); flex-shrink: 0; margin-top: 0.15rem; }

/* TALENT DIRECTORY CATALOGUE */
.talent-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.filters-panel-card {
  background: var(--card-surface-color, var(--bg-biscuit));
  border: 1.5px solid var(--amber-border);
  border-radius: 20px;
  padding: 1.5rem;
  position: sticky;
  top: 100px;
}

.filter-group { margin-bottom: 1.25rem; }
.filter-label { display: block; font-size: 0.85rem; font-weight: 800; color: var(--cocoa-heading); margin-bottom: 0.35rem; }
.filter-helper-text { font-size: 0.75rem; color: var(--toasted-muted); margin-bottom: 0.35rem; }

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-radius: 12px;
  border: 1.5px solid var(--biscuit-border);
  background: #ffffff;
  color: var(--cocoa-heading);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--yolk-primary);
  box-shadow: 0 0 0 3px var(--yolk-glow);
}

.form-textarea { min-height: 110px; resize: vertical; }

.talent-roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.talent-card {
  background: var(--card-surface-color, var(--bg-butter));
  border: 1.5px solid var(--amber-border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}

.talent-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(59, 35, 20, 0.12);
  border-color: var(--yolk-primary);
}

.talent-headshot-box {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-biscuit);
}

.talent-headshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.talent-card:hover .talent-headshot-img { transform: scale(1.04); }

.talent-card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.talent-badge-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(59, 35, 20, 0.82);
  backdrop-filter: blur(6px);
  color: #fffdfa;
  font-size: 0.725rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  z-index: 2;
}

.talent-name { font-size: 1.2rem; font-weight: 800; color: var(--cocoa-heading); margin-bottom: 0.2rem; }
.talent-meta { font-size: 0.85rem; color: var(--amber-accent); font-weight: 700; margin-bottom: 0.75rem; }

/* 7-STEP JOIN WIZARD */
.wizard-progress-bar-container {
  width: 100%;
  height: 8px;
  background: var(--biscuit-border);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.wizard-progress-bar-fill {
  height: 100%;
  width: 14.28%;
  background: linear-gradient(90deg, var(--yolk-primary), var(--amber-accent));
  transition: width 0.3s ease;
}

.upload-box {
  border: 2px dashed var(--amber-accent);
  background: var(--bg-biscuit);
  padding: 1.75rem;
  border-radius: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.upload-box:hover { background: var(--bg-butter); border-color: var(--yolk-primary); }

.headshot-preview-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  background: #ffffff;
  border: 1.5px solid var(--amber-border);
  padding: 0.75rem 1rem;
  border-radius: 12px;
}

.headshot-preview-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--amber-accent);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--toasted-brown);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"],
.checkbox-label input[type="radio"] {
  accent-color: var(--yolk-primary);
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
}

/* CONTACT SUCCESS BANNER */
.contact-success-banner {
  display: none;
  background: #dcfce7;
  color: #15803d;
  border: 1.5px solid #bbf7d0;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 0.925rem;
  font-weight: 700;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.12);
}

/* APPLICATION & PAYMENT BADGES */
.app-ref-tag {
  background: #e0f2fe;
  color: #0369a1;
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  border: 1px solid #bae6fd;
  display: inline-block;
}

.badge-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-awaiting { background: #fff7ed; color: #c2410c; border: 1px solid #ffedd5; }
.badge-whatsapp { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.badge-verification { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.badge-received { background: #e0f2fe; color: #0369a1; }
.badge-incubator { background: #fef3c7; color: #b45309; }
.badge-hatched { background: #d1fae5; color: #047857; }
.badge-failed { background: #fee2e2; color: #b91c1c; }
.badge-update { background: #f3e8ff; color: #6b21a8; }
.badge-by-arrangement { background: #ffedd5; color: #c2410c; font-size: 0.7rem; padding: 0.2rem 0.5rem; border-radius: 9999px; position: absolute; top: 12px; right: 12px; font-weight: 800; }

/* AUDIT LOG TRAIL */
.audit-trail-container {
  background: #ffffff;
  border: 1px solid var(--amber-border);
  border-radius: 12px;
  padding: 0.85rem;
  max-height: 180px;
  overflow-y: auto;
}

.audit-log-item {
  font-size: 0.775rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--biscuit-border);
  color: var(--toasted-brown);
}
.audit-log-item:last-child { border-bottom: none; }
.audit-log-time { font-weight: 700; color: var(--amber-accent); font-family: monospace; }

/* OUTCOME CARDS */
.outcome-card {
  background: var(--bg-butter);
  border: 1.5px solid var(--amber-border);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

/* AGENCY ADMIN PORTAL */
.admin-tab-nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--biscuit-border);
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.admin-tab-btn {
  background: var(--bg-biscuit);
  border: 1.5px solid var(--amber-border);
  color: var(--cocoa-heading);
  font-weight: 800;
  font-size: 0.875rem;
  padding: 0.65rem 1.25rem;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
}

.admin-tab-btn:hover {
  background: var(--bg-butter);
  border-color: var(--yolk-primary);
  color: var(--amber-accent);
}

.admin-tab-btn.active {
  background: var(--yolk-primary);
  color: #ffffff;
  border-color: var(--yolk-primary);
  box-shadow: 0 4px 14px var(--yolk-glow);
}

.admin-tab-pane {
  display: none;
}

.admin-tab-pane.active {
  display: block;
  animation: fadeInRoute 0.25s ease-in-out forwards;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.admin-stat-card {
  background: var(--bg-biscuit);
  border: 1.5px solid var(--amber-border);
  border-radius: 18px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(59, 35, 20, 0.04);
}

.admin-stat-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--cocoa-heading);
  line-height: 1;
  margin-top: 0.25rem;
}

.admin-stat-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--amber-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  border-radius: 16px;
  border: 1.5px solid var(--amber-border);
  background: #ffffff;
}

.admin-table-responsive .admin-table {
  border: none;
  margin-top: 0;
  min-width: 620px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--amber-border);
}

.admin-table th, .admin-table td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--biscuit-border);
  font-size: 0.875rem;
}

.admin-table th {
  background: var(--bg-biscuit);
  font-weight: 800;
  color: var(--cocoa-heading);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.btn-status-toggle {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  border: 1.5px solid var(--amber-border);
  background: var(--bg-biscuit);
  color: var(--cocoa-heading);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.btn-status-toggle:hover {
  background: var(--yolk-primary);
  color: #ffffff;
  border-color: var(--yolk-primary);
}

.btn-delete-icon {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #dc2626;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
}

.btn-delete-icon:hover {
  background: #dc2626;
  color: #ffffff;
}

/* FAQ ACCORDION */
.faq-accordion { display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: var(--card-surface-color, var(--bg-butter));
  border: 1.5px solid var(--amber-border);
  border-radius: 16px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--cocoa-heading);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.925rem;
  color: var(--toasted-brown);
  display: none;
  line-height: 1.6;
}

.faq-item.active .faq-answer { display: block; }
.faq-icon { width: 20px; height: 20px; transition: transform 0.25s ease; stroke: var(--amber-accent); }
.faq-item.active .faq-icon { transform: rotate(180deg); }

/* MODALS */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(44, 26, 14, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.open { display: flex; }

.modal-box {
  background: var(--bg-eggshell);
  border: 2px solid var(--amber-border);
  border-radius: 24px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(44, 26, 14, 0.3);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-biscuit);
  border: 1px solid var(--amber-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--cocoa-heading);
}

/* TOAST NOTIFICATIONS */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast-item {
  background: var(--cocoa-heading);
  color: #fffdfa;
  padding: 0.85rem 1.4rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(44, 26, 14, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--yolk-primary);
  animation: toastSlideIn 0.3s ease forwards;
}

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* FOOTER */
.site-footer {
  background: transparent;
  border-top: none;
  padding: 44px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h5 {
  font-size: 1rem;
  color: var(--cocoa-heading);
  margin-bottom: 0.85rem;
  font-weight: 800;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: var(--toasted-brown); font-weight: 600; }
.footer-links a:hover { color: var(--amber-accent); }

/* RESPONSIVE MEDIA QUERIES */
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

#cms-homepage-content .cms-public-section > .container {
  padding-left: 0;
  padding-right: 0;
}

.mobile-filter-toggle {
  display: none;
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: var(--bg-biscuit);
  border: 1.5px solid var(--amber-border);
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--cocoa-heading);
  margin-bottom: 1.25rem;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(59, 35, 20, 0.04);
  min-height: 44px;
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .talent-layout-grid { grid-template-columns: 1fr; }
  .filters-panel-card { position: static; }
  .mobile-filter-toggle { display: flex; }
  .filters-panel-card.collapsed-mobile { display: none !important; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .mobile-toggle { display: flex; min-height: 44px; min-width: 44px; align-items: center; justify-content: center; }
  .section-padding { padding: 1.5rem 0; }
  .section-padding-compact { padding: 1rem 0; }
  .hero-headline { font-size: 2.1rem; margin-bottom: 0.85rem; }
  .section-title { font-size: 1.65rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 1rem; }
  .form-row-2col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
  .site-footer { padding: 32px 0 20px; }
  .admin-table th, .admin-table td { padding: 0.65rem 0.5rem; font-size: 0.775rem; }
  .hero-scroll-cue { margin-top: 1.5rem; }
  
  /* Responsive Card & Modal Padding */
  .contact-card-box,
  .modal-box,
  .cms-modal-card {
    padding: 1.25rem !important;
  }
  
  /* Responsive Mobile Image Constraints */
  #cms-talent-page-img,
  #cms-services-crew-img,
  #cms-fees-guide-img,
  .section-feature-card img {
    height: 200px !important;
    min-height: 200px !important;
  }
  .hero-visual-spotlight-card img {
    max-height: 260px !important;
  }
  .wide-casting-banner {
    min-height: 250px !important;
  }
  .wide-casting-banner-overlay {
    min-height: 250px !important;
    padding: 1.5rem 1.25rem 1.25rem !important;
  }
}

/* MANDATORY CONSENT VALIDATION STYLING */
.consent-error {
  border: 2px solid #dc2626 !important;
  background-color: rgba(220, 38, 38, 0.06) !important;
  border-radius: 8px;
  padding: 0.25rem 0.5rem;
  transition: all 0.2s ease-in-out;
}

.checkbox-label.consent-error {
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
}

.consent-inline-error {
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  color: #991b1b;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.08);
}

.contact-grid-revised {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid-revised {
    grid-template-columns: 1fr;
  }
}

.contact-card-box {
  background: var(--card-surface-color, var(--bg-biscuit));
  border: 1.5px solid var(--amber-border);
  border-radius: 24px;
  padding: 2.25rem;
  transition: background-color 0.3s ease;
}

/* ==========================================================================
   INFORMATION ARCHITECTURE & COMPONENT ENHANCEMENTS
   ========================================================================== */

/* 1. Glance Facts Bar */
.glance-facts-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.glance-fact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--card-surface-color, var(--bg-biscuit));
  border: 1px solid var(--amber-border);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--cocoa-heading);
  box-shadow: 0 2px 8px rgba(59, 35, 20, 0.03);
}

.glance-icon {
  font-size: 0.9rem;
}

/* 2. Talent Category Cards */
.talent-category-card {
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.talent-category-card:hover {
  border-color: var(--yolk-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.15);
}

.category-explore-link {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--amber-accent);
  display: inline-block;
  margin-top: auto;
  transition: transform 0.2s ease;
}

.talent-category-card:hover .category-explore-link {
  transform: translateX(4px);
  color: var(--yolk-primary);
}

/* 3. Pipeline Bar */
.pipeline-bar-container {
  width: 100%;
}

.pipeline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pipeline-step {
  flex: 1;
  min-width: 140px;
  text-align: center;
  background: var(--card-surface-color, var(--bg-eggshell));
  border: 1px solid var(--amber-border);
  padding: 0.85rem 0.5rem;
  border-radius: 14px;
}

.pipeline-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--yolk-primary);
  margin-bottom: 0.2rem;
}

.pipeline-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--cocoa-heading);
  margin-bottom: 0.15rem;
}

.pipeline-sub {
  font-size: 0.75rem;
  color: var(--toasted-brown);
}

.pipeline-arrow {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--amber-accent);
  padding: 0 0.25rem;
}

@media (max-width: 768px) {
  .pipeline-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .pipeline-arrow {
    transform: rotate(90deg);
    text-align: center;
    margin: 0.25rem 0;
  }
}

/* 4. Anchor Nav Bar */
.anchor-nav-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--bg-butter);
  border: 1px solid var(--amber-border);
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.anchor-nav-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--amber-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.anchor-chip {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--cocoa-heading);
  background: var(--card-surface-color, var(--bg-biscuit));
  border: 1px solid var(--amber-border);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.anchor-chip:hover {
  background: var(--yolk-primary);
  color: #ffffff;
  border-color: var(--yolk-primary);
}

/* 5. Topic Shortcuts Bar */
.topic-shortcuts-bar {
  background: var(--bg-butter);
  border: 1px solid var(--amber-border);
  padding: 1rem 1.25rem;
  border-radius: 16px;
}

.topic-chip {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cocoa-heading);
  background: var(--card-surface-color, var(--bg-biscuit));
  border: 1px solid var(--amber-border);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.topic-chip:hover {
  background: var(--yolk-primary);
  color: #ffffff;
  border-color: var(--yolk-primary);
}

/* HERO TRUST & REASSURANCE POINTS */
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--cocoa-heading);
  background: var(--card-surface-color, rgba(253, 248, 235, 0.85));
  border: 1px solid var(--amber-border);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(59, 35, 20, 0.03);
}

.hero-trust-icon {
  font-size: 0.85rem;
}

/* WHO CAN JOIN CARDS */
.who-card {
  background: var(--card-surface-color, var(--bg-biscuit));
  border: 1.5px solid var(--amber-border);
  border-radius: 20px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.who-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(59, 35, 20, 0.08);
  border-color: var(--yolk-primary);
}

.who-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.who-card-title {
  font-size: 1.1rem;
  color: var(--cocoa-heading);
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.who-card-desc {
  font-size: 0.9rem;
  color: var(--toasted-brown);
  line-height: 1.55;
}

/* WHAT TO PREPARE CHECKLIST CARDS */
.prepare-card {
  background: var(--card-surface-color, var(--bg-butter));
  border: 1.5px solid var(--amber-border);
  border-radius: 20px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.prepare-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.12);
  border-color: var(--yolk-primary);
}

.prepare-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.prepare-card-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.prepare-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--cocoa-heading);
}

.prepare-card-desc {
  font-size: 0.875rem;
  color: var(--toasted-brown);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.prepare-card-tip {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--amber-accent);
  background: var(--bg-biscuit);
  border-top: 1px solid var(--biscuit-border);
  padding-top: 0.5rem;
  margin-top: auto;
}

/* ADMIN CMS STRUCTURED CONTROLS */
.cms-group-card {
  background: var(--bg-biscuit);
  border: 1.5px solid var(--amber-border);
  border-radius: 20px;
  padding: 1.75rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 6px 20px rgba(59, 35, 20, 0.03);
}

.cms-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid var(--amber-border);
  padding-bottom: 0.85rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cms-group-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--cocoa-heading);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cms-sub-card {
  background: #ffffff;
  border: 1px solid var(--biscuit-border);
  border-radius: 14px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.cms-item-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .cms-item-row {
    grid-template-columns: 1fr;
  }
}

/* STRATEGIC SECTION FEATURE IMAGES & GRID LAYOUTS */
.section-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: start;
}

/* REGISTRATION CHECKLIST SECTION ENHANCED FEATURE LAYOUT */
.prepare-split-grid {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: stretch;
}

.prepare-feature-column {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  height: 100%;
  justify-content: space-between;
}

.prepare-feature-card,
.who-feature-card {
  flex: 1;
  height: 100%;
  min-height: 480px;
  position: relative;
  overflow: hidden;
}

.prepare-feature-card img,
.who-feature-card img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: none !important;
  object-fit: cover;
  object-position: center 25%;
  z-index: 1;
}

.prepare-support-chip,
.who-support-chip {
  background: rgba(255, 253, 250, 0.92);
  border: 1.5px solid var(--amber-border);
  border-radius: 16px;
  padding: 0.85rem 1.15rem;
  font-size: 0.85rem;
  color: var(--cocoa-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 16px rgba(59, 35, 20, 0.04);
}

.prepare-chip-icon,
.who-chip-icon {
  font-size: 1.25rem;
  color: var(--amber-accent);
}

.section-feature-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--amber-border);
  box-shadow: 0 16px 36px rgba(59, 35, 20, 0.08);
  background: var(--bg-biscuit);
  line-height: 0;
  display: block;
}

.section-feature-card img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
  z-index: 1;
}

.section-feature-card:hover img {
  transform: scale(1.02);
}

.section-feature-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(30, 18, 10, 0.92) 0%, rgba(30, 18, 10, 0.5) 60%, transparent 100%);
  padding: 2rem 1.5rem 1.25rem;
  color: #ffffff;
  line-height: 1.5;
}

.section-feature-overlay-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--yolk-primary);
  margin-bottom: 0.25rem;
}

.section-feature-overlay-sub {
  font-size: 0.875rem;
  color: var(--bg-eggshell);
  opacity: 0.95;
}

.wide-casting-banner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--amber-border);
  box-shadow: 0 16px 40px rgba(59, 35, 20, 0.09);
  min-height: 330px;
  width: 100%;
  display: flex;
}

.wide-casting-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.wide-casting-banner-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 330px;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(30, 18, 10, 0.25) 0%, rgba(30, 18, 10, 0.75) 50%, rgba(30, 18, 10, 0.95) 100%);
  padding: 2rem 1.75rem 1.5rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.wide-casting-banner-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--yolk-primary);
  margin-bottom: 0.5rem;
}

.wide-casting-banner-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 680px;
  color: var(--bg-eggshell);
  margin-bottom: 1.25rem;
}

.hero-visual-spotlight-card {
  width: 100%;
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 2px solid var(--amber-border);
  box-shadow: 0 20px 48px rgba(59, 35, 20, 0.14), 0 0 0 4px rgba(251, 191, 36, 0.12);
  background: #fff9ea;
}

.hero-visual-spotlight-card img {
  width: 100%;
  height: auto;
  max-height: 410px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-visual-caption {
  width: 100%;
  margin-top: 0.85rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 253, 250, 0.92);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--amber-border);
  border-radius: 16px;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--amber-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(59, 35, 20, 0.05);
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .section-split-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .who-split-grid,
  .prepare-split-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .who-feature-card,
  .who-feature-card img,
  .prepare-feature-card,
  .prepare-feature-card img {
    min-height: 320px;
    max-height: 380px;
    height: 340px;
  }
  .wide-casting-banner-overlay {
    padding: 2rem 1.5rem 1.75rem;
  }
  .wide-casting-banner-title {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   FULL PAGE CMS & MODAL COMPONENT STYLES
   ========================================================================== */
.cms-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 16, 8, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
}

.cms-modal-card {
  background: var(--bg-butter, #fffdfa);
  border: 2px solid var(--amber-border, #fcd34d);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(59, 35, 20, 0.25);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  box-sizing: border-box;
  animation: cmsModalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cmsModalSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.cms-section-card {
  background: #ffffff;
  border: 1.5px solid var(--amber-border, #fcd34d);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(59, 35, 20, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cms-section-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 35, 20, 0.08);
}

.cms-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cms-badge-type {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-accent, #d97706);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.cms-badge-visible {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.cms-badge-hidden {
  background: rgba(107, 114, 128, 0.12);
  color: #4b5563;
  border: 1px solid rgba(107, 114, 128, 0.3);
}

.cms-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  font-size: 0.825rem;
  font-weight: 700;
  border: 1.5px solid var(--amber-border, #fcd34d);
  background: #ffffff;
  color: var(--cocoa-heading, #3b2314);
  cursor: pointer;
  transition: all 0.15s ease;
}

.cms-btn-icon:hover:not(:disabled) {
  background: var(--bg-butter, #fffdfa);
  border-color: var(--amber-accent, #d97706);
  color: var(--amber-accent, #d97706);
}

.cms-btn-icon:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cms-btn-danger {
  border-color: #fca5a5;
  color: #dc2626;
}

.cms-btn-danger:hover:not(:disabled) {
  background: #fef2f2;
  border-color: #dc2626;
  color: #991b1b;
}

/* Admin Reorder & Fee Control Panel Styles */
.btn-cms-reorder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 800;
  border: 1.5px solid var(--amber-border, #fcd34d);
  background: #ffffff;
  color: var(--cocoa-heading, #3b2314);
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
}

.btn-cms-reorder:hover:not(:disabled) {
  background: var(--bg-butter, #fffdfa);
  border-color: var(--amber-accent, #d97706);
  color: var(--amber-accent, #d97706);
  transform: translateY(-1px);
}

.btn-cms-reorder:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  border-color: #e5e7eb;
  color: #9ca3af;
}

.cms-fee-settings-card {
  background: var(--card-surface-color, #ffffff);
  border: 2px solid var(--amber-border, #fcd34d);
  border-radius: 18px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(59, 35, 20, 0.05);
}

.cms-fee-settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--amber-border, #fcd34d);
}

.cms-fee-settings-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--cocoa-heading, #3b2314);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cms-fee-control-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  align-items: flex-end;
}

/* Site-Wide Floating WhatsApp Contact Button & Panel */
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9990;
  background: #25D366;
  color: #ffffff;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background-color 0.2s ease;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
}

.floating-wa-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.48), 0 4px 12px rgba(0, 0, 0, 0.2);
  background: #20ba5a;
}

.floating-wa-btn:focus-visible {
  outline: 3px solid #1a1a1a;
  outline-offset: 3px;
}

.floating-wa-btn .wa-btn-icon {
  flex-shrink: 0;
}

/* Mini Contact Panel */
.floating-wa-panel {
  position: fixed;
  bottom: 84px;
  right: 24px;
  z-index: 9991;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border: 1.5px solid var(--amber-border, #fcd34d);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(45, 30, 15, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
  display: none;
  overflow: hidden;
  animation: waPanelFadeUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes waPanelFadeUp {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.wa-panel-header {
  background: var(--bg-butter, #fffdfa);
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--amber-border, #fcd34d);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wa-panel-header strong {
  color: var(--cocoa-heading, #3b2314);
  font-size: 0.95rem;
}

.wa-panel-close {
  background: transparent;
  border: none;
  font-size: 1.1rem;
  color: var(--toasted-brown, #785a44);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  line-height: 1;
}

.wa-panel-close:hover {
  background: var(--amber-border, #fcd34d);
  color: var(--cocoa-heading, #3b2314);
}

.wa-panel-body {
  padding: 1.1rem 1rem;
}

.wa-panel-body p {
  font-size: 0.85rem;
  color: var(--toasted-brown, #785a44);
  line-height: 1.45;
  margin-bottom: 1rem;
}

.btn-pill-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #25D366;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  border: none;
}

.btn-pill-wa:hover {
  background: #20ba5a;
  transform: translateY(-1px);
}

/* Responsive Hide Controls */
@media (min-width: 769px) {
  .floating-wa-btn.hide-desktop,
  .floating-wa-panel.hide-desktop {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .floating-wa-btn {
    bottom: 16px;
    right: 16px;
    padding: 10px 16px;
    font-size: 0.88rem;
  }

  .floating-wa-panel {
    bottom: 72px;
    right: 16px;
    width: calc(100vw - 32px);
  }

  .floating-wa-btn.hide-mobile,
  .floating-wa-panel.hide-mobile {
    display: none !important;
  }
}

@media (max-width: 430px) {
  .floating-wa-btn {
    padding: 10px 14px;
    font-size: 0.82rem;
  }
}

/* CMS Section Card Header Clearance & Admin Offset */
.cms-section-card {
  scroll-margin-top: 100px;
}

#cmsSectionsList,
#adminTabHomepage {
  scroll-padding-top: 100px;
}








/* GLOBAL OVERFLOW & RESPONSIVE FIXES */
html {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100%;
}

body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100%;
  position: relative;
}

.page-view {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
}

.mobile-drawer {
  max-width: 100vw;
}

/* ==========================================================================
   EGGCELLENT PHASE 10 REPAIR: TALENT CATALOGUE & ENQUIRY DESIGN SYSTEM
   ========================================================================== */

/* 1. Clean Catalogue Surface (Isolated from cinematic backgrounds) */
.talent-catalogue-surface {
  background: var(--bg-eggshell, #fcf9f2);
  border: 1.5px solid var(--amber-border);
  border-radius: 28px;
  padding: 2.5rem 1.75rem;
  margin: 1.5rem auto 3rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 32px rgba(59, 35, 20, 0.05);
}

/* 2. Intentional Filter Panel & Form Controls */
.filters-panel-card {
  background: #ffffff !important;
  border: 1.5px solid var(--amber-border) !important;
  border-radius: 20px !important;
  padding: 1.5rem 1.75rem !important;
  box-shadow: 0 4px 20px rgba(59, 35, 20, 0.04) !important;
  margin-bottom: 2rem !important;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.filter-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--cocoa-heading);
  letter-spacing: 0.02em;
}

/* Standardized 46-48px Eggcellent Controls */
.form-input, .form-select, .filter-input, .filter-select {
  width: 100%;
  height: 48px !important;
  min-height: 48px !important;
  line-height: 48px !important;
  padding: 0 1rem !important;
  font-family: var(--font-body, system-ui, -apple-system, sans-serif) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  border: 1.5px solid var(--biscuit-border, #e6d5bc) !important;
  background-color: #ffffff !important;
  color: var(--cocoa-heading, #2e1c0c) !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.form-select, .filter-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238c5b36' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 16px !important;
  padding-right: 2.75rem !important;
  cursor: pointer !important;
}

.form-input:focus, .form-select:focus, .filter-input:focus, .filter-select:focus {
  border-color: var(--yolk-primary, #f59e0b) !important;
  box-shadow: 0 0 0 3px var(--yolk-glow, rgba(245, 158, 11, 0.2)) !important;
}

.age-range-inputs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.age-range-inputs input {
  width: 75px !important;
  text-align: center !important;
}

/* 3. Responsive Card Grid (Desktop 3-4, Tablet 2, Mobile 1) */
.talent-roster-grid, .talent-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 1.75rem !important;
}

@media (min-width: 1200px) {
  .talent-roster-grid, .talent-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .talent-roster-grid, .talent-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .talent-roster-grid, .talent-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 599px) {
  .talent-roster-grid, .talent-grid {
    grid-template-columns: 1fr !important;
  }
  .talent-catalogue-surface {
    padding: 1.5rem 1rem !important;
    border-radius: 20px !important;
  }
}

/* 4. Controlled Performer Headshot Ratio */
.talent-headshot-box {
  width: 100% !important;
  aspect-ratio: 4 / 5 !important;
  max-height: 290px !important;
  overflow: hidden !important;
  position: relative !important;
  background-color: var(--bg-biscuit, #f5ecd8) !important;
}

.talent-headshot-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 20% !important;
}

/* 5. Casting Enquiry Modal & Context Banners */
.enquiry-context-banner {
  background: var(--bg-butter, #fffdfa);
  border: 1.5px solid var(--amber-border, #e6d5bc);
  border-radius: 14px;
  padding: 0.85rem 1.15rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--cocoa-heading);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 2px 10px rgba(59, 35, 20, 0.04);
}

.enquiry-performer-badge {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--bg-biscuit, #f5ecd8);
  border: 1.5px solid var(--amber-border);
  border-radius: 16px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-question {
  cursor: pointer;
}

/* WhatsApp CTA Button */
.btn-pill-whatsapp,
a.btn-pill-whatsapp,
button.btn-pill-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  padding: 0.62rem 1.35rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(18, 140, 126, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  min-height: 42px;
  cursor: pointer;
  text-decoration: none !important;
}

.btn-pill-whatsapp svg,
a.btn-pill-whatsapp svg,
button.btn-pill-whatsapp svg {
  transition: transform 0.22s ease;
  flex-shrink: 0;
  fill: currentColor;
}

.btn-pill-whatsapp:hover:not(:disabled):not([disabled]),
a.btn-pill-whatsapp:hover:not(.disabled),
button.btn-pill-whatsapp:hover:not(:disabled) {
  background: linear-gradient(135deg, #20ba5a 0%, #0d6d62 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(18, 140, 126, 0.45);
  color: #ffffff !important;
}

.btn-pill-whatsapp:focus-visible,
a.btn-pill-whatsapp:focus-visible,
button.btn-pill-whatsapp:focus-visible {
  outline: 3px solid #25D366;
  outline-offset: 3px;
}

.btn-pill-whatsapp:active:not(:disabled):not([disabled]),
a.btn-pill-whatsapp:active:not(.disabled),
button.btn-pill-whatsapp:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(18, 140, 126, 0.3);
}

.btn-pill-whatsapp:disabled,
.btn-pill-whatsapp[disabled],
.btn-pill-whatsapp.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  transform: none;
}

.admin-enquiry-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .admin-enquiry-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .admin-enquiry-actions > * {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   BLOG / NEWS CMS & RESPONSIVE ARTICLE STYLES
   ========================================================================== */
.blog-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: var(--card-bg, #ffffff);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(59, 35, 20, 0.12);
}

.blog-card:hover img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .blog-single-article {
    padding: 1.5rem 1.25rem !important;
  }
  .blog-single-article h1 {
    font-size: 1.75rem !important;
  }
  #adminBlogArticleModal .cms-modal-card {
    padding: 1.25rem !important;
  }
}

/* ==========================================================================
   MOBILE RESPONSIVE LAYOUT & OVERSIZED UI REPAIR (390px - 768px)
   ========================================================================== */

/* 1. Modal backdrop & box constraints across mobile & tablet */
@media (max-width: 768px) {
  .modal-backdrop,
  .cms-modal-backdrop {
    padding: 12px !important;
  }

  .modal-box,
  .cms-modal-card {
    width: 100% !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100vh - 32px) !important;
    overflow-y: auto !important;
    padding: 1.25rem 1rem !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
  }

  /* Modal action buttons stacked vertically on mobile/tablet */
  .modal-form-actions,
  .modal-box .form-actions,
  .cms-modal-card .form-actions,
  .modal-box div[style*="justify-content: flex-end"],
  .cms-modal-card div[style*="justify-content: flex-end"] {
    display: flex !important;
    flex-direction: column-reverse !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }

  .modal-form-actions button,
  .modal-form-actions .btn-pill-gold,
  .modal-form-actions .btn-outline-gold,
  .modal-box div[style*="justify-content: flex-end"] button,
  .modal-box div[style*="justify-content: flex-end"] a,
  .cms-modal-card div[style*="justify-content: flex-end"] button,
  .cms-modal-card div[style*="justify-content: flex-end"] a {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }

  /* Admin tab navigation horizontal scrolling with no visible scrollbar */
  .admin-tab-nav {
    gap: 0.4rem !important;
    margin-bottom: 1.25rem !important;
    padding-bottom: 0.4rem !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .admin-tab-nav::-webkit-scrollbar {
    display: none !important;
  }
  .admin-tab-btn {
    font-size: 0.8rem !important;
    padding: 0.5rem 0.85rem !important;
    border-radius: 10px !important;
  }

  /* Admin 4-column inline grids collapse to 2 columns on tablet */
  #adminSettingsForm div[style*="grid-template-columns: 1fr 1fr 1fr 1fr"],
  #adminBusinessContactForm div[style*="grid-template-columns: 1fr 1fr 1fr 1fr"],
  #adminTabSettings div[style*="grid-template-columns: 1fr 1fr 1fr 1fr"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
  }
}

@media (max-width: 600px) {
  /* Agency Sign In page typography & card constraints */
  #page-sign-in .section-header {
    margin-bottom: 1.25rem !important;
  }
  #page-sign-in .section-title {
    font-size: clamp(1.35rem, 5.5vw, 1.7rem) !important;
    line-height: 1.25 !important;
  }
  #page-sign-in .section-desc {
    font-size: 0.875rem !important;
    line-height: 1.45 !important;
    margin: 0 auto 0.75rem !important;
  }
  #adminLoggedOutView .contact-card-box {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.25rem 1rem !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
  }
  #adminLoggedOutView .contact-card-box h3 {
    font-size: 1.25rem !important;
  }

  /* Admin Logged-In Active Session Bar */
  #adminLoggedInView > div:first-child {
    padding: 1rem 0.85rem !important;
    border-radius: 14px !important;
    margin-bottom: 1rem !important;
  }

  /* Admin Stats row compact 2-column grid */
  .admin-stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.65rem !important;
    margin-bottom: 1.25rem !important;
  }
  .admin-stat-card {
    padding: 0.85rem 0.75rem !important;
    border-radius: 14px !important;
  }
  .admin-stat-num {
    font-size: 1.65rem !important;
  }
  .admin-stat-label {
    font-size: 0.68rem !important;
  }

  /* Admin filter bars & controls full width on mobile */
  #adminTabApplications div[style*="justify-content: space-between"],
  #adminTabHomepage div[style*="justify-content: space-between"] {
    padding: 1rem 0.85rem !important;
  }
  #adminAppSearch,
  #adminAppStatusFilter,
  #adminAppFeeFilter,
  #btnExportTalentCSV,
  #cmsPageSelector {
    width: 100% !important;
    max-width: 100% !important;
    min-width: unset !important;
  }

  /* All form grids in admin tabs collapse to 1 column on mobile */
  #adminSettingsForm div[style*="grid-template-columns"],
  #adminBusinessContactForm div[style*="grid-template-columns"],
  #adminTabSettings div[style*="grid-template-columns"],
  #adminTabBackgrounds div[style*="grid-template-columns"],
  #adminProfileEditModal div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  #adminSettingsForm button[type="submit"],
  #adminBusinessContactForm button[type="submit"] {
    width: 100% !important;
  }

  /* Talent Filter & catalogue cards sizing */
  .filters-panel-card {
    padding: 1rem 0.85rem !important;
    border-radius: 16px !important;
  }

  .talent-catalogue-surface {
    padding: 1.25rem 0.85rem !important;
    margin: 1rem auto 2rem !important;
    border-radius: 20px !important;
  }

  /* Grids to single column on mobile */
  .talent-grid,
  .blog-grid,
  .cms-grid-2col,
  .grid-2,
  .grid-3,
  .grid-4,
  .who-grid,
  .prepare-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Responsive typography scaling */
  .hero-headline {
    font-size: 2rem !important;
    line-height: 1.18 !important;
  }

  .section-title {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
  }

  #castingEnquiryModalTitle {
    font-size: 1.35rem !important;
  }
}

/* Floating WhatsApp auto-hide when modals are genuinely open */
body.modal-open .floating-wa-btn,
body.modal-open .floating-wa-panel,
body:has(.modal-backdrop.open) .floating-wa-btn,
body:has(.modal-backdrop.open) .floating-wa-panel,
body:has(.modal-backdrop.active) .floating-wa-btn,
body:has(.modal-backdrop.active) .floating-wa-panel,
body:has(#legalPolicyModal.active) .floating-wa-btn,
body:has(#legalPolicyModal.active) .floating-wa-panel,
body:has(#legalPolicyModal.open) .floating-wa-btn,
body:has(#legalPolicyModal.open) .floating-wa-panel,
body:has(.cms-modal-backdrop.open) .floating-wa-btn,
body:has(.cms-modal-backdrop.open) .floating-wa-panel {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}



/* ANCHOR HIGHLIGHT & SCROLL FOCUS */
.anchor-highlight {
  animation: pulseAnchorHighlight 2.5s ease-out;
  border-radius: 16px;
  outline: 3px solid var(--amber-accent) !important;
  outline-offset: 4px;
}

@keyframes pulseAnchorHighlight {
  0% {
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7);
    outline-color: var(--amber-accent);
  }
  50% {
    box-shadow: 0 0 20px 8px rgba(217, 119, 6, 0.4);
    outline-color: var(--yolk-primary);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0);
    outline-color: transparent;
  }
}
