/* ==========================================================================
   ENTRY TRANSITIONS & REVEALS
   ========================================================================== */

/* Standard mask slide reveal for elements */
.mask-reveal {
  transform: translateY(35px);
  opacity: 0;
  transition: 
    transform 1.0s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.mask-reveal.active {
  transform: translateY(0);
  opacity: 1;
}

/* Stagger transitions with active parent trigger */
.hero.loaded .mask-reveal.delay-1 { transition-delay: 0.15s; }
.hero.loaded .mask-reveal.delay-2 { transition-delay: 0.3s; }
.hero.loaded .mask-reveal.delay-3 { transition-delay: 0.45s; }

/* ==========================================================================
   WORD-SAFE STAGGER CHARACTER TRANSITIONS
   ========================================================================== */
.split-text {
  display: block;
}

.split-text .word {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  vertical-align: top;
  padding-top: 4px; /* Account for font ascenders on mobile */
  padding-bottom: 4px; /* Account for font descenders */
  margin-top: -4px; /* Offsets padding-top to keep alignment intact */
  margin-bottom: -4px; /* Offsets padding-bottom */
}

.split-text .char {
  display: inline-block;
  transform: translateY(105%);
  opacity: 0;
  transition: 
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), 
    opacity 0.75s ease-out;
}

.split-text.active .char {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   UI ENTRANCE TRANSITIONS
   ========================================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--transition-smooth), transform 1s var(--transition-smooth);
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-down {
  opacity: 0;
  transform: translateY(-15px);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.fade-down.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   MINIMAL SOCIAL BRAND ICON BUTTONS & SMOOTH HOVERS
   ========================================================================== */
.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
  box-shadow: none;
}

.social-icon-btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.35s ease, color 0.35s ease;
}

.social-icon-btn:hover {
  transform: translateY(-2px) scale(1.08);
}

/* 1. LinkedIn */
.social-btn-linkedin:hover {
  background: #0A66C2;
  border-color: #0A66C2;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(10, 102, 194, 0.45);
}

/* 2. Instagram */
.social-btn-instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.45);
}

/* 3. WhatsApp */
.social-btn-whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
}

/* 4. Mail / Email */
.social-btn-mail:hover {
  background: #EA4335;
  border-color: #EA4335;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(234, 67, 53, 0.45);
}

/* Contact Column Badges */
.contact-icon-badge-mail {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.footer-link-item:hover .contact-icon-badge-mail {
  background: #EA4335;
  border-color: #EA4335;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(234, 67, 53, 0.4);
}

.contact-icon-badge-phone {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.footer-link-item:hover .contact-icon-badge-phone {
  background: #25D366;
  border-color: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   FAQ ACCORDION & DEFAULTS SMOOTH ANIMATION
   ========================================================================== */


/* Hide native disclosure triangle on summary elements */
summary::-webkit-details-marker,
summary::marker {
  display: none !important;
}

/* Prevent FOUC for cinematic title scroll reveals */
.cinematic-title {
  opacity: 0;
  will-change: transform, opacity;
}
