/* --- Variables de Marca (Pulse Identity) --- */
:root {
    --pulse-red: #FF4432;
    --pulse-crimson: #DF0D4A;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.06);
}

/* --- Reset y Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #050505;
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}

/* --- Tipografía --- */
h1, h2, h3, .font-bebas {
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* --- Componentes de Diseño Premium --- */

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-card:hover {
    background: var(--glass-hover);
    border-color: rgba(255, 68, 50, 0.4);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Botón Principal (Pulse Gradient) */
.pulse-btn {
    background: linear-gradient(135deg, var(--pulse-red) 0%, var(--pulse-crimson) 100%);
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(223, 13, 74, 0.3);
}

.pulse-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(223, 13, 74, 0.5);
    filter: brightness(1.1);
}

/* Tag de Categoría (Estilo Agencia) */
.category-tag {
    display: inline-block;
    background-color: var(--pulse-red);
    color: white;
    padding: 4px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* Inputs de Formulario (Corregido y Pulido) */
.input-field {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 8px;
    color: white;
    width: 100%;
    outline: none;
    transition: all 0.3s ease;
}

.input-field:focus {
    border-color: var(--pulse-red);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 68, 50, 0.2);
}

/* --- Testimonios (Slider Custom) --- */
.testimonial-slider {
    display: flex;
    width: max-content;
    padding: 20px 0;
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

/* --- Animaciones de Alto Impacto --- */

/* Pulso suave para imágenes/blobs 3D */
@keyframes pulse-slow {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-18px); }
}
.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* --- FLIP CARD LOGIC --- */
.perspective-1000 {
    perspective: 1000px;
}
.transform-style-3d {
    transform-style: preserve-3d;
}
.backface-hidden {
    backface-visibility: hidden;
}
.rotate-y-180 {
    transform: rotateY(180deg);
}

.animate-pulse-slow {
    animation: pulse-slow 8s ease-in-out infinite;
}

/* Rotación constante para elementos decorativos */
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* LÍNEA CORREGIDA: Se eliminó el ":" extra después de spin-slow */
.animate-spin-slow {
    animation: spin-slow 20s linear infinite;
}

/* --- Personalización de Scrollbar (Estética Dark) --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: var(--pulse-red);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--pulse-crimson);
}

/* --- Utilidades de Layout --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
}