/* ═══════════════════════════════════════════════════════════════════
   FGIC HERO SECTION & 500 × 1080 CINEMATIC REEL STYLES
   Light, Clean, & Premium Architecture Canvas
   Trust & Authority Accents: Royal Deep Navy (#0F2B48),
   Prestige Architectural Gold (#B89047), Crisp Alabaster White (#FFFFFF)
   ═══════════════════════════════════════════════════════════════════ */

/* ── Hero Main Section Layout (Light, Clean, Airy) ── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: clamp(110px, 14vh, 140px);
  padding-bottom: clamp(50px, 8vh, 90px);
  background: radial-gradient(circle at 65% 15%, #FFFFFF 0%, #F8FAFC 55%, #EEF2F6 100%);
  overflow: hidden;
}

/* Ambient Architectural Background Lighting */
.hero-backdrop-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 140vw;
  height: 120vh;
  background: 
    radial-gradient(circle at 75% 45%, rgba(184, 144, 71, 0.07) 0%, transparent 55%),
    radial-gradient(circle at 25% 35%, rgba(15, 43, 72, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(15, 43, 72, 0.03) 0%, transparent 45%);
  pointer-events: none;
  z-index: 1;
}

/* Architectural Grid Texture */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(15, 43, 72, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 43, 72, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 50%, black 60%, transparent 95%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 60%, transparent 95%);
  pointer-events: none;
  z-index: 1;
}

/* 2-Column Hero Grid */
.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

/* ═══════════════════════════════════════════════════════════════════
   LEFT COLUMN: CONTENT & TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════ */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* Luxury Status Badge / Eyebrow */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #FFFFFF;
  border: 1px solid rgba(15, 43, 72, 0.16);
  padding: 0.45rem 1.15rem;
  border-radius: 40px;
  color: #0F2B48;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.74rem, 1vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
}

.hero-badge-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #B89047;
  box-shadow: 0 0 10px #B89047;
}

.hero-badge-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(184, 144, 71, 0.6);
  animation: badgeRipple 2.2s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes badgeRipple {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Primary Headline */
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #0F172A;
  margin-bottom: 1.1rem;
}

.hero-title .title-accent {
  background: linear-gradient(135deg, #0F2B48 20%, #1E40AF 65%, #B89047 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-title .title-gold {
  color: #B89047;
  display: inline-block;
}

/* Subheadline */
.hero-subtitle {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.3;
  color: #1E293B;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.hero-subtitle span {
  color: #B89047;
}

/* Value Proposition Paragraph */
.hero-description {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  line-height: 1.75;
  color: #475569;
  max-width: 620px;
  margin-bottom: 2rem;
}

.hero-description strong {
  color: #0F172A;
  font-weight: 700;
}

/* Three Service Pillars */
.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.hero-pillar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
  transition: all 0.3s ease;
}

.hero-pillar-item:hover {
  background: #FFFFFF;
  border-color: #0F2B48;
  color: #0F2B48;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 43, 72, 0.08);
}

.hero-pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0F2B48;
}

/* Action Buttons (CTAs) */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.98rem 2.2rem;
  background: linear-gradient(135deg, #0F2B48 0%, #1A3E6D 100%);
  border: 1px solid rgba(15, 43, 72, 0.2);
  color: #FFFFFF !important;
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 43, 72, 0.25);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-hero-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  transition: all 0.75s ease;
}

.btn-hero-primary:hover::after {
  left: 130%;
}

.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(15, 43, 72, 0.35);
  background: linear-gradient(135deg, #1A3E6D 0%, #255799 100%);
  color: #FFFFFF !important;
}

.btn-hero-primary .btn-icon {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.btn-hero-primary:hover .btn-icon {
  transform: translateX(4px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.98rem 2.2rem;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #0F2B48;
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-hero-secondary:hover {
  background: #F8FAFC;
  border-color: #0F2B48;
  color: #0F2B48;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(15, 43, 72, 0.1);
}

/* Trust Proof Row */
.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  width: 100%;
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
}

.hero-trust-number {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 2px;
}

.hero-trust-number span.accent {
  color: #B89047;
}

.hero-trust-label {
  font-size: 0.76rem;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.hero-trust-divider {
  width: 1px;
  height: 28px;
  background: rgba(226, 232, 240, 0.95);
}

/* ═══════════════════════════════════════════════════════════════════
   RIGHT COLUMN: 500 × 1080 CINEMATIC VIDEO-STYLE CONTAINER
   ═══════════════════════════════════════════════════════════════════ */
.hero-media-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Ambient Backlight Halo */
.hero-cinema-halo {
  position: absolute;
  inset: -10%;
  background: radial-gradient(
    circle at center,
    rgba(15, 43, 72, 0.1) 0%,
    rgba(184, 144, 71, 0.06) 40%,
    transparent 70%
  );
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
  animation: haloPulse 6s ease-in-out infinite alternate;
}

@keyframes haloPulse {
  0% { transform: scale(0.95); opacity: 0.75; }
  100% { transform: scale(1.05); opacity: 1; }
}

/* The Exact 500 × 1080 px Aspect Ratio Container */
.hero-cinema-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 500 / 1080;
  max-height: min(860px, calc(100vh - 140px));
  border-radius: 28px;
  overflow: hidden;
  background-color: #091B30;
  box-shadow: 
    0 25px 65px -15px rgba(15, 23, 42, 0.22),
    0 10px 25px -5px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

@media (min-width: 1400px) and (min-height: 960px) {
  .hero-cinema-container {
    max-width: 480px;
    max-height: 940px;
  }
}

/* Inner Slides Carousel Track */
.hero-slides-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Individual Cinematic Slide */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 3;
}

.hero-slide.previous {
  opacity: 0;
  visibility: visible;
  z-index: 2;
}

/* Media Image Element */
.hero-slide-img {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  object-position: center 45%;
  will-change: transform;
  filter: contrast(1.04) brightness(0.96) saturate(1.08);
}

/* ═══════════════════════════════════════════════════════════════════
   CINEMATIC MOTION PRESETS
   ═══════════════════════════════════════════════════════════════════ */
.hero-slide[data-motion="zoom-drift"] .hero-slide-img {
  animation: motionZoomDrift 8s cubic-bezier(0.25, 1, 0.5, 1) infinite alternate;
}
@keyframes motionZoomDrift {
  0% { transform: scale(1.02) translate(1%, 1%); }
  100% { transform: scale(1.12) translate(-2%, -2%); }
}

.hero-slide[data-motion="pan-track"] .hero-slide-img {
  animation: motionPanTrack 8.5s ease-in-out infinite alternate;
}
@keyframes motionPanTrack {
  0% { transform: scale(1.11) translate(-3%, 1%); }
  100% { transform: scale(1.04) translate(2%, -1%); }
}

.hero-slide[data-motion="crane-up"] .hero-slide-img {
  animation: motionCraneUp 8s cubic-bezier(0.33, 1, 0.68, 1) infinite alternate;
}
@keyframes motionCraneUp {
  0% { transform: scale(1.03) translate(0%, 3%); }
  100% { transform: scale(1.12) translate(-1.5%, -2%); }
}

.hero-slide[data-motion="push-diagonal"] .hero-slide-img {
  animation: motionPushDiagonal 8.5s ease-in-out infinite alternate;
}
@keyframes motionPushDiagonal {
  0% { transform: scale(1.02) translate(-2%, -1%); }
  100% { transform: scale(1.13) translate(1%, 2%); }
}

.hero-slide[data-motion="zoom-reveal"] .hero-slide-img {
  animation: motionZoomReveal 8s ease-in-out infinite alternate;
}
@keyframes motionZoomReveal {
  0% { transform: scale(1.14) translate(2%, -1%); }
  100% { transform: scale(1.03) translate(-2%, 1%); }
}

.hero-slide[data-motion="slow-glide"] .hero-slide-img {
  animation: motionSlowGlide 8.5s cubic-bezier(0.25, 1, 0.5, 1) infinite alternate;
}
@keyframes motionSlowGlide {
  0% { transform: scale(1.04) translate(1.5%, -1.5%); }
  100% { transform: scale(1.12) translate(-2%, 1%); }
}

/* ═══════════════════════════════════════════════════════════════════
   CINEMATIC POST-PROCESSING OVERLAYS
   ═══════════════════════════════════════════════════════════════════ */
.hero-cinema-vignette {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(9, 27, 48, 0.75) 0%, transparent 22%, transparent 65%, rgba(9, 27, 48, 0.92) 100%),
    radial-gradient(ellipse at center, transparent 45%, rgba(9, 27, 48, 0.5) 100%);
  pointer-events: none;
  z-index: 4;
}

.hero-cinema-reflection {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.04) 25%,
    transparent 55%
  );
  pointer-events: none;
  z-index: 5;
}

/* ═══════════════════════════════════════════════════════════════════
   CINEMATIC HUD OVERLAYS
   ═══════════════════════════════════════════════════════════════════ */
.hero-cinema-topbar {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 6;
  pointer-events: none;
}

.hero-cinema-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(9, 27, 48, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.32rem 0.75rem;
  border-radius: 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  text-transform: uppercase;
}

.hero-cinema-rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #B89047;
  box-shadow: 0 0 8px #B89047;
  animation: recBlink 1.8s infinite ease-in-out;
}

@keyframes recBlink {
  0%, 100% { opacity: 0.35; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

.hero-cinema-resolution {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #E2E8F0;
  background: rgba(9, 27, 48, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.28rem 0.65rem;
  border-radius: 20px;
}

/* Bottom HUD Area */
.hero-cinema-bottombar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.4rem 1.25rem;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-cinema-caption-box {
  background: rgba(9, 27, 48, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1rem 1.2rem;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
}

.hero-cinema-category {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C5A059;
  margin-bottom: 0.25rem;
}

.hero-cinema-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.3;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-cinema-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.74rem;
  color: #CBD5E1;
}

.hero-cinema-meta span.bullet {
  color: #B89047;
}

/* Controls & Segmented Progress Group */
.hero-cinema-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.hero-cinema-progress-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.hero-progress-bar-slot {
  position: relative;
  height: 3.5px;
  flex: 1;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: height 0.2s ease;
}

.hero-progress-bar-slot:hover {
  height: 5px;
}

.hero-progress-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #B89047, #FFFFFF);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(184, 144, 71, 0.8);
}

.hero-progress-bar-slot.passed .hero-progress-bar-fill {
  width: 100% !important;
  background: rgba(255, 255, 255, 0.75);
}

.hero-cinema-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-cinema-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(9, 27, 48, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.hero-cinema-btn:hover {
  background: #B89047;
  border-color: #B89047;
  color: #091B30;
  transform: scale(1.08);
}

.hero-cinema-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-pillars {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust-bar {
    justify-content: center;
  }

  .hero-cinema-container {
    max-width: 400px;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding-top: 105px;
    padding-bottom: 40px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }

  .hero-cinema-container {
    max-width: 330px;
    border-radius: 22px;
  }

  .hero-cinema-caption-box {
    padding: 0.85rem 1rem;
  }

  .hero-cinema-title {
    font-size: 0.95rem;
  }

  .hero-trust-bar {
    flex-direction: row;
    gap: 1rem;
  }
}
