/* Tipografía y bases */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #0a192f;
}

h1,
h2,
h3,
h4,
.font-display {
    font-family: 'Outfit', sans-serif;
}

/* Kicker solemne */
.kicker-line::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 2px;
    background: #bb9066;
    border-radius: 2px;
    vertical-align: middle;
    margin-right: 10px;
}

/* Animaciones suaves */
@keyframes gentleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.animate-float {
    animation: gentleFloat 5s ease-in-out infinite;
}

.animate-float-delayed {
    animation: gentleFloat 5s ease-in-out 2.5s infinite;
}

/* Huellitas flotantes solemnes en el Hero y Redes */
@keyframes pawFloatDrift {
    0% {
        transform: translateY(0px) rotate(var(--paw-rot, 0deg)) scale(0.95);
        opacity: 0.38;
    }
    50% {
        transform: translateY(-22px) rotate(calc(var(--paw-rot, 0deg) + 6deg)) scale(1.08);
        opacity: 0.82;
    }
    100% {
        transform: translateY(0px) rotate(var(--paw-rot, 0deg)) scale(0.95);
        opacity: 0.38;
    }
}

.hero-floating-paw,
.social-floating-paw {
    position: absolute;
    pointer-events: none;
    animation: pawFloatDrift var(--drift-duration, 7s) ease-in-out infinite;
    animation-delay: var(--drift-delay, 0s);
    will-change: transform, opacity;
}

/* Animaciones para los 4 pasos del Proceso */
@keyframes contactPulseWave {
    0% {
        transform: scale(0.85);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.4);
        opacity: 0;
    }
    100% {
        transform: scale(0.85);
        opacity: 0;
    }
}

@keyframes transferGlideCar {
    0%, 100% {
        transform: translateX(-12px);
    }
    50% {
        transform: translateX(12px);
    }
}

@keyframes candleFlickerFlame {
    0%, 100% {
        transform: scale(1) translateY(0) rotate(0deg);
        filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.7));
    }
    33% {
        transform: scale(1.08) translateY(-2px) rotate(2deg);
        filter: drop-shadow(0 0 14px rgba(245, 158, 11, 0.95));
    }
    66% {
        transform: scale(0.95) translateY(1px) rotate(-2deg);
        filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.6));
    }
}

@keyframes sealGleamRotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(6deg) scale(1.06);
    }
}

@keyframes sparkleStarFloat {
    0%, 100% {
        opacity: 0.25;
        transform: scale(0.8) translateY(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) translateY(-4px);
    }
}

.anim-contact-pulse {
    animation: contactPulseWave 2.2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}
.anim-transfer-car {
    animation: transferGlideCar 4.5s ease-in-out infinite;
}
.anim-candle-flame {
    animation: candleFlickerFlame 2.8s ease-in-out infinite;
    transform-origin: bottom center;
}
.anim-seal-gleam {
    animation: sealGleamRotate 5s ease-in-out infinite;
    transform-origin: center;
}
.anim-sparkle {
    animation: sparkleStarFloat 3s ease-in-out infinite;
}

/* Scroll reveal */
.reveal-elem {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-elem.visible {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ accordion transitions */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 480px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background-color: #0067b2;
    color: #ffffff;
    border-color: #0067b2;
}

/* Canvas cursor */
#memorial-canvas {
    cursor: crosshair;
}

/* Typing indicator animation */
@keyframes typingDot {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.4;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.typing-dot {
    animation: typingDot 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
    animation-delay: 0s;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Navbar Flotante Fondo Blanco Sólido (Sin transparencia) */
#navbar {
    background-color: #ffffff !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 8px 24px -4px rgba(0, 103, 178, 0.08) !important;
}

#mobile-menu {
    background-color: #ffffff !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 12px 30px -4px rgba(0, 103, 178, 0.12) !important;
}

