@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.title-font {
    font-family: 'Space Grotesk', sans-serif;
}

.btn-primary {
    background: #ff6b6b;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(255, 107, 107, 0.6);
}

.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.card-3d:hover {
    transform: rotateY(10deg) rotateX(10deg);
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.neon-text {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #ff6b6b, 0 0 20px #ff6b6b;
}

.hexagon {
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

/* Modern hero helpers */
.hero-surface {
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse at center, black 60%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, black 60%, transparent 100%);
}

.mesh {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.mesh .blob {
    position: absolute;
    filter: blur(64px);
    opacity: 0.25;
    transform: translateZ(0);
}

/* Organic section helpers */
.organic-surface {
    background:
        radial-gradient(60% 50% at 0% 0%, rgba(244,63,94,0.06), transparent 60%),
        radial-gradient(40% 40% at 100% 10%, rgba(244,63,94,0.04), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #fdfcfc 100%);
}

.ripple-shape {
    position: absolute;
    inset: -10% -5% auto -5%;
    height: 320px;
    background: radial-gradient(120px 80px at 20% 40%, rgba(244,63,94,0.12), transparent 60%),
                radial-gradient(160px 90px at 60% 60%, rgba(251,113,133,0.10), transparent 60%),
                radial-gradient(120px 80px at 85% 30%, rgba(244,63,94,0.08), transparent 60%);
    filter: blur(28px);
    opacity: 0.6;
    pointer-events: none;
}

.card-organic {
    position: relative;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #fff7f7 100%);
    border: 1px solid rgba(244,63,94,0.15);
    box-shadow: 0 10px 30px rgba(244,63,94,0.08);
    transition: transform 450ms ease, box-shadow 450ms ease, background 450ms ease;
    animation: gentle-float 7s ease-in-out infinite;
}

.card-organic:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(244,63,94,0.12);
    background: linear-gradient(180deg, #ffffff 0%, #fff5f5 100%);
}

.card-shadow-base::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: -14px;
    height: 28px;
    background: radial-gradient(60% 60% at 50% 50%, rgba(0,0,0,0.20), transparent 70%);
    filter: blur(10px);
    opacity: 0.35;
    transform: translateZ(0);
}

@keyframes gentle-float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.ring-gradient {
    border-radius: 1.5rem;
    position: absolute;
    inset: -1px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(244,63,94,0.35), rgba(244,63,94,0.10));
    -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
    mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.flow-divider {
    height: 8px;
    background: linear-gradient(90deg, rgba(244,63,94,0.15), rgba(244,63,94,0.35), rgba(244,63,94,0.15));
    border-radius: 9999px;
}

/* Valores animated styles */
.value-card {
    position: relative;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, #ffffff 0%, #fff7f7 100%);
    border: 1px solid rgba(244,63,94,0.15);
    box-shadow: 0 10px 30px rgba(244,63,94,0.06);
    transition: transform 400ms ease, box-shadow 400ms ease;
}

.value-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 40px rgba(244,63,94,0.12);
}

.icon-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #ef4444, #fb7185);
    box-shadow: 0 10px 25px rgba(244,63,94,0.25);
    color: #fff;
}

.icon-badge::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 1.5rem;
    background: radial-gradient(60% 60% at 50% 50%, rgba(244,63,94,0.25), transparent 70%);
    filter: blur(10px);
    opacity: 0.6;
    pointer-events: none;
}

.pulse-ring {
    position: absolute;
    inset: 0;
    border-radius: 1.25rem;
    border: 2px solid rgba(244,63,94,0.25);
    animation: pulse 2.8s ease-out infinite;
    pointer-events: none;
}

.pulse-ring.delay-1 { animation-delay: 0.6s; }
.pulse-ring.delay-2 { animation-delay: 1.2s; }

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.6; }
    70% { transform: scale(1.08); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}

.tilt-on-hover {
    transition: transform 400ms ease;
}

.tilt-on-hover:hover { transform: rotate(-0.6deg); }

/* Organic value card format */
.ribbon {
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, #ef4444, #fb7185);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    box-shadow: 0 6px 18px rgba(244,63,94,0.25);
}

.ribbon::after {
    content: "";
    position: absolute;
    right: -16px;
    top: 50%;
    width: 16px;
    height: 16px;
    border-radius: 9999px;
    background: linear-gradient(90deg, #fb7185, #fda4af);
    transform: translateY(-50%);
    box-shadow: 0 4px 12px rgba(253,164,175,0.5);
}

.blob-bg {
    position: absolute;
    inset: -10px;
    z-index: 0;
    background:
        radial-gradient(120px 80px at 20% 30%, rgba(244,63,94,0.12), transparent 60%),
        radial-gradient(140px 90px at 70% 70%, rgba(251,113,133,0.10), transparent 60%);
    filter: blur(18px);
    opacity: 0.75;
    border-radius: 1.5rem;
    pointer-events: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    background: #fff;
    border: 1px solid rgba(244,63,94,0.18);
    color: #374151;
    box-shadow: 0 4px 12px rgba(244,63,94,0.06);
    font-size: 0.875rem;
}

/* Scrollbar styling */
.snap-scroll::-webkit-scrollbar {
    height: 10px;
}

.snap-scroll::-webkit-scrollbar-track {
    background: rgba(244,63,94,0.06);
    border-radius: 9999px;
}

.snap-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(244,63,94,0.5), rgba(251,113,133,0.5));
    border-radius: 9999px;
    border: 2px solid rgba(255,255,255,0.7);
}

.snap-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, rgba(244,63,94,0.7), rgba(251,113,133,0.7));
}

/* Firefox */
.snap-scroll {
    scrollbar-color: rgba(244,63,94,0.6) rgba(244,63,94,0.08);
    scrollbar-width: thin;
}

/* Light trust hero */
.hero-surface-light {
    background: radial-gradient(1200px 600px at 10% -10%, rgba(59,130,246,0.12), transparent 60%),
                radial-gradient(1000px 500px at 100% 20%, rgba(16,185,129,0.10), transparent 60%),
                linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.grid-overlay--light {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(2,6,23,0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(2,6,23,0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse at center, black 55%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, black 55%, transparent 100%);
}

/* Warm red light surface */
.hero-surface-red {
    background:
        radial-gradient(900px 500px at 0% 0%, rgba(244,63,94,0.12), transparent 60%),
        radial-gradient(800px 400px at 100% 20%, rgba(251,113,133,0.10), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

/* Light mode styles */
.light-mode {
    background-color: #ffffff;
    color: #333333;
}

.light-mode .bg-gray-900 {
    background-color: #f9fafb;
}

.light-mode .bg-gray-800 {
    background-color: #f3f4f6;
}

.light-mode .bg-gray-700 {
    background-color: #e5e7eb;
}

.light-mode .text-white {
    color: #333333;
}

.light-mode .text-gray-300 {
    color: #6b7280;
}

.light-mode .text-gray-400 {
    color: #9ca3af;
}

.light-mode .border-gray-700 {
    border-color: #d1d5db;
}

.light-mode .border-gray-800 {
    border-color: #e5e7eb;
}

.light-mode .neon-text {
    text-shadow: none;
    color: #ff6b6b;
}

/* ===== MODO OSCURO AGRESIVO - INVERSIÓN COMPLETA ===== */

.dark body {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* Hero Section */
.dark #hero {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2d2d2d 100%) !important;
}

/* Navegación */
.dark nav {
    background-color: #000000 !important;
    border-bottom: 1px solid #333333 !important;
}

/* Todas las secciones principales */
.dark section {
    background-color: #000000 !important;
}

/* Secciones con gradientes específicos */
.dark .bg-gradient-to-br {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2d2d2d 100%) !important;
}

.dark .bg-gradient-to-b {
    background: linear-gradient(to bottom, #000000, #1a1a1a) !important;
}

.dark .bg-gradient-to-r {
    background: linear-gradient(to right, #000000, #1a1a1a) !important;
}

/* Secciones con colores específicos */
.dark .bg-slate-50,
.dark .bg-gray-50,
.dark .bg-red-50,
.dark .bg-green-50,
.dark .bg-blue-50,
.dark .bg-white {
    background-color: #000000 !important;
}

.dark .bg-gray-100 {
    background-color: #1a1a1a !important;
}

.dark .bg-gray-200 {
    background-color: #2d2d2d !important;
}

/* Footer */
.dark footer {
    background-color: #000000 !important;
}

/* Tarjetas y elementos flotantes */
.dark .feature-card,
.dark .testimonial-card,
.dark .benefits-card,
.dark .value-card,
.dark .card-organic {
    background-color: #1a1a1a !important;
    border: 1px solid #333333 !important;
}

/* TEXTOS - INVERSIÓN COMPLETA */
.dark .text-gray-900,
.dark .text-black {
    color: #ffffff !important;
}

.dark .text-gray-800 {
    color: #f0f0f0 !important;
}

.dark .text-gray-700 {
    color: #e0e0e0 !important;
}

.dark .text-gray-600 {
    color: #cccccc !important;
}

.dark .text-gray-500 {
    color: #aaaaaa !important;
}

.dark .text-gray-400 {
    color: #888888 !important;
}

.dark .text-gray-300 {
    color: #666666 !important;
}

.dark .text-gray-200 {
    color: #444444 !important;
}

.dark .text-gray-100 {
    color: #222222 !important;
}

/* Texto blanco se mantiene blanco */
.dark .text-white {
    color: #ffffff !important;
}

/* Colores específicos - MANTENER VISIBLES */
.dark .text-blue-700,
.dark .text-blue-600 {
    color: #60a5fa !important;
}

.dark .text-purple-700,
.dark .text-purple-600,
.dark .text-purple-400 {
    color: #a855f7 !important;
}

.dark .text-pink-600,
.dark .text-pink-400 {
    color: #f472b6 !important;
}

.dark .text-indigo-600 {
    color: #818cf8 !important;
}

.dark .text-green-700,
.dark .text-green-600 {
    color: #4ade80 !important;
}

.dark .text-orange-600 {
    color: #fb923c !important;
}

.dark .text-red-700,
.dark .text-red-600 {
    color: #f87171 !important;
}

.dark .text-red-500 {
    color: #ef4444 !important;
}

/* Iconos en modo oscuro */
.dark .text-blue-400 {
    color: #60a5fa !important;
}

.dark .text-green-400 {
    color: #4ade80 !important;
}

.dark .text-orange-400 {
    color: #fb923c !important;
}

/* Bordes */
.dark .border-gray-100,
.dark .border-gray-200 {
    border-color: #333333 !important;
}

.dark .border-gray-300 {
    border-color: #444444 !important;
}

.dark .border-white {
    border-color: #ffffff !important;
}

.dark .border-red-100 {
    border-color: #333333 !important;
}

/* Sombras */
.dark .shadow-xl,
.dark .shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(255, 255, 255, 0.1) !important;
}

.dark .shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(255, 255, 255, 0.1) !important;
}

.dark .shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(255, 255, 255, 0.1) !important;
}

.dark .feature-card:hover {
    box-shadow: 0 25px 50px -12px rgba(255, 255, 255, 0.1) !important;
}

/* Elementos de formulario */
.dark input,
.dark select,
.dark textarea {
    background-color: #1a1a1a !important;
    border-color: #333333 !important;
    color: #ffffff !important;
}

.dark input::placeholder,
.dark textarea::placeholder {
    color: #888888 !important;
}

/* Botones */
.dark button {
    background-color: #1a1a1a !important;
    border-color: #333333 !important;
    color: #ffffff !important;
}

/* Enlaces */
.dark a {
    color: #cccccc !important;
}

.dark a:hover {
    color: #ffffff !important;
}


/* Modales */
.dark .fixed.inset-0 {
    background-color: rgba(0, 0, 0, 0.9) !important;
}

/* Elementos específicos de la página */
.dark .benefits-section {
    background-color: #000000 !important;
}

.dark .hero-surface-red {
    background:
        radial-gradient(900px 500px at 0% 0%, rgba(244,63,94,0.12), transparent 60%),
        radial-gradient(800px 400px at 100% 20%, rgba(244,63,94,0.10), transparent 60%),
        linear-gradient(180deg, #000000 0%, #1a1a1a 100%) !important;
}

.dark .grid-overlay--light {
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.08) 1px, transparent 1px);
}

.dark .chip {
    background: rgba(255,255,255,0.04);
    border-color: rgba(244,63,94,0.25);
    color: #e5e7eb;
}

/* Asegurar que todos los elementos tengan contraste */
/* Removed global color override to preserve custom colors */

/* Color preservation classes - these colors should remain the same in both modes */
.preserve-red-600 {
    color: #dc2626 !important;
}

.preserve-blue-600 {
    color: #2563eb !important;
}

.preserve-green-600 {
    color: #16a34a !important;
}

.preserve-purple-600 {
    color: #9333ea !important;
}

.preserve-orange-600 {
    color: #ea580c !important;
}

.preserve-yellow-600 {
    color: #ca8a04 !important;
}

.preserve-indigo-600 {
    color: #4f46e5 !important;
}

.preserve-teal-600 {
    color: #0d9488 !important;
}

.preserve-cyan-600 {
    color: #0891b2 !important;
}

.preserve-emerald-600 {
    color: #059669 !important;
}

.preserve-pink-600 {
    color: #db2777 !important;
}

.preserve-rose-600 {
    color: #e11d48 !important;
}

.preserve-violet-600 {
    color: #7c3aed !important;
}

.preserve-sky-600 {
    color: #0284c7 !important;
}

.preserve-lime-600 {
    color: #65a30d !important;
}

/* Only apply white color to headings that don't have custom colors */
.dark h1:not([class*="text-"]):not([class*="preserve-"]):not([class*="fixed-"]), 
.dark h2:not([class*="text-"]):not([class*="preserve-"]):not([class*="fixed-"]), 
.dark h3:not([class*="text-"]):not([class*="preserve-"]):not([class*="fixed-"]), 
.dark h4:not([class*="text-"]):not([class*="preserve-"]):not([class*="fixed-"]), 
.dark h5:not([class*="text-"]):not([class*="preserve-"]):not([class*="fixed-"]), 
.dark h6:not([class*="text-"]):not([class*="preserve-"]):not([class*="fixed-"]) {
    color: #ffffff !important;
}

/* Only apply gray color to text elements that don't have custom colors */
.dark p:not([class*="text-"]):not([class*="preserve-"]):not([class*="fixed-"]), 
.dark span:not([class*="text-"]):not([class*="preserve-"]):not([class*="fixed-"]), 
.dark div:not([class*="text-"]):not([class*="preserve-"]):not([class*="fixed-"]) {
    color: #cccccc !important;
}

/* Elementos específicos de nosotros */
.dark .bg-white\/50 {
    background-color: rgba(26, 26, 26, 0.5) !important;
}

.dark .bg-white\/80 {
    background-color: rgba(26, 26, 26, 0.8) !important;
}

.dark .bg-red-50 {
    background-color: rgba(239, 68, 68, 0.1) !important;
}

.dark .bg-red-100 {
    background-color: rgba(239, 68, 68, 0.2) !important;
}

.dark .bg-red-200 {
    background-color: rgba(239, 68, 68, 0.3) !important;
}

.dark .border-red-100 {
    border-color: rgba(239, 68, 68, 0.3) !important;
}

.dark .border-red-200 {
    border-color: rgba(239, 68, 68, 0.4) !important;
}

/* Tarjetas de misión y visión */
.dark .card-organic {
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%) !important;
    border: 1px solid rgba(244,63,94,0.25) !important;
}

/* Puntos de valores */
.dark .valor-dot {
    background: #1a1a1a !important;
    border-color: rgba(244,63,94,0.3) !important;
    color: #cccccc !important;
}

.dark .valor-dot:hover {
    background: #2d2d2d !important;
    border-color: rgba(244,63,94,0.5) !important;
}

.dark .valor-dot.active {
    background: linear-gradient(135deg, rgba(244,63,94,0.1) 0%, rgba(244,63,94,0.05) 100%) !important;
    border-color: #f43f5e !important;
}

.dark .valor-dot .dot-content {
    color: #ffffff !important;
}

.dark .valor-dot .dot-label {
    color: #cccccc !important;
}

.dark .valor-dot.active .dot-label {
    color: #ffffff !important;
}

/* Elementos de texto específicos */
.dark .text-gray-700 {
    color: #cccccc !important;
}

.dark .text-gray-600 {
    color: #aaaaaa !important;
}

/* Chips y badges */
.dark .px-3.py-2.rounded-full {
    background-color: #1a1a1a !important;
    border-color: rgba(244,63,94,0.3) !important;
    color: #cccccc !important;
}

/* Recuadro específico "cuidamos tu operación" */
.dark .bg-white {
    background-color: #1a1a1a !important;
}

.dark .border-red-100 {
    border-color: rgba(244,63,94,0.3) !important;
}

.dark .bg-rose-50 {
    background-color: rgba(244,63,94,0.1) !important;
}

.dark .ring-red-100 {
    border-color: rgba(244,63,94,0.3) !important;
}

.dark .text-red-600 {
    color: #f43f5e !important;
}

/* Gradientes de texto específicos */
.dark .bg-gradient-to-r.from-purple-400.to-pink-400 {
    background: linear-gradient(to right, #a855f7, #f472b6) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Elementos específicos adicionales */
.dark .bg-gradient-to-br.from-slate-50,
.dark .bg-gradient-to-br.from-purple-50,
.dark .bg-gradient-to-br.from-pink-50 {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2d2d2d 100%) !important;
}

.dark .bg-gradient-to-br.from-slate-900 {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%) !important;
}

/* Gradientes específicos adicionales */
.dark .bg-gradient-to-br.from-gray-50.to-gray-100 {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%) !important;
}

.dark .bg-gradient-to-br.from-indigo-50.to-blue-50 {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%) !important;
}

.dark .bg-gradient-to-br.from-blue-500.to-blue-400 {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%) !important;
}

/* Tarjetas de valores en modo oscuro */
.dark .valor-card .card-organic {
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%) !important;
    border: 1px solid rgba(244,63,94,0.25) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.35) !important;
}

.dark .valor-card h3 {
    color: rgb(248 250 252) !important;
}

.dark .valor-card p {
    color: rgb(203 213 225) !important;
}

.dark .valor-card .bg-white {
    background-color: rgb(30 41 59) !important;
}

.dark .valor-card .text-gray-700 {
    color: rgb(203 213 225) !important;
}

.dark .valor-card .text-gray-900 {
    color: rgb(248 250 252) !important;
}

.dark .valor-card .border-red-100 {
    border-color: rgba(244,63,94,0.25) !important;
}

.dark .valor-card .bg-red-200\/40 {
    background-color: rgba(244,63,94,0.1) !important;
}

/* Colores específicos para modo oscuro en nosotros */
.dark .text-red-700,
.dark .text-red-600 {
    color: rgb(248 113 113) !important;
}

.dark .text-red-500 {
    color: rgb(239 68 68) !important;
}

/* Estilos para la sección de valores interactiva */
.valor-card {
    transition: all 0.5s ease-in-out;
    opacity: 0;
    transform: translateY(20px);
}

.valor-card.active {
    opacity: 1;
    transform: translateY(0);
}

.valor-card.hidden {
    display: none;
}

/* Puntos de navegación interactivos */
.valor-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: 2px solid rgba(244,63,94,0.2);
    border-radius: 16px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.valor-dot:hover {
    border-color: rgba(244,63,94,0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244,63,94,0.15);
}

.valor-dot.active {
    border-color: #f43f5e;
    background: linear-gradient(135deg, #fef2f2 0%, #fce7f3 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244,63,94,0.25);
}

.valor-dot.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(244,63,94,0.1) 0%, rgba(251,113,133,0.1) 100%);
    border-radius: 14px;
}

.dot-content {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f43f5e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.valor-dot:not(.active) .dot-content {
    background: rgba(244,63,94,0.3);
    color: #f43f5e;
}

.dot-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.valor-dot.active .dot-label {
    color: #f43f5e;
}

.dark .ribbon {
    box-shadow: 0 8px 24px rgba(244,63,94,0.35);
}

.dark .bg-white, .dark .bg-white\/70, .dark .bg-white\/80 { 
    background-color: rgba(255,255,255,0.04); 
}

.dark .text-gray-900 { 
    color: #f3f4f6; 
}

.dark .text-gray-700 { 
    color: #e5e7eb; 
}

.dark .text-gray-600 { 
    color: #cbd5e1; 
}

.dark .border-gray-200, .dark .border-red-100, .dark .ring-gray-100 { 
    border-color: rgba(255,255,255,0.12); 
}

.dark .bg-gray-100 { 
    background-color: rgba(255,255,255,0.06); 
}

.dark .gradient-bg { 
    background: linear-gradient(135deg, #7f1d1d 0%, #111317 100%); 
}

.dark footer.bg-gray-900 { 
    background-color: #0e0f12; 
}

.dark .bg-gray-50 { 
    background-color: rgba(255,255,255,0.03); 
}

.dark .organic-surface { 
    background: linear-gradient(180deg, #0e0f12 0%, #0b0c0f 100%); 
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Dark mode navbar hover contrast */
.dark nav a:hover {
    color: #000000 !important;
}

.dark nav a:hover span {
    color: #000000 !important;
}

/* Fixed red color for specific elements */
.fixed-red-color {
    color: #dc2626 !important;
    text-shadow: 0 0 8px rgba(220, 38, 38, 0.3) !important;
}

.dark .fixed-red-color {
    color: #dc2626 !important;
    text-shadow: 0 0 12px rgba(220, 38, 38, 0.8), 0 0 24px rgba(220, 38, 38, 0.4), 0 0 36px rgba(220, 38, 38, 0.2) !important;
}
