/* ==========================================================================
   FAT EVENTS & GROUPS & FAT GROUP HUB — DESIGN SYSTEM
   Full Adventure Tours Corporate & Institutional Theme
   ========================================================================== */

:root {
  --fat-navy: #0b2545;
  --fat-navy-dark: #06152b;
  --fat-navy-light: #134074;
  --fat-gold: #c59b27;
  --fat-gold-light: #dfb33e;
  --fat-blue-accent: #0077b6;
  --fat-slate: #475569;
  --fat-slate-light: #f8fafc;
  --fat-border: #e2e8f0;
  --fat-success: #10b981;
  --fat-warning: #f59e0b;
  --fat-info: #0284c7;
}

/* Base Container & Sections */
.fat-events-page {
  color: #1e293b;
  font-family: inherit;
  overflow-x: hidden;
}

.fat-section {
  padding: 4.5rem 0;
  position: relative;
}

.fat-section-alt {
  background-color: #f8fafc;
}

.fat-section-dark {
  background-color: var(--fat-navy-dark);
  color: #ffffff;
}

/* Typography & Headings */
.fat-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 9999px;
  background: rgba(197, 155, 39, 0.15);
  color: var(--fat-gold);
  border: 1px solid rgba(197, 155, 39, 0.3);
  margin-bottom: 1rem;
}

.fat-section-dark .fat-section-badge {
  background: rgba(197, 155, 39, 0.2);
  color: #f1c40f;
  border-color: rgba(241, 196, 15, 0.4);
}

.fat-section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--fat-navy);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.fat-section-dark .fat-section-title {
  color: #ffffff;
}

.fat-section-subtitle {
  font-size: 1.15rem;
  color: var(--fat-slate);
  max-width: 780px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}

.fat-section-dark .fat-section-subtitle {
  color: #cbd5e1;
}

/* Hero Section */
.fat-hero-banner {
  background: linear-gradient(135deg, rgba(11, 37, 69, 0.92) 0%, rgba(6, 21, 43, 0.95) 100%),
              url('/events-media/congreso-familiar-hard-rock/photo_01.webp') center/cover no-repeat;
  padding: 6rem 0 5rem 0;
  color: #ffffff;
  position: relative;
}

.fat-hero-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(to top, rgba(255,255,255,0.06), transparent);
}

.fat-hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.fat-hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 2rem;
  max-width: 820px;
}

.fat-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.fat-btn-primary {
  background-color: var(--fat-gold);
  color: #0b2545 !important; /* WCAG AAA: Navy text on gold provides > 8.5:1 contrast */
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  border: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(197, 155, 39, 0.35);
}

.fat-btn-primary:hover {
  background-color: var(--fat-gold-light);
  color: #06152b !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 155, 39, 0.45);
}

.fat-btn-outline-light {
  background-color: transparent;
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.9rem 1.75rem;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.fat-btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.fat-btn-outline-navy {
  background-color: transparent;
  color: var(--fat-navy) !important;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  border: 2px solid var(--fat-navy);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
}

.fat-btn-outline-navy:hover {
  background-color: var(--fat-navy);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(11, 37, 69, 0.2);
}

.fat-events-page .text-muted.small,
.fat-events-page .small.text-muted {
  font-size: 0.875rem;
  color: #475569 !important;
}

.fat-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.fat-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.fat-trust-item i {
  color: var(--fat-gold);
}

/* Segment Cards */
.fat-segment-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(11, 37, 69, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--fat-border);
}

.fat-segment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(11, 37, 69, 0.15);
}

.fat-segment-img-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.fat-segment-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.fat-segment-card:hover .fat-segment-img {
  transform: scale(1.05);
}

.fat-segment-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fat-segment-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--fat-navy);
  margin-bottom: 0.75rem;
}

.fat-segment-desc {
  font-size: 0.95rem;
  color: var(--fat-slate);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.fat-segment-link {
  font-weight: 700;
  color: var(--fat-blue-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.fat-segment-link:hover {
  color: var(--fat-navy);
}

/* Service Grid Cards */
.fat-service-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  border: 1px solid var(--fat-border);
  box-shadow: 0 4px 15px rgba(11, 37, 69, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.fat-service-card:hover {
  border-color: var(--fat-gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(11, 37, 69, 0.1);
}

.fat-service-icon {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: rgba(11, 37, 69, 0.06);
  color: var(--fat-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.fat-service-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fat-navy);
  margin-bottom: 0.5rem;
}

.fat-service-desc {
  font-size: 0.95rem;
  color: var(--fat-slate);
  line-height: 1.5;
  margin: 0;
}

/* Case Study Cards (Portfolio) */
.fat-case-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(11, 37, 69, 0.08);
  border: 1px solid var(--fat-border);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s ease;
}

.fat-case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(11, 37, 69, 0.16);
}

.fat-case-media-wrap {
  position: relative;
  height: 240px;
  background: #0f172a;
  overflow: hidden;
}

.fat-case-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.fat-case-card:hover .fat-case-media-img {
  transform: scale(1.05);
}

.fat-case-badge-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 37, 69, 0.85);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.fat-case-badge-attendees {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(197, 155, 39, 0.92);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.fat-case-content {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fat-case-venue {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fat-blue-accent);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.fat-case-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--fat-navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.fat-case-desc {
  font-size: 0.95rem;
  color: var(--fat-slate);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.fat-case-services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.fat-case-tag {
  background: #f1f5f9;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

.fat-case-footer {
  border-top: 1px solid var(--fat-border);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Portfolio Gallery (Grid with Lightbox) */
.fat-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.fat-gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 220px;
  cursor: pointer;
  background: #f1f5f9;
  border: 1px solid var(--fat-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.fat-gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
  background-size: 200% 100%;
  animation: fatGallerySkeleton 1.8s infinite;
  z-index: 0;
}

@keyframes fatGallerySkeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.fat-gallery-thumb {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
  background: transparent;
}

.fat-gallery-item:hover .fat-gallery-thumb {
  transform: scale(1.08);
}

.fat-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 37, 69, 0.75) 0%, transparent 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fat-gallery-item:hover .fat-gallery-overlay {
  opacity: 1;
}

.fat-gallery-zoom-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--fat-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transform: scale(0.8);
  transition: transform 0.25s ease;
}

.fat-gallery-item:hover .fat-gallery-zoom-icon {
  transform: scale(1);
}

/* Video Showcase Component */
.fat-video-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--fat-border);
  box-shadow: 0 6px 20px rgba(11, 37, 69, 0.08);
  height: 100%;
}

.fat-video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  background: #000000;
}

.fat-video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fat-video-info {
  padding: 1.25rem;
}

.fat-video-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fat-navy);
  margin-bottom: 0.35rem;
}

/* FAT Group Hub Tech Feature Cards */
.fat-hub-feature-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.75rem;
  border: 1px solid var(--fat-border);
  box-shadow: 0 4px 15px rgba(11, 37, 69, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.fat-hub-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(11, 37, 69, 0.12);
}

.fat-hub-badge-status {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.badge-fat-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.badge-fat-warning {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.badge-fat-info {
  background: #f0f9ff;
  color: #075985;
  border: 1px solid #bae6fd;
}

/* Process Timeline (4 Steps) */
.fat-timeline-step {
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

.fat-step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--fat-navy);
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.2);
}

.fat-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fat-navy);
  margin-bottom: 0.5rem;
}

.fat-step-desc {
  font-size: 0.92rem;
  color: var(--fat-slate);
  line-height: 1.5;
}

/* Form Styles */
.fat-lead-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 12px 35px rgba(11, 37, 69, 0.12);
  border: 1px solid var(--fat-border);
}

.fat-form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--fat-navy);
  margin-bottom: 0.35rem;
}

.fat-form-control {
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.fat-form-control:focus {
  border-color: var(--fat-navy-light);
  box-shadow: 0 0 0 3px rgba(19, 64, 116, 0.15);
  outline: none;
}

/* Lightbox Modal */
.fat-lightbox-modal {
  display: none;
  position: fixed !important;
  z-index: 9999999 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(4, 13, 26, 0.96) !important;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.fat-lightbox-modal.active {
  display: flex !important;
}

.fat-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000001 !important;
}

.fat-lightbox-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 56vh;
  width: 100%;
}

.fat-lightbox-img {
  max-width: 86vw;
  max-height: 56vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  background: #0b1e36;
  display: block;
  margin: 0 auto;
}

.fat-lightbox-close {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #ffffff !important;
  font-size: 2.4rem;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.6) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 10000005 !important;
  transition: all 0.2s ease;
}

.fat-lightbox-close:hover,
.fat-lightbox-close:focus {
  background: #c59b27 !important;
  color: #0b2545 !important;
  border-color: #c59b27 !important;
  transform: scale(1.08);
}

/* Prev / Next Navigation */
.fat-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  z-index: 10000005 !important;
  transition: all 0.2s ease;
}

.fat-lightbox-nav:hover,
.fat-lightbox-nav:focus {
  background: #c59b27 !important;
  color: #0b2545 !important;
  border-color: #c59b27 !important;
  transform: translateY(-50%) scale(1.1);
}

.fat-lightbox-prev {
  left: 10px;
}

.fat-lightbox-next {
  right: 10px;
}

@media (max-width: 768px) {
  .fat-lightbox-prev {
    left: 6px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .fat-lightbox-next {
    right: 6px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .fat-lightbox-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 2rem;
  }
  .fat-lightbox-img {
    max-height: 50vh;
    max-width: 82vw;
  }
}

/* ==========================================================================
   FAT ONSITE SIGNATURE CALLOUT (MARCA PERSONAL)
   ========================================================================== */
.fat-onsite-callout {
  background: linear-gradient(135deg, #06152b 0%, #0b2545 60%, #134074 100%);
  border-radius: 20px;
  padding: 2.75rem;
  box-shadow: 0 15px 40px rgba(11, 37, 69, 0.25);
  border: 1px solid rgba(197, 155, 39, 0.35);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.fat-onsite-callout::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(197, 155, 39, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.fat-onsite-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(197, 155, 39, 0.2);
  color: #f1c40f;
  border: 1px solid rgba(241, 196, 15, 0.4);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fat-onsite-title {
  color: #ffffff;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
}

.fat-onsite-lead {
  color: #cbd5e1;
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.fat-onsite-pillar {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.4rem;
  height: 100%;
  transition: transform 0.2s ease, background 0.2s ease;
}

.fat-onsite-pillar:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
}

.fat-onsite-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(197, 155, 39, 0.25);
  color: #f1c40f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

/* ==========================================================================
   CHURCH MICE & AUDIENCE MATRIX
   ========================================================================== */
.fat-church-framework {
  position: relative;
}

.fat-audience-matrix-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
}

.max-w-700 {
  max-width: 700px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .fat-hero-title {
    font-size: 2.1rem;
  }
  .fat-section-title {
    font-size: 1.85rem;
  }
  .fat-hero-banner {
    padding: 4rem 0 3rem 0;
  }
  .fat-lead-card {
    padding: 1.5rem;
  }
}



/* ==========================================================================
   DELIVERABLES SHOWCASE & INTERACTIVE DEMO VIEWER
   ========================================================================== */
.fat-deliverables-showcase {
  position: relative;
}

.fat-demo-viewer-card {
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
  border: 1px solid #e2e8f0;
}

.fat-demo-tab-btn {
  font-weight: 600;
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  transition: all 0.2s ease;
}

.fat-demo-tab-btn.active {
  background: #ffffff;
  color: #0f172a !important;
  border-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.fat-device-frame {
  max-width: 960px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
}

.fat-device-topbar {
  background: #1e293b;
  font-size: 0.75rem;
  height: 32px;
}

.fat-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
}

.fat-demo-iframe {
  height: 600px;
  border: 0;
  display: block;
}

.fat-deliverable-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.fat-deliverable-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12) !important;
}

.fat-deliverable-thumb-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #0f172a;
}

.fat-deliverable-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.fat-deliverable-card:hover .fat-deliverable-img {
  transform: scale(1.05);
}

.fat-deliverable-zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  transition: all 0.2s ease;
}

.fat-deliverable-card:hover .fat-deliverable-zoom {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

@media (max-width: 768px) {
  .fat-demo-iframe {
    height: 460px;
  }
}


/* ==========================================================================
   FAT ADMIN & OPERATIONAL SITES PREVIEW CARDS
   ========================================================================== */
.fat-admin-preview-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: #ffffff;
}

.fat-admin-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12) !important;
}

.fat-admin-card-header {
  border-bottom: 2px solid #334155;
  font-family: inherit;
}


/* ==========================================================================
   FORM VALIDATION STYLES (JQUERY & ACCESSIBILITY)
   ========================================================================== */
.fat-form-control.is-invalid {
  border-color: #dc2626 !important;
  background-color: #fffaf0 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
}

.fat-form-control.is-valid {
  border-color: #16a34a !important;
  background-color: #f0fdf4 !important;
}

.fat-field-error {
  display: none;
  color: #dc2626;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 0.35rem;
}

.fat-field-error.active {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.form-check-input.is-invalid ~ .fat-field-error.active {
  display: flex;
}


/* ==========================================================================
   WCAG 2.1 AA ACCESSIBILITY ENHANCEMENTS
   ========================================================================== */
.fat-btn-primary:focus-visible,
.fat-btn-outline-light:focus-visible,
.fat-form-control:focus-visible,
.fat-gallery-item:focus-visible,
.fat-lightbox-close:focus-visible,
.fat-lightbox-nav:focus-visible {
  outline: 3px solid #0077b6 !important;
  outline-offset: 3px !important;
}

.fat-gallery-item:focus {
  outline: 3px solid #0077b6;
  outline-offset: 2px;
}

/* ==========================================================================
   FLOATING CONTROLS CONFLICT AVOIDANCE (WHATSAPP & TO-TOP)
   ========================================================================== */
/* Hide floating controls and mobile header when Lightbox modal is open */
body.fat-lb-open #whatsapp-float,
body.fat-lb-open #toTop,
body.fat-lb-open #mm-blocker,
body.fat-lb-open header,
body.fat-lb-open .btn_mobile,
body.fat-lb-open #hamburger,
#fatLightboxModal.active ~ #whatsapp-float,
#fatLightboxModal.active ~ #toTop {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  z-index: -1 !important;
}

/* Hide floating controls on mobile when interacting with lead form or on keyboard focus */
@media (max-width: 768px) {
  body.fat-form-focused #whatsapp-float,
  body.fat-form-focused #toTop,
  body.fat-form-in-view #whatsapp-float,
  body.fat-form-in-view #toTop,
  #fatLeadForm:focus-within ~ #whatsapp-float,
  #fatLeadForm:focus-within ~ #toTop {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    transform: translateY(20px) scale(0.8) !important;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s !important;
  }
}

/* Mobile Menu Counter Removal */
.mm-counter {
  display: none !important;
}

