/* ==========================================================================
   SCRIBBLE EFFECTS — HERO LAYER 2 (PIXEL-PERFECT MASTER STYLING)
   Replaces messy Elementor carousel with clean, high-ticket agency hero
   ========================================================================== */

/* 1. TARGET SECTION */
.elementor-element-7da0cf7 {
  padding: 0 !important;
  margin: 0 !important;
  background: #FFFFFF !important;
  overflow: visible !important;
  position: relative !important;
  min-height: 560px;
}

/* Silence old Elementor carousel when master hero is active */
.elementor-element-7da0cf7.has-se-hero > .elementor-container,
.elementor-element-7da0cf7.has-se-hero .wdt-advanced-carousel-container,
.elementor-element-7da0cf7.has-se-hero .swiper,
.elementor-element-7da0cf7.has-se-hero .elementor-531,
.elementor-element-7da0cf7.has-se-hero .elementor-697,
.elementor-element-7da0cf7.has-se-hero .elementor-696 {
  display: none !important;
}

/* Fallback hide if master hero is inside */
.elementor-element-7da0cf7:has(#se-hero-master) > .elementor-container,
.elementor-element-7da0cf7:has(#se-hero-master) .wdt-advanced-carousel-container,
.elementor-element-7da0cf7:has(#se-hero-master) .swiper {
  display: none !important;
}

/* 2. MASTER HERO CONTAINER */
.se-hero-master-wrapper {
  max-width: 1280px;
  margin: 30px auto 70px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 70px;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  font-family: 'Outfit', sans-serif;
  color: #111111;
  position: relative;
}

/* 3. LEFT COLUMN: HIGH-IMPACT TYPOGRAPHY & CTA */
.se-hero-text-col {
  padding-right: 10px;
  box-sizing: border-box;
}

.se-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #88B500;
  margin-bottom: 18px;
  font-family: 'Syne', sans-serif;
  transition: opacity 0.25s ease;
}

.se-hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(38px, 4.4vw, 62px);
  font-weight: 800;
  color: #000000;
  line-height: 1.12;
  margin: 0 0 22px;
  letter-spacing: -0.5px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Animated Vector Scribble Underline */
.se-scribble-word {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.se-scribble-svg {
  position: absolute;
  left: -4px;
  bottom: -10px;
  width: calc(100% + 8px);
  height: 18px;
  pointer-events: none;
  overflow: visible;
}

.se-scribble-svg path {
  stroke-dasharray: 450;
  stroke-dashoffset: 450;
  animation: seTraceScribble 0.75s 0.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes seTraceScribble {
  0%   { stroke-dashoffset: 450; }
  100% { stroke-dashoffset: 0; }
}

.se-hero-desc {
  font-size: clamp(15.5px, 1.25vw, 17.5px);
  color: #555555;
  line-height: 1.75;
  margin: 0 0 34px;
  max-width: 520px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.se-hero-text-fading {
  opacity: 0;
  transform: translateY(6px);
}

.se-hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.se-btn-primary {
  background-color: #C9F31D !important;
  color: #000000 !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  padding: 15px 36px !important;
  font-family: 'Syne', sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  border-radius: 99px !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  box-shadow: 0 6px 20px rgba(201, 243, 29, 0.45) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
}

.se-btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 30px rgba(201, 243, 29, 0.65) !important;
}

.se-btn-secondary {
  font-family: 'Syne', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #111111 !important;
  text-decoration: none !important;
  padding: 14px 26px !important;
  border-radius: 99px !important;
  border: 1px solid #E0E0E0 !important;
  transition: all 0.25s ease !important;
  display: inline-block !important;
}

.se-btn-secondary:hover {
  border-color: #000000 !important;
  background: #F8F8F8 !important;
}

/* 4. SUBTLE LUXURY SLIDER CONTROLS */
.se-slider-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 46px;
  flex-wrap: wrap;
}

.se-slider-counter {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #888888;
  letter-spacing: 2px;
}
.se-slider-counter .active-num {
  color: #111111;
  font-size: 16px;
  font-weight: 800;
}

.se-slider-lines {
  display: flex;
  gap: 8px;
  align-items: center;
}

.se-line-tab {
  width: 42px;
  height: 3px;
  background: #E5E5E5;
  border-radius: 99px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}

.se-line-tab:hover {
  background: #CCCCCC;
}

.se-line-tab.active {
  width: 68px;
  background: #E5E5E5;
}

.se-line-tab .se-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #C9F31D;
  box-shadow: 0 0 8px #C9F31D;
  border-radius: 99px;
}

.se-line-tab.active .se-line-fill {
  width: 100%;
  transition: width 5.5s linear;
}

.se-nav-arrows {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.se-arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #111111;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.se-arrow-btn:hover {
  background: #000000;
  color: #C9F31D;
  border-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.se-swipe-hint {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #AAAAAA;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
}

/* 5. EXPANSIVE 3D VISUAL FRAME & STUDIO BLOOM */
.se-hero-visual-col {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-sizing: border-box;
}

.se-hero-3d-frame {
  position: relative;
  width: 100%;
  max-width: 560px;
  border-radius: 28px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  cursor: grab;
  touch-action: pan-y;
}

.se-hero-3d-frame:active {
  cursor: grabbing;
}

.se-hero-3d-frame::before {
  content: '';
  position: absolute;
  inset: -25px;
  background: radial-gradient(circle at 65% 35%, rgba(201, 243, 29, 0.3) 0%, rgba(243, 255, 52, 0.12) 45%, transparent 72%);
  border-radius: 36px;
  filter: blur(28px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.9;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.se-hero-3d-frame:hover::before {
  transform: scale(1.04);
  opacity: 1;
}

.se-hero-img-box {
  position: relative;
  width: 100%;
  height: 540px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.14),
              0 0 0 1px rgba(0, 0, 0, 0.06);
  background-color: #F7F7F7;
}

.se-hero-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.se-hero-img-fading {
  opacity: 0.2;
  transform: scale(0.98);
}

.se-hero-3d-frame:hover .se-hero-img-box img {
  transform: scale(1.02);
}

/* 6. FLOATING PROOF BADGES */
.se-proof-badge {
  position: absolute;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 35px -8px rgba(0, 0, 0, 0.12),
              0 0 20px rgba(201, 243, 29, 0.32);
  font-family: 'Syne', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #111111;
  white-space: nowrap;
  pointer-events: auto;
  user-select: none;
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  max-width: 90%;
  box-sizing: border-box;
}

.se-proof-badge:hover {
  transform: scale(1.05) translateZ(35px) !important;
  box-shadow: 0 20px 40px -6px rgba(0, 0, 0, 0.18),
              0 0 26px rgba(201, 243, 29, 0.5);
}

.se-badge-tl {
  top: -18px;
  left: -20px;
  animation: seFloatTL 4.5s ease-in-out infinite alternate;
}

.se-badge-br {
  bottom: -18px;
  right: -20px;
  animation: seFloatBR 5.2s ease-in-out infinite alternate;
}

@keyframes seFloatTL {
  0%   { transform: translateY(0px) rotate(0deg) translateZ(28px); }
  50%  { transform: translateY(-10px) rotate(-1.5deg) translateZ(34px); }
  100% { transform: translateY(4px) rotate(1deg) translateZ(24px); }
}

@keyframes seFloatBR {
  0%   { transform: translateY(0px) rotate(0deg) translateZ(28px); }
  50%  { transform: translateY(9px) rotate(1.5deg) translateZ(34px); }
  100% { transform: translateY(-5px) rotate(-1deg) translateZ(24px); }
}

.se-badge-highlight {
  color: #88B500;
  font-weight: 800;
}

.se-live-pulse {
  width: 8px;
  height: 8px;
  background-color: #C9F31D;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #C9F31D;
  position: relative;
  flex-shrink: 0;
}
.se-live-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid #9EE000;
  animation: sePulsePing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes sePulsePing {
  0%   { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* 7. RESPONSIVE BREAKPOINTS (IMAGE COMPLETELY HIDDEN ON MOBILE) */
@media (max-width: 960px) {
  .se-hero-master-wrapper {
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 0 24px;
    margin: 20px auto 40px;
  }
  .se-hero-text-col {
    padding-right: 0;
  }
  .se-hero-img-box {
    height: 440px;
  }
}

@media (max-width: 768px) {
  /* STRICT USER CONSTRAINT: IMAGE MUST BE COMPLETELY HIDDEN ON MOBILE */
  .se-hero-visual-col,
  .se-hero-3d-frame,
  .se-swipe-hint {
    display: none !important;
  }
  .se-hero-master-wrapper {
    padding: 24px 20px 48px;
    gap: 0;
    margin: 10px auto;
  }
  .se-btn-primary {
    width: 100% !important;
    justify-content: center !important;
  }
  .se-btn-secondary {
    width: 100% !important;
    text-align: center !important;
  }
  .se-hero-cta-group {
    width: 100%;
  }
  .se-slider-controls {
    margin-top: 28px;
    justify-content: space-between;
  }
  .se-line-tab {
    width: 32px;
  }
  .se-line-tab.active {
    width: 52px;
  }
  .se-nav-arrows {
    margin-left: 0;
  }
}
